public static final class RollbackSafeUpgradeStatus.Builder extends GeneratedMessage.Builder<RollbackSafeUpgradeStatus.Builder> implements RollbackSafeUpgradeStatusOrBuilderRollbackSafeUpgradeStatus contains the rollback-safe upgrade status of a cluster.
Protobuf type google.container.v1.RollbackSafeUpgradeStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RollbackSafeUpgradeStatus.BuilderImplements
RollbackSafeUpgradeStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RollbackSafeUpgradeStatus build()| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus |
|
buildPartial()
public RollbackSafeUpgradeStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus |
|
clear()
public RollbackSafeUpgradeStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
|
clearControlPlaneUpgradeRollbackEndTime()
public RollbackSafeUpgradeStatus.Builder clearControlPlaneUpgradeRollbackEndTime()Output only. The rollback-safe mode expiration time.
.google.protobuf.Timestamp control_plane_upgrade_rollback_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
|
clearMode()
public RollbackSafeUpgradeStatus.Builder clearMode()Output only. The mode of the rollback-safe upgrade.
.google.container.v1.RollbackSafeUpgradeStatus.Mode mode = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
This builder for chaining. |
clearPreviousVersion()
public RollbackSafeUpgradeStatus.Builder clearPreviousVersion()Output only. The GKE version that the cluster previously used before step-one upgrade.
string previous_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
This builder for chaining. |
getControlPlaneUpgradeRollbackEndTime()
public Timestamp getControlPlaneUpgradeRollbackEndTime()Output only. The rollback-safe mode expiration time.
.google.protobuf.Timestamp control_plane_upgrade_rollback_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The controlPlaneUpgradeRollbackEndTime. |
getControlPlaneUpgradeRollbackEndTimeBuilder()
public Timestamp.Builder getControlPlaneUpgradeRollbackEndTimeBuilder()Output only. The rollback-safe mode expiration time.
.google.protobuf.Timestamp control_plane_upgrade_rollback_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getControlPlaneUpgradeRollbackEndTimeOrBuilder()
public TimestampOrBuilder getControlPlaneUpgradeRollbackEndTimeOrBuilder()Output only. The rollback-safe mode expiration time.
.google.protobuf.Timestamp control_plane_upgrade_rollback_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public RollbackSafeUpgradeStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMode()
public RollbackSafeUpgradeStatus.Mode getMode()Output only. The mode of the rollback-safe upgrade.
.google.container.v1.RollbackSafeUpgradeStatus.Mode mode = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Mode |
The mode. |
getModeValue()
public int getModeValue()Output only. The mode of the rollback-safe upgrade.
.google.container.v1.RollbackSafeUpgradeStatus.Mode mode = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for mode. |
getPreviousVersion()
public String getPreviousVersion()Output only. The GKE version that the cluster previously used before step-one upgrade.
string previous_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The previousVersion. |
getPreviousVersionBytes()
public ByteString getPreviousVersionBytes()Output only. The GKE version that the cluster previously used before step-one upgrade.
string previous_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for previousVersion. |
hasControlPlaneUpgradeRollbackEndTime()
public boolean hasControlPlaneUpgradeRollbackEndTime()Output only. The rollback-safe mode expiration time.
.google.protobuf.Timestamp control_plane_upgrade_rollback_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the controlPlaneUpgradeRollbackEndTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeControlPlaneUpgradeRollbackEndTime(Timestamp value)
public RollbackSafeUpgradeStatus.Builder mergeControlPlaneUpgradeRollbackEndTime(Timestamp value)Output only. The rollback-safe mode expiration time.
.google.protobuf.Timestamp control_plane_upgrade_rollback_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
|
mergeFrom(RollbackSafeUpgradeStatus other)
public RollbackSafeUpgradeStatus.Builder mergeFrom(RollbackSafeUpgradeStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
RollbackSafeUpgradeStatus |
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RollbackSafeUpgradeStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RollbackSafeUpgradeStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
|
setControlPlaneUpgradeRollbackEndTime(Timestamp value)
public RollbackSafeUpgradeStatus.Builder setControlPlaneUpgradeRollbackEndTime(Timestamp value)Output only. The rollback-safe mode expiration time.
.google.protobuf.Timestamp control_plane_upgrade_rollback_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
|
setControlPlaneUpgradeRollbackEndTime(Timestamp.Builder builderForValue)
public RollbackSafeUpgradeStatus.Builder setControlPlaneUpgradeRollbackEndTime(Timestamp.Builder builderForValue)Output only. The rollback-safe mode expiration time.
.google.protobuf.Timestamp control_plane_upgrade_rollback_end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
|
setMode(RollbackSafeUpgradeStatus.Mode value)
public RollbackSafeUpgradeStatus.Builder setMode(RollbackSafeUpgradeStatus.Mode value)Output only. The mode of the rollback-safe upgrade.
.google.container.v1.RollbackSafeUpgradeStatus.Mode mode = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
RollbackSafeUpgradeStatus.ModeThe mode to set. |
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
This builder for chaining. |
setModeValue(int value)
public RollbackSafeUpgradeStatus.Builder setModeValue(int value)Output only. The mode of the rollback-safe upgrade.
.google.container.v1.RollbackSafeUpgradeStatus.Mode mode = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for mode to set. |
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
This builder for chaining. |
setPreviousVersion(String value)
public RollbackSafeUpgradeStatus.Builder setPreviousVersion(String value)Output only. The GKE version that the cluster previously used before step-one upgrade.
string previous_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe previousVersion to set. |
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
This builder for chaining. |
setPreviousVersionBytes(ByteString value)
public RollbackSafeUpgradeStatus.Builder setPreviousVersionBytes(ByteString value)Output only. The GKE version that the cluster previously used before step-one upgrade.
string previous_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for previousVersion to set. |
| Returns | |
|---|---|
| Type | Description |
RollbackSafeUpgradeStatus.Builder |
This builder for chaining. |