public final class SpannerSource extends com.google.protobuf.GeneratedMessageV3 implements SpannerSourceOrBuilder
The Spanner source for importing dataProtobuf type
google.cloud.discoveryengine.v1alpha.SpannerSource| Modifier and Type | Class and Description |
|---|---|
static class |
SpannerSource.Builder
The Spanner source for importing data
Protobuf type
google.cloud.discoveryengine.v1alpha.SpannerSource |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATABASE_ID_FIELD_NUMBER |
static int |
ENABLE_DATA_BOOST_FIELD_NUMBER |
static int |
INSTANCE_ID_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
static int |
TABLE_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDatabaseId()
Required.
|
com.google.protobuf.ByteString |
getDatabaseIdBytes()
Required.
|
static SpannerSource |
getDefaultInstance() |
SpannerSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableDataBoost()
Whether to apply data boost on Spanner export.
|
String |
getInstanceId()
Required.
|
com.google.protobuf.ByteString |
getInstanceIdBytes()
Required.
|
com.google.protobuf.Parser<SpannerSource> |
getParserForType() |
String |
getProjectId()
The project ID that the Spanner source is in with a length limit of 128
characters.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
The project ID that the Spanner source is in with a length limit of 128
characters.
|
int |
getSerializedSize() |
String |
getTableId()
Required.
|
com.google.protobuf.ByteString |
getTableIdBytes()
Required.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SpannerSource.Builder |
newBuilder() |
static SpannerSource.Builder |
newBuilder(SpannerSource prototype) |
SpannerSource.Builder |
newBuilderForType() |
protected SpannerSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SpannerSource |
parseDelimitedFrom(InputStream input) |
static SpannerSource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SpannerSource |
parseFrom(byte[] data) |
static SpannerSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SpannerSource |
parseFrom(ByteBuffer data) |
static SpannerSource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SpannerSource |
parseFrom(com.google.protobuf.ByteString data) |
static SpannerSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SpannerSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SpannerSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SpannerSource |
parseFrom(InputStream input) |
static SpannerSource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SpannerSource> |
parser() |
SpannerSource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PROJECT_ID_FIELD_NUMBER
public static final int INSTANCE_ID_FIELD_NUMBER
public static final int DATABASE_ID_FIELD_NUMBER
public static final int TABLE_ID_FIELD_NUMBER
public static final int ENABLE_DATA_BOOST_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getProjectId()
The project ID that the Spanner source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;getProjectId in interface SpannerSourceOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
The project ID that the Spanner source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;getProjectIdBytes in interface SpannerSourceOrBuilderpublic String getInstanceId()
Required. The instance ID of the source Spanner table.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];getInstanceId in interface SpannerSourceOrBuilderpublic com.google.protobuf.ByteString getInstanceIdBytes()
Required. The instance ID of the source Spanner table.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];getInstanceIdBytes in interface SpannerSourceOrBuilderpublic String getDatabaseId()
Required. The database ID of the source Spanner table.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];getDatabaseId in interface SpannerSourceOrBuilderpublic com.google.protobuf.ByteString getDatabaseIdBytes()
Required. The database ID of the source Spanner table.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];getDatabaseIdBytes in interface SpannerSourceOrBuilderpublic String getTableId()
Required. The table name of the Spanner database that needs to be imported.
string table_id = 4 [(.google.api.field_behavior) = REQUIRED];getTableId in interface SpannerSourceOrBuilderpublic com.google.protobuf.ByteString getTableIdBytes()
Required. The table name of the Spanner database that needs to be imported.
string table_id = 4 [(.google.api.field_behavior) = REQUIRED];getTableIdBytes in interface SpannerSourceOrBuilderpublic boolean getEnableDataBoost()
Whether to apply data boost on Spanner export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/spanner/docs/databoost/databoost-overview#billing_and_quotas).
bool enable_data_boost = 5;getEnableDataBoost in interface SpannerSourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SpannerSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpannerSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpannerSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpannerSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpannerSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpannerSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SpannerSource parseFrom(InputStream input) throws IOException
IOExceptionpublic static SpannerSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SpannerSource parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SpannerSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SpannerSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SpannerSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SpannerSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SpannerSource.Builder newBuilder()
public static SpannerSource.Builder newBuilder(SpannerSource prototype)
public SpannerSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SpannerSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SpannerSource getDefaultInstance()
public static com.google.protobuf.Parser<SpannerSource> parser()
public com.google.protobuf.Parser<SpannerSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SpannerSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.