public static final class ListIntentsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder> implements ListIntentsRequestOrBuilder
The request message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].Protobuf type
google.cloud.dialogflow.v2beta1.ListIntentsRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>public ListIntentsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>public ListIntentsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListIntentsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListIntentsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListIntentsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>public ListIntentsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>public ListIntentsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>public ListIntentsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>public ListIntentsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>public ListIntentsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>public ListIntentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListIntentsRequest.Builder>public ListIntentsRequest.Builder mergeFrom(ListIntentsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>public ListIntentsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListIntentsRequest.Builder>IOExceptionpublic String getParent()
Required. The agent to list all intents from. Format: `projects/<Project ID>/agent` or `projects/<Project ID>/locations/<Location ID>/agent`. Alternatively, you can specify the environment to list intents for. Format: `projects/<Project ID>/agent/environments/<Environment ID>` or `projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>`. Note: training phrases of the intents will not be returned for non-draft environment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListIntentsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The agent to list all intents from. Format: `projects/<Project ID>/agent` or `projects/<Project ID>/locations/<Location ID>/agent`. Alternatively, you can specify the environment to list intents for. Format: `projects/<Project ID>/agent/environments/<Environment ID>` or `projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>`. Note: training phrases of the intents will not be returned for non-draft environment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListIntentsRequestOrBuilderpublic ListIntentsRequest.Builder setParent(String value)
Required. The agent to list all intents from. Format: `projects/<Project ID>/agent` or `projects/<Project ID>/locations/<Location ID>/agent`. Alternatively, you can specify the environment to list intents for. Format: `projects/<Project ID>/agent/environments/<Environment ID>` or `projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>`. Note: training phrases of the intents will not be returned for non-draft environment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListIntentsRequest.Builder clearParent()
Required. The agent to list all intents from. Format: `projects/<Project ID>/agent` or `projects/<Project ID>/locations/<Location ID>/agent`. Alternatively, you can specify the environment to list intents for. Format: `projects/<Project ID>/agent/environments/<Environment ID>` or `projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>`. Note: training phrases of the intents will not be returned for non-draft environment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListIntentsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The agent to list all intents from. Format: `projects/<Project ID>/agent` or `projects/<Project ID>/locations/<Location ID>/agent`. Alternatively, you can specify the environment to list intents for. Format: `projects/<Project ID>/agent/environments/<Environment ID>` or `projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>`. Note: training phrases of the intents will not be returned for non-draft environment.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public String getLanguageCode()
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];getLanguageCode in interface ListIntentsRequestOrBuilderpublic com.google.protobuf.ByteString getLanguageCodeBytes()
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];getLanguageCodeBytes in interface ListIntentsRequestOrBuilderpublic ListIntentsRequest.Builder setLanguageCode(String value)
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];value - The languageCode to set.public ListIntentsRequest.Builder clearLanguageCode()
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];public ListIntentsRequest.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for languageCode to set.public int getIntentViewValue()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 3;getIntentViewValue in interface ListIntentsRequestOrBuilderpublic ListIntentsRequest.Builder setIntentViewValue(int value)
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 3;value - The enum numeric value on the wire for intentView to set.public IntentView getIntentView()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 3;getIntentView in interface ListIntentsRequestOrBuilderpublic ListIntentsRequest.Builder setIntentView(IntentView value)
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 3;value - The intentView to set.public ListIntentsRequest.Builder clearIntentView()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 3;public int getPageSize()
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
int32 page_size = 4;getPageSize in interface ListIntentsRequestOrBuilderpublic ListIntentsRequest.Builder setPageSize(int value)
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
int32 page_size = 4;value - The pageSize to set.public ListIntentsRequest.Builder clearPageSize()
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
int32 page_size = 4;public String getPageToken()
Optional. The next_page_token value returned from a previous list request.
string page_token = 5;getPageToken in interface ListIntentsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. The next_page_token value returned from a previous list request.
string page_token = 5;getPageTokenBytes in interface ListIntentsRequestOrBuilderpublic ListIntentsRequest.Builder setPageToken(String value)
Optional. The next_page_token value returned from a previous list request.
string page_token = 5;value - The pageToken to set.public ListIntentsRequest.Builder clearPageToken()
Optional. The next_page_token value returned from a previous list request.
string page_token = 5;public ListIntentsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. The next_page_token value returned from a previous list request.
string page_token = 5;value - The bytes for pageToken to set.public final ListIntentsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>public final ListIntentsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListIntentsRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.