public static final class ListVulnerabilityReportsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder> implements ListVulnerabilityReportsRequestOrBuilder
A request message for listing vulnerability reports for all VM instances in the specified location.Protobuf type
google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest| Modifier and Type | Method and Description |
|---|---|
ListVulnerabilityReportsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListVulnerabilityReportsRequest |
build() |
ListVulnerabilityReportsRequest |
buildPartial() |
ListVulnerabilityReportsRequest.Builder |
clear() |
ListVulnerabilityReportsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListVulnerabilityReportsRequest.Builder |
clearFilter()
If provided, this field specifies the criteria that must be met by a
`vulnerabilityReport` API resource to be included in the response.
|
ListVulnerabilityReportsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListVulnerabilityReportsRequest.Builder |
clearPageSize()
The maximum number of results to return.
|
ListVulnerabilityReportsRequest.Builder |
clearPageToken()
A pagination token returned from a previous call to
`ListVulnerabilityReports` that indicates where this listing
should continue from.
|
ListVulnerabilityReportsRequest.Builder |
clearParent()
Required.
|
ListVulnerabilityReportsRequest.Builder |
clone() |
ListVulnerabilityReportsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
If provided, this field specifies the criteria that must be met by a
`vulnerabilityReport` API resource to be included in the response.
|
com.google.protobuf.ByteString |
getFilterBytes()
If provided, this field specifies the criteria that must be met by a
`vulnerabilityReport` API resource to be included in the response.
|
int |
getPageSize()
The maximum number of results to return.
|
String |
getPageToken()
A pagination token returned from a previous call to
`ListVulnerabilityReports` that indicates where this listing
should continue from.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
A pagination token returned from a previous call to
`ListVulnerabilityReports` that indicates where this listing
should continue from.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListVulnerabilityReportsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListVulnerabilityReportsRequest.Builder |
mergeFrom(ListVulnerabilityReportsRequest other) |
ListVulnerabilityReportsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListVulnerabilityReportsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListVulnerabilityReportsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListVulnerabilityReportsRequest.Builder |
setFilter(String value)
If provided, this field specifies the criteria that must be met by a
`vulnerabilityReport` API resource to be included in the response.
|
ListVulnerabilityReportsRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
If provided, this field specifies the criteria that must be met by a
`vulnerabilityReport` API resource to be included in the response.
|
ListVulnerabilityReportsRequest.Builder |
setPageSize(int value)
The maximum number of results to return.
|
ListVulnerabilityReportsRequest.Builder |
setPageToken(String value)
A pagination token returned from a previous call to
`ListVulnerabilityReports` that indicates where this listing
should continue from.
|
ListVulnerabilityReportsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
A pagination token returned from a previous call to
`ListVulnerabilityReports` that indicates where this listing
should continue from.
|
ListVulnerabilityReportsRequest.Builder |
setParent(String value)
Required.
|
ListVulnerabilityReportsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListVulnerabilityReportsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListVulnerabilityReportsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>public ListVulnerabilityReportsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>public ListVulnerabilityReportsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListVulnerabilityReportsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListVulnerabilityReportsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListVulnerabilityReportsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>public ListVulnerabilityReportsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>public ListVulnerabilityReportsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>public ListVulnerabilityReportsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>public ListVulnerabilityReportsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>public ListVulnerabilityReportsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>public ListVulnerabilityReportsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListVulnerabilityReportsRequest.Builder>public ListVulnerabilityReportsRequest.Builder mergeFrom(ListVulnerabilityReportsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>public ListVulnerabilityReportsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListVulnerabilityReportsRequest.Builder>IOExceptionpublic String getParent()
Required. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListVulnerabilityReportsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListVulnerabilityReportsRequestOrBuilderpublic ListVulnerabilityReportsRequest.Builder setParent(String value)
Required. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListVulnerabilityReportsRequest.Builder clearParent()
Required. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListVulnerabilityReportsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent resource name.
Format: `projects/{project}/locations/{location}/instances/-`
For `{project}`, either `project-number` or `project-id` can be provided.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public int getPageSize()
The maximum number of results to return.
int32 page_size = 2;getPageSize in interface ListVulnerabilityReportsRequestOrBuilderpublic ListVulnerabilityReportsRequest.Builder setPageSize(int value)
The maximum number of results to return.
int32 page_size = 2;value - The pageSize to set.public ListVulnerabilityReportsRequest.Builder clearPageSize()
The maximum number of results to return.
int32 page_size = 2;public String getPageToken()
A pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from.
string page_token = 3;getPageToken in interface ListVulnerabilityReportsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
A pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from.
string page_token = 3;getPageTokenBytes in interface ListVulnerabilityReportsRequestOrBuilderpublic ListVulnerabilityReportsRequest.Builder setPageToken(String value)
A pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from.
string page_token = 3;value - The pageToken to set.public ListVulnerabilityReportsRequest.Builder clearPageToken()
A pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from.
string page_token = 3;public ListVulnerabilityReportsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
A pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from.
string page_token = 3;value - The bytes for pageToken to set.public String getFilter()
If provided, this field specifies the criteria that must be met by a `vulnerabilityReport` API resource to be included in the response.
string filter = 4;getFilter in interface ListVulnerabilityReportsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
If provided, this field specifies the criteria that must be met by a `vulnerabilityReport` API resource to be included in the response.
string filter = 4;getFilterBytes in interface ListVulnerabilityReportsRequestOrBuilderpublic ListVulnerabilityReportsRequest.Builder setFilter(String value)
If provided, this field specifies the criteria that must be met by a `vulnerabilityReport` API resource to be included in the response.
string filter = 4;value - The filter to set.public ListVulnerabilityReportsRequest.Builder clearFilter()
If provided, this field specifies the criteria that must be met by a `vulnerabilityReport` API resource to be included in the response.
string filter = 4;public ListVulnerabilityReportsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
If provided, this field specifies the criteria that must be met by a `vulnerabilityReport` API resource to be included in the response.
string filter = 4;value - The bytes for filter to set.public final ListVulnerabilityReportsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>public final ListVulnerabilityReportsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListVulnerabilityReportsRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.