Class IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo (0.83.0)

public static final class IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo extends GeneratedMessage 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

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

Static Fields

AWS_REGION_FIELD_NUMBER

public static final int AWS_REGION_FIELD_NUMBER
Field Value
Type Description
int

AWS_ROLE_ARN_FIELD_NUMBER

public static final int AWS_ROLE_ARN_FIELD_NUMBER
Field Value
Type Description
int

WAREHOUSE_FIELD_NUMBER

public static final int WAREHOUSE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo getDefaultInstance()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo

getDescriptor()

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

newBuilder()

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder newBuilder()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

newBuilder(IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo prototype)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder newBuilder(IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo prototype)
Parameter
Name Description
prototype IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

parseDelimitedFrom(InputStream input)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo> parser()
Returns
Type Description
Parser<GlueCatalogInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

getParserForType()

public Parser<IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo> getParserForType()
Returns
Type Description
Parser<GlueCatalogInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder newBuilderForType()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder
Overrides

toBuilder()

public IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder toBuilder()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.GlueCatalogInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException