Class IcebergCatalog

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.biglake.v1.IcebergCatalog
All Implemented Interfaces:
IcebergCatalogOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class IcebergCatalog extends com.google.protobuf.GeneratedMessage implements IcebergCatalogOrBuilder
 The Iceberg REST Catalog information.
 
Protobuf type google.cloud.biglake.v1.IcebergCatalog
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREDENTIAL_MODE_FIELD_NUMBER

      public static final int CREDENTIAL_MODE_FIELD_NUMBER
      See Also:
    • BIGLAKE_SERVICE_ACCOUNT_FIELD_NUMBER

      public static final int BIGLAKE_SERVICE_ACCOUNT_FIELD_NUMBER
      See Also:
    • CATALOG_TYPE_FIELD_NUMBER

      public static final int CATALOG_TYPE_FIELD_NUMBER
      See Also:
    • DEFAULT_LOCATION_FIELD_NUMBER

      public static final int DEFAULT_LOCATION_FIELD_NUMBER
      See Also:
    • CATALOG_REGIONS_FIELD_NUMBER

      public static final int CATALOG_REGIONS_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Identifier. The catalog name, `projects/my-project/catalogs/my-catalog`.
       This field is immutable.
       This field is ignored for CreateIcebergCatalog.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface IcebergCatalogOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The catalog name, `projects/my-project/catalogs/my-catalog`.
       This field is immutable.
       This field is ignored for CreateIcebergCatalog.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface IcebergCatalogOrBuilder
      Returns:
      The bytes for name.
    • getCredentialModeValue

      public int getCredentialModeValue()
       Optional. The credential mode for the catalog.
       
      .google.cloud.biglake.v1.IcebergCatalog.CredentialMode credential_mode = 2 [json_name = "credential-mode", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCredentialModeValue in interface IcebergCatalogOrBuilder
      Returns:
      The enum numeric value on the wire for credentialMode.
    • getCredentialMode

      public IcebergCatalog.CredentialMode getCredentialMode()
       Optional. The credential mode for the catalog.
       
      .google.cloud.biglake.v1.IcebergCatalog.CredentialMode credential_mode = 2 [json_name = "credential-mode", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCredentialMode in interface IcebergCatalogOrBuilder
      Returns:
      The credentialMode.
    • getBiglakeServiceAccount

      public String getBiglakeServiceAccount()
       Output only. The service account used for credential vending, output only.
       Might be empty if Credential vending was never enabled for the catalog.
       
      string biglake_service_account = 3 [json_name = "biglake-service-account", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBiglakeServiceAccount in interface IcebergCatalogOrBuilder
      Returns:
      The biglakeServiceAccount.
    • getBiglakeServiceAccountBytes

      public com.google.protobuf.ByteString getBiglakeServiceAccountBytes()
       Output only. The service account used for credential vending, output only.
       Might be empty if Credential vending was never enabled for the catalog.
       
      string biglake_service_account = 3 [json_name = "biglake-service-account", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBiglakeServiceAccountBytes in interface IcebergCatalogOrBuilder
      Returns:
      The bytes for biglakeServiceAccount.
    • getCatalogTypeValue

      public int getCatalogTypeValue()
       Required. The catalog type. Required for CreateIcebergCatalog.
       
      .google.cloud.biglake.v1.IcebergCatalog.CatalogType catalog_type = 4 [json_name = "catalog-type", (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCatalogTypeValue in interface IcebergCatalogOrBuilder
      Returns:
      The enum numeric value on the wire for catalogType.
    • getCatalogType

      public IcebergCatalog.CatalogType getCatalogType()
       Required. The catalog type. Required for CreateIcebergCatalog.
       
      .google.cloud.biglake.v1.IcebergCatalog.CatalogType catalog_type = 4 [json_name = "catalog-type", (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCatalogType in interface IcebergCatalogOrBuilder
      Returns:
      The catalogType.
    • getDefaultLocation

      public String getDefaultLocation()
       Optional. The default location for the catalog. For the Google Cloud
       Storage Bucket catalog this is output only.
       
      string default_location = 5 [json_name = "default-location", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultLocation in interface IcebergCatalogOrBuilder
      Returns:
      The defaultLocation.
    • getDefaultLocationBytes

      public com.google.protobuf.ByteString getDefaultLocationBytes()
       Optional. The default location for the catalog. For the Google Cloud
       Storage Bucket catalog this is output only.
       
      string default_location = 5 [json_name = "default-location", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultLocationBytes in interface IcebergCatalogOrBuilder
      Returns:
      The bytes for defaultLocation.
    • getCatalogRegionsList

      public com.google.protobuf.ProtocolStringList getCatalogRegionsList()
       Output only. The GCP region(s) where the catalog metadata is stored.
       This will contain one value for all locations, except for the catalogs that
       are configured to use custom dual region buckets.
       
      repeated string catalog_regions = 6 [json_name = "catalog-regions", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCatalogRegionsList in interface IcebergCatalogOrBuilder
      Returns:
      A list containing the catalogRegions.
    • getCatalogRegionsCount

      public int getCatalogRegionsCount()
       Output only. The GCP region(s) where the catalog metadata is stored.
       This will contain one value for all locations, except for the catalogs that
       are configured to use custom dual region buckets.
       
      repeated string catalog_regions = 6 [json_name = "catalog-regions", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCatalogRegionsCount in interface IcebergCatalogOrBuilder
      Returns:
      The count of catalogRegions.
    • getCatalogRegions

      public String getCatalogRegions(int index)
       Output only. The GCP region(s) where the catalog metadata is stored.
       This will contain one value for all locations, except for the catalogs that
       are configured to use custom dual region buckets.
       
      repeated string catalog_regions = 6 [json_name = "catalog-regions", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCatalogRegions in interface IcebergCatalogOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The catalogRegions at the given index.
    • getCatalogRegionsBytes

      public com.google.protobuf.ByteString getCatalogRegionsBytes(int index)
       Output only. The GCP region(s) where the catalog metadata is stored.
       This will contain one value for all locations, except for the catalogs that
       are configured to use custom dual region buckets.
       
      repeated string catalog_regions = 6 [json_name = "catalog-regions", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCatalogRegionsBytes in interface IcebergCatalogOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the catalogRegions at the given index.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. When the catalog was created.
       
      .google.protobuf.Timestamp create_time = 7 [json_name = "create-time", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface IcebergCatalogOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. When the catalog was created.
       
      .google.protobuf.Timestamp create_time = 7 [json_name = "create-time", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface IcebergCatalogOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. When the catalog was created.
       
      .google.protobuf.Timestamp create_time = 7 [json_name = "create-time", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface IcebergCatalogOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. When the catalog was last updated.
       
      .google.protobuf.Timestamp update_time = 8 [json_name = "update-time", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface IcebergCatalogOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. When the catalog was last updated.
       
      .google.protobuf.Timestamp update_time = 8 [json_name = "update-time", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface IcebergCatalogOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. When the catalog was last updated.
       
      .google.protobuf.Timestamp update_time = 8 [json_name = "update-time", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface IcebergCatalogOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static IcebergCatalog parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IcebergCatalog parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IcebergCatalog parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IcebergCatalog parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IcebergCatalog parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IcebergCatalog parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IcebergCatalog parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static IcebergCatalog parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static IcebergCatalog parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static IcebergCatalog parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static IcebergCatalog parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static IcebergCatalog parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public IcebergCatalog.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static IcebergCatalog.Builder newBuilder()
    • newBuilder

      public static IcebergCatalog.Builder newBuilder(IcebergCatalog prototype)
    • toBuilder

      public IcebergCatalog.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected IcebergCatalog.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static IcebergCatalog getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<IcebergCatalog> parser()
    • getParserForType

      public com.google.protobuf.Parser<IcebergCatalog> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public IcebergCatalog getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder