Class ListWebhooksResponse.Builder (0.26.0)

public static final class ListWebhooksResponse.Builder extends GeneratedMessageV3.Builder<ListWebhooksResponse.Builder> implements ListWebhooksResponseOrBuilder

The response message for Webhooks.ListWebhooks.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ListWebhooksResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllWebhooks(Iterable<? extends Webhook> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Webhook>
Returns
Type Description
ListWebhooksResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListWebhooksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListWebhooksResponse.Builder
Overrides

addWebhooks(Webhook value)

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;

Parameter
Name Description
value Webhook
Returns
Type Description
ListWebhooksResponse.Builder

addWebhooks(Webhook.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Webhook.Builder
Returns
Type Description
ListWebhooksResponse.Builder

addWebhooks(int index, Webhook value)

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;

Parameters
Name Description
index int
value Webhook
Returns
Type Description
ListWebhooksResponse.Builder

addWebhooks(int index, Webhook.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Webhook.Builder
Returns
Type Description
ListWebhooksResponse.Builder

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;

Returns
Type Description
Webhook.Builder

addWebhooksBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Webhook.Builder

build()

public ListWebhooksResponse build()
Returns
Type Description
ListWebhooksResponse

buildPartial()

public ListWebhooksResponse buildPartial()
Returns
Type Description
ListWebhooksResponse

clear()

public ListWebhooksResponse.Builder clear()
Returns
Type Description
ListWebhooksResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListWebhooksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListWebhooksResponse.Builder
Overrides

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
Type Description
ListWebhooksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListWebhooksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListWebhooksResponse.Builder
Overrides

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;

Returns
Type Description
ListWebhooksResponse.Builder

clone()

public ListWebhooksResponse.Builder clone()
Returns
Type Description
ListWebhooksResponse.Builder
Overrides

getDefaultInstanceForType()

public ListWebhooksResponse getDefaultInstanceForType()
Returns
Type Description
ListWebhooksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public 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;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getWebhooks(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Webhook

getWebhooksBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Webhook.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

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;

Returns
Type Description
List<Webhook>

getWebhooksOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
WebhookOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.WebhookOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWebhooksResponse other)

public ListWebhooksResponse.Builder mergeFrom(ListWebhooksResponse other)
Parameter
Name Description
other ListWebhooksResponse
Returns
Type Description
ListWebhooksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListWebhooksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListWebhooksResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListWebhooksResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListWebhooksResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListWebhooksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListWebhooksResponse.Builder
Overrides

removeWebhooks(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ListWebhooksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListWebhooksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListWebhooksResponse.Builder
Overrides

setNextPageToken(String value)

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;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListWebhooksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListWebhooksResponse.Builder setNextPageTokenBytes(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;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListWebhooksResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListWebhooksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListWebhooksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListWebhooksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListWebhooksResponse.Builder
Overrides

setWebhooks(int index, Webhook value)

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;

Parameters
Name Description
index int
value Webhook
Returns
Type Description
ListWebhooksResponse.Builder

setWebhooks(int index, Webhook.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Webhook.Builder
Returns
Type Description
ListWebhooksResponse.Builder