public static final class CreateHiveCatalogRequest.Builder extends GeneratedMessage.Builder<CreateHiveCatalogRequest.Builder> implements CreateHiveCatalogRequestOrBuilderRequest message for the CreateHiveCatalog method.
Protobuf type google.cloud.biglake.hive.v1beta.CreateHiveCatalogRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateHiveCatalogRequest.BuilderImplements
CreateHiveCatalogRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateHiveCatalogRequest build()| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest |
|
buildPartial()
public CreateHiveCatalogRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest |
|
clear()
public CreateHiveCatalogRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
|
clearHiveCatalog()
public CreateHiveCatalogRequest.Builder clearHiveCatalog() Required. The catalog to create.
The name field does not need to be provided. Gets copied over from
catalog_id.
.google.cloud.biglake.hive.v1beta.HiveCatalog hive_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
|
clearHiveCatalogId()
public CreateHiveCatalogRequest.Builder clearHiveCatalogId()Required. The Hive Catalog ID to use for the catalog that will become the final component of the catalog's resource name. The maximum length is 256 characters.
string hive_catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
This builder for chaining. |
clearParent()
public CreateHiveCatalogRequest.Builder clearParent()Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
This builder for chaining. |
clearPrimaryLocation()
public CreateHiveCatalogRequest.Builder clearPrimaryLocation()Required. The GCP region that specifies where the catalog metadata is stored, e.g. us-central1, EU, etc.
string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateHiveCatalogRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHiveCatalog()
public HiveCatalog getHiveCatalog() Required. The catalog to create.
The name field does not need to be provided. Gets copied over from
catalog_id.
.google.cloud.biglake.hive.v1beta.HiveCatalog hive_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HiveCatalog |
The hiveCatalog. |
getHiveCatalogBuilder()
public HiveCatalog.Builder getHiveCatalogBuilder() Required. The catalog to create.
The name field does not need to be provided. Gets copied over from
catalog_id.
.google.cloud.biglake.hive.v1beta.HiveCatalog hive_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HiveCatalog.Builder |
|
getHiveCatalogId()
public String getHiveCatalogId()Required. The Hive Catalog ID to use for the catalog that will become the final component of the catalog's resource name. The maximum length is 256 characters.
string hive_catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The hiveCatalogId. |
getHiveCatalogIdBytes()
public ByteString getHiveCatalogIdBytes()Required. The Hive Catalog ID to use for the catalog that will become the final component of the catalog's resource name. The maximum length is 256 characters.
string hive_catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for hiveCatalogId. |
getHiveCatalogOrBuilder()
public HiveCatalogOrBuilder getHiveCatalogOrBuilder() Required. The catalog to create.
The name field does not need to be provided. Gets copied over from
catalog_id.
.google.cloud.biglake.hive.v1beta.HiveCatalog hive_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HiveCatalogOrBuilder |
|
getParent()
public String getParent()Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}
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 catalog will be created. Format: projects/{project_id_or_number}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getPrimaryLocation()
public String getPrimaryLocation()Required. The GCP region that specifies where the catalog metadata is stored, e.g. us-central1, EU, etc.
string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The primaryLocation. |
getPrimaryLocationBytes()
public ByteString getPrimaryLocationBytes()Required. The GCP region that specifies where the catalog metadata is stored, e.g. us-central1, EU, etc.
string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for primaryLocation. |
hasHiveCatalog()
public boolean hasHiveCatalog() Required. The catalog to create.
The name field does not need to be provided. Gets copied over from
catalog_id.
.google.cloud.biglake.hive.v1beta.HiveCatalog hive_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hiveCatalog field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateHiveCatalogRequest other)
public CreateHiveCatalogRequest.Builder mergeFrom(CreateHiveCatalogRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateHiveCatalogRequest |
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateHiveCatalogRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateHiveCatalogRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
|
mergeHiveCatalog(HiveCatalog value)
public CreateHiveCatalogRequest.Builder mergeHiveCatalog(HiveCatalog value) Required. The catalog to create.
The name field does not need to be provided. Gets copied over from
catalog_id.
.google.cloud.biglake.hive.v1beta.HiveCatalog hive_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HiveCatalog |
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
|
setHiveCatalog(HiveCatalog value)
public CreateHiveCatalogRequest.Builder setHiveCatalog(HiveCatalog value) Required. The catalog to create.
The name field does not need to be provided. Gets copied over from
catalog_id.
.google.cloud.biglake.hive.v1beta.HiveCatalog hive_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HiveCatalog |
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
|
setHiveCatalog(HiveCatalog.Builder builderForValue)
public CreateHiveCatalogRequest.Builder setHiveCatalog(HiveCatalog.Builder builderForValue) Required. The catalog to create.
The name field does not need to be provided. Gets copied over from
catalog_id.
.google.cloud.biglake.hive.v1beta.HiveCatalog hive_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HiveCatalog.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
|
setHiveCatalogId(String value)
public CreateHiveCatalogRequest.Builder setHiveCatalogId(String value)Required. The Hive Catalog ID to use for the catalog that will become the final component of the catalog's resource name. The maximum length is 256 characters.
string hive_catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe hiveCatalogId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
This builder for chaining. |
setHiveCatalogIdBytes(ByteString value)
public CreateHiveCatalogRequest.Builder setHiveCatalogIdBytes(ByteString value)Required. The Hive Catalog ID to use for the catalog that will become the final component of the catalog's resource name. The maximum length is 256 characters.
string hive_catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for hiveCatalogId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateHiveCatalogRequest.Builder setParent(String value)Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateHiveCatalogRequest.Builder setParentBytes(ByteString value)Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}
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 |
CreateHiveCatalogRequest.Builder |
This builder for chaining. |
setPrimaryLocation(String value)
public CreateHiveCatalogRequest.Builder setPrimaryLocation(String value)Required. The GCP region that specifies where the catalog metadata is stored, e.g. us-central1, EU, etc.
string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe primaryLocation to set. |
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
This builder for chaining. |
setPrimaryLocationBytes(ByteString value)
public CreateHiveCatalogRequest.Builder setPrimaryLocationBytes(ByteString value)Required. The GCP region that specifies where the catalog metadata is stored, e.g. us-central1, EU, etc.
string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for primaryLocation to set. |
| Returns | |
|---|---|
| Type | Description |
CreateHiveCatalogRequest.Builder |
This builder for chaining. |