public static final class DatabaseTableReference.Builder extends GeneratedMessage.Builder<DatabaseTableReference.Builder> implements DatabaseTableReferenceOrBuilderMessage representing a table including its schema.
Protobuf type google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DatabaseTableReference.BuilderImplements
DatabaseTableReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DatabaseTableReference build()| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference |
|
buildPartial()
public DatabaseTableReference buildPartial()| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference |
|
clear()
public DatabaseTableReference.Builder clear()| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference.Builder |
|
clearSchema()
public DatabaseTableReference.Builder clearSchema()Optional. The schema of the table.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference.Builder |
|
clearTableId()
public DatabaseTableReference.Builder clearTableId()Required. The name of the table as defined in the database.
Note: The precise rules for table naming, including valid characters, length limits, and case sensitivity, are determined by the specific database system.
Requirements:
- Exact Match: The provided name must be identical to the name stored in the database.
- Case Sensitivity: Respect the case sensitivity rules of the specific database system and how the table was created. For example, "Orders" and "orders" may be distinct table names.
Special Characters/Keywords: If the table name includes spaces, special characters, or is a database reserved keyword, provide the literal name as it is stored. Do not add any database-specific identifier quoting characters (e.g., ", `, []).
Examples:
- Simple name: "orders", "UserActivity"
- Case sensitive: "MyTable"
- Name with spaces: "Order Details"
- Name with other special characters: "user/data", "order-items"
Name that is a keyword: "Group", "Order"
Permissions: The caller's credentials must have the necessary database permissions to access the table's schema and data.
string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DatabaseTableReference getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSchema()
public Schema getSchema()Optional. The schema of the table.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Schema |
The schema. |
getSchemaBuilder()
public Schema.Builder getSchemaBuilder()Optional. The schema of the table.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder()Optional. The schema of the table.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SchemaOrBuilder |
|
getTableId()
public String getTableId()Required. The name of the table as defined in the database.
Note: The precise rules for table naming, including valid characters, length limits, and case sensitivity, are determined by the specific database system.
Requirements:
- Exact Match: The provided name must be identical to the name stored in the database.
- Case Sensitivity: Respect the case sensitivity rules of the specific database system and how the table was created. For example, "Orders" and "orders" may be distinct table names.
Special Characters/Keywords: If the table name includes spaces, special characters, or is a database reserved keyword, provide the literal name as it is stored. Do not add any database-specific identifier quoting characters (e.g., ", `, []).
Examples:
- Simple name: "orders", "UserActivity"
- Case sensitive: "MyTable"
- Name with spaces: "Order Details"
- Name with other special characters: "user/data", "order-items"
Name that is a keyword: "Group", "Order"
Permissions: The caller's credentials must have the necessary database permissions to access the table's schema and data.
string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The tableId. |
getTableIdBytes()
public ByteString getTableIdBytes()Required. The name of the table as defined in the database.
Note: The precise rules for table naming, including valid characters, length limits, and case sensitivity, are determined by the specific database system.
Requirements:
- Exact Match: The provided name must be identical to the name stored in the database.
- Case Sensitivity: Respect the case sensitivity rules of the specific database system and how the table was created. For example, "Orders" and "orders" may be distinct table names.
Special Characters/Keywords: If the table name includes spaces, special characters, or is a database reserved keyword, provide the literal name as it is stored. Do not add any database-specific identifier quoting characters (e.g., ", `, []).
Examples:
- Simple name: "orders", "UserActivity"
- Case sensitive: "MyTable"
- Name with spaces: "Order Details"
- Name with other special characters: "user/data", "order-items"
Name that is a keyword: "Group", "Order"
Permissions: The caller's credentials must have the necessary database permissions to access the table's schema and data.
string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tableId. |
hasSchema()
public boolean hasSchema()Optional. The schema of the table.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the schema field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DatabaseTableReference other)
public DatabaseTableReference.Builder mergeFrom(DatabaseTableReference other)| Parameter | |
|---|---|
| Name | Description |
other |
DatabaseTableReference |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatabaseTableReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DatabaseTableReference.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference.Builder |
|
mergeSchema(Schema value)
public DatabaseTableReference.Builder mergeSchema(Schema value)Optional. The schema of the table.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference.Builder |
|
setSchema(Schema value)
public DatabaseTableReference.Builder setSchema(Schema value)Optional. The schema of the table.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference.Builder |
|
setSchema(Schema.Builder builderForValue)
public DatabaseTableReference.Builder setSchema(Schema.Builder builderForValue)Optional. The schema of the table.
.google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Schema.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference.Builder |
|
setTableId(String value)
public DatabaseTableReference.Builder setTableId(String value)Required. The name of the table as defined in the database.
Note: The precise rules for table naming, including valid characters, length limits, and case sensitivity, are determined by the specific database system.
Requirements:
- Exact Match: The provided name must be identical to the name stored in the database.
- Case Sensitivity: Respect the case sensitivity rules of the specific database system and how the table was created. For example, "Orders" and "orders" may be distinct table names.
Special Characters/Keywords: If the table name includes spaces, special characters, or is a database reserved keyword, provide the literal name as it is stored. Do not add any database-specific identifier quoting characters (e.g., ", `, []).
Examples:
- Simple name: "orders", "UserActivity"
- Case sensitive: "MyTable"
- Name with spaces: "Order Details"
- Name with other special characters: "user/data", "order-items"
Name that is a keyword: "Group", "Order"
Permissions: The caller's credentials must have the necessary database permissions to access the table's schema and data.
string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tableId to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference.Builder |
This builder for chaining. |
setTableIdBytes(ByteString value)
public DatabaseTableReference.Builder setTableIdBytes(ByteString value)Required. The name of the table as defined in the database.
Note: The precise rules for table naming, including valid characters, length limits, and case sensitivity, are determined by the specific database system.
Requirements:
- Exact Match: The provided name must be identical to the name stored in the database.
- Case Sensitivity: Respect the case sensitivity rules of the specific database system and how the table was created. For example, "Orders" and "orders" may be distinct table names.
Special Characters/Keywords: If the table name includes spaces, special characters, or is a database reserved keyword, provide the literal name as it is stored. Do not add any database-specific identifier quoting characters (e.g., ", `, []).
Examples:
- Simple name: "orders", "UserActivity"
- Case sensitive: "MyTable"
- Name with spaces: "Order Details"
- Name with other special characters: "user/data", "order-items"
Name that is a keyword: "Group", "Order"
Permissions: The caller's credentials must have the necessary database permissions to access the table's schema and data.
string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tableId to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableReference.Builder |
This builder for chaining. |