Class ExecutionReport.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExecutionReport.Builder>
com.google.cloud.migrationcenter.v1.ExecutionReport.Builder
All Implemented Interfaces:
ExecutionReportOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExecutionReport

public static final class ExecutionReport.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExecutionReport.Builder> implements ExecutionReportOrBuilder
 A resource that reports result of the import job execution.
 
Protobuf type google.cloud.migrationcenter.v1.ExecutionReport
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ExecutionReport.Builder>
    • clear

      public ExecutionReport.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ExecutionReport.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ExecutionReport.Builder>
    • getDefaultInstanceForType

      public ExecutionReport getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ExecutionReport build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExecutionReport buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExecutionReport.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExecutionReport.Builder>
    • mergeFrom

      public ExecutionReport.Builder mergeFrom(ExecutionReport other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExecutionReport.Builder>
    • mergeFrom

      public ExecutionReport.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExecutionReport.Builder>
      Throws:
      IOException
    • getFramesReported

      public int getFramesReported()
       Total number of asset frames reported for the import job.
       
      int32 frames_reported = 1;
      Specified by:
      getFramesReported in interface ExecutionReportOrBuilder
      Returns:
      The framesReported.
    • setFramesReported

      public ExecutionReport.Builder setFramesReported(int value)
       Total number of asset frames reported for the import job.
       
      int32 frames_reported = 1;
      Parameters:
      value - The framesReported to set.
      Returns:
      This builder for chaining.
    • clearFramesReported

      public ExecutionReport.Builder clearFramesReported()
       Total number of asset frames reported for the import job.
       
      int32 frames_reported = 1;
      Returns:
      This builder for chaining.
    • hasExecutionErrors

      public boolean hasExecutionErrors()
       Validation errors encountered during the execution of the import job.
       
      .google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;
      Specified by:
      hasExecutionErrors in interface ExecutionReportOrBuilder
      Returns:
      Whether the executionErrors field is set.
    • getExecutionErrors

      public ValidationReport getExecutionErrors()
       Validation errors encountered during the execution of the import job.
       
      .google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;
      Specified by:
      getExecutionErrors in interface ExecutionReportOrBuilder
      Returns:
      The executionErrors.
    • setExecutionErrors

      public ExecutionReport.Builder setExecutionErrors(ValidationReport value)
       Validation errors encountered during the execution of the import job.
       
      .google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;
    • setExecutionErrors

      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;
    • mergeExecutionErrors

      public ExecutionReport.Builder mergeExecutionErrors(ValidationReport value)
       Validation errors encountered during the execution of the import job.
       
      .google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;
    • clearExecutionErrors

      public ExecutionReport.Builder clearExecutionErrors()
       Validation errors encountered during the execution of the import job.
       
      .google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;
    • getExecutionErrorsBuilder

      public ValidationReport.Builder getExecutionErrorsBuilder()
       Validation errors encountered during the execution of the import job.
       
      .google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;
    • getExecutionErrorsOrBuilder

      public ValidationReportOrBuilder getExecutionErrorsOrBuilder()
       Validation errors encountered during the execution of the import job.
       
      .google.cloud.migrationcenter.v1.ValidationReport execution_errors = 2;
      Specified by:
      getExecutionErrorsOrBuilder in interface ExecutionReportOrBuilder
    • 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];
      Specified by:
      getTotalRowsCount in interface ExecutionReportOrBuilder
      Returns:
      The totalRowsCount.
    • setTotalRowsCount

      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];
      Parameters:
      value - The totalRowsCount to set.
      Returns:
      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:
      This builder for chaining.