public static final class ListOSPolicyAssignmentRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListOSPolicyAssignmentRevisionsResponse.Builder> implements ListOSPolicyAssignmentRevisionsResponseOrBuilder
A response message for listing all revisions for a OS policy assignment.
Protobuf type google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse
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
addAllOsPolicyAssignments(Iterable<? extends OSPolicyAssignment> values)
public ListOSPolicyAssignmentRevisionsResponse.Builder addAllOsPolicyAssignments(Iterable<? extends OSPolicyAssignment> values)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment>
|
Returns
addOsPolicyAssignments(OSPolicyAssignment value)
public ListOSPolicyAssignmentRevisionsResponse.Builder addOsPolicyAssignments(OSPolicyAssignment value)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Returns
addOsPolicyAssignments(OSPolicyAssignment.Builder builderForValue)
public ListOSPolicyAssignmentRevisionsResponse.Builder addOsPolicyAssignments(OSPolicyAssignment.Builder builderForValue)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Returns
addOsPolicyAssignments(int index, OSPolicyAssignment value)
public ListOSPolicyAssignmentRevisionsResponse.Builder addOsPolicyAssignments(int index, OSPolicyAssignment value)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameters
Returns
addOsPolicyAssignments(int index, OSPolicyAssignment.Builder builderForValue)
public ListOSPolicyAssignmentRevisionsResponse.Builder addOsPolicyAssignments(int index, OSPolicyAssignment.Builder builderForValue)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameters
Returns
addOsPolicyAssignmentsBuilder()
public OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder()
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Returns
addOsPolicyAssignmentsBuilder(int index)
public OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder(int index)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListOSPolicyAssignmentRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListOSPolicyAssignmentRevisionsResponse build()
Returns
buildPartial()
public ListOSPolicyAssignmentRevisionsResponse buildPartial()
Returns
clear()
public ListOSPolicyAssignmentRevisionsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListOSPolicyAssignmentRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListOSPolicyAssignmentRevisionsResponse.Builder clearNextPageToken()
The pagination token to retrieve the next page of OS policy assignment
revisions.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListOSPolicyAssignmentRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOsPolicyAssignments()
public ListOSPolicyAssignmentRevisionsResponse.Builder clearOsPolicyAssignments()
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Returns
clone()
public ListOSPolicyAssignmentRevisionsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListOSPolicyAssignmentRevisionsResponse 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
revisions.
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
revisions.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getOsPolicyAssignments(int index)
public OSPolicyAssignment getOsPolicyAssignments(int index)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Returns
getOsPolicyAssignmentsBuilder(int index)
public OSPolicyAssignment.Builder getOsPolicyAssignmentsBuilder(int index)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Returns
getOsPolicyAssignmentsBuilderList()
public List<OSPolicyAssignment.Builder> getOsPolicyAssignmentsBuilderList()
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Returns
getOsPolicyAssignmentsCount()
public int getOsPolicyAssignmentsCount()
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Returns
getOsPolicyAssignmentsList()
public List<OSPolicyAssignment> getOsPolicyAssignmentsList()
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Returns
getOsPolicyAssignmentsOrBuilder(int index)
public OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder(int index)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Returns
getOsPolicyAssignmentsOrBuilderList()
public List<? extends OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsOrBuilderList()
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Returns
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListOSPolicyAssignmentRevisionsResponse other)
public ListOSPolicyAssignmentRevisionsResponse.Builder mergeFrom(ListOSPolicyAssignmentRevisionsResponse other)
Parameter
Returns
public ListOSPolicyAssignmentRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListOSPolicyAssignmentRevisionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListOSPolicyAssignmentRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeOsPolicyAssignments(int index)
public ListOSPolicyAssignmentRevisionsResponse.Builder removeOsPolicyAssignments(int index)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListOSPolicyAssignmentRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListOSPolicyAssignmentRevisionsResponse.Builder setNextPageToken(String value)
The pagination token to retrieve the next page of OS policy assignment
revisions.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListOSPolicyAssignmentRevisionsResponse.Builder setNextPageTokenBytes(ByteString value)
The pagination token to retrieve the next page of OS policy assignment
revisions.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setOsPolicyAssignments(int index, OSPolicyAssignment value)
public ListOSPolicyAssignmentRevisionsResponse.Builder setOsPolicyAssignments(int index, OSPolicyAssignment value)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameters
Returns
setOsPolicyAssignments(int index, OSPolicyAssignment.Builder builderForValue)
public ListOSPolicyAssignmentRevisionsResponse.Builder setOsPolicyAssignments(int index, OSPolicyAssignment.Builder builderForValue)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListOSPolicyAssignmentRevisionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListOSPolicyAssignmentRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides