Class BatchUpdateIntentsRequest.Builder (4.4.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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateIntentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchUpdateIntentsRequest.Builder
Overrides

build()

public BatchUpdateIntentsRequest build()
Returns
TypeDescription
BatchUpdateIntentsRequest

buildPartial()

public BatchUpdateIntentsRequest buildPartial()
Returns
TypeDescription
BatchUpdateIntentsRequest

clear()

public BatchUpdateIntentsRequest.Builder clear()
Returns
TypeDescription
BatchUpdateIntentsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchUpdateIntentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchUpdateIntentsRequest.Builder
Overrides

clearIntentBatch()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchUpdateIntentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BatchUpdateIntentsRequest.Builder

clone()

public BatchUpdateIntentsRequest.Builder clone()
Returns
TypeDescription
BatchUpdateIntentsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchUpdateIntentsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchUpdateIntentsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIntentBatchCase()

public BatchUpdateIntentsRequest.IntentBatchCase getIntentBatchCase()
Returns
TypeDescription
BatchUpdateIntentsRequest.IntentBatchCase

getIntentBatchInline()

public IntentBatch getIntentBatchInline()

The collection of intents to update or create.

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

Returns
TypeDescription
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
TypeDescription
IntentBatch.Builder

getIntentBatchInlineOrBuilder()

public IntentBatchOrBuilder getIntentBatchInlineOrBuilder()

The collection of intents to update or create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 5;

Returns
TypeDescription
FieldMaskOrBuilder

hasIntentBatchInline()

public boolean hasIntentBatchInline()

The collection of intents to update or create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchUpdateIntentsRequest other)

public BatchUpdateIntentsRequest.Builder mergeFrom(BatchUpdateIntentsRequest other)
Parameter
NameDescription
otherBatchUpdateIntentsRequest
Returns
TypeDescription
BatchUpdateIntentsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchUpdateIntentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchUpdateIntentsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchUpdateIntentsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueIntentBatch
Returns
TypeDescription
BatchUpdateIntentsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateIntentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
BatchUpdateIntentsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateIntentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueIntentBatch
Returns
TypeDescription
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
NameDescription
builderForValueIntentBatch.Builder
Returns
TypeDescription
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
NameDescription
valueString

The intentBatchUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for intentBatchUri to set.

Returns
TypeDescription
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
NameDescription
valueIntentView

The intentView to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchUpdateIntentsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateIntentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
BatchUpdateIntentsRequest.Builder