Package io.grpc.reflection.v1
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.v1.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.v1.ListServiceResponse
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private 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 void
buildPartial0
(ListServiceResponse result) private void
clear()
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.private void
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getService
(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.int
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.private com.google.protobuf.RepeatedFieldBuilder
<ServiceResponse, ServiceResponse.Builder, ServiceResponseOrBuilder> 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.FieldAccessorTable
final boolean
mergeFrom
(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, 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
-
Field Details
-
bitField0_
private int bitField0_ -
service_
-
serviceBuilder_
private com.google.protobuf.RepeatedFieldBuilder<ServiceResponse,ServiceResponse.Builder, serviceBuilder_ServiceResponseOrBuilder>
-
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ListServiceResponse.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<ListServiceResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ListServiceResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListServiceResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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.v1.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.v1.ServiceResponse service = 1;
- Specified by:
getServiceCount
in interfaceListServiceResponseOrBuilder
-
getService
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1.ServiceResponse service = 1;
- Specified by:
getService
in interfaceListServiceResponseOrBuilder
-
setService
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.ServiceResponse service = 1;
- Specified by:
getServiceOrBuilder
in interfaceListServiceResponseOrBuilder
-
getServiceOrBuilderList
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1.ServiceResponse service = 1;
- Specified by:
getServiceOrBuilderList
in interfaceListServiceResponseOrBuilder
-
addServiceBuilder
The information of each service may be expanded in the future, so we use ServiceResponse message to encapsulate it.
repeated .grpc.reflection.v1.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.v1.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.v1.ServiceResponse service = 1;
-
getServiceFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<ServiceResponse,ServiceResponse.Builder, getServiceFieldBuilder()ServiceResponseOrBuilder>
-