public interface HiveDatabaseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsParameters(String key)
public abstract boolean containsParameters(String key)Optional. Stores the properties associated with the database. The maximum size is 2 MiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDescription()
public abstract String getDescription()Optional. Stores the database description. The maximum length is 4000 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Optional. Stores the database description. The maximum length is 4000 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getLocationUri()
public abstract String getLocationUri() Optional. The Cloud Storage location path where the database exists.
Format: gs://bucket/path/to/database
If unspecified, the database will be stored in the catalog location.
The maximum length is 4000 characters.
string location_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The locationUri. |
getLocationUriBytes()
public abstract ByteString getLocationUriBytes() Optional. The Cloud Storage location path where the database exists.
Format: gs://bucket/path/to/database
If unspecified, the database will be stored in the catalog location.
The maximum length is 4000 characters.
string location_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for locationUri. |
getName()
public abstract String getName()Output only. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Output only. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParameters() (deprecated)
public abstract Map<String,String> getParameters()Use #getParametersMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getParametersCount()
public abstract int getParametersCount()Optional. Stores the properties associated with the database. The maximum size is 2 MiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getParametersMap()
public abstract Map<String,String> getParametersMap()Optional. Stores the properties associated with the database. The maximum size is 2 MiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getParametersOrDefault(String key, String defaultValue)
public abstract String getParametersOrDefault(String key, String defaultValue)Optional. Stores the properties associated with the database. The maximum size is 2 MiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getParametersOrThrow(String key)
public abstract String getParametersOrThrow(String key)Optional. Stores the properties associated with the database. The maximum size is 2 MiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|