public static final class ListBackupOperationsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder> implements ListBackupOperationsRequestOrBuilder
The request for [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].Protobuf type
google.spanner.admin.database.v1.ListBackupOperationsRequest| Modifier and Type | Method and Description |
|---|---|
ListBackupOperationsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBackupOperationsRequest |
build() |
ListBackupOperationsRequest |
buildPartial() |
ListBackupOperationsRequest.Builder |
clear() |
ListBackupOperationsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListBackupOperationsRequest.Builder |
clearFilter()
An expression that filters the list of returned backup operations.
|
ListBackupOperationsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListBackupOperationsRequest.Builder |
clearPageSize()
Number of operations to be returned in the response.
|
ListBackupOperationsRequest.Builder |
clearPageToken()
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
same `parent` and with the same `filter`.
|
ListBackupOperationsRequest.Builder |
clearParent()
Required.
|
ListBackupOperationsRequest.Builder |
clone() |
ListBackupOperationsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
An expression that filters the list of returned backup operations.
|
com.google.protobuf.ByteString |
getFilterBytes()
An expression that filters the list of returned backup operations.
|
int |
getPageSize()
Number of operations to be returned in the response.
|
String |
getPageToken()
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
same `parent` and with the same `filter`.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
same `parent` and with the same `filter`.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListBackupOperationsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListBackupOperationsRequest.Builder |
mergeFrom(ListBackupOperationsRequest other) |
ListBackupOperationsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListBackupOperationsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListBackupOperationsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBackupOperationsRequest.Builder |
setFilter(String value)
An expression that filters the list of returned backup operations.
|
ListBackupOperationsRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
An expression that filters the list of returned backup operations.
|
ListBackupOperationsRequest.Builder |
setPageSize(int value)
Number of operations to be returned in the response.
|
ListBackupOperationsRequest.Builder |
setPageToken(String value)
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
same `parent` and with the same `filter`.
|
ListBackupOperationsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token]
from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the
same `parent` and with the same `filter`.
|
ListBackupOperationsRequest.Builder |
setParent(String value)
Required.
|
ListBackupOperationsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListBackupOperationsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListBackupOperationsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>public ListBackupOperationsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>public ListBackupOperationsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListBackupOperationsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListBackupOperationsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListBackupOperationsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>public ListBackupOperationsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>public ListBackupOperationsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>public ListBackupOperationsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>public ListBackupOperationsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>public ListBackupOperationsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>public ListBackupOperationsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListBackupOperationsRequest.Builder>public ListBackupOperationsRequest.Builder mergeFrom(ListBackupOperationsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>public ListBackupOperationsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListBackupOperationsRequest.Builder>IOExceptionpublic String getParent()
Required. The instance of the backup operations. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListBackupOperationsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The instance of the backup operations. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListBackupOperationsRequestOrBuilderpublic ListBackupOperationsRequest.Builder setParent(String value)
Required. The instance of the backup operations. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListBackupOperationsRequest.Builder clearParent()
Required. The instance of the backup operations. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListBackupOperationsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The instance of the backup operations. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public String getFilter()
An expression that filters the list of returned backup operations.
A filter expression consists of a field name, a
comparison operator, and a value for filtering.
The value must be a string, a number, or a boolean. The comparison operator
must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
Colon `:` is the contains operator. Filter rules are not case sensitive.
The following fields in the [operation][google.longrunning.Operation]
are eligible for filtering:
* `name` - The name of the long-running operation
* `done` - False if the operation is in progress, else true.
* `metadata.@type` - the type of metadata. For example, the type string
for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is
`type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`.
* `metadata.<field_name>` - any field in metadata.value.
* `error` - Error associated with the long-running operation.
* `response.@type` - the type of response.
* `response.<field_name>` - any field in response.value.
You can combine multiple expressions by enclosing each expression in
parentheses. By default, expressions are combined with AND logic, but
you can specify AND, OR, and NOT logic explicitly.
Here are a few examples:
* `done:true` - The operation is complete.
* `metadata.database:prod` - The database the backup was taken from has
a name containing the string "prod".
* `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` <br/>
`(metadata.name:howl) AND` <br/>
`(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` <br/>
`(error:*)` - Returns operations where:
* The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata].
* The backup name contains the string "howl".
* The operation started before 2018-03-28T14:50:00Z.
* The operation resulted in an error.
string filter = 2;getFilter in interface ListBackupOperationsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
An expression that filters the list of returned backup operations.
A filter expression consists of a field name, a
comparison operator, and a value for filtering.
The value must be a string, a number, or a boolean. The comparison operator
must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
Colon `:` is the contains operator. Filter rules are not case sensitive.
The following fields in the [operation][google.longrunning.Operation]
are eligible for filtering:
* `name` - The name of the long-running operation
* `done` - False if the operation is in progress, else true.
* `metadata.@type` - the type of metadata. For example, the type string
for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is
`type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`.
* `metadata.<field_name>` - any field in metadata.value.
* `error` - Error associated with the long-running operation.
* `response.@type` - the type of response.
* `response.<field_name>` - any field in response.value.
You can combine multiple expressions by enclosing each expression in
parentheses. By default, expressions are combined with AND logic, but
you can specify AND, OR, and NOT logic explicitly.
Here are a few examples:
* `done:true` - The operation is complete.
* `metadata.database:prod` - The database the backup was taken from has
a name containing the string "prod".
* `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` <br/>
`(metadata.name:howl) AND` <br/>
`(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` <br/>
`(error:*)` - Returns operations where:
* The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata].
* The backup name contains the string "howl".
* The operation started before 2018-03-28T14:50:00Z.
* The operation resulted in an error.
string filter = 2;getFilterBytes in interface ListBackupOperationsRequestOrBuilderpublic ListBackupOperationsRequest.Builder setFilter(String value)
An expression that filters the list of returned backup operations.
A filter expression consists of a field name, a
comparison operator, and a value for filtering.
The value must be a string, a number, or a boolean. The comparison operator
must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
Colon `:` is the contains operator. Filter rules are not case sensitive.
The following fields in the [operation][google.longrunning.Operation]
are eligible for filtering:
* `name` - The name of the long-running operation
* `done` - False if the operation is in progress, else true.
* `metadata.@type` - the type of metadata. For example, the type string
for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is
`type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`.
* `metadata.<field_name>` - any field in metadata.value.
* `error` - Error associated with the long-running operation.
* `response.@type` - the type of response.
* `response.<field_name>` - any field in response.value.
You can combine multiple expressions by enclosing each expression in
parentheses. By default, expressions are combined with AND logic, but
you can specify AND, OR, and NOT logic explicitly.
Here are a few examples:
* `done:true` - The operation is complete.
* `metadata.database:prod` - The database the backup was taken from has
a name containing the string "prod".
* `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` <br/>
`(metadata.name:howl) AND` <br/>
`(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` <br/>
`(error:*)` - Returns operations where:
* The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata].
* The backup name contains the string "howl".
* The operation started before 2018-03-28T14:50:00Z.
* The operation resulted in an error.
string filter = 2;value - The filter to set.public ListBackupOperationsRequest.Builder clearFilter()
An expression that filters the list of returned backup operations.
A filter expression consists of a field name, a
comparison operator, and a value for filtering.
The value must be a string, a number, or a boolean. The comparison operator
must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
Colon `:` is the contains operator. Filter rules are not case sensitive.
The following fields in the [operation][google.longrunning.Operation]
are eligible for filtering:
* `name` - The name of the long-running operation
* `done` - False if the operation is in progress, else true.
* `metadata.@type` - the type of metadata. For example, the type string
for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is
`type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`.
* `metadata.<field_name>` - any field in metadata.value.
* `error` - Error associated with the long-running operation.
* `response.@type` - the type of response.
* `response.<field_name>` - any field in response.value.
You can combine multiple expressions by enclosing each expression in
parentheses. By default, expressions are combined with AND logic, but
you can specify AND, OR, and NOT logic explicitly.
Here are a few examples:
* `done:true` - The operation is complete.
* `metadata.database:prod` - The database the backup was taken from has
a name containing the string "prod".
* `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` <br/>
`(metadata.name:howl) AND` <br/>
`(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` <br/>
`(error:*)` - Returns operations where:
* The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata].
* The backup name contains the string "howl".
* The operation started before 2018-03-28T14:50:00Z.
* The operation resulted in an error.
string filter = 2;public ListBackupOperationsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
An expression that filters the list of returned backup operations.
A filter expression consists of a field name, a
comparison operator, and a value for filtering.
The value must be a string, a number, or a boolean. The comparison operator
must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
Colon `:` is the contains operator. Filter rules are not case sensitive.
The following fields in the [operation][google.longrunning.Operation]
are eligible for filtering:
* `name` - The name of the long-running operation
* `done` - False if the operation is in progress, else true.
* `metadata.@type` - the type of metadata. For example, the type string
for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is
`type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`.
* `metadata.<field_name>` - any field in metadata.value.
* `error` - Error associated with the long-running operation.
* `response.@type` - the type of response.
* `response.<field_name>` - any field in response.value.
You can combine multiple expressions by enclosing each expression in
parentheses. By default, expressions are combined with AND logic, but
you can specify AND, OR, and NOT logic explicitly.
Here are a few examples:
* `done:true` - The operation is complete.
* `metadata.database:prod` - The database the backup was taken from has
a name containing the string "prod".
* `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` <br/>
`(metadata.name:howl) AND` <br/>
`(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` <br/>
`(error:*)` - Returns operations where:
* The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata].
* The backup name contains the string "howl".
* The operation started before 2018-03-28T14:50:00Z.
* The operation resulted in an error.
string filter = 2;value - The bytes for filter to set.public int getPageSize()
Number of operations to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
int32 page_size = 3;getPageSize in interface ListBackupOperationsRequestOrBuilderpublic ListBackupOperationsRequest.Builder setPageSize(int value)
Number of operations to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
int32 page_size = 3;value - The pageSize to set.public ListBackupOperationsRequest.Builder clearPageSize()
Number of operations to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
int32 page_size = 3;public String getPageToken()
If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token] from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the same `parent` and with the same `filter`.
string page_token = 4;getPageToken in interface ListBackupOperationsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token] from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the same `parent` and with the same `filter`.
string page_token = 4;getPageTokenBytes in interface ListBackupOperationsRequestOrBuilderpublic ListBackupOperationsRequest.Builder setPageToken(String value)
If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token] from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the same `parent` and with the same `filter`.
string page_token = 4;value - The pageToken to set.public ListBackupOperationsRequest.Builder clearPageToken()
If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token] from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the same `parent` and with the same `filter`.
string page_token = 4;public ListBackupOperationsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token] from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the same `parent` and with the same `filter`.
string page_token = 4;value - The bytes for pageToken to set.public final ListBackupOperationsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>public final ListBackupOperationsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListBackupOperationsRequest.Builder>Copyright © 2020 Google LLC. All rights reserved.