Class UpgradeAvailableEvent.Builder (2.5.1)

public static final class UpgradeAvailableEvent.Builder extends GeneratedMessageV3.Builder<UpgradeAvailableEvent.Builder> implements UpgradeAvailableEventOrBuilder

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

Protobuf type google.container.v1beta1.UpgradeAvailableEvent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpgradeAvailableEvent build()
Returns
TypeDescription
UpgradeAvailableEvent

buildPartial()

public UpgradeAvailableEvent buildPartial()
Returns
TypeDescription
UpgradeAvailableEvent

clear()

public UpgradeAvailableEvent.Builder clear()
Returns
TypeDescription
UpgradeAvailableEvent.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReleaseChannel()

public UpgradeAvailableEvent.Builder clearReleaseChannel()

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

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

Returns
TypeDescription
UpgradeAvailableEvent.Builder

clearResource()

public UpgradeAvailableEvent.Builder clearResource()

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

string resource = 4;

Returns
TypeDescription
UpgradeAvailableEvent.Builder

This builder for chaining.

clearResourceType()

public UpgradeAvailableEvent.Builder clearResourceType()

The resource type of the release version.

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

Returns
TypeDescription
UpgradeAvailableEvent.Builder

This builder for chaining.

clearVersion()

public UpgradeAvailableEvent.Builder clearVersion()

The release version available for upgrade.

string version = 1;

Returns
TypeDescription
UpgradeAvailableEvent.Builder

This builder for chaining.

clearWindowsVersions()

public UpgradeAvailableEvent.Builder clearWindowsVersions()

Windows node versions info.

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

Returns
TypeDescription
UpgradeAvailableEvent.Builder

clone()

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

getDefaultInstanceForType()

public UpgradeAvailableEvent getDefaultInstanceForType()
Returns
TypeDescription
UpgradeAvailableEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

getReleaseChannelBuilder()

public ReleaseChannel.Builder getReleaseChannelBuilder()

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

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

Returns
TypeDescription
ReleaseChannel.Builder

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.

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.

getWindowsVersionsBuilder()

public WindowsVersions.Builder getWindowsVersionsBuilder()

Windows node versions info.

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

Returns
TypeDescription
WindowsVersions.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpgradeAvailableEvent other)

public UpgradeAvailableEvent.Builder mergeFrom(UpgradeAvailableEvent other)
Parameter
NameDescription
otherUpgradeAvailableEvent
Returns
TypeDescription
UpgradeAvailableEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReleaseChannel(ReleaseChannel value)

public UpgradeAvailableEvent.Builder mergeReleaseChannel(ReleaseChannel value)

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

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

Parameter
NameDescription
valueReleaseChannel
Returns
TypeDescription
UpgradeAvailableEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpgradeAvailableEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpgradeAvailableEvent.Builder
Overrides

mergeWindowsVersions(WindowsVersions value)

public UpgradeAvailableEvent.Builder mergeWindowsVersions(WindowsVersions value)

Windows node versions info.

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

Parameter
NameDescription
valueWindowsVersions
Returns
TypeDescription
UpgradeAvailableEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setReleaseChannel(ReleaseChannel value)

public UpgradeAvailableEvent.Builder setReleaseChannel(ReleaseChannel value)

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

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

Parameter
NameDescription
valueReleaseChannel
Returns
TypeDescription
UpgradeAvailableEvent.Builder

setReleaseChannel(ReleaseChannel.Builder builderForValue)

public UpgradeAvailableEvent.Builder setReleaseChannel(ReleaseChannel.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueReleaseChannel.Builder
Returns
TypeDescription
UpgradeAvailableEvent.Builder

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

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

setResource(String value)

public UpgradeAvailableEvent.Builder setResource(String value)

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

string resource = 4;

Parameter
NameDescription
valueString

The resource to set.

Returns
TypeDescription
UpgradeAvailableEvent.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public UpgradeAvailableEvent.Builder setResourceBytes(ByteString value)

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

string resource = 4;

Parameter
NameDescription
valueByteString

The bytes for resource to set.

Returns
TypeDescription
UpgradeAvailableEvent.Builder

This builder for chaining.

setResourceType(UpgradeResourceType value)

public UpgradeAvailableEvent.Builder setResourceType(UpgradeResourceType value)

The resource type of the release version.

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

Parameter
NameDescription
valueUpgradeResourceType

The resourceType to set.

Returns
TypeDescription
UpgradeAvailableEvent.Builder

This builder for chaining.

setResourceTypeValue(int value)

public UpgradeAvailableEvent.Builder setResourceTypeValue(int value)

The resource type of the release version.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for resourceType to set.

Returns
TypeDescription
UpgradeAvailableEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public UpgradeAvailableEvent.Builder setVersion(String value)

The release version available for upgrade.

string version = 1;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
UpgradeAvailableEvent.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public UpgradeAvailableEvent.Builder setVersionBytes(ByteString value)

The release version available for upgrade.

string version = 1;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
UpgradeAvailableEvent.Builder

This builder for chaining.

setWindowsVersions(WindowsVersions value)

public UpgradeAvailableEvent.Builder setWindowsVersions(WindowsVersions value)

Windows node versions info.

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

Parameter
NameDescription
valueWindowsVersions
Returns
TypeDescription
UpgradeAvailableEvent.Builder

setWindowsVersions(WindowsVersions.Builder builderForValue)

public UpgradeAvailableEvent.Builder setWindowsVersions(WindowsVersions.Builder builderForValue)

Windows node versions info.

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

Parameter
NameDescription
builderForValueWindowsVersions.Builder
Returns
TypeDescription
UpgradeAvailableEvent.Builder