Class FrameViolationEntry (0.21.0)

public final class FrameViolationEntry extends GeneratedMessageV3 implements FrameViolationEntryOrBuilder

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

Protobuf type google.cloud.migrationcenter.v1.FrameViolationEntry

Static Fields

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
TypeDescription
int

VIOLATION_FIELD_NUMBER

public static final int VIOLATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FrameViolationEntry getDefaultInstance()
Returns
TypeDescription
FrameViolationEntry

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static FrameViolationEntry.Builder newBuilder()
Returns
TypeDescription
FrameViolationEntry.Builder

newBuilder(FrameViolationEntry prototype)

public static FrameViolationEntry.Builder newBuilder(FrameViolationEntry prototype)
Parameter
NameDescription
prototypeFrameViolationEntry
Returns
TypeDescription
FrameViolationEntry.Builder

parseDelimitedFrom(InputStream input)

public static FrameViolationEntry parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FrameViolationEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FrameViolationEntry parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FrameViolationEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FrameViolationEntry parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FrameViolationEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FrameViolationEntry parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FrameViolationEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FrameViolationEntry parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FrameViolationEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FrameViolationEntry parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FrameViolationEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FrameViolationEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FrameViolationEntry> parser()
Returns
TypeDescription
Parser<FrameViolationEntry>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public FrameViolationEntry getDefaultInstanceForType()
Returns
TypeDescription
FrameViolationEntry

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.

getParserForType()

public Parser<FrameViolationEntry> getParserForType()
Returns
TypeDescription
Parser<FrameViolationEntry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FrameViolationEntry.Builder newBuilderForType()
Returns
TypeDescription
FrameViolationEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FrameViolationEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FrameViolationEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FrameViolationEntry.Builder toBuilder()
Returns
TypeDescription
FrameViolationEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException