Class ListIntentsResponse.Builder

  • All Implemented Interfaces:
    ListIntentsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ListIntentsResponse

    public static final class ListIntentsResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsResponse.Builder>
    implements ListIntentsResponseOrBuilder
     The response message for
     [Intents.ListIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents].
     
    Protobuf type google.cloud.dialogflow.cx.v3beta1.ListIntentsResponse
    • 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<ListIntentsResponse.Builder>
      • clear

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

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

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

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

        public ListIntentsResponse.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<ListIntentsResponse.Builder>
      • setField

        public ListIntentsResponse.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<ListIntentsResponse.Builder>
      • clearField

        public ListIntentsResponse.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<ListIntentsResponse.Builder>
      • clearOneof

        public ListIntentsResponse.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<ListIntentsResponse.Builder>
      • setRepeatedField

        public ListIntentsResponse.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<ListIntentsResponse.Builder>
      • addRepeatedField

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

        public ListIntentsResponse.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<ListIntentsResponse.Builder>
      • isInitialized

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

        public ListIntentsResponse.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<ListIntentsResponse.Builder>
        Throws:
        IOException
      • getIntentsList

        public List<Intent> getIntentsList()
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
        Specified by:
        getIntentsList in interface ListIntentsResponseOrBuilder
      • getIntentsCount

        public int getIntentsCount()
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
        Specified by:
        getIntentsCount in interface ListIntentsResponseOrBuilder
      • getIntents

        public Intent getIntents​(int index)
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
        Specified by:
        getIntents in interface ListIntentsResponseOrBuilder
      • setIntents

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

        public ListIntentsResponse.Builder setIntents​(int index,
                                                      Intent.Builder builderForValue)
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
      • addIntents

        public ListIntentsResponse.Builder addIntents​(Intent value)
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
      • addIntents

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

        public ListIntentsResponse.Builder addIntents​(Intent.Builder builderForValue)
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
      • addIntents

        public ListIntentsResponse.Builder addIntents​(int index,
                                                      Intent.Builder builderForValue)
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
      • addAllIntents

        public ListIntentsResponse.Builder addAllIntents​(Iterable<? extends Intent> values)
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
      • clearIntents

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

        public ListIntentsResponse.Builder removeIntents​(int index)
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
      • getIntentsBuilder

        public Intent.Builder getIntentsBuilder​(int index)
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
      • getIntentsOrBuilder

        public IntentOrBuilder getIntentsOrBuilder​(int index)
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
        Specified by:
        getIntentsOrBuilder in interface ListIntentsResponseOrBuilder
      • getIntentsOrBuilderList

        public List<? extends IntentOrBuilder> getIntentsOrBuilderList()
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
        Specified by:
        getIntentsOrBuilderList in interface ListIntentsResponseOrBuilder
      • addIntentsBuilder

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

        public Intent.Builder addIntentsBuilder​(int index)
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 1;
      • getIntentsBuilderList

        public List<Intent.Builder> getIntentsBuilderList()
         The list of intents. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 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 ListIntentsResponseOrBuilder
        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 ListIntentsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListIntentsResponse.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 ListIntentsResponse.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 ListIntentsResponse.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 ListIntentsResponse.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<ListIntentsResponse.Builder>
      • mergeUnknownFields

        public final ListIntentsResponse.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<ListIntentsResponse.Builder>