Interface CreateDatabaseRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateDatabaseRequest
,CreateDatabaseRequest.Builder
public interface CreateDatabaseRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Database
getDatabase()
Required.String
getDatabaseId()
Required.com.google.protobuf.ByteString
getDatabaseIdBytes()
Required.DatabaseOrBuilder
getDatabaseOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasDatabase()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
hasDatabase
boolean hasDatabase()
Required. The database to create. The `name` field does not need to be provided.
.google.cloud.bigquery.biglake.v1alpha1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the database field is set.
-
getDatabase
Database getDatabase()
Required. The database to create. The `name` field does not need to be provided.
.google.cloud.bigquery.biglake.v1alpha1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The database.
-
getDatabaseOrBuilder
DatabaseOrBuilder getDatabaseOrBuilder()
Required. The database to create. The `name` field does not need to be provided.
.google.cloud.bigquery.biglake.v1alpha1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
-
getDatabaseId
String getDatabaseId()
Required. The ID to use for the database, which will become the final component of the database's resource name.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The databaseId.
-
getDatabaseIdBytes
com.google.protobuf.ByteString getDatabaseIdBytes()
Required. The ID to use for the database, which will become the final component of the database's resource name.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for databaseId.
-
-