public final class ListOSPolicyAssignmentsResponse extends GeneratedMessageV3 implements ListOSPolicyAssignmentsResponseOrBuilder
A response message for listing all assignments under given parent.
Protobuf type google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse
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 ListOSPolicyAssignmentsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListOSPolicyAssignmentsResponse.Builder newBuilder()
Returns
newBuilder(ListOSPolicyAssignmentsResponse prototype)
public static ListOSPolicyAssignmentsResponse.Builder newBuilder(ListOSPolicyAssignmentsResponse prototype)
Parameter
Returns
public static ListOSPolicyAssignmentsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListOSPolicyAssignmentsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListOSPolicyAssignmentsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListOSPolicyAssignmentsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListOSPolicyAssignmentsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListOSPolicyAssignmentsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListOSPolicyAssignmentsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListOSPolicyAssignmentsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListOSPolicyAssignmentsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListOSPolicyAssignmentsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListOSPolicyAssignmentsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListOSPolicyAssignmentsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListOSPolicyAssignmentsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListOSPolicyAssignmentsResponse getDefaultInstanceForType()
Returns
getNextPageToken()
public String getNextPageToken()
The pagination token to retrieve the next page of OS policy assignments.
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 assignments.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getOsPolicyAssignments(int index)
public OSPolicyAssignment getOsPolicyAssignments(int index)
The list of assignments
repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Returns
getOsPolicyAssignmentsCount()
public int getOsPolicyAssignmentsCount()
The list of assignments
repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;
Returns
getOsPolicyAssignmentsList()
public List<OSPolicyAssignment> getOsPolicyAssignmentsList()
The list of assignments
repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;
Returns
getOsPolicyAssignmentsOrBuilder(int index)
public OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder(int index)
The list of assignments
repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;
Parameter
Returns
getOsPolicyAssignmentsOrBuilderList()
public List<? extends OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsOrBuilderList()
The list of assignments
repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;
Returns
Type | Description |
List<? extends com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder> | |
getParserForType()
public Parser<ListOSPolicyAssignmentsResponse> 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 ListOSPolicyAssignmentsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListOSPolicyAssignmentsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListOSPolicyAssignmentsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions