Class ServiceResponse.Builder

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

public static final class ServiceResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ServiceResponse,ServiceResponse.Builder> implements ServiceResponseOrBuilder
 The information of a single service used by ListServiceResponse to answer
 list_services request.
 

Protobuf type grpc.reflection.v1alpha.ServiceResponse

  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    Full name of a registered service, including its package name.
    Full name of a registered service, including its package name.
    com.google.protobuf.ByteString
    Full name of a registered service, including its package name.
    setName(String value)
    Full name of a registered service, including its package name.
    setNameBytes(com.google.protobuf.ByteString value)
    Full name of a registered service, including its package name.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getName

      public String getName()
       Full name of a registered service, including its package name. The format
       is <package>.<service>
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface ServiceResponseOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Full name of a registered service, including its package name. The format
       is <package>.<service>
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface ServiceResponseOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ServiceResponse.Builder setName(String value)
       Full name of a registered service, including its package name. The format
       is <package>.<service>
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ServiceResponse.Builder clearName()
       Full name of a registered service, including its package name. The format
       is <package>.<service>
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ServiceResponse.Builder setNameBytes(com.google.protobuf.ByteString value)
       Full name of a registered service, including its package name. The format
       is <package>.<service>
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.