public static final class SalesforceSourceConfig.Builder extends GeneratedMessage.Builder<SalesforceSourceConfig.Builder> implements SalesforceSourceConfigOrBuilderConfiguration for syncing data from a Salesforce source.
Protobuf type google.cloud.datastream.v1.SalesforceSourceConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SalesforceSourceConfig.BuilderImplements
SalesforceSourceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SalesforceSourceConfig build()| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig |
|
buildPartial()
public SalesforceSourceConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig |
|
clear()
public SalesforceSourceConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
clearExcludeObjects()
public SalesforceSourceConfig.Builder clearExcludeObjects()The Salesforce objects to exclude from the stream.
.google.cloud.datastream.v1.SalesforceOrg exclude_objects = 2;
| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
clearIncludeObjects()
public SalesforceSourceConfig.Builder clearIncludeObjects()The Salesforce objects to retrieve from the source.
.google.cloud.datastream.v1.SalesforceOrg include_objects = 1;
| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
clearPollingInterval()
public SalesforceSourceConfig.Builder clearPollingInterval() Required. Salesforce objects polling interval. The interval at which new
changes will be polled for each object. 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 |
SalesforceSourceConfig.Builder |
|
getDefaultInstanceForType()
public SalesforceSourceConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExcludeObjects()
public SalesforceOrg getExcludeObjects()The Salesforce objects to exclude from the stream.
.google.cloud.datastream.v1.SalesforceOrg exclude_objects = 2;
| Returns | |
|---|---|
| Type | Description |
SalesforceOrg |
The excludeObjects. |
getExcludeObjectsBuilder()
public SalesforceOrg.Builder getExcludeObjectsBuilder()The Salesforce objects to exclude from the stream.
.google.cloud.datastream.v1.SalesforceOrg exclude_objects = 2;
| Returns | |
|---|---|
| Type | Description |
SalesforceOrg.Builder |
|
getExcludeObjectsOrBuilder()
public SalesforceOrgOrBuilder getExcludeObjectsOrBuilder()The Salesforce objects to exclude from the stream.
.google.cloud.datastream.v1.SalesforceOrg exclude_objects = 2;
| Returns | |
|---|---|
| Type | Description |
SalesforceOrgOrBuilder |
|
getIncludeObjects()
public SalesforceOrg getIncludeObjects()The Salesforce objects to retrieve from the source.
.google.cloud.datastream.v1.SalesforceOrg include_objects = 1;
| Returns | |
|---|---|
| Type | Description |
SalesforceOrg |
The includeObjects. |
getIncludeObjectsBuilder()
public SalesforceOrg.Builder getIncludeObjectsBuilder()The Salesforce objects to retrieve from the source.
.google.cloud.datastream.v1.SalesforceOrg include_objects = 1;
| Returns | |
|---|---|
| Type | Description |
SalesforceOrg.Builder |
|
getIncludeObjectsOrBuilder()
public SalesforceOrgOrBuilder getIncludeObjectsOrBuilder()The Salesforce objects to retrieve from the source.
.google.cloud.datastream.v1.SalesforceOrg include_objects = 1;
| Returns | |
|---|---|
| Type | Description |
SalesforceOrgOrBuilder |
|
getPollingInterval()
public Duration getPollingInterval() Required. Salesforce objects polling interval. The interval at which new
changes will be polled for each object. 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. Salesforce objects polling interval. The interval at which new
changes will be polled for each object. 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. Salesforce objects polling interval. The interval at which new
changes will be polled for each object. 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()The Salesforce objects to exclude from the stream.
.google.cloud.datastream.v1.SalesforceOrg exclude_objects = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the excludeObjects field is set. |
hasIncludeObjects()
public boolean hasIncludeObjects()The Salesforce objects to retrieve from the source.
.google.cloud.datastream.v1.SalesforceOrg include_objects = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the includeObjects field is set. |
hasPollingInterval()
public boolean hasPollingInterval() Required. Salesforce objects polling interval. The interval at which new
changes will be polled for each object. 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeExcludeObjects(SalesforceOrg value)
public SalesforceSourceConfig.Builder mergeExcludeObjects(SalesforceOrg value)The Salesforce objects to exclude from the stream.
.google.cloud.datastream.v1.SalesforceOrg exclude_objects = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SalesforceOrg |
| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
mergeFrom(SalesforceSourceConfig other)
public SalesforceSourceConfig.Builder mergeFrom(SalesforceSourceConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
SalesforceSourceConfig |
| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SalesforceSourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SalesforceSourceConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
mergeIncludeObjects(SalesforceOrg value)
public SalesforceSourceConfig.Builder mergeIncludeObjects(SalesforceOrg value)The Salesforce objects to retrieve from the source.
.google.cloud.datastream.v1.SalesforceOrg include_objects = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SalesforceOrg |
| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
mergePollingInterval(Duration value)
public SalesforceSourceConfig.Builder mergePollingInterval(Duration value) Required. Salesforce objects polling interval. The interval at which new
changes will be polled for each object. 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 |
SalesforceSourceConfig.Builder |
|
setExcludeObjects(SalesforceOrg value)
public SalesforceSourceConfig.Builder setExcludeObjects(SalesforceOrg value)The Salesforce objects to exclude from the stream.
.google.cloud.datastream.v1.SalesforceOrg exclude_objects = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SalesforceOrg |
| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
setExcludeObjects(SalesforceOrg.Builder builderForValue)
public SalesforceSourceConfig.Builder setExcludeObjects(SalesforceOrg.Builder builderForValue)The Salesforce objects to exclude from the stream.
.google.cloud.datastream.v1.SalesforceOrg exclude_objects = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SalesforceOrg.Builder |
| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
setIncludeObjects(SalesforceOrg value)
public SalesforceSourceConfig.Builder setIncludeObjects(SalesforceOrg value)The Salesforce objects to retrieve from the source.
.google.cloud.datastream.v1.SalesforceOrg include_objects = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SalesforceOrg |
| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
setIncludeObjects(SalesforceOrg.Builder builderForValue)
public SalesforceSourceConfig.Builder setIncludeObjects(SalesforceOrg.Builder builderForValue)The Salesforce objects to retrieve from the source.
.google.cloud.datastream.v1.SalesforceOrg include_objects = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SalesforceOrg.Builder |
| Returns | |
|---|---|
| Type | Description |
SalesforceSourceConfig.Builder |
|
setPollingInterval(Duration value)
public SalesforceSourceConfig.Builder setPollingInterval(Duration value) Required. Salesforce objects polling interval. The interval at which new
changes will be polled for each object. 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 |
SalesforceSourceConfig.Builder |
|
setPollingInterval(Duration.Builder builderForValue)
public SalesforceSourceConfig.Builder setPollingInterval(Duration.Builder builderForValue) Required. Salesforce objects polling interval. The interval at which new
changes will be polled for each object. 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 |
SalesforceSourceConfig.Builder |
|