public interface ParameterSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDefaultValue()
public abstract Value getDefaultValue()Optional. The default value of the parameter, used when the user does not provide one.
.google.protobuf.Value default_value = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Value |
The defaultValue. |
getDefaultValueOrBuilder()
public abstract ValueOrBuilder getDefaultValueOrBuilder()Optional. The default value of the parameter, used when the user does not provide one.
.google.protobuf.Value default_value = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ValueOrBuilder |
|
getDescription()
public abstract String getDescription()Optional. The parameter description.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Optional. The parameter description.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDisplayName()
public abstract String getDisplayName()Optional. The parameter display name, which is a user friendly name used for UI.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()Optional. The parameter display name, which is a user friendly name used for UI.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getKey()
public abstract String getKey()Required. The key of the parameter, matching Parameter.key of the value supplied for it.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public abstract ByteString getKeyBytes()Required. The key of the parameter, matching Parameter.key of the value supplied for it.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getRequired()
public abstract boolean getRequired()Optional. Whether a value must be provided for the parameter.
bool required = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The required. |
getSubParameterSpecs(int index)
public abstract ParameterSpec getSubParameterSpecs(int index) Optional. The specifications of the sub-parameters. Only set when
value_type is ONEOF.
repeated .google.cloud.designcenter.v1.ParameterSpec sub_parameter_specs = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ParameterSpec |
|
getSubParameterSpecsCount()
public abstract int getSubParameterSpecsCount() Optional. The specifications of the sub-parameters. Only set when
value_type is ONEOF.
repeated .google.cloud.designcenter.v1.ParameterSpec sub_parameter_specs = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSubParameterSpecsList()
public abstract List<ParameterSpec> getSubParameterSpecsList() Optional. The specifications of the sub-parameters. Only set when
value_type is ONEOF.
repeated .google.cloud.designcenter.v1.ParameterSpec sub_parameter_specs = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ParameterSpec> |
|
getSubParameterSpecsOrBuilder(int index)
public abstract ParameterSpecOrBuilder getSubParameterSpecsOrBuilder(int index) Optional. The specifications of the sub-parameters. Only set when
value_type is ONEOF.
repeated .google.cloud.designcenter.v1.ParameterSpec sub_parameter_specs = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ParameterSpecOrBuilder |
|
getSubParameterSpecsOrBuilderList()
public abstract List<? extends ParameterSpecOrBuilder> getSubParameterSpecsOrBuilderList() Optional. The specifications of the sub-parameters. Only set when
value_type is ONEOF.
repeated .google.cloud.designcenter.v1.ParameterSpec sub_parameter_specs = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.designcenter.v1.ParameterSpecOrBuilder> |
|
getValueType()
public abstract ParameterSpec.ValueType getValueType()Optional. The type of value that the parameter accepts.
.google.cloud.designcenter.v1.ParameterSpec.ValueType value_type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ParameterSpec.ValueType |
The valueType. |
getValueTypeValue()
public abstract int getValueTypeValue()Optional. The type of value that the parameter accepts.
.google.cloud.designcenter.v1.ParameterSpec.ValueType value_type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for valueType. |
hasDefaultValue()
public abstract boolean hasDefaultValue()Optional. The default value of the parameter, used when the user does not provide one.
.google.protobuf.Value default_value = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the defaultValue field is set. |