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.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()
Returns
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>
|
Returns
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
Returns
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];
Parameter
Returns
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
Returns
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];
Parameters
Returns
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];
Returns
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
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchDeleteIntentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BatchDeleteIntentsRequest build()
Returns
buildPartial()
public BatchDeleteIntentsRequest buildPartial()
Returns
clear()
public BatchDeleteIntentsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchDeleteIntentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchDeleteIntentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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) = { ... }
Returns
clone()
public BatchDeleteIntentsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchDeleteIntentsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
|
Returns
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];
Returns
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
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];
Returns
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
|
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchDeleteIntentsRequest other)
public BatchDeleteIntentsRequest.Builder mergeFrom(BatchDeleteIntentsRequest other)
Parameter
Returns
public BatchDeleteIntentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchDeleteIntentsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchDeleteIntentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchDeleteIntentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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];
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchDeleteIntentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchDeleteIntentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides