Class MetastoreConfig (4.27.0)

public final class MetastoreConfig extends GeneratedMessageV3 implements MetastoreConfigOrBuilder

Specifies a Metastore configuration.

Protobuf type google.cloud.dataproc.v1.MetastoreConfig

Static Fields

DATAPROC_METASTORE_SERVICE_FIELD_NUMBER

public static final int DATAPROC_METASTORE_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MetastoreConfig getDefaultInstance()
Returns
TypeDescription
MetastoreConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MetastoreConfig.Builder newBuilder()
Returns
TypeDescription
MetastoreConfig.Builder

newBuilder(MetastoreConfig prototype)

public static MetastoreConfig.Builder newBuilder(MetastoreConfig prototype)
Parameter
NameDescription
prototypeMetastoreConfig
Returns
TypeDescription
MetastoreConfig.Builder

parseDelimitedFrom(InputStream input)

public static MetastoreConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetastoreConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MetastoreConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MetastoreConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MetastoreConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MetastoreConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MetastoreConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MetastoreConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MetastoreConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MetastoreConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MetastoreConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MetastoreConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MetastoreConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MetastoreConfig> parser()
Returns
TypeDescription
Parser<MetastoreConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDataprocMetastoreService()

public String getDataprocMetastoreService()

Required. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[dataproc_region]/services/[service-name]

string dataproc_metastore_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The dataprocMetastoreService.

getDataprocMetastoreServiceBytes()

public ByteString getDataprocMetastoreServiceBytes()

Required. Resource name of an existing Dataproc Metastore service.

Example:

  • projects/[project_id]/locations/[dataproc_region]/services/[service-name]

string dataproc_metastore_service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for dataprocMetastoreService.

getDefaultInstanceForType()

public MetastoreConfig getDefaultInstanceForType()
Returns
TypeDescription
MetastoreConfig

getParserForType()

public Parser<MetastoreConfig> getParserForType()
Returns
TypeDescription
Parser<MetastoreConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MetastoreConfig.Builder newBuilderForType()
Returns
TypeDescription
MetastoreConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MetastoreConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MetastoreConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MetastoreConfig.Builder toBuilder()
Returns
TypeDescription
MetastoreConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException