Class AutoUpgradeOptions.Builder (2.86.0)

public static final class AutoUpgradeOptions.Builder extends GeneratedMessage.Builder<AutoUpgradeOptions.Builder> implements AutoUpgradeOptionsOrBuilder

AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.

Protobuf type google.container.v1beta1.AutoUpgradeOptions

Static Methods

getDescriptor()

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

Methods

build()

public AutoUpgradeOptions build()
Returns
Type Description
AutoUpgradeOptions

buildPartial()

public AutoUpgradeOptions buildPartial()
Returns
Type Description
AutoUpgradeOptions

clear()

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

clearAutoUpgradeStartTime()

public AutoUpgradeOptions.Builder clearAutoUpgradeStartTime()

Output only. This field is set when upgrades are about to commence with the approximate start time for the upgrades, in RFC3339 text format.

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

Returns
Type Description
AutoUpgradeOptions.Builder

This builder for chaining.

clearDescription()

public AutoUpgradeOptions.Builder clearDescription()

Output only. This field is set when upgrades are about to commence with the description of the upgrade.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutoUpgradeOptions.Builder

This builder for chaining.

getAutoUpgradeStartTime()

public String getAutoUpgradeStartTime()

Output only. This field is set when upgrades are about to commence with the approximate start time for the upgrades, in RFC3339 text format.

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

Returns
Type Description
String

The autoUpgradeStartTime.

getAutoUpgradeStartTimeBytes()

public ByteString getAutoUpgradeStartTimeBytes()

Output only. This field is set when upgrades are about to commence with the approximate start time for the upgrades, in RFC3339 text format.

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

Returns
Type Description
ByteString

The bytes for autoUpgradeStartTime.

getDefaultInstanceForType()

public AutoUpgradeOptions getDefaultInstanceForType()
Returns
Type Description
AutoUpgradeOptions

getDescription()

public String getDescription()

Output only. This field is set when upgrades are about to commence with the description of the upgrade.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. This field is set when upgrades are about to commence with the description of the upgrade.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutoUpgradeOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAutoUpgradeStartTime(String value)

public AutoUpgradeOptions.Builder setAutoUpgradeStartTime(String value)

Output only. This field is set when upgrades are about to commence with the approximate start time for the upgrades, in RFC3339 text format.

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

Parameter
Name Description
value String

The autoUpgradeStartTime to set.

Returns
Type Description
AutoUpgradeOptions.Builder

This builder for chaining.

setAutoUpgradeStartTimeBytes(ByteString value)

public AutoUpgradeOptions.Builder setAutoUpgradeStartTimeBytes(ByteString value)

Output only. This field is set when upgrades are about to commence with the approximate start time for the upgrades, in RFC3339 text format.

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

Parameter
Name Description
value ByteString

The bytes for autoUpgradeStartTime to set.

Returns
Type Description
AutoUpgradeOptions.Builder

This builder for chaining.

setDescription(String value)

public AutoUpgradeOptions.Builder setDescription(String value)

Output only. This field is set when upgrades are about to commence with the description of the upgrade.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
AutoUpgradeOptions.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public AutoUpgradeOptions.Builder setDescriptionBytes(ByteString value)

Output only. This field is set when upgrades are about to commence with the description of the upgrade.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
AutoUpgradeOptions.Builder

This builder for chaining.