Package grpc.reflection.v1alpha
Class Reflection.ListServiceResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Reflection.ListServiceResponse.Builder>
grpc.reflection.v1alpha.Reflection.ListServiceResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Reflection.ListServiceResponseOrBuilder,Cloneable
- Enclosing class:
- Reflection.ListServiceResponse
public static final class Reflection.ListServiceResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Reflection.ListServiceResponse.Builder>
implements Reflection.ListServiceResponseOrBuilder
A list of ServiceResponse sent by the server answering list_services request.Protobuf type
grpc.reflection.v1alpha.ListServiceResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllService(Iterable<? extends Reflection.ServiceResponse> values) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addService(int index, Reflection.ServiceResponse value) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.addService(int index, Reflection.ServiceResponse.Builder builderForValue) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.addService(Reflection.ServiceResponse.Builder builderForValue) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.addServiceBuilder(int index) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetService(int index) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.getServiceBuilder(int index) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.intThe information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.getServiceOrBuilder(int index) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.List<? extends Reflection.ServiceResponseOrBuilder>The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeService(int index) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setService(int index, Reflection.ServiceResponse value) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.setService(int index, Reflection.ServiceResponse.Builder builderForValue) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.setUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<Reflection.ListServiceResponse.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<Reflection.ListServiceResponse.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<Reflection.ListServiceResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<Reflection.ListServiceResponse.Builder>
-
setField
public Reflection.ListServiceResponse.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<Reflection.ListServiceResponse.Builder>
-
clearField
public Reflection.ListServiceResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ListServiceResponse.Builder>
-
clearOneof
public Reflection.ListServiceResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ListServiceResponse.Builder>
-
setRepeatedField
public Reflection.ListServiceResponse.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<Reflection.ListServiceResponse.Builder>
-
addRepeatedField
public Reflection.ListServiceResponse.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<Reflection.ListServiceResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Reflection.ListServiceResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ListServiceResponse.Builder>
-
mergeFrom
public Reflection.ListServiceResponse.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<Reflection.ListServiceResponse.Builder>- Throws:
IOException
-
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:
getServiceListin interfaceReflection.ListServiceResponseOrBuilder
-
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:
getServiceCountin interfaceReflection.ListServiceResponseOrBuilder
-
getService
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:
getServicein interfaceReflection.ListServiceResponseOrBuilder
-
setService
public Reflection.ListServiceResponse.Builder setService(int index, Reflection.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 Reflection.ListServiceResponse.Builder setService(int index, Reflection.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
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 Reflection.ListServiceResponse.Builder addService(int index, Reflection.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 Reflection.ListServiceResponse.Builder addService(Reflection.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 Reflection.ListServiceResponse.Builder addService(int index, Reflection.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 Reflection.ListServiceResponse.Builder addAllService(Iterable<? extends Reflection.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
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
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
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
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:
getServiceOrBuilderin interfaceReflection.ListServiceResponseOrBuilder
-
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:
getServiceOrBuilderListin interfaceReflection.ListServiceResponseOrBuilder
-
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
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
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 Reflection.ListServiceResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ListServiceResponse.Builder>
-
mergeUnknownFields
public final Reflection.ListServiceResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Reflection.ListServiceResponse.Builder>
-