Class ListOSPolicyAssignmentRevisionsResponse (2.7.0)

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.v1alpha.ListOSPolicyAssignmentRevisionsResponse

Inheritance

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

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

OS_POLICY_ASSIGNMENTS_FIELD_NUMBER

public static final int OS_POLICY_ASSIGNMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListOSPolicyAssignmentRevisionsResponse getDefaultInstance()
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListOSPolicyAssignmentRevisionsResponse prototype)

public static ListOSPolicyAssignmentRevisionsResponse.Builder newBuilder(ListOSPolicyAssignmentRevisionsResponse prototype)
Parameter
NameDescription
prototypeListOSPolicyAssignmentRevisionsResponse
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListOSPolicyAssignmentRevisionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse

getNextPageToken()

public String getNextPageToken()

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

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 revisions.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOsPolicyAssignments(int index)

public OSPolicyAssignment getOsPolicyAssignments(int index)

The OS policy assignment revisions

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

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignment

getOsPolicyAssignmentsCount()

public int getOsPolicyAssignmentsCount()

The OS policy assignment revisions

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

Returns
TypeDescription
int

getOsPolicyAssignmentsList()

public List<OSPolicyAssignment> getOsPolicyAssignmentsList()

The OS policy assignment revisions

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

Returns
TypeDescription
List<OSPolicyAssignment>

getOsPolicyAssignmentsOrBuilder(int index)

public OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder(int index)

The OS policy assignment revisions

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

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignmentOrBuilder

getOsPolicyAssignmentsOrBuilderList()

public List<? extends OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsOrBuilderList()

The OS policy assignment revisions

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

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ListOSPolicyAssignmentRevisionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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