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)
Overrides
public TerraformVersion.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides