public static final class ListDatabasesRequest.Builder extends GeneratedMessageV3.Builder<ListDatabasesRequest.Builder> implements ListDatabasesRequestOrBuilder
The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].Protobuf type
google.spanner.admin.database.v1.ListDatabasesRequest
Modifier and Type | Method and Description |
---|---|
ListDatabasesRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ListDatabasesRequest |
build() |
ListDatabasesRequest |
buildPartial() |
ListDatabasesRequest.Builder |
clear() |
ListDatabasesRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListDatabasesRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListDatabasesRequest.Builder |
clearPageSize()
Number of databases to be returned in the response.
|
ListDatabasesRequest.Builder |
clearPageToken()
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
|
ListDatabasesRequest.Builder |
clearParent()
Required.
|
ListDatabasesRequest.Builder |
clone() |
ListDatabasesRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
int |
getPageSize()
Number of databases to be returned in the response.
|
String |
getPageToken()
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
|
ByteString |
getPageTokenBytes()
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
|
String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListDatabasesRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListDatabasesRequest.Builder |
mergeFrom(ListDatabasesRequest other) |
ListDatabasesRequest.Builder |
mergeFrom(Message other) |
ListDatabasesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListDatabasesRequest.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ListDatabasesRequest.Builder |
setPageSize(int value)
Number of databases to be returned in the response.
|
ListDatabasesRequest.Builder |
setPageToken(String value)
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
|
ListDatabasesRequest.Builder |
setPageTokenBytes(ByteString value)
If non-empty, `page_token` should contain a
[next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
|
ListDatabasesRequest.Builder |
setParent(String value)
Required.
|
ListDatabasesRequest.Builder |
setParentBytes(ByteString value)
Required.
|
ListDatabasesRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ListDatabasesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
public ListDatabasesRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
public ListDatabasesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListDatabasesRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListDatabasesRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListDatabasesRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
public ListDatabasesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
public ListDatabasesRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
public ListDatabasesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
public ListDatabasesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
public ListDatabasesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
public ListDatabasesRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListDatabasesRequest.Builder>
public ListDatabasesRequest.Builder mergeFrom(ListDatabasesRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
public ListDatabasesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListDatabasesRequest.Builder>
IOException
public String getParent()
Required. The instance whose databases should be listed. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent
in interface ListDatabasesRequestOrBuilder
public ByteString getParentBytes()
Required. The instance whose databases should be listed. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes
in interface ListDatabasesRequestOrBuilder
public ListDatabasesRequest.Builder setParent(String value)
Required. The instance whose databases should be listed. 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 ListDatabasesRequest.Builder clearParent()
Required. The instance whose databases should be listed. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListDatabasesRequest.Builder setParentBytes(ByteString value)
Required. The instance whose databases should be listed. 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 int getPageSize()
Number of databases 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 ListDatabasesRequestOrBuilder
public ListDatabasesRequest.Builder setPageSize(int value)
Number of databases 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 ListDatabasesRequest.Builder clearPageSize()
Number of databases 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.ListDatabasesResponse.next_page_token] from a previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
string page_token = 4;
getPageToken
in interface ListDatabasesRequestOrBuilder
public ByteString getPageTokenBytes()
If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
string page_token = 4;
getPageTokenBytes
in interface ListDatabasesRequestOrBuilder
public ListDatabasesRequest.Builder setPageToken(String value)
If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
string page_token = 4;
value
- The pageToken to set.public ListDatabasesRequest.Builder clearPageToken()
If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
string page_token = 4;
public ListDatabasesRequest.Builder setPageTokenBytes(ByteString value)
If non-empty, `page_token` should contain a [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
string page_token = 4;
value
- The bytes for pageToken to set.public final ListDatabasesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
public final ListDatabasesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListDatabasesRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.