Class ListFlowsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListFlowsResponse.Builder>
com.google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse.Builder
All Implemented Interfaces:
ListFlowsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListFlowsResponse

public static final class ListFlowsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListFlowsResponse.Builder> implements ListFlowsResponseOrBuilder
 The response message for
 [Flows.ListFlows][google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse
  • 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<ListFlowsResponse.Builder>
    • clear

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

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

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

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

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

      public ListFlowsResponse.Builder mergeFrom(ListFlowsResponse other)
    • isInitialized

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

      public ListFlowsResponse.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<ListFlowsResponse.Builder>
      Throws:
      IOException
    • getFlowsList

      public List<Flow> getFlowsList()
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
      Specified by:
      getFlowsList in interface ListFlowsResponseOrBuilder
    • getFlowsCount

      public int getFlowsCount()
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
      Specified by:
      getFlowsCount in interface ListFlowsResponseOrBuilder
    • getFlows

      public Flow getFlows(int index)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
      Specified by:
      getFlows in interface ListFlowsResponseOrBuilder
    • setFlows

      public ListFlowsResponse.Builder setFlows(int index, Flow value)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • setFlows

      public ListFlowsResponse.Builder setFlows(int index, Flow.Builder builderForValue)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • addFlows

      public ListFlowsResponse.Builder addFlows(Flow value)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • addFlows

      public ListFlowsResponse.Builder addFlows(int index, Flow value)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • addFlows

      public ListFlowsResponse.Builder addFlows(Flow.Builder builderForValue)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • addFlows

      public ListFlowsResponse.Builder addFlows(int index, Flow.Builder builderForValue)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • addAllFlows

      public ListFlowsResponse.Builder addAllFlows(Iterable<? extends Flow> values)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • clearFlows

      public ListFlowsResponse.Builder clearFlows()
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • removeFlows

      public ListFlowsResponse.Builder removeFlows(int index)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • getFlowsBuilder

      public Flow.Builder getFlowsBuilder(int index)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • getFlowsOrBuilder

      public FlowOrBuilder getFlowsOrBuilder(int index)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
      Specified by:
      getFlowsOrBuilder in interface ListFlowsResponseOrBuilder
    • getFlowsOrBuilderList

      public List<? extends FlowOrBuilder> getFlowsOrBuilderList()
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
      Specified by:
      getFlowsOrBuilderList in interface ListFlowsResponseOrBuilder
    • addFlowsBuilder

      public Flow.Builder addFlowsBuilder()
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • addFlowsBuilder

      public Flow.Builder addFlowsBuilder(int index)
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • getFlowsBuilderList

      public List<Flow.Builder> getFlowsBuilderList()
       The list of flows. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 1;
    • getNextPageToken

      public String getNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListFlowsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListFlowsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListFlowsResponse.Builder setNextPageToken(String value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListFlowsResponse.Builder clearNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListFlowsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.