public static final class Violations.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder> implements ViolationsOrBuilder
`Violations` is a collection of `Violation` messages. This message type is returned by protovalidate when a proto message fails to meet the requirements set by the `Constraint` validation rules. Each individual violation is represented by a `Violation` message.Protobuf type
buf.validate.Violations| Modifier and Type | Method and Description |
|---|---|
Violations.Builder |
addAllViolations(Iterable<? extends Violation> values)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
Violations.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Violations.Builder |
addViolations(int index,
Violation.Builder builderForValue)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
Violations.Builder |
addViolations(int index,
Violation value)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
Violations.Builder |
addViolations(Violation.Builder builderForValue)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
Violations.Builder |
addViolations(Violation value)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
Violation.Builder |
addViolationsBuilder()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
Violation.Builder |
addViolationsBuilder(int index)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
Violations |
build() |
Violations |
buildPartial() |
Violations.Builder |
clear() |
Violations.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Violations.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Violations.Builder |
clearViolations()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
Violations.Builder |
clone() |
Violations |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Violation |
getViolations(int index)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
Violation.Builder |
getViolationsBuilder(int index)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
List<Violation.Builder> |
getViolationsBuilderList()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
int |
getViolationsCount()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
List<Violation> |
getViolationsList()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
ViolationOrBuilder |
getViolationsOrBuilder(int index)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
List<? extends ViolationOrBuilder> |
getViolationsOrBuilderList()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Violations.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Violations.Builder |
mergeFrom(com.google.protobuf.Message other) |
Violations.Builder |
mergeFrom(Violations other) |
Violations.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Violations.Builder |
removeViolations(int index)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
Violations.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Violations.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Violations.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Violations.Builder |
setViolations(int index,
Violation.Builder builderForValue)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
Violations.Builder |
setViolations(int index,
Violation value)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>public Violations.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>public Violations getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Violations build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Violations buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Violations.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>public Violations.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>public Violations.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>public Violations.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>public Violations.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>public Violations.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>public Violations.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Violations.Builder>public Violations.Builder mergeFrom(Violations other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>public Violations.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Violations.Builder>IOExceptionpublic List<Violation> getViolationsList()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];getViolationsList in interface ViolationsOrBuilderpublic int getViolationsCount()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];getViolationsCount in interface ViolationsOrBuilderpublic Violation getViolations(int index)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];getViolations in interface ViolationsOrBuilderpublic Violations.Builder setViolations(int index, Violation value)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public Violations.Builder setViolations(int index, Violation.Builder builderForValue)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public Violations.Builder addViolations(Violation value)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public Violations.Builder addViolations(int index, Violation value)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public Violations.Builder addViolations(Violation.Builder builderForValue)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public Violations.Builder addViolations(int index, Violation.Builder builderForValue)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public Violations.Builder addAllViolations(Iterable<? extends Violation> values)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public Violations.Builder clearViolations()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public Violations.Builder removeViolations(int index)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public Violation.Builder getViolationsBuilder(int index)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public ViolationOrBuilder getViolationsOrBuilder(int index)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];getViolationsOrBuilder in interface ViolationsOrBuilderpublic List<? extends ViolationOrBuilder> getViolationsOrBuilderList()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];getViolationsOrBuilderList in interface ViolationsOrBuilderpublic Violation.Builder addViolationsBuilder()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public Violation.Builder addViolationsBuilder(int index)
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public List<Violation.Builder> getViolationsBuilderList()
`violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
repeated .buf.validate.Violation violations = 1 [json_name = "violations"];public final Violations.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>public final Violations.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Violations.Builder>Copyright © 2024. All rights reserved.