Class SecurityBulletin.Builder (2.57.0)

public static final class SecurityBulletin.Builder extends GeneratedMessageV3.Builder<SecurityBulletin.Builder> implements SecurityBulletinOrBuilder

SecurityBulletin are notifications of vulnerabilities of Google products.

Protobuf type google.cloud.securitycenter.v1.SecurityBulletin

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityBulletin build()
Returns
Type Description
SecurityBulletin

buildPartial()

public SecurityBulletin buildPartial()
Returns
Type Description
SecurityBulletin

clear()

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

clearBulletinId()

public SecurityBulletin.Builder clearBulletinId()

ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 1;

Returns
Type Description
SecurityBulletin.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubmissionTime()

public SecurityBulletin.Builder clearSubmissionTime()

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Returns
Type Description
SecurityBulletin.Builder

clearSuggestedUpgradeVersion()

public SecurityBulletin.Builder clearSuggestedUpgradeVersion()

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
Type Description
SecurityBulletin.Builder

This builder for chaining.

clone()

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

getBulletinId()

public String getBulletinId()

ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 1;

Returns
Type Description
String

The bulletinId.

getBulletinIdBytes()

public ByteString getBulletinIdBytes()

ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 1;

Returns
Type Description
ByteString

The bytes for bulletinId.

getDefaultInstanceForType()

public SecurityBulletin getDefaultInstanceForType()
Returns
Type Description
SecurityBulletin

getDescriptorForType()

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

getSubmissionTime()

public Timestamp getSubmissionTime()

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Returns
Type Description
Timestamp

The submissionTime.

getSubmissionTimeBuilder()

public Timestamp.Builder getSubmissionTimeBuilder()

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Returns
Type Description
Builder

getSubmissionTimeOrBuilder()

public TimestampOrBuilder getSubmissionTimeOrBuilder()

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for suggestedUpgradeVersion.

hasSubmissionTime()

public boolean hasSubmissionTime()

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Returns
Type Description
boolean

Whether the submissionTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityBulletin other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSubmissionTime(Timestamp value)

public SecurityBulletin.Builder mergeSubmissionTime(Timestamp value)

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
SecurityBulletin.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBulletinId(String value)

public SecurityBulletin.Builder setBulletinId(String value)

ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 1;

Parameter
Name Description
value String

The bulletinId to set.

Returns
Type Description
SecurityBulletin.Builder

This builder for chaining.

setBulletinIdBytes(ByteString value)

public SecurityBulletin.Builder setBulletinIdBytes(ByteString value)

ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 1;

Parameter
Name Description
value ByteString

The bytes for bulletinId to set.

Returns
Type Description
SecurityBulletin.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSubmissionTime(Timestamp value)

public SecurityBulletin.Builder setSubmissionTime(Timestamp value)

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
SecurityBulletin.Builder

setSubmissionTime(Timestamp.Builder builderForValue)

public SecurityBulletin.Builder setSubmissionTime(Timestamp.Builder builderForValue)

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SecurityBulletin.Builder

setSuggestedUpgradeVersion(String value)

public SecurityBulletin.Builder setSuggestedUpgradeVersion(String value)

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;

Parameter
Name Description
value String

The suggestedUpgradeVersion to set.

Returns
Type Description
SecurityBulletin.Builder

This builder for chaining.

setSuggestedUpgradeVersionBytes(ByteString value)

public SecurityBulletin.Builder setSuggestedUpgradeVersionBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for suggestedUpgradeVersion to set.

Returns
Type Description
SecurityBulletin.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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