Class TerraformUiInputDisplayVariable (0.3.0)

public final class TerraformUiInputDisplayVariable extends GeneratedMessage implements TerraformUiInputDisplayVariableOrBuilder

Terraform blueprint UI input display variable.

Protobuf type google.cloud.designcenter.v1.TerraformUiInputDisplayVariable

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > TerraformUiInputDisplayVariable

Static Fields

ALTERNATE_DEFAULTS_FIELD_NUMBER

public static final int ALTERNATE_DEFAULTS_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ENUM_VALUE_LABELS_FIELD_NUMBER

public static final int ENUM_VALUE_LABELS_FIELD_NUMBER
Field Value
Type Description
int

LEVEL_FIELD_NUMBER

public static final int LEVEL_FIELD_NUMBER
Field Value
Type Description
int

MAX_FIELD_NUMBER

public static final int MAX_FIELD_NUMBER
Field Value
Type Description
int

MIN_FIELD_NUMBER

public static final int MIN_FIELD_NUMBER
Field Value
Type Description
int

PROPERTIES_FIELD_NUMBER

public static final int PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

REGEX_VALIDATION_FIELD_NUMBER

public static final int REGEX_VALIDATION_FIELD_NUMBER
Field Value
Type Description
int

SUBTEXT_FIELD_NUMBER

public static final int SUBTEXT_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

TOGGLE_USING_VARIABLES_FIELD_NUMBER

public static final int TOGGLE_USING_VARIABLES_FIELD_NUMBER
Field Value
Type Description
int

VALIDATION_FIELD_NUMBER

public static final int VALIDATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TerraformUiInputDisplayVariable getDefaultInstance()
Returns
Type Description
TerraformUiInputDisplayVariable

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TerraformUiInputDisplayVariable.Builder newBuilder()
Returns
Type Description
TerraformUiInputDisplayVariable.Builder

newBuilder(TerraformUiInputDisplayVariable prototype)

public static TerraformUiInputDisplayVariable.Builder newBuilder(TerraformUiInputDisplayVariable prototype)
Parameter
Name Description
prototype TerraformUiInputDisplayVariable
Returns
Type Description
TerraformUiInputDisplayVariable.Builder

parseDelimitedFrom(InputStream input)

public static TerraformUiInputDisplayVariable parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformUiInputDisplayVariable parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TerraformUiInputDisplayVariable parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TerraformUiInputDisplayVariable parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TerraformUiInputDisplayVariable parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TerraformUiInputDisplayVariable parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TerraformUiInputDisplayVariable parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformUiInputDisplayVariable parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TerraformUiInputDisplayVariable parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformUiInputDisplayVariable parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TerraformUiInputDisplayVariable parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TerraformUiInputDisplayVariable parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TerraformUiInputDisplayVariable
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TerraformUiInputDisplayVariable> parser()
Returns
Type Description
Parser<TerraformUiInputDisplayVariable>

Methods

containsProperties(String key)

public boolean containsProperties(String key)

Output only. A map that defines all fields of the input variable.

map<string, .google.cloud.designcenter.v1.TerraformUiInputDisplayVariable> properties = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAlternateDefaults(int index)

public AlternateDefault getAlternateDefaults(int index)

Output only. Alternate defaults for the input.

repeated .google.cloud.designcenter.v1.AlternateDefault alternate_defaults = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AlternateDefault

getAlternateDefaultsCount()

public int getAlternateDefaultsCount()

Output only. Alternate defaults for the input.

repeated .google.cloud.designcenter.v1.AlternateDefault alternate_defaults = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getAlternateDefaultsList()

public List<AlternateDefault> getAlternateDefaultsList()

Output only. Alternate defaults for the input.

repeated .google.cloud.designcenter.v1.AlternateDefault alternate_defaults = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AlternateDefault>

getAlternateDefaultsOrBuilder(int index)

public AlternateDefaultOrBuilder getAlternateDefaultsOrBuilder(int index)

Output only. Alternate defaults for the input.

repeated .google.cloud.designcenter.v1.AlternateDefault alternate_defaults = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AlternateDefaultOrBuilder

getAlternateDefaultsOrBuilderList()

public List<? extends AlternateDefaultOrBuilder> getAlternateDefaultsOrBuilderList()

Output only. Alternate defaults for the input.

repeated .google.cloud.designcenter.v1.AlternateDefault alternate_defaults = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.AlternateDefaultOrBuilder>

getDefaultInstanceForType()

public TerraformUiInputDisplayVariable getDefaultInstanceForType()
Returns
Type Description
TerraformUiInputDisplayVariable

getDisplayName()

public String getDisplayName()

Output only. Display name of the input.

string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. Display name of the input.

string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getEnumValueLabels(int index)

public ValueLabel getEnumValueLabels(int index)

Output only. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.

repeated .google.cloud.designcenter.v1.ValueLabel enum_value_labels = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ValueLabel

getEnumValueLabelsCount()

public int getEnumValueLabelsCount()

Output only. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.

repeated .google.cloud.designcenter.v1.ValueLabel enum_value_labels = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getEnumValueLabelsList()

public List<ValueLabel> getEnumValueLabelsList()

Output only. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.

repeated .google.cloud.designcenter.v1.ValueLabel enum_value_labels = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ValueLabel>

getEnumValueLabelsOrBuilder(int index)

public ValueLabelOrBuilder getEnumValueLabelsOrBuilder(int index)

Output only. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.

repeated .google.cloud.designcenter.v1.ValueLabel enum_value_labels = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ValueLabelOrBuilder

getEnumValueLabelsOrBuilderList()

public List<? extends ValueLabelOrBuilder> getEnumValueLabelsOrBuilderList()

Output only. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.

repeated .google.cloud.designcenter.v1.ValueLabel enum_value_labels = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ValueLabelOrBuilder>

getLevel()

public int getLevel()

Output only. 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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The level.

getMax()

public float getMax()

Output only. Maximum value for numeric types.

float max = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The max.

getMin()

public float getMin()

Output only. Minimum value for numeric types.

float min = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The min.

getParserForType()

public Parser<TerraformUiInputDisplayVariable> getParserForType()
Returns
Type Description
Parser<TerraformUiInputDisplayVariable>
Overrides

getProperties() (deprecated)

public Map<String,TerraformUiInputDisplayVariable> getProperties()

Use #getPropertiesMap() instead.

Returns
Type Description
Map<String,TerraformUiInputDisplayVariable>

getPropertiesCount()

public int getPropertiesCount()

Output only. A map that defines all fields of the input variable.

map<string, .google.cloud.designcenter.v1.TerraformUiInputDisplayVariable> properties = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getPropertiesMap()

public Map<String,TerraformUiInputDisplayVariable> getPropertiesMap()

Output only. A map that defines all fields of the input variable.

map<string, .google.cloud.designcenter.v1.TerraformUiInputDisplayVariable> properties = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,TerraformUiInputDisplayVariable>

getPropertiesOrDefault(String key, TerraformUiInputDisplayVariable defaultValue)

public TerraformUiInputDisplayVariable getPropertiesOrDefault(String key, TerraformUiInputDisplayVariable defaultValue)

Output only. A map that defines all fields of the input variable.

map<string, .google.cloud.designcenter.v1.TerraformUiInputDisplayVariable> properties = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue TerraformUiInputDisplayVariable
Returns
Type Description
TerraformUiInputDisplayVariable

getPropertiesOrThrow(String key)

public TerraformUiInputDisplayVariable getPropertiesOrThrow(String key)

Output only. A map that defines all fields of the input variable.

map<string, .google.cloud.designcenter.v1.TerraformUiInputDisplayVariable> properties = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
TerraformUiInputDisplayVariable

getRegexValidation()

public String getRegexValidation()

Output only. Regex based validation rules for the variable.

string regex_validation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The regexValidation.

getRegexValidationBytes()

public ByteString getRegexValidationBytes()

Output only. Regex based validation rules for the variable.

string regex_validation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for regexValidation.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubtext()

public String getSubtext()

Output only. Property subtext, displayed below the title.

string subtext = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The subtext.

getSubtextBytes()

public ByteString getSubtextBytes()

Output only. Property subtext, displayed below the title.

string subtext = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for subtext.

getTitle()

public String getTitle()

Output only. Title of the input.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Output only. Title of the input.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for title.

getToggleUsingVariables(int index)

public DisplayVariableToggle getToggleUsingVariables(int index)

Output only. Variables used to toggle the display of another variable.

repeated .google.cloud.designcenter.v1.DisplayVariableToggle toggle_using_variables = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DisplayVariableToggle

getToggleUsingVariablesCount()

public int getToggleUsingVariablesCount()

Output only. Variables used to toggle the display of another variable.

repeated .google.cloud.designcenter.v1.DisplayVariableToggle toggle_using_variables = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getToggleUsingVariablesList()

public List<DisplayVariableToggle> getToggleUsingVariablesList()

Output only. Variables used to toggle the display of another variable.

repeated .google.cloud.designcenter.v1.DisplayVariableToggle toggle_using_variables = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DisplayVariableToggle>

getToggleUsingVariablesOrBuilder(int index)

public DisplayVariableToggleOrBuilder getToggleUsingVariablesOrBuilder(int index)

Output only. Variables used to toggle the display of another variable.

repeated .google.cloud.designcenter.v1.DisplayVariableToggle toggle_using_variables = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DisplayVariableToggleOrBuilder

getToggleUsingVariablesOrBuilderList()

public List<? extends DisplayVariableToggleOrBuilder> getToggleUsingVariablesOrBuilderList()

Output only. Variables used to toggle the display of another variable.

repeated .google.cloud.designcenter.v1.DisplayVariableToggle toggle_using_variables = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.DisplayVariableToggleOrBuilder>

getValidation()

public String getValidation()

Output only. 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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The validation.

getValidationBytes()

public ByteString getValidationBytes()

Output only. 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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for validation.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TerraformUiInputDisplayVariable.Builder newBuilderForType()
Returns
Type Description
TerraformUiInputDisplayVariable.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected TerraformUiInputDisplayVariable.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TerraformUiInputDisplayVariable.Builder
Overrides

toBuilder()

public TerraformUiInputDisplayVariable.Builder toBuilder()
Returns
Type Description
TerraformUiInputDisplayVariable.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException