public static final class ListVulnerabilityReportsResponse.Builder extends GeneratedMessageV3.Builder<ListVulnerabilityReportsResponse.Builder> implements ListVulnerabilityReportsResponseOrBuilder
A response message for listing vulnerability reports for all VM instances in
the specified location.
Protobuf type google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
addAllVulnerabilityReports(Iterable<? extends VulnerabilityReport> values)
public ListVulnerabilityReportsResponse.Builder addAllVulnerabilityReports(Iterable<? extends VulnerabilityReport> values)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListVulnerabilityReportsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addVulnerabilityReports(VulnerabilityReport value)
public ListVulnerabilityReportsResponse.Builder addVulnerabilityReports(VulnerabilityReport value)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
addVulnerabilityReports(VulnerabilityReport.Builder builderForValue)
public ListVulnerabilityReportsResponse.Builder addVulnerabilityReports(VulnerabilityReport.Builder builderForValue)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
addVulnerabilityReports(int index, VulnerabilityReport value)
public ListVulnerabilityReportsResponse.Builder addVulnerabilityReports(int index, VulnerabilityReport value)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
addVulnerabilityReports(int index, VulnerabilityReport.Builder builderForValue)
public ListVulnerabilityReportsResponse.Builder addVulnerabilityReports(int index, VulnerabilityReport.Builder builderForValue)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
addVulnerabilityReportsBuilder()
public VulnerabilityReport.Builder addVulnerabilityReportsBuilder()
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
addVulnerabilityReportsBuilder(int index)
public VulnerabilityReport.Builder addVulnerabilityReportsBuilder(int index)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListVulnerabilityReportsResponse build()
buildPartial()
public ListVulnerabilityReportsResponse buildPartial()
clear()
public ListVulnerabilityReportsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListVulnerabilityReportsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListVulnerabilityReportsResponse.Builder clearNextPageToken()
The pagination token to retrieve the next page of vulnerabilityReports
object.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListVulnerabilityReportsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVulnerabilityReports()
public ListVulnerabilityReportsResponse.Builder clearVulnerabilityReports()
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
clone()
public ListVulnerabilityReportsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListVulnerabilityReportsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
The pagination token to retrieve the next page of vulnerabilityReports
object.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The pagination token to retrieve the next page of vulnerabilityReports
object.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getVulnerabilityReports(int index)
public VulnerabilityReport getVulnerabilityReports(int index)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
Parameter |
---|
Name | Description |
index | int
|
getVulnerabilityReportsBuilder(int index)
public VulnerabilityReport.Builder getVulnerabilityReportsBuilder(int index)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
Parameter |
---|
Name | Description |
index | int
|
getVulnerabilityReportsBuilderList()
public List<VulnerabilityReport.Builder> getVulnerabilityReportsBuilderList()
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
getVulnerabilityReportsCount()
public int getVulnerabilityReportsCount()
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
Returns |
---|
Type | Description |
int | |
getVulnerabilityReportsList()
public List<VulnerabilityReport> getVulnerabilityReportsList()
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
getVulnerabilityReportsOrBuilder(int index)
public VulnerabilityReportOrBuilder getVulnerabilityReportsOrBuilder(int index)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
Parameter |
---|
Name | Description |
index | int
|
getVulnerabilityReportsOrBuilderList()
public List<? extends VulnerabilityReportOrBuilder> getVulnerabilityReportsOrBuilderList()
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListVulnerabilityReportsResponse other)
public ListVulnerabilityReportsResponse.Builder mergeFrom(ListVulnerabilityReportsResponse other)
public ListVulnerabilityReportsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListVulnerabilityReportsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListVulnerabilityReportsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeVulnerabilityReports(int index)
public ListVulnerabilityReportsResponse.Builder removeVulnerabilityReports(int index)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListVulnerabilityReportsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListVulnerabilityReportsResponse.Builder setNextPageToken(String value)
The pagination token to retrieve the next page of vulnerabilityReports
object.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListVulnerabilityReportsResponse.Builder setNextPageTokenBytes(ByteString value)
The pagination token to retrieve the next page of vulnerabilityReports
object.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListVulnerabilityReportsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListVulnerabilityReportsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVulnerabilityReports(int index, VulnerabilityReport value)
public ListVulnerabilityReportsResponse.Builder setVulnerabilityReports(int index, VulnerabilityReport value)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;
setVulnerabilityReports(int index, VulnerabilityReport.Builder builderForValue)
public ListVulnerabilityReportsResponse.Builder setVulnerabilityReports(int index, VulnerabilityReport.Builder builderForValue)
List of vulnerabilityReport objects.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;