public static final class CreateIcebergCatalogRequest.Builder extends GeneratedMessage.Builder<CreateIcebergCatalogRequest.Builder> implements CreateIcebergCatalogRequestOrBuilder The request message for the CreateIcebergCatalog API.
Protobuf type google.cloud.biglake.v1.CreateIcebergCatalogRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateIcebergCatalogRequest.BuilderImplements
CreateIcebergCatalogRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateIcebergCatalogRequest build()| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest |
|
buildPartial()
public CreateIcebergCatalogRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest |
|
clear()
public CreateIcebergCatalogRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
|
clearIcebergCatalog()
public CreateIcebergCatalogRequest.Builder clearIcebergCatalog()Required. The catalog to create. The required fields for creation are:
- catalog_type. Optionally: credential_mode can be provided, if Credential Vending is desired.
.google.cloud.biglake.v1.IcebergCatalog iceberg_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
|
clearIcebergCatalogId()
public CreateIcebergCatalogRequest.Builder clearIcebergCatalogId()Required. The name of the catalog.
string iceberg_catalog_id = 3 [json_name = "iceberg-catalog-id", (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
This builder for chaining. |
clearParent()
public CreateIcebergCatalogRequest.Builder clearParent()Required. The parent resource where this catalog will be created. Format: projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
This builder for chaining. |
clearPrimaryLocation()
public CreateIcebergCatalogRequest.Builder clearPrimaryLocation()Optional. The primary location where the catalog metadata will be stored.
For Google Cloud Storage bucket catalogs and BigLake catalogs, if this
is not specified, then the region is inferred from the bucket's region
(default_location bucket for BigLake catalogs). If specified, the region
must be in jurisdiction (near the default_location bucket's region and
the restricted_locations buckets' regions for BigLake catalogs).
For federated catalogs, this must be specified and be a Lakehouse-supported location (https://docs.cloud.google.com/lakehouse/docs/locations). It should be close to the remote catalog's location for the best performance and cost.
string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateIcebergCatalogRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIcebergCatalog()
public IcebergCatalog getIcebergCatalog()Required. The catalog to create. The required fields for creation are:
- catalog_type. Optionally: credential_mode can be provided, if Credential Vending is desired.
.google.cloud.biglake.v1.IcebergCatalog iceberg_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IcebergCatalog |
The icebergCatalog. |
getIcebergCatalogBuilder()
public IcebergCatalog.Builder getIcebergCatalogBuilder()Required. The catalog to create. The required fields for creation are:
- catalog_type. Optionally: credential_mode can be provided, if Credential Vending is desired.
.google.cloud.biglake.v1.IcebergCatalog iceberg_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.Builder |
|
getIcebergCatalogId()
public String getIcebergCatalogId()Required. The name of the catalog.
string iceberg_catalog_id = 3 [json_name = "iceberg-catalog-id", (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The icebergCatalogId. |
getIcebergCatalogIdBytes()
public ByteString getIcebergCatalogIdBytes()Required. The name of the catalog.
string iceberg_catalog_id = 3 [json_name = "iceberg-catalog-id", (.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for icebergCatalogId. |
getIcebergCatalogOrBuilder()
public IcebergCatalogOrBuilder getIcebergCatalogOrBuilder()Required. The catalog to create. The required fields for creation are:
- catalog_type. Optionally: credential_mode can be provided, if Credential Vending is desired.
.google.cloud.biglake.v1.IcebergCatalog iceberg_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IcebergCatalogOrBuilder |
|
getParent()
public String getParent()Required. The parent resource where this catalog will be created. Format: projects/{project_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 catalog will be created. Format: projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getPrimaryLocation()
public String getPrimaryLocation()Optional. The primary location where the catalog metadata will be stored.
For Google Cloud Storage bucket catalogs and BigLake catalogs, if this
is not specified, then the region is inferred from the bucket's region
(default_location bucket for BigLake catalogs). If specified, the region
must be in jurisdiction (near the default_location bucket's region and
the restricted_locations buckets' regions for BigLake catalogs).
For federated catalogs, this must be specified and be a Lakehouse-supported location (https://docs.cloud.google.com/lakehouse/docs/locations). It should be close to the remote catalog's location for the best performance and cost.
string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The primaryLocation. |
getPrimaryLocationBytes()
public ByteString getPrimaryLocationBytes()Optional. The primary location where the catalog metadata will be stored.
For Google Cloud Storage bucket catalogs and BigLake catalogs, if this
is not specified, then the region is inferred from the bucket's region
(default_location bucket for BigLake catalogs). If specified, the region
must be in jurisdiction (near the default_location bucket's region and
the restricted_locations buckets' regions for BigLake catalogs).
For federated catalogs, this must be specified and be a Lakehouse-supported location (https://docs.cloud.google.com/lakehouse/docs/locations). It should be close to the remote catalog's location for the best performance and cost.
string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for primaryLocation. |
hasIcebergCatalog()
public boolean hasIcebergCatalog()Required. The catalog to create. The required fields for creation are:
- catalog_type. Optionally: credential_mode can be provided, if Credential Vending is desired.
.google.cloud.biglake.v1.IcebergCatalog iceberg_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the icebergCatalog field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateIcebergCatalogRequest other)
public CreateIcebergCatalogRequest.Builder mergeFrom(CreateIcebergCatalogRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateIcebergCatalogRequest |
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateIcebergCatalogRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateIcebergCatalogRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
|
mergeIcebergCatalog(IcebergCatalog value)
public CreateIcebergCatalogRequest.Builder mergeIcebergCatalog(IcebergCatalog value)Required. The catalog to create. The required fields for creation are:
- catalog_type. Optionally: credential_mode can be provided, if Credential Vending is desired.
.google.cloud.biglake.v1.IcebergCatalog iceberg_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
IcebergCatalog |
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
|
setIcebergCatalog(IcebergCatalog value)
public CreateIcebergCatalogRequest.Builder setIcebergCatalog(IcebergCatalog value)Required. The catalog to create. The required fields for creation are:
- catalog_type. Optionally: credential_mode can be provided, if Credential Vending is desired.
.google.cloud.biglake.v1.IcebergCatalog iceberg_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
IcebergCatalog |
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
|
setIcebergCatalog(IcebergCatalog.Builder builderForValue)
public CreateIcebergCatalogRequest.Builder setIcebergCatalog(IcebergCatalog.Builder builderForValue)Required. The catalog to create. The required fields for creation are:
- catalog_type. Optionally: credential_mode can be provided, if Credential Vending is desired.
.google.cloud.biglake.v1.IcebergCatalog iceberg_catalog = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
IcebergCatalog.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
|
setIcebergCatalogId(String value)
public CreateIcebergCatalogRequest.Builder setIcebergCatalogId(String value)Required. The name of the catalog.
string iceberg_catalog_id = 3 [json_name = "iceberg-catalog-id", (.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe icebergCatalogId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
This builder for chaining. |
setIcebergCatalogIdBytes(ByteString value)
public CreateIcebergCatalogRequest.Builder setIcebergCatalogIdBytes(ByteString value)Required. The name of the catalog.
string iceberg_catalog_id = 3 [json_name = "iceberg-catalog-id", (.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for icebergCatalogId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateIcebergCatalogRequest.Builder setParent(String value)Required. The parent resource where this catalog will be created. Format: projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateIcebergCatalogRequest.Builder setParentBytes(ByteString value)Required. The parent resource where this catalog will be created. Format: projects/{project_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 |
CreateIcebergCatalogRequest.Builder |
This builder for chaining. |
setPrimaryLocation(String value)
public CreateIcebergCatalogRequest.Builder setPrimaryLocation(String value)Optional. The primary location where the catalog metadata will be stored.
For Google Cloud Storage bucket catalogs and BigLake catalogs, if this
is not specified, then the region is inferred from the bucket's region
(default_location bucket for BigLake catalogs). If specified, the region
must be in jurisdiction (near the default_location bucket's region and
the restricted_locations buckets' regions for BigLake catalogs).
For federated catalogs, this must be specified and be a Lakehouse-supported location (https://docs.cloud.google.com/lakehouse/docs/locations). It should be close to the remote catalog's location for the best performance and cost.
string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe primaryLocation to set. |
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
This builder for chaining. |
setPrimaryLocationBytes(ByteString value)
public CreateIcebergCatalogRequest.Builder setPrimaryLocationBytes(ByteString value)Optional. The primary location where the catalog metadata will be stored.
For Google Cloud Storage bucket catalogs and BigLake catalogs, if this
is not specified, then the region is inferred from the bucket's region
(default_location bucket for BigLake catalogs). If specified, the region
must be in jurisdiction (near the default_location bucket's region and
the restricted_locations buckets' regions for BigLake catalogs).
For federated catalogs, this must be specified and be a Lakehouse-supported location (https://docs.cloud.google.com/lakehouse/docs/locations). It should be close to the remote catalog's location for the best performance and cost.
string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for primaryLocation to set. |
| Returns | |
|---|---|
| Type | Description |
CreateIcebergCatalogRequest.Builder |
This builder for chaining. |