- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpgradeAvailableEvent.BuilderImplements
UpgradeAvailableEventOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public UpgradeAvailableEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpgradeAvailableEvent.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeAvailableEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpgradeAvailableEvent.Builder |
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 |
getDefaultInstanceForType()
public UpgradeAvailableEvent getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpgradeAvailableEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpgradeAvailableEvent.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpgradeAvailableEvent.Builder |
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 |
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 |
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 |
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 |
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. |