- 2.53.0 (latest)
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.4
- 2.1.12
public static final class ListApprovalRequestsMessage.Builder extends GeneratedMessageV3.Builder<ListApprovalRequestsMessage.Builder> implements ListApprovalRequestsMessageOrBuilder
Request to list approval requests.
Protobuf type google.cloud.accessapproval.v1.ListApprovalRequestsMessage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListApprovalRequestsMessage.BuilderImplements
ListApprovalRequestsMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListApprovalRequestsMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |
build()
public ListApprovalRequestsMessage build()
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage |
buildPartial()
public ListApprovalRequestsMessage buildPartial()
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage |
clear()
public ListApprovalRequestsMessage.Builder clear()
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListApprovalRequestsMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |
clearFilter()
public ListApprovalRequestsMessage.Builder clearFilter()
A filter on the type of approval requests to retrieve. Must be one of the following values:
- [not set]: Requests that are pending or have active approvals.
- ALL: All requests.
- PENDING: Only pending requests.
- ACTIVE: Only active (i.e. currently approved) requests.
- DISMISSED: Only requests that have been dismissed, or requests that are not approved and past expiration.
- EXPIRED: Only requests that have been approved, and the approval has expired.
- HISTORY: Active, dismissed and expired requests.
string filter = 2;
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListApprovalRequestsMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |
clearPageSize()
public ListApprovalRequestsMessage.Builder clearPageSize()
Requested page size.
int32 page_size = 3;
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder | This builder for chaining. |
clearPageToken()
public ListApprovalRequestsMessage.Builder clearPageToken()
A token identifying the page of results to return.
string page_token = 4;
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder | This builder for chaining. |
clearParent()
public ListApprovalRequestsMessage.Builder clearParent()
The parent resource. This may be "projects/{project}", "folders/{folder}", or "organizations/{organization}".
string parent = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder | This builder for chaining. |
clone()
public ListApprovalRequestsMessage.Builder clone()
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |
getDefaultInstanceForType()
public ListApprovalRequestsMessage getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFilter()
public String getFilter()
A filter on the type of approval requests to retrieve. Must be one of the following values:
- [not set]: Requests that are pending or have active approvals.
- ALL: All requests.
- PENDING: Only pending requests.
- ACTIVE: Only active (i.e. currently approved) requests.
- DISMISSED: Only requests that have been dismissed, or requests that are not approved and past expiration.
- EXPIRED: Only requests that have been approved, and the approval has expired.
- HISTORY: Active, dismissed and expired requests.
string filter = 2;
Returns | |
---|---|
Type | Description |
String | The filter. |
getFilterBytes()
public ByteString getFilterBytes()
A filter on the type of approval requests to retrieve. Must be one of the following values:
- [not set]: Requests that are pending or have active approvals.
- ALL: All requests.
- PENDING: Only pending requests.
- ACTIVE: Only active (i.e. currently approved) requests.
- DISMISSED: Only requests that have been dismissed, or requests that are not approved and past expiration.
- EXPIRED: Only requests that have been approved, and the approval has expired.
- HISTORY: Active, dismissed and expired requests.
string filter = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for filter. |
getPageSize()
public int getPageSize()
Requested page size.
int32 page_size = 3;
Returns | |
---|---|
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
A token identifying the page of results to return.
string page_token = 4;
Returns | |
---|---|
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
A token identifying the page of results to return.
string page_token = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for pageToken. |
getParent()
public String getParent()
The parent resource. This may be "projects/{project}", "folders/{folder}", or "organizations/{organization}".
string parent = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
The parent resource. This may be "projects/{project}", "folders/{folder}", or "organizations/{organization}".
string parent = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListApprovalRequestsMessage other)
public ListApprovalRequestsMessage.Builder mergeFrom(ListApprovalRequestsMessage other)
Parameter | |
---|---|
Name | Description |
other | ListApprovalRequestsMessage |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListApprovalRequestsMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListApprovalRequestsMessage.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListApprovalRequestsMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListApprovalRequestsMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |
setFilter(String value)
public ListApprovalRequestsMessage.Builder setFilter(String value)
A filter on the type of approval requests to retrieve. Must be one of the following values:
- [not set]: Requests that are pending or have active approvals.
- ALL: All requests.
- PENDING: Only pending requests.
- ACTIVE: Only active (i.e. currently approved) requests.
- DISMISSED: Only requests that have been dismissed, or requests that are not approved and past expiration.
- EXPIRED: Only requests that have been approved, and the approval has expired.
- HISTORY: Active, dismissed and expired requests.
string filter = 2;
Parameter | |
---|---|
Name | Description |
value | String The filter to set. |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder | This builder for chaining. |
setFilterBytes(ByteString value)
public ListApprovalRequestsMessage.Builder setFilterBytes(ByteString value)
A filter on the type of approval requests to retrieve. Must be one of the following values:
- [not set]: Requests that are pending or have active approvals.
- ALL: All requests.
- PENDING: Only pending requests.
- ACTIVE: Only active (i.e. currently approved) requests.
- DISMISSED: Only requests that have been dismissed, or requests that are not approved and past expiration.
- EXPIRED: Only requests that have been approved, and the approval has expired.
- HISTORY: Active, dismissed and expired requests.
string filter = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for filter to set. |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder | This builder for chaining. |
setPageSize(int value)
public ListApprovalRequestsMessage.Builder setPageSize(int value)
Requested page size.
int32 page_size = 3;
Parameter | |
---|---|
Name | Description |
value | int The pageSize to set. |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder | This builder for chaining. |
setPageToken(String value)
public ListApprovalRequestsMessage.Builder setPageToken(String value)
A token identifying the page of results to return.
string page_token = 4;
Parameter | |
---|---|
Name | Description |
value | String The pageToken to set. |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListApprovalRequestsMessage.Builder setPageTokenBytes(ByteString value)
A token identifying the page of results to return.
string page_token = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder | This builder for chaining. |
setParent(String value)
public ListApprovalRequestsMessage.Builder setParent(String value)
The parent resource. This may be "projects/{project}", "folders/{folder}", or "organizations/{organization}".
string parent = 1 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ListApprovalRequestsMessage.Builder setParentBytes(ByteString value)
The parent resource. This may be "projects/{project}", "folders/{folder}", or "organizations/{organization}".
string parent = 1 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListApprovalRequestsMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListApprovalRequestsMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListApprovalRequestsMessage.Builder |