public static final class Parameter.Builder extends GeneratedMessage.Builder<Parameter.Builder> implements ParameterOrBuilderParameter resource.
Protobuf type google.cloud.designcenter.v1.Parameter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Parameter.BuilderImplements
ParameterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Parameter build()| Returns | |
|---|---|
| Type | Description |
Parameter |
|
buildPartial()
public Parameter buildPartial()| Returns | |
|---|---|
| Type | Description |
Parameter |
|
clear()
public Parameter.Builder clear()| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
clearKey()
public Parameter.Builder clearKey()Required. The key of the parameter.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
clearReadOnly()
public Parameter.Builder clearReadOnly()Output only. Indicates if the parameter is read-only (driven by expression).
bool read_only = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
clearValue()
public Parameter.Builder clearValue()Optional. The value of the parameter.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
getDefaultInstanceForType()
public Parameter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Parameter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKey()
public String getKey()Required. The key of the parameter.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public ByteString getKeyBytes()Required. The key of the parameter.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getReadOnly()
public boolean getReadOnly()Output only. Indicates if the parameter is read-only (driven by expression).
bool read_only = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The readOnly. |
getValue()
public Value getValue()Optional. The value of the parameter.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Value |
The value. |
getValueBuilder()
public Value.Builder getValueBuilder()Optional. The value of the parameter.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder()Optional. The value of the parameter.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ValueOrBuilder |
|
hasValue()
public boolean hasValue()Optional. The value of the parameter.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the value field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Parameter other)
public Parameter.Builder mergeFrom(Parameter other)| Parameter | |
|---|---|
| Name | Description |
other |
Parameter |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Parameter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
mergeValue(Value value)
public Parameter.Builder mergeValue(Value value)Optional. The value of the parameter.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Value |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
setKey(String value)
public Parameter.Builder setKey(String value)Required. The key of the parameter.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe key to set. |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public Parameter.Builder setKeyBytes(ByteString value)Required. The key of the parameter.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
setReadOnly(boolean value)
public Parameter.Builder setReadOnly(boolean value)Output only. Indicates if the parameter is read-only (driven by expression).
bool read_only = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe readOnly to set. |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
This builder for chaining. |
setValue(Value value)
public Parameter.Builder setValue(Value value)Optional. The value of the parameter.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Value |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|
setValue(Value.Builder builderForValue)
public Parameter.Builder setValue(Value.Builder builderForValue)Optional. The value of the parameter.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Parameter.Builder |
|