public static final class BatchDeleteIntentsRequest.Builder extends GeneratedMessageV3.Builder<BatchDeleteIntentsRequest.Builder> implements BatchDeleteIntentsRequestOrBuilder
The request message for
Intents.BatchDeleteIntents.
Protobuf type google.cloud.dialogflow.v2.BatchDeleteIntentsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.Intent>
|
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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Intent
|
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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters |
Name |
Description |
index |
int
|
value |
Intent
|
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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
addIntentsBuilder()
public Intent.Builder addIntentsBuilder()
Required. The collection of intents to delete. Only intent name
must be
filled in.
repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchDeleteIntentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchDeleteIntentsRequest build()
buildPartial()
public BatchDeleteIntentsRequest buildPartial()
clear()
public BatchDeleteIntentsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchDeleteIntentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIntents()
public BatchDeleteIntentsRequest.Builder clearIntents()
Required. The collection of intents to delete. Only intent name
must be
filled in.
repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchDeleteIntentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public BatchDeleteIntentsRequest.Builder clearParent()
Required. The name of the agent to delete all entities types for. Format:
projects/<Project ID>/agent
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public BatchDeleteIntentsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchDeleteIntentsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v2.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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getIntentsBuilderList()
public List<Intent.Builder> getIntentsBuilderList()
Required. The collection of intents to delete. Only intent name
must be
filled in.
repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
getIntentsCount()
public int getIntentsCount()
Required. The collection of intents to delete. Only intent name
must be
filled in.
repeated .google.cloud.dialogflow.v2.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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getIntentsOrBuilderList()
public List<? extends IntentOrBuilder> getIntentsOrBuilderList()
Required. The collection of intents to delete. Only intent name
must be
filled in.
repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.IntentOrBuilder> |
|
getParent()
public String getParent()
Required. The name of the agent to delete all entities types for. Format:
projects/<Project 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. Format:
projects/<Project 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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchDeleteIntentsRequest other)
public BatchDeleteIntentsRequest.Builder mergeFrom(BatchDeleteIntentsRequest other)
public BatchDeleteIntentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchDeleteIntentsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchDeleteIntentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchDeleteIntentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters |
Name |
Description |
index |
int
|
value |
Intent
|
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.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
setParent(String value)
public BatchDeleteIntentsRequest.Builder setParent(String value)
Required. The name of the agent to delete all entities types for. Format:
projects/<Project ID>/agent
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public BatchDeleteIntentsRequest.Builder setParentBytes(ByteString value)
Required. The name of the agent to delete all entities types for. Format:
projects/<Project 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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchDeleteIntentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchDeleteIntentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides