Class ListWebhooksResponse.Builder (0.13.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Webhook>
Returns
TypeDescription
ListWebhooksResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListWebhooksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueWebhook
Returns
TypeDescription
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
NameDescription
builderForValueWebhook.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWebhook
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebhook.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Webhook.Builder

build()

public ListWebhooksResponse build()
Returns
TypeDescription
ListWebhooksResponse

buildPartial()

public ListWebhooksResponse buildPartial()
Returns
TypeDescription
ListWebhooksResponse

clear()

public ListWebhooksResponse.Builder clear()
Returns
TypeDescription
ListWebhooksResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListWebhooksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListWebhooksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListWebhooksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListWebhooksResponse.Builder

clone()

public ListWebhooksResponse.Builder clone()
Returns
TypeDescription
ListWebhooksResponse.Builder
Overrides

getDefaultInstanceForType()

public ListWebhooksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListWebhooksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.WebhookOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListWebhooksResponse other)

public ListWebhooksResponse.Builder mergeFrom(ListWebhooksResponse other)
Parameter
NameDescription
otherListWebhooksResponse
Returns
TypeDescription
ListWebhooksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListWebhooksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListWebhooksResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListWebhooksResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListWebhooksResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListWebhooksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListWebhooksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListWebhooksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListWebhooksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListWebhooksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueWebhook
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWebhook.Builder
Returns
TypeDescription
ListWebhooksResponse.Builder