Class DataverseSourceConfig.Builder (1.102.0)

public static final class DataverseSourceConfig.Builder extends GeneratedMessage.Builder<DataverseSourceConfig.Builder> implements DataverseSourceConfigOrBuilder

Configuration for syncing data from a Dataverse source.

Protobuf type google.cloud.datastream.v1.DataverseSourceConfig

Static Methods

getDescriptor()

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

Methods

build()

public DataverseSourceConfig build()
Returns
Type Description
DataverseSourceConfig

buildPartial()

public DataverseSourceConfig buildPartial()
Returns
Type Description
DataverseSourceConfig

clear()

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

clearExcludeObjects()

public DataverseSourceConfig.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
DataverseSourceConfig.Builder

clearIncludeObjects()

public DataverseSourceConfig.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
DataverseSourceConfig.Builder

clearPollingInterval()

public DataverseSourceConfig.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
DataverseSourceConfig.Builder

getDefaultInstanceForType()

public DataverseSourceConfig getDefaultInstanceForType()
Returns
Type Description
DataverseSourceConfig

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 DataverseSourceConfig.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
DataverseSourceConfig.Builder

mergeFrom(DataverseSourceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIncludeObjects(SourceCatalog value)

public DataverseSourceConfig.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
DataverseSourceConfig.Builder

mergePollingInterval(Duration value)

public DataverseSourceConfig.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
DataverseSourceConfig.Builder

setExcludeObjects(SourceCatalog value)

public DataverseSourceConfig.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
DataverseSourceConfig.Builder

setExcludeObjects(SourceCatalog.Builder builderForValue)

public DataverseSourceConfig.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
DataverseSourceConfig.Builder

setIncludeObjects(SourceCatalog value)

public DataverseSourceConfig.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
DataverseSourceConfig.Builder

setIncludeObjects(SourceCatalog.Builder builderForValue)

public DataverseSourceConfig.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
DataverseSourceConfig.Builder

setPollingInterval(Duration value)

public DataverseSourceConfig.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
DataverseSourceConfig.Builder

setPollingInterval(Duration.Builder builderForValue)

public DataverseSourceConfig.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
DataverseSourceConfig.Builder