public static final class SecurityBulletin.Builder extends GeneratedMessage.Builder<SecurityBulletin.Builder> implements SecurityBulletinOrBuilderSecurityBulletin are notifications of vulnerabilities of Google products.
Protobuf type google.cloud.securitycenter.v2.SecurityBulletin
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SecurityBulletin.BuilderImplements
SecurityBulletinOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SecurityBulletin.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SecurityBulletin.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for bulletinId to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityBulletin.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for suggestedUpgradeVersion to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityBulletin.Builder |
This builder for chaining. |