public final class ListOSPolicyAssignmentRevisionsResponse extends GeneratedMessageV3 implements ListOSPolicyAssignmentRevisionsResponseOrBuilder
A response message for listing all revisions for a OS policy assignment.
Protobuf type google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
OS_POLICY_ASSIGNMENTS_FIELD_NUMBER
public static final int OS_POLICY_ASSIGNMENTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListOSPolicyAssignmentRevisionsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListOSPolicyAssignmentRevisionsResponse.Builder newBuilder()
Returns
newBuilder(ListOSPolicyAssignmentRevisionsResponse prototype)
public static ListOSPolicyAssignmentRevisionsResponse.Builder newBuilder(ListOSPolicyAssignmentRevisionsResponse prototype)
Parameter
Returns
public static ListOSPolicyAssignmentRevisionsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListOSPolicyAssignmentRevisionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListOSPolicyAssignmentRevisionsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListOSPolicyAssignmentRevisionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListOSPolicyAssignmentRevisionsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListOSPolicyAssignmentRevisionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListOSPolicyAssignmentRevisionsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListOSPolicyAssignmentRevisionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListOSPolicyAssignmentRevisionsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListOSPolicyAssignmentRevisionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListOSPolicyAssignmentRevisionsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListOSPolicyAssignmentRevisionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListOSPolicyAssignmentRevisionsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListOSPolicyAssignmentRevisionsResponse getDefaultInstanceForType()
Returns
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.v1.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Returns
getOsPolicyAssignmentsCount()
public int getOsPolicyAssignmentsCount()
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;
Returns
getOsPolicyAssignmentsList()
public List<OSPolicyAssignment> getOsPolicyAssignmentsList()
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;
Returns
getOsPolicyAssignmentsOrBuilder(int index)
public OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder(int index)
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Returns
getOsPolicyAssignmentsOrBuilderList()
public List<? extends OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsOrBuilderList()
The OS policy assignment revisions
repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;
Returns
Type | Description |
List<? extends com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> | |
getParserForType()
public Parser<ListOSPolicyAssignmentRevisionsResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListOSPolicyAssignmentRevisionsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListOSPolicyAssignmentRevisionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListOSPolicyAssignmentRevisionsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions