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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListWebhooksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public ListWebhooksResponse build()
Returns
buildPartial()
public ListWebhooksResponse buildPartial()
Returns
clear()
public ListWebhooksResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListWebhooksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListWebhooksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ListWebhooksResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListWebhooksResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListWebhooksResponse other)
public ListWebhooksResponse.Builder mergeFrom(ListWebhooksResponse other)
Parameter
Returns
public ListWebhooksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListWebhooksResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListWebhooksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListWebhooksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListWebhooksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListWebhooksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns