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
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
addApprovalRequests(ApprovalRequest value)
public ListApprovalRequestsResponse.Builder addApprovalRequests(ApprovalRequest value)
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Parameter
Returns
addApprovalRequests(ApprovalRequest.Builder builderForValue)
public ListApprovalRequestsResponse.Builder addApprovalRequests(ApprovalRequest.Builder builderForValue)
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Parameter
Returns
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
Returns
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
Returns
addApprovalRequestsBuilder()
public ApprovalRequest.Builder addApprovalRequestsBuilder()
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Returns
addApprovalRequestsBuilder(int index)
public ApprovalRequest.Builder addApprovalRequestsBuilder(int index)
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListApprovalRequestsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListApprovalRequestsResponse build()
Returns
buildPartial()
public ListApprovalRequestsResponse buildPartial()
Returns
clear()
public ListApprovalRequestsResponse.Builder clear()
Returns
Overrides
clearApprovalRequests()
public ListApprovalRequestsResponse.Builder clearApprovalRequests()
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListApprovalRequestsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListApprovalRequestsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListApprovalRequestsResponse.Builder clone()
Returns
Overrides
getApprovalRequests(int index)
public ApprovalRequest getApprovalRequests(int index)
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Parameter
Returns
getApprovalRequestsBuilder(int index)
public ApprovalRequest.Builder getApprovalRequestsBuilder(int index)
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Parameter
Returns
getApprovalRequestsBuilderList()
public List<ApprovalRequest.Builder> getApprovalRequestsBuilderList()
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Returns
getApprovalRequestsCount()
public int getApprovalRequestsCount()
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Returns
getApprovalRequestsList()
public List<ApprovalRequest> getApprovalRequestsList()
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Returns
getApprovalRequestsOrBuilder(int index)
public ApprovalRequestOrBuilder getApprovalRequestsOrBuilder(int index)
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Parameter
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListApprovalRequestsResponse other)
public ListApprovalRequestsResponse.Builder mergeFrom(ListApprovalRequestsResponse other)
Parameter
Returns
public ListApprovalRequestsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListApprovalRequestsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListApprovalRequestsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeApprovalRequests(int index)
public ListApprovalRequestsResponse.Builder removeApprovalRequests(int index)
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListApprovalRequestsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListApprovalRequestsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListApprovalRequestsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides