Class SecurityBulletinEvent (2.36.0)

public final class SecurityBulletinEvent extends GeneratedMessageV3 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 Fields

AFFECTED_SUPPORTED_MINORS_FIELD_NUMBER

public static final int AFFECTED_SUPPORTED_MINORS_FIELD_NUMBER
Field Value
TypeDescription
int

BRIEF_DESCRIPTION_FIELD_NUMBER

public static final int BRIEF_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

BULLETIN_ID_FIELD_NUMBER

public static final int BULLETIN_ID_FIELD_NUMBER
Field Value
TypeDescription
int

BULLETIN_URI_FIELD_NUMBER

public static final int BULLETIN_URI_FIELD_NUMBER
Field Value
TypeDescription
int

CVE_IDS_FIELD_NUMBER

public static final int CVE_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

MANUAL_STEPS_REQUIRED_FIELD_NUMBER

public static final int MANUAL_STEPS_REQUIRED_FIELD_NUMBER
Field Value
TypeDescription
int

PATCHED_VERSIONS_FIELD_NUMBER

public static final int PATCHED_VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_TYPE_AFFECTED_FIELD_NUMBER

public static final int RESOURCE_TYPE_AFFECTED_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER

public static final int SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityBulletinEvent getDefaultInstance()
Returns
TypeDescription
SecurityBulletinEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SecurityBulletinEvent.Builder newBuilder()
Returns
TypeDescription
SecurityBulletinEvent.Builder

newBuilder(SecurityBulletinEvent prototype)

public static SecurityBulletinEvent.Builder newBuilder(SecurityBulletinEvent prototype)
Parameter
NameDescription
prototypeSecurityBulletinEvent
Returns
TypeDescription
SecurityBulletinEvent.Builder

parseDelimitedFrom(InputStream input)

public static SecurityBulletinEvent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityBulletinEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SecurityBulletinEvent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityBulletinEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityBulletinEvent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityBulletinEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityBulletinEvent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityBulletinEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SecurityBulletinEvent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityBulletinEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SecurityBulletinEvent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityBulletinEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityBulletinEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SecurityBulletinEvent> parser()
Returns
TypeDescription
Parser<SecurityBulletinEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<SecurityBulletinEvent> getParserForType()
Returns
TypeDescription
Parser<SecurityBulletinEvent>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SecurityBulletinEvent.Builder newBuilderForType()
Returns
TypeDescription
SecurityBulletinEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityBulletinEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SecurityBulletinEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SecurityBulletinEvent.Builder toBuilder()
Returns
TypeDescription
SecurityBulletinEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException