Class ErrorFrame.Builder (0.1.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.FrameViolationEntry>
Returns
TypeDescription
ErrorFrame.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFrameViolationEntry
Returns
TypeDescription
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
NameDescription
builderForValueFrameViolationEntry.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFrameViolationEntry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFrameViolationEntry.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
FrameViolationEntry.Builder

build()

public ErrorFrame build()
Returns
TypeDescription
ErrorFrame

buildPartial()

public ErrorFrame buildPartial()
Returns
TypeDescription
ErrorFrame

clear()

public ErrorFrame.Builder clear()
Returns
TypeDescription
ErrorFrame.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ErrorFrame.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ErrorFrame.Builder

clearName()

public ErrorFrame.Builder clearName()

Output only. The identifier of the ErrorFrame.

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

Returns
TypeDescription
ErrorFrame.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ErrorFrame.Builder

clone()

public ErrorFrame.Builder clone()
Returns
TypeDescription
ErrorFrame.Builder
Overrides

getDefaultInstanceForType()

public ErrorFrame getDefaultInstanceForType()
Returns
TypeDescription
ErrorFrame

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getIngestionTimeBuilder()

public Timestamp.Builder getIngestionTimeBuilder()

Output only. Frame ingestion time.

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

Returns
TypeDescription
Builder

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.

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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ErrorFrame other)

public ErrorFrame.Builder mergeFrom(ErrorFrame other)
Parameter
NameDescription
otherErrorFrame
Returns
TypeDescription
ErrorFrame.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorFrame.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ErrorFrame.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueAssetFrame
Returns
TypeDescription
ErrorFrame.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ErrorFrame.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueAssetFrame
Returns
TypeDescription
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
NameDescription
builderForValueAssetFrame.Builder
Returns
TypeDescription
ErrorFrame.Builder

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

public ErrorFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ErrorFrame.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueFrameViolationEntry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFrameViolationEntry.Builder
Returns
TypeDescription
ErrorFrame.Builder