Class ListWorkflowsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListWorkflowsResponse.Builder>
com.google.cloud.workflows.v1beta.ListWorkflowsResponse.Builder
All Implemented Interfaces:
ListWorkflowsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListWorkflowsResponse

public static final class ListWorkflowsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListWorkflowsResponse.Builder> implements ListWorkflowsResponseOrBuilder
 Response for the
 [ListWorkflows][google.cloud.workflows.v1beta.Workflows.ListWorkflows]
 method.
 
Protobuf type google.cloud.workflows.v1beta.ListWorkflowsResponse
  • 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<ListWorkflowsResponse.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<ListWorkflowsResponse.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<ListWorkflowsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListWorkflowsResponse.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<ListWorkflowsResponse.Builder>
      Throws:
      IOException
    • getWorkflowsList

      public List<Workflow> getWorkflowsList()
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
      Specified by:
      getWorkflowsList in interface ListWorkflowsResponseOrBuilder
    • getWorkflowsCount

      public int getWorkflowsCount()
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
      Specified by:
      getWorkflowsCount in interface ListWorkflowsResponseOrBuilder
    • getWorkflows

      public Workflow getWorkflows(int index)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
      Specified by:
      getWorkflows in interface ListWorkflowsResponseOrBuilder
    • setWorkflows

      public ListWorkflowsResponse.Builder setWorkflows(int index, Workflow value)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • setWorkflows

      public ListWorkflowsResponse.Builder setWorkflows(int index, Workflow.Builder builderForValue)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • addWorkflows

      public ListWorkflowsResponse.Builder addWorkflows(Workflow value)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • addWorkflows

      public ListWorkflowsResponse.Builder addWorkflows(int index, Workflow value)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • addWorkflows

      public ListWorkflowsResponse.Builder addWorkflows(Workflow.Builder builderForValue)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • addWorkflows

      public ListWorkflowsResponse.Builder addWorkflows(int index, Workflow.Builder builderForValue)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • addAllWorkflows

      public ListWorkflowsResponse.Builder addAllWorkflows(Iterable<? extends Workflow> values)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • clearWorkflows

      public ListWorkflowsResponse.Builder clearWorkflows()
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • removeWorkflows

      public ListWorkflowsResponse.Builder removeWorkflows(int index)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • getWorkflowsBuilder

      public Workflow.Builder getWorkflowsBuilder(int index)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • getWorkflowsOrBuilder

      public WorkflowOrBuilder getWorkflowsOrBuilder(int index)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
      Specified by:
      getWorkflowsOrBuilder in interface ListWorkflowsResponseOrBuilder
    • getWorkflowsOrBuilderList

      public List<? extends WorkflowOrBuilder> getWorkflowsOrBuilderList()
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
      Specified by:
      getWorkflowsOrBuilderList in interface ListWorkflowsResponseOrBuilder
    • addWorkflowsBuilder

      public Workflow.Builder addWorkflowsBuilder()
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • addWorkflowsBuilder

      public Workflow.Builder addWorkflowsBuilder(int index)
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 1;
    • getWorkflowsBuilderList

      public List<Workflow.Builder> getWorkflowsBuilderList()
       The workflows which match the request.
       
      repeated .google.cloud.workflows.v1beta.Workflow workflows = 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 ListWorkflowsResponseOrBuilder
      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 ListWorkflowsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListWorkflowsResponse.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 ListWorkflowsResponse.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 ListWorkflowsResponse.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()
       Unreachable resources.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListWorkflowsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unreachable resources.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListWorkflowsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unreachable resources.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListWorkflowsResponseOrBuilder
      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)
       Unreachable resources.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListWorkflowsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListWorkflowsResponse.Builder setUnreachable(int index, String value)
       Unreachable resources.
       
      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 ListWorkflowsResponse.Builder addUnreachable(String value)
       Unreachable resources.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListWorkflowsResponse.Builder addAllUnreachable(Iterable<String> values)
       Unreachable resources.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListWorkflowsResponse.Builder clearUnreachable()
       Unreachable resources.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListWorkflowsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Unreachable resources.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.