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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addApprovalRequests(ApprovalRequest value)
public ListApprovalRequestsResponse.Builder addApprovalRequests(ApprovalRequest value)
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
addApprovalRequests(ApprovalRequest.Builder builderForValue)
public ListApprovalRequestsResponse.Builder addApprovalRequests(ApprovalRequest.Builder builderForValue)
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
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;
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;
addApprovalRequestsBuilder()
public ApprovalRequest.Builder addApprovalRequestsBuilder()
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListApprovalRequestsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListApprovalRequestsResponse build()
buildPartial()
public ListApprovalRequestsResponse buildPartial()
clear()
public ListApprovalRequestsResponse.Builder clear()
Overrides
clearApprovalRequests()
public ListApprovalRequestsResponse.Builder clearApprovalRequests()
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
clearField(Descriptors.FieldDescriptor field)
public ListApprovalRequestsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListApprovalRequestsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListApprovalRequestsResponse.Builder clone()
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
|
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
|
getApprovalRequestsBuilderList()
public List<ApprovalRequest.Builder> getApprovalRequestsBuilderList()
Approval request details.
repeated .google.cloud.accessapproval.v1.ApprovalRequest approval_requests = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListApprovalRequestsResponse other)
public ListApprovalRequestsResponse.Builder mergeFrom(ListApprovalRequestsResponse other)
public ListApprovalRequestsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListApprovalRequestsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListApprovalRequestsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListApprovalRequestsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListApprovalRequestsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListApprovalRequestsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides