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