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.v1alpha.LocationMetadata.HiveMetastoreVersion
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public LocationMetadata.HiveMetastoreVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public LocationMetadata.HiveMetastoreVersion build()
public LocationMetadata.HiveMetastoreVersion buildPartial()
public LocationMetadata.HiveMetastoreVersion.Builder clear()
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder clearField(Descriptors.FieldDescriptor field)
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;
public LocationMetadata.HiveMetastoreVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder clearVersion()
The semantic version of the Hive Metastore software.
string version = 1;
public LocationMetadata.HiveMetastoreVersion.Builder clone()
Overrides
public LocationMetadata.HiveMetastoreVersion getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for version.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(LocationMetadata.HiveMetastoreVersion other)
public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final LocationMetadata.HiveMetastoreVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public LocationMetadata.HiveMetastoreVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
public LocationMetadata.HiveMetastoreVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final LocationMetadata.HiveMetastoreVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|