Class ErrorFrame.Builder

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

public static final class ErrorFrame.Builder extends com.google.protobuf.GeneratedMessage.Builder<ErrorFrame.Builder> implements ErrorFrameOrBuilder
 Message representing a frame which failed to be processed due to an error.
 
Protobuf type google.cloud.migrationcenter.v1.ErrorFrame
  • 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<ErrorFrame.Builder>
    • clear

      public ErrorFrame.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<ErrorFrame.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<ErrorFrame.Builder>
    • getDefaultInstanceForType

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

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

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

      public ErrorFrame.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<ErrorFrame.Builder>
    • mergeFrom

      public ErrorFrame.Builder mergeFrom(ErrorFrame other)
    • isInitialized

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

      public ErrorFrame.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<ErrorFrame.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. The identifier of the ErrorFrame.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface ErrorFrameOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The identifier of the ErrorFrame.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface ErrorFrameOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ErrorFrame.Builder setName(String value)
       Output only. The identifier of the ErrorFrame.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ErrorFrame.Builder clearName()
       Output only. The identifier of the ErrorFrame.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ErrorFrame.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The identifier of the ErrorFrame.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getViolationsList

      public List<FrameViolationEntry> getViolationsList()
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getViolationsList in interface ErrorFrameOrBuilder
    • getViolationsCount

      public int getViolationsCount()
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getViolationsCount in interface ErrorFrameOrBuilder
    • getViolations

      public FrameViolationEntry getViolations(int index)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getViolations in interface ErrorFrameOrBuilder
    • setViolations

      public ErrorFrame.Builder setViolations(int index, FrameViolationEntry value)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setViolations

      public ErrorFrame.Builder setViolations(int index, FrameViolationEntry.Builder builderForValue)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addViolations

      public ErrorFrame.Builder addViolations(FrameViolationEntry value)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addViolations

      public ErrorFrame.Builder addViolations(int index, FrameViolationEntry value)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addViolations

      public ErrorFrame.Builder addViolations(FrameViolationEntry.Builder builderForValue)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addViolations

      public ErrorFrame.Builder addViolations(int index, FrameViolationEntry.Builder builderForValue)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllViolations

      public ErrorFrame.Builder addAllViolations(Iterable<? extends FrameViolationEntry> values)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearViolations

      public ErrorFrame.Builder clearViolations()
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeViolations

      public ErrorFrame.Builder removeViolations(int index)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getViolationsBuilder

      public FrameViolationEntry.Builder getViolationsBuilder(int index)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getViolationsOrBuilder

      public FrameViolationEntryOrBuilder getViolationsOrBuilder(int index)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getViolationsOrBuilder in interface ErrorFrameOrBuilder
    • getViolationsOrBuilderList

      public List<? extends FrameViolationEntryOrBuilder> getViolationsOrBuilderList()
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getViolationsOrBuilderList in interface ErrorFrameOrBuilder
    • addViolationsBuilder

      public FrameViolationEntry.Builder addViolationsBuilder()
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addViolationsBuilder

      public FrameViolationEntry.Builder addViolationsBuilder(int index)
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getViolationsBuilderList

      public List<FrameViolationEntry.Builder> getViolationsBuilderList()
       Output only. All the violations that were detected for the frame.
       
      repeated .google.cloud.migrationcenter.v1.FrameViolationEntry violations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasOriginalFrame

      public boolean hasOriginalFrame()
       Output only. The frame that was originally reported.
       
      .google.cloud.migrationcenter.v1.AssetFrame original_frame = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasOriginalFrame in interface ErrorFrameOrBuilder
      Returns:
      Whether the originalFrame field is set.
    • getOriginalFrame

      public AssetFrame getOriginalFrame()
       Output only. The frame that was originally reported.
       
      .google.cloud.migrationcenter.v1.AssetFrame original_frame = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOriginalFrame in interface ErrorFrameOrBuilder
      Returns:
      The originalFrame.
    • setOriginalFrame

      public ErrorFrame.Builder setOriginalFrame(AssetFrame value)
       Output only. The frame that was originally reported.
       
      .google.cloud.migrationcenter.v1.AssetFrame original_frame = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setOriginalFrame

      public ErrorFrame.Builder setOriginalFrame(AssetFrame.Builder builderForValue)
       Output only. The frame that was originally reported.
       
      .google.cloud.migrationcenter.v1.AssetFrame original_frame = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeOriginalFrame

      public ErrorFrame.Builder mergeOriginalFrame(AssetFrame value)
       Output only. The frame that was originally reported.
       
      .google.cloud.migrationcenter.v1.AssetFrame original_frame = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearOriginalFrame

      public ErrorFrame.Builder clearOriginalFrame()
       Output only. The frame that was originally reported.
       
      .google.cloud.migrationcenter.v1.AssetFrame original_frame = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getOriginalFrameBuilder

      public AssetFrame.Builder getOriginalFrameBuilder()
       Output only. The frame that was originally reported.
       
      .google.cloud.migrationcenter.v1.AssetFrame original_frame = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getOriginalFrameOrBuilder

      public AssetFrameOrBuilder getOriginalFrameOrBuilder()
       Output only. The frame that was originally reported.
       
      .google.cloud.migrationcenter.v1.AssetFrame original_frame = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOriginalFrameOrBuilder in interface ErrorFrameOrBuilder
    • hasIngestionTime

      public boolean hasIngestionTime()
       Output only. Frame ingestion time.
       
      .google.protobuf.Timestamp ingestion_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasIngestionTime in interface ErrorFrameOrBuilder
      Returns:
      Whether the ingestionTime field is set.
    • getIngestionTime

      public com.google.protobuf.Timestamp getIngestionTime()
       Output only. Frame ingestion time.
       
      .google.protobuf.Timestamp ingestion_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIngestionTime in interface ErrorFrameOrBuilder
      Returns:
      The ingestionTime.
    • setIngestionTime

      public ErrorFrame.Builder setIngestionTime(com.google.protobuf.Timestamp value)
       Output only. Frame ingestion time.
       
      .google.protobuf.Timestamp ingestion_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setIngestionTime

      public ErrorFrame.Builder setIngestionTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Frame ingestion time.
       
      .google.protobuf.Timestamp ingestion_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeIngestionTime

      public ErrorFrame.Builder mergeIngestionTime(com.google.protobuf.Timestamp value)
       Output only. Frame ingestion time.
       
      .google.protobuf.Timestamp ingestion_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearIngestionTime

      public ErrorFrame.Builder clearIngestionTime()
       Output only. Frame ingestion time.
       
      .google.protobuf.Timestamp ingestion_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getIngestionTimeBuilder

      public com.google.protobuf.Timestamp.Builder getIngestionTimeBuilder()
       Output only. Frame ingestion time.
       
      .google.protobuf.Timestamp ingestion_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getIngestionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getIngestionTimeOrBuilder()
       Output only. Frame ingestion time.
       
      .google.protobuf.Timestamp ingestion_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIngestionTimeOrBuilder in interface ErrorFrameOrBuilder