Class ListWebhooksResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListWebhooksResponse.Builder>
com.google.cloud.dialogflow.cx.v3beta1.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.GeneratedMessage.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 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<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.GeneratedMessage.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.GeneratedMessage.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
    • mergeFrom

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

      public List<? extends WebhookOrBuilder> getWebhooksOrBuilderList()
       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:
      getWebhooksOrBuilderList 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.