Interface TerraformVersionOrBuilder (0.21.0)

public interface TerraformVersionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeprecateTime()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getState()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.