Class GetServiceRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetServiceRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<GetServiceRequest.Builder>
ai.pipestream.platform.registration.v1.GetServiceRequest.Builder
All Implemented Interfaces:
GetServiceRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetServiceRequest

public static final class GetServiceRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetServiceRequest.Builder> implements GetServiceRequestOrBuilder
 Request to look up service details.

 Supports lookup by logical name (returns all instances) or by specific
 Consul service ID (returns single instance).
 
Protobuf type ai.pipestream.platform.registration.v1.GetServiceRequest
  • 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<GetServiceRequest.Builder>
    • clear

      public GetServiceRequest.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<GetServiceRequest.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<GetServiceRequest.Builder>
    • getDefaultInstanceForType

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

      public GetServiceRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public GetServiceRequest.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<GetServiceRequest.Builder>
    • mergeFrom

      public GetServiceRequest.Builder mergeFrom(GetServiceRequest other)
    • isInitialized

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

      public GetServiceRequest.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<GetServiceRequest.Builder>
      Throws:
      IOException
    • getLookupKeyCase

      public GetServiceRequest.LookupKeyCase getLookupKeyCase()
      Specified by:
      getLookupKeyCase in interface GetServiceRequestOrBuilder
    • clearLookupKey

      public GetServiceRequest.Builder clearLookupKey()
    • hasServiceName

      public boolean hasServiceName()
       Look up by logical name (returns all instances).
       
      string service_name = 1;
      Specified by:
      hasServiceName in interface GetServiceRequestOrBuilder
      Returns:
      Whether the serviceName field is set.
    • getServiceName

      public String getServiceName()
       Look up by logical name (returns all instances).
       
      string service_name = 1;
      Specified by:
      getServiceName in interface GetServiceRequestOrBuilder
      Returns:
      The serviceName.
    • getServiceNameBytes

      public com.google.protobuf.ByteString getServiceNameBytes()
       Look up by logical name (returns all instances).
       
      string service_name = 1;
      Specified by:
      getServiceNameBytes in interface GetServiceRequestOrBuilder
      Returns:
      The bytes for serviceName.
    • setServiceName

      public GetServiceRequest.Builder setServiceName(String value)
       Look up by logical name (returns all instances).
       
      string service_name = 1;
      Parameters:
      value - The serviceName to set.
      Returns:
      This builder for chaining.
    • clearServiceName

      public GetServiceRequest.Builder clearServiceName()
       Look up by logical name (returns all instances).
       
      string service_name = 1;
      Returns:
      This builder for chaining.
    • setServiceNameBytes

      public GetServiceRequest.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
       Look up by logical name (returns all instances).
       
      string service_name = 1;
      Parameters:
      value - The bytes for serviceName to set.
      Returns:
      This builder for chaining.
    • hasServiceId

      public boolean hasServiceId()
       Look up by specific Consul service ID (returns single instance).
       
      string service_id = 2;
      Specified by:
      hasServiceId in interface GetServiceRequestOrBuilder
      Returns:
      Whether the serviceId field is set.
    • getServiceId

      public String getServiceId()
       Look up by specific Consul service ID (returns single instance).
       
      string service_id = 2;
      Specified by:
      getServiceId in interface GetServiceRequestOrBuilder
      Returns:
      The serviceId.
    • getServiceIdBytes

      public com.google.protobuf.ByteString getServiceIdBytes()
       Look up by specific Consul service ID (returns single instance).
       
      string service_id = 2;
      Specified by:
      getServiceIdBytes in interface GetServiceRequestOrBuilder
      Returns:
      The bytes for serviceId.
    • setServiceId

      public GetServiceRequest.Builder setServiceId(String value)
       Look up by specific Consul service ID (returns single instance).
       
      string service_id = 2;
      Parameters:
      value - The serviceId to set.
      Returns:
      This builder for chaining.
    • clearServiceId

      public GetServiceRequest.Builder clearServiceId()
       Look up by specific Consul service ID (returns single instance).
       
      string service_id = 2;
      Returns:
      This builder for chaining.
    • setServiceIdBytes

      public GetServiceRequest.Builder setServiceIdBytes(com.google.protobuf.ByteString value)
       Look up by specific Consul service ID (returns single instance).
       
      string service_id = 2;
      Parameters:
      value - The bytes for serviceId to set.
      Returns:
      This builder for chaining.