Class 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.GeneratedMessageV3.Builder<ExecutionReport.Builder>
    implements ExecutionReportOrBuilder
     A resource that reports result of the import job execution.
     
    Protobuf type google.cloud.migrationcenter.v1.ExecutionReport
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public ExecutionReport.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionReport.Builder>
      • setField

        public ExecutionReport.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionReport.Builder>
      • clearField

        public ExecutionReport.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionReport.Builder>
      • clearOneof

        public ExecutionReport.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionReport.Builder>
      • setRepeatedField

        public ExecutionReport.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        int index,
                                                        Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionReport.Builder>
      • addRepeatedField

        public ExecutionReport.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionReport.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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;
      • getTotalRowsCount

        public int getTotalRowsCount()
         Total number of rows in the import job.
         
        int32 total_rows_count = 3;
        Specified by:
        getTotalRowsCount in interface ExecutionReportOrBuilder
        Returns:
        The totalRowsCount.
      • setTotalRowsCount

        public ExecutionReport.Builder setTotalRowsCount​(int value)
         Total number of rows in the import job.
         
        int32 total_rows_count = 3;
        Parameters:
        value - The totalRowsCount to set.
        Returns:
        This builder for chaining.
      • clearTotalRowsCount

        public ExecutionReport.Builder clearTotalRowsCount()
         Total number of rows in the import job.
         
        int32 total_rows_count = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ExecutionReport.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionReport.Builder>
      • mergeUnknownFields

        public final ExecutionReport.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExecutionReport.Builder>