Package io.grpc.reflection.v1alpha
Class ListServiceResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
- io.grpc.reflection.v1alpha.ListServiceResponse.Builder
-
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,ListServiceResponseOrBuilder
,Cloneable
- Enclosing class:
- ListServiceResponse
public static final class ListServiceResponse.Builder extends GeneratedMessageV3.Builder<ListServiceResponse.Builder> implements ListServiceResponseOrBuilder
A list of ServiceResponse sent by the server answering list_services request.
Protobuf typegrpc.reflection.v1alpha.ListServiceResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListServiceResponse.Builder
addAllService(Iterable<? extends ServiceResponse> values)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ListServiceResponse.Builder
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
ListServiceResponse.Builder
addService(int index, ServiceResponse value)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ListServiceResponse.Builder
addService(int index, ServiceResponse.Builder builderForValue)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ListServiceResponse.Builder
addService(ServiceResponse value)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ListServiceResponse.Builder
addService(ServiceResponse.Builder builderForValue)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ServiceResponse.Builder
addServiceBuilder()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ServiceResponse.Builder
addServiceBuilder(int index)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ListServiceResponse
build()
ListServiceResponse
buildPartial()
ListServiceResponse.Builder
clear()
ListServiceResponse.Builder
clearField(Descriptors.FieldDescriptor field)
ListServiceResponse.Builder
clearOneof(Descriptors.OneofDescriptor oneof)
ListServiceResponse.Builder
clearService()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ListServiceResponse.Builder
clone()
ListServiceResponse
getDefaultInstanceForType()
static Descriptors.Descriptor
getDescriptor()
Descriptors.Descriptor
getDescriptorForType()
ServiceResponse
getService(int index)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ServiceResponse.Builder
getServiceBuilder(int index)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.List<ServiceResponse.Builder>
getServiceBuilderList()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.int
getServiceCount()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.List<ServiceResponse>
getServiceList()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ServiceResponseOrBuilder
getServiceOrBuilder(int index)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.List<? extends ServiceResponseOrBuilder>
getServiceOrBuilderList()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.protected GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListServiceResponse.Builder
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
ListServiceResponse.Builder
mergeFrom(Message other)
ListServiceResponse.Builder
mergeFrom(ListServiceResponse other)
ListServiceResponse.Builder
mergeUnknownFields(UnknownFieldSet unknownFields)
ListServiceResponse.Builder
removeService(int index)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ListServiceResponse.Builder
setField(Descriptors.FieldDescriptor field, Object value)
ListServiceResponse.Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
ListServiceResponse.Builder
setService(int index, ServiceResponse value)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ListServiceResponse.Builder
setService(int index, ServiceResponse.Builder builderForValue)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.ListServiceResponse.Builder
setUnknownFields(UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
-
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
clear
public ListServiceResponse.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
getDefaultInstanceForType
public ListServiceResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public ListServiceResponse build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public ListServiceResponse buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public ListServiceResponse.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
setField
public ListServiceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
clearField
public ListServiceResponse.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
clearOneof
public ListServiceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
setRepeatedField
public ListServiceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
addRepeatedField
public ListServiceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
mergeFrom
public ListServiceResponse.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<ListServiceResponse.Builder>
-
mergeFrom
public ListServiceResponse.Builder mergeFrom(ListServiceResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
mergeFrom
public ListServiceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<ListServiceResponse.Builder>
- Throws:
IOException
-
getServiceList
public List<ServiceResponse> getServiceList()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
- Specified by:
getServiceList
in interfaceListServiceResponseOrBuilder
-
getServiceCount
public int getServiceCount()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
- Specified by:
getServiceCount
in interfaceListServiceResponseOrBuilder
-
getService
public ServiceResponse getService(int index)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
- Specified by:
getService
in interfaceListServiceResponseOrBuilder
-
setService
public ListServiceResponse.Builder setService(int index, ServiceResponse value)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
setService
public ListServiceResponse.Builder setService(int index, ServiceResponse.Builder builderForValue)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
addService
public ListServiceResponse.Builder addService(ServiceResponse value)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
addService
public ListServiceResponse.Builder addService(int index, ServiceResponse value)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
addService
public ListServiceResponse.Builder addService(ServiceResponse.Builder builderForValue)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
addService
public ListServiceResponse.Builder addService(int index, ServiceResponse.Builder builderForValue)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
addAllService
public ListServiceResponse.Builder addAllService(Iterable<? extends ServiceResponse> values)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
clearService
public ListServiceResponse.Builder clearService()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
removeService
public ListServiceResponse.Builder removeService(int index)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
getServiceBuilder
public ServiceResponse.Builder getServiceBuilder(int index)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
getServiceOrBuilder
public ServiceResponseOrBuilder getServiceOrBuilder(int index)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
- Specified by:
getServiceOrBuilder
in interfaceListServiceResponseOrBuilder
-
getServiceOrBuilderList
public List<? extends ServiceResponseOrBuilder> getServiceOrBuilderList()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
- Specified by:
getServiceOrBuilderList
in interfaceListServiceResponseOrBuilder
-
addServiceBuilder
public ServiceResponse.Builder addServiceBuilder()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
addServiceBuilder
public ServiceResponse.Builder addServiceBuilder(int index)
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
getServiceBuilderList
public List<ServiceResponse.Builder> getServiceBuilderList()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1alpha.ServiceResponse service = 1;
-
setUnknownFields
public final ListServiceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
mergeUnknownFields
public final ListServiceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<ListServiceResponse.Builder>
-
-