Package com.google.cloud.biglake.v1
Class IcebergCatalog.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IcebergCatalog.Builder>
com.google.cloud.biglake.v1.IcebergCatalog.Builder
- All Implemented Interfaces:
IcebergCatalogOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IcebergCatalog
public static final class IcebergCatalog.Builder
extends com.google.protobuf.GeneratedMessage.Builder<IcebergCatalog.Builder>
implements IcebergCatalogOrBuilder
The Iceberg REST Catalog information.Protobuf type
google.cloud.biglake.v1.IcebergCatalog-
Method Summary
Modifier and TypeMethodDescriptionaddAllCatalogRegions(Iterable<String> values) Output only.addCatalogRegions(String value) Output only.addCatalogRegionsBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Required.Output only.Optional.Optional.Identifier.Output only.Output only.com.google.protobuf.ByteStringOutput only.getCatalogRegions(int index) Output only.com.google.protobuf.ByteStringgetCatalogRegionsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Required.intRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.intOptional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(IcebergCatalog other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.setBiglakeServiceAccount(String value) Output only.setBiglakeServiceAccountBytes(com.google.protobuf.ByteString value) Output only.setCatalogRegions(int index, String value) Output only.Required.setCatalogTypeValue(int value) Required.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Optional.setCredentialModeValue(int value) Optional.setDefaultLocation(String value) Optional.setDefaultLocationBytes(com.google.protobuf.ByteString value) Optional.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<IcebergCatalog.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<IcebergCatalog.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<IcebergCatalog.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IcebergCatalog.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<IcebergCatalog.Builder>
-
mergeFrom
public IcebergCatalog.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IcebergCatalog.Builder>- Throws:
IOException
-
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:
getNamein interfaceIcebergCatalogOrBuilder- 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:
getNameBytesin interfaceIcebergCatalogOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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];- Returns:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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:
getCredentialModeValuein interfaceIcebergCatalogOrBuilder- Returns:
- The enum numeric value on the wire for credentialMode.
-
setCredentialModeValue
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];- Parameters:
value- The enum numeric value on the wire for credentialMode to set.- Returns:
- This builder for chaining.
-
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:
getCredentialModein interfaceIcebergCatalogOrBuilder- Returns:
- The credentialMode.
-
setCredentialMode
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];- Parameters:
value- The credentialMode to set.- Returns:
- This builder for chaining.
-
clearCredentialMode
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];- Returns:
- This builder for chaining.
-
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:
getBiglakeServiceAccountin interfaceIcebergCatalogOrBuilder- 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:
getBiglakeServiceAccountBytesin interfaceIcebergCatalogOrBuilder- Returns:
- The bytes for biglakeServiceAccount.
-
setBiglakeServiceAccount
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];- Parameters:
value- The biglakeServiceAccount to set.- Returns:
- This builder for chaining.
-
clearBiglakeServiceAccount
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];- Returns:
- This builder for chaining.
-
setBiglakeServiceAccountBytes
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];- Parameters:
value- The bytes for biglakeServiceAccount to set.- Returns:
- This builder for chaining.
-
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:
getCatalogTypeValuein interfaceIcebergCatalogOrBuilder- Returns:
- The enum numeric value on the wire for catalogType.
-
setCatalogTypeValue
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];- Parameters:
value- The enum numeric value on the wire for catalogType to set.- Returns:
- This builder for chaining.
-
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:
getCatalogTypein interfaceIcebergCatalogOrBuilder- Returns:
- The catalogType.
-
setCatalogType
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];- Parameters:
value- The catalogType to set.- Returns:
- This builder for chaining.
-
clearCatalogType
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];- Returns:
- This builder for chaining.
-
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:
getDefaultLocationin interfaceIcebergCatalogOrBuilder- 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:
getDefaultLocationBytesin interfaceIcebergCatalogOrBuilder- Returns:
- The bytes for defaultLocation.
-
setDefaultLocation
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];- Parameters:
value- The defaultLocation to set.- Returns:
- This builder for chaining.
-
clearDefaultLocation
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];- Returns:
- This builder for chaining.
-
setDefaultLocationBytes
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];- Parameters:
value- The bytes for defaultLocation to set.- Returns:
- This builder for chaining.
-
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:
getCatalogRegionsListin interfaceIcebergCatalogOrBuilder- 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:
getCatalogRegionsCountin interfaceIcebergCatalogOrBuilder- Returns:
- The count of catalogRegions.
-
getCatalogRegions
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:
getCatalogRegionsin interfaceIcebergCatalogOrBuilder- 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:
getCatalogRegionsBytesin interfaceIcebergCatalogOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the catalogRegions at the given index.
-
setCatalogRegions
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];- Parameters:
index- The index to set the value at.value- The catalogRegions to set.- Returns:
- This builder for chaining.
-
addCatalogRegions
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];- Parameters:
value- The catalogRegions to add.- Returns:
- This builder for chaining.
-
addAllCatalogRegions
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];- Parameters:
values- The catalogRegions to add.- Returns:
- This builder for chaining.
-
clearCatalogRegions
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];- Returns:
- This builder for chaining.
-
addCatalogRegionsBytes
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];- Parameters:
value- The bytes of the catalogRegions to add.- Returns:
- This builder for chaining.
-
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:
hasCreateTimein interfaceIcebergCatalogOrBuilder- 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:
getCreateTimein interfaceIcebergCatalogOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. When the catalog was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "create-time", (.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. When the catalog was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "create-time", (.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. When the catalog was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "create-time", (.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. When the catalog was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "create-time", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. When the catalog was created.
.google.protobuf.Timestamp create_time = 7 [json_name = "create-time", (.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getCreateTimeOrBuilderin interfaceIcebergCatalogOrBuilder
-
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:
hasUpdateTimein interfaceIcebergCatalogOrBuilder- 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:
getUpdateTimein interfaceIcebergCatalogOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. When the catalog was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "update-time", (.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. When the catalog was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "update-time", (.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. When the catalog was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "update-time", (.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. When the catalog was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "update-time", (.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. When the catalog was last updated.
.google.protobuf.Timestamp update_time = 8 [json_name = "update-time", (.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getUpdateTimeOrBuilderin interfaceIcebergCatalogOrBuilder
-