Class IcebergCatalog.FederatedCatalogOptions.RefreshSchedule (0.83.0)

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

Schedule defines if and when metadata refresh should be scheduled.

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

Inheritance

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

Static Fields

REFRESH_INTERVAL_FIELD_NUMBER

public static final int REFRESH_INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IcebergCatalog.FederatedCatalogOptions.RefreshSchedule getDefaultInstance()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshSchedule

getDescriptor()

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

newBuilder()

public static IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder newBuilder()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder

newBuilder(IcebergCatalog.FederatedCatalogOptions.RefreshSchedule prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

public Parser<IcebergCatalog.FederatedCatalogOptions.RefreshSchedule> getParserForType()
Returns
Type Description
Parser<RefreshSchedule>
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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder toBuilder()
Returns
Type Description
IcebergCatalog.FederatedCatalogOptions.RefreshSchedule.Builder

writeTo(CodedOutputStream output)

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