public static final class IcebergCatalog.RestrictedLocationsConfig.Builder extends GeneratedMessage.Builder<IcebergCatalog.RestrictedLocationsConfig.Builder> implements IcebergCatalog.RestrictedLocationsConfigOrBuilderConfiguration of location restrictions.
Protobuf type google.cloud.biglake.v1.IcebergCatalog.RestrictedLocationsConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IcebergCatalog.RestrictedLocationsConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRestrictedLocations(Iterable<String> values)
public IcebergCatalog.RestrictedLocationsConfig.Builder addAllRestrictedLocations(Iterable<String> values) 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 |
values |
Iterable<String>The restrictedLocations to add. |
| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.RestrictedLocationsConfig.Builder |
This builder for chaining. |
addRestrictedLocations(String value)
public IcebergCatalog.RestrictedLocationsConfig.Builder addRestrictedLocations(String value) 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 |
value |
StringThe restrictedLocations to add. |
| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.RestrictedLocationsConfig.Builder |
This builder for chaining. |
addRestrictedLocationsBytes(ByteString value)
public IcebergCatalog.RestrictedLocationsConfig.Builder addRestrictedLocationsBytes(ByteString value) 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 |
value |
ByteStringThe bytes of the restrictedLocations to add. |
| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.RestrictedLocationsConfig.Builder |
This builder for chaining. |
build()
public IcebergCatalog.RestrictedLocationsConfig build()| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.RestrictedLocationsConfig |
|
buildPartial()
public IcebergCatalog.RestrictedLocationsConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.RestrictedLocationsConfig |
|
clear()
public IcebergCatalog.RestrictedLocationsConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.RestrictedLocationsConfig.Builder |
|
clearRestrictedLocations()
public IcebergCatalog.RestrictedLocationsConfig.Builder clearRestrictedLocations() 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 |
IcebergCatalog.RestrictedLocationsConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public IcebergCatalog.RestrictedLocationsConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.RestrictedLocationsConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IcebergCatalog.RestrictedLocationsConfig other)
public IcebergCatalog.RestrictedLocationsConfig.Builder mergeFrom(IcebergCatalog.RestrictedLocationsConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
IcebergCatalog.RestrictedLocationsConfig |
| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.RestrictedLocationsConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IcebergCatalog.RestrictedLocationsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.RestrictedLocationsConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IcebergCatalog.RestrictedLocationsConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.RestrictedLocationsConfig.Builder |
|
setRestrictedLocations(int index, String value)
public IcebergCatalog.RestrictedLocationsConfig.Builder setRestrictedLocations(int index, String value) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe restrictedLocations to set. |
| Returns | |
|---|---|
| Type | Description |
IcebergCatalog.RestrictedLocationsConfig.Builder |
This builder for chaining. |