Class ExecutionReport.Builder (0.65.0)

public static final class ExecutionReport.Builder extends GeneratedMessage.Builder<ExecutionReport.Builder> implements ExecutionReportOrBuilder

A resource that reports result of the import job execution.

Protobuf type google.cloud.migrationcenter.v1.ExecutionReport

Static Methods

getDescriptor()

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

Methods

build()

public ExecutionReport build()
Returns
Type Description
ExecutionReport

buildPartial()

public ExecutionReport buildPartial()
Returns
Type Description
ExecutionReport

clear()

public ExecutionReport.Builder clear()
Returns
Type Description
ExecutionReport.Builder
Overrides

clearExecutionErrors()

public ExecutionReport.Builder clearExecutionErrors()

Validation errors encountered during the execution of the import job.

.google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;

Returns
Type Description
ExecutionReport.Builder

clearFramesReported()

public ExecutionReport.Builder clearFramesReported()

Total number of asset frames reported for the import job.

int32 frames_reported = 1;

Returns
Type Description
ExecutionReport.Builder

This builder for chaining.

clearTotalRowsCount()

public ExecutionReport.Builder clearTotalRowsCount()

Output only. Total number of rows in the import job.

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

Returns
Type Description
ExecutionReport.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExecutionReport getDefaultInstanceForType()
Returns
Type Description
ExecutionReport

getDescriptorForType()

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

getExecutionErrors()

public ValidationReport getExecutionErrors()

Validation errors encountered during the execution of the import job.

.google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;

Returns
Type Description
ValidationReport

The executionErrors.

getExecutionErrorsBuilder()

public ValidationReport.Builder getExecutionErrorsBuilder()

Validation errors encountered during the execution of the import job.

.google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;

Returns
Type Description
ValidationReport.Builder

getExecutionErrorsOrBuilder()

public ValidationReportOrBuilder getExecutionErrorsOrBuilder()

Validation errors encountered during the execution of the import job.

.google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;

Returns
Type Description
ValidationReportOrBuilder

getFramesReported()

public int getFramesReported()

Total number of asset frames reported for the import job.

int32 frames_reported = 1;

Returns
Type Description
int

The framesReported.

getTotalRowsCount()

public int getTotalRowsCount()

Output only. Total number of rows in the import job.

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

Returns
Type Description
int

The totalRowsCount.

hasExecutionErrors()

public boolean hasExecutionErrors()

Validation errors encountered during the execution of the import job.

.google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;

Returns
Type Description
boolean

Whether the executionErrors field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExecutionErrors(ValidationReport value)

public ExecutionReport.Builder mergeExecutionErrors(ValidationReport value)

Validation errors encountered during the execution of the import job.

.google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;

Parameter
Name Description
value ValidationReport
Returns
Type Description
ExecutionReport.Builder

mergeFrom(ExecutionReport other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setExecutionErrors(ValidationReport value)

public ExecutionReport.Builder setExecutionErrors(ValidationReport value)

Validation errors encountered during the execution of the import job.

.google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;

Parameter
Name Description
value ValidationReport
Returns
Type Description
ExecutionReport.Builder

setExecutionErrors(ValidationReport.Builder builderForValue)

public ExecutionReport.Builder setExecutionErrors(ValidationReport.Builder builderForValue)

Validation errors encountered during the execution of the import job.

.google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;

Parameter
Name Description
builderForValue ValidationReport.Builder
Returns
Type Description
ExecutionReport.Builder

setFramesReported(int value)

public ExecutionReport.Builder setFramesReported(int value)

Total number of asset frames reported for the import job.

int32 frames_reported = 1;

Parameter
Name Description
value int

The framesReported to set.

Returns
Type Description
ExecutionReport.Builder

This builder for chaining.

setTotalRowsCount(int value)

public ExecutionReport.Builder setTotalRowsCount(int value)

Output only. Total number of rows in the import job.

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

Parameter
Name Description
value int

The totalRowsCount to set.

Returns
Type Description
ExecutionReport.Builder

This builder for chaining.