Class FrameViolationEntry.Builder (0.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FrameViolationEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FrameViolationEntry.Builder
Overrides

build()

public FrameViolationEntry build()
Returns
TypeDescription
FrameViolationEntry

buildPartial()

public FrameViolationEntry buildPartial()
Returns
TypeDescription
FrameViolationEntry

clear()

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

clearField()

public FrameViolationEntry.Builder clearField()

The field of the original frame where the violation occurred.

string field = 1;

Returns
TypeDescription
FrameViolationEntry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FrameViolationEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FrameViolationEntry.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FrameViolationEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FrameViolationEntry.Builder
Overrides

clearViolation()

public FrameViolationEntry.Builder clearViolation()

A message describing the violation.

string violation = 2;

Returns
TypeDescription
FrameViolationEntry.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FrameViolationEntry getDefaultInstanceForType()
Returns
TypeDescription
FrameViolationEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getField()

public String getField()

The field of the original frame where the violation occurred.

string field = 1;

Returns
TypeDescription
String

The field.

getFieldBytes()

public ByteString getFieldBytes()

The field of the original frame where the violation occurred.

string field = 1;

Returns
TypeDescription
ByteString

The bytes for field.

getViolation()

public String getViolation()

A message describing the violation.

string violation = 2;

Returns
TypeDescription
String

The violation.

getViolationBytes()

public ByteString getViolationBytes()

A message describing the violation.

string violation = 2;

Returns
TypeDescription
ByteString

The bytes for violation.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FrameViolationEntry other)

public FrameViolationEntry.Builder mergeFrom(FrameViolationEntry other)
Parameter
NameDescription
otherFrameViolationEntry
Returns
TypeDescription
FrameViolationEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FrameViolationEntry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FrameViolationEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FrameViolationEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FrameViolationEntry.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The field to set.

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

The bytes for field to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FrameViolationEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FrameViolationEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FrameViolationEntry.Builder
Overrides

setViolation(String value)

public FrameViolationEntry.Builder setViolation(String value)

A message describing the violation.

string violation = 2;

Parameter
NameDescription
valueString

The violation to set.

Returns
TypeDescription
FrameViolationEntry.Builder

This builder for chaining.

setViolationBytes(ByteString value)

public FrameViolationEntry.Builder setViolationBytes(ByteString value)

A message describing the violation.

string violation = 2;

Parameter
NameDescription
valueByteString

The bytes for violation to set.

Returns
TypeDescription
FrameViolationEntry.Builder

This builder for chaining.