Class IcebergCatalog.FederatedCatalogOptions.SnowflakeCatalogInfo (0.83.0)

public static final class IcebergCatalog.FederatedCatalogOptions.SnowflakeCatalogInfo extends GeneratedMessage implements IcebergCatalog.FederatedCatalogOptions.SnowflakeCatalogInfoOrBuilder

Snowflake Catalog info.

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

Inheritance

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

Static Fields

ACCOUNT_IDENTIFIER_FIELD_NUMBER

public static final int ACCOUNT_IDENTIFIER_FIELD_NUMBER
Field Value
Type Description
int

SNOWFLAKE_ROLE_FIELD_NUMBER

public static final int SNOWFLAKE_ROLE_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.SnowflakeCatalogInfo getDefaultInstance()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.SnowflakeCatalogInfo

getDescriptor()

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

newBuilder()

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

newBuilder(IcebergCatalog.FederatedCatalogOptions.SnowflakeCatalogInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAccountIdentifier()

public String getAccountIdentifier()

Required. The account identifier in Snowflake (See: https://docs.snowflake.com/en/user-guide/admin-account-identifier). It is the prefix to log into your Snowflake deployment URL. For example: https://<account_identifier>.snowflakecomputing.com.

optional string account_identifier = 1 [json_name = "account-identifier", (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The accountIdentifier.

getAccountIdentifierBytes()

public ByteString getAccountIdentifierBytes()

Required. The account identifier in Snowflake (See: https://docs.snowflake.com/en/user-guide/admin-account-identifier). It is the prefix to log into your Snowflake deployment URL. For example: https://<account_identifier>.snowflakecomputing.com.

optional string account_identifier = 1 [json_name = "account-identifier", (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for accountIdentifier.

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSnowflakeRole()

public String getSnowflakeRole()

Optional. The specific Snowflake role name to request in the OAuth token scope (via session:role:$ROLE) for the Iceberg REST Catalog session. This role grants the GCP BigLake service account the necessary permissions to interact with the Iceberg catalog, namespaces, and tables.

Note: The role provided here must be the DEFAULT_ROLE or be granted to, the Snowflake service user mapped to the BigLake service account.

optional string snowflake_role = 3 [json_name = "snowflake-role", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The snowflakeRole.

getSnowflakeRoleBytes()

public ByteString getSnowflakeRoleBytes()

Optional. The specific Snowflake role name to request in the OAuth token scope (via session:role:$ROLE) for the Iceberg REST Catalog session. This role grants the GCP BigLake service account the necessary permissions to interact with the Iceberg catalog, namespaces, and tables.

Note: The role provided here must be the DEFAULT_ROLE or be granted to, the Snowflake service user mapped to the BigLake service account.

optional string snowflake_role = 3 [json_name = "snowflake-role", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for snowflakeRole.

getWarehouse()

public String getWarehouse()

Required. The warehouse to connect to in Snowflake REST Catalog. https://<account_identifier>.snowflakecomputing.com/polaris/api/catalog/v1/config?warehouse=<database_name>.

This is the Snowflake database name containing the Iceberg metadata to be federated.

Must be non-empty.

optional string warehouse = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The warehouse.

getWarehouseBytes()

public ByteString getWarehouseBytes()

Required. The warehouse to connect to in Snowflake REST Catalog. https://<account_identifier>.snowflakecomputing.com/polaris/api/catalog/v1/config?warehouse=<database_name>.

This is the Snowflake database name containing the Iceberg metadata to be federated.

Must be non-empty.

optional string warehouse = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for warehouse.

hasAccountIdentifier()

public boolean hasAccountIdentifier()

Required. The account identifier in Snowflake (See: https://docs.snowflake.com/en/user-guide/admin-account-identifier). It is the prefix to log into your Snowflake deployment URL. For example: https://<account_identifier>.snowflakecomputing.com.

optional string account_identifier = 1 [json_name = "account-identifier", (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the accountIdentifier field is set.

hasSnowflakeRole()

public boolean hasSnowflakeRole()

Optional. The specific Snowflake role name to request in the OAuth token scope (via session:role:$ROLE) for the Iceberg REST Catalog session. This role grants the GCP BigLake service account the necessary permissions to interact with the Iceberg catalog, namespaces, and tables.

Note: The role provided here must be the DEFAULT_ROLE or be granted to, the Snowflake service user mapped to the BigLake service account.

optional string snowflake_role = 3 [json_name = "snowflake-role", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the snowflakeRole field is set.

hasWarehouse()

public boolean hasWarehouse()

Required. The warehouse to connect to in Snowflake REST Catalog. https://<account_identifier>.snowflakecomputing.com/polaris/api/catalog/v1/config?warehouse=<database_name>.

This is the Snowflake database name containing the Iceberg metadata to be federated.

Must be non-empty.

optional string warehouse = 2 [(.google.api.field_behavior) = REQUIRED];

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.SnowflakeCatalogInfo.Builder newBuilderForType()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.SnowflakeCatalogInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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