Class MetadataExport (2.31.0)

public final class MetadataExport extends GeneratedMessageV3 implements MetadataExportOrBuilder

The details of a metadata export operation.

Protobuf type google.cloud.metastore.v1alpha.MetadataExport

Static Fields

DATABASE_DUMP_TYPE_FIELD_NUMBER

public static final int DATABASE_DUMP_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

DESTINATION_GCS_URI_FIELD_NUMBER

public static final int DESTINATION_GCS_URI_FIELD_NUMBER
Field Value
TypeDescription
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MetadataExport getDefaultInstance()
Returns
TypeDescription
MetadataExport

getDescriptor()

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

newBuilder()

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

newBuilder(MetadataExport prototype)

public static MetadataExport.Builder newBuilder(MetadataExport prototype)
Parameter
NameDescription
prototypeMetadataExport
Returns
TypeDescription
MetadataExport.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDatabaseDumpType()

public DatabaseDumpSpec.Type getDatabaseDumpType()

Output only. The type of the database dump.

.google.cloud.metastore.v1alpha.DatabaseDumpSpec.Type database_dump_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DatabaseDumpSpec.Type

The databaseDumpType.

getDatabaseDumpTypeValue()

public int getDatabaseDumpTypeValue()

Output only. The type of the database dump.

.google.cloud.metastore.v1alpha.DatabaseDumpSpec.Type database_dump_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for databaseDumpType.

getDefaultInstanceForType()

public MetadataExport getDefaultInstanceForType()
Returns
TypeDescription
MetadataExport

getDestinationCase()

public MetadataExport.DestinationCase getDestinationCase()
Returns
TypeDescription
MetadataExport.DestinationCase

getDestinationGcsUri()

public String getDestinationGcsUri()

Output only. A Cloud Storage URI of a folder that metadata are exported to, in the form of gs://<bucket_name>/<path_inside_bucket>/<export_folder>, where <export_folder> is automatically generated.

string destination_gcs_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The destinationGcsUri.

getDestinationGcsUriBytes()

public ByteString getDestinationGcsUriBytes()

Output only. A Cloud Storage URI of a folder that metadata are exported to, in the form of gs://<bucket_name>/<path_inside_bucket>/<export_folder>, where <export_folder> is automatically generated.

string destination_gcs_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for destinationGcsUri.

getEndTime()

public Timestamp getEndTime()

Output only. The time when the export ended.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time when the export ended.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. The time when the export started.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time when the export started.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getState()

public MetadataExport.State getState()

Output only. The current state of the export.

.google.cloud.metastore.v1alpha.MetadataExport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
MetadataExport.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the export.

.google.cloud.metastore.v1alpha.MetadataExport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasDestinationGcsUri()

public boolean hasDestinationGcsUri()

Output only. A Cloud Storage URI of a folder that metadata are exported to, in the form of gs://<bucket_name>/<path_inside_bucket>/<export_folder>, where <export_folder> is automatically generated.

string destination_gcs_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the destinationGcsUri field is set.

hasEndTime()

public boolean hasEndTime()

Output only. The time when the export ended.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. The time when the export started.

.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the startTime field is set.

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 MetadataExport.Builder newBuilderForType()
Returns
TypeDescription
MetadataExport.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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