Class DisplayVariableToggle (0.3.0)

public final class DisplayVariableToggle extends GeneratedMessage implements DisplayVariableToggleOrBuilder

Display variable toggle.

Protobuf type google.cloud.designcenter.v1.DisplayVariableToggle

Static Fields

VARIABLE_FIELD_NUMBER

public static final int VARIABLE_FIELD_NUMBER
Field Value
Type Description
int

VARIABLE_TYPE_FIELD_NUMBER

public static final int VARIABLE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

VARIABLE_VALUES_FIELD_NUMBER

public static final int VARIABLE_VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DisplayVariableToggle getDefaultInstance()
Returns
Type Description
DisplayVariableToggle

getDescriptor()

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

newBuilder()

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

newBuilder(DisplayVariableToggle prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DisplayVariableToggle getDefaultInstanceForType()
Returns
Type Description
DisplayVariableToggle

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVariable()

public String getVariable()

Output only. The name of the variable used to toggle the display of another variable.

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

Returns
Type Description
String

The variable.

getVariableBytes()

public ByteString getVariableBytes()

Output only. The name of the variable used to toggle the display of another variable.

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

Returns
Type Description
ByteString

The bytes for variable.

getVariableType()

public DisplayVariableToggle.ToggleVariableType getVariableType()

Output only. The type of the variable used to toggle the display of another variable.

.google.cloud.designcenter.v1.DisplayVariableToggle.ToggleVariableType variable_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DisplayVariableToggle.ToggleVariableType

The variableType.

getVariableTypeValue()

public int getVariableTypeValue()

Output only. The type of the variable used to toggle the display of another variable.

.google.cloud.designcenter.v1.DisplayVariableToggle.ToggleVariableType variable_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for variableType.

getVariableValues(int index)

public String getVariableValues(int index)

Output only. The value of the variable used to toggle the display of another variable.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The variableValues at the given index.

getVariableValuesBytes(int index)

public ByteString getVariableValuesBytes(int index)

Output only. The value of the variable used to toggle the display of another variable.

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the variableValues at the given index.

getVariableValuesCount()

public int getVariableValuesCount()

Output only. The value of the variable used to toggle the display of another variable.

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

Returns
Type Description
int

The count of variableValues.

getVariableValuesList()

public ProtocolStringList getVariableValuesList()

Output only. The value of the variable used to toggle the display of another variable.

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

Returns
Type Description
ProtocolStringList

A list containing the variableValues.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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