public static final class CreateHiveDatabaseRequest.Builder extends GeneratedMessage.Builder<CreateHiveDatabaseRequest.Builder> implements CreateHiveDatabaseRequestOrBuilderRequest message for the CreateHiveDatabase method.
Protobuf type google.cloud.biglake.hive.v1beta.CreateHiveDatabaseRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateHiveDatabaseRequest.BuilderImplements
CreateHiveDatabaseRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateHiveDatabaseRequest build()| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest |
|
buildPartial()
public CreateHiveDatabaseRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest |
|
clear()
public CreateHiveDatabaseRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
|
clearHiveDatabase()
public CreateHiveDatabaseRequest.Builder clearHiveDatabase() Required. The database to create.
The name field does not need to be provided.
.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
|
clearHiveDatabaseId()
public CreateHiveDatabaseRequest.Builder clearHiveDatabaseId()Required. The ID to use for the Hive Database. The maximum length is 128 characters.
string hive_database_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
This builder for chaining. |
clearParent()
public CreateHiveDatabaseRequest.Builder clearParent()Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/catalogs/{catalog_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateHiveDatabaseRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHiveDatabase()
public HiveDatabase getHiveDatabase() Required. The database to create.
The name field does not need to be provided.
.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HiveDatabase |
The hiveDatabase. |
getHiveDatabaseBuilder()
public HiveDatabase.Builder getHiveDatabaseBuilder() Required. The database to create.
The name field does not need to be provided.
.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HiveDatabase.Builder |
|
getHiveDatabaseId()
public String getHiveDatabaseId()Required. The ID to use for the Hive Database. The maximum length is 128 characters.
string hive_database_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The hiveDatabaseId. |
getHiveDatabaseIdBytes()
public ByteString getHiveDatabaseIdBytes()Required. The ID to use for the Hive Database. The maximum length is 128 characters.
string hive_database_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for hiveDatabaseId. |
getHiveDatabaseOrBuilder()
public HiveDatabaseOrBuilder getHiveDatabaseOrBuilder() Required. The database to create.
The name field does not need to be provided.
.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HiveDatabaseOrBuilder |
|
getParent()
public String getParent()Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/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}/catalogs/{catalog_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasHiveDatabase()
public boolean hasHiveDatabase() Required. The database to create.
The name field does not need to be provided.
.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hiveDatabase field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateHiveDatabaseRequest other)
public CreateHiveDatabaseRequest.Builder mergeFrom(CreateHiveDatabaseRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateHiveDatabaseRequest |
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateHiveDatabaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateHiveDatabaseRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
|
mergeHiveDatabase(HiveDatabase value)
public CreateHiveDatabaseRequest.Builder mergeHiveDatabase(HiveDatabase value) Required. The database to create.
The name field does not need to be provided.
.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HiveDatabase |
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
|
setHiveDatabase(HiveDatabase value)
public CreateHiveDatabaseRequest.Builder setHiveDatabase(HiveDatabase value) Required. The database to create.
The name field does not need to be provided.
.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HiveDatabase |
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
|
setHiveDatabase(HiveDatabase.Builder builderForValue)
public CreateHiveDatabaseRequest.Builder setHiveDatabase(HiveDatabase.Builder builderForValue) Required. The database to create.
The name field does not need to be provided.
.google.cloud.biglake.hive.v1beta.HiveDatabase hive_database = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HiveDatabase.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
|
setHiveDatabaseId(String value)
public CreateHiveDatabaseRequest.Builder setHiveDatabaseId(String value)Required. The ID to use for the Hive Database. The maximum length is 128 characters.
string hive_database_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe hiveDatabaseId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
This builder for chaining. |
setHiveDatabaseIdBytes(ByteString value)
public CreateHiveDatabaseRequest.Builder setHiveDatabaseIdBytes(ByteString value)Required. The ID to use for the Hive Database. The maximum length is 128 characters.
string hive_database_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for hiveDatabaseId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateHiveDatabaseRequest.Builder setParent(String value)Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/catalogs/{catalog_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateHiveDatabaseRequest.Builder setParentBytes(ByteString value)Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/catalogs/{catalog_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateHiveDatabaseRequest.Builder |
This builder for chaining. |