Class CreateHiveCatalogRequest (0.76.0)

public final class CreateHiveCatalogRequest extends GeneratedMessage implements CreateHiveCatalogRequestOrBuilder

Request message for the CreateHiveCatalog method.

Protobuf type google.cloud.biglake.hive.v1beta.CreateHiveCatalogRequest

Static Fields

HIVE_CATALOG_FIELD_NUMBER

public static final int HIVE_CATALOG_FIELD_NUMBER
Field Value
Type Description
int

HIVE_CATALOG_ID_FIELD_NUMBER

public static final int HIVE_CATALOG_ID_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

PRIMARY_LOCATION_FIELD_NUMBER

public static final int PRIMARY_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateHiveCatalogRequest getDefaultInstance()
Returns
Type Description
CreateHiveCatalogRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateHiveCatalogRequest.Builder newBuilder()
Returns
Type Description
CreateHiveCatalogRequest.Builder

newBuilder(CreateHiveCatalogRequest prototype)

public static CreateHiveCatalogRequest.Builder newBuilder(CreateHiveCatalogRequest prototype)
Parameter
Name Description
prototype CreateHiveCatalogRequest
Returns
Type Description
CreateHiveCatalogRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateHiveCatalogRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateHiveCatalogRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateHiveCatalogRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateHiveCatalogRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateHiveCatalogRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateHiveCatalogRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateHiveCatalogRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateHiveCatalogRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateHiveCatalogRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateHiveCatalogRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateHiveCatalogRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateHiveCatalogRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateHiveCatalogRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateHiveCatalogRequest> parser()
Returns
Type Description
Parser<CreateHiveCatalogRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreateHiveCatalogRequest getDefaultInstanceForType()
Returns
Type Description
CreateHiveCatalogRequest

getHiveCatalog()

public HiveCatalog getHiveCatalog()

Required. The catalog to create. The name field does not need to be provided. Gets copied over from catalog_id.

.google.cloud.biglake.hive.v1beta.HiveCatalog hive_catalog = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HiveCatalog

The hiveCatalog.

getHiveCatalogId()

public String getHiveCatalogId()

Required. The Hive Catalog ID to use for the catalog that will become the final component of the catalog's resource name. The maximum length is 256 characters.

string hive_catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The hiveCatalogId.

getHiveCatalogIdBytes()

public ByteString getHiveCatalogIdBytes()

Required. The Hive Catalog ID to use for the catalog that will become the final component of the catalog's resource name. The maximum length is 256 characters.

string hive_catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for hiveCatalogId.

getHiveCatalogOrBuilder()

public HiveCatalogOrBuilder getHiveCatalogOrBuilder()

Required. The catalog to create. The name field does not need to be provided. Gets copied over from catalog_id.

.google.cloud.biglake.hive.v1beta.HiveCatalog hive_catalog = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HiveCatalogOrBuilder

getParent()

public String getParent()

Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}

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

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateHiveCatalogRequest> getParserForType()
Returns
Type Description
Parser<CreateHiveCatalogRequest>
Overrides

getPrimaryLocation()

public String getPrimaryLocation()

Required. The GCP region that specifies where the catalog metadata is stored, e.g. us-central1, EU, etc.

string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The primaryLocation.

getPrimaryLocationBytes()

public ByteString getPrimaryLocationBytes()

Required. The GCP region that specifies where the catalog metadata is stored, e.g. us-central1, EU, etc.

string primary_location = 4 [json_name = "primary_location", (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for primaryLocation.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasHiveCatalog()

public boolean hasHiveCatalog()

Required. The catalog to create. The name field does not need to be provided. Gets copied over from catalog_id.

.google.cloud.biglake.hive.v1beta.HiveCatalog hive_catalog = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the hiveCatalog field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateHiveCatalogRequest.Builder newBuilderForType()
Returns
Type Description
CreateHiveCatalogRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CreateHiveCatalogRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateHiveCatalogRequest.Builder
Overrides

toBuilder()

public CreateHiveCatalogRequest.Builder toBuilder()
Returns
Type Description
CreateHiveCatalogRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException