Package io.envoyproxy.envoy.api.v2.core
Class GrpcMethodList.Service.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GrpcMethodList.Service.Builder>
-
- io.envoyproxy.envoy.api.v2.core.GrpcMethodList.Service.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GrpcMethodList.ServiceOrBuilder,Cloneable
- Enclosing class:
- GrpcMethodList.Service
public static final class GrpcMethodList.Service.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GrpcMethodList.Service.Builder> implements GrpcMethodList.ServiceOrBuilder
Protobuf typeenvoy.api.v2.core.GrpcMethodList.Service
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GrpcMethodList.Service.BuilderaddAllMethodNames(Iterable<String> values)The names of the gRPC methods in this service.GrpcMethodList.Service.BuilderaddMethodNames(String value)The names of the gRPC methods in this service.GrpcMethodList.Service.BuilderaddMethodNamesBytes(com.google.protobuf.ByteString value)The names of the gRPC methods in this service.GrpcMethodList.Service.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GrpcMethodList.Servicebuild()GrpcMethodList.ServicebuildPartial()GrpcMethodList.Service.Builderclear()GrpcMethodList.Service.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GrpcMethodList.Service.BuilderclearMethodNames()The names of the gRPC methods in this service.GrpcMethodList.Service.BuilderclearName()The name of the gRPC service.GrpcMethodList.Service.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GrpcMethodList.Service.Builderclone()GrpcMethodList.ServicegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMethodNames(int index)The names of the gRPC methods in this service.com.google.protobuf.ByteStringgetMethodNamesBytes(int index)The names of the gRPC methods in this service.intgetMethodNamesCount()The names of the gRPC methods in this service.com.google.protobuf.ProtocolStringListgetMethodNamesList()The names of the gRPC methods in this service.StringgetName()The name of the gRPC service.com.google.protobuf.ByteStringgetNameBytes()The name of the gRPC service.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GrpcMethodList.Service.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GrpcMethodList.Service.BuildermergeFrom(com.google.protobuf.Message other)GrpcMethodList.Service.BuildermergeFrom(GrpcMethodList.Service other)GrpcMethodList.Service.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GrpcMethodList.Service.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GrpcMethodList.Service.BuildersetMethodNames(int index, String value)The names of the gRPC methods in this service.GrpcMethodList.Service.BuildersetName(String value)The name of the gRPC service.GrpcMethodList.Service.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the gRPC service.GrpcMethodList.Service.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GrpcMethodList.Service.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<GrpcMethodList.Service.Builder>
-
clear
public GrpcMethodList.Service.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<GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
-
getDefaultInstanceForType
public GrpcMethodList.Service getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GrpcMethodList.Service build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GrpcMethodList.Service buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
-
setField
public GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
-
clearField
public GrpcMethodList.Service.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcMethodList.Service.Builder>
-
clearOneof
public GrpcMethodList.Service.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcMethodList.Service.Builder>
-
setRepeatedField
public GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
-
addRepeatedField
public GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
-
mergeFrom
public GrpcMethodList.Service.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GrpcMethodList.Service.Builder>
-
mergeFrom
public GrpcMethodList.Service.Builder mergeFrom(GrpcMethodList.Service other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcMethodList.Service.Builder>
-
mergeFrom
public GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>- Throws:
IOException
-
getName
public String getName()
The name of the gRPC service.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNamein interfaceGrpcMethodList.ServiceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the gRPC service.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNameBytesin interfaceGrpcMethodList.ServiceOrBuilder- Returns:
- The bytes for name.
-
setName
public GrpcMethodList.Service.Builder setName(String value)
The name of the gRPC service.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public GrpcMethodList.Service.Builder clearName()
The name of the gRPC service.
string name = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
public GrpcMethodList.Service.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the gRPC service.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getMethodNamesList
public com.google.protobuf.ProtocolStringList getMethodNamesList()
The names of the gRPC methods in this service.
repeated string method_names = 2 [(.validate.rules) = { ... }- Specified by:
getMethodNamesListin interfaceGrpcMethodList.ServiceOrBuilder- Returns:
- A list containing the methodNames.
-
getMethodNamesCount
public int getMethodNamesCount()
The names of the gRPC methods in this service.
repeated string method_names = 2 [(.validate.rules) = { ... }- Specified by:
getMethodNamesCountin interfaceGrpcMethodList.ServiceOrBuilder- Returns:
- The count of methodNames.
-
getMethodNames
public String getMethodNames(int index)
The names of the gRPC methods in this service.
repeated string method_names = 2 [(.validate.rules) = { ... }- Specified by:
getMethodNamesin interfaceGrpcMethodList.ServiceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The methodNames at the given index.
-
getMethodNamesBytes
public com.google.protobuf.ByteString getMethodNamesBytes(int index)
The names of the gRPC methods in this service.
repeated string method_names = 2 [(.validate.rules) = { ... }- Specified by:
getMethodNamesBytesin interfaceGrpcMethodList.ServiceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the methodNames at the given index.
-
setMethodNames
public GrpcMethodList.Service.Builder setMethodNames(int index, String value)
The names of the gRPC methods in this service.
repeated string method_names = 2 [(.validate.rules) = { ... }- Parameters:
index- The index to set the value at.value- The methodNames to set.- Returns:
- This builder for chaining.
-
addMethodNames
public GrpcMethodList.Service.Builder addMethodNames(String value)
The names of the gRPC methods in this service.
repeated string method_names = 2 [(.validate.rules) = { ... }- Parameters:
value- The methodNames to add.- Returns:
- This builder for chaining.
-
addAllMethodNames
public GrpcMethodList.Service.Builder addAllMethodNames(Iterable<String> values)
The names of the gRPC methods in this service.
repeated string method_names = 2 [(.validate.rules) = { ... }- Parameters:
values- The methodNames to add.- Returns:
- This builder for chaining.
-
clearMethodNames
public GrpcMethodList.Service.Builder clearMethodNames()
The names of the gRPC methods in this service.
repeated string method_names = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
addMethodNamesBytes
public GrpcMethodList.Service.Builder addMethodNamesBytes(com.google.protobuf.ByteString value)
The names of the gRPC methods in this service.
repeated string method_names = 2 [(.validate.rules) = { ... }- Parameters:
value- The bytes of the methodNames to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GrpcMethodList.Service.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcMethodList.Service.Builder>
-
mergeUnknownFields
public final GrpcMethodList.Service.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GrpcMethodList.Service.Builder>
-
-