Interface ListOSPolicyAssignmentsResponseOrBuilder (2.5.0)

public interface ListOSPolicyAssignmentsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

The pagination token to retrieve the next page of OS policy assignments.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

The pagination token to retrieve the next page of OS policy assignments.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOsPolicyAssignments(int index)

public abstract OSPolicyAssignment getOsPolicyAssignments(int index)

The list of assignments

repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignment

getOsPolicyAssignmentsCount()

public abstract int getOsPolicyAssignmentsCount()

The list of assignments

repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;

Returns
TypeDescription
int

getOsPolicyAssignmentsList()

public abstract List<OSPolicyAssignment> getOsPolicyAssignmentsList()

The list of assignments

repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;

Returns
TypeDescription
List<OSPolicyAssignment>

getOsPolicyAssignmentsOrBuilder(int index)

public abstract OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder(int index)

The list of assignments

repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignmentOrBuilder

getOsPolicyAssignmentsOrBuilderList()

public abstract List<? extends OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsOrBuilderList()

The list of assignments

repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1.OSPolicyAssignmentOrBuilder>