- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public static final class VulnerabilityReport.Builder extends GeneratedMessageV3.Builder<VulnerabilityReport.Builder> implements VulnerabilityReportOrBuilder
This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time.
For more information, see Vulnerability reports.
Protobuf type google.cloud.osconfig.v1.VulnerabilityReport
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityReport.BuilderImplements
VulnerabilityReportOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllVulnerabilities(Iterable<? extends VulnerabilityReport.Vulnerability> values)
public VulnerabilityReport.Builder addAllVulnerabilities(Iterable<? extends VulnerabilityReport.Vulnerability> values)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability> |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityReport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
addVulnerabilities(VulnerabilityReport.Vulnerability value)
public VulnerabilityReport.Builder addVulnerabilities(VulnerabilityReport.Vulnerability value)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | VulnerabilityReport.Vulnerability |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
addVulnerabilities(VulnerabilityReport.Vulnerability.Builder builderForValue)
public VulnerabilityReport.Builder addVulnerabilities(VulnerabilityReport.Vulnerability.Builder builderForValue)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | VulnerabilityReport.Vulnerability.Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
addVulnerabilities(int index, VulnerabilityReport.Vulnerability value)
public VulnerabilityReport.Builder addVulnerabilities(int index, VulnerabilityReport.Vulnerability value)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
value | VulnerabilityReport.Vulnerability |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
addVulnerabilities(int index, VulnerabilityReport.Vulnerability.Builder builderForValue)
public VulnerabilityReport.Builder addVulnerabilities(int index, VulnerabilityReport.Vulnerability.Builder builderForValue)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | VulnerabilityReport.Vulnerability.Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
addVulnerabilitiesBuilder()
public VulnerabilityReport.Vulnerability.Builder addVulnerabilitiesBuilder()
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
addVulnerabilitiesBuilder(int index)
public VulnerabilityReport.Vulnerability.Builder addVulnerabilitiesBuilder(int index)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
build()
public VulnerabilityReport build()
Returns | |
---|---|
Type | Description |
VulnerabilityReport |
buildPartial()
public VulnerabilityReport buildPartial()
Returns | |
---|---|
Type | Description |
VulnerabilityReport |
clear()
public VulnerabilityReport.Builder clear()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityReport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
clearName()
public VulnerabilityReport.Builder clearName()
Output only. The vulnerabilityReport
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityReport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
clearUpdateTime()
public VulnerabilityReport.Builder clearUpdateTime()
Output only. The timestamp for when the last vulnerability report was generated for the VM.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
clearVulnerabilities()
public VulnerabilityReport.Builder clearVulnerabilities()
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
clone()
public VulnerabilityReport.Builder clone()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
getDefaultInstanceForType()
public VulnerabilityReport getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VulnerabilityReport |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Output only. The vulnerabilityReport
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The vulnerabilityReport
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The timestamp for when the last vulnerability report was generated for the VM.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp for when the last vulnerability report was generated for the VM.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp for when the last vulnerability report was generated for the VM.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getVulnerabilities(int index)
public VulnerabilityReport.Vulnerability getVulnerabilities(int index)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability |
getVulnerabilitiesBuilder(int index)
public VulnerabilityReport.Vulnerability.Builder getVulnerabilitiesBuilder(int index)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
getVulnerabilitiesBuilderList()
public List<VulnerabilityReport.Vulnerability.Builder> getVulnerabilitiesBuilderList()
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getVulnerabilitiesCount()
public int getVulnerabilitiesCount()
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getVulnerabilitiesList()
public List<VulnerabilityReport.Vulnerability> getVulnerabilitiesList()
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Vulnerability> |
getVulnerabilitiesOrBuilder(int index)
public VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder(int index)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.VulnerabilityOrBuilder |
getVulnerabilitiesOrBuilderList()
public List<? extends VulnerabilityReport.VulnerabilityOrBuilder> getVulnerabilitiesOrBuilderList()
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder> |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The timestamp for when the last vulnerability report was generated for the VM.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(VulnerabilityReport other)
public VulnerabilityReport.Builder mergeFrom(VulnerabilityReport other)
Parameter | |
---|---|
Name | Description |
other | VulnerabilityReport |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityReport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VulnerabilityReport.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
mergeUpdateTime(Timestamp value)
public VulnerabilityReport.Builder mergeUpdateTime(Timestamp value)
Output only. The timestamp for when the last vulnerability report was generated for the VM.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
removeVulnerabilities(int index)
public VulnerabilityReport.Builder removeVulnerabilities(int index)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityReport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
setName(String value)
public VulnerabilityReport.Builder setName(String value)
Output only. The vulnerabilityReport
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public VulnerabilityReport.Builder setNameBytes(ByteString value)
Output only. The vulnerabilityReport
API resource name.
Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityReport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityReport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
setUpdateTime(Timestamp value)
public VulnerabilityReport.Builder setUpdateTime(Timestamp value)
Output only. The timestamp for when the last vulnerability report was generated for the VM.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public VulnerabilityReport.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The timestamp for when the last vulnerability report was generated for the VM.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
setVulnerabilities(int index, VulnerabilityReport.Vulnerability value)
public VulnerabilityReport.Builder setVulnerabilities(int index, VulnerabilityReport.Vulnerability value)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
value | VulnerabilityReport.Vulnerability |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |
setVulnerabilities(int index, VulnerabilityReport.Vulnerability.Builder builderForValue)
public VulnerabilityReport.Builder setVulnerabilities(int index, VulnerabilityReport.Vulnerability.Builder builderForValue)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | VulnerabilityReport.Vulnerability.Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Builder |