Class RootInputVariable.Builder (0.3.0)

public static final class RootInputVariable.Builder extends GeneratedMessage.Builder<RootInputVariable.Builder> implements RootInputVariableOrBuilder

Input variable of a root module.

Protobuf type google.cloud.designcenter.v1.RootInputVariable

Static Methods

getDescriptor()

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

Methods

build()

public RootInputVariable build()
Returns
Type Description
RootInputVariable

buildPartial()

public RootInputVariable buildPartial()
Returns
Type Description
RootInputVariable

clear()

public RootInputVariable.Builder clear()
Returns
Type Description
RootInputVariable.Builder
Overrides

clearAlias()

public RootInputVariable.Builder clearAlias()

Alias for the variable name.

string alias = 5;

Returns
Type Description
RootInputVariable.Builder

This builder for chaining.

clearDefaultValue()

public RootInputVariable.Builder clearDefaultValue()

Default value of the input variable.

.google.protobuf.Value default_value = 4;

Returns
Type Description
RootInputVariable.Builder

clearValue()

public RootInputVariable.Builder clearValue()

Value for the input variable.

.google.protobuf.Value value = 3;

Returns
Type Description
RootInputVariable.Builder

clearVariable()

public RootInputVariable.Builder clearVariable()

Name of the input variable.

string variable = 1;

Returns
Type Description
RootInputVariable.Builder

This builder for chaining.

clearVariableType()

public RootInputVariable.Builder clearVariableType()

Type of the input variable.

string variable_type = 2;

Returns
Type Description
RootInputVariable.Builder

This builder for chaining.

getAlias()

public String getAlias()

Alias for the variable name.

string alias = 5;

Returns
Type Description
String

The alias.

getAliasBytes()

public ByteString getAliasBytes()

Alias for the variable name.

string alias = 5;

Returns
Type Description
ByteString

The bytes for alias.

getDefaultInstanceForType()

public RootInputVariable getDefaultInstanceForType()
Returns
Type Description
RootInputVariable

getDefaultValue()

public Value getDefaultValue()

Default value of the input variable.

.google.protobuf.Value default_value = 4;

Returns
Type Description
Value

The defaultValue.

getDefaultValueBuilder()

public Value.Builder getDefaultValueBuilder()

Default value of the input variable.

.google.protobuf.Value default_value = 4;

Returns
Type Description
Builder

getDefaultValueOrBuilder()

public ValueOrBuilder getDefaultValueOrBuilder()

Default value of the input variable.

.google.protobuf.Value default_value = 4;

Returns
Type Description
ValueOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getValue()

public Value getValue()

Value for the input variable.

.google.protobuf.Value value = 3;

Returns
Type Description
Value

The value.

getValueBuilder()

public Value.Builder getValueBuilder()

Value for the input variable.

.google.protobuf.Value value = 3;

Returns
Type Description
Builder

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Value for the input variable.

.google.protobuf.Value value = 3;

Returns
Type Description
ValueOrBuilder

getVariable()

public String getVariable()

Name of the input variable.

string variable = 1;

Returns
Type Description
String

The variable.

getVariableBytes()

public ByteString getVariableBytes()

Name of the input variable.

string variable = 1;

Returns
Type Description
ByteString

The bytes for variable.

getVariableType()

public String getVariableType()

Type of the input variable.

string variable_type = 2;

Returns
Type Description
String

The variableType.

getVariableTypeBytes()

public ByteString getVariableTypeBytes()

Type of the input variable.

string variable_type = 2;

Returns
Type Description
ByteString

The bytes for variableType.

hasDefaultValue()

public boolean hasDefaultValue()

Default value of the input variable.

.google.protobuf.Value default_value = 4;

Returns
Type Description
boolean

Whether the defaultValue field is set.

hasValue()

public boolean hasValue()

Value for the input variable.

.google.protobuf.Value value = 3;

Returns
Type Description
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDefaultValue(Value value)

public RootInputVariable.Builder mergeDefaultValue(Value value)

Default value of the input variable.

.google.protobuf.Value default_value = 4;

Parameter
Name Description
value Value
Returns
Type Description
RootInputVariable.Builder

mergeFrom(RootInputVariable other)

public RootInputVariable.Builder mergeFrom(RootInputVariable other)
Parameter
Name Description
other RootInputVariable
Returns
Type Description
RootInputVariable.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RootInputVariable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RootInputVariable.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RootInputVariable.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RootInputVariable.Builder
Overrides

mergeValue(Value value)

public RootInputVariable.Builder mergeValue(Value value)

Value for the input variable.

.google.protobuf.Value value = 3;

Parameter
Name Description
value Value
Returns
Type Description
RootInputVariable.Builder

setAlias(String value)

public RootInputVariable.Builder setAlias(String value)

Alias for the variable name.

string alias = 5;

Parameter
Name Description
value String

The alias to set.

Returns
Type Description
RootInputVariable.Builder

This builder for chaining.

setAliasBytes(ByteString value)

public RootInputVariable.Builder setAliasBytes(ByteString value)

Alias for the variable name.

string alias = 5;

Parameter
Name Description
value ByteString

The bytes for alias to set.

Returns
Type Description
RootInputVariable.Builder

This builder for chaining.

setDefaultValue(Value value)

public RootInputVariable.Builder setDefaultValue(Value value)

Default value of the input variable.

.google.protobuf.Value default_value = 4;

Parameter
Name Description
value Value
Returns
Type Description
RootInputVariable.Builder

setDefaultValue(Value.Builder builderForValue)

public RootInputVariable.Builder setDefaultValue(Value.Builder builderForValue)

Default value of the input variable.

.google.protobuf.Value default_value = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RootInputVariable.Builder

setValue(Value value)

public RootInputVariable.Builder setValue(Value value)

Value for the input variable.

.google.protobuf.Value value = 3;

Parameter
Name Description
value Value
Returns
Type Description
RootInputVariable.Builder

setValue(Value.Builder builderForValue)

public RootInputVariable.Builder setValue(Value.Builder builderForValue)

Value for the input variable.

.google.protobuf.Value value = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RootInputVariable.Builder

setVariable(String value)

public RootInputVariable.Builder setVariable(String value)

Name of the input variable.

string variable = 1;

Parameter
Name Description
value String

The variable to set.

Returns
Type Description
RootInputVariable.Builder

This builder for chaining.

setVariableBytes(ByteString value)

public RootInputVariable.Builder setVariableBytes(ByteString value)

Name of the input variable.

string variable = 1;

Parameter
Name Description
value ByteString

The bytes for variable to set.

Returns
Type Description
RootInputVariable.Builder

This builder for chaining.

setVariableType(String value)

public RootInputVariable.Builder setVariableType(String value)

Type of the input variable.

string variable_type = 2;

Parameter
Name Description
value String

The variableType to set.

Returns
Type Description
RootInputVariable.Builder

This builder for chaining.

setVariableTypeBytes(ByteString value)

public RootInputVariable.Builder setVariableTypeBytes(ByteString value)

Type of the input variable.

string variable_type = 2;

Parameter
Name Description
value ByteString

The bytes for variableType to set.

Returns
Type Description
RootInputVariable.Builder

This builder for chaining.