public final class DisplayVariable extends GeneratedMessage implements DisplayVariableOrBuilder
Additional display specific Template pertaining to a particular input
variable.
Protobuf type google.cloud.designcenter.v1.DisplayVariable
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ALTERNATE_DEFAULTS_FIELD_NUMBER
public static final int ALTERNATE_DEFAULTS_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 |
|
NAME_FIELD_NUMBER
public static final int NAME_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 |
|
VALIDATION_FIELD_NUMBER
public static final int VALIDATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DisplayVariable getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DisplayVariable.Builder newBuilder()
newBuilder(DisplayVariable prototype)
public static DisplayVariable.Builder newBuilder(DisplayVariable prototype)
public static DisplayVariable parseDelimitedFrom(InputStream input)
public static DisplayVariable parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DisplayVariable parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DisplayVariable parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DisplayVariable parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisplayVariable parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisplayVariable parseFrom(CodedInputStream input)
public static DisplayVariable parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DisplayVariable parseFrom(InputStream input)
public static DisplayVariable parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DisplayVariable parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DisplayVariable parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DisplayVariable> parser()
Methods
containsProperties(String key)
public 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
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAlternateDefaults(int index)
public 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
|
getAlternateDefaultsCount()
public 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 List<AlternateDefaultInput> getAlternateDefaultsList()
Optional. Alternate defaults for the input.
repeated .google.cloud.designcenter.v1.AlternateDefaultInput alternate_defaults = 3 [(.google.api.field_behavior) = OPTIONAL];
getAlternateDefaultsOrBuilder(int index)
public 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
|
getAlternateDefaultsOrBuilderList()
public 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> |
|
getDefaultInstanceForType()
public DisplayVariable getDefaultInstanceForType()
getEnumValueLabels(int index)
public 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
|
getEnumValueLabelsCount()
public 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 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];
getEnumValueLabelsOrBuilder(int index)
public 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
|
getEnumValueLabelsOrBuilderList()
public 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()
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()
Optional. Maximum value for numeric types.
optional float max = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
float |
The max.
|
getMin()
Optional. Minimum value for numeric types.
optional float min = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
float |
The min.
|
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 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.
|
getParserForType()
public Parser<DisplayVariable> getParserForType()
Overrides
getProperties() (deprecated)
public Map<String,DisplayVariable> getProperties()
getPropertiesCount()
public 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 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];
getPropertiesOrDefault(String key, DisplayVariable defaultValue)
public 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];
getPropertiesOrThrow(String key)
public 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
|
getRegexValidation()
public 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 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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSubtext()
public 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 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()
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 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 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 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()
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()
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
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()
Overrides
newBuilderForType()
public DisplayVariable.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DisplayVariable.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DisplayVariable.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides