Class ErrorFrame (0.2.0)

public final class ErrorFrame extends GeneratedMessageV3 implements ErrorFrameOrBuilder

Message representing a frame which failed to be processed due to an error.

Protobuf type google.cloud.migrationcenter.v1.ErrorFrame

Implements

ErrorFrameOrBuilder

Static Fields

INGESTION_TIME_FIELD_NUMBER

public static final int INGESTION_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ORIGINAL_FRAME_FIELD_NUMBER

public static final int ORIGINAL_FRAME_FIELD_NUMBER
Field Value
TypeDescription
int

VIOLATIONS_FIELD_NUMBER

public static final int VIOLATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ErrorFrame getDefaultInstance()
Returns
TypeDescription
ErrorFrame

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ErrorFrame.Builder newBuilder()
Returns
TypeDescription
ErrorFrame.Builder

newBuilder(ErrorFrame prototype)

public static ErrorFrame.Builder newBuilder(ErrorFrame prototype)
Parameter
NameDescription
prototypeErrorFrame
Returns
TypeDescription
ErrorFrame.Builder

parseDelimitedFrom(InputStream input)

public static ErrorFrame parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ErrorFrame parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ErrorFrame parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ErrorFrame parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ErrorFrame parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ErrorFrame parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ErrorFrame> parser()
Returns
TypeDescription
Parser<ErrorFrame>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ErrorFrame getDefaultInstanceForType()
Returns
TypeDescription
ErrorFrame

getIngestionTime()

public Timestamp getIngestionTime()

Output only. Frame ingestion time.

.google.protobuf.Timestamp ingestion_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The ingestionTime.

getIngestionTimeOrBuilder()

public TimestampOrBuilder getIngestionTimeOrBuilder()

Output only. Frame ingestion time.

.google.protobuf.Timestamp ingestion_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getName()

public String getName()

Output only. The identifier of the ErrorFrame.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The identifier of the ErrorFrame.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

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];

Returns
TypeDescription
AssetFrame

The originalFrame.

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];

Returns
TypeDescription
AssetFrameOrBuilder

getParserForType()

public Parser<ErrorFrame> getParserForType()
Returns
TypeDescription
Parser<ErrorFrame>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getViolations(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
FrameViolationEntry

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];

Returns
TypeDescription
int

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];

Returns
TypeDescription
List<FrameViolationEntry>

getViolationsOrBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
FrameViolationEntryOrBuilder

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];

Returns
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.FrameViolationEntryOrBuilder>

hasIngestionTime()

public boolean hasIngestionTime()

Output only. Frame ingestion time.

.google.protobuf.Timestamp ingestion_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the ingestionTime field is set.

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];

Returns
TypeDescription
boolean

Whether the originalFrame field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ErrorFrame.Builder newBuilderForType()
Returns
TypeDescription
ErrorFrame.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ErrorFrame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ErrorFrame.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ErrorFrame.Builder toBuilder()
Returns
TypeDescription
ErrorFrame.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException