public static final class LocationMetadata.HiveMetastoreVersion.Builder extends GeneratedMessage.Builder<LocationMetadata.HiveMetastoreVersion.Builder> implements LocationMetadata.HiveMetastoreVersionOrBuilderA specification of a supported version of the Hive Metastore software.
Protobuf type google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LocationMetadata.HiveMetastoreVersion.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LocationMetadata.HiveMetastoreVersion build()| Returns | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion |
|
buildPartial()
public LocationMetadata.HiveMetastoreVersion buildPartial()| Returns | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion |
|
clear()
public LocationMetadata.HiveMetastoreVersion.Builder clear()| Returns | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion.Builder |
|
clearIsDefault()
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 | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion.Builder |
This builder for chaining. |
clearVersion()
public LocationMetadata.HiveMetastoreVersion.Builder clearVersion()The semantic version of the Hive Metastore software.
string version = 1;
| Returns | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public LocationMetadata.HiveMetastoreVersion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIsDefault()
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. |
getVersion()
public String getVersion()The semantic version of the Hive Metastore software.
string version = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()The semantic version of the Hive Metastore software.
string version = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LocationMetadata.HiveMetastoreVersion other)
public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(LocationMetadata.HiveMetastoreVersion other)| Parameter | |
|---|---|
| Name | Description |
other |
LocationMetadata.HiveMetastoreVersion |
| Returns | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion.Builder |
|
setIsDefault(boolean value)
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 |
booleanThe isDefault to set. |
| Returns | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion.Builder |
This builder for chaining. |
setVersion(String value)
public LocationMetadata.HiveMetastoreVersion.Builder setVersion(String value)The semantic version of the Hive Metastore software.
string version = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public LocationMetadata.HiveMetastoreVersion.Builder setVersionBytes(ByteString value)The semantic version of the Hive Metastore software.
string version = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
LocationMetadata.HiveMetastoreVersion.Builder |
This builder for chaining. |