Class ListApprovalRequestsResponse.Builder (2.46.0)

public static final class ListApprovalRequestsResponse.Builder extends GeneratedMessageV3.Builder<ListApprovalRequestsResponse.Builder> implements ListApprovalRequestsResponseOrBuilder

Response to listing of ApprovalRequest objects.

Protobuf type google.cloud.accessapproval.v1.ListApprovalRequestsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllApprovalRequests(Iterable<? extends ApprovalRequest> values)

public ListApprovalRequestsResponse.Builder addAllApprovalRequests(Iterable<? extends ApprovalRequest> values)

Approval request details.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.accessapproval.v1.ApprovalRequest>
Returns
Type Description
ListApprovalRequestsResponse.Builder

addApprovalRequests(ApprovalRequest value)

public ListApprovalRequestsResponse.Builder addApprovalRequests(ApprovalRequest value)

Approval request details.

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

Parameter
Name Description
value ApprovalRequest
Returns
Type Description
ListApprovalRequestsResponse.Builder

addApprovalRequests(ApprovalRequest.Builder builderForValue)

public ListApprovalRequestsResponse.Builder addApprovalRequests(ApprovalRequest.Builder builderForValue)

Approval request details.

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

Parameter
Name Description
builderForValue ApprovalRequest.Builder
Returns
Type Description
ListApprovalRequestsResponse.Builder

addApprovalRequests(int index, ApprovalRequest value)

public ListApprovalRequestsResponse.Builder addApprovalRequests(int index, ApprovalRequest value)

Approval request details.

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

Parameters
Name Description
index int
value ApprovalRequest
Returns
Type Description
ListApprovalRequestsResponse.Builder

addApprovalRequests(int index, ApprovalRequest.Builder builderForValue)

public ListApprovalRequestsResponse.Builder addApprovalRequests(int index, ApprovalRequest.Builder builderForValue)

Approval request details.

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

Parameters
Name Description
index int
builderForValue ApprovalRequest.Builder
Returns
Type Description
ListApprovalRequestsResponse.Builder

addApprovalRequestsBuilder()

public ApprovalRequest.Builder addApprovalRequestsBuilder()

Approval request details.

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

Returns
Type Description
ApprovalRequest.Builder

addApprovalRequestsBuilder(int index)

public ApprovalRequest.Builder addApprovalRequestsBuilder(int index)

Approval request details.

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

Parameter
Name Description
index int
Returns
Type Description
ApprovalRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListApprovalRequestsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListApprovalRequestsResponse.Builder
Overrides

build()

public ListApprovalRequestsResponse build()
Returns
Type Description
ListApprovalRequestsResponse

buildPartial()

public ListApprovalRequestsResponse buildPartial()
Returns
Type Description
ListApprovalRequestsResponse

clear()

public ListApprovalRequestsResponse.Builder clear()
Returns
Type Description
ListApprovalRequestsResponse.Builder
Overrides

clearApprovalRequests()

public ListApprovalRequestsResponse.Builder clearApprovalRequests()

Approval request details.

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

Returns
Type Description
ListApprovalRequestsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListApprovalRequestsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListApprovalRequestsResponse.Builder
Overrides

clearNextPageToken()

public ListApprovalRequestsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListApprovalRequestsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListApprovalRequestsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListApprovalRequestsResponse.Builder
Overrides

clone()

public ListApprovalRequestsResponse.Builder clone()
Returns
Type Description
ListApprovalRequestsResponse.Builder
Overrides

getApprovalRequests(int index)

public ApprovalRequest getApprovalRequests(int index)

Approval request details.

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

Parameter
Name Description
index int
Returns
Type Description
ApprovalRequest

getApprovalRequestsBuilder(int index)

public ApprovalRequest.Builder getApprovalRequestsBuilder(int index)

Approval request details.

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

Parameter
Name Description
index int
Returns
Type Description
ApprovalRequest.Builder

getApprovalRequestsBuilderList()

public List<ApprovalRequest.Builder> getApprovalRequestsBuilderList()

Approval request details.

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

Returns
Type Description
List<Builder>

getApprovalRequestsCount()

public int getApprovalRequestsCount()

Approval request details.

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

Returns
Type Description
int

getApprovalRequestsList()

public List<ApprovalRequest> getApprovalRequestsList()

Approval request details.

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

Returns
Type Description
List<ApprovalRequest>

getApprovalRequestsOrBuilder(int index)

public ApprovalRequestOrBuilder getApprovalRequestsOrBuilder(int index)

Approval request details.

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

Parameter
Name Description
index int
Returns
Type Description
ApprovalRequestOrBuilder

getApprovalRequestsOrBuilderList()

public List<? extends ApprovalRequestOrBuilder> getApprovalRequestsOrBuilderList()

Approval request details.

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

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

getDefaultInstanceForType()

public ListApprovalRequestsResponse getDefaultInstanceForType()
Returns
Type Description
ListApprovalRequestsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListApprovalRequestsResponse other)

public ListApprovalRequestsResponse.Builder mergeFrom(ListApprovalRequestsResponse other)
Parameter
Name Description
other ListApprovalRequestsResponse
Returns
Type Description
ListApprovalRequestsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListApprovalRequestsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListApprovalRequestsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListApprovalRequestsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListApprovalRequestsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApprovalRequestsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListApprovalRequestsResponse.Builder
Overrides

removeApprovalRequests(int index)

public ListApprovalRequestsResponse.Builder removeApprovalRequests(int index)

Approval request details.

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

Parameter
Name Description
index int
Returns
Type Description
ListApprovalRequestsResponse.Builder

setApprovalRequests(int index, ApprovalRequest value)

public ListApprovalRequestsResponse.Builder setApprovalRequests(int index, ApprovalRequest value)

Approval request details.

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

Parameters
Name Description
index int
value ApprovalRequest
Returns
Type Description
ListApprovalRequestsResponse.Builder

setApprovalRequests(int index, ApprovalRequest.Builder builderForValue)

public ListApprovalRequestsResponse.Builder setApprovalRequests(int index, ApprovalRequest.Builder builderForValue)

Approval request details.

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

Parameters
Name Description
index int
builderForValue ApprovalRequest.Builder
Returns
Type Description
ListApprovalRequestsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListApprovalRequestsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListApprovalRequestsResponse.Builder
Overrides

setNextPageToken(String value)

public ListApprovalRequestsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListApprovalRequestsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListApprovalRequestsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListApprovalRequestsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListApprovalRequestsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListApprovalRequestsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListApprovalRequestsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListApprovalRequestsResponse.Builder
Overrides