Class UpgradeAvailableEvent (2.9.0)

public final class UpgradeAvailableEvent extends GeneratedMessageV3 implements UpgradeAvailableEventOrBuilder

UpgradeAvailableEvent is a notification sent to customers when a new available version is released.

Protobuf type google.container.v1beta1.UpgradeAvailableEvent

Static Fields

RELEASE_CHANNEL_FIELD_NUMBER

public static final int RELEASE_CHANNEL_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

WINDOWS_VERSIONS_FIELD_NUMBER

public static final int WINDOWS_VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpgradeAvailableEvent getDefaultInstance()
Returns
TypeDescription
UpgradeAvailableEvent

getDescriptor()

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

newBuilder()

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

newBuilder(UpgradeAvailableEvent prototype)

public static UpgradeAvailableEvent.Builder newBuilder(UpgradeAvailableEvent prototype)
Parameter
NameDescription
prototypeUpgradeAvailableEvent
Returns
TypeDescription
UpgradeAvailableEvent.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpgradeAvailableEvent getDefaultInstanceForType()
Returns
TypeDescription
UpgradeAvailableEvent

getParserForType()

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

getReleaseChannel()

public ReleaseChannel getReleaseChannel()

The release channel of the version. If empty, it means a non-channel release.

.google.container.v1beta1.ReleaseChannel release_channel = 3;

Returns
TypeDescription
ReleaseChannel

The releaseChannel.

getReleaseChannelOrBuilder()

public ReleaseChannelOrBuilder getReleaseChannelOrBuilder()

The release channel of the version. If empty, it means a non-channel release.

.google.container.v1beta1.ReleaseChannel release_channel = 3;

Returns
TypeDescription
ReleaseChannelOrBuilder

getResource()

public String getResource()

Optional relative path to the resource. For example, the relative path of the node pool.

string resource = 4;

Returns
TypeDescription
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Optional relative path to the resource. For example, the relative path of the node pool.

string resource = 4;

Returns
TypeDescription
ByteString

The bytes for resource.

getResourceType()

public UpgradeResourceType getResourceType()

The resource type of the release version.

.google.container.v1beta1.UpgradeResourceType resource_type = 2;

Returns
TypeDescription
UpgradeResourceType

The resourceType.

getResourceTypeValue()

public int getResourceTypeValue()

The resource type of the release version.

.google.container.v1beta1.UpgradeResourceType resource_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for resourceType.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVersion()

public String getVersion()

The release version available for upgrade.

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The release version available for upgrade.

string version = 1;

Returns
TypeDescription
ByteString

The bytes for version.

getWindowsVersions()

public WindowsVersions getWindowsVersions()

Windows node versions info.

.google.container.v1beta1.WindowsVersions windows_versions = 5;

Returns
TypeDescription
WindowsVersions

The windowsVersions.

getWindowsVersionsOrBuilder()

public WindowsVersionsOrBuilder getWindowsVersionsOrBuilder()

Windows node versions info.

.google.container.v1beta1.WindowsVersions windows_versions = 5;

Returns
TypeDescription
WindowsVersionsOrBuilder

hasReleaseChannel()

public boolean hasReleaseChannel()

The release channel of the version. If empty, it means a non-channel release.

.google.container.v1beta1.ReleaseChannel release_channel = 3;

Returns
TypeDescription
boolean

Whether the releaseChannel field is set.

hasWindowsVersions()

public boolean hasWindowsVersions()

Windows node versions info.

.google.container.v1beta1.WindowsVersions windows_versions = 5;

Returns
TypeDescription
boolean

Whether the windowsVersions field is set.

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 UpgradeAvailableEvent.Builder newBuilderForType()
Returns
TypeDescription
UpgradeAvailableEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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