Class SecurityBulletinEvent.Builder (2.37.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.v1beta1.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;

Returns
TypeDescription
int

The count of patchedVersions.

getPatchedVersionsList()

public ProtocolStringList getPatchedVersionsList()

The GKE versions where this vulnerability is patched.

repeated string patched_versions = 8;

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

The bytes for resourceTypeAffected.

getSeverity()

public String getSeverity()

The severity of this bulletin as it relates to GKE.

string severity = 4;

Returns
TypeDescription
String

The severity.

getSeverityBytes()

public ByteString getSeverityBytes()

The severity of this bulletin as it relates to GKE.

string severity = 4;

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

The bytes for suggestedUpgradeTarget.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityBulletinEvent other)

public SecurityBulletinEvent.Builder mergeFrom(SecurityBulletinEvent other)
Parameter
NameDescription
otherSecurityBulletinEvent
Returns
TypeDescription
SecurityBulletinEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityBulletinEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The affectedSupportedMinors to set.

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

The briefDescription to set.

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

The bytes for briefDescription to set.

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

The bulletinId to set.

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

The bytes for bulletinId to set.

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

The bulletinUri to set.

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

The bytes for bulletinUri to set.

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

The index to set the value at.

valueString

The cveIds to set.

Returns
TypeDescription
SecurityBulletinEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityBulletinEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The manualStepsRequired to set.

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

The index to set the value at.

valueString

The patchedVersions to set.

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

The resourceTypeAffected to set.

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

The bytes for resourceTypeAffected to set.

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

The severity to set.

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

The bytes for severity to set.

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

The suggestedUpgradeTarget to set.

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

The bytes for suggestedUpgradeTarget to set.

Returns
TypeDescription
SecurityBulletinEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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