public static final class DeleteCustomClassRequest.Builder extends GeneratedMessage.Builder<DeleteCustomClassRequest.Builder> implements DeleteCustomClassRequestOrBuilder Message sent by the client for the DeleteCustomClass method.
Protobuf type google.cloud.speech.v1p1beta1.DeleteCustomClassRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteCustomClassRequest.BuilderImplements
DeleteCustomClassRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteCustomClassRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteCustomClassRequest |
|
buildPartial()
public DeleteCustomClassRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteCustomClassRequest |
|
clear()
public DeleteCustomClassRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteCustomClassRequest.Builder |
|
clearName()
public DeleteCustomClassRequest.Builder clearName()Required. The name of the custom class to delete. Format:
projects/{project}/locations/{location}/customClasses/{custom_class}
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
with matching us or eu location value.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteCustomClassRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteCustomClassRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteCustomClassRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the custom class to delete. Format:
projects/{project}/locations/{location}/customClasses/{custom_class}
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
with matching us or eu location value.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the custom class to delete. Format:
projects/{project}/locations/{location}/customClasses/{custom_class}
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
with matching us or eu location value.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteCustomClassRequest other)
public DeleteCustomClassRequest.Builder mergeFrom(DeleteCustomClassRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteCustomClassRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteCustomClassRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteCustomClassRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteCustomClassRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteCustomClassRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteCustomClassRequest.Builder |
|
setName(String value)
public DeleteCustomClassRequest.Builder setName(String value)Required. The name of the custom class to delete. Format:
projects/{project}/locations/{location}/customClasses/{custom_class}
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
with matching us or eu location value.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteCustomClassRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteCustomClassRequest.Builder setNameBytes(ByteString value)Required. The name of the custom class to delete. Format:
projects/{project}/locations/{location}/customClasses/{custom_class}
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
with matching us or eu location value.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteCustomClassRequest.Builder |
This builder for chaining. |