Package com.google.gapic.metadata
Class GapicMetadata.MethodList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder>
-
- com.google.gapic.metadata.GapicMetadata.MethodList.Builder
-
- All Implemented Interfaces:
GapicMetadata.MethodListOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GapicMetadata.MethodList
public static final class GapicMetadata.MethodList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder> implements GapicMetadata.MethodListOrBuilder
List of GAPIC client methods implementing the proto-defined RPC for the transport and service specified in the containing structures.
Protobuf typegoogle.gapic.metadata.GapicMetadata.MethodList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GapicMetadata.MethodList.BuilderaddAllMethods(Iterable<String> values)List of methods for a specific proto-service client in the GAPIC.GapicMetadata.MethodList.BuilderaddMethods(String value)List of methods for a specific proto-service client in the GAPIC.GapicMetadata.MethodList.BuilderaddMethodsBytes(com.google.protobuf.ByteString value)List of methods for a specific proto-service client in the GAPIC.GapicMetadata.MethodList.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GapicMetadata.MethodListbuild()GapicMetadata.MethodListbuildPartial()GapicMetadata.MethodList.Builderclear()GapicMetadata.MethodList.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GapicMetadata.MethodList.BuilderclearMethods()List of methods for a specific proto-service client in the GAPIC.GapicMetadata.MethodList.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GapicMetadata.MethodList.Builderclone()GapicMetadata.MethodListgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMethods(int index)List of methods for a specific proto-service client in the GAPIC.com.google.protobuf.ByteStringgetMethodsBytes(int index)List of methods for a specific proto-service client in the GAPIC.intgetMethodsCount()List of methods for a specific proto-service client in the GAPIC.com.google.protobuf.ProtocolStringListgetMethodsList()List of methods for a specific proto-service client in the GAPIC.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GapicMetadata.MethodList.BuildermergeFrom(GapicMetadata.MethodList other)GapicMetadata.MethodList.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GapicMetadata.MethodList.BuildermergeFrom(com.google.protobuf.Message other)GapicMetadata.MethodList.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GapicMetadata.MethodList.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GapicMetadata.MethodList.BuildersetMethods(int index, String value)List of methods for a specific proto-service client in the GAPIC.GapicMetadata.MethodList.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GapicMetadata.MethodList.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder>
-
clear
public GapicMetadata.MethodList.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<GapicMetadata.MethodList.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.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder>
-
getDefaultInstanceForType
public GapicMetadata.MethodList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GapicMetadata.MethodList build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GapicMetadata.MethodList buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GapicMetadata.MethodList.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<GapicMetadata.MethodList.Builder>
-
setField
public GapicMetadata.MethodList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder>
-
clearField
public GapicMetadata.MethodList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder>
-
clearOneof
public GapicMetadata.MethodList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder>
-
setRepeatedField
public GapicMetadata.MethodList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder>
-
addRepeatedField
public GapicMetadata.MethodList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder>
-
mergeFrom
public GapicMetadata.MethodList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GapicMetadata.MethodList.Builder>
-
mergeFrom
public GapicMetadata.MethodList.Builder mergeFrom(GapicMetadata.MethodList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder>
-
mergeFrom
public GapicMetadata.MethodList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GapicMetadata.MethodList.Builder>- Throws:
IOException
-
getMethodsList
public com.google.protobuf.ProtocolStringList getMethodsList()
List of methods for a specific proto-service client in the GAPIC. These names should be formatted as they appear in the source code.
repeated string methods = 1;- Specified by:
getMethodsListin interfaceGapicMetadata.MethodListOrBuilder- Returns:
- A list containing the methods.
-
getMethodsCount
public int getMethodsCount()
List of methods for a specific proto-service client in the GAPIC. These names should be formatted as they appear in the source code.
repeated string methods = 1;- Specified by:
getMethodsCountin interfaceGapicMetadata.MethodListOrBuilder- Returns:
- The count of methods.
-
getMethods
public String getMethods(int index)
List of methods for a specific proto-service client in the GAPIC. These names should be formatted as they appear in the source code.
repeated string methods = 1;- Specified by:
getMethodsin interfaceGapicMetadata.MethodListOrBuilder- 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)
List of methods for a specific proto-service client in the GAPIC. These names should be formatted as they appear in the source code.
repeated string methods = 1;- Specified by:
getMethodsBytesin interfaceGapicMetadata.MethodListOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the methods at the given index.
-
setMethods
public GapicMetadata.MethodList.Builder setMethods(int index, String value)
List of methods for a specific proto-service client in the GAPIC. These names should be formatted as they appear in the source code.
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 GapicMetadata.MethodList.Builder addMethods(String value)
List of methods for a specific proto-service client in the GAPIC. These names should be formatted as they appear in the source code.
repeated string methods = 1;- Parameters:
value- The methods to add.- Returns:
- This builder for chaining.
-
addAllMethods
public GapicMetadata.MethodList.Builder addAllMethods(Iterable<String> values)
List of methods for a specific proto-service client in the GAPIC. These names should be formatted as they appear in the source code.
repeated string methods = 1;- Parameters:
values- The methods to add.- Returns:
- This builder for chaining.
-
clearMethods
public GapicMetadata.MethodList.Builder clearMethods()
List of methods for a specific proto-service client in the GAPIC. These names should be formatted as they appear in the source code.
repeated string methods = 1;- Returns:
- This builder for chaining.
-
addMethodsBytes
public GapicMetadata.MethodList.Builder addMethodsBytes(com.google.protobuf.ByteString value)
List of methods for a specific proto-service client in the GAPIC. These names should be formatted as they appear in the source code.
repeated string methods = 1;- Parameters:
value- The bytes of the methods to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GapicMetadata.MethodList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder>
-
mergeUnknownFields
public final GapicMetadata.MethodList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.MethodList.Builder>
-
-