Class AutoUpgradeOptions.Builder (2.17.0)

public static final class AutoUpgradeOptions.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoUpgradeOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoUpgradeOptions.Builder
Overrides

build()

public AutoUpgradeOptions build()
Returns
TypeDescription
AutoUpgradeOptions

buildPartial()

public AutoUpgradeOptions buildPartial()
Returns
TypeDescription
AutoUpgradeOptions

clear()

public AutoUpgradeOptions.Builder clear()
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
AutoUpgradeOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutoUpgradeOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutoUpgradeOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoUpgradeOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutoUpgradeOptions.Builder
Overrides

clone()

public AutoUpgradeOptions.Builder clone()
Returns
TypeDescription
AutoUpgradeOptions.Builder
Overrides

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;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for autoUpgradeStartTime.

getDefaultInstanceForType()

public AutoUpgradeOptions getDefaultInstanceForType()
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoUpgradeOptions other)

public AutoUpgradeOptions.Builder mergeFrom(AutoUpgradeOptions other)
Parameter
NameDescription
otherAutoUpgradeOptions
Returns
TypeDescription
AutoUpgradeOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoUpgradeOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoUpgradeOptions.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutoUpgradeOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutoUpgradeOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoUpgradeOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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;

Parameter
NameDescription
valueString

The autoUpgradeStartTime to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes for autoUpgradeStartTime to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
AutoUpgradeOptions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutoUpgradeOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoUpgradeOptions.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutoUpgradeOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoUpgradeOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoUpgradeOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoUpgradeOptions.Builder
Overrides