Class ErrorFrame (0.37.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
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

ORIGINAL_FRAME_FIELD_NUMBER

public static final int ORIGINAL_FRAME_FIELD_NUMBER
Field Value
Type Description
int

VIOLATIONS_FIELD_NUMBER

public static final int VIOLATIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ErrorFrame getDefaultInstance()
Returns
Type Description
ErrorFrame

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ErrorFrame.Builder newBuilder()
Returns
Type Description
ErrorFrame.Builder

newBuilder(ErrorFrame prototype)

public static ErrorFrame.Builder newBuilder(ErrorFrame prototype)
Parameter
Name Description
prototype ErrorFrame
Returns
Type Description
ErrorFrame.Builder

parseDelimitedFrom(InputStream input)

public static ErrorFrame parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ErrorFrame
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorFrame
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ErrorFrame parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ErrorFrame
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorFrame
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ErrorFrame parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ErrorFrame
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorFrame
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ErrorFrame parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ErrorFrame
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorFrame
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ErrorFrame parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ErrorFrame
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorFrame
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ErrorFrame parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ErrorFrame
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ErrorFrame parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorFrame
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ErrorFrame> parser()
Returns
Type Description
Parser<ErrorFrame>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ErrorFrame getDefaultInstanceForType()
Returns
Type Description
ErrorFrame

getIngestionTime()

public Timestamp getIngestionTime()

Output only. Frame ingestion time.

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

Returns
Type Description
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
Type Description
TimestampOrBuilder

getName()

public String getName()

Output only. The identifier of the ErrorFrame.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The identifier of the ErrorFrame.

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

Returns
Type Description
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
Type Description
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
Type Description
AssetFrameOrBuilder

getParserForType()

public Parser<ErrorFrame> getParserForType()
Returns
Type Description
Parser<ErrorFrame>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the originalFrame field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ErrorFrame.Builder newBuilderForType()
Returns
Type Description
ErrorFrame.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ErrorFrame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ErrorFrame.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ErrorFrame.Builder toBuilder()
Returns
Type Description
ErrorFrame.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException