Class HiveDatabaseOptions.Builder (0.43.0)

public static final class HiveDatabaseOptions.Builder extends GeneratedMessageV3.Builder<HiveDatabaseOptions.Builder> implements HiveDatabaseOptionsOrBuilder

Options of a Hive database.

Protobuf type google.cloud.bigquery.biglake.v1alpha1.HiveDatabaseOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HiveDatabaseOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HiveDatabaseOptions.Builder
Overrides

build()

public HiveDatabaseOptions build()
Returns
Type Description
HiveDatabaseOptions

buildPartial()

public HiveDatabaseOptions buildPartial()
Returns
Type Description
HiveDatabaseOptions

clear()

public HiveDatabaseOptions.Builder clear()
Returns
Type Description
HiveDatabaseOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HiveDatabaseOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HiveDatabaseOptions.Builder
Overrides

clearLocationUri()

public HiveDatabaseOptions.Builder clearLocationUri()

Cloud Storage folder URI where the database data is stored, starting with "gs://".

string location_uri = 1;

Returns
Type Description
HiveDatabaseOptions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public HiveDatabaseOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HiveDatabaseOptions.Builder
Overrides

clearParameters()

public HiveDatabaseOptions.Builder clearParameters()
Returns
Type Description
HiveDatabaseOptions.Builder

clone()

public HiveDatabaseOptions.Builder clone()
Returns
Type Description
HiveDatabaseOptions.Builder
Overrides

containsParameters(String key)

public boolean containsParameters(String key)

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public HiveDatabaseOptions getDefaultInstanceForType()
Returns
Type Description
HiveDatabaseOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLocationUri()

public String getLocationUri()

Cloud Storage folder URI where the database data is stored, starting with "gs://".

string location_uri = 1;

Returns
Type Description
String

The locationUri.

getLocationUriBytes()

public ByteString getLocationUriBytes()

Cloud Storage folder URI where the database data is stored, starting with "gs://".

string location_uri = 1;

Returns
Type Description
ByteString

The bytes for locationUri.

getMutableParameters() (deprecated)

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getParameters() (deprecated)

public Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
Type Description
Map<String,String>

getParametersCount()

public int getParametersCount()

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Returns
Type Description
int

getParametersMap()

public Map<String,String> getParametersMap()

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Returns
Type Description
Map<String,String>

getParametersOrDefault(String key, String defaultValue)

public String getParametersOrDefault(String key, String defaultValue)

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Parameter
Name Description
key String
Returns
Type Description
String

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HiveDatabaseOptions other)

public HiveDatabaseOptions.Builder mergeFrom(HiveDatabaseOptions other)
Parameter
Name Description
other HiveDatabaseOptions
Returns
Type Description
HiveDatabaseOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HiveDatabaseOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HiveDatabaseOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HiveDatabaseOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HiveDatabaseOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HiveDatabaseOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HiveDatabaseOptions.Builder
Overrides

putAllParameters(Map<String,String> values)

public HiveDatabaseOptions.Builder putAllParameters(Map<String,String> values)

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
HiveDatabaseOptions.Builder

putParameters(String key, String value)

public HiveDatabaseOptions.Builder putParameters(String key, String value)

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Parameters
Name Description
key String
value String
Returns
Type Description
HiveDatabaseOptions.Builder

removeParameters(String key)

public HiveDatabaseOptions.Builder removeParameters(String key)

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Parameter
Name Description
key String
Returns
Type Description
HiveDatabaseOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public HiveDatabaseOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HiveDatabaseOptions.Builder
Overrides

setLocationUri(String value)

public HiveDatabaseOptions.Builder setLocationUri(String value)

Cloud Storage folder URI where the database data is stored, starting with "gs://".

string location_uri = 1;

Parameter
Name Description
value String

The locationUri to set.

Returns
Type Description
HiveDatabaseOptions.Builder

This builder for chaining.

setLocationUriBytes(ByteString value)

public HiveDatabaseOptions.Builder setLocationUriBytes(ByteString value)

Cloud Storage folder URI where the database data is stored, starting with "gs://".

string location_uri = 1;

Parameter
Name Description
value ByteString

The bytes for locationUri to set.

Returns
Type Description
HiveDatabaseOptions.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HiveDatabaseOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HiveDatabaseOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HiveDatabaseOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HiveDatabaseOptions.Builder
Overrides