Class HiveDatabaseOptions.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HiveDatabaseOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HiveDatabaseOptions.Builder
Overrides

build()

public HiveDatabaseOptions build()
Returns
TypeDescription
HiveDatabaseOptions

buildPartial()

public HiveDatabaseOptions buildPartial()
Returns
TypeDescription
HiveDatabaseOptions

clear()

public HiveDatabaseOptions.Builder clear()
Returns
TypeDescription
HiveDatabaseOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HiveDatabaseOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
HiveDatabaseOptions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public HiveDatabaseOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HiveDatabaseOptions.Builder
Overrides

clearParameters()

public HiveDatabaseOptions.Builder clearParameters()
Returns
TypeDescription
HiveDatabaseOptions.Builder

clone()

public HiveDatabaseOptions.Builder clone()
Returns
TypeDescription
HiveDatabaseOptions.Builder
Overrides

containsParameters(String key)

public boolean containsParameters(String key)

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public HiveDatabaseOptions getDefaultInstanceForType()
Returns
TypeDescription
HiveDatabaseOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocationUri()

public String getLocationUri()

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

string location_uri = 1;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for locationUri.

getMutableParameters()

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getParameters()

public Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
TypeDescription
Map<String,String>

getParametersCount()

public int getParametersCount()

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Returns
TypeDescription
int

getParametersMap()

public Map<String,String> getParametersMap()

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HiveDatabaseOptions other)

public HiveDatabaseOptions.Builder mergeFrom(HiveDatabaseOptions other)
Parameter
NameDescription
otherHiveDatabaseOptions
Returns
TypeDescription
HiveDatabaseOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HiveDatabaseOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HiveDatabaseOptions.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HiveDatabaseOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HiveDatabaseOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HiveDatabaseOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
HiveDatabaseOptions.Builder

removeParameters(String key)

public HiveDatabaseOptions.Builder removeParameters(String key)

Stores user supplied Hive database parameters.

map<string, string> parameters = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
HiveDatabaseOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public HiveDatabaseOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The locationUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for locationUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HiveDatabaseOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HiveDatabaseOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HiveDatabaseOptions.Builder
Overrides