Class ListDeliveryPipelinesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListDeliveryPipelinesResponse.Builder>
com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.Builder
All Implemented Interfaces:
ListDeliveryPipelinesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListDeliveryPipelinesResponse

public static final class ListDeliveryPipelinesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDeliveryPipelinesResponse.Builder> implements ListDeliveryPipelinesResponseOrBuilder
 The response object from `ListDeliveryPipelines`.
 
Protobuf type google.cloud.deploy.v1.ListDeliveryPipelinesResponse
  • 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<ListDeliveryPipelinesResponse.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<ListDeliveryPipelinesResponse.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<ListDeliveryPipelinesResponse.Builder>
    • getDefaultInstanceForType

      public ListDeliveryPipelinesResponse 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 ListDeliveryPipelinesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ListDeliveryPipelinesResponse.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<ListDeliveryPipelinesResponse.Builder>
      Throws:
      IOException
    • getDeliveryPipelinesList

      public List<DeliveryPipeline> getDeliveryPipelinesList()
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
      Specified by:
      getDeliveryPipelinesList in interface ListDeliveryPipelinesResponseOrBuilder
    • getDeliveryPipelinesCount

      public int getDeliveryPipelinesCount()
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
      Specified by:
      getDeliveryPipelinesCount in interface ListDeliveryPipelinesResponseOrBuilder
    • getDeliveryPipelines

      public DeliveryPipeline getDeliveryPipelines(int index)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
      Specified by:
      getDeliveryPipelines in interface ListDeliveryPipelinesResponseOrBuilder
    • setDeliveryPipelines

      public ListDeliveryPipelinesResponse.Builder setDeliveryPipelines(int index, DeliveryPipeline value)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • setDeliveryPipelines

      public ListDeliveryPipelinesResponse.Builder setDeliveryPipelines(int index, DeliveryPipeline.Builder builderForValue)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • addDeliveryPipelines

      public ListDeliveryPipelinesResponse.Builder addDeliveryPipelines(DeliveryPipeline value)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • addDeliveryPipelines

      public ListDeliveryPipelinesResponse.Builder addDeliveryPipelines(int index, DeliveryPipeline value)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • addDeliveryPipelines

      public ListDeliveryPipelinesResponse.Builder addDeliveryPipelines(DeliveryPipeline.Builder builderForValue)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • addDeliveryPipelines

      public ListDeliveryPipelinesResponse.Builder addDeliveryPipelines(int index, DeliveryPipeline.Builder builderForValue)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • addAllDeliveryPipelines

      public ListDeliveryPipelinesResponse.Builder addAllDeliveryPipelines(Iterable<? extends DeliveryPipeline> values)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • clearDeliveryPipelines

      public ListDeliveryPipelinesResponse.Builder clearDeliveryPipelines()
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • removeDeliveryPipelines

      public ListDeliveryPipelinesResponse.Builder removeDeliveryPipelines(int index)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • getDeliveryPipelinesBuilder

      public DeliveryPipeline.Builder getDeliveryPipelinesBuilder(int index)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • getDeliveryPipelinesOrBuilder

      public DeliveryPipelineOrBuilder getDeliveryPipelinesOrBuilder(int index)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
      Specified by:
      getDeliveryPipelinesOrBuilder in interface ListDeliveryPipelinesResponseOrBuilder
    • getDeliveryPipelinesOrBuilderList

      public List<? extends DeliveryPipelineOrBuilder> getDeliveryPipelinesOrBuilderList()
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
      Specified by:
      getDeliveryPipelinesOrBuilderList in interface ListDeliveryPipelinesResponseOrBuilder
    • addDeliveryPipelinesBuilder

      public DeliveryPipeline.Builder addDeliveryPipelinesBuilder()
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • addDeliveryPipelinesBuilder

      public DeliveryPipeline.Builder addDeliveryPipelinesBuilder(int index)
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • getDeliveryPipelinesBuilderList

      public List<DeliveryPipeline.Builder> getDeliveryPipelinesBuilderList()
       The `DeliveryPipeline` objects.
       
      repeated .google.cloud.deploy.v1.DeliveryPipeline delivery_pipelines = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListDeliveryPipelinesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListDeliveryPipelinesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListDeliveryPipelinesResponse.Builder setNextPageToken(String value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListDeliveryPipelinesResponse.Builder clearNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDeliveryPipelinesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListDeliveryPipelinesResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListDeliveryPipelinesResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListDeliveryPipelinesResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListDeliveryPipelinesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListDeliveryPipelinesResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListDeliveryPipelinesResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListDeliveryPipelinesResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListDeliveryPipelinesResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListDeliveryPipelinesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.