Class ListWebhooksResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListWebhooksResponse.Builder>
-
- com.google.cloud.dialogflow.cx.v3.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.v3.Webhooks.ListWebhooks].
Protobuf typegoogle.cloud.dialogflow.cx.v3.ListWebhooksResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListWebhooksResponse.Builder
addAllWebhooks(Iterable<? extends Webhook> values)
The list of webhooks.ListWebhooksResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListWebhooksResponse.Builder
addWebhooks(int index, Webhook value)
The list of webhooks.ListWebhooksResponse.Builder
addWebhooks(int index, Webhook.Builder builderForValue)
The list of webhooks.ListWebhooksResponse.Builder
addWebhooks(Webhook value)
The list of webhooks.ListWebhooksResponse.Builder
addWebhooks(Webhook.Builder builderForValue)
The list of webhooks.Webhook.Builder
addWebhooksBuilder()
The list of webhooks.Webhook.Builder
addWebhooksBuilder(int index)
The list of webhooks.ListWebhooksResponse
build()
ListWebhooksResponse
buildPartial()
ListWebhooksResponse.Builder
clear()
ListWebhooksResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListWebhooksResponse.Builder
clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results in the list.ListWebhooksResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListWebhooksResponse.Builder
clearWebhooks()
The list of webhooks.ListWebhooksResponse.Builder
clone()
ListWebhooksResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results in the list.com.google.protobuf.ByteString
getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more results in the list.Webhook
getWebhooks(int index)
The list of webhooks.Webhook.Builder
getWebhooksBuilder(int index)
The list of webhooks.List<Webhook.Builder>
getWebhooksBuilderList()
The list of webhooks.int
getWebhooksCount()
The list of webhooks.List<Webhook>
getWebhooksList()
The list of webhooks.WebhookOrBuilder
getWebhooksOrBuilder(int index)
The list of webhooks.List<? extends WebhookOrBuilder>
getWebhooksOrBuilderList()
The list of webhooks.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListWebhooksResponse.Builder
mergeFrom(ListWebhooksResponse other)
ListWebhooksResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListWebhooksResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListWebhooksResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListWebhooksResponse.Builder
removeWebhooks(int index)
The list of webhooks.ListWebhooksResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListWebhooksResponse.Builder
setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more results in the list.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.ListWebhooksResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListWebhooksResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListWebhooksResponse.Builder
setWebhooks(int index, Webhook value)
The list of webhooks.ListWebhooksResponse.Builder
setWebhooks(int index, Webhook.Builder builderForValue)
The list of webhooks.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListWebhooksResponse.Builder>
-
clear
public ListWebhooksResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListWebhooksResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListWebhooksResponse.Builder>
-
getDefaultInstanceForType
public ListWebhooksResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListWebhooksResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListWebhooksResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListWebhooksResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListWebhooksResponse.Builder>
-
setField
public ListWebhooksResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListWebhooksResponse.Builder>
-
clearField
public ListWebhooksResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListWebhooksResponse.Builder>
-
clearOneof
public ListWebhooksResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListWebhooksResponse.Builder>
-
addRepeatedField
public ListWebhooksResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListWebhooksResponse.Builder>
-
mergeFrom
public ListWebhooksResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListWebhooksResponse.Builder>
-
mergeFrom
public ListWebhooksResponse.Builder mergeFrom(ListWebhooksResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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.v3.Webhook webhooks = 1;
- Specified by:
getWebhooksList
in interfaceListWebhooksResponseOrBuilder
-
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.v3.Webhook webhooks = 1;
- Specified by:
getWebhooksCount
in interfaceListWebhooksResponseOrBuilder
-
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.v3.Webhook webhooks = 1;
- Specified by:
getWebhooks
in interfaceListWebhooksResponseOrBuilder
-
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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.Webhook webhooks = 1;
- Specified by:
getWebhooksOrBuilder
in interfaceListWebhooksResponseOrBuilder
-
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.v3.Webhook webhooks = 1;
- Specified by:
getWebhooksOrBuilderList
in interfaceListWebhooksResponseOrBuilder
-
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.v3.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.v3.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.v3.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 interfaceListWebhooksResponseOrBuilder
- 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 interfaceListWebhooksResponseOrBuilder
- 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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListWebhooksResponse.Builder>
-
mergeUnknownFields
public final ListWebhooksResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListWebhooksResponse.Builder>
-
-