Class ListWebhooksResponse.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

        public ListWebhooksResponse.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<ListWebhooksResponse.Builder>
        Throws:
        IOException
      • getWebhooksList

        public List<Webhook> getWebhooksList()
         The list of webhooks. There will be a maximum number of items returned
         based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhooks = 1;
        Specified by:
        getWebhooksList in interface ListWebhooksResponseOrBuilder
      • getWebhooksCount

        public int getWebhooksCount()
         The list of webhooks. There will be a maximum number of items returned
         based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhooks = 1;
        Specified by:
        getWebhooksCount in interface ListWebhooksResponseOrBuilder
      • getWebhooks

        public Webhook getWebhooks​(int index)
         The list of webhooks. There will be a maximum number of items returned
         based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhooks = 1;
        Specified by:
        getWebhooks in interface ListWebhooksResponseOrBuilder
      • setWebhooks

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

        public ListWebhooksResponse.Builder setWebhooks​(int index,
                                                        Webhook.Builder builderForValue)
         The list of webhooks. There will be a maximum number of items returned
         based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhooks = 1;
      • addWebhooks

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

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

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

        public ListWebhooksResponse.Builder addWebhooks​(int index,
                                                        Webhook.Builder builderForValue)
         The list of webhooks. There will be a maximum number of items returned
         based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhooks = 1;
      • addAllWebhooks

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

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

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

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

        public WebhookOrBuilder getWebhooksOrBuilder​(int index)
         The list of webhooks. There will be a maximum number of items returned
         based on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3beta1.Webhook webhooks = 1;
        Specified by:
        getWebhooksOrBuilder in interface ListWebhooksResponseOrBuilder
      • addWebhooksBuilder

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

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

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

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

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