public static final class LocationMetadata.HiveMetastoreVersion.Builder extends GeneratedMessageV3.Builder<LocationMetadata.HiveMetastoreVersion.Builder> implements LocationMetadata.HiveMetastoreVersionOrBuilder
A specification of a supported version of the Hive Metastore software.
Protobuf type google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public LocationMetadata.HiveMetastoreVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public LocationMetadata.HiveMetastoreVersion build()
Returns
public LocationMetadata.HiveMetastoreVersion buildPartial()
Returns
public LocationMetadata.HiveMetastoreVersion.Builder clear()
Returns
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder clearIsDefault()
Whether version
will be chosen by the server if a metastore service is
created with a HiveMetastoreConfig
that omits the version
.
bool is_default = 2;
Returns
public LocationMetadata.HiveMetastoreVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder clearVersion()
The semantic version of the Hive Metastore software.
string version = 1;
Returns
public LocationMetadata.HiveMetastoreVersion.Builder clone()
Returns
Overrides
public LocationMetadata.HiveMetastoreVersion getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public boolean getIsDefault()
Whether version
will be chosen by the server if a metastore service is
created with a HiveMetastoreConfig
that omits the version
.
bool is_default = 2;
Returns
Type | Description |
boolean | The isDefault.
|
public String getVersion()
The semantic version of the Hive Metastore software.
string version = 1;
Returns
Type | Description |
String | The version.
|
public ByteString getVersionBytes()
The semantic version of the Hive Metastore software.
string version = 1;
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(LocationMetadata.HiveMetastoreVersion other)
Parameter
Returns
public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final LocationMetadata.HiveMetastoreVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder setIsDefault(boolean value)
Whether version
will be chosen by the server if a metastore service is
created with a HiveMetastoreConfig
that omits the version
.
bool is_default = 2;
Parameter
Name | Description |
value | boolean
The isDefault to set.
|
Returns
public LocationMetadata.HiveMetastoreVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final LocationMetadata.HiveMetastoreVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder setVersion(String value)
The semantic version of the Hive Metastore software.
string version = 1;
Parameter
Name | Description |
value | String
The version to set.
|
Returns
public LocationMetadata.HiveMetastoreVersion.Builder setVersionBytes(ByteString value)
The semantic version of the Hive Metastore software.
string version = 1;
Parameter
Name | Description |
value | ByteString
The bytes for version to set.
|
Returns