Class Reflection.ListServiceResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Reflection.ListServiceResponse.Builder>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Reflection.ListServiceResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Reflection.ListServiceResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Reflection.ListServiceResponse.Builder>
    • getDefaultInstanceForType

      public Reflection.ListServiceResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Reflection.ListServiceResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Reflection.ListServiceResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Reflection.ListServiceResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Reflection.ListServiceResponse.Builder>
    • mergeFrom

      public Reflection.ListServiceResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Reflection.ListServiceResponse.Builder>
      Throws:
      IOException
    • getServiceList

      public List<Reflection.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 interface Reflection.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:
      getServiceCount in interface Reflection.ListServiceResponseOrBuilder
    • getService

      public Reflection.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 interface Reflection.ListServiceResponseOrBuilder
    • 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

      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

       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.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

       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

      public Reflection.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 Reflection.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 Reflection.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 interface Reflection.ListServiceResponseOrBuilder
    • getServiceOrBuilderList

      public List<? extends Reflection.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 interface Reflection.ListServiceResponseOrBuilder
    • addServiceBuilder

      public Reflection.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 Reflection.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<Reflection.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;