Class ModuleInput (0.3.0)

public final class ModuleInput extends GeneratedMessage implements ModuleInputOrBuilder

Represents an input variable for a module.

Protobuf type google.cloud.designcenter.v1.ModuleInput

Static Fields

DEFAULT_VALUE_FIELD_NUMBER

public static final int DEFAULT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

REQUIRED_FIELD_NUMBER

public static final int REQUIRED_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModuleInput getDefaultInstance()
Returns
Type Description
ModuleInput

getDescriptor()

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

newBuilder()

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

newBuilder(ModuleInput prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ModuleInput getDefaultInstanceForType()
Returns
Type Description
ModuleInput

getDefaultValue()

public Value getDefaultValue()

Optional. Default value of the variable as a string representation. Using google.protobuf.Value to allow for different types, though a string is common.

.google.protobuf.Value default_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Value

The defaultValue.

getDefaultValueOrBuilder()

public ValueOrBuilder getDefaultValueOrBuilder()

Optional. Default value of the variable as a string representation. Using google.protobuf.Value to allow for different types, though a string is common.

.google.protobuf.Value default_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ValueOrBuilder

getDescription()

public String getDescription()

Optional. Description of the variable.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the variable.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getName()

public String getName()

Optional. Name of the input variable.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. Name of the input variable.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getRequired()

public boolean getRequired()

Optional. Whether the input variable is required.

bool required = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The required.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public String getType()

Optional. Terraform type of the variable.

string type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Optional. Terraform type of the variable.

string type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for type.

hasDefaultValue()

public boolean hasDefaultValue()

Optional. Default value of the variable as a string representation. Using google.protobuf.Value to allow for different types, though a string is common.

.google.protobuf.Value default_value = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the defaultValue field is set.

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 ModuleInput.Builder newBuilderForType()
Returns
Type Description
ModuleInput.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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