Class BatchDeleteIntentsRequest.Builder (4.40.0)

public static final class BatchDeleteIntentsRequest.Builder extends GeneratedMessageV3.Builder<BatchDeleteIntentsRequest.Builder> implements BatchDeleteIntentsRequestOrBuilder

The request message for Intents.BatchDeleteIntents.

Protobuf type google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest

Static Methods

getDescriptor()

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

Methods

addAllIntents(Iterable<? extends Intent> values)

public BatchDeleteIntentsRequest.Builder addAllIntents(Iterable<? extends Intent> values)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2beta1.Intent>
Returns
Type Description
BatchDeleteIntentsRequest.Builder

addIntents(Intent value)

public BatchDeleteIntentsRequest.Builder addIntents(Intent value)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Intent
Returns
Type Description
BatchDeleteIntentsRequest.Builder

addIntents(Intent.Builder builderForValue)

public BatchDeleteIntentsRequest.Builder addIntents(Intent.Builder builderForValue)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Intent.Builder
Returns
Type Description
BatchDeleteIntentsRequest.Builder

addIntents(int index, Intent value)

public BatchDeleteIntentsRequest.Builder addIntents(int index, Intent value)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Intent
Returns
Type Description
BatchDeleteIntentsRequest.Builder

addIntents(int index, Intent.Builder builderForValue)

public BatchDeleteIntentsRequest.Builder addIntents(int index, Intent.Builder builderForValue)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Intent.Builder
Returns
Type Description
BatchDeleteIntentsRequest.Builder

addIntentsBuilder()

public Intent.Builder addIntentsBuilder()

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Intent.Builder

addIntentsBuilder(int index)

public Intent.Builder addIntentsBuilder(int index)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Intent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchDeleteIntentsRequest build()
Returns
Type Description
BatchDeleteIntentsRequest

buildPartial()

public BatchDeleteIntentsRequest buildPartial()
Returns
Type Description
BatchDeleteIntentsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIntents()

public BatchDeleteIntentsRequest.Builder clearIntents()

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchDeleteIntentsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BatchDeleteIntentsRequest.Builder clearParent()

Required. The name of the agent to delete all entities types for. 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
BatchDeleteIntentsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BatchDeleteIntentsRequest getDefaultInstanceForType()
Returns
Type Description
BatchDeleteIntentsRequest

getDescriptorForType()

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

getIntents(int index)

public Intent getIntents(int index)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Intent

getIntentsBuilder(int index)

public Intent.Builder getIntentsBuilder(int index)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Intent.Builder

getIntentsBuilderList()

public List<Intent.Builder> getIntentsBuilderList()

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getIntentsCount()

public int getIntentsCount()

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getIntentsList()

public List<Intent> getIntentsList()

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Intent>

getIntentsOrBuilder(int index)

public IntentOrBuilder getIntentsOrBuilder(int index)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
IntentOrBuilder

getIntentsOrBuilderList()

public List<? extends IntentOrBuilder> getIntentsOrBuilderList()

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.IntentOrBuilder>

getParent()

public String getParent()

Required. The name of the agent to delete all entities types for. 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 delete all entities types for. 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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchDeleteIntentsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeIntents(int index)

public BatchDeleteIntentsRequest.Builder removeIntents(int index)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BatchDeleteIntentsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIntents(int index, Intent value)

public BatchDeleteIntentsRequest.Builder setIntents(int index, Intent value)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Intent
Returns
Type Description
BatchDeleteIntentsRequest.Builder

setIntents(int index, Intent.Builder builderForValue)

public BatchDeleteIntentsRequest.Builder setIntents(int index, Intent.Builder builderForValue)

Required. The collection of intents to delete. Only intent name must be filled in.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Intent.Builder
Returns
Type Description
BatchDeleteIntentsRequest.Builder

setParent(String value)

public BatchDeleteIntentsRequest.Builder setParent(String value)

Required. The name of the agent to delete all entities types for. 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
BatchDeleteIntentsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchDeleteIntentsRequest.Builder setParentBytes(ByteString value)

Required. The name of the agent to delete all entities types for. 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
BatchDeleteIntentsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchDeleteIntentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchDeleteIntentsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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