Class ListOSPolicyAssignmentReportsResponse (2.39.0)

public final class ListOSPolicyAssignmentReportsResponse extends GeneratedMessageV3 implements ListOSPolicyAssignmentReportsResponseOrBuilder

A response message for listing OS Policy assignment reports including the page of results and page token.

Protobuf type google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListOSPolicyAssignmentReportsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

OS_POLICY_ASSIGNMENT_REPORTS_FIELD_NUMBER

public static final int OS_POLICY_ASSIGNMENT_REPORTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListOSPolicyAssignmentReportsResponse getDefaultInstance()
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListOSPolicyAssignmentReportsResponse.Builder newBuilder()
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse.Builder

newBuilder(ListOSPolicyAssignmentReportsResponse prototype)

public static ListOSPolicyAssignmentReportsResponse.Builder newBuilder(ListOSPolicyAssignmentReportsResponse prototype)
Parameter
NameDescription
prototypeListOSPolicyAssignmentReportsResponse
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListOSPolicyAssignmentReportsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListOSPolicyAssignmentReportsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListOSPolicyAssignmentReportsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListOSPolicyAssignmentReportsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListOSPolicyAssignmentReportsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListOSPolicyAssignmentReportsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListOSPolicyAssignmentReportsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListOSPolicyAssignmentReportsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListOSPolicyAssignmentReportsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListOSPolicyAssignmentReportsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListOSPolicyAssignmentReportsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListOSPolicyAssignmentReportsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListOSPolicyAssignmentReportsResponse> parser()
Returns
TypeDescription
Parser<ListOSPolicyAssignmentReportsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListOSPolicyAssignmentReportsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse

getNextPageToken()

public String getNextPageToken()

The pagination token to retrieve the next page of OS policy assignment report objects.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token to retrieve the next page of OS policy assignment report objects.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOsPolicyAssignmentReports(int index)

public OSPolicyAssignmentReport getOsPolicyAssignmentReports(int index)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignmentReport

getOsPolicyAssignmentReportsCount()

public int getOsPolicyAssignmentReportsCount()

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Returns
TypeDescription
int

getOsPolicyAssignmentReportsList()

public List<OSPolicyAssignmentReport> getOsPolicyAssignmentReportsList()

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Returns
TypeDescription
List<OSPolicyAssignmentReport>

getOsPolicyAssignmentReportsOrBuilder(int index)

public OSPolicyAssignmentReportOrBuilder getOsPolicyAssignmentReportsOrBuilder(int index)

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignmentReportOrBuilder

getOsPolicyAssignmentReportsOrBuilderList()

public List<? extends OSPolicyAssignmentReportOrBuilder> getOsPolicyAssignmentReportsOrBuilderList()

List of OS policy assignment reports.

repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport os_policy_assignment_reports = 1;

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

getParserForType()

public Parser<ListOSPolicyAssignmentReportsResponse> getParserForType()
Returns
TypeDescription
Parser<ListOSPolicyAssignmentReportsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListOSPolicyAssignmentReportsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListOSPolicyAssignmentReportsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListOSPolicyAssignmentReportsResponse.Builder toBuilder()
Returns
TypeDescription
ListOSPolicyAssignmentReportsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException