Class InputVariableAlias.Builder (0.3.0)

public static final class InputVariableAlias.Builder extends GeneratedMessage.Builder<InputVariableAlias.Builder> implements InputVariableAliasOrBuilder

Input variable alias mapping for a component in a composite application template.

Protobuf type google.cloud.designcenter.v1.InputVariableAlias

Static Methods

getDescriptor()

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

Methods

build()

public InputVariableAlias build()
Returns
Type Description
InputVariableAlias

buildPartial()

public InputVariableAlias buildPartial()
Returns
Type Description
InputVariableAlias

clear()

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

clearAlias()

public InputVariableAlias.Builder clearAlias()

Required. Alias for the variable name to be exposed at the root level of the composite template.

string alias = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InputVariableAlias.Builder

This builder for chaining.

clearVariable()

public InputVariableAlias.Builder clearVariable()

Required. Name of the input variable inside the component's underlying template or module.

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

Returns
Type Description
InputVariableAlias.Builder

This builder for chaining.

getAlias()

public String getAlias()

Required. Alias for the variable name to be exposed at the root level of the composite template.

string alias = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The alias.

getAliasBytes()

public ByteString getAliasBytes()

Required. Alias for the variable name to be exposed at the root level of the composite template.

string alias = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for alias.

getDefaultInstanceForType()

public InputVariableAlias getDefaultInstanceForType()
Returns
Type Description
InputVariableAlias

getDescriptorForType()

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

getVariable()

public String getVariable()

Required. Name of the input variable inside the component's underlying template or module.

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

Returns
Type Description
String

The variable.

getVariableBytes()

public ByteString getVariableBytes()

Required. Name of the input variable inside the component's underlying template or module.

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

Returns
Type Description
ByteString

The bytes for variable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InputVariableAlias other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAlias(String value)

public InputVariableAlias.Builder setAlias(String value)

Required. Alias for the variable name to be exposed at the root level of the composite template.

string alias = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The alias to set.

Returns
Type Description
InputVariableAlias.Builder

This builder for chaining.

setAliasBytes(ByteString value)

public InputVariableAlias.Builder setAliasBytes(ByteString value)

Required. Alias for the variable name to be exposed at the root level of the composite template.

string alias = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for alias to set.

Returns
Type Description
InputVariableAlias.Builder

This builder for chaining.

setVariable(String value)

public InputVariableAlias.Builder setVariable(String value)

Required. Name of the input variable inside the component's underlying template or module.

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

Parameter
Name Description
value String

The variable to set.

Returns
Type Description
InputVariableAlias.Builder

This builder for chaining.

setVariableBytes(ByteString value)

public InputVariableAlias.Builder setVariableBytes(ByteString value)

Required. Name of the input variable inside the component's underlying template or module.

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

Parameter
Name Description
value ByteString

The bytes for variable to set.

Returns
Type Description
InputVariableAlias.Builder

This builder for chaining.