Class 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.GeneratedMessageV3.Builder<ListFlowsResponse.Builder>
    implements ListFlowsResponseOrBuilder
     The response message for
     [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows].
     
    Protobuf type google.cloud.dialogflow.cx.v3.ListFlowsResponse
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public ListFlowsResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListFlowsResponse.Builder>
      • setField

        public ListFlowsResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListFlowsResponse.Builder>
      • clearField

        public ListFlowsResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListFlowsResponse.Builder>
      • clearOneof

        public ListFlowsResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListFlowsResponse.Builder>
      • setRepeatedField

        public ListFlowsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListFlowsResponse.Builder>
      • addRepeatedField

        public ListFlowsResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListFlowsResponse.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.
      • setUnknownFields

        public final ListFlowsResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListFlowsResponse.Builder>
      • mergeUnknownFields

        public final ListFlowsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListFlowsResponse.Builder>