Class LineageOutput.ProgressReport.WorkSummary.Builder (0.102.0)

public static final class LineageOutput.ProgressReport.WorkSummary.Builder extends GeneratedMessage.Builder<LineageOutput.ProgressReport.WorkSummary.Builder> implements LineageOutput.ProgressReport.WorkSummaryOrBuilder

Summary of work in the given state.

Protobuf type google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.WorkSummary

Static Methods

getDescriptor()

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

Methods

build()

public LineageOutput.ProgressReport.WorkSummary build()
Returns
Type Description
LineageOutput.ProgressReport.WorkSummary

buildPartial()

public LineageOutput.ProgressReport.WorkSummary buildPartial()
Returns
Type Description
LineageOutput.ProgressReport.WorkSummary

clear()

public LineageOutput.ProgressReport.WorkSummary.Builder clear()
Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.Builder
Overrides

clearComment()

public LineageOutput.ProgressReport.WorkSummary.Builder clearComment()

Output only. Human-readable comment.

string comment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.Builder

This builder for chaining.

clearSize()

public LineageOutput.ProgressReport.WorkSummary.Builder clearSize()

Output only. Size of the work in the given State.

Size counts "units of work". Units represent arbitrary division of work; there's no expectation each unit takes similar time to process.

int64 size = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.Builder

This builder for chaining.

clearState()

public LineageOutput.ProgressReport.WorkSummary.Builder clearState()

Output only. The state of the work this summary describes.

.google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.WorkSummary.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.Builder

This builder for chaining.

getComment()

public String getComment()

Output only. Human-readable comment.

string comment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The comment.

getCommentBytes()

public ByteString getCommentBytes()

Output only. Human-readable comment.

string comment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for comment.

getDefaultInstanceForType()

public LineageOutput.ProgressReport.WorkSummary getDefaultInstanceForType()
Returns
Type Description
LineageOutput.ProgressReport.WorkSummary

getDescriptorForType()

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

getSize()

public long getSize()

Output only. Size of the work in the given State.

Size counts "units of work". Units represent arbitrary division of work; there's no expectation each unit takes similar time to process.

int64 size = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The size.

getState()

public LineageOutput.ProgressReport.WorkSummary.State getState()

Output only. The state of the work this summary describes.

.google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.WorkSummary.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the work this summary describes.

.google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.WorkSummary.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LineageOutput.ProgressReport.WorkSummary other)

public LineageOutput.ProgressReport.WorkSummary.Builder mergeFrom(LineageOutput.ProgressReport.WorkSummary other)
Parameter
Name Description
other LineageOutput.ProgressReport.WorkSummary
Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LineageOutput.ProgressReport.WorkSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LineageOutput.ProgressReport.WorkSummary.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.Builder
Overrides

setComment(String value)

public LineageOutput.ProgressReport.WorkSummary.Builder setComment(String value)

Output only. Human-readable comment.

string comment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The comment to set.

Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.Builder

This builder for chaining.

setCommentBytes(ByteString value)

public LineageOutput.ProgressReport.WorkSummary.Builder setCommentBytes(ByteString value)

Output only. Human-readable comment.

string comment = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for comment to set.

Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.Builder

This builder for chaining.

setSize(long value)

public LineageOutput.ProgressReport.WorkSummary.Builder setSize(long value)

Output only. Size of the work in the given State.

Size counts "units of work". Units represent arbitrary division of work; there's no expectation each unit takes similar time to process.

int64 size = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The size to set.

Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.Builder

This builder for chaining.

setState(LineageOutput.ProgressReport.WorkSummary.State value)

public LineageOutput.ProgressReport.WorkSummary.Builder setState(LineageOutput.ProgressReport.WorkSummary.State value)

Output only. The state of the work this summary describes.

.google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.WorkSummary.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value LineageOutput.ProgressReport.WorkSummary.State

The state to set.

Returns
Type Description
LineageOutput.ProgressReport.WorkSummary.Builder

This builder for chaining.

setStateValue(int value)

public LineageOutput.ProgressReport.WorkSummary.Builder setStateValue(int value)

Output only. The state of the work this summary describes.

.google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.WorkSummary.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
LineageOutput.ProgressReport.WorkSummary.Builder

This builder for chaining.