public interface DisplayVariableOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsProperties(String key)
public abstract boolean containsProperties(String key)Optional. properties is a map defining all the fields of the input variable.
map<string, .google.cloud.designcenter.v1.DisplayVariable> properties = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAlternateDefaults(int index)
public abstract AlternateDefaultInput getAlternateDefaults(int index)Optional. Alternate defaults for the input.
repeated .google.cloud.designcenter.v1.AlternateDefaultInput alternate_defaults = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AlternateDefaultInput |
|
getAlternateDefaultsCount()
public abstract int getAlternateDefaultsCount()Optional. Alternate defaults for the input.
repeated .google.cloud.designcenter.v1.AlternateDefaultInput alternate_defaults = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAlternateDefaultsList()
public abstract List<AlternateDefaultInput> getAlternateDefaultsList()Optional. Alternate defaults for the input.
repeated .google.cloud.designcenter.v1.AlternateDefaultInput alternate_defaults = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AlternateDefaultInput> |
|
getAlternateDefaultsOrBuilder(int index)
public abstract AlternateDefaultInputOrBuilder getAlternateDefaultsOrBuilder(int index)Optional. Alternate defaults for the input.
repeated .google.cloud.designcenter.v1.AlternateDefaultInput alternate_defaults = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AlternateDefaultInputOrBuilder |
|
getAlternateDefaultsOrBuilderList()
public abstract List<? extends AlternateDefaultInputOrBuilder> getAlternateDefaultsOrBuilderList()Optional. Alternate defaults for the input.
repeated .google.cloud.designcenter.v1.AlternateDefaultInput alternate_defaults = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.designcenter.v1.AlternateDefaultInputOrBuilder> |
|
getEnumValueLabels(int index)
public abstract ValueLabelInput getEnumValueLabels(int index)Optional. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.
repeated .google.cloud.designcenter.v1.ValueLabelInput enum_value_labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValueLabelInput |
|
getEnumValueLabelsCount()
public abstract int getEnumValueLabelsCount()Optional. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.
repeated .google.cloud.designcenter.v1.ValueLabelInput enum_value_labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getEnumValueLabelsList()
public abstract List<ValueLabelInput> getEnumValueLabelsList()Optional. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.
repeated .google.cloud.designcenter.v1.ValueLabelInput enum_value_labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ValueLabelInput> |
|
getEnumValueLabelsOrBuilder(int index)
public abstract ValueLabelInputOrBuilder getEnumValueLabelsOrBuilder(int index)Optional. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.
repeated .google.cloud.designcenter.v1.ValueLabelInput enum_value_labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ValueLabelInputOrBuilder |
|
getEnumValueLabelsOrBuilderList()
public abstract List<? extends ValueLabelInputOrBuilder> getEnumValueLabelsOrBuilderList()Optional. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.
repeated .google.cloud.designcenter.v1.ValueLabelInput enum_value_labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.designcenter.v1.ValueLabelInputOrBuilder> |
|
getLevel()
public abstract int getLevel()Optional. Indicates the "advanced" level of the input property. Level 0 (default) will always be shown. Level 1 corresponds to one expansion (user clicks "show advanced options" or "more options"). Higher levels correspond to further expansions, or they may be collapsed to level 1 by the UI implementation. Optional.
int32 level = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The level. |
getMax()
public abstract float getMax()Optional. Maximum value for numeric types.
optional float max = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
float |
The max. |
getMin()
public abstract float getMin()Optional. Minimum value for numeric types.
optional float min = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
float |
The min. |
getName()
public abstract String getName()Required. The variable name from the corresponding standard Template file.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Required. The variable name from the corresponding standard Template file.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getProperties() (deprecated)
public abstract Map<String,DisplayVariable> getProperties()Use #getPropertiesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,DisplayVariable> |
|
getPropertiesCount()
public abstract int getPropertiesCount()Optional. properties is a map defining all the fields of the input variable.
map<string, .google.cloud.designcenter.v1.DisplayVariable> properties = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getPropertiesMap()
public abstract Map<String,DisplayVariable> getPropertiesMap()Optional. properties is a map defining all the fields of the input variable.
map<string, .google.cloud.designcenter.v1.DisplayVariable> properties = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,DisplayVariable> |
|
getPropertiesOrDefault(String key, DisplayVariable defaultValue)
public abstract DisplayVariable getPropertiesOrDefault(String key, DisplayVariable defaultValue)Optional. properties is a map defining all the fields of the input variable.
map<string, .google.cloud.designcenter.v1.DisplayVariable> properties = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
DisplayVariable |
| Returns | |
|---|---|
| Type | Description |
DisplayVariable |
|
getPropertiesOrThrow(String key)
public abstract DisplayVariable getPropertiesOrThrow(String key)Optional. properties is a map defining all the fields of the input variable.
map<string, .google.cloud.designcenter.v1.DisplayVariable> properties = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
DisplayVariable |
|
getRegexValidation()
public abstract String getRegexValidation()Optional. Regex based validation rules for the variable.
string regex_validation = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The regexValidation. |
getRegexValidationBytes()
public abstract ByteString getRegexValidationBytes()Optional. Regex based validation rules for the variable.
string regex_validation = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for regexValidation. |
getSubtext()
public abstract String getSubtext()Optional. Property subtext, displayed below the title.
string subtext = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The subtext. |
getSubtextBytes()
public abstract ByteString getSubtextBytes()Optional. Property subtext, displayed below the title.
string subtext = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subtext. |
getTitle()
public abstract String getTitle()Required. Visible title for the variable on the UI.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public abstract ByteString getTitleBytes()Required. Visible title for the variable on the UI.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
getValidation()
public abstract String getValidation()Optional. Text describing the validation rules for the property. Typically shown after an invalid input. Optional. UTF-8 text. No markup. At most 128 characters.
string validation = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The validation. |
getValidationBytes()
public abstract ByteString getValidationBytes()Optional. Text describing the validation rules for the property. Typically shown after an invalid input. Optional. UTF-8 text. No markup. At most 128 characters.
string validation = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for validation. |
hasMax()
public abstract boolean hasMax()Optional. Maximum value for numeric types.
optional float max = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the max field is set. |
hasMin()
public abstract boolean hasMin()Optional. Minimum value for numeric types.
optional float min = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the min field is set. |