Class UpgradeAvailableEvent.Builder (2.57.0)

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.v1.UpgradeAvailableEvent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpgradeAvailableEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpgradeAvailableEvent.Builder
Overrides

build()

public UpgradeAvailableEvent build()
Returns
Type Description
UpgradeAvailableEvent

buildPartial()

public UpgradeAvailableEvent buildPartial()
Returns
Type Description
UpgradeAvailableEvent

clear()

public UpgradeAvailableEvent.Builder clear()
Returns
Type Description
UpgradeAvailableEvent.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpgradeAvailableEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpgradeAvailableEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpgradeAvailableEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpgradeAvailableEvent.Builder
Overrides

clearReleaseChannel()

public UpgradeAvailableEvent.Builder clearReleaseChannel()

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

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

Returns
Type Description
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
Type Description
UpgradeAvailableEvent.Builder

This builder for chaining.

clearResourceType()

public UpgradeAvailableEvent.Builder clearResourceType()

The resource type of the release version.

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

Returns
Type Description
UpgradeAvailableEvent.Builder

This builder for chaining.

clearVersion()

public UpgradeAvailableEvent.Builder clearVersion()

The release version available for upgrade.

string version = 1;

Returns
Type Description
UpgradeAvailableEvent.Builder

This builder for chaining.

clone()

public UpgradeAvailableEvent.Builder clone()
Returns
Type Description
UpgradeAvailableEvent.Builder
Overrides

getDefaultInstanceForType()

public UpgradeAvailableEvent getDefaultInstanceForType()
Returns
Type Description
UpgradeAvailableEvent

getDescriptorForType()

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

The releaseChannel.

getReleaseChannelBuilder()

public ReleaseChannel.Builder getReleaseChannelBuilder()

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

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

Returns
Type Description
ReleaseChannel.Builder

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
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.v1.UpgradeResourceType resource_type = 2;

Returns
Type Description
UpgradeResourceType

The resourceType.

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.

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpgradeAvailableEvent other)

public UpgradeAvailableEvent.Builder mergeFrom(UpgradeAvailableEvent other)
Parameter
Name Description
other UpgradeAvailableEvent
Returns
Type Description
UpgradeAvailableEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpgradeAvailableEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeAvailableEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpgradeAvailableEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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.v1.ReleaseChannel release_channel = 3;

Parameter
Name Description
value ReleaseChannel
Returns
Type Description
UpgradeAvailableEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpgradeAvailableEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpgradeAvailableEvent.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UpgradeAvailableEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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.v1.ReleaseChannel release_channel = 3;

Parameter
Name Description
value ReleaseChannel
Returns
Type Description
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.v1.ReleaseChannel release_channel = 3;

Parameter
Name Description
builderForValue ReleaseChannel.Builder
Returns
Type Description
UpgradeAvailableEvent.Builder

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

public UpgradeAvailableEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The resource to set.

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

The bytes for resource to set.

Returns
Type Description
UpgradeAvailableEvent.Builder

This builder for chaining.

setResourceType(UpgradeResourceType value)

public UpgradeAvailableEvent.Builder setResourceType(UpgradeResourceType value)

The resource type of the release version.

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

Parameter
Name Description
value UpgradeResourceType

The resourceType to set.

Returns
Type Description
UpgradeAvailableEvent.Builder

This builder for chaining.

setResourceTypeValue(int value)

public UpgradeAvailableEvent.Builder setResourceTypeValue(int value)

The resource type of the release version.

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

Parameter
Name Description
value int

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

Returns
Type Description
UpgradeAvailableEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final UpgradeAvailableEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpgradeAvailableEvent.Builder
Overrides

setVersion(String value)

public UpgradeAvailableEvent.Builder setVersion(String value)

The release version available for upgrade.

string version = 1;

Parameter
Name Description
value String

The version to set.

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

The bytes for version to set.

Returns
Type Description
UpgradeAvailableEvent.Builder

This builder for chaining.