Class IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder (0.83.0)

public static final class IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder extends GeneratedMessage.Builder<IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder> implements IcebergCatalog.FederatedCatalogOptions.RefreshScopeOrBuilder

The scope defines a subset of namespaces to be refreshed.

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

Static Methods

getDescriptor()

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

Methods

addAllNamespaceFilters(Iterable<String> values)

public IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder addAllNamespaceFilters(Iterable<String> values)

Optional. Filters to determine which namespaces are included in the refresh process.

  • empty list means include all namespaces.
  • "[namespaces]" means include the specified namespaces. ['ns1', 'ns2'] : Discover only namespaces 'ns1' and 'ns2'. The maximum number of namespace filters allowed is 32.

repeated string namespace_filters = 1 [json_name = "namespace-filters", (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The namespaceFilters to add.

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder

This builder for chaining.

addNamespaceFilters(String value)

public IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder addNamespaceFilters(String value)

Optional. Filters to determine which namespaces are included in the refresh process.

  • empty list means include all namespaces.
  • "[namespaces]" means include the specified namespaces. ['ns1', 'ns2'] : Discover only namespaces 'ns1' and 'ns2'. The maximum number of namespace filters allowed is 32.

repeated string namespace_filters = 1 [json_name = "namespace-filters", (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The namespaceFilters to add.

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder

This builder for chaining.

addNamespaceFiltersBytes(ByteString value)

public IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder addNamespaceFiltersBytes(ByteString value)

Optional. Filters to determine which namespaces are included in the refresh process.

  • empty list means include all namespaces.
  • "[namespaces]" means include the specified namespaces. ['ns1', 'ns2'] : Discover only namespaces 'ns1' and 'ns2'. The maximum number of namespace filters allowed is 32.

repeated string namespace_filters = 1 [json_name = "namespace-filters", (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the namespaceFilters to add.

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder

This builder for chaining.

build()

public IcebergCatalog.FederatedCatalogOptions.RefreshScope build()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshScope

buildPartial()

public IcebergCatalog.FederatedCatalogOptions.RefreshScope buildPartial()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshScope

clear()

public IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder clear()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder
Overrides

clearNamespaceFilters()

public IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder clearNamespaceFilters()

Optional. Filters to determine which namespaces are included in the refresh process.

  • empty list means include all namespaces.
  • "[namespaces]" means include the specified namespaces. ['ns1', 'ns2'] : Discover only namespaces 'ns1' and 'ns2'. The maximum number of namespace filters allowed is 32.

repeated string namespace_filters = 1 [json_name = "namespace-filters", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNamespaceFilters(int index)

public String getNamespaceFilters(int index)

Optional. Filters to determine which namespaces are included in the refresh process.

  • empty list means include all namespaces.
  • "[namespaces]" means include the specified namespaces. ['ns1', 'ns2'] : Discover only namespaces 'ns1' and 'ns2'. The maximum number of namespace filters allowed is 32.

repeated string namespace_filters = 1 [json_name = "namespace-filters", (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The namespaceFilters at the given index.

getNamespaceFiltersBytes(int index)

public ByteString getNamespaceFiltersBytes(int index)

Optional. Filters to determine which namespaces are included in the refresh process.

  • empty list means include all namespaces.
  • "[namespaces]" means include the specified namespaces. ['ns1', 'ns2'] : Discover only namespaces 'ns1' and 'ns2'. The maximum number of namespace filters allowed is 32.

repeated string namespace_filters = 1 [json_name = "namespace-filters", (.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 namespaceFilters at the given index.

getNamespaceFiltersCount()

public int getNamespaceFiltersCount()

Optional. Filters to determine which namespaces are included in the refresh process.

  • empty list means include all namespaces.
  • "[namespaces]" means include the specified namespaces. ['ns1', 'ns2'] : Discover only namespaces 'ns1' and 'ns2'. The maximum number of namespace filters allowed is 32.

repeated string namespace_filters = 1 [json_name = "namespace-filters", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of namespaceFilters.

getNamespaceFiltersList()

public ProtocolStringList getNamespaceFiltersList()

Optional. Filters to determine which namespaces are included in the refresh process.

  • empty list means include all namespaces.
  • "[namespaces]" means include the specified namespaces. ['ns1', 'ns2'] : Discover only namespaces 'ns1' and 'ns2'. The maximum number of namespace filters allowed is 32.

repeated string namespace_filters = 1 [json_name = "namespace-filters", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the namespaceFilters.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IcebergCatalog.FederatedCatalogOptions.RefreshScope other)

public IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder mergeFrom(IcebergCatalog.FederatedCatalogOptions.RefreshScope other)
Parameter
Name Description
other IcebergCatalog.FederatedCatalogOptions.RefreshScope
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder
Overrides

setNamespaceFilters(int index, String value)

public IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder setNamespaceFilters(int index, String value)

Optional. Filters to determine which namespaces are included in the refresh process.

  • empty list means include all namespaces.
  • "[namespaces]" means include the specified namespaces. ['ns1', 'ns2'] : Discover only namespaces 'ns1' and 'ns2'. The maximum number of namespace filters allowed is 32.

repeated string namespace_filters = 1 [json_name = "namespace-filters", (.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The namespaceFilters to set.

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshScope.Builder

This builder for chaining.