public static final class ListBackupsRequest.Builder extends GeneratedMessage.Builder<ListBackupsRequest.Builder> implements ListBackupsRequestOrBuilderThe request payload to list the backups.
Protobuf type google.cloud.sql.v1.ListBackupsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListBackupsRequest.BuilderImplements
ListBackupsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListBackupsRequest build()| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest |
|
buildPartial()
public ListBackupsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest |
|
clear()
public ListBackupsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
|
clearFilter()
public ListBackupsRequest.Builder clearFilter()Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.
string filter = 4;
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
This builder for chaining. |
clearPageSize()
public ListBackupsRequest.Builder clearPageSize()The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListBackupsRequest.Builder clearPageToken() A page token, received from a previous ListBackups call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListBackups must match
the call that provided the page token.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
This builder for chaining. |
clearParent()
public ListBackupsRequest.Builder clearParent()Required. The parent that owns this collection of backups. Format: projects/{project}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListBackupsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public String getFilter()Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.
string filter = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.
string filter = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
getPageSize()
public int getPageSize()The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() A page token, received from a previous ListBackups call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListBackups must match
the call that provided the page token.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() A page token, received from a previous ListBackups call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListBackups must match
the call that provided the page token.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. The parent that owns this collection of backups. Format: projects/{project}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent that owns this collection of backups. Format: projects/{project}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListBackupsRequest other)
public ListBackupsRequest.Builder mergeFrom(ListBackupsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListBackupsRequest |
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListBackupsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListBackupsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
|
setFilter(String value)
public ListBackupsRequest.Builder setFilter(String value)Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.
string filter = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListBackupsRequest.Builder setFilterBytes(ByteString value)Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.
string filter = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListBackupsRequest.Builder setPageSize(int value)The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.
int32 page_size = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListBackupsRequest.Builder setPageToken(String value) A page token, received from a previous ListBackups call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListBackups must match
the call that provided the page token.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListBackupsRequest.Builder setPageTokenBytes(ByteString value) A page token, received from a previous ListBackups call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListBackups must match
the call that provided the page token.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListBackupsRequest.Builder setParent(String value)Required. The parent that owns this collection of backups. Format: projects/{project}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListBackupsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListBackupsRequest.Builder setParentBytes(ByteString value)Required. The parent that owns this collection of backups. Format: projects/{project}
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 |
ListBackupsRequest.Builder |
This builder for chaining. |