Class BatchDeleteEntityTypesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
- com.google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest.Builder
-
- All Implemented Interfaces:
BatchDeleteEntityTypesRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- BatchDeleteEntityTypesRequest
public static final class BatchDeleteEntityTypesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder> implements BatchDeleteEntityTypesRequestOrBuilder
The request message for [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes].
Protobuf typegoogle.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
clear
public BatchDeleteEntityTypesRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
getDefaultInstanceForType
public BatchDeleteEntityTypesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchDeleteEntityTypesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchDeleteEntityTypesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchDeleteEntityTypesRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
setField
public BatchDeleteEntityTypesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
clearField
public BatchDeleteEntityTypesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
clearOneof
public BatchDeleteEntityTypesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
setRepeatedField
public BatchDeleteEntityTypesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
addRepeatedField
public BatchDeleteEntityTypesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
mergeFrom
public BatchDeleteEntityTypesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchDeleteEntityTypesRequest.Builder>
-
mergeFrom
public BatchDeleteEntityTypesRequest.Builder mergeFrom(BatchDeleteEntityTypesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
mergeFrom
public BatchDeleteEntityTypesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchDeleteEntityTypesRequest.Builder>
- Throws:
IOException
-
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) = { ... }
- Specified by:
getParent
in interfaceBatchDeleteEntityTypesRequestOrBuilder
- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.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) = { ... }
- Specified by:
getParentBytes
in interfaceBatchDeleteEntityTypesRequestOrBuilder
- Returns:
- The bytes for parent.
-
setParent
public BatchDeleteEntityTypesRequest.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) = { ... }
- Parameters:
value
- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public BatchDeleteEntityTypesRequest.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:
- This builder for chaining.
-
setParentBytes
public BatchDeleteEntityTypesRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
- Parameters:
value
- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getEntityTypeNamesList
public com.google.protobuf.ProtocolStringList getEntityTypeNamesList()
Required. The names entity types to delete. All names must point to the same agent as `parent`.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getEntityTypeNamesList
in interfaceBatchDeleteEntityTypesRequestOrBuilder
- Returns:
- A list containing the entityTypeNames.
-
getEntityTypeNamesCount
public int getEntityTypeNamesCount()
Required. The names entity types to delete. All names must point to the same agent as `parent`.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getEntityTypeNamesCount
in interfaceBatchDeleteEntityTypesRequestOrBuilder
- Returns:
- The count of entityTypeNames.
-
getEntityTypeNames
public String getEntityTypeNames(int index)
Required. The names entity types to delete. All names must point to the same agent as `parent`.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getEntityTypeNames
in interfaceBatchDeleteEntityTypesRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The entityTypeNames at the given index.
-
getEntityTypeNamesBytes
public com.google.protobuf.ByteString getEntityTypeNamesBytes(int index)
Required. The names entity types to delete. All names must point to the same agent as `parent`.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getEntityTypeNamesBytes
in interfaceBatchDeleteEntityTypesRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the entityTypeNames at the given index.
-
setEntityTypeNames
public BatchDeleteEntityTypesRequest.Builder setEntityTypeNames(int index, String value)
Required. The names entity types to delete. All names must point to the same agent as `parent`.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
index
- The index to set the value at.value
- The entityTypeNames to set.- Returns:
- This builder for chaining.
-
addEntityTypeNames
public BatchDeleteEntityTypesRequest.Builder addEntityTypeNames(String value)
Required. The names entity types to delete. All names must point to the same agent as `parent`.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The entityTypeNames to add.- Returns:
- This builder for chaining.
-
addAllEntityTypeNames
public BatchDeleteEntityTypesRequest.Builder addAllEntityTypeNames(Iterable<String> values)
Required. The names entity types to delete. All names must point to the same agent as `parent`.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
values
- The entityTypeNames to add.- Returns:
- This builder for chaining.
-
clearEntityTypeNames
public BatchDeleteEntityTypesRequest.Builder clearEntityTypeNames()
Required. The names entity types to delete. All names must point to the same agent as `parent`.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
addEntityTypeNamesBytes
public BatchDeleteEntityTypesRequest.Builder addEntityTypeNamesBytes(com.google.protobuf.ByteString value)
Required. The names entity types to delete. All names must point to the same agent as `parent`.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes of the entityTypeNames to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BatchDeleteEntityTypesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
mergeUnknownFields
public final BatchDeleteEntityTypesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
-
-