public static final class CustomVoiceSample.Warning.Builder extends GeneratedMessage.Builder<CustomVoiceSample.Warning.Builder> implements CustomVoiceSample.WarningOrBuilderA warning message encountered during voice sample processing.
Protobuf type google.cloud.ces.v1beta.CustomVoiceSample.Warning
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CustomVoiceSample.Warning.BuilderImplements
CustomVoiceSample.WarningOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CustomVoiceSample.Warning build()| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning |
|
buildPartial()
public CustomVoiceSample.Warning buildPartial()| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning |
|
clear()
public CustomVoiceSample.Warning.Builder clear()| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning.Builder |
|
clearMessage()
public CustomVoiceSample.Warning.Builder clearMessage()Output only. A human-readable description of the warning.
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning.Builder |
This builder for chaining. |
clearType()
public CustomVoiceSample.Warning.Builder clearType()Output only. The type of the warning.
.google.cloud.ces.v1beta.CustomVoiceSample.Warning.WarningType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CustomVoiceSample.Warning getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
public String getMessage()Output only. A human-readable description of the warning.
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()Output only. A human-readable description of the warning.
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
getType()
public CustomVoiceSample.Warning.WarningType getType()Output only. The type of the warning.
.google.cloud.ces.v1beta.CustomVoiceSample.Warning.WarningType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning.WarningType |
The type. |
getTypeValue()
public int getTypeValue()Output only. The type of the warning.
.google.cloud.ces.v1beta.CustomVoiceSample.Warning.WarningType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CustomVoiceSample.Warning other)
public CustomVoiceSample.Warning.Builder mergeFrom(CustomVoiceSample.Warning other)| Parameter | |
|---|---|
| Name | Description |
other |
CustomVoiceSample.Warning |
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomVoiceSample.Warning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CustomVoiceSample.Warning.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning.Builder |
|
setMessage(String value)
public CustomVoiceSample.Warning.Builder setMessage(String value)Output only. A human-readable description of the warning.
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public CustomVoiceSample.Warning.Builder setMessageBytes(ByteString value)Output only. A human-readable description of the warning.
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning.Builder |
This builder for chaining. |
setType(CustomVoiceSample.Warning.WarningType value)
public CustomVoiceSample.Warning.Builder setType(CustomVoiceSample.Warning.WarningType value)Output only. The type of the warning.
.google.cloud.ces.v1beta.CustomVoiceSample.Warning.WarningType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
CustomVoiceSample.Warning.WarningTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning.Builder |
This builder for chaining. |
setTypeValue(int value)
public CustomVoiceSample.Warning.Builder setTypeValue(int value)Output only. The type of the warning.
.google.cloud.ces.v1beta.CustomVoiceSample.Warning.WarningType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
CustomVoiceSample.Warning.Builder |
This builder for chaining. |