Package com.google.api
Class SelectiveGapicGeneration.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder>
-
- com.google.api.SelectiveGapicGeneration.Builder
-
- All Implemented Interfaces:
SelectiveGapicGenerationOrBuilder,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- SelectiveGapicGeneration
public static final class SelectiveGapicGeneration.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder> implements SelectiveGapicGenerationOrBuilder
This message is used to configure the generation of a subset of the RPCs in a service for client libraries.
Protobuf typegoogle.api.SelectiveGapicGeneration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectiveGapicGeneration.BuilderaddAllMethods(java.lang.Iterable<java.lang.String> values)An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.SelectiveGapicGeneration.BuilderaddMethods(java.lang.String value)An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.SelectiveGapicGeneration.BuilderaddMethodsBytes(com.google.protobuf.ByteString value)An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.SelectiveGapicGeneration.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SelectiveGapicGenerationbuild()SelectiveGapicGenerationbuildPartial()SelectiveGapicGeneration.Builderclear()SelectiveGapicGeneration.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SelectiveGapicGeneration.BuilderclearMethods()An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.SelectiveGapicGeneration.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SelectiveGapicGeneration.Builderclone()SelectiveGapicGenerationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetMethods(int index)An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.com.google.protobuf.ByteStringgetMethodsBytes(int index)An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.intgetMethodsCount()An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.com.google.protobuf.ProtocolStringListgetMethodsList()An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SelectiveGapicGeneration.BuildermergeFrom(SelectiveGapicGeneration other)SelectiveGapicGeneration.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SelectiveGapicGeneration.BuildermergeFrom(com.google.protobuf.Message other)SelectiveGapicGeneration.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SelectiveGapicGeneration.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SelectiveGapicGeneration.BuildersetMethods(int index, java.lang.String value)An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.SelectiveGapicGeneration.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)SelectiveGapicGeneration.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Overrides:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder>
-
clear
public SelectiveGapicGeneration.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SelectiveGapicGeneration.Builder>
-
getDefaultInstanceForType
public SelectiveGapicGeneration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SelectiveGapicGeneration build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SelectiveGapicGeneration buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SelectiveGapicGeneration.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder>
-
setField
public SelectiveGapicGeneration.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder>
-
clearField
public SelectiveGapicGeneration.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder>
-
clearOneof
public SelectiveGapicGeneration.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder>
-
setRepeatedField
public SelectiveGapicGeneration.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder>
-
addRepeatedField
public SelectiveGapicGeneration.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder>
-
mergeFrom
public SelectiveGapicGeneration.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SelectiveGapicGeneration.Builder>
-
mergeFrom
public SelectiveGapicGeneration.Builder mergeFrom(SelectiveGapicGeneration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,SelectiveGapicGeneration.Builder>
-
mergeFrom
public SelectiveGapicGeneration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SelectiveGapicGeneration.Builder>- Throws:
java.io.IOException
-
getMethodsList
public com.google.protobuf.ProtocolStringList getMethodsList()
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1;- Specified by:
getMethodsListin interfaceSelectiveGapicGenerationOrBuilder- Returns:
- A list containing the methods.
-
getMethodsCount
public int getMethodsCount()
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1;- Specified by:
getMethodsCountin interfaceSelectiveGapicGenerationOrBuilder- Returns:
- The count of methods.
-
getMethods
public java.lang.String getMethods(int index)
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1;- Specified by:
getMethodsin interfaceSelectiveGapicGenerationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The methods at the given index.
-
getMethodsBytes
public com.google.protobuf.ByteString getMethodsBytes(int index)
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1;- Specified by:
getMethodsBytesin interfaceSelectiveGapicGenerationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the methods at the given index.
-
setMethods
public SelectiveGapicGeneration.Builder setMethods(int index, java.lang.String value)
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1;- Parameters:
index- The index to set the value at.value- The methods to set.- Returns:
- This builder for chaining.
-
addMethods
public SelectiveGapicGeneration.Builder addMethods(java.lang.String value)
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1;- Parameters:
value- The methods to add.- Returns:
- This builder for chaining.
-
addAllMethods
public SelectiveGapicGeneration.Builder addAllMethods(java.lang.Iterable<java.lang.String> values)
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1;- Parameters:
values- The methods to add.- Returns:
- This builder for chaining.
-
clearMethods
public SelectiveGapicGeneration.Builder clearMethods()
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1;- Returns:
- This builder for chaining.
-
addMethodsBytes
public SelectiveGapicGeneration.Builder addMethodsBytes(com.google.protobuf.ByteString value)
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1;- Parameters:
value- The bytes of the methods to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SelectiveGapicGeneration.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder>
-
mergeUnknownFields
public final SelectiveGapicGeneration.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SelectiveGapicGeneration.Builder>
-
-