Class ExecutionReport.Builder (0.35.0)

public static final class ExecutionReport.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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