Class WorkdaySourceConfig.Builder (1.102.0)

public static final class WorkdaySourceConfig.Builder extends GeneratedMessage.Builder<WorkdaySourceConfig.Builder> implements WorkdaySourceConfigOrBuilder

Configuration for syncing data from a Workday source.

Protobuf type google.cloud.datastream.v1.WorkdaySourceConfig

Static Methods

getDescriptor()

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

Methods

build()

public WorkdaySourceConfig build()
Returns
Type Description
WorkdaySourceConfig

buildPartial()

public WorkdaySourceConfig buildPartial()
Returns
Type Description
WorkdaySourceConfig

clear()

public WorkdaySourceConfig.Builder clear()
Returns
Type Description
WorkdaySourceConfig.Builder
Overrides

clearExcludeObjects()

public WorkdaySourceConfig.Builder clearExcludeObjects()

Optional. The objects to exclude from the stream.

.google.cloud.datastream.v1.SourceCatalog exclude_objects = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkdaySourceConfig.Builder

clearIncludeObjects()

public WorkdaySourceConfig.Builder clearIncludeObjects()

Optional. The objects to retrieve from the source.

.google.cloud.datastream.v1.SourceCatalog include_objects = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkdaySourceConfig.Builder

clearPollingInterval()

public WorkdaySourceConfig.Builder clearPollingInterval()

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

.google.protobuf.Duration polling_interval = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkdaySourceConfig.Builder

getDefaultInstanceForType()

public WorkdaySourceConfig getDefaultInstanceForType()
Returns
Type Description
WorkdaySourceConfig

getDescriptorForType()

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

getExcludeObjects()

public SourceCatalog getExcludeObjects()

Optional. The objects to exclude from the stream.

.google.cloud.datastream.v1.SourceCatalog exclude_objects = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceCatalog

The excludeObjects.

getExcludeObjectsBuilder()

public SourceCatalog.Builder getExcludeObjectsBuilder()

Optional. The objects to exclude from the stream.

.google.cloud.datastream.v1.SourceCatalog exclude_objects = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceCatalog.Builder

getExcludeObjectsOrBuilder()

public SourceCatalogOrBuilder getExcludeObjectsOrBuilder()

Optional. The objects to exclude from the stream.

.google.cloud.datastream.v1.SourceCatalog exclude_objects = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceCatalogOrBuilder

getIncludeObjects()

public SourceCatalog getIncludeObjects()

Optional. The objects to retrieve from the source.

.google.cloud.datastream.v1.SourceCatalog include_objects = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceCatalog

The includeObjects.

getIncludeObjectsBuilder()

public SourceCatalog.Builder getIncludeObjectsBuilder()

Optional. The objects to retrieve from the source.

.google.cloud.datastream.v1.SourceCatalog include_objects = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceCatalog.Builder

getIncludeObjectsOrBuilder()

public SourceCatalogOrBuilder getIncludeObjectsOrBuilder()

Optional. The objects to retrieve from the source.

.google.cloud.datastream.v1.SourceCatalog include_objects = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceCatalogOrBuilder

getPollingInterval()

public Duration getPollingInterval()

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

.google.protobuf.Duration polling_interval = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Duration

The pollingInterval.

getPollingIntervalBuilder()

public Duration.Builder getPollingIntervalBuilder()

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

.google.protobuf.Duration polling_interval = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getPollingIntervalOrBuilder()

public DurationOrBuilder getPollingIntervalOrBuilder()

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

.google.protobuf.Duration polling_interval = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DurationOrBuilder

hasExcludeObjects()

public boolean hasExcludeObjects()

Optional. The objects to exclude from the stream.

.google.cloud.datastream.v1.SourceCatalog exclude_objects = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the excludeObjects field is set.

hasIncludeObjects()

public boolean hasIncludeObjects()

Optional. The objects to retrieve from the source.

.google.cloud.datastream.v1.SourceCatalog include_objects = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the includeObjects field is set.

hasPollingInterval()

public boolean hasPollingInterval()

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

.google.protobuf.Duration polling_interval = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the pollingInterval field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExcludeObjects(SourceCatalog value)

public WorkdaySourceConfig.Builder mergeExcludeObjects(SourceCatalog value)

Optional. The objects to exclude from the stream.

.google.cloud.datastream.v1.SourceCatalog exclude_objects = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SourceCatalog
Returns
Type Description
WorkdaySourceConfig.Builder

mergeFrom(WorkdaySourceConfig other)

public WorkdaySourceConfig.Builder mergeFrom(WorkdaySourceConfig other)
Parameter
Name Description
other WorkdaySourceConfig
Returns
Type Description
WorkdaySourceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WorkdaySourceConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WorkdaySourceConfig.Builder
Overrides

mergeIncludeObjects(SourceCatalog value)

public WorkdaySourceConfig.Builder mergeIncludeObjects(SourceCatalog value)

Optional. The objects to retrieve from the source.

.google.cloud.datastream.v1.SourceCatalog include_objects = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SourceCatalog
Returns
Type Description
WorkdaySourceConfig.Builder

mergePollingInterval(Duration value)

public WorkdaySourceConfig.Builder mergePollingInterval(Duration value)

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

.google.protobuf.Duration polling_interval = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Duration
Returns
Type Description
WorkdaySourceConfig.Builder

setExcludeObjects(SourceCatalog value)

public WorkdaySourceConfig.Builder setExcludeObjects(SourceCatalog value)

Optional. The objects to exclude from the stream.

.google.cloud.datastream.v1.SourceCatalog exclude_objects = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SourceCatalog
Returns
Type Description
WorkdaySourceConfig.Builder

setExcludeObjects(SourceCatalog.Builder builderForValue)

public WorkdaySourceConfig.Builder setExcludeObjects(SourceCatalog.Builder builderForValue)

Optional. The objects to exclude from the stream.

.google.cloud.datastream.v1.SourceCatalog exclude_objects = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SourceCatalog.Builder
Returns
Type Description
WorkdaySourceConfig.Builder

setIncludeObjects(SourceCatalog value)

public WorkdaySourceConfig.Builder setIncludeObjects(SourceCatalog value)

Optional. The objects to retrieve from the source.

.google.cloud.datastream.v1.SourceCatalog include_objects = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SourceCatalog
Returns
Type Description
WorkdaySourceConfig.Builder

setIncludeObjects(SourceCatalog.Builder builderForValue)

public WorkdaySourceConfig.Builder setIncludeObjects(SourceCatalog.Builder builderForValue)

Optional. The objects to retrieve from the source.

.google.cloud.datastream.v1.SourceCatalog include_objects = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SourceCatalog.Builder
Returns
Type Description
WorkdaySourceConfig.Builder

setPollingInterval(Duration value)

public WorkdaySourceConfig.Builder setPollingInterval(Duration value)

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

.google.protobuf.Duration polling_interval = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Duration
Returns
Type Description
WorkdaySourceConfig.Builder

setPollingInterval(Duration.Builder builderForValue)

public WorkdaySourceConfig.Builder setPollingInterval(Duration.Builder builderForValue)

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

.google.protobuf.Duration polling_interval = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
WorkdaySourceConfig.Builder