Class ListServiceResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ListServiceResponse,ListServiceResponse.Builder>
com.viam.sdk.core.rpc.reflectionv1alpha.ListServiceResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, ListServiceResponseOrBuilder, Cloneable
Enclosing class:
ListServiceResponse

public static final class ListServiceResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ListServiceResponse,ListServiceResponse.Builder> implements ListServiceResponseOrBuilder
 A list of ServiceResponse sent by the server answering list_services request.
 

Protobuf type grpc.reflection.v1alpha.ListServiceResponse

  • Method Details

    • 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 [json_name = "service"];
      Specified by:
      getServiceList in interface 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 [json_name = "service"];
      Specified by:
      getServiceCount in interface ListServiceResponseOrBuilder
    • 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 [json_name = "service"];
      Specified by:
      getService in interface ListServiceResponseOrBuilder
    • 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 [json_name = "service"];
    • 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 [json_name = "service"];
    • 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 [json_name = "service"];
    • 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 [json_name = "service"];
    • 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 [json_name = "service"];
    • 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 [json_name = "service"];
    • 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 [json_name = "service"];
    • 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 [json_name = "service"];
    • 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 [json_name = "service"];