public static final class CustomClass.Builder extends com.google.protobuf.GeneratedMessage.Builder<CustomClass.Builder> implements CustomClassOrBuilder
A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.Protobuf type
google.cloud.speech.v1p1beta1.CustomClass| Modifier and Type | Method and Description |
|---|---|
CustomClass.Builder |
addAllItems(Iterable<? extends CustomClass.ClassItem> values)
A collection of class items.
|
CustomClass.Builder |
addItems(CustomClass.ClassItem.Builder builderForValue)
A collection of class items.
|
CustomClass.Builder |
addItems(CustomClass.ClassItem value)
A collection of class items.
|
CustomClass.Builder |
addItems(int index,
CustomClass.ClassItem.Builder builderForValue)
A collection of class items.
|
CustomClass.Builder |
addItems(int index,
CustomClass.ClassItem value)
A collection of class items.
|
CustomClass.ClassItem.Builder |
addItemsBuilder()
A collection of class items.
|
CustomClass.ClassItem.Builder |
addItemsBuilder(int index)
A collection of class items.
|
CustomClass |
build() |
CustomClass |
buildPartial() |
CustomClass.Builder |
clear() |
CustomClass.Builder |
clearAnnotations() |
CustomClass.Builder |
clearCustomClassId()
If this custom class is a resource, the custom_class_id is the resource id
of the CustomClass.
|
CustomClass.Builder |
clearDeleteTime()
Output only.
|
CustomClass.Builder |
clearDisplayName()
Output only.
|
CustomClass.Builder |
clearEtag()
Output only.
|
CustomClass.Builder |
clearExpireTime()
Output only.
|
CustomClass.Builder |
clearItems()
A collection of class items.
|
CustomClass.Builder |
clearKmsKeyName()
Output only.
|
CustomClass.Builder |
clearKmsKeyVersionName()
Output only.
|
CustomClass.Builder |
clearName()
The resource name of the custom class.
|
CustomClass.Builder |
clearReconciling()
Output only.
|
CustomClass.Builder |
clearState()
Output only.
|
CustomClass.Builder |
clearUid()
Output only.
|
boolean |
containsAnnotations(String key)
Output only.
|
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Output only.
|
Map<String,String> |
getAnnotationsMap()
Output only.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Output only.
|
String |
getAnnotationsOrThrow(String key)
Output only.
|
String |
getCustomClassId()
If this custom class is a resource, the custom_class_id is the resource id
of the CustomClass.
|
com.google.protobuf.ByteString |
getCustomClassIdBytes()
If this custom class is a resource, the custom_class_id is the resource id
of the CustomClass.
|
CustomClass |
getDefaultInstanceForType() |
com.google.protobuf.Timestamp |
getDeleteTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDeleteTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Output only.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Output only.
|
String |
getEtag()
Output only.
|
com.google.protobuf.ByteString |
getEtagBytes()
Output only.
|
com.google.protobuf.Timestamp |
getExpireTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getExpireTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Output only.
|
CustomClass.ClassItem |
getItems(int index)
A collection of class items.
|
CustomClass.ClassItem.Builder |
getItemsBuilder(int index)
A collection of class items.
|
List<CustomClass.ClassItem.Builder> |
getItemsBuilderList()
A collection of class items.
|
int |
getItemsCount()
A collection of class items.
|
List<CustomClass.ClassItem> |
getItemsList()
A collection of class items.
|
CustomClass.ClassItemOrBuilder |
getItemsOrBuilder(int index)
A collection of class items.
|
List<? extends CustomClass.ClassItemOrBuilder> |
getItemsOrBuilderList()
A collection of class items.
|
String |
getKmsKeyName()
Output only.
|
com.google.protobuf.ByteString |
getKmsKeyNameBytes()
Output only.
|
String |
getKmsKeyVersionName()
Output only.
|
com.google.protobuf.ByteString |
getKmsKeyVersionNameBytes()
Output only.
|
Map<String,String> |
getMutableAnnotations()
Deprecated.
|
String |
getName()
The resource name of the custom class.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the custom class.
|
boolean |
getReconciling()
Output only.
|
CustomClass.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
String |
getUid()
Output only.
|
com.google.protobuf.ByteString |
getUidBytes()
Output only.
|
boolean |
hasDeleteTime()
Output only.
|
boolean |
hasExpireTime()
Output only.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
CustomClass.Builder |
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomClass.Builder |
mergeExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomClass.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CustomClass.Builder |
mergeFrom(CustomClass other) |
CustomClass.Builder |
mergeFrom(com.google.protobuf.Message other) |
CustomClass.Builder |
putAllAnnotations(Map<String,String> values)
Output only.
|
CustomClass.Builder |
putAnnotations(String key,
String value)
Output only.
|
CustomClass.Builder |
removeAnnotations(String key)
Output only.
|
CustomClass.Builder |
removeItems(int index)
A collection of class items.
|
CustomClass.Builder |
setCustomClassId(String value)
If this custom class is a resource, the custom_class_id is the resource id
of the CustomClass.
|
CustomClass.Builder |
setCustomClassIdBytes(com.google.protobuf.ByteString value)
If this custom class is a resource, the custom_class_id is the resource id
of the CustomClass.
|
CustomClass.Builder |
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CustomClass.Builder |
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomClass.Builder |
setDisplayName(String value)
Output only.
|
CustomClass.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only.
|
CustomClass.Builder |
setEtag(String value)
Output only.
|
CustomClass.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Output only.
|
CustomClass.Builder |
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CustomClass.Builder |
setExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
CustomClass.Builder |
setItems(int index,
CustomClass.ClassItem.Builder builderForValue)
A collection of class items.
|
CustomClass.Builder |
setItems(int index,
CustomClass.ClassItem value)
A collection of class items.
|
CustomClass.Builder |
setKmsKeyName(String value)
Output only.
|
CustomClass.Builder |
setKmsKeyNameBytes(com.google.protobuf.ByteString value)
Output only.
|
CustomClass.Builder |
setKmsKeyVersionName(String value)
Output only.
|
CustomClass.Builder |
setKmsKeyVersionNameBytes(com.google.protobuf.ByteString value)
Output only.
|
CustomClass.Builder |
setName(String value)
The resource name of the custom class.
|
CustomClass.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the custom class.
|
CustomClass.Builder |
setReconciling(boolean value)
Output only.
|
CustomClass.Builder |
setState(CustomClass.State value)
Output only.
|
CustomClass.Builder |
setStateValue(int value)
Output only.
|
CustomClass.Builder |
setUid(String value)
Output only.
|
CustomClass.Builder |
setUidBytes(com.google.protobuf.ByteString value)
Output only.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<CustomClass.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<CustomClass.Builder>protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CustomClass.Builder>public CustomClass.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<CustomClass.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CustomClass.Builder>public CustomClass getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CustomClass build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CustomClass buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CustomClass.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomClass.Builder>public CustomClass.Builder mergeFrom(CustomClass other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<CustomClass.Builder>public CustomClass.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomClass.Builder>IOExceptionpublic String getName()
The resource name of the custom class.
string name = 1;getName in interface CustomClassOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the custom class.
string name = 1;getNameBytes in interface CustomClassOrBuilderpublic CustomClass.Builder setName(String value)
The resource name of the custom class.
string name = 1;value - The name to set.public CustomClass.Builder clearName()
The resource name of the custom class.
string name = 1;public CustomClass.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the custom class.
string name = 1;value - The bytes for name to set.public String getCustomClassId()
If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
string custom_class_id = 2;getCustomClassId in interface CustomClassOrBuilderpublic com.google.protobuf.ByteString getCustomClassIdBytes()
If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
string custom_class_id = 2;getCustomClassIdBytes in interface CustomClassOrBuilderpublic CustomClass.Builder setCustomClassId(String value)
If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
string custom_class_id = 2;value - The customClassId to set.public CustomClass.Builder clearCustomClassId()
If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
string custom_class_id = 2;public CustomClass.Builder setCustomClassIdBytes(com.google.protobuf.ByteString value)
If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
string custom_class_id = 2;value - The bytes for customClassId to set.public List<CustomClass.ClassItem> getItemsList()
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;getItemsList in interface CustomClassOrBuilderpublic int getItemsCount()
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;getItemsCount in interface CustomClassOrBuilderpublic CustomClass.ClassItem getItems(int index)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;getItems in interface CustomClassOrBuilderpublic CustomClass.Builder setItems(int index, CustomClass.ClassItem value)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public CustomClass.Builder setItems(int index, CustomClass.ClassItem.Builder builderForValue)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public CustomClass.Builder addItems(CustomClass.ClassItem value)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public CustomClass.Builder addItems(int index, CustomClass.ClassItem value)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public CustomClass.Builder addItems(CustomClass.ClassItem.Builder builderForValue)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public CustomClass.Builder addItems(int index, CustomClass.ClassItem.Builder builderForValue)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public CustomClass.Builder addAllItems(Iterable<? extends CustomClass.ClassItem> values)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public CustomClass.Builder clearItems()
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public CustomClass.Builder removeItems(int index)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public CustomClass.ClassItem.Builder getItemsBuilder(int index)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public CustomClass.ClassItemOrBuilder getItemsOrBuilder(int index)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;getItemsOrBuilder in interface CustomClassOrBuilderpublic List<? extends CustomClass.ClassItemOrBuilder> getItemsOrBuilderList()
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;getItemsOrBuilderList in interface CustomClassOrBuilderpublic CustomClass.ClassItem.Builder addItemsBuilder()
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public CustomClass.ClassItem.Builder addItemsBuilder(int index)
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public List<CustomClass.ClassItem.Builder> getItemsBuilderList()
A collection of class items.
repeated .google.cloud.speech.v1p1beta1.CustomClass.ClassItem items = 3;public String getKmsKeyName()
Output only. The [KMS key
name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
the content of the ClassItem is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsKeyName in interface CustomClassOrBuilderpublic com.google.protobuf.ByteString getKmsKeyNameBytes()
Output only. The [KMS key
name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
the content of the ClassItem is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsKeyNameBytes in interface CustomClassOrBuilderpublic CustomClass.Builder setKmsKeyName(String value)
Output only. The [KMS key
name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
the content of the ClassItem is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The kmsKeyName to set.public CustomClass.Builder clearKmsKeyName()
Output only. The [KMS key
name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
the content of the ClassItem is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public CustomClass.Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value)
Output only. The [KMS key
name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which
the content of the ClassItem is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for kmsKeyName to set.public String getKmsKeyVersionName()
Output only. The [KMS key version
name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
with which content of the ClassItem is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
string kms_key_version_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsKeyVersionName in interface CustomClassOrBuilderpublic com.google.protobuf.ByteString getKmsKeyVersionNameBytes()
Output only. The [KMS key version
name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
with which content of the ClassItem is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
string kms_key_version_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getKmsKeyVersionNameBytes in interface CustomClassOrBuilderpublic CustomClass.Builder setKmsKeyVersionName(String value)
Output only. The [KMS key version
name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
with which content of the ClassItem is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
string kms_key_version_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The kmsKeyVersionName to set.public CustomClass.Builder clearKmsKeyVersionName()
Output only. The [KMS key version
name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
with which content of the ClassItem is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
string kms_key_version_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public CustomClass.Builder setKmsKeyVersionNameBytes(com.google.protobuf.ByteString value)
Output only. The [KMS key version
name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions)
with which content of the ClassItem is encrypted. The expected format is
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
string kms_key_version_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for kmsKeyVersionName to set.public String getUid()
Output only. System-assigned unique identifier for the CustomClass. This field is not used.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getUid in interface CustomClassOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
Output only. System-assigned unique identifier for the CustomClass. This field is not used.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getUidBytes in interface CustomClassOrBuilderpublic CustomClass.Builder setUid(String value)
Output only. System-assigned unique identifier for the CustomClass. This field is not used.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uid to set.public CustomClass.Builder clearUid()
Output only. System-assigned unique identifier for the CustomClass. This field is not used.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];public CustomClass.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. System-assigned unique identifier for the CustomClass. This field is not used.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for uid to set.public String getDisplayName()
Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
string display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayName in interface CustomClassOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
string display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayNameBytes in interface CustomClassOrBuilderpublic CustomClass.Builder setDisplayName(String value)
Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
string display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The displayName to set.public CustomClass.Builder clearDisplayName()
Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
string display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];public CustomClass.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
string display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for displayName to set.public int getStateValue()
Output only. The CustomClass lifecycle state. This field is not used.
.google.cloud.speech.v1p1beta1.CustomClass.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface CustomClassOrBuilderpublic CustomClass.Builder setStateValue(int value)
Output only. The CustomClass lifecycle state. This field is not used.
.google.cloud.speech.v1p1beta1.CustomClass.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public CustomClass.State getState()
Output only. The CustomClass lifecycle state. This field is not used.
.google.cloud.speech.v1p1beta1.CustomClass.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface CustomClassOrBuilderpublic CustomClass.Builder setState(CustomClass.State value)
Output only. The CustomClass lifecycle state. This field is not used.
.google.cloud.speech.v1p1beta1.CustomClass.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public CustomClass.Builder clearState()
Output only. The CustomClass lifecycle state. This field is not used.
.google.cloud.speech.v1p1beta1.CustomClass.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasDeleteTime()
Output only. The time at which this resource was requested for deletion. This field is not used.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDeleteTime in interface CustomClassOrBuilderpublic com.google.protobuf.Timestamp getDeleteTime()
Output only. The time at which this resource was requested for deletion. This field is not used.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTime in interface CustomClassOrBuilderpublic CustomClass.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. The time at which this resource was requested for deletion. This field is not used.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomClass.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this resource was requested for deletion. This field is not used.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomClass.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. The time at which this resource was requested for deletion. This field is not used.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomClass.Builder clearDeleteTime()
Output only. The time at which this resource was requested for deletion. This field is not used.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. The time at which this resource was requested for deletion. This field is not used.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The time at which this resource was requested for deletion. This field is not used.
.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTimeOrBuilder in interface CustomClassOrBuilderpublic boolean hasExpireTime()
Output only. The time at which this resource will be purged. This field is not used.
.google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasExpireTime in interface CustomClassOrBuilderpublic com.google.protobuf.Timestamp getExpireTime()
Output only. The time at which this resource will be purged. This field is not used.
.google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpireTime in interface CustomClassOrBuilderpublic CustomClass.Builder setExpireTime(com.google.protobuf.Timestamp value)
Output only. The time at which this resource will be purged. This field is not used.
.google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomClass.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this resource will be purged. This field is not used.
.google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomClass.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
Output only. The time at which this resource will be purged. This field is not used.
.google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomClass.Builder clearExpireTime()
Output only. The time at which this resource will be purged. This field is not used.
.google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
Output only. The time at which this resource will be purged. This field is not used.
.google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. The time at which this resource will be purged. This field is not used.
.google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpireTimeOrBuilder in interface CustomClassOrBuilderpublic int getAnnotationsCount()
CustomClassOrBuilderOutput only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnnotationsCount in interface CustomClassOrBuilderpublic boolean containsAnnotations(String key)
Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsAnnotations in interface CustomClassOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface CustomClassOrBuilderpublic Map<String,String> getAnnotationsMap()
Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnnotationsMap in interface CustomClassOrBuilderpublic String getAnnotationsOrDefault(String key, String defaultValue)
Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnnotationsOrDefault in interface CustomClassOrBuilderpublic String getAnnotationsOrThrow(String key)
Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnnotationsOrThrow in interface CustomClassOrBuilderpublic CustomClass.Builder clearAnnotations()
public CustomClass.Builder removeAnnotations(String key)
Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
@Deprecated public Map<String,String> getMutableAnnotations()
public CustomClass.Builder putAnnotations(String key, String value)
Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CustomClass.Builder putAllAnnotations(Map<String,String> values)
Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
map<string, string> annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getEtag()
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.
string etag = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getEtag in interface CustomClassOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.
string etag = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getEtagBytes in interface CustomClassOrBuilderpublic CustomClass.Builder setEtag(String value)
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.
string etag = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The etag to set.public CustomClass.Builder clearEtag()
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.
string etag = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];public CustomClass.Builder setEtagBytes(com.google.protobuf.ByteString value)
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.
string etag = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for etag to set.public boolean getReconciling()
Output only. Whether or not this CustomClass is in the process of being updated. This field is not used.
bool reconciling = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];getReconciling in interface CustomClassOrBuilderpublic CustomClass.Builder setReconciling(boolean value)
Output only. Whether or not this CustomClass is in the process of being updated. This field is not used.
bool reconciling = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The reconciling to set.public CustomClass.Builder clearReconciling()
Output only. Whether or not this CustomClass is in the process of being updated. This field is not used.
bool reconciling = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];Copyright © 2026 Google LLC. All rights reserved.