public static final class ParameterMetadataEnumOption.Builder extends GeneratedMessage.Builder<ParameterMetadataEnumOption.Builder> implements ParameterMetadataEnumOptionOrBuilderParameterMetadataEnumOption specifies the option shown in the enum form.
Protobuf type google.dataflow.v1beta3.ParameterMetadataEnumOption
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ParameterMetadataEnumOption.BuilderImplements
ParameterMetadataEnumOptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ParameterMetadataEnumOption build()| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption |
|
buildPartial()
public ParameterMetadataEnumOption buildPartial()| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption |
|
clear()
public ParameterMetadataEnumOption.Builder clear()| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
|
clearDescription()
public ParameterMetadataEnumOption.Builder clearDescription()Optional. The description to display for the enum option.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
This builder for chaining. |
clearLabel()
public ParameterMetadataEnumOption.Builder clearLabel()Optional. The label to display for the enum option.
string label = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
This builder for chaining. |
clearValue()
public ParameterMetadataEnumOption.Builder clearValue()Required. The value of the enum option.
string value = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ParameterMetadataEnumOption getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption |
|
getDescription()
public String getDescription()Optional. The description to display for the enum option.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. The description to display for the enum option.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabel()
public String getLabel()Optional. The label to display for the enum option.
string label = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The label. |
getLabelBytes()
public ByteString getLabelBytes()Optional. The label to display for the enum option.
string label = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for label. |
getValue()
public String getValue()Required. The value of the enum option.
string value = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()Required. The value of the enum option.
string value = 1 [(.google.api.field_behavior) = REQUIRED];
| 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(ParameterMetadataEnumOption other)
public ParameterMetadataEnumOption.Builder mergeFrom(ParameterMetadataEnumOption other)| Parameter | |
|---|---|
| Name | Description |
other |
ParameterMetadataEnumOption |
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ParameterMetadataEnumOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ParameterMetadataEnumOption.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
|
setDescription(String value)
public ParameterMetadataEnumOption.Builder setDescription(String value)Optional. The description to display for the enum option.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public ParameterMetadataEnumOption.Builder setDescriptionBytes(ByteString value)Optional. The description to display for the enum option.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
This builder for chaining. |
setLabel(String value)
public ParameterMetadataEnumOption.Builder setLabel(String value)Optional. The label to display for the enum option.
string label = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe label to set. |
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
This builder for chaining. |
setLabelBytes(ByteString value)
public ParameterMetadataEnumOption.Builder setLabelBytes(ByteString value)Optional. The label to display for the enum option.
string label = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for label to set. |
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
This builder for chaining. |
setValue(String value)
public ParameterMetadataEnumOption.Builder setValue(String value)Required. The value of the enum option.
string value = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public ParameterMetadataEnumOption.Builder setValueBytes(ByteString value)Required. The value of the enum option.
string value = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
ParameterMetadataEnumOption.Builder |
This builder for chaining. |