Class SecurityBulletinEvent.Builder (2.12.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
TypeDescription
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
NameDescription
valueString

The affectedSupportedMinors to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the affectedSupportedMinors to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The affectedSupportedMinors to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The cveIds to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The patchedVersions to add.

Returns
TypeDescription
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
NameDescription
valueString

The cveIds to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the cveIds to add.

Returns
TypeDescription
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
NameDescription
valueString

The patchedVersions to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the patchedVersions to add.

Returns
TypeDescription
SecurityBulletinEvent.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityBulletinEvent build()
Returns
TypeDescription
SecurityBulletinEvent

buildPartial()

public SecurityBulletinEvent buildPartial()
Returns
TypeDescription
SecurityBulletinEvent

clear()

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

clearAffectedSupportedMinors()

public SecurityBulletinEvent.Builder clearAffectedSupportedMinors()

The GKE minor versions affected by this vulnerability.

repeated string affected_supported_minors = 7;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SecurityBulletinEvent.Builder

This builder for chaining.

clearCveIds()

public SecurityBulletinEvent.Builder clearCveIds()

The CVEs associated with this bulletin.

repeated string cve_ids = 3;

Returns
TypeDescription
SecurityBulletinEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SecurityBulletinEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SecurityBulletinEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPatchedVersions()

public SecurityBulletinEvent.Builder clearPatchedVersions()

The GKE versions where this vulnerability is patched.

repeated string patched_versions = 8;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SecurityBulletinEvent.Builder

This builder for chaining.

clone()

public SecurityBulletinEvent.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of affectedSupportedMinors.

getAffectedSupportedMinorsList()

public ProtocolStringList getAffectedSupportedMinorsList()

The GKE minor versions affected by this vulnerability.

repeated string affected_supported_minors = 7;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for briefDescription.

getBulletinId()

public String getBulletinId()

The ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 2;

Returns
TypeDescription
String

The bulletinId.

getBulletinIdBytes()

public ByteString getBulletinIdBytes()

The ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 2;

Returns
TypeDescription
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
TypeDescription
String

The bulletinUri.

getBulletinUriBytes()

public ByteString getBulletinUriBytes()

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

string bulletin_uri = 5;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of cveIds.

getCveIdsList()

public ProtocolStringList getCveIdsList()

The CVEs associated with this bulletin.

repeated string cve_ids = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the cveIds.

getDefaultInstanceForType()

public SecurityBulletinEvent getDefaultInstanceForType()
Returns
TypeDescription
SecurityBulletinEvent

getDescriptorForType()

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

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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;

Retu