public final class SpannerSourceConfig extends GeneratedMessage implements SpannerSourceConfigOrBuilder
Configuration for syncing data from a Spanner source.
Protobuf type google.cloud.datastream.v1.SpannerSourceConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
BACKFILL_DATA_BOOST_ENABLED_FIELD_NUMBER
public static final int BACKFILL_DATA_BOOST_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CHANGE_STREAM_NAME_FIELD_NUMBER
public static final int CHANGE_STREAM_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXCLUDE_OBJECTS_FIELD_NUMBER
public static final int EXCLUDE_OBJECTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FGAC_ROLE_FIELD_NUMBER
public static final int FGAC_ROLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
INCLUDE_OBJECTS_FIELD_NUMBER
public static final int INCLUDE_OBJECTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER
public static final int MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MAX_CONCURRENT_CDC_TASKS_FIELD_NUMBER
public static final int MAX_CONCURRENT_CDC_TASKS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SPANNER_RPC_PRIORITY_FIELD_NUMBER
public static final int SPANNER_RPC_PRIORITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SpannerSourceConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SpannerSourceConfig.Builder newBuilder()
newBuilder(SpannerSourceConfig prototype)
public static SpannerSourceConfig.Builder newBuilder(SpannerSourceConfig prototype)
public static SpannerSourceConfig parseDelimitedFrom(InputStream input)
public static SpannerSourceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SpannerSourceConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SpannerSourceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SpannerSourceConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SpannerSourceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SpannerSourceConfig parseFrom(CodedInputStream input)
public static SpannerSourceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SpannerSourceConfig parseFrom(InputStream input)
public static SpannerSourceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SpannerSourceConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SpannerSourceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SpannerSourceConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBackfillDataBoostEnabled()
public boolean getBackfillDataBoostEnabled()
Optional. Whether to use Data Boost for Spanner backfills. Defaults to
false if not set.
bool backfill_data_boost_enabled = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The backfillDataBoostEnabled.
|
getChangeStreamName()
public String getChangeStreamName()
Required. Immutable. The change stream name to use for the stream.
string change_stream_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
String |
The changeStreamName.
|
getChangeStreamNameBytes()
public ByteString getChangeStreamNameBytes()
Required. Immutable. The change stream name to use for the stream.
string change_stream_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
ByteString |
The bytes for changeStreamName.
|
getDefaultInstanceForType()
public SpannerSourceConfig getDefaultInstanceForType()
getExcludeObjects()
public SpannerDatabase getExcludeObjects()
Optional. The Spanner objects to avoid retrieving. If some objects are both
included and excluded, an error will be thrown.
.google.cloud.datastream.v1.SpannerDatabase exclude_objects = 7 [(.google.api.field_behavior) = OPTIONAL];
getExcludeObjectsOrBuilder()
public SpannerDatabaseOrBuilder getExcludeObjectsOrBuilder()
Optional. The Spanner objects to avoid retrieving. If some objects are both
included and excluded, an error will be thrown.
.google.cloud.datastream.v1.SpannerDatabase exclude_objects = 7 [(.google.api.field_behavior) = OPTIONAL];
getFgacRole()
public String getFgacRole()
Optional. The FGAC role to use for the stream.
string fgac_role = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The fgacRole.
|
getFgacRoleBytes()
public ByteString getFgacRoleBytes()
Optional. The FGAC role to use for the stream.
string fgac_role = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for fgacRole.
|
getIncludeObjects()
public SpannerDatabase getIncludeObjects()
Optional. The Spanner objects to retrieve from the data source. If some
objects are both included and excluded, an error will be thrown.
.google.cloud.datastream.v1.SpannerDatabase include_objects = 6 [(.google.api.field_behavior) = OPTIONAL];
getIncludeObjectsOrBuilder()
public SpannerDatabaseOrBuilder getIncludeObjectsOrBuilder()
Optional. The Spanner objects to retrieve from the data source. If some
objects are both included and excluded, an error will be thrown.
.google.cloud.datastream.v1.SpannerDatabase include_objects = 6 [(.google.api.field_behavior) = OPTIONAL];
getMaxConcurrentBackfillTasks()
public int getMaxConcurrentBackfillTasks()
Optional. Maximum number of concurrent backfill tasks.
int32 max_concurrent_backfill_tasks = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The maxConcurrentBackfillTasks.
|
getMaxConcurrentCdcTasks()
public int getMaxConcurrentCdcTasks()
Optional. Maximum number of concurrent CDC tasks.
int32 max_concurrent_cdc_tasks = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The maxConcurrentCdcTasks.
|
getParserForType()
public Parser<SpannerSourceConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSpannerRpcPriority()
public SpannerSourceConfig.SpannerRpcPriority getSpannerRpcPriority()
Optional. The RPC priority to use for the stream.
.google.cloud.datastream.v1.SpannerSourceConfig.SpannerRpcPriority spanner_rpc_priority = 2 [(.google.api.field_behavior) = OPTIONAL];
getSpannerRpcPriorityValue()
public int getSpannerRpcPriorityValue()
Optional. The RPC priority to use for the stream.
.google.cloud.datastream.v1.SpannerSourceConfig.SpannerRpcPriority spanner_rpc_priority = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for spannerRpcPriority.
|
hasExcludeObjects()
public boolean hasExcludeObjects()
Optional. The Spanner objects to avoid retrieving. If some objects are both
included and excluded, an error will be thrown.
.google.cloud.datastream.v1.SpannerDatabase exclude_objects = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the excludeObjects field is set.
|
hasIncludeObjects()
public boolean hasIncludeObjects()
Optional. The Spanner objects to retrieve from the data source. If some
objects are both included and excluded, an error will be thrown.
.google.cloud.datastream.v1.SpannerDatabase include_objects = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the includeObjects field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SpannerSourceConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SpannerSourceConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SpannerSourceConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides