Class ServiceNowSourceConfig.Builder (1.102.0)

public static final class ServiceNowSourceConfig.Builder extends GeneratedMessage.Builder<ServiceNowSourceConfig.Builder> implements ServiceNowSourceConfigOrBuilder

Configuration for syncing data from a ServiceNow source.

Protobuf type google.cloud.datastream.v1.ServiceNowSourceConfig

Static Methods

getDescriptor()

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

Methods

build()

public ServiceNowSourceConfig build()
Returns
Type Description
ServiceNowSourceConfig

buildPartial()

public ServiceNowSourceConfig buildPartial()
Returns
Type Description
ServiceNowSourceConfig

clear()

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

clearExcludeObjects()

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

clearIncludeObjects()

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

clearPollingInterval()

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

getDefaultInstanceForType()

public ServiceNowSourceConfig getDefaultInstanceForType()
Returns
Type Description
ServiceNowSourceConfig

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

mergeFrom(ServiceNowSourceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIncludeObjects(SourceCatalog value)

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

mergePollingInterval(Duration value)

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

setExcludeObjects(SourceCatalog value)

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

setExcludeObjects(SourceCatalog.Builder builderForValue)

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

setIncludeObjects(SourceCatalog value)

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

setIncludeObjects(SourceCatalog.Builder builderForValue)

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

setPollingInterval(Duration value)

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

setPollingInterval(Duration.Builder builderForValue)

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