Class ValueLabelInput.Builder (0.3.0)

public static final class ValueLabelInput.Builder extends GeneratedMessage.Builder<ValueLabelInput.Builder> implements ValueLabelInputOrBuilder

Value label input for a UI.

Protobuf type google.cloud.designcenter.v1.ValueLabelInput

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ValueLabelInput build()
Returns
Type Description
ValueLabelInput

buildPartial()

public ValueLabelInput buildPartial()
Returns
Type Description
ValueLabelInput

clear()

public ValueLabelInput.Builder clear()
Returns
Type Description
ValueLabelInput.Builder
Overrides

clearLabel()

public ValueLabelInput.Builder clearLabel()

Optional. Label of the enum.

string label = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ValueLabelInput.Builder

This builder for chaining.

clearValue()

public ValueLabelInput.Builder clearValue()

Optional. Value of the enum.

string value = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ValueLabelInput.Builder

This builder for chaining.

getDefaultInstanceForType()

public ValueLabelInput getDefaultInstanceForType()
Returns
Type Description
ValueLabelInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabel()

public String getLabel()

Optional. Label of the enum.

string label = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

Optional. Label of the enum.

string label = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for label.

getValue()

public String getValue()

Optional. Value of the enum.

string value = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Optional. Value of the enum.

string value = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for value.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ValueLabelInput other)

public ValueLabelInput.Builder mergeFrom(ValueLabelInput other)
Parameter
Name Description
other ValueLabelInput
Returns
Type Description
ValueLabelInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ValueLabelInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValueLabelInput.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ValueLabelInput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ValueLabelInput.Builder
Overrides

setLabel(String value)

public ValueLabelInput.Builder setLabel(String value)

Optional. Label of the enum.

string label = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The label to set.

Returns
Type Description
ValueLabelInput.Builder

This builder for chaining.

setLabelBytes(ByteString value)

public ValueLabelInput.Builder setLabelBytes(ByteString value)

Optional. Label of the enum.

string label = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for label to set.

Returns
Type Description
ValueLabelInput.Builder

This builder for chaining.

setValue(String value)

public ValueLabelInput.Builder setValue(String value)

Optional. Value of the enum.

string value = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The value to set.

Returns
Type Description
ValueLabelInput.Builder

This builder for chaining.

setValueBytes(ByteString value)

public ValueLabelInput.Builder setValueBytes(ByteString value)

Optional. Value of the enum.

string value = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
ValueLabelInput.Builder

This builder for chaining.