Class ListOSPolicyAssignmentReportsResponse.Builder (2.46.0)

public static final class ListOSPolicyAssignmentReportsResponse.Builder extends GeneratedMessageV3.Builder<ListOSPolicyAssignmentReportsResponse.Builder> implements ListOSPolicyAssignmentReportsResponseOrBuilder

A response message for listing OS Policy assignment reports including the page of results and page token.

Protobuf type google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllOsPolicyAssignmentReports(Iterable<? extends OSPolicyAssignmentReport> values)

public ListOSPolicyAssignmentReportsResponse.Builder addAllOsPolicyAssignmentReports(Iterable<? extends OSPolicyAssignmentReport> values)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.osconfig.v1.OSPolicyAssignmentReport>
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

addOsPolicyAssignmentReports(OSPolicyAssignmentReport value)

public ListOSPolicyAssignmentReportsResponse.Builder addOsPolicyAssignmentReports(OSPolicyAssignmentReport value)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameter
Name Description
value OSPolicyAssignmentReport
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

addOsPolicyAssignmentReports(OSPolicyAssignmentReport.Builder builderForValue)

public ListOSPolicyAssignmentReportsResponse.Builder addOsPolicyAssignmentReports(OSPolicyAssignmentReport.Builder builderForValue)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameter
Name Description
builderForValue OSPolicyAssignmentReport.Builder
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

addOsPolicyAssignmentReports(int index, OSPolicyAssignmentReport value)

public ListOSPolicyAssignmentReportsResponse.Builder addOsPolicyAssignmentReports(int index, OSPolicyAssignmentReport value)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameters
Name Description
index int
value OSPolicyAssignmentReport
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

addOsPolicyAssignmentReports(int index, OSPolicyAssignmentReport.Builder builderForValue)

public ListOSPolicyAssignmentReportsResponse.Builder addOsPolicyAssignmentReports(int index, OSPolicyAssignmentReport.Builder builderForValue)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameters
Name Description
index int
builderForValue OSPolicyAssignmentReport.Builder
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

addOsPolicyAssignmentReportsBuilder()

public OSPolicyAssignmentReport.Builder addOsPolicyAssignmentReportsBuilder()

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Returns
Type Description
OSPolicyAssignmentReport.Builder

addOsPolicyAssignmentReportsBuilder(int index)

public OSPolicyAssignmentReport.Builder addOsPolicyAssignmentReportsBuilder(int index)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
OSPolicyAssignmentReport.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListOSPolicyAssignmentReportsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder
Overrides

build()

public ListOSPolicyAssignmentReportsResponse build()
Returns
Type Description
ListOSPolicyAssignmentReportsResponse

buildPartial()

public ListOSPolicyAssignmentReportsResponse buildPartial()
Returns
Type Description
ListOSPolicyAssignmentReportsResponse

clear()

public ListOSPolicyAssignmentReportsResponse.Builder clear()
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListOSPolicyAssignmentReportsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder
Overrides

clearNextPageToken()

public ListOSPolicyAssignmentReportsResponse.Builder clearNextPageToken()

The pagination token to retrieve the next page of OS policy assignment report objects.

string next_page_token = 2;

Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListOSPolicyAssignmentReportsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder
Overrides

clearOsPolicyAssignmentReports()

public ListOSPolicyAssignmentReportsResponse.Builder clearOsPolicyAssignmentReports()

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

clone()

public ListOSPolicyAssignmentReportsResponse.Builder clone()
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListOSPolicyAssignmentReportsResponse getDefaultInstanceForType()
Returns
Type Description
ListOSPolicyAssignmentReportsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The pagination token to retrieve the next page of OS policy assignment report objects.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token to retrieve the next page of OS policy assignment report objects.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getOsPolicyAssignmentReports(int index)

public OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
OSPolicyAssignmentReport

getOsPolicyAssignmentReportsBuilder(int index)

public OSPolicyAssignmentReport.Builder getOsPolicyAssignmentReportsBuilder(int index)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
OSPolicyAssignmentReport.Builder

getOsPolicyAssignmentReportsBuilderList()

public List<OSPolicyAssignmentReport.Builder> getOsPolicyAssignmentReportsBuilderList()

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Returns
Type Description
List<Builder>

getOsPolicyAssignmentReportsCount()

public int getOsPolicyAssignmentReportsCount()

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Returns
Type Description
int

getOsPolicyAssignmentReportsList()

public List<OSPolicyAssignmentReport> getOsPolicyAssignmentReportsList()

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Returns
Type Description
List<OSPolicyAssignmentReport>

getOsPolicyAssignmentReportsOrBuilder(int index)

public OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder(int index)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
OSPolicyAssignmentReportOrBuilder

getOsPolicyAssignmentReportsOrBuilderList()

public List<? extends OSPolicyAssignmentReportOrBuilder> getOsPolicyAssignmentReportsOrBuilderList()

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1.OSPolicyAssignmentReportOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListOSPolicyAssignmentReportsResponse other)

public ListOSPolicyAssignmentReportsResponse.Builder mergeFrom(ListOSPolicyAssignmentReportsResponse other)
Parameter
Name Description
other ListOSPolicyAssignmentReportsResponse
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListOSPolicyAssignmentReportsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListOSPolicyAssignmentReportsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListOSPolicyAssignmentReportsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder
Overrides

removeOsPolicyAssignmentReports(int index)

public ListOSPolicyAssignmentReportsResponse.Builder removeOsPolicyAssignmentReports(int index)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListOSPolicyAssignmentReportsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder
Overrides

setNextPageToken(String value)

public ListOSPolicyAssignmentReportsResponse.Builder setNextPageToken(String value)

The pagination token to retrieve the next page of OS policy assignment report objects.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListOSPolicyAssignmentReportsResponse.Builder setNextPageTokenBytes(ByteString value)

The pagination token to retrieve the next page of OS policy assignment report objects.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

This builder for chaining.

setOsPolicyAssignmentReports(int index, OSPolicyAssignmentReport value)

public ListOSPolicyAssignmentReportsResponse.Builder setOsPolicyAssignmentReports(int index, OSPolicyAssignmentReport value)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameters
Name Description
index int
value OSPolicyAssignmentReport
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

setOsPolicyAssignmentReports(int index, OSPolicyAssignmentReport.Builder builderForValue)

public ListOSPolicyAssignmentReportsResponse.Builder setOsPolicyAssignmentReports(int index, OSPolicyAssignmentReport.Builder builderForValue)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameters
Name Description
index int
builderForValue OSPolicyAssignmentReport.Builder
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListOSPolicyAssignmentReportsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListOSPolicyAssignmentReportsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListOSPolicyAssignmentReportsResponse.Builder
Overrides