Class CompatibilityStatus.Builder (2.86.0)

public static final class CompatibilityStatus.Builder extends GeneratedMessage.Builder<CompatibilityStatus.Builder> implements CompatibilityStatusOrBuilder

CompatibilityStatus is the status regarding the control plane's compatibility.

Protobuf type google.container.v1beta1.CompatibilityStatus

Static Methods

getDescriptor()

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

Methods

build()

public CompatibilityStatus build()
Returns
Type Description
CompatibilityStatus

buildPartial()

public CompatibilityStatus buildPartial()
Returns
Type Description
CompatibilityStatus

clear()

public CompatibilityStatus.Builder clear()
Returns
Type Description
CompatibilityStatus.Builder
Overrides

clearDowngradableVersion()

public CompatibilityStatus.Builder clearDowngradableVersion()

Output only. The GKE version that the cluster can be safely downgraded to if the cluster is emulating the previous minor version. It is usually the cluster's previous version before a minor version upgrade.

string downgradable_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CompatibilityStatus.Builder

This builder for chaining.

clearEmulatedVersionTime()

public CompatibilityStatus.Builder clearEmulatedVersionTime()

Output only. Last time the control plane became available after a minor version binary upgrade with emulated version set. It indicates the last time the cluster entered the rollback safe mode.

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

Returns
Type Description
CompatibilityStatus.Builder

getDefaultInstanceForType()

public CompatibilityStatus getDefaultInstanceForType()
Returns
Type Description
CompatibilityStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDowngradableVersion()

public String getDowngradableVersion()

Output only. The GKE version that the cluster can be safely downgraded to if the cluster is emulating the previous minor version. It is usually the cluster's previous version before a minor version upgrade.

string downgradable_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The downgradableVersion.

getDowngradableVersionBytes()

public ByteString getDowngradableVersionBytes()

Output only. The GKE version that the cluster can be safely downgraded to if the cluster is emulating the previous minor version. It is usually the cluster's previous version before a minor version upgrade.

string downgradable_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for downgradableVersion.

getEmulatedVersionTime()

public Timestamp getEmulatedVersionTime()

Output only. Last time the control plane became available after a minor version binary upgrade with emulated version set. It indicates the last time the cluster entered the rollback safe mode.

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

Returns
Type Description
Timestamp

The emulatedVersionTime.

getEmulatedVersionTimeBuilder()

public Timestamp.Builder getEmulatedVersionTimeBuilder()

Output only. Last time the control plane became available after a minor version binary upgrade with emulated version set. It indicates the last time the cluster entered the rollback safe mode.

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

Returns
Type Description
Builder

getEmulatedVersionTimeOrBuilder()

public TimestampOrBuilder getEmulatedVersionTimeOrBuilder()

Output only. Last time the control plane became available after a minor version binary upgrade with emulated version set. It indicates the last time the cluster entered the rollback safe mode.

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

Returns
Type Description
TimestampOrBuilder

hasEmulatedVersionTime()

public boolean hasEmulatedVersionTime()

Output only. Last time the control plane became available after a minor version binary upgrade with emulated version set. It indicates the last time the cluster entered the rollback safe mode.

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

Returns
Type Description
boolean

Whether the emulatedVersionTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEmulatedVersionTime(Timestamp value)

public CompatibilityStatus.Builder mergeEmulatedVersionTime(Timestamp value)

Output only. Last time the control plane became available after a minor version binary upgrade with emulated version set. It indicates the last time the cluster entered the rollback safe mode.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CompatibilityStatus.Builder

mergeFrom(CompatibilityStatus other)

public CompatibilityStatus.Builder mergeFrom(CompatibilityStatus other)
Parameter
Name Description
other CompatibilityStatus
Returns
Type Description
CompatibilityStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompatibilityStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompatibilityStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CompatibilityStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CompatibilityStatus.Builder
Overrides

setDowngradableVersion(String value)

public CompatibilityStatus.Builder setDowngradableVersion(String value)

Output only. The GKE version that the cluster can be safely downgraded to if the cluster is emulating the previous minor version. It is usually the cluster's previous version before a minor version upgrade.

string downgradable_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The downgradableVersion to set.

Returns
Type Description
CompatibilityStatus.Builder

This builder for chaining.

setDowngradableVersionBytes(ByteString value)

public CompatibilityStatus.Builder setDowngradableVersionBytes(ByteString value)

Output only. The GKE version that the cluster can be safely downgraded to if the cluster is emulating the previous minor version. It is usually the cluster's previous version before a minor version upgrade.

string downgradable_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for downgradableVersion to set.

Returns
Type Description
CompatibilityStatus.Builder

This builder for chaining.

setEmulatedVersionTime(Timestamp value)

public CompatibilityStatus.Builder setEmulatedVersionTime(Timestamp value)

Output only. Last time the control plane became available after a minor version binary upgrade with emulated version set. It indicates the last time the cluster entered the rollback safe mode.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CompatibilityStatus.Builder

setEmulatedVersionTime(Timestamp.Builder builderForValue)

public CompatibilityStatus.Builder setEmulatedVersionTime(Timestamp.Builder builderForValue)

Output only. Last time the control plane became available after a minor version binary upgrade with emulated version set. It indicates the last time the cluster entered the rollback safe mode.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CompatibilityStatus.Builder