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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityBulletin.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SecurityBulletin build()
buildPartial()
public SecurityBulletin buildPartial()
clear()
public SecurityBulletin.Builder clear()
Overrides
clearBulletinId()
public SecurityBulletin.Builder clearBulletinId()
ID of the bulletin corresponding to the vulnerability.
string bulletin_id = 1;
clearField(Descriptors.FieldDescriptor field)
public SecurityBulletin.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityBulletin.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSubmissionTime()
public SecurityBulletin.Builder clearSubmissionTime()
Submission time of this Security Bulletin.
.google.protobuf.Timestamp submission_time = 2;
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;
clone()
public SecurityBulletin.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getSubmissionTimeOrBuilder()
public TimestampOrBuilder getSubmissionTimeOrBuilder()
Submission time of this Security Bulletin.
.google.protobuf.Timestamp submission_time = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SecurityBulletin other)
public SecurityBulletin.Builder mergeFrom(SecurityBulletin other)
public SecurityBulletin.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecurityBulletin.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSubmissionTime(Timestamp value)
public SecurityBulletin.Builder mergeSubmissionTime(Timestamp value)
Submission time of this Security Bulletin.
.google.protobuf.Timestamp submission_time = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityBulletin.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityBulletin.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityBulletin.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubmissionTime(Timestamp value)
public SecurityBulletin.Builder setSubmissionTime(Timestamp value)
Submission time of this Security Bulletin.
.google.protobuf.Timestamp submission_time = 2;
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
|
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityBulletin.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides