public static final class GetDatabaseRequest.Builder extends GeneratedMessageV3.Builder<GetDatabaseRequest.Builder> implements GetDatabaseRequestOrBuilder
The request for GetDatabase.
Protobuf type google.spanner.admin.database.v1.GetDatabaseRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetDatabaseRequest.BuilderImplements
GetDatabaseRequestOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetDatabaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GetDatabaseRequest.Builder |
build()
public GetDatabaseRequest build()
Type | Description |
GetDatabaseRequest |
buildPartial()
public GetDatabaseRequest buildPartial()
Type | Description |
GetDatabaseRequest |
clear()
public GetDatabaseRequest.Builder clear()
Type | Description |
GetDatabaseRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GetDatabaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GetDatabaseRequest.Builder |
clearName()
public GetDatabaseRequest.Builder clearName()
Required. The name of the requested database. Values are of the form
projects/<project>/instances/<instance>/databases/<database>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
GetDatabaseRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetDatabaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GetDatabaseRequest.Builder |
clone()
public GetDatabaseRequest.Builder clone()
Type | Description |
GetDatabaseRequest.Builder |
getDefaultInstanceForType()
public GetDatabaseRequest getDefaultInstanceForType()
Type | Description |
GetDatabaseRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. The name of the requested database. Values are of the form
projects/<project>/instances/<instance>/databases/<database>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The name of the requested database. Values are of the form
projects/<project>/instances/<instance>/databases/<database>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetDatabaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetDatabaseRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GetDatabaseRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GetDatabaseRequest.Builder |
mergeFrom(GetDatabaseRequest other)
public GetDatabaseRequest.Builder mergeFrom(GetDatabaseRequest other)
Name | Description |
other | GetDatabaseRequest |
Type | Description |
GetDatabaseRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetDatabaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GetDatabaseRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetDatabaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GetDatabaseRequest.Builder |
setName(String value)
public GetDatabaseRequest.Builder setName(String value)
Required. The name of the requested database. Values are of the form
projects/<project>/instances/<instance>/databases/<database>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
GetDatabaseRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public GetDatabaseRequest.Builder setNameBytes(ByteString value)
Required. The name of the requested database. Values are of the form
projects/<project>/instances/<instance>/databases/<database>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
GetDatabaseRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetDatabaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GetDatabaseRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetDatabaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GetDatabaseRequest.Builder |