Class TerraformVersion (0.32.0)

public final class TerraformVersion extends GeneratedMessageV3 implements TerraformVersionOrBuilder

A TerraformVersion represents the support state the corresponding Terraform version.

Protobuf type google.cloud.config.v1.TerraformVersion

Static Fields

DEPRECATE_TIME_FIELD_NUMBER

public static final int DEPRECATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

OBSOLETE_TIME_FIELD_NUMBER

public static final int OBSOLETE_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

SUPPORT_TIME_FIELD_NUMBER

public static final int SUPPORT_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TerraformVersion getDefaultInstance()
Returns
Type Description
TerraformVersion

getDescriptor()

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

newBuilder()

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

newBuilder(TerraformVersion prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TerraformVersion getDefaultInstanceForType()
Returns
Type Description
TerraformVersion

getDeprecateTime()

public Timestamp getDeprecateTime()

Output only. When the version is deprecated.

optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The deprecateTime.

getDeprecateTimeOrBuilder()

public TimestampOrBuilder getDeprecateTimeOrBuilder()

Output only. When the version is deprecated.

optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public String getName()

Identifier. The version name is in the format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The version name is in the format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.

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

Returns
Type Description
ByteString

The bytes for name.

getObsoleteTime()

public Timestamp getObsoleteTime()

Output only. When the version is obsolete.

optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The obsoleteTime.

getObsoleteTimeOrBuilder()

public TimestampOrBuilder getObsoleteTimeOrBuilder()

Output only. When the version is obsolete.

optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public TerraformVersion.State getState()

Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.

.google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TerraformVersion.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.

.google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getSupportTime()

public Timestamp getSupportTime()

Output only. When the version is supported.

.google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The supportTime.

getSupportTimeOrBuilder()

public TimestampOrBuilder getSupportTimeOrBuilder()

Output only. When the version is supported.

.google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasDeprecateTime()

public boolean hasDeprecateTime()

Output only. When the version is deprecated.

optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deprecateTime field is set.

hasObsoleteTime()

public boolean hasObsoleteTime()

Output only. When the version is obsolete.

optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the obsoleteTime field is set.

hasSupportTime()

public boolean hasSupportTime()

Output only. When the version is supported.

.google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the supportTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TerraformVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TerraformVersion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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