public static final class ValueLabel.Builder extends GeneratedMessage.Builder<ValueLabel.Builder> implements ValueLabelOrBuilderValue label for a UI input.
Protobuf type google.cloud.designcenter.v1.ValueLabel
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ValueLabel.BuilderImplements
ValueLabelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ValueLabel build()| Returns | |
|---|---|
| Type | Description |
ValueLabel |
|
buildPartial()
public ValueLabel buildPartial()| Returns | |
|---|---|
| Type | Description |
ValueLabel |
|
clear()
public ValueLabel.Builder clear()| Returns | |
|---|---|
| Type | Description |
ValueLabel.Builder |
|
clearLabel()
public ValueLabel.Builder clearLabel()Output only. Label of the enum.
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ValueLabel.Builder |
This builder for chaining. |
clearValue()
public ValueLabel.Builder clearValue()Output only. Value of the enum.
string value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ValueLabel.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ValueLabel getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ValueLabel |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabel()
public String getLabel()Output only. Label of the enum.
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The label. |
getLabelBytes()
public ByteString getLabelBytes()Output only. Label of the enum.
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for label. |
getValue()
public String getValue()Output only. Value of the enum.
string value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()Output only. Value of the enum.
string value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ValueLabel other)
public ValueLabel.Builder mergeFrom(ValueLabel other)| Parameter | |
|---|---|
| Name | Description |
other |
ValueLabel |
| Returns | |
|---|---|
| Type | Description |
ValueLabel.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ValueLabel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ValueLabel.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ValueLabel.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ValueLabel.Builder |
|
setLabel(String value)
public ValueLabel.Builder setLabel(String value)Output only. Label of the enum.
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe label to set. |
| Returns | |
|---|---|
| Type | Description |
ValueLabel.Builder |
This builder for chaining. |
setLabelBytes(ByteString value)
public ValueLabel.Builder setLabelBytes(ByteString value)Output only. Label of the enum.
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for label to set. |
| Returns | |
|---|---|
| Type | Description |
ValueLabel.Builder |
This builder for chaining. |
setValue(String value)
public ValueLabel.Builder setValue(String value)Output only. Value of the enum.
string value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
ValueLabel.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public ValueLabel.Builder setValueBytes(ByteString value)Output only. Value of the enum.
string value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
ValueLabel.Builder |
This builder for chaining. |