Class SecurityBulletin (2.45.0)

public final class SecurityBulletin extends GeneratedMessageV3 implements SecurityBulletinOrBuilder

SecurityBulletin are notifications of vulnerabilities of Google products.

Protobuf type google.cloud.securitycenter.v2.SecurityBulletin

Static Fields

BULLETIN_ID_FIELD_NUMBER

public static final int BULLETIN_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SUBMISSION_TIME_FIELD_NUMBER

public static final int SUBMISSION_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

SUGGESTED_UPGRADE_VERSION_FIELD_NUMBER

public static final int SUGGESTED_UPGRADE_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityBulletin getDefaultInstance()
Returns
TypeDescription
SecurityBulletin

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityBulletin prototype)

public static SecurityBulletin.Builder newBuilder(SecurityBulletin prototype)
Parameter
NameDescription
prototypeSecurityBulletin
Returns
TypeDescription
SecurityBulletin.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBulletinId()

public String getBulletinId()

ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 1;

Returns
TypeDescription
String

The bulletinId.

getBulletinIdBytes()

public ByteString getBulletinIdBytes()

ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 1;

Returns
TypeDescription
ByteString

The bytes for bulletinId.

getDefaultInstanceForType()

public SecurityBulletin getDefaultInstanceForType()
Returns
TypeDescription
SecurityBulletin

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubmissionTime()

public Timestamp getSubmissionTime()

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Returns
TypeDescription
Timestamp

The submissionTime.

getSubmissionTimeOrBuilder()

public TimestampOrBuilder getSubmissionTimeOrBuilder()

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getSuggestedUpgradeVersion()

public String getSuggestedUpgradeVersion()

This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0

string suggested_upgrade_version = 3;

Returns
TypeDescription
String

The suggestedUpgradeVersion.

getSuggestedUpgradeVersionBytes()

public ByteString getSuggestedUpgradeVersionBytes()

This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0

string suggested_upgrade_version = 3;

Returns
TypeDescription
ByteString

The bytes for suggestedUpgradeVersion.

hasSubmissionTime()

public boolean hasSubmissionTime()

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Returns
TypeDescription
boolean

Whether the submissionTime field is set.

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 SecurityBulletin.Builder newBuilderForType()
Returns
TypeDescription
SecurityBulletin.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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