Class ListExecutionsResponse.Builder

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

public static final class ListExecutionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListExecutionsResponse.Builder> implements ListExecutionsResponseOrBuilder
 Response message for the ListExecutions RPC.
 
Protobuf type google.cloud.workloadmanager.v1.ListExecutionsResponse
  • 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<ListExecutionsResponse.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<ListExecutionsResponse.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<ListExecutionsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListExecutionsResponse.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<ListExecutionsResponse.Builder>
      Throws:
      IOException
    • getExecutionsList

      public List<Execution> getExecutionsList()
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
      Specified by:
      getExecutionsList in interface ListExecutionsResponseOrBuilder
    • getExecutionsCount

      public int getExecutionsCount()
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
      Specified by:
      getExecutionsCount in interface ListExecutionsResponseOrBuilder
    • getExecutions

      public Execution getExecutions(int index)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
      Specified by:
      getExecutions in interface ListExecutionsResponseOrBuilder
    • setExecutions

      public ListExecutionsResponse.Builder setExecutions(int index, Execution value)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • setExecutions

      public ListExecutionsResponse.Builder setExecutions(int index, Execution.Builder builderForValue)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • addExecutions

      public ListExecutionsResponse.Builder addExecutions(Execution value)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • addExecutions

      public ListExecutionsResponse.Builder addExecutions(int index, Execution value)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • addExecutions

      public ListExecutionsResponse.Builder addExecutions(Execution.Builder builderForValue)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • addExecutions

      public ListExecutionsResponse.Builder addExecutions(int index, Execution.Builder builderForValue)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • addAllExecutions

      public ListExecutionsResponse.Builder addAllExecutions(Iterable<? extends Execution> values)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • clearExecutions

      public ListExecutionsResponse.Builder clearExecutions()
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • removeExecutions

      public ListExecutionsResponse.Builder removeExecutions(int index)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • getExecutionsBuilder

      public Execution.Builder getExecutionsBuilder(int index)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • getExecutionsOrBuilder

      public ExecutionOrBuilder getExecutionsOrBuilder(int index)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
      Specified by:
      getExecutionsOrBuilder in interface ListExecutionsResponseOrBuilder
    • getExecutionsOrBuilderList

      public List<? extends ExecutionOrBuilder> getExecutionsOrBuilderList()
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
      Specified by:
      getExecutionsOrBuilderList in interface ListExecutionsResponseOrBuilder
    • addExecutionsBuilder

      public Execution.Builder addExecutionsBuilder()
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • addExecutionsBuilder

      public Execution.Builder addExecutionsBuilder(int index)
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • getExecutionsBuilderList

      public List<Execution.Builder> getExecutionsBuilderList()
       The list of Execution.
       
      repeated .google.cloud.workloadmanager.v1.Execution executions = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListExecutionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListExecutionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListExecutionsResponse.Builder setNextPageToken(String value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListExecutionsResponse.Builder clearNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListExecutionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results the server should return.
       
      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 ListExecutionsResponseOrBuilder
      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 ListExecutionsResponseOrBuilder
      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 ListExecutionsResponseOrBuilder
      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 ListExecutionsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListExecutionsResponse.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 ListExecutionsResponse.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 ListExecutionsResponse.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 ListExecutionsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListExecutionsResponse.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.