Class IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder (0.83.0)

public static final class IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder extends GeneratedMessage.Builder<IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder> implements IcebergCatalog.FederatedCatalogOptions.RefreshScheduleOrBuilder

Schedule defines if and when metadata refresh should be scheduled.

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

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearRefreshInterval()

public IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder clearRefreshInterval()

Optional. The interval for refreshing metadata from the remote catalog. If unset or if the value is <= 0, the background refresh will be disabled. If this field is updated for an existing federated catalog, the previous background refresh must complete before the new refresh interval will take effect.

optional .google.protobuf.Duration refresh_interval = 1 [json_name = "refresh-interval", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder

getDefaultInstanceForType()

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

getDescriptorForType()

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

getRefreshInterval()

public Duration getRefreshInterval()

Optional. The interval for refreshing metadata from the remote catalog. If unset or if the value is <= 0, the background refresh will be disabled. If this field is updated for an existing federated catalog, the previous background refresh must complete before the new refresh interval will take effect.

optional .google.protobuf.Duration refresh_interval = 1 [json_name = "refresh-interval", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The refreshInterval.

getRefreshIntervalBuilder()

public Duration.Builder getRefreshIntervalBuilder()

Optional. The interval for refreshing metadata from the remote catalog. If unset or if the value is <= 0, the background refresh will be disabled. If this field is updated for an existing federated catalog, the previous background refresh must complete before the new refresh interval will take effect.

optional .google.protobuf.Duration refresh_interval = 1 [json_name = "refresh-interval", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getRefreshIntervalOrBuilder()

public DurationOrBuilder getRefreshIntervalOrBuilder()

Optional. The interval for refreshing metadata from the remote catalog. If unset or if the value is <= 0, the background refresh will be disabled. If this field is updated for an existing federated catalog, the previous background refresh must complete before the new refresh interval will take effect.

optional .google.protobuf.Duration refresh_interval = 1 [json_name = "refresh-interval", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

hasRefreshInterval()

public boolean hasRefreshInterval()

Optional. The interval for refreshing metadata from the remote catalog. If unset or if the value is <= 0, the background refresh will be disabled. If this field is updated for an existing federated catalog, the previous background refresh must complete before the new refresh interval will take effect.

optional .google.protobuf.Duration refresh_interval = 1 [json_name = "refresh-interval", (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the refreshInterval field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IcebergCatalog.FederatedCatalogOptions.RefreshSchedule other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRefreshInterval(Duration value)

public IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder mergeRefreshInterval(Duration value)

Optional. The interval for refreshing metadata from the remote catalog. If unset or if the value is <= 0, the background refresh will be disabled. If this field is updated for an existing federated catalog, the previous background refresh must complete before the new refresh interval will take effect.

optional .google.protobuf.Duration refresh_interval = 1 [json_name = "refresh-interval", (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder

setRefreshInterval(Duration value)

public IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder setRefreshInterval(Duration value)

Optional. The interval for refreshing metadata from the remote catalog. If unset or if the value is <= 0, the background refresh will be disabled. If this field is updated for an existing federated catalog, the previous background refresh must complete before the new refresh interval will take effect.

optional .google.protobuf.Duration refresh_interval = 1 [json_name = "refresh-interval", (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder

setRefreshInterval(Duration.Builder builderForValue)

public IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder setRefreshInterval(Duration.Builder builderForValue)

Optional. The interval for refreshing metadata from the remote catalog. If unset or if the value is <= 0, the background refresh will be disabled. If this field is updated for an existing federated catalog, the previous background refresh must complete before the new refresh interval will take effect.

optional .google.protobuf.Duration refresh_interval = 1 [json_name = "refresh-interval", (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder