public static final class ListSnapshotsRequest.Builder extends GeneratedMessage.Builder<ListSnapshotsRequest.Builder> implements ListSnapshotsRequestOrBuilderListSnapshotsRequest lists snapshots.
Protobuf type google.cloud.filestore.v1beta1.ListSnapshotsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListSnapshotsRequest.BuilderImplements
ListSnapshotsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListSnapshotsRequest build()| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest |
|
buildPartial()
public ListSnapshotsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest |
|
clear()
public ListSnapshotsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
|
clearFilter()
public ListSnapshotsRequest.Builder clearFilter()List filter.
string filter = 5;
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
clearOrderBy()
public ListSnapshotsRequest.Builder clearOrderBy()Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
clearPageSize()
public ListSnapshotsRequest.Builder clearPageSize()The maximum number of items to return.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListSnapshotsRequest.Builder clearPageToken()The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
clearParent()
public ListSnapshotsRequest.Builder clearParent() Required. The instance for which to retrieve snapshot information,
in the format
projects/{project_id}/locations/{location}/instances/{instance_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
clearReturnPartialSuccess()
public ListSnapshotsRequest.Builder clearReturnPartialSuccess()Optional. If true, allow partial responses for multi-regional Aggregated List requests.
bool return_partial_success = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListSnapshotsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public String getFilter()List filter.
string filter = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()List filter.
string filter = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
getOrderBy()
public String getOrderBy()Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The orderBy. |
getOrderByBytes()
public ByteString getOrderByBytes()Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for orderBy. |
getPageSize()
public int getPageSize()The maximum number of items to return.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent() Required. The instance for which to retrieve snapshot information,
in the format
projects/{project_id}/locations/{location}/instances/{instance_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The instance for which to retrieve snapshot information,
in the format
projects/{project_id}/locations/{location}/instances/{instance_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getReturnPartialSuccess()
public boolean getReturnPartialSuccess()Optional. If true, allow partial responses for multi-regional Aggregated List requests.
bool return_partial_success = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The returnPartialSuccess. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListSnapshotsRequest other)
public ListSnapshotsRequest.Builder mergeFrom(ListSnapshotsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListSnapshotsRequest |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSnapshotsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListSnapshotsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
|
setFilter(String value)
public ListSnapshotsRequest.Builder setFilter(String value)List filter.
string filter = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListSnapshotsRequest.Builder setFilterBytes(ByteString value)List filter.
string filter = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
setOrderBy(String value)
public ListSnapshotsRequest.Builder setOrderBy(String value)Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe orderBy to set. |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
setOrderByBytes(ByteString value)
public ListSnapshotsRequest.Builder setOrderByBytes(ByteString value)Sort results. Supported values are "name", "name desc" or "" (unsorted).
string order_by = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for orderBy to set. |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListSnapshotsRequest.Builder setPageSize(int value)The maximum number of items to return.
int32 page_size = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListSnapshotsRequest.Builder setPageToken(String value)The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListSnapshotsRequest.Builder setPageTokenBytes(ByteString value)The next_page_token value to use if there are additional results to retrieve for this list request.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListSnapshotsRequest.Builder setParent(String value) Required. The instance for which to retrieve snapshot information,
in the format
projects/{project_id}/locations/{location}/instances/{instance_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListSnapshotsRequest.Builder setParentBytes(ByteString value) Required. The instance for which to retrieve snapshot information,
in the format
projects/{project_id}/locations/{location}/instances/{instance_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |
setReturnPartialSuccess(boolean value)
public ListSnapshotsRequest.Builder setReturnPartialSuccess(boolean value)Optional. If true, allow partial responses for multi-regional Aggregated List requests.
bool return_partial_success = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe returnPartialSuccess to set. |
| Returns | |
|---|---|
| Type | Description |
ListSnapshotsRequest.Builder |
This builder for chaining. |