Class BatchDeleteIntentsRequest.Builder (4.3.1)

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

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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2beta1.Intent>
Returns
TypeDescription
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
NameDescription
valueIntent
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueIntent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueIntent.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Intent.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchDeleteIntentsRequest build()
Returns
TypeDescription
BatchDeleteIntentsRequest

buildPartial()

public BatchDeleteIntentsRequest buildPartial()
Returns
TypeDescription
BatchDeleteIntentsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BatchDeleteIntentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BatchDeleteIntentsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BatchDeleteIntentsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchDeleteIntentsRequest

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchDeleteIntentsRequest other)

public BatchDeleteIntentsRequest.Builder mergeFrom(BatchDeleteIntentsRequest other)
Parameter
NameDescription
otherBatchDeleteIntentsRequest
Returns
TypeDescription
BatchDeleteIntentsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BatchDeleteIntentsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchDeleteIntentsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BatchDeleteIntentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueIntent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueIntent.Builder
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchDeleteIntentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchDeleteIntentsRequest.Builder
Overrides