Class ListServiceResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ListServiceResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<ListServiceResponse.Builder>
io.grpc.reflection.v1alpha.ListServiceResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListServiceResponseOrBuilder, Cloneable
- Enclosing class:
ListServiceResponse
public static final class ListServiceResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListServiceResponse.Builder>
implements ListServiceResponseOrBuilder
A list of ServiceResponse sent by the server answering list_services request.Protobuf type
grpc.reflection.v1alpha.ListServiceResponse-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate List<ServiceResponse> private com.google.protobuf.RepeatedFieldBuilder<ServiceResponse, ServiceResponse.Builder, ServiceResponseOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllService(Iterable<? extends ServiceResponse> values) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.addService(int index, ServiceResponse value) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.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.addService(ServiceResponse value) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.addService(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()private voidbuildPartial0(ListServiceResponse result) private voidclear()The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.private voidstatic 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 ServiceResponseOrBuilder> The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.RepeatedFieldBuilder<ServiceResponse, ServiceResponse.Builder, ServiceResponseOrBuilder> final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ListServiceResponse other) removeService(int index) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.setService(int index, ServiceResponse value) The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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 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
-
Field Details
-
bitField0_
private int bitField0_ -
service_
-
serviceBuilder_
private com.google.protobuf.RepeatedFieldBuilder<ServiceResponse, ServiceResponse.Builder, ServiceResponseOrBuilder> serviceBuilder_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListServiceResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.Builder<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
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListServiceResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListServiceResponse.Builder>
-
mergeFrom
public 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<ListServiceResponse.Builder>- Throws:
IOException
-
ensureServiceIsMutable
private void ensureServiceIsMutable() -
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 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:
getServiceCountin interfaceListServiceResponseOrBuilder
-
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 interfaceListServiceResponseOrBuilder
-
setService
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
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
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
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
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 interfaceListServiceResponseOrBuilder
-
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 interfaceListServiceResponseOrBuilder
-
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; -
internalGetServiceFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<ServiceResponse, ServiceResponse.Builder, ServiceResponseOrBuilder> internalGetServiceFieldBuilder()
-