Class ListApprovalRequestsResponse (2.6.0)

public final class ListApprovalRequestsResponse extends GeneratedMessageV3 implements ListApprovalRequestsResponseOrBuilder

Response to listing of ApprovalRequest objects.

Protobuf type google.cloud.accessapproval.v1.ListApprovalRequestsResponse

Static Fields

APPROVAL_REQUESTS_FIELD_NUMBER

public static final int APPROVAL_REQUESTS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListApprovalRequestsResponse getDefaultInstance()
Returns
TypeDescription
ListApprovalRequestsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListApprovalRequestsResponse prototype)

public static ListApprovalRequestsResponse.Builder newBuilder(ListApprovalRequestsResponse prototype)
Parameter
NameDescription
prototypeListApprovalRequestsResponse
Returns
TypeDescription
ListApprovalRequestsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApprovalRequests(int index)

public ApprovalRequest getApprovalRequests(int index)

Approval request details.

repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ApprovalRequest

getApprovalRequestsCount()

public int getApprovalRequestsCount()

Approval request details.

repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;

Returns
TypeDescription
int

getApprovalRequestsList()

public List<ApprovalRequest> getApprovalRequestsList()

Approval request details.

repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;

Returns
TypeDescription
List<ApprovalRequest>

getApprovalRequestsOrBuilder(int index)

public ApprovalRequestOrBuilder getApprovalRequestsOrBuilder(int index)

Approval request details.

repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ApprovalRequestOrBuilder

getApprovalRequestsOrBuilderList()

public List<? extends ApprovalRequestOrBuilder> getApprovalRequestsOrBuilderList()

Approval request details.

repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;

Returns
TypeDescription
List<? extends com.google.cloud.accessapproval.v1.ApprovalRequestOrBuilder>

getDefaultInstanceForType()

public ListApprovalRequestsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListApprovalRequestsResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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