Class BatchUpdateIntentsRequest.Builder (4.33.0)

public static final class BatchUpdateIntentsRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder> implements BatchUpdateIntentsRequestOrBuilder

The request message for Intents.BatchUpdateIntents.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateIntentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchUpdateIntentsRequest.Builder
Overrides

build()

public BatchUpdateIntentsRequest build()
Returns
Type Description
BatchUpdateIntentsRequest

buildPartial()

public BatchUpdateIntentsRequest buildPartial()
Returns
Type Description
BatchUpdateIntentsRequest

clear()

public BatchUpdateIntentsRequest.Builder clear()
Returns
Type Description
BatchUpdateIntentsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchUpdateIntentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchUpdateIntentsRequest.Builder
Overrides

clearIntentBatch()

public BatchUpdateIntentsRequest.Builder clearIntentBatch()
Returns
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;

Returns
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;

Returns
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;

Returns
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];

Returns
Type Description
BatchUpdateIntentsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchUpdateIntentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchUpdateIntentsRequest.Builder
Overrides

clearParent()

public BatchUpdateIntentsRequest.Builder clearParent()

Required. The name of the agent to update or create intents in. Supported formats:

  • projects/<Project ID>/agent
  • projects/<Project ID>/locations/<Location ID>/agent

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
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;

Returns
Type Description
BatchUpdateIntentsRequest.Builder

clone()

public BatchUpdateIntentsRequest.Builder clone()
Returns
Type Description
BatchUpdateIntentsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchUpdateIntentsRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateIntentsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIntentBatchCase()

public BatchUpdateIntentsRequest.IntentBatchCase getIntentBatchCase()
Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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];

Returns
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];

Returns
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>/agent
  • projects/<Project ID>/locations/<Location ID>/agent

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
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>/agent
  • projects/<Project ID>/locations/<Location ID>/agent

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
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;

Returns
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;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5;

Returns
Type Description
FieldMaskOrBuilder

hasIntentBatchInline()

public boolean hasIntentBatchInline()

The collection of intents to update or create.

.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;

Returns
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;

Returns
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;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateIntentsRequest other)

public BatchUpdateIntentsRequest.Builder mergeFrom(BatchUpdateIntentsRequest other)
Parameter
Name Description
other BatchUpdateIntentsRequest
Returns
Type Description
BatchUpdateIntentsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchUpdateIntentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchUpdateIntentsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchUpdateIntentsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchUpdateIntentsRequest.Builder
Overrides

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;

Parameter
Name Description
value IntentBatch
Returns
Type Description
BatchUpdateIntentsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateIntentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchUpdateIntentsRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public BatchUpdateIntentsRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5;

Parameter
Name Description
value FieldMask
Returns
Type Description
BatchUpdateIntentsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateIntentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchUpdateIntentsRequest.Builder
Overrides

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;

Parameter
Name Description
value IntentBatch
Returns
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;

Parameter
Name Description
builderForValue IntentBatch.Builder
Returns
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;

Parameter
Name Description
value String

The intentBatchUri to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for intentBatchUri to set.

Returns
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;

Parameter
Name Description
value IntentView

The intentView to set.

Returns
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;

Parameter
Name Description
value int

The enum numeric value on the wire for intentView to set.

Returns
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];

Parameter
Name Description
value String

The languageCode to set.

Returns
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];

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
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>/agent
  • projects/<Project ID>/locations/<Location ID>/agent

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
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>/agent
  • projects/<Project ID>/locations/<Location ID>/agent

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
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)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchUpdateIntentsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateIntentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchUpdateIntentsRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public BatchUpdateIntentsRequest.Builder setUpdateMask(FieldMask value)

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5;

Parameter
Name Description
value FieldMask
Returns
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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BatchUpdateIntentsRequest.Builder