Class UpgradeAvailableEvent (2.48.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
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

WINDOWS_VERSIONS_FIELD_NUMBER

public static final int WINDOWS_VERSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpgradeAvailableEvent getDefaultInstance()
Returns
Type Description
UpgradeAvailableEvent

getDescriptor()

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

newBuilder()

public static UpgradeAvailableEvent.Builder newBuilder()
Returns
Type Description
UpgradeAvailableEvent.Builder

newBuilder(UpgradeAvailableEvent prototype)

public static UpgradeAvailableEvent.Builder newBuilder(UpgradeAvailableEvent prototype)
Parameter
Name Description
prototype UpgradeAvailableEvent
Returns
Type Description
UpgradeAvailableEvent.Builder

parseDelimitedFrom(InputStream input)

public static UpgradeAvailableEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeAvailableEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpgradeAvailableEvent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpgradeAvailableEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpgradeAvailableEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpgradeAvailableEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpgradeAvailableEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeAvailableEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpgradeAvailableEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeAvailableEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpgradeAvailableEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpgradeAvailableEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeAvailableEvent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpgradeAvailableEvent> parser()
Returns
Type Description
Parser<UpgradeAvailableEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpgradeAvailableEvent getDefaultInstanceForType()
Returns
Type Description
UpgradeAvailableEvent

getParserForType()

public Parser<UpgradeAvailableEvent> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
ReleaseChannelOrBuilder

getResource()

public String getResource()

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

string resource = 4;

Returns
Type Description
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
Type Description
ByteString

The bytes for resource.

getResourceType()

public UpgradeResourceType getResourceType()

The resource type of the release version.

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

Returns
Type Description
UpgradeResourceType

The resourceType.

getResourceTypeValue()

public int getResourceTypeValue()

The resource type of the release version.

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

Returns
Type Description
int

The enum numeric value on the wire for resourceType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersion()

public String getVersion()

The release version available for upgrade.

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The release version available for upgrade.

string version = 1;

Returns
Type Description
ByteString

The bytes for version.

getWindowsVersions()

public WindowsVersions getWindowsVersions()

Windows node versions info.

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

Returns
Type Description
WindowsVersions

The windowsVersions.

getWindowsVersionsOrBuilder()

public WindowsVersionsOrBuilder getWindowsVersionsOrBuilder()

Windows node versions info.

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

Returns
Type Description
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
Type Description
boolean

Whether the releaseChannel field is set.

hasWindowsVersions()

public boolean hasWindowsVersions()

Windows node versions info.

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

Returns
Type Description
boolean

Whether the windowsVersions field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpgradeAvailableEvent.Builder newBuilderForType()
Returns
Type Description
UpgradeAvailableEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpgradeAvailableEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpgradeAvailableEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpgradeAvailableEvent.Builder toBuilder()
Returns
Type Description
UpgradeAvailableEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException