public final class MetadataExport extends GeneratedMessageV3 implements MetadataExportOrBuilder
The details of a metadata export operation.
Protobuf type google.cloud.metastore.v1alpha.MetadataExport
Static Fields
public static final int DATABASE_DUMP_TYPE_FIELD_NUMBER
Field Value
public static final int DESTINATION_GCS_URI_FIELD_NUMBER
Field Value
public static final int END_TIME_FIELD_NUMBER
Field Value
public static final int START_TIME_FIELD_NUMBER
Field Value
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
public static MetadataExport getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static MetadataExport.Builder newBuilder()
Returns
public static MetadataExport.Builder newBuilder(MetadataExport prototype)
Parameter
Returns
public static MetadataExport parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MetadataExport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataExport parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static MetadataExport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataExport parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static MetadataExport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataExport parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MetadataExport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataExport parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MetadataExport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MetadataExport parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static MetadataExport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<MetadataExport> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
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
Type | Description |
int | The enum numeric value on the wire for databaseDumpType.
|
public MetadataExport getDefaultInstanceForType()
Returns
public MetadataExport.DestinationCase getDestinationCase()
Returns
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
Type | Description |
String | The destinationGcsUri.
|
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
Type | Description |
ByteString | The bytes for destinationGcsUri.
|
public Timestamp getEndTime()
Output only. The time when the export ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the export ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Parser<MetadataExport> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public Timestamp getStartTime()
Output only. The time when the export started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time when the export started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
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
Type | Description |
int | The enum numeric value on the wire for state.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Type | Description |
boolean | Whether the destinationGcsUri field is set.
|
public boolean hasEndTime()
Output only. The time when the export ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the endTime field is set.
|
public boolean hasStartTime()
Output only. The time when the export started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public MetadataExport.Builder newBuilderForType()
Returns
protected MetadataExport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public MetadataExport.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions