public final class MetadataJob extends GeneratedMessageV3 implements MetadataJobOrBuilder
A metadata job resource.
Protobuf type google.cloud.dataplex.v1.MetadataJob
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int IMPORT_RESULT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int IMPORT_SPEC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int UID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static MetadataJob getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MetadataJob.Builder newBuilder()
public static MetadataJob.Builder newBuilder(MetadataJob prototype)
public static MetadataJob parseDelimitedFrom(InputStream input)
public static MetadataJob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataJob parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static MetadataJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MetadataJob parseFrom(ByteString data)
public static MetadataJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MetadataJob parseFrom(CodedInputStream input)
public static MetadataJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataJob parseFrom(InputStream input)
public static MetadataJob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataJob parseFrom(ByteBuffer data)
public static MetadataJob parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MetadataJob> parser()
Methods
public boolean containsLabels(String key)
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Timestamp getCreateTime()
Output only. The time when the metadata job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the metadata job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetadataJob getDefaultInstanceForType()
public MetadataJob.ImportJobResult getImportResult()
Output only. Import job result.
.google.cloud.dataplex.v1.MetadataJob.ImportJobResult import_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetadataJob.ImportJobResultOrBuilder getImportResultOrBuilder()
Output only. Import job result.
.google.cloud.dataplex.v1.MetadataJob.ImportJobResult import_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetadataJob.ImportJobSpec getImportSpec()
Import job specification.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100;
public MetadataJob.ImportJobSpecOrBuilder getImportSpecOrBuilder()
Import job specification.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100;
public Map<String,String> getLabels()
public int getLabelsCount()
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
public Map<String,String> getLabelsMap()
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
public String getLabelsOrThrow(String key)
Optional. User-defined labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
Output only. Identifier. The name of the resource that the configuration is
applied to, in the format
projects/{project_number}/locations/{location_id}/metadataJobs/{metadata_job_id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Output only. Identifier. The name of the resource that the configuration is
applied to, in the format
projects/{project_number}/locations/{location_id}/metadataJobs/{metadata_job_id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public Parser<MetadataJob> getParserForType()
Overrides
public MetadataJob.ResultCase getResultCase()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public MetadataJob.SpecCase getSpecCase()
public MetadataJob.Status getStatus()
Output only. Metadata job status.
.google.cloud.dataplex.v1.MetadataJob.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetadataJob.StatusOrBuilder getStatusOrBuilder()
Output only. Metadata job status.
.google.cloud.dataplex.v1.MetadataJob.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetadataJob.Type getType()
Required. Metadata job type.
.google.cloud.dataplex.v1.MetadataJob.Type type = 6 [(.google.api.field_behavior) = REQUIRED];
public int getTypeValue()
Required. Metadata job type.
.google.cloud.dataplex.v1.MetadataJob.Type type = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for type.
|
Output only. A system-generated, globally unique ID for the metadata job.
If the metadata job is deleted and then re-created with the same name, this
ID is different.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
String |
The uid.
|
public ByteString getUidBytes()
Output only. A system-generated, globally unique ID for the metadata job.
If the metadata job is deleted and then re-created with the same name, this
ID is different.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for uid.
|
public Timestamp getUpdateTime()
Output only. The time when the metadata job was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the metadata job was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime()
Output only. The time when the metadata job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
public boolean hasImportResult()
Output only. Import job result.
.google.cloud.dataplex.v1.MetadataJob.ImportJobResult import_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the importResult field is set.
|
public boolean hasImportSpec()
Import job specification.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec import_spec = 100;
Returns |
Type |
Description |
boolean |
Whether the importSpec field is set.
|
public boolean hasStatus()
Output only. Metadata job status.
.google.cloud.dataplex.v1.MetadataJob.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the status field is set.
|
public boolean hasUpdateTime()
Output only. The time when the metadata job was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public MetadataJob.Builder newBuilderForType()
protected MetadataJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public MetadataJob.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides