Class ListOSPolicyAssignmentRevisionsRequest (2.34.0)

public final class ListOSPolicyAssignmentRevisionsRequest extends GeneratedMessageV3 implements ListOSPolicyAssignmentRevisionsRequestOrBuilder

A request message to list revisions for a OS policy assignment

Protobuf type google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest

Inheritance

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

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListOSPolicyAssignmentRevisionsRequest getDefaultInstance()
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ListOSPolicyAssignmentRevisionsRequest prototype)

public static ListOSPolicyAssignmentRevisionsRequest.Builder newBuilder(ListOSPolicyAssignmentRevisionsRequest prototype)
Parameter
NameDescription
prototypeListOSPolicyAssignmentRevisionsRequest
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListOSPolicyAssignmentRevisionsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsRequest

getName()

public String getName()

Required. The name of the OS policy assignment to list revisions for.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the OS policy assignment to list revisions for.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getPageSize()

public int getPageSize()

The maximum number of revisions to return.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A pagination token returned from a previous call to ListOSPolicyAssignmentRevisions that indicates where this listing should continue from.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A pagination token returned from a previous call to ListOSPolicyAssignmentRevisions that indicates where this listing should continue from.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParserForType()

public Parser<ListOSPolicyAssignmentRevisionsRequest> getParserForType()
Returns
TypeDescription
Parser<ListOSPolicyAssignmentRevisionsRequest>
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 ListOSPolicyAssignmentRevisionsRequest.Builder newBuilderForType()
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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