Class ListApprovalRequestsResponse.Builder (2.9.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.accessapproval.v1.ApprovalRequest>
Returns
TypeDescription
ListApprovalRequestsResponse.Builder

addApprovalRequests(ApprovalRequest value)

public ListApprovalRequestsResponse.Builder addApprovalRequests(ApprovalRequest value)

Approval request details.

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

Parameter
NameDescription
valueApprovalRequest
Returns
TypeDescription
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
NameDescription
builderForValueApprovalRequest.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueApprovalRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApprovalRequest.Builder
Returns
TypeDescription
ListApprovalRequestsResponse.Builder

addApprovalRequestsBuilder()

public ApprovalRequest.Builder addApprovalRequestsBuilder()

Approval request details.

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

Returns
TypeDescription
ApprovalRequest.Builder

addApprovalRequestsBuilder(int index)

public ApprovalRequest.Builder addApprovalRequestsBuilder(int index)

Approval request details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ApprovalRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListApprovalRequestsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListApprovalRequestsResponse.Builder
Overrides

build()

public ListApprovalRequestsResponse build()
Returns
TypeDescription
ListApprovalRequestsResponse

buildPartial()

public ListApprovalRequestsResponse buildPartial()
Returns
TypeDescription
ListApprovalRequestsResponse

clear()

public ListApprovalRequestsResponse.Builder clear()
Returns
TypeDescription
ListApprovalRequestsResponse.Builder
Overrides

clearApprovalRequests()

public ListApprovalRequestsResponse.Builder clearApprovalRequests()

Approval request details.

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

Returns
TypeDescription
ListApprovalRequestsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListApprovalRequestsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListApprovalRequestsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListApprovalRequestsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListApprovalRequestsResponse.Builder
Overrides

clone()

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

getApprovalRequestsBuilder(int index)

public ApprovalRequest.Builder getApprovalRequestsBuilder(int index)

Approval request details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ApprovalRequest.Builder

getApprovalRequestsBuilderList()

public List<ApprovalRequest.Builder> getApprovalRequestsBuilderList()

Approval request details.

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

Returns
TypeDescription
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListApprovalRequestsResponse other)

public ListApprovalRequestsResponse.Builder mergeFrom(ListApprovalRequestsResponse other)
Parameter
NameDescription
otherListApprovalRequestsResponse
Returns
TypeDescription
ListApprovalRequestsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListApprovalRequestsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListApprovalRequestsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListApprovalRequestsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListApprovalRequestsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApprovalRequestsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueApprovalRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApprovalRequest.Builder
Returns
TypeDescription
ListApprovalRequestsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListApprovalRequestsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListApprovalRequestsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListApprovalRequestsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListApprovalRequestsResponse.Builder
Overrides