public static final class ListOSPolicyAssignmentReportsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListOSPolicyAssignmentReportsRequest.Builder> implements ListOSPolicyAssignmentReportsRequestOrBuilder
List the OS policy assignment reports for VM instances.Protobuf type
google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest| Modifier and Type | Method and Description |
|---|---|
ListOSPolicyAssignmentReportsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListOSPolicyAssignmentReportsRequest |
build() |
ListOSPolicyAssignmentReportsRequest |
buildPartial() |
ListOSPolicyAssignmentReportsRequest.Builder |
clear() |
ListOSPolicyAssignmentReportsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListOSPolicyAssignmentReportsRequest.Builder |
clearFilter()
If provided, this field specifies the criteria that must be met by the
`OSPolicyAssignmentReport` API resource that is included in the response.
|
ListOSPolicyAssignmentReportsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListOSPolicyAssignmentReportsRequest.Builder |
clearPageSize()
The maximum number of results to return.
|
ListOSPolicyAssignmentReportsRequest.Builder |
clearPageToken()
A pagination token returned from a previous call to the
`ListOSPolicyAssignmentReports` method that indicates where this listing
should continue from.
|
ListOSPolicyAssignmentReportsRequest.Builder |
clearParent()
Required.
|
ListOSPolicyAssignmentReportsRequest.Builder |
clone() |
ListOSPolicyAssignmentReportsRequest |
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 the
`OSPolicyAssignmentReport` API resource that is included in the response.
|
com.google.protobuf.ByteString |
getFilterBytes()
If provided, this field specifies the criteria that must be met by the
`OSPolicyAssignmentReport` API resource that is included in the response.
|
int |
getPageSize()
The maximum number of results to return.
|
String |
getPageToken()
A pagination token returned from a previous call to the
`ListOSPolicyAssignmentReports` method that indicates where this listing
should continue from.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
A pagination token returned from a previous call to the
`ListOSPolicyAssignmentReports` method 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() |
ListOSPolicyAssignmentReportsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListOSPolicyAssignmentReportsRequest.Builder |
mergeFrom(ListOSPolicyAssignmentReportsRequest other) |
ListOSPolicyAssignmentReportsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListOSPolicyAssignmentReportsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListOSPolicyAssignmentReportsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListOSPolicyAssignmentReportsRequest.Builder |
setFilter(String value)
If provided, this field specifies the criteria that must be met by the
`OSPolicyAssignmentReport` API resource that is included in the response.
|
ListOSPolicyAssignmentReportsRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
If provided, this field specifies the criteria that must be met by the
`OSPolicyAssignmentReport` API resource that is included in the response.
|
ListOSPolicyAssignmentReportsRequest.Builder |
setPageSize(int value)
The maximum number of results to return.
|
ListOSPolicyAssignmentReportsRequest.Builder |
setPageToken(String value)
A pagination token returned from a previous call to the
`ListOSPolicyAssignmentReports` method that indicates where this listing
should continue from.
|
ListOSPolicyAssignmentReportsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
A pagination token returned from a previous call to the
`ListOSPolicyAssignmentReports` method that indicates where this listing
should continue from.
|
ListOSPolicyAssignmentReportsRequest.Builder |
setParent(String value)
Required.
|
ListOSPolicyAssignmentReportsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListOSPolicyAssignmentReportsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListOSPolicyAssignmentReportsRequest.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<ListOSPolicyAssignmentReportsRequest.Builder>public ListOSPolicyAssignmentReportsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListOSPolicyAssignmentReportsRequest.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<ListOSPolicyAssignmentReportsRequest.Builder>public ListOSPolicyAssignmentReportsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListOSPolicyAssignmentReportsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListOSPolicyAssignmentReportsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListOSPolicyAssignmentReportsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListOSPolicyAssignmentReportsRequest.Builder>public ListOSPolicyAssignmentReportsRequest.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<ListOSPolicyAssignmentReportsRequest.Builder>public ListOSPolicyAssignmentReportsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListOSPolicyAssignmentReportsRequest.Builder>public ListOSPolicyAssignmentReportsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListOSPolicyAssignmentReportsRequest.Builder>public ListOSPolicyAssignmentReportsRequest.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<ListOSPolicyAssignmentReportsRequest.Builder>public ListOSPolicyAssignmentReportsRequest.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<ListOSPolicyAssignmentReportsRequest.Builder>public ListOSPolicyAssignmentReportsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListOSPolicyAssignmentReportsRequest.Builder>public ListOSPolicyAssignmentReportsRequest.Builder mergeFrom(ListOSPolicyAssignmentReportsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListOSPolicyAssignmentReportsRequest.Builder>public ListOSPolicyAssignmentReportsRequest.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<ListOSPolicyAssignmentReportsRequest.Builder>IOExceptionpublic String getParent()
Required. The parent resource name.
Format:
`projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports`
For `{project}`, either `project-number` or `project-id` can be provided.
For `{instance}`, either `instance-name`, `instance-id`, or `-` can be
provided. If '-' is provided, the response will include
OSPolicyAssignmentReports for all instances in the project/location.
For `{assignment}`, either `assignment-id` or `-` can be provided. If '-'
is provided, the response will include OSPolicyAssignmentReports for all
OSPolicyAssignments in the project/location.
Either {instance} or {assignment} must be `-`.
For example:
`projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/-/reports`
returns all reports for the instance
`projects/{project}/locations/{location}/instances/-/osPolicyAssignments/{assignment-id}/reports`
returns all the reports for the given assignment across all instances.
`projects/{project}/locations/{location}/instances/-/osPolicyAssignments/-/reports`
returns all the reports for all assignments across all instances.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListOSPolicyAssignmentReportsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent resource name.
Format:
`projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports`
For `{project}`, either `project-number` or `project-id` can be provided.
For `{instance}`, either `instance-name`, `instance-id`, or `-` can be
provided. If '-' is provided, the response will include
OSPolicyAssignmentReports for all instances in the project/location.
For `{assignment}`, either `assignment-id` or `-` can be provided. If '-'
is provided, the response will include OSPolicyAssignmentReports for all
OSPolicyAssignments in the project/location.
Either {instance} or {assignment} must be `-`.
For example:
`projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/-/reports`
returns all reports for the instance
`projects/{project}/locations/{location}/instances/-/osPolicyAssignments/{assignment-id}/reports`
returns all the reports for the given assignment across all instances.
`projects/{project}/locations/{location}/instances/-/osPolicyAssignments/-/reports`
returns all the reports for all assignments across all instances.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListOSPolicyAssignmentReportsRequestOrBuilderpublic ListOSPolicyAssignmentReportsRequest.Builder setParent(String value)
Required. The parent resource name.
Format:
`projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports`
For `{project}`, either `project-number` or `project-id` can be provided.
For `{instance}`, either `instance-name`, `instance-id`, or `-` can be
provided. If '-' is provided, the response will include
OSPolicyAssignmentReports for all instances in the project/location.
For `{assignment}`, either `assignment-id` or `-` can be provided. If '-'
is provided, the response will include OSPolicyAssignmentReports for all
OSPolicyAssignments in the project/location.
Either {instance} or {assignment} must be `-`.
For example:
`projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/-/reports`
returns all reports for the instance
`projects/{project}/locations/{location}/instances/-/osPolicyAssignments/{assignment-id}/reports`
returns all the reports for the given assignment across all instances.
`projects/{project}/locations/{location}/instances/-/osPolicyAssignments/-/reports`
returns all the reports for all assignments across all instances.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListOSPolicyAssignmentReportsRequest.Builder clearParent()
Required. The parent resource name.
Format:
`projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports`
For `{project}`, either `project-number` or `project-id` can be provided.
For `{instance}`, either `instance-name`, `instance-id`, or `-` can be
provided. If '-' is provided, the response will include
OSPolicyAssignmentReports for all instances in the project/location.
For `{assignment}`, either `assignment-id` or `-` can be provided. If '-'
is provided, the response will include OSPolicyAssignmentReports for all
OSPolicyAssignments in the project/location.
Either {instance} or {assignment} must be `-`.
For example:
`projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/-/reports`
returns all reports for the instance
`projects/{project}/locations/{location}/instances/-/osPolicyAssignments/{assignment-id}/reports`
returns all the reports for the given assignment across all instances.
`projects/{project}/locations/{location}/instances/-/osPolicyAssignments/-/reports`
returns all the reports for all assignments across all instances.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListOSPolicyAssignmentReportsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent resource name.
Format:
`projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports`
For `{project}`, either `project-number` or `project-id` can be provided.
For `{instance}`, either `instance-name`, `instance-id`, or `-` can be
provided. If '-' is provided, the response will include
OSPolicyAssignmentReports for all instances in the project/location.
For `{assignment}`, either `assignment-id` or `-` can be provided. If '-'
is provided, the response will include OSPolicyAssignmentReports for all
OSPolicyAssignments in the project/location.
Either {instance} or {assignment} must be `-`.
For example:
`projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/-/reports`
returns all reports for the instance
`projects/{project}/locations/{location}/instances/-/osPolicyAssignments/{assignment-id}/reports`
returns all the reports for the given assignment across all instances.
`projects/{project}/locations/{location}/instances/-/osPolicyAssignments/-/reports`
returns all the reports for all assignments across all instances.
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 ListOSPolicyAssignmentReportsRequestOrBuilderpublic ListOSPolicyAssignmentReportsRequest.Builder setPageSize(int value)
The maximum number of results to return.
int32 page_size = 2;value - The pageSize to set.public ListOSPolicyAssignmentReportsRequest.Builder clearPageSize()
The maximum number of results to return.
int32 page_size = 2;public String getFilter()
If provided, this field specifies the criteria that must be met by the `OSPolicyAssignmentReport` API resource that is included in the response.
string filter = 3;getFilter in interface ListOSPolicyAssignmentReportsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
If provided, this field specifies the criteria that must be met by the `OSPolicyAssignmentReport` API resource that is included in the response.
string filter = 3;getFilterBytes in interface ListOSPolicyAssignmentReportsRequestOrBuilderpublic ListOSPolicyAssignmentReportsRequest.Builder setFilter(String value)
If provided, this field specifies the criteria that must be met by the `OSPolicyAssignmentReport` API resource that is included in the response.
string filter = 3;value - The filter to set.public ListOSPolicyAssignmentReportsRequest.Builder clearFilter()
If provided, this field specifies the criteria that must be met by the `OSPolicyAssignmentReport` API resource that is included in the response.
string filter = 3;public ListOSPolicyAssignmentReportsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
If provided, this field specifies the criteria that must be met by the `OSPolicyAssignmentReport` API resource that is included in the response.
string filter = 3;value - The bytes for filter to set.public String getPageToken()
A pagination token returned from a previous call to the `ListOSPolicyAssignmentReports` method that indicates where this listing should continue from.
string page_token = 4;getPageToken in interface ListOSPolicyAssignmentReportsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
A pagination token returned from a previous call to the `ListOSPolicyAssignmentReports` method that indicates where this listing should continue from.
string page_token = 4;getPageTokenBytes in interface ListOSPolicyAssignmentReportsRequestOrBuilderpublic ListOSPolicyAssignmentReportsRequest.Builder setPageToken(String value)
A pagination token returned from a previous call to the `ListOSPolicyAssignmentReports` method that indicates where this listing should continue from.
string page_token = 4;value - The pageToken to set.public ListOSPolicyAssignmentReportsRequest.Builder clearPageToken()
A pagination token returned from a previous call to the `ListOSPolicyAssignmentReports` method that indicates where this listing should continue from.
string page_token = 4;public ListOSPolicyAssignmentReportsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
A pagination token returned from a previous call to the `ListOSPolicyAssignmentReports` method that indicates where this listing should continue from.
string page_token = 4;value - The bytes for pageToken to set.public final ListOSPolicyAssignmentReportsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListOSPolicyAssignmentReportsRequest.Builder>public final ListOSPolicyAssignmentReportsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListOSPolicyAssignmentReportsRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.