Class MetadataJob.Status.Builder (1.53.0)

public static final class MetadataJob.Status.Builder extends GeneratedMessageV3.Builder<MetadataJob.Status.Builder> implements MetadataJob.StatusOrBuilder

Metadata job status.

Protobuf type google.cloud.dataplex.v1.MetadataJob.Status

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MetadataJob.Status.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetadataJob.Status.Builder
Overrides

build()

public MetadataJob.Status build()
Returns
Type Description
MetadataJob.Status

buildPartial()

public MetadataJob.Status buildPartial()
Returns
Type Description
MetadataJob.Status

clear()

public MetadataJob.Status.Builder clear()
Returns
Type Description
MetadataJob.Status.Builder
Overrides

clearCompletionPercent()

public MetadataJob.Status.Builder clearCompletionPercent()

Output only. Progress tracking.

int32 completion_percent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataJob.Status.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MetadataJob.Status.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MetadataJob.Status.Builder
Overrides

clearMessage()

public MetadataJob.Status.Builder clearMessage()

Output only. Message relating to the progression of a metadata job.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataJob.Status.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MetadataJob.Status.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MetadataJob.Status.Builder
Overrides

clearState()

public MetadataJob.Status.Builder clearState()

Output only. State of the metadata job.

.google.cloud.dataplex.v1.MetadataJob.Status.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataJob.Status.Builder

This builder for chaining.

clearUpdateTime()

public MetadataJob.Status.Builder clearUpdateTime()

Output only. The time when the status was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataJob.Status.Builder

clone()

public MetadataJob.Status.Builder clone()
Returns
Type Description
MetadataJob.Status.Builder
Overrides

getCompletionPercent()

public int getCompletionPercent()

Output only. Progress tracking.

int32 completion_percent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The completionPercent.

getDefaultInstanceForType()

public MetadataJob.Status getDefaultInstanceForType()
Returns
Type Description
MetadataJob.Status

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMessage()

public String getMessage()

Output only. Message relating to the progression of a metadata job.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Output only. Message relating to the progression of a metadata job.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for message.

getState()

public MetadataJob.Status.State getState()

Output only. State of the metadata job.

.google.cloud.dataplex.v1.MetadataJob.Status.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MetadataJob.Status.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the metadata job.

.google.cloud.dataplex.v1.MetadataJob.Status.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time when the status was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time when the status was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the status was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time when the status was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MetadataJob.Status other)

public MetadataJob.Status.Builder mergeFrom(MetadataJob.Status other)
Parameter
Name Description
other MetadataJob.Status
Returns
Type Description
MetadataJob.Status.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MetadataJob.Status.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataJob.Status.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MetadataJob.Status.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MetadataJob.Status.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MetadataJob.Status.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MetadataJob.Status.Builder
Overrides

mergeUpdateTime(Timestamp value)

public MetadataJob.Status.Builder mergeUpdateTime(Timestamp value)

Output only. The time when the status was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MetadataJob.Status.Builder

setCompletionPercent(int value)

public MetadataJob.Status.Builder setCompletionPercent(int value)

Output only. Progress tracking.

int32 completion_percent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The completionPercent to set.

Returns
Type Description
MetadataJob.Status.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MetadataJob.Status.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetadataJob.Status.Builder
Overrides

setMessage(String value)

public MetadataJob.Status.Builder setMessage(String value)

Output only. Message relating to the progression of a metadata job.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The message to set.

Returns
Type Description
MetadataJob.Status.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public MetadataJob.Status.Builder setMessageBytes(ByteString value)

Output only. Message relating to the progression of a metadata job.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
MetadataJob.Status.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MetadataJob.Status.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MetadataJob.Status.Builder
Overrides

setState(MetadataJob.Status.State value)

public MetadataJob.Status.Builder setState(MetadataJob.Status.State value)

Output only. State of the metadata job.

.google.cloud.dataplex.v1.MetadataJob.Status.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value MetadataJob.Status.State

The state to set.

Returns
Type Description
MetadataJob.Status.Builder

This builder for chaining.

setStateValue(int value)

public MetadataJob.Status.Builder setStateValue(int value)

Output only. State of the metadata job.

.google.cloud.dataplex.v1.MetadataJob.Status.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
MetadataJob.Status.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final MetadataJob.Status.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MetadataJob.Status.Builder
Overrides

setUpdateTime(Timestamp value)

public MetadataJob.Status.Builder setUpdateTime(Timestamp value)

Output only. The time when the status was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
MetadataJob.Status.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public MetadataJob.Status.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time when the status was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MetadataJob.Status.Builder