Send feedback
Class TerraformVersion (0.32.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.32.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DEPRECATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int OBSOLETE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int STATE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SUPPORT_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static TerraformVersion getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static TerraformVersion . Builder newBuilder ()
public static TerraformVersion . Builder newBuilder ( TerraformVersion prototype )
public static TerraformVersion parseDelimitedFrom ( InputStream input )
public static TerraformVersion parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static TerraformVersion parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static TerraformVersion parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static TerraformVersion parseFrom ( ByteString data )
public static TerraformVersion parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static TerraformVersion parseFrom ( CodedInputStream input )
public static TerraformVersion parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static TerraformVersion parseFrom ( InputStream input )
public static TerraformVersion parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static TerraformVersion parseFrom ( ByteBuffer data )
public static TerraformVersion parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<TerraformVersion> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public TerraformVersion getDefaultInstanceForType ()
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.
public TimestampOrBuilder getDeprecateTimeOrBuilder ()
Output only. When the version is deprecated.
optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.
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.
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.
public TimestampOrBuilder getObsoleteTimeOrBuilder ()
Output only. When the version is obsolete.
optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Parser<TerraformVersion> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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];
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.
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.
public TimestampOrBuilder getSupportTimeOrBuilder ()
Output only. When the version is supported.
.google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.
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.
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.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public TerraformVersion . Builder newBuilderForType ()
protected TerraformVersion . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public TerraformVersion . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]