Class ExecutionReport.Builder (0.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExecutionReport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExecutionReport.Builder
Overrides

build()

public ExecutionReport build()
Returns
TypeDescription
ExecutionReport

buildPartial()

public ExecutionReport buildPartial()
Returns
TypeDescription
ExecutionReport

clear()

public ExecutionReport.Builder clear()
Returns
TypeDescription
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
TypeDescription
ExecutionReport.Builder

clearField(Descriptors.FieldDescriptor field)

public ExecutionReport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExecutionReport.Builder
Overrides

clearFramesReported()

public ExecutionReport.Builder clearFramesReported()

Total number of asset frames reported for the import job.

int32 frames_reported = 1;

Returns
TypeDescription
ExecutionReport.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExecutionReport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ExecutionReport.Builder

This builder for chaining.

clone()

public ExecutionReport.Builder clone()
Returns
TypeDescription
ExecutionReport.Builder
Overrides

getDefaultInstanceForType()

public ExecutionReport getDefaultInstanceForType()
Returns
TypeDescription
ExecutionReport

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ValidationReportOrBuilder

getFramesReported()

public int getFramesReported()

Total number of asset frames reported for the import job.

int32 frames_reported = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the executionErrors field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueValidationReport
Returns
TypeDescription
ExecutionReport.Builder

mergeFrom(ExecutionReport other)

public ExecutionReport.Builder mergeFrom(ExecutionReport other)
Parameter
NameDescription
otherExecutionReport
Returns
TypeDescription
ExecutionReport.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExecutionReport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExecutionReport.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExecutionReport.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExecutionReport.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueValidationReport
Returns
TypeDescription
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
NameDescription
builderForValueValidationReport.Builder
Returns
TypeDescription
ExecutionReport.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExecutionReport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The framesReported to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The totalRowsCount to set.

Returns
TypeDescription
ExecutionReport.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionReport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExecutionReport.Builder
Overrides