Class ListPostureRevisionsResponse (0.2.0)

public final class ListPostureRevisionsResponse extends GeneratedMessageV3 implements ListPostureRevisionsResponseOrBuilder

Message for response to listing PostureRevisions.

Protobuf type google.cloud.securityposture.v1.ListPostureRevisionsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

REVISIONS_FIELD_NUMBER

public static final int REVISIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListPostureRevisionsResponse getDefaultInstance()
Returns
TypeDescription
ListPostureRevisionsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListPostureRevisionsResponse prototype)

public static ListPostureRevisionsResponse.Builder newBuilder(ListPostureRevisionsResponse prototype)
Parameter
NameDescription
prototypeListPostureRevisionsResponse
Returns
TypeDescription
ListPostureRevisionsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListPostureRevisionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPostureRevisionsResponse

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getRevisions(int index)

public Posture getRevisions(int index)

The list of Posture revisions.

repeated .google.cloud.securityposture.v1.Posture revisions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Posture

getRevisionsCount()

public int getRevisionsCount()

The list of Posture revisions.

repeated .google.cloud.securityposture.v1.Posture revisions = 1;

Returns
TypeDescription
int

getRevisionsList()

public List<Posture> getRevisionsList()

The list of Posture revisions.

repeated .google.cloud.securityposture.v1.Posture revisions = 1;

Returns
TypeDescription
List<Posture>

getRevisionsOrBuilder(int index)

public PostureOrBuilder getRevisionsOrBuilder(int index)

The list of Posture revisions.

repeated .google.cloud.securityposture.v1.Posture revisions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PostureOrBuilder

getRevisionsOrBuilderList()

public List<? extends PostureOrBuilder> getRevisionsOrBuilderList()

The list of Posture revisions.

repeated .google.cloud.securityposture.v1.Posture revisions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.securityposture.v1.PostureOrBuilder>

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 ListPostureRevisionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListPostureRevisionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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