public static final class CreateDatabaseRequest.Builder extends GeneratedMessageV3.Builder<CreateDatabaseRequest.Builder> implements CreateDatabaseRequestOrBuilder
Request message for the CreateDatabase method.
Protobuf type google.cloud.bigquery.biglake.v1alpha1.CreateDatabaseRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateDatabaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateDatabaseRequest build()
buildPartial()
public CreateDatabaseRequest buildPartial()
clear()
public CreateDatabaseRequest.Builder clear()
Overrides
clearDatabase()
public CreateDatabaseRequest.Builder clearDatabase()
Required. The database to create.
The name
field does not need to be provided.
.google.cloud.bigquery.biglake.v1alpha1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
clearDatabaseId()
public CreateDatabaseRequest.Builder clearDatabaseId()
Required. The ID to use for the database, which will become the final
component of the database's resource name.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateDatabaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDatabaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateDatabaseRequest.Builder clearParent()
Required. The parent resource where this database will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateDatabaseRequest.Builder clone()
Overrides
getDatabase()
public Database getDatabase()
Required. The database to create.
The name
field does not need to be provided.
.google.cloud.bigquery.biglake.v1alpha1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Database | The database.
|
getDatabaseBuilder()
public Database.Builder getDatabaseBuilder()
Required. The database to create.
The name
field does not need to be provided.
.google.cloud.bigquery.biglake.v1alpha1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
getDatabaseId()
public String getDatabaseId()
Required. The ID to use for the database, which will become the final
component of the database's resource name.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The databaseId.
|
getDatabaseIdBytes()
public ByteString getDatabaseIdBytes()
Required. The ID to use for the database, which will become the final
component of the database's resource name.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for databaseId.
|
getDatabaseOrBuilder()
public DatabaseOrBuilder getDatabaseOrBuilder()
Required. The database to create.
The name
field does not need to be provided.
.google.cloud.bigquery.biglake.v1alpha1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateDatabaseRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The parent resource where this database will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
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 resource where this database will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasDatabase()
public boolean hasDatabase()
Required. The database to create.
The name
field does not need to be provided.
.google.cloud.bigquery.biglake.v1alpha1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the database field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDatabase(Database value)
public CreateDatabaseRequest.Builder mergeDatabase(Database value)
Required. The database to create.
The name
field does not need to be provided.
.google.cloud.bigquery.biglake.v1alpha1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateDatabaseRequest other)
public CreateDatabaseRequest.Builder mergeFrom(CreateDatabaseRequest other)
public CreateDatabaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateDatabaseRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDatabaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDatabase(Database value)
public CreateDatabaseRequest.Builder setDatabase(Database value)
Required. The database to create.
The name
field does not need to be provided.
.google.cloud.bigquery.biglake.v1alpha1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
setDatabase(Database.Builder builderForValue)
public CreateDatabaseRequest.Builder setDatabase(Database.Builder builderForValue)
Required. The database to create.
The name
field does not need to be provided.
.google.cloud.bigquery.biglake.v1alpha1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
setDatabaseId(String value)
public CreateDatabaseRequest.Builder setDatabaseId(String value)
Required. The ID to use for the database, which will become the final
component of the database's resource name.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The databaseId to set.
|
setDatabaseIdBytes(ByteString value)
public CreateDatabaseRequest.Builder setDatabaseIdBytes(ByteString value)
Required. The ID to use for the database, which will become the final
component of the database's resource name.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for databaseId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDatabaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateDatabaseRequest.Builder setParent(String value)
Required. The parent resource where this database will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateDatabaseRequest.Builder setParentBytes(ByteString value)
Required. The parent resource where this database will be created.
Format:
projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDatabaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDatabaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides