public static final class ListCloudBackupsAction.Builder extends GeneratedMessageV3.Builder<ListCloudBackupsAction.Builder> implements ListCloudBackupsActionOrBuilder
Action that lists Cloud Spanner database backups.
Protobuf type google.spanner.executor.v1.ListCloudBackupsAction
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListCloudBackupsAction.BuilderImplements
ListCloudBackupsActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCloudBackupsAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |
build()
public ListCloudBackupsAction build()
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction |
buildPartial()
public ListCloudBackupsAction buildPartial()
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction |
clear()
public ListCloudBackupsAction.Builder clear()
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListCloudBackupsAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |
clearFilter()
public ListCloudBackupsAction.Builder clearFilter()
A filter expression that filters backups listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupsRequest for detail.
string filter = 3;
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
clearInstanceId()
public ListCloudBackupsAction.Builder clearInstanceId()
Cloud instance ID (not path) to list backups from, e.g. "test-instance".
string instance_id = 2;
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCloudBackupsAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |
clearPageSize()
public ListCloudBackupsAction.Builder clearPageSize()
Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
int32 page_size = 4;
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
clearPageToken()
public ListCloudBackupsAction.Builder clearPageToken()
If non-empty, "page_token" should contain a next_page_token from a previous ListBackupsResponse to the same "parent" and with the same "filter".
string page_token = 5;
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
clearProjectId()
public ListCloudBackupsAction.Builder clearProjectId()
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
clone()
public ListCloudBackupsAction.Builder clone()
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |
getDefaultInstanceForType()
public ListCloudBackupsAction getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFilter()
public String getFilter()
A filter expression that filters backups listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupsRequest for detail.
string filter = 3;
Returns | |
---|---|
Type | Description |
String | The filter. |
getFilterBytes()
public ByteString getFilterBytes()
A filter expression that filters backups listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupsRequest for detail.
string filter = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for filter. |
getInstanceId()
public String getInstanceId()
Cloud instance ID (not path) to list backups from, e.g. "test-instance".
string instance_id = 2;
Returns | |
---|---|
Type | Description |
String | The instanceId. |
getInstanceIdBytes()
public ByteString getInstanceIdBytes()
Cloud instance ID (not path) to list backups from, e.g. "test-instance".
string instance_id = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for instanceId. |
getPageSize()
public int getPageSize()
Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
int32 page_size = 4;
Returns | |
---|---|
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
If non-empty, "page_token" should contain a next_page_token from a previous ListBackupsResponse to the same "parent" and with the same "filter".
string page_token = 5;
Returns | |
---|---|
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
If non-empty, "page_token" should contain a next_page_token from a previous ListBackupsResponse to the same "parent" and with the same "filter".
string page_token = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for pageToken. |
getProjectId()
public String getProjectId()
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;
Returns | |
---|---|
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for projectId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCloudBackupsAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListCloudBackupsAction.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |
mergeFrom(ListCloudBackupsAction other)
public ListCloudBackupsAction.Builder mergeFrom(ListCloudBackupsAction other)
Parameter | |
---|---|
Name | Description |
other | ListCloudBackupsAction |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCloudBackupsAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListCloudBackupsAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |
setFilter(String value)
public ListCloudBackupsAction.Builder setFilter(String value)
A filter expression that filters backups listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupsRequest for detail.
string filter = 3;
Parameter | |
---|---|
Name | Description |
value | String The filter to set. |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
setFilterBytes(ByteString value)
public ListCloudBackupsAction.Builder setFilterBytes(ByteString value)
A filter expression that filters backups listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupsRequest for detail.
string filter = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for filter to set. |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
setInstanceId(String value)
public ListCloudBackupsAction.Builder setInstanceId(String value)
Cloud instance ID (not path) to list backups from, e.g. "test-instance".
string instance_id = 2;
Parameter | |
---|---|
Name | Description |
value | String The instanceId to set. |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
setInstanceIdBytes(ByteString value)
public ListCloudBackupsAction.Builder setInstanceIdBytes(ByteString value)
Cloud instance ID (not path) to list backups from, e.g. "test-instance".
string instance_id = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for instanceId to set. |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
setPageSize(int value)
public ListCloudBackupsAction.Builder setPageSize(int value)
Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
int32 page_size = 4;
Parameter | |
---|---|
Name | Description |
value | int The pageSize to set. |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
setPageToken(String value)
public ListCloudBackupsAction.Builder setPageToken(String value)
If non-empty, "page_token" should contain a next_page_token from a previous ListBackupsResponse to the same "parent" and with the same "filter".
string page_token = 5;
Parameter | |
---|---|
Name | Description |
value | String The pageToken to set. |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListCloudBackupsAction.Builder setPageTokenBytes(ByteString value)
If non-empty, "page_token" should contain a next_page_token from a previous ListBackupsResponse to the same "parent" and with the same "filter".
string page_token = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
setProjectId(String value)
public ListCloudBackupsAction.Builder setProjectId(String value)
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;
Parameter | |
---|---|
Name | Description |
value | String The projectId to set. |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public ListCloudBackupsAction.Builder setProjectIdBytes(ByteString value)
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for projectId to set. |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCloudBackupsAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCloudBackupsAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListCloudBackupsAction.Builder |