Class WatchServicesResponse.Builder

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

public static final class WatchServicesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<WatchServicesResponse.Builder> implements WatchServicesResponseOrBuilder
 Response for WatchServices RPC (streaming).
 
Protobuf type ai.pipestream.platform.registration.v1.WatchServicesResponse
  • 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<WatchServicesResponse.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<WatchServicesResponse.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<WatchServicesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public WatchServicesResponse.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<WatchServicesResponse.Builder>
      Throws:
      IOException
    • getServicesList

      public List<GetServiceResponse> getServicesList()
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
      Specified by:
      getServicesList in interface WatchServicesResponseOrBuilder
    • getServicesCount

      public int getServicesCount()
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
      Specified by:
      getServicesCount in interface WatchServicesResponseOrBuilder
    • getServices

      public GetServiceResponse getServices(int index)
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
      Specified by:
      getServices in interface WatchServicesResponseOrBuilder
    • setServices

      public WatchServicesResponse.Builder setServices(int index, GetServiceResponse value)
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • setServices

      public WatchServicesResponse.Builder setServices(int index, GetServiceResponse.Builder builderForValue)
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • addServices

       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • addServices

      public WatchServicesResponse.Builder addServices(int index, GetServiceResponse value)
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • addServices

      public WatchServicesResponse.Builder addServices(GetServiceResponse.Builder builderForValue)
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • addServices

      public WatchServicesResponse.Builder addServices(int index, GetServiceResponse.Builder builderForValue)
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • addAllServices

      public WatchServicesResponse.Builder addAllServices(Iterable<? extends GetServiceResponse> values)
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • clearServices

      public WatchServicesResponse.Builder clearServices()
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • removeServices

      public WatchServicesResponse.Builder removeServices(int index)
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • getServicesBuilder

      public GetServiceResponse.Builder getServicesBuilder(int index)
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • getServicesOrBuilder

      public GetServiceResponseOrBuilder getServicesOrBuilder(int index)
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
      Specified by:
      getServicesOrBuilder in interface WatchServicesResponseOrBuilder
    • getServicesOrBuilderList

      public List<? extends GetServiceResponseOrBuilder> getServicesOrBuilderList()
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
      Specified by:
      getServicesOrBuilderList in interface WatchServicesResponseOrBuilder
    • addServicesBuilder

      public GetServiceResponse.Builder addServicesBuilder()
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • addServicesBuilder

      public GetServiceResponse.Builder addServicesBuilder(int index)
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • getServicesBuilderList

      public List<GetServiceResponse.Builder> getServicesBuilderList()
       List of all registered service instances with their details.
       
      repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1 [json_name = "services"];
    • hasAsOf

      public boolean hasAsOf()
       Timestamp when this snapshot was captured.
       
      .google.protobuf.Timestamp as_of = 2 [json_name = "asOf"];
      Specified by:
      hasAsOf in interface WatchServicesResponseOrBuilder
      Returns:
      Whether the asOf field is set.
    • getAsOf

      public com.google.protobuf.Timestamp getAsOf()
       Timestamp when this snapshot was captured.
       
      .google.protobuf.Timestamp as_of = 2 [json_name = "asOf"];
      Specified by:
      getAsOf in interface WatchServicesResponseOrBuilder
      Returns:
      The asOf.
    • setAsOf

      public WatchServicesResponse.Builder setAsOf(com.google.protobuf.Timestamp value)
       Timestamp when this snapshot was captured.
       
      .google.protobuf.Timestamp as_of = 2 [json_name = "asOf"];
    • setAsOf

      public WatchServicesResponse.Builder setAsOf(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when this snapshot was captured.
       
      .google.protobuf.Timestamp as_of = 2 [json_name = "asOf"];
    • mergeAsOf

      public WatchServicesResponse.Builder mergeAsOf(com.google.protobuf.Timestamp value)
       Timestamp when this snapshot was captured.
       
      .google.protobuf.Timestamp as_of = 2 [json_name = "asOf"];
    • clearAsOf

      public WatchServicesResponse.Builder clearAsOf()
       Timestamp when this snapshot was captured.
       
      .google.protobuf.Timestamp as_of = 2 [json_name = "asOf"];
    • getAsOfBuilder

      public com.google.protobuf.Timestamp.Builder getAsOfBuilder()
       Timestamp when this snapshot was captured.
       
      .google.protobuf.Timestamp as_of = 2 [json_name = "asOf"];
    • getAsOfOrBuilder

      public com.google.protobuf.TimestampOrBuilder getAsOfOrBuilder()
       Timestamp when this snapshot was captured.
       
      .google.protobuf.Timestamp as_of = 2 [json_name = "asOf"];
      Specified by:
      getAsOfOrBuilder in interface WatchServicesResponseOrBuilder
    • getTotalCount

      public int getTotalCount()
       Total count of service instances.
       
      int32 total_count = 3 [json_name = "totalCount"];
      Specified by:
      getTotalCount in interface WatchServicesResponseOrBuilder
      Returns:
      The totalCount.
    • setTotalCount

      public WatchServicesResponse.Builder setTotalCount(int value)
       Total count of service instances.
       
      int32 total_count = 3 [json_name = "totalCount"];
      Parameters:
      value - The totalCount to set.
      Returns:
      This builder for chaining.
    • clearTotalCount

      public WatchServicesResponse.Builder clearTotalCount()
       Total count of service instances.
       
      int32 total_count = 3 [json_name = "totalCount"];
      Returns:
      This builder for chaining.