Class SecurityBulletin.Builder (2.48.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.v2.SecurityBulletin

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityBulletin build()
Returns
TypeDescription
SecurityBulletin

buildPartial()

public SecurityBulletin buildPartial()
Returns
TypeDescription
SecurityBulletin

clear()

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

clearBulletinId()

public SecurityBulletin.Builder clearBulletinId()

ID of the bulletin corresponding to the vulnerability.

string bulletin_id = 1;

Returns
TypeDescription
SecurityBulletin.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SecurityBulletin.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SecurityBulletin.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubmissionTime()

public SecurityBulletin.Builder clearSubmissionTime()

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

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

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSubmissionTime()

public Timestamp getSubmissionTime()

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Returns
TypeDescription
Timestamp

The submissionTime.

getSubmissionTimeBuilder()

public Timestamp.Builder getSubmissionTimeBuilder()

Submission time of this Security Bulletin.

.google.protobuf.Timestamp submission_time = 2;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityBulletin other)

public SecurityBulletin.Builder mergeFrom(SecurityBulletin other)
Parameter
NameDescription
otherSecurityBulletin
Returns
TypeDescription
SecurityBulletin.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SecurityBulletin.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
SecurityBulletin.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The bulletinId to set.

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

The bytes for bulletinId to set.

Returns
TypeDescription
SecurityBulletin.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SecurityBulletin.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The suggestedUpgradeVersion to set.

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

The bytes for suggestedUpgradeVersion to set.

Returns
TypeDescription
SecurityBulletin.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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