Class FrameViolationEntry.Builder (0.24.0)

public static final class FrameViolationEntry.Builder extends GeneratedMessageV3.Builder<FrameViolationEntry.Builder> implements FrameViolationEntryOrBuilder

A resource that contains a single violation of a reported AssetFrame resource.

Protobuf type google.cloud.migrationcenter.v1.FrameViolationEntry

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FrameViolationEntry build()
Returns
Type Description
FrameViolationEntry

buildPartial()

public FrameViolationEntry buildPartial()
Returns
Type Description
FrameViolationEntry

clear()

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

clearField()

public FrameViolationEntry.Builder clearField()

The field of the original frame where the violation occurred.

string field = 1;

Returns
Type Description
FrameViolationEntry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearViolation()

public FrameViolationEntry.Builder clearViolation()

A message describing the violation.

string violation = 2;

Returns
Type Description
FrameViolationEntry.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FrameViolationEntry getDefaultInstanceForType()
Returns
Type Description
FrameViolationEntry

getDescriptorForType()

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

getField()

public String getField()

The field of the original frame where the violation occurred.

string field = 1;

Returns
Type Description
String

The field.

getFieldBytes()

public ByteString getFieldBytes()

The field of the original frame where the violation occurred.

string field = 1;

Returns
Type Description
ByteString

The bytes for field.

getViolation()

public String getViolation()

A message describing the violation.

string violation = 2;

Returns
Type Description
String

The violation.

getViolationBytes()

public ByteString getViolationBytes()

A message describing the violation.

string violation = 2;

Returns
Type Description
ByteString

The bytes for violation.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FrameViolationEntry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setField(String value)

public FrameViolationEntry.Builder setField(String value)

The field of the original frame where the violation occurred.

string field = 1;

Parameter
Name Description
value String

The field to set.

Returns
Type Description
FrameViolationEntry.Builder

This builder for chaining.

setFieldBytes(ByteString value)

public FrameViolationEntry.Builder setFieldBytes(ByteString value)

The field of the original frame where the violation occurred.

string field = 1;

Parameter
Name Description
value ByteString

The bytes for field to set.

Returns
Type Description
FrameViolationEntry.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setViolation(String value)

public FrameViolationEntry.Builder setViolation(String value)

A message describing the violation.

string violation = 2;

Parameter
Name Description
value String

The violation to set.

Returns
Type Description
FrameViolationEntry.Builder

This builder for chaining.

setViolationBytes(ByteString value)

public FrameViolationEntry.Builder setViolationBytes(ByteString value)

A message describing the violation.

string violation = 2;

Parameter
Name Description
value ByteString

The bytes for violation to set.

Returns
Type Description
FrameViolationEntry.Builder

This builder for chaining.