public static final class BatchUpdateIntentsRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder> implements BatchUpdateIntentsRequestOrBuilderThe request message for Intents.BatchUpdateIntents.
Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchUpdateIntentsRequest.BuilderImplements
BatchUpdateIntentsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateIntentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
build()
public BatchUpdateIntentsRequest build()| Type | Description |
BatchUpdateIntentsRequest |
buildPartial()
public BatchUpdateIntentsRequest buildPartial()| Type | Description |
BatchUpdateIntentsRequest |
clear()
public BatchUpdateIntentsRequest.Builder clear()| Type | Description |
BatchUpdateIntentsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchUpdateIntentsRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
clearIntentBatch()
public BatchUpdateIntentsRequest.Builder clearIntentBatch()| Type | Description |
BatchUpdateIntentsRequest.Builder |
clearIntentBatchInline()
public BatchUpdateIntentsRequest.Builder clearIntentBatchInline()The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
| Type | Description |
BatchUpdateIntentsRequest.Builder |
clearIntentBatchUri()
public BatchUpdateIntentsRequest.Builder clearIntentBatchUri()The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
clearIntentView()
public BatchUpdateIntentsRequest.Builder clearIntentView()Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
clearLanguageCode()
public BatchUpdateIntentsRequest.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.
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchUpdateIntentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
clearParent()
public BatchUpdateIntentsRequest.Builder clearParent()Required. The name of the agent to update or create intents in. Supported formats:
projects/<Project ID>/agentprojects/<Project ID>/locations/<Location ID>/agent
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public BatchUpdateIntentsRequest.Builder clearUpdateMask()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
| Type | Description |
BatchUpdateIntentsRequest.Builder |
clone()
public BatchUpdateIntentsRequest.Builder clone()| Type | Description |
BatchUpdateIntentsRequest.Builder |
getDefaultInstanceForType()
public BatchUpdateIntentsRequest getDefaultInstanceForType()| Type | Description |
BatchUpdateIntentsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getIntentBatchCase()
public BatchUpdateIntentsRequest.IntentBatchCase getIntentBatchCase()| Type | Description |
BatchUpdateIntentsRequest.IntentBatchCase |
getIntentBatchInline()
public IntentBatch getIntentBatchInline()The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
| Type | Description |
IntentBatch |
The intentBatchInline. |
getIntentBatchInlineBuilder()
public IntentBatch.Builder getIntentBatchInlineBuilder()The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
| Type | Description |
IntentBatch.Builder |
getIntentBatchInlineOrBuilder()
public IntentBatchOrBuilder getIntentBatchInlineOrBuilder()The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
| Type | Description |
IntentBatchOrBuilder |
getIntentBatchUri()
public String getIntentBatchUri()The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;
| Type | Description |
String |
The intentBatchUri. |
getIntentBatchUriBytes()
public ByteString getIntentBatchUriBytes()The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;
| Type | Description |
ByteString |
The bytes for intentBatchUri. |
getIntentView()
public IntentView getIntentView()Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
| Type | Description |
IntentView |
The intentView. |
getIntentViewValue()
public int getIntentViewValue()Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
| Type | Description |
int |
The enum numeric value on the wire for intentView. |
getLanguageCode()
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.
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public 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.
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
ByteString |
The bytes for languageCode. |
getParent()
public String getParent()Required. The name of the agent to update or create intents in. Supported formats:
projects/<Project ID>/agentprojects/<Project ID>/locations/<Location ID>/agent
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The name of the agent to update or create intents in. Supported formats:
projects/<Project ID>/agentprojects/<Project ID>/locations/<Location ID>/agent
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
ByteString |
The bytes for parent. |
getUpdateMask()
public FieldMask getUpdateMask()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
| Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
| Type | Description |
FieldMaskOrBuilder |
hasIntentBatchInline()
public boolean hasIntentBatchInline()The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
| Type | Description |
boolean |
Whether the intentBatchInline field is set. |
hasIntentBatchUri()
public boolean hasIntentBatchUri()The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;
| Type | Description |
boolean |
Whether the intentBatchUri field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(BatchUpdateIntentsRequest other)
public BatchUpdateIntentsRequest.Builder mergeFrom(BatchUpdateIntentsRequest other)| Name | Description |
other |
BatchUpdateIntentsRequest |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchUpdateIntentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public BatchUpdateIntentsRequest.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
mergeIntentBatchInline(IntentBatch value)
public BatchUpdateIntentsRequest.Builder mergeIntentBatchInline(IntentBatch value)The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
| Name | Description |
value |
IntentBatch |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateIntentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
mergeUpdateMask(FieldMask value)
public BatchUpdateIntentsRequest.Builder mergeUpdateMask(FieldMask value)Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
| Name | Description |
value |
FieldMask |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateIntentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
setIntentBatchInline(IntentBatch value)
public BatchUpdateIntentsRequest.Builder setIntentBatchInline(IntentBatch value)The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
| Name | Description |
value |
IntentBatch |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
setIntentBatchInline(IntentBatch.Builder builderForValue)
public BatchUpdateIntentsRequest.Builder setIntentBatchInline(IntentBatch.Builder builderForValue)The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
| Name | Description |
builderForValue |
IntentBatch.Builder |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
setIntentBatchUri(String value)
public BatchUpdateIntentsRequest.Builder setIntentBatchUri(String value)The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;
| Name | Description |
value |
StringThe intentBatchUri to set. |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
setIntentBatchUriBytes(ByteString value)
public BatchUpdateIntentsRequest.Builder setIntentBatchUriBytes(ByteString value)The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;
| Name | Description |
value |
ByteStringThe bytes for intentBatchUri to set. |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
setIntentView(IntentView value)
public BatchUpdateIntentsRequest.Builder setIntentView(IntentView value)Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
| Name | Description |
value |
IntentViewThe intentView to set. |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
setIntentViewValue(int value)
public BatchUpdateIntentsRequest.Builder setIntentViewValue(int value)Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
| Name | Description |
value |
intThe enum numeric value on the wire for intentView to set. |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
setLanguageCode(String value)
public BatchUpdateIntentsRequest.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.
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
value |
StringThe languageCode to set. |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public BatchUpdateIntentsRequest.Builder setLanguageCodeBytes(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.
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
value |
ByteStringThe bytes for languageCode to set. |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
setParent(String value)
public BatchUpdateIntentsRequest.Builder setParent(String value)Required. The name of the agent to update or create intents in. Supported formats:
projects/<Project ID>/agentprojects/<Project ID>/locations/<Location ID>/agent
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
value |
StringThe parent to set. |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public BatchUpdateIntentsRequest.Builder setParentBytes(ByteString value)Required. The name of the agent to update or create intents in. Supported formats:
projects/<Project ID>/agentprojects/<Project ID>/locations/<Location ID>/agent
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchUpdateIntentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateIntentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
setUpdateMask(FieldMask value)
public BatchUpdateIntentsRequest.Builder setUpdateMask(FieldMask value)Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
| Name | Description |
value |
FieldMask |
| Type | Description |
BatchUpdateIntentsRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public BatchUpdateIntentsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
| Name | Description |
builderForValue |
Builder |
| Type | Description |
BatchUpdateIntentsRequest.Builder |