Class TerraformVersion (0.16.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OBSOLETE_TIME_FIELD_NUMBER

public static final int OBSOLETE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORT_TIME_FIELD_NUMBER

public static final int SUPPORT_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TerraformVersion getDefaultInstance()
Returns
TypeDescription
TerraformVersion

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TerraformVersion.Builder newBuilder()
Returns
TypeDescription
TerraformVersion.Builder

newBuilder(TerraformVersion prototype)

public static TerraformVersion.Builder newBuilder(TerraformVersion prototype)
Parameter
NameDescription
prototypeTerraformVersion
Returns
TypeDescription
TerraformVersion.Builder

parseDelimitedFrom(InputStream input)

public static TerraformVersion parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TerraformVersion parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TerraformVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TerraformVersion parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TerraformVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TerraformVersion parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TerraformVersion parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TerraformVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TerraformVersion parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TerraformVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TerraformVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TerraformVersion> parser()
Returns
TypeDescription
Parser<TerraformVersion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TerraformVersion getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<TerraformVersion> getParserForType()
Returns
TypeDescription
Parser<TerraformVersion>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the supportTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TerraformVersion.Builder newBuilderForType()
Returns
TypeDescription
TerraformVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TerraformVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TerraformVersion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TerraformVersion.Builder toBuilder()
Returns
TypeDescription
TerraformVersion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException