Class MetadataExport (0.15.0)

public final class MetadataExport extends GeneratedMessageV3 implements MetadataExportOrBuilder

The details of a metadata export operation.

Protobuf type google.events.cloud.metastore.v1.MetadataExport

Static Fields

DATABASE_DUMP_TYPE_FIELD_NUMBER

public static final int DATABASE_DUMP_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_GCS_URI_FIELD_NUMBER

public static final int DESTINATION_GCS_URI_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MetadataExport getDefaultInstance()
Returns
Type Description
MetadataExport

getDescriptor()

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

newBuilder()

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

newBuilder(MetadataExport prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDatabaseDumpType()

public DatabaseDumpSpec.Type getDatabaseDumpType()

Output only. The type of the database dump.

.google.events.cloud.metastore.v1.DatabaseDumpSpec.Type database_dump_type = 5;

Returns
Type Description
DatabaseDumpSpec.Type

The databaseDumpType.

getDatabaseDumpTypeValue()

public int getDatabaseDumpTypeValue()

Output only. The type of the database dump.

.google.events.cloud.metastore.v1.DatabaseDumpSpec.Type database_dump_type = 5;

Returns
Type Description
int

The enum numeric value on the wire for databaseDumpType.

getDefaultInstanceForType()

public MetadataExport getDefaultInstanceForType()
Returns
Type Description
MetadataExport

getDestinationCase()

public MetadataExport.DestinationCase getDestinationCase()
Returns
Type Description
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;

Returns
Type Description
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;

Returns
Type Description
ByteString

The bytes for destinationGcsUri.

getEndTime()

public Timestamp getEndTime()

Output only. The time when the export ended.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time when the export ended.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. The time when the export started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time when the export started.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getState()

public MetadataExport.State getState()

Output only. The current state of the export.

.google.events.cloud.metastore.v1.MetadataExport.State state = 3;

Returns
Type Description
MetadataExport.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the export.

.google.events.cloud.metastore.v1.MetadataExport.State state = 3;

Returns
Type Description
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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;

Returns
Type Description
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;

Returns
Type Description
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;

Returns
Type Description
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MetadataExport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MetadataExport.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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