Class IcebergCatalog.RestrictedLocationsConfig (0.83.0)

public static final class IcebergCatalog.RestrictedLocationsConfig extends GeneratedMessage implements IcebergCatalog.RestrictedLocationsConfigOrBuilder

Configuration of location restrictions.

Protobuf type google.cloud.biglake.v1.IcebergCatalog.RestrictedLocationsConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > IcebergCatalog.RestrictedLocationsConfig

Static Fields

RESTRICTED_LOCATIONS_FIELD_NUMBER

public static final int RESTRICTED_LOCATIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IcebergCatalog.RestrictedLocationsConfig getDefaultInstance()
Returns
Type Description
IcebergCatalog.RestrictedLocationsConfig

getDescriptor()

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

newBuilder()

public static IcebergCatalog.RestrictedLocationsConfig.Builder newBuilder()
Returns
Type Description
IcebergCatalog.RestrictedLocationsConfig.Builder

newBuilder(IcebergCatalog.RestrictedLocationsConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public IcebergCatalog.RestrictedLocationsConfig getDefaultInstanceForType()
Returns
Type Description
IcebergCatalog.RestrictedLocationsConfig

getParserForType()

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

getRestrictedLocations(int index)

public String getRestrictedLocations(int index)

Optional. Additional Google Cloud Storage buckets and locations (e.g., gs://my-other-bucket/...) that are permitted for use by resources within a catalog. This field is currently only used for BigLake catalogs.

If restricted_locations is empty and unrestricted catalog creation is enabled, all accessible locations are allowed. Otherwise, only default_location and locations in this list are allowed.

repeated string restricted_locations = 1 [json_name = "restricted-locations", (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The restrictedLocations at the given index.

getRestrictedLocationsBytes(int index)

public ByteString getRestrictedLocationsBytes(int index)

Optional. Additional Google Cloud Storage buckets and locations (e.g., gs://my-other-bucket/...) that are permitted for use by resources within a catalog. This field is currently only used for BigLake catalogs.

If restricted_locations is empty and unrestricted catalog creation is enabled, all accessible locations are allowed. Otherwise, only default_location and locations in this list are allowed.

repeated string restricted_locations = 1 [json_name = "restricted-locations", (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the restrictedLocations at the given index.

getRestrictedLocationsCount()

public int getRestrictedLocationsCount()

Optional. Additional Google Cloud Storage buckets and locations (e.g., gs://my-other-bucket/...) that are permitted for use by resources within a catalog. This field is currently only used for BigLake catalogs.

If restricted_locations is empty and unrestricted catalog creation is enabled, all accessible locations are allowed. Otherwise, only default_location and locations in this list are allowed.

repeated string restricted_locations = 1 [json_name = "restricted-locations", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of restrictedLocations.

getRestrictedLocationsList()

public ProtocolStringList getRestrictedLocationsList()

Optional. Additional Google Cloud Storage buckets and locations (e.g., gs://my-other-bucket/...) that are permitted for use by resources within a catalog. This field is currently only used for BigLake catalogs.

If restricted_locations is empty and unrestricted catalog creation is enabled, all accessible locations are allowed. Otherwise, only default_location and locations in this list are allowed.

repeated string restricted_locations = 1 [json_name = "restricted-locations", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the restrictedLocations.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public IcebergCatalog.RestrictedLocationsConfig.Builder toBuilder()
Returns
Type Description
IcebergCatalog.RestrictedLocationsConfig.Builder

writeTo(CodedOutputStream output)

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