Class AutoUpgradeOptions (2.5.2)

public final class AutoUpgradeOptions extends GeneratedMessageV3 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 Fields

AUTO_UPGRADE_START_TIME_FIELD_NUMBER

public static final int AUTO_UPGRADE_START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutoUpgradeOptions getDefaultInstance()
Returns
TypeDescription
AutoUpgradeOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AutoUpgradeOptions.Builder newBuilder()
Returns
TypeDescription
AutoUpgradeOptions.Builder

newBuilder(AutoUpgradeOptions prototype)

public static AutoUpgradeOptions.Builder newBuilder(AutoUpgradeOptions prototype)
Parameter
NameDescription
prototypeAutoUpgradeOptions
Returns
TypeDescription
AutoUpgradeOptions.Builder

parseDelimitedFrom(InputStream input)

public static AutoUpgradeOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoUpgradeOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AutoUpgradeOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutoUpgradeOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutoUpgradeOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutoUpgradeOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutoUpgradeOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoUpgradeOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AutoUpgradeOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoUpgradeOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AutoUpgradeOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutoUpgradeOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoUpgradeOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AutoUpgradeOptions> parser()
Returns
TypeDescription
Parser<AutoUpgradeOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

getParserForType()

public Parser<AutoUpgradeOptions> getParserForType()
Returns
TypeDescription
Parser<AutoUpgradeOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AutoUpgradeOptions.Builder newBuilderForType()
Returns
TypeDescription
AutoUpgradeOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutoUpgradeOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AutoUpgradeOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AutoUpgradeOptions.Builder toBuilder()
Returns
TypeDescription
AutoUpgradeOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException