Class ErrorFrame.Builder (0.36.0)

public static final class ErrorFrame.Builder extends GeneratedMessageV3.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

Implements

ErrorFrameOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllViolations(Iterable<? extends FrameViolationEntry> values)

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.FrameViolationEntry>
Returns
Type Description
ErrorFrame.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ErrorFrame.Builder
Overrides

addViolations(FrameViolationEntry value)

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

Parameter
Name Description
value FrameViolationEntry
Returns
Type Description
ErrorFrame.Builder

addViolations(FrameViolationEntry.Builder builderForValue)

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

Parameter
Name Description
builderForValue FrameViolationEntry.Builder
Returns
Type Description
ErrorFrame.Builder

addViolations(int index, FrameViolationEntry value)

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

Parameters
Name Description
index int
value FrameViolationEntry
Returns
Type Description
ErrorFrame.Builder

addViolations(int index, FrameViolationEntry.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue FrameViolationEntry.Builder
Returns
Type Description
ErrorFrame.Builder

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

Returns
Type Description
FrameViolationEntry.Builder

addViolationsBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
FrameViolationEntry.Builder

build()

public ErrorFrame build()
Returns
Type Description
ErrorFrame

buildPartial()

public ErrorFrame buildPartial()
Returns
Type Description
ErrorFrame

clear()

public ErrorFrame.Builder clear()
Returns
Type Description
ErrorFrame.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ErrorFrame.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ErrorFrame.Builder
Overrides

clearIngestionTime()

public ErrorFrame.Builder clearIngestionTime()

Output only. Frame ingestion time.

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

Returns
Type Description
ErrorFrame.Builder

clearName()

public ErrorFrame.Builder clearName()

Output only. The identifier of the ErrorFrame.

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

Returns
Type Description
ErrorFrame.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ErrorFrame.Builder
Overrides

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

Returns
Type Description
ErrorFrame.Builder

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

Returns
Type Description
ErrorFrame.Builder

clone()

public ErrorFrame.Builder clone()
Returns
Type Description
ErrorFrame.Builder
Overrides

getDefaultInstanceForType()

public ErrorFrame getDefaultInstanceForType()
Returns
Type Description
ErrorFrame

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getIngestionTimeBuilder()

public Timestamp.Builder getIngestionTimeBuilder()

Output only. Frame ingestion time.

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

Returns
Type Description
Builder

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.

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

Returns
Type Description
AssetFrame.Builder

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

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

getViolationsBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
FrameViolationEntry.Builder

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

Returns
Type Description
List<Builder>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ErrorFrame other)

public ErrorFrame.Builder mergeFrom(ErrorFrame other)
Parameter
Name Description
other ErrorFrame
Returns
Type Description
ErrorFrame.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorFrame.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ErrorFrame.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ErrorFrame.Builder
Overrides

mergeIngestionTime(Timestamp value)

public ErrorFrame.Builder mergeIngestionTime(Timestamp value)

Output only. Frame ingestion time.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ErrorFrame.Builder

mergeOriginalFrame(AssetFrame value)

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

Parameter
Name Description
value AssetFrame
Returns
Type Description
ErrorFrame.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ErrorFrame.Builder
Overrides

removeViolations(int index)

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

Parameter
Name Description
index int
Returns
Type Description
ErrorFrame.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ErrorFrame.Builder
Overrides

setIngestionTime(Timestamp value)

public ErrorFrame.Builder setIngestionTime(Timestamp value)

Output only. Frame ingestion time.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ErrorFrame.Builder

setIngestionTime(Timestamp.Builder builderForValue)

public ErrorFrame.Builder setIngestionTime(Timestamp.Builder builderForValue)

Output only. Frame ingestion time.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ErrorFrame.Builder

setName(String value)

public ErrorFrame.Builder setName(String value)

Output only. The identifier of the ErrorFrame.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ErrorFrame.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ErrorFrame.Builder setNameBytes(ByteString value)

Output only. The identifier of the ErrorFrame.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ErrorFrame.Builder

This builder for chaining.

setOriginalFrame(AssetFrame value)

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

Parameter
Name Description
value AssetFrame
Returns
Type Description
ErrorFrame.Builder

setOriginalFrame(AssetFrame.Builder builderForValue)

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

Parameter
Name Description
builderForValue AssetFrame.Builder
Returns
Type Description
ErrorFrame.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ErrorFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ErrorFrame.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ErrorFrame.Builder
Overrides

setViolations(int index, FrameViolationEntry value)

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

Parameters
Name Description
index int
value FrameViolationEntry
Returns
Type Description
ErrorFrame.Builder

setViolations(int index, FrameViolationEntry.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue FrameViolationEntry.Builder
Returns
Type Description
ErrorFrame.Builder