public static final class ValueLabelInput.Builder extends GeneratedMessage.Builder<ValueLabelInput.Builder> implements ValueLabelInputOrBuilderValue label input for a UI.
Protobuf type google.cloud.designcenter.v1.ValueLabelInput
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ValueLabelInput.BuilderImplements
ValueLabelInputOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ValueLabelInput.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ValueLabelInput.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
ValueLabelInput.Builder |
This builder for chaining. |