public final class MetadataExport extends GeneratedMessageV3 implements MetadataExportOrBuilder
The details of a metadata export operation.
Protobuf type google.cloud.metastore.v1beta.MetadataExport
Static Fields
public static final int DATABASE_DUMP_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DESTINATION_GCS_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int END_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int START_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static MetadataExport getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MetadataExport.Builder newBuilder()
public static MetadataExport.Builder newBuilder(MetadataExport prototype)
public static MetadataExport parseDelimitedFrom(InputStream input)
public static MetadataExport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataExport parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static MetadataExport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MetadataExport parseFrom(ByteString data)
public static MetadataExport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MetadataExport parseFrom(CodedInputStream input)
public static MetadataExport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataExport parseFrom(InputStream input)
public static MetadataExport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataExport parseFrom(ByteBuffer data)
public static MetadataExport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MetadataExport> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public DatabaseDumpSpec.Type getDatabaseDumpType()
Output only. The type of the database dump.
.google.cloud.metastore.v1beta.DatabaseDumpSpec.Type database_dump_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getDatabaseDumpTypeValue()
Output only. The type of the database dump.
.google.cloud.metastore.v1beta.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()
public MetadataExport.DestinationCase getDestinationCase()
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];
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the export ended.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Parser<MetadataExport> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
Timestamp | The startTime.
|
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time when the export started.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetadataExport.State getState()
Output only. The current state of the export.
.google.cloud.metastore.v1beta.MetadataExport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getStateValue()
Output only. The current state of the export.
.google.cloud.metastore.v1beta.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()
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MetadataExport.Builder newBuilderForType()
protected MetadataExport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public MetadataExport.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides