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
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()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
addOsPolicyAssignmentReportsBuilder()
public OSPolicyAssignmentReport.Builder addOsPolicyAssignmentReportsBuilder()
List of OS policy assignment reports.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListOSPolicyAssignmentReportsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListOSPolicyAssignmentReportsResponse build()
Returns
buildPartial()
public ListOSPolicyAssignmentReportsResponse buildPartial()
Returns
clear()
public ListOSPolicyAssignmentReportsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListOSPolicyAssignmentReportsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListOSPolicyAssignmentReportsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOsPolicyAssignmentReports()
public ListOSPolicyAssignmentReportsResponse.Builder clearOsPolicyAssignmentReports()
List of OS policy assignment reports.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;
Returns
clone()
public ListOSPolicyAssignmentReportsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListOSPolicyAssignmentReportsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getOsPolicyAssignmentReportsBuilderList()
public List<OSPolicyAssignmentReport.Builder> getOsPolicyAssignmentReportsBuilderList()
List of OS policy assignment reports.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;
Returns
getOsPolicyAssignmentReportsCount()
public int getOsPolicyAssignmentReportsCount()
List of OS policy assignment reports.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;
Returns
getOsPolicyAssignmentReportsList()
public List<OSPolicyAssignmentReport> getOsPolicyAssignmentReportsList()
List of OS policy assignment reports.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;
Returns
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListOSPolicyAssignmentReportsResponse other)
public ListOSPolicyAssignmentReportsResponse.Builder mergeFrom(ListOSPolicyAssignmentReportsResponse other)
Parameter
Returns
public ListOSPolicyAssignmentReportsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListOSPolicyAssignmentReportsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListOSPolicyAssignmentReportsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListOSPolicyAssignmentReportsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListOSPolicyAssignmentReportsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListOSPolicyAssignmentReportsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides