Class IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder (0.83.0)

public static final class IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder extends GeneratedMessage.Builder<IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder> implements IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfoOrBuilder

AWS Glue Catalog info. We support regional AWS Glue default account catalog and S3 Table Buckets.

Protobuf type google.cloud.biglake.v1.IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo build()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo

buildPartial()

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo buildPartial()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo

clear()

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder clear()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder
Overrides

clearAwsRegion()

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder clearAwsRegion()

Required. Immutable. The AWS region of the Glue catalog to connect to. The region should be in the same geographical region and jurisdiction as the federated catalog. Must be non-empty and is immutable.

optional string aws_region = 2 [json_name = "aws-region", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

This builder for chaining.

clearAwsRoleArn()

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder clearAwsRoleArn()

Required. The AWS role ARN of the Glue catalog that the federated catalog will assume to access the catalog. Must be non-empty. Can be updated.

optional string aws_role_arn = 3 [json_name = "aws-role-arn", (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

This builder for chaining.

clearWarehouse()

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder clearWarehouse()

Required. Immutable. The warehouse to connect to a regional AWS Glue Iceberg REST Catalog. For top level access, use the AWS account ID (e.g. 111222333444). For an S3 table bucket, the warehouse is of the form: 111222333444:s3tablescatalog/<table-bucket-name>. The URL to access catalog will be https://glue.{aws_region}.amazonaws.com/iceberg/v1?warehouse={warehouse}. Must be non-empty and is immutable.

optional string warehouse = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

This builder for chaining.

getAwsRegion()

public String getAwsRegion()

Required. Immutable. The AWS region of the Glue catalog to connect to. The region should be in the same geographical region and jurisdiction as the federated catalog. Must be non-empty and is immutable.

optional string aws_region = 2 [json_name = "aws-region", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The awsRegion.

getAwsRegionBytes()

public ByteString getAwsRegionBytes()

Required. Immutable. The AWS region of the Glue catalog to connect to. The region should be in the same geographical region and jurisdiction as the federated catalog. Must be non-empty and is immutable.

optional string aws_region = 2 [json_name = "aws-region", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for awsRegion.

getAwsRoleArn()

public String getAwsRoleArn()

Required. The AWS role ARN of the Glue catalog that the federated catalog will assume to access the catalog. Must be non-empty. Can be updated.

optional string aws_role_arn = 3 [json_name = "aws-role-arn", (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The awsRoleArn.

getAwsRoleArnBytes()

public ByteString getAwsRoleArnBytes()

Required. The AWS role ARN of the Glue catalog that the federated catalog will assume to access the catalog. Must be non-empty. Can be updated.

optional string aws_role_arn = 3 [json_name = "aws-role-arn", (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for awsRoleArn.

getDefaultInstanceForType()

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo getDefaultInstanceForType()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getWarehouse()

public String getWarehouse()

Required. Immutable. The warehouse to connect to a regional AWS Glue Iceberg REST Catalog. For top level access, use the AWS account ID (e.g. 111222333444). For an S3 table bucket, the warehouse is of the form: 111222333444:s3tablescatalog/<table-bucket-name>. The URL to access catalog will be https://glue.{aws_region}.amazonaws.com/iceberg/v1?warehouse={warehouse}. Must be non-empty and is immutable.

optional string warehouse = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The warehouse.

getWarehouseBytes()

public ByteString getWarehouseBytes()

Required. Immutable. The warehouse to connect to a regional AWS Glue Iceberg REST Catalog. For top level access, use the AWS account ID (e.g. 111222333444). For an S3 table bucket, the warehouse is of the form: 111222333444:s3tablescatalog/<table-bucket-name>. The URL to access catalog will be https://glue.{aws_region}.amazonaws.com/iceberg/v1?warehouse={warehouse}. Must be non-empty and is immutable.

optional string warehouse = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for warehouse.

hasAwsRegion()

public boolean hasAwsRegion()

Required. Immutable. The AWS region of the Glue catalog to connect to. The region should be in the same geographical region and jurisdiction as the federated catalog. Must be non-empty and is immutable.

optional string aws_region = 2 [json_name = "aws-region", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the awsRegion field is set.

hasAwsRoleArn()

public boolean hasAwsRoleArn()

Required. The AWS role ARN of the Glue catalog that the federated catalog will assume to access the catalog. Must be non-empty. Can be updated.

optional string aws_role_arn = 3 [json_name = "aws-role-arn", (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the awsRoleArn field is set.

hasWarehouse()

public boolean hasWarehouse()

Required. Immutable. The warehouse to connect to a regional AWS Glue Iceberg REST Catalog. For top level access, use the AWS account ID (e.g. 111222333444). For an S3 table bucket, the warehouse is of the form: 111222333444:s3tablescatalog/<table-bucket-name>. The URL to access catalog will be https://glue.{aws_region}.amazonaws.com/iceberg/v1?warehouse={warehouse}. Must be non-empty and is immutable.

optional string warehouse = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the warehouse field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo other)

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder mergeFrom(IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo other)
Parameter
Name Description
other IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder
Overrides

setAwsRegion(String value)

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder setAwsRegion(String value)

Required. Immutable. The AWS region of the Glue catalog to connect to. The region should be in the same geographical region and jurisdiction as the federated catalog. Must be non-empty and is immutable.

optional string aws_region = 2 [json_name = "aws-region", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The awsRegion to set.

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

This builder for chaining.

setAwsRegionBytes(ByteString value)

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder setAwsRegionBytes(ByteString value)

Required. Immutable. The AWS region of the Glue catalog to connect to. The region should be in the same geographical region and jurisdiction as the federated catalog. Must be non-empty and is immutable.

optional string aws_region = 2 [json_name = "aws-region", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for awsRegion to set.

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

This builder for chaining.

setAwsRoleArn(String value)

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder setAwsRoleArn(String value)

Required. The AWS role ARN of the Glue catalog that the federated catalog will assume to access the catalog. Must be non-empty. Can be updated.

optional string aws_role_arn = 3 [json_name = "aws-role-arn", (.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The awsRoleArn to set.

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

This builder for chaining.

setAwsRoleArnBytes(ByteString value)

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder setAwsRoleArnBytes(ByteString value)

Required. The AWS role ARN of the Glue catalog that the federated catalog will assume to access the catalog. Must be non-empty. Can be updated.

optional string aws_role_arn = 3 [json_name = "aws-role-arn", (.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for awsRoleArn to set.

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

This builder for chaining.

setWarehouse(String value)

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder setWarehouse(String value)

Required. Immutable. The warehouse to connect to a regional AWS Glue Iceberg REST Catalog. For top level access, use the AWS account ID (e.g. 111222333444). For an S3 table bucket, the warehouse is of the form: 111222333444:s3tablescatalog/<table-bucket-name>. The URL to access catalog will be https://glue.{aws_region}.amazonaws.com/iceberg/v1?warehouse={warehouse}. Must be non-empty and is immutable.

optional string warehouse = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The warehouse to set.

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

This builder for chaining.

setWarehouseBytes(ByteString value)

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder setWarehouseBytes(ByteString value)

Required. Immutable. The warehouse to connect to a regional AWS Glue Iceberg REST Catalog. For top level access, use the AWS account ID (e.g. 111222333444). For an S3 table bucket, the warehouse is of the form: 111222333444:s3tablescatalog/<table-bucket-name>. The URL to access catalog will be https://glue.{aws_region}.amazonaws.com/iceberg/v1?warehouse={warehouse}. Must be non-empty and is immutable.

optional string warehouse = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for warehouse to set.

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

This builder for chaining.