Class SecurityBulletinEvent.Builder (2.58.0)

public static final class SecurityBulletinEvent.Builder extends GeneratedMessageV3.Builder<SecurityBulletinEvent.Builder> implements SecurityBulletinEventOrBuilder

SecurityBulletinEvent is a notification sent to customers when a security bulletin has been posted that they are vulnerable to.

Protobuf type google.container.v1.SecurityBulletinEvent

Static Methods

getDescriptor()

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

Methods

addAffectedSupportedMinors(String value)

public SecurityBulletinEvent.Builder addAffectedSupportedMinors(String value)

The GKE minor versions affected by this vulnerability.

repeated string affected_supported_minors = 7;

Parameter
Name Description
value String

The affectedSupportedMinors to add.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

addAffectedSupportedMinorsBytes(ByteString value)

public SecurityBulletinEvent.Builder addAffectedSupportedMinorsBytes(ByteString value)

The GKE minor versions affected by this vulnerability.

repeated string affected_supported_minors = 7;

Parameter
Name Description
value ByteString

The bytes of the affectedSupportedMinors to add.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

addAllAffectedSupportedMinors(Iterable<String> values)

public SecurityBulletinEvent.Builder addAllAffectedSupportedMinors(Iterable<String> values)

The GKE minor versions affected by this vulnerability.

repeated string affected_supported_minors = 7;

Parameter
Name Description
values Iterable<String>

The affectedSupportedMinors to add.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

addAllCveIds(Iterable<String> values)

public SecurityBulletinEvent.Builder addAllCveIds(Iterable<String> values)

The CVEs associated with this bulletin.

repeated string cve_ids = 3;

Parameter
Name Description
values Iterable<String>

The cveIds to add.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

addAllPatchedVersions(Iterable<String> values)

public SecurityBulletinEvent.Builder addAllPatchedVersions(Iterable<String> values)

The GKE versions where this vulnerability is patched.

repeated string patched_versions = 8;

Parameter
Name Description
values Iterable<String>

The patchedVersions to add.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

addCveIds(String value)

public SecurityBulletinEvent.Builder addCveIds(String value)

The CVEs associated with this bulletin.

repeated string cve_ids = 3;

Parameter
Name Description
value String

The cveIds to add.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

addCveIdsBytes(ByteString value)

public SecurityBulletinEvent.Builder addCveIdsBytes(ByteString value)

The CVEs associated with this bulletin.

repeated string cve_ids = 3;

Parameter
Name Description
value ByteString

The bytes of the cveIds to add.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

addPatchedVersions(String value)

public SecurityBulletinEvent.Builder addPatchedVersions(String value)

The GKE versions where this vulnerability is patched.

repeated string patched_versions = 8;

Parameter
Name Description
value String

The patchedVersions to add.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

addPatchedVersionsBytes(ByteString value)

public SecurityBulletinEvent.Builder addPatchedVersionsBytes(ByteString value)

The GKE versions where this vulnerability is patched.

repeated string patched_versions = 8;

Parameter
Name Description
value ByteString

The bytes of the patchedVersions to add.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityBulletinEvent build()
Returns
Type Description
SecurityBulletinEvent

buildPartial()

public SecurityBulletinEvent buildPartial()
Returns
Type Description
SecurityBulletinEvent

clear()

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

clearAffectedSupportedMinors()

public SecurityBulletinEvent.Builder clearAffectedSupportedMinors()

The GKE minor versions affected by this vulnerability.

repeated string affected_supported_minors = 7;

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

clearBriefDescription()

public SecurityBulletinEvent.Builder clearBriefDescription()

A brief description of the bulletin. See the bulletin pointed to by the bulletin_uri field for an expanded description.

string brief_description = 6;

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

clearBulletinId()

public SecurityBulletinEvent.Builder clearBulletinId()

The ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 2;

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

clearBulletinUri()

public SecurityBulletinEvent.Builder clearBulletinUri()

The URI link to the bulletin on the website for more information.

string bulletin_uri = 5;

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

clearCveIds()

public SecurityBulletinEvent.Builder clearCveIds()

The CVEs associated with this bulletin.

repeated string cve_ids = 3;

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearManualStepsRequired()

public SecurityBulletinEvent.Builder clearManualStepsRequired()

If this field is specified, it means there are manual steps that the user must take to make their clusters safe.

bool manual_steps_required = 10;

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPatchedVersions()

public SecurityBulletinEvent.Builder clearPatchedVersions()

The GKE versions where this vulnerability is patched.

repeated string patched_versions = 8;

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

clearResourceTypeAffected()

public SecurityBulletinEvent.Builder clearResourceTypeAffected()

The resource type (node/control plane) that has the vulnerability. Multiple notifications (1 notification per resource type) will be sent for a vulnerability that affects > 1 resource type.

string resource_type_affected = 1;

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

clearSeverity()

public SecurityBulletinEvent.Builder clearSeverity()

The severity of this bulletin as it relates to GKE.

string severity = 4;

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

clearSuggestedUpgradeTarget()

public SecurityBulletinEvent.Builder clearSuggestedUpgradeTarget()

This represents a version selected from the patched_versions field that the cluster receiving this notification should most likely want to upgrade to based on its current version. Note that if this notification is being received by a given cluster, it means that this version is currently available as an upgrade target in that cluster's location.

string suggested_upgrade_target = 9;

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

clone()

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

getAffectedSupportedMinors(int index)

public String getAffectedSupportedMinors(int index)

The GKE minor versions affected by this vulnerability.

repeated string affected_supported_minors = 7;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The affectedSupportedMinors at the given index.

getAffectedSupportedMinorsBytes(int index)

public ByteString getAffectedSupportedMinorsBytes(int index)

The GKE minor versions affected by this vulnerability.

repeated string affected_supported_minors = 7;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the affectedSupportedMinors at the given index.

getAffectedSupportedMinorsCount()

public int getAffectedSupportedMinorsCount()

The GKE minor versions affected by this vulnerability.

repeated string affected_supported_minors = 7;

Returns
Type Description
int

The count of affectedSupportedMinors.

getAffectedSupportedMinorsList()

public ProtocolStringList getAffectedSupportedMinorsList()

The GKE minor versions affected by this vulnerability.

repeated string affected_supported_minors = 7;

Returns
Type Description
ProtocolStringList

A list containing the affectedSupportedMinors.

getBriefDescription()

public String getBriefDescription()

A brief description of the bulletin. See the bulletin pointed to by the bulletin_uri field for an expanded description.

string brief_description = 6;

Returns
Type Description
String

The briefDescription.

getBriefDescriptionBytes()

public ByteString getBriefDescriptionBytes()

A brief description of the bulletin. See the bulletin pointed to by the bulletin_uri field for an expanded description.

string brief_description = 6;

Returns
Type Description
ByteString

The bytes for briefDescription.

getBulletinId()

public String getBulletinId()

The ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 2;

Returns
Type Description
String

The bulletinId.

getBulletinIdBytes()

public ByteString getBulletinIdBytes()

The ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 2;

Returns
Type Description
ByteString

The bytes for bulletinId.

getBulletinUri()

public String getBulletinUri()

The URI link to the bulletin on the website for more information.

string bulletin_uri = 5;

Returns
Type Description
String

The bulletinUri.

getBulletinUriBytes()

public ByteString getBulletinUriBytes()

The URI link to the bulletin on the website for more information.

string bulletin_uri = 5;

Returns
Type Description
ByteString

The bytes for bulletinUri.

getCveIds(int index)

public String getCveIds(int index)

The CVEs associated with this bulletin.

repeated string cve_ids = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The cveIds at the given index.

getCveIdsBytes(int index)

public ByteString getCveIdsBytes(int index)

The CVEs associated with this bulletin.

repeated string cve_ids = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the cveIds at the given index.

getCveIdsCount()

public int getCveIdsCount()

The CVEs associated with this bulletin.

repeated string cve_ids = 3;

Returns
Type Description
int

The count of cveIds.

getCveIdsList()

public ProtocolStringList getCveIdsList()

The CVEs associated with this bulletin.

repeated string cve_ids = 3;

Returns
Type Description
ProtocolStringList

A list containing the cveIds.

getDefaultInstanceForType()

public SecurityBulletinEvent getDefaultInstanceForType()
Returns
Type Description
SecurityBulletinEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getManualStepsRequired()

public boolean getManualStepsRequired()

If this field is specified, it means there are manual steps that the user must take to make their clusters safe.

bool manual_steps_required = 10;

Returns
Type Description
boolean

The manualStepsRequired.

getPatchedVersions(int index)

public String getPatchedVersions(int index)

The GKE versions where this vulnerability is patched.

repeated string patched_versions = 8;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The patchedVersions at the given index.

getPatchedVersionsBytes(int index)

public ByteString getPatchedVersionsBytes(int index)

The GKE versions where this vulnerability is patched.

repeated string patched_versions = 8;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the patchedVersions at the given index.

getPatchedVersionsCount()

public int getPatchedVersionsCount()

The GKE versions where this vulnerability is patched.

repeated string patched_versions = 8;

Returns
Type Description
int

The count of patchedVersions.

getPatchedVersionsList()

public ProtocolStringList getPatchedVersionsList()

The GKE versions where this vulnerability is patched.

repeated string patched_versions = 8;

Returns
Type Description
ProtocolStringList

A list containing the patchedVersions.

getResourceTypeAffected()

public String getResourceTypeAffected()

The resource type (node/control plane) that has the vulnerability. Multiple notifications (1 notification per resource type) will be sent for a vulnerability that affects > 1 resource type.

string resource_type_affected = 1;

Returns
Type Description
String

The resourceTypeAffected.

getResourceTypeAffectedBytes()

public ByteString getResourceTypeAffectedBytes()

The resource type (node/control plane) that has the vulnerability. Multiple notifications (1 notification per resource type) will be sent for a vulnerability that affects > 1 resource type.

string resource_type_affected = 1;

Returns
Type Description
ByteString

The bytes for resourceTypeAffected.

getSeverity()

public String getSeverity()

The severity of this bulletin as it relates to GKE.

string severity = 4;

Returns
Type Description
String

The severity.

getSeverityBytes()

public ByteString getSeverityBytes()

The severity of this bulletin as it relates to GKE.

string severity = 4;

Returns
Type Description
ByteString

The bytes for severity.

getSuggestedUpgradeTarget()

public String getSuggestedUpgradeTarget()

This represents a version selected from the patched_versions field that the cluster receiving this notification should most likely want to upgrade to based on its current version. Note that if this notification is being received by a given cluster, it means that this version is currently available as an upgrade target in that cluster's location.

string suggested_upgrade_target = 9;

Returns
Type Description
String

The suggestedUpgradeTarget.

getSuggestedUpgradeTargetBytes()

public ByteString getSuggestedUpgradeTargetBytes()

This represents a version selected from the patched_versions field that the cluster receiving this notification should most likely want to upgrade to based on its current version. Note that if this notification is being received by a given cluster, it means that this version is currently available as an upgrade target in that cluster's location.

string suggested_upgrade_target = 9;

Returns
Type Description
ByteString

The bytes for suggestedUpgradeTarget.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityBulletinEvent other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SecurityBulletinEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SecurityBulletinEvent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAffectedSupportedMinors(int index, String value)

public SecurityBulletinEvent.Builder setAffectedSupportedMinors(int index, String value)

The GKE minor versions affected by this vulnerability.

repeated string affected_supported_minors = 7;

Parameters
Name Description
index int

The index to set the value at.

value String

The affectedSupportedMinors to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setBriefDescription(String value)

public SecurityBulletinEvent.Builder setBriefDescription(String value)

A brief description of the bulletin. See the bulletin pointed to by the bulletin_uri field for an expanded description.

string brief_description = 6;

Parameter
Name Description
value String

The briefDescription to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setBriefDescriptionBytes(ByteString value)

public SecurityBulletinEvent.Builder setBriefDescriptionBytes(ByteString value)

A brief description of the bulletin. See the bulletin pointed to by the bulletin_uri field for an expanded description.

string brief_description = 6;

Parameter
Name Description
value ByteString

The bytes for briefDescription to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setBulletinId(String value)

public SecurityBulletinEvent.Builder setBulletinId(String value)

The ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 2;

Parameter
Name Description
value String

The bulletinId to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setBulletinIdBytes(ByteString value)

public SecurityBulletinEvent.Builder setBulletinIdBytes(ByteString value)

The ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 2;

Parameter
Name Description
value ByteString

The bytes for bulletinId to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setBulletinUri(String value)

public SecurityBulletinEvent.Builder setBulletinUri(String value)

The URI link to the bulletin on the website for more information.

string bulletin_uri = 5;

Parameter
Name Description
value String

The bulletinUri to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setBulletinUriBytes(ByteString value)

public SecurityBulletinEvent.Builder setBulletinUriBytes(ByteString value)

The URI link to the bulletin on the website for more information.

string bulletin_uri = 5;

Parameter
Name Description
value ByteString

The bytes for bulletinUri to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setCveIds(int index, String value)

public SecurityBulletinEvent.Builder setCveIds(int index, String value)

The CVEs associated with this bulletin.

repeated string cve_ids = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The cveIds to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setManualStepsRequired(boolean value)

public SecurityBulletinEvent.Builder setManualStepsRequired(boolean value)

If this field is specified, it means there are manual steps that the user must take to make their clusters safe.

bool manual_steps_required = 10;

Parameter
Name Description
value boolean

The manualStepsRequired to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setPatchedVersions(int index, String value)

public SecurityBulletinEvent.Builder setPatchedVersions(int index, String value)

The GKE versions where this vulnerability is patched.

repeated string patched_versions = 8;

Parameters
Name Description
index int

The index to set the value at.

value String

The patchedVersions to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

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

public SecurityBulletinEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SecurityBulletinEvent.Builder
Overrides

setResourceTypeAffected(String value)

public SecurityBulletinEvent.Builder setResourceTypeAffected(String value)

The resource type (node/control plane) that has the vulnerability. Multiple notifications (1 notification per resource type) will be sent for a vulnerability that affects > 1 resource type.

string resource_type_affected = 1;

Parameter
Name Description
value String

The resourceTypeAffected to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setResourceTypeAffectedBytes(ByteString value)

public SecurityBulletinEvent.Builder setResourceTypeAffectedBytes(ByteString value)

The resource type (node/control plane) that has the vulnerability. Multiple notifications (1 notification per resource type) will be sent for a vulnerability that affects > 1 resource type.

string resource_type_affected = 1;

Parameter
Name Description
value ByteString

The bytes for resourceTypeAffected to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setSeverity(String value)

public SecurityBulletinEvent.Builder setSeverity(String value)

The severity of this bulletin as it relates to GKE.

string severity = 4;

Parameter
Name Description
value String

The severity to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setSeverityBytes(ByteString value)

public SecurityBulletinEvent.Builder setSeverityBytes(ByteString value)

The severity of this bulletin as it relates to GKE.

string severity = 4;

Parameter
Name Description
value ByteString

The bytes for severity to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setSuggestedUpgradeTarget(String value)

public SecurityBulletinEvent.Builder setSuggestedUpgradeTarget(String value)

This represents a version selected from the patched_versions field that the cluster receiving this notification should most likely want to upgrade to based on its current version. Note that if this notification is being received by a given cluster, it means that this version is currently available as an upgrade target in that cluster's location.

string suggested_upgrade_target = 9;

Parameter
Name Description
value String

The suggestedUpgradeTarget to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setSuggestedUpgradeTargetBytes(ByteString value)

public SecurityBulletinEvent.Builder setSuggestedUpgradeTargetBytes(ByteString value)

This represents a version selected from the patched_versions field that the cluster receiving this notification should most likely want to upgrade to based on its current version. Note that if this notification is being received by a given cluster, it means that this version is currently available as an upgrade target in that cluster's location.

string suggested_upgrade_target = 9;

Parameter
Name Description
value ByteString

The bytes for suggestedUpgradeTarget to set.

Returns
Type Description
SecurityBulletinEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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