Interface HiveDatabaseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HiveDatabase,HiveDatabase.Builder
@Generated
public interface HiveDatabaseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsParameters(String key) Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.getName()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getParametersOrDefault(String key, String defaultValue) Optional.Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getDescription
String getDescription()Optional. Stores the database description. The maximum length is 4000 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. Stores the database description. The maximum length is 4000 characters.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
getLocationUri
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:
- The locationUri.
-
getLocationUriBytes
com.google.protobuf.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:
- The bytes for locationUri.
-
getParametersCount
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]; -
containsParameters
Optional. Stores the properties associated with the database. The maximum size is 2 MiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getParameters
Deprecated.UsegetParametersMap()instead. -
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]; -
getParametersOrDefault
Optional. Stores the properties associated with the database. The maximum size is 2 MiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getParametersOrThrow
Optional. Stores the properties associated with the database. The maximum size is 2 MiB.
map<string, string> parameters = 4 [(.google.api.field_behavior) = OPTIONAL];
-