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.v1.UpgradeAvailableEvent
Static Fields
RELEASE_CHANNEL_FIELD_NUMBER
public static final int RELEASE_CHANNEL_FIELD_NUMBER
Field Value
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpgradeAvailableEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpgradeAvailableEvent.Builder newBuilder()
Returns
newBuilder(UpgradeAvailableEvent prototype)
public static UpgradeAvailableEvent.Builder newBuilder(UpgradeAvailableEvent prototype)
Parameter
Returns
public static UpgradeAvailableEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpgradeAvailableEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpgradeAvailableEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpgradeAvailableEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpgradeAvailableEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpgradeAvailableEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpgradeAvailableEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpgradeAvailableEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpgradeAvailableEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpgradeAvailableEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpgradeAvailableEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpgradeAvailableEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpgradeAvailableEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UpgradeAvailableEvent getDefaultInstanceForType()
Returns
getParserForType()
public Parser<UpgradeAvailableEvent> getParserForType()
Returns
Overrides
getReleaseChannel()
public ReleaseChannel getReleaseChannel()
The release channel of the version. If empty, it means a non-channel
release.
.google.container.v1.ReleaseChannel release_channel = 3;
Returns
getReleaseChannelOrBuilder()
public ReleaseChannelOrBuilder getReleaseChannelOrBuilder()
The release channel of the version. If empty, it means a non-channel
release.
.google.container.v1.ReleaseChannel release_channel = 3;
Returns
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
getResourceType()
public UpgradeResourceType getResourceType()
The resource type of the release version.
.google.container.v1.UpgradeResourceType resource_type = 2;
Returns
getResourceTypeValue()
public int getResourceTypeValue()
The resource type of the release version.
.google.container.v1.UpgradeResourceType resource_type = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for resourceType.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
hasReleaseChannel()
public boolean hasReleaseChannel()
The release channel of the version. If empty, it means a non-channel
release.
.google.container.v1.ReleaseChannel release_channel = 3;
Returns
Type | Description |
boolean | Whether the releaseChannel field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpgradeAvailableEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpgradeAvailableEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpgradeAvailableEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions