Class CustomVoiceSample.Warning.Builder (0.19.0)

public static final class CustomVoiceSample.Warning.Builder extends GeneratedMessage.Builder<CustomVoiceSample.Warning.Builder> implements CustomVoiceSample.WarningOrBuilder

A warning message encountered during voice sample processing.

Protobuf type google.cloud.ces.v1beta.CustomVoiceSample.Warning

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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 String

The 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 ByteString

The 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.WarningType

The 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 int

The enum numeric value on the wire for type to set.

Returns
Type Description
CustomVoiceSample.Warning.Builder

This builder for chaining.