public static final class CreateCustomClassRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder> implements CreateCustomClassRequestOrBuilder
Message sent by the client for the `CreateCustomClass` method.Protobuf type
google.cloud.speech.v1p1beta1.CreateCustomClassRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder>public CreateCustomClassRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.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.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder>public CreateCustomClassRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateCustomClassRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateCustomClassRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateCustomClassRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder>public CreateCustomClassRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder>public CreateCustomClassRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder>public CreateCustomClassRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder>public CreateCustomClassRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder>public CreateCustomClassRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder>public CreateCustomClassRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateCustomClassRequest.Builder>public CreateCustomClassRequest.Builder mergeFrom(CreateCustomClassRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder>public CreateCustomClassRequest.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<CreateCustomClassRequest.Builder>IOExceptionpublic String getParent()
Required. The parent resource where this custom class will be created.
Format:
`projects/{project}/locations/{location}/customClasses`
Speech-to-Text supports three locations: `global`, `us` (US North America),
and `eu` (Europe). If you are calling the `speech.googleapis.com`
endpoint, use the `global` location. To specify a region, use a
[regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
with matching `us` or `eu` location value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface CreateCustomClassRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent resource where this custom class will be created.
Format:
`projects/{project}/locations/{location}/customClasses`
Speech-to-Text supports three locations: `global`, `us` (US North America),
and `eu` (Europe). If you are calling the `speech.googleapis.com`
endpoint, use the `global` location. To specify a region, use a
[regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
with matching `us` or `eu` location value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface CreateCustomClassRequestOrBuilderpublic CreateCustomClassRequest.Builder setParent(String value)
Required. The parent resource where this custom class will be created.
Format:
`projects/{project}/locations/{location}/customClasses`
Speech-to-Text supports three locations: `global`, `us` (US North America),
and `eu` (Europe). If you are calling the `speech.googleapis.com`
endpoint, use the `global` location. To specify a region, use a
[regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
with matching `us` or `eu` location value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public CreateCustomClassRequest.Builder clearParent()
Required. The parent resource where this custom class will be created.
Format:
`projects/{project}/locations/{location}/customClasses`
Speech-to-Text supports three locations: `global`, `us` (US North America),
and `eu` (Europe). If you are calling the `speech.googleapis.com`
endpoint, use the `global` location. To specify a region, use a
[regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
with matching `us` or `eu` location value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateCustomClassRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent resource where this custom class will be created.
Format:
`projects/{project}/locations/{location}/customClasses`
Speech-to-Text supports three locations: `global`, `us` (US North America),
and `eu` (Europe). If you are calling the `speech.googleapis.com`
endpoint, use the `global` location. To specify a region, use a
[regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
with matching `us` or `eu` location value.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public String getCustomClassId()
Required. The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
string custom_class_id = 2 [(.google.api.field_behavior) = REQUIRED];getCustomClassId in interface CreateCustomClassRequestOrBuilderpublic com.google.protobuf.ByteString getCustomClassIdBytes()
Required. The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
string custom_class_id = 2 [(.google.api.field_behavior) = REQUIRED];getCustomClassIdBytes in interface CreateCustomClassRequestOrBuilderpublic CreateCustomClassRequest.Builder setCustomClassId(String value)
Required. The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
string custom_class_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The customClassId to set.public CreateCustomClassRequest.Builder clearCustomClassId()
Required. The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
string custom_class_id = 2 [(.google.api.field_behavior) = REQUIRED];public CreateCustomClassRequest.Builder setCustomClassIdBytes(com.google.protobuf.ByteString value)
Required. The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
string custom_class_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for customClassId to set.public boolean hasCustomClass()
Required. The custom class to create.
.google.cloud.speech.v1p1beta1.CustomClass custom_class = 3 [(.google.api.field_behavior) = REQUIRED];
hasCustomClass in interface CreateCustomClassRequestOrBuilderpublic CustomClass getCustomClass()
Required. The custom class to create.
.google.cloud.speech.v1p1beta1.CustomClass custom_class = 3 [(.google.api.field_behavior) = REQUIRED];
getCustomClass in interface CreateCustomClassRequestOrBuilderpublic CreateCustomClassRequest.Builder setCustomClass(CustomClass value)
Required. The custom class to create.
.google.cloud.speech.v1p1beta1.CustomClass custom_class = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateCustomClassRequest.Builder setCustomClass(CustomClass.Builder builderForValue)
Required. The custom class to create.
.google.cloud.speech.v1p1beta1.CustomClass custom_class = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateCustomClassRequest.Builder mergeCustomClass(CustomClass value)
Required. The custom class to create.
.google.cloud.speech.v1p1beta1.CustomClass custom_class = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateCustomClassRequest.Builder clearCustomClass()
Required. The custom class to create.
.google.cloud.speech.v1p1beta1.CustomClass custom_class = 3 [(.google.api.field_behavior) = REQUIRED];
public CustomClass.Builder getCustomClassBuilder()
Required. The custom class to create.
.google.cloud.speech.v1p1beta1.CustomClass custom_class = 3 [(.google.api.field_behavior) = REQUIRED];
public CustomClassOrBuilder getCustomClassOrBuilder()
Required. The custom class to create.
.google.cloud.speech.v1p1beta1.CustomClass custom_class = 3 [(.google.api.field_behavior) = REQUIRED];
getCustomClassOrBuilder in interface CreateCustomClassRequestOrBuilderpublic final CreateCustomClassRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder>public final CreateCustomClassRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCustomClassRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.