public static final class FrameViolationEntry.Builder extends GeneratedMessage.Builder<FrameViolationEntry.Builder> implements FrameViolationEntryOrBuilder A resource that contains a single violation of a reported AssetFrame
resource.
Protobuf type google.cloud.migrationcenter.v1.FrameViolationEntry
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FrameViolationEntry.BuilderImplements
FrameViolationEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
clearViolation()
public FrameViolationEntry.Builder clearViolation()A message describing the violation.
string violation = 2;
| Returns | |
|---|---|
| Type | Description |
FrameViolationEntry.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FrameViolationEntry getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FrameViolationEntry |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FrameViolationEntry.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FrameViolationEntry.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for field to set. |
| Returns | |
|---|---|
| Type | Description |
FrameViolationEntry.Builder |
This builder for chaining. |
setViolation(String value)
public FrameViolationEntry.Builder setViolation(String value)A message describing the violation.
string violation = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for violation to set. |
| Returns | |
|---|---|
| Type | Description |
FrameViolationEntry.Builder |
This builder for chaining. |