diff --git a/Makefile b/Makefile deleted file mode 100644 index f812fbdf6..000000000 --- a/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -# compile java protobuf -protoc-gen-all: - docker run -v ${PWD}:/defs namely/protoc-all -d src/main/proto -l java -o ./src/main/java \ No newline at end of file diff --git a/pom.xml b/pom.xml index 6320d3582..c79d15805 100644 --- a/pom.xml +++ b/pom.xml @@ -10,18 +10,72 @@ 3.0.0-alpha.1 + + + kr.motd.maven + os-maven-plugin + 1.7.1 + + + + + + org.xolstice.maven.plugins + protobuf-maven-plugin + 0.6.1 + + ${project.build.directory}/generated-sources + false + + com.google.protobuf:protoc:3.24.3:exe:${os.detected.classifier} + + grpc-java + io.grpc:protoc-gen-grpc-java:1.57.0:exe:${os.detected.classifier} + + + + + generate-protobuf-messages + generate-sources + + compile + compile-custom + + + + + + org.apache.maven.plugins maven-jar-plugin + 3.3.0 + + + **/*.class + ${project.build.directory}/generated-sources/**/*.java + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.2.0 + add-generated-sources + generate-sources - test-jar + add-source + + + ${project.build.directory}/generated-sources/gov/nist/csd/pm + + - 3.3.0 org.apache.maven.plugins @@ -31,6 +85,7 @@ 21 21 + ${project.build.directory}/generated-sources @@ -77,7 +132,7 @@ ${antlr.version} src/main/java/gov/nist/csd/pm/pap/pml/antlr - src/main/java/gov/nist/csd/pm/pap/pml/antlr + ${project.build.directory}/generated-sources/gov/nist/csd/pm/pap/pml/antlr true -package @@ -86,13 +141,20 @@ + generate-antlr-sources antlr4 + generate-sources + + ${project.build.directory}/generated-sources/gov/nist/csd/pm/pap/pml/antlr + src/main/java/gov/nist/csd/pm/pap/pml/antlr + + @@ -134,22 +196,20 @@ 8.5.13 - - io.grpc - grpc-netty-shaded - 1.67.1 - runtime + com.google.protobuf + protobuf-java + 3.24.3 io.grpc grpc-protobuf - 1.67.1 + 1.57.0 io.grpc grpc-stub - 1.67.1 + 1.57.0 org.apache.tomcat diff --git a/src/main/java/gov/nist/csd/pm/pap/obligation/EventContext.java b/src/main/java/gov/nist/csd/pm/pap/obligation/EventContext.java index c465c5a59..69520eea5 100644 --- a/src/main/java/gov/nist/csd/pm/pap/obligation/EventContext.java +++ b/src/main/java/gov/nist/csd/pm/pap/obligation/EventContext.java @@ -12,30 +12,24 @@ public class EventContext { private final String process; private final String opName; private final Map operands; - private final List nodeOperands; - public EventContext(String user, String process, String opName, Map operands, List nodeOperands) { + public EventContext(String user, String process, String opName, Map operands) { this.user = user; this.process = process; this.opName = opName; this.operands = operands; - this.nodeOperands = nodeOperands; } - public EventContext(String user, String opName, Map operands, List nodeOperands) { - this(user, null, opName, operands, nodeOperands); + public EventContext(String user, String opName, Map operands) { + this(user, null, opName, operands); } public EventContext(String user, String process, Operation op, Map operands) { - this(user, process, op.getName(), operands, op.getNodeOperands()); + this(user, process, op.getName(), operands); } public EventContext(String user, Operation op, Map operands) { - this(user, null, op.getName(), operands, op.getNodeOperands()); - } - - public EventContext(String user, String opName, Map operands) { - this(user, null, opName, operands, List.of()); + this(user, null, op.getName(), operands); } public String user() { @@ -54,20 +48,16 @@ public Map operands() { return operands; } - public List nodeOperands() { - return nodeOperands; - } - @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof EventContext that)) return false; - return Objects.equals(user, that.user) && Objects.equals(process, that.process) && Objects.equals(opName, that.opName) && Objects.equals(operands, that.operands) && Objects.equals(nodeOperands, that.nodeOperands); + return Objects.equals(user, that.user) && Objects.equals(process, that.process) && Objects.equals(opName, that.opName) && Objects.equals(operands, that.operands); } @Override public int hashCode() { - return Objects.hash(user, process, opName, operands, nodeOperands); + return Objects.hash(user, process, opName, operands); } @Override @@ -77,7 +67,6 @@ public String toString() { ", process='" + process + '\'' + ", opName='" + opName + '\'' + ", operands=" + operands + - ", nodeOperands=" + nodeOperands + '}'; } } diff --git a/src/main/java/gov/nist/csd/pm/pap/obligation/EventPattern.java b/src/main/java/gov/nist/csd/pm/pap/obligation/EventPattern.java index b48e781ba..1bb070f8a 100644 --- a/src/main/java/gov/nist/csd/pm/pap/obligation/EventPattern.java +++ b/src/main/java/gov/nist/csd/pm/pap/obligation/EventPattern.java @@ -2,6 +2,7 @@ import gov.nist.csd.pm.pap.exception.PMException; import gov.nist.csd.pm.pap.PAP; +import gov.nist.csd.pm.pap.op.Operation; import gov.nist.csd.pm.pap.pml.pattern.OperationPattern; import gov.nist.csd.pm.pap.pml.pattern.operand.OperandPatternExpression; import gov.nist.csd.pm.pap.pml.pattern.subject.SubjectPattern; @@ -60,7 +61,7 @@ public boolean matches(EventContext eventCtx, PAP pap) throws PMException { return userMatches; } - boolean operandsMatch = operandsMatch(eventCtx.operands(), eventCtx.nodeOperands(), pap); + boolean operandsMatch = operandsMatch(eventCtx.opName(), eventCtx.operands(), pap); return userMatches && opMatches && operandsMatch; } @@ -97,7 +98,10 @@ private boolean operationMatches(String opName, PAP pap) throws PMException { return operationPattern.matches(opName, pap); } - private boolean operandsMatch(Map operands, List nodeOperands, PAP pap) throws PMException { + private boolean operandsMatch(String opName, Map operands, PAP pap) throws PMException { + // get the operands of the operation that represent nodes + List nodeOperands = getOperationNodeOperands(opName, pap); + // if more patterns than operands - false // if no patterns - true (match everything) if (operandPatterns.size() > operands.size()) { @@ -137,4 +141,13 @@ private boolean operandsMatch(Map operands, List nodeOpe return true; } + + private List getOperationNodeOperands(String opName, PAP pap) throws PMException { + if (pap.query().operations().getResourceOperations().contains(opName)) { + return List.of("target"); + } + + Operation adminOperation = pap.query().operations().getAdminOperation(opName); + return adminOperation.getNodeOperands(); + } } diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssignOp.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssignOp.java deleted file mode 100644 index 877697f5c..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssignOp.java +++ /dev/null @@ -1,754 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -/** - * Protobuf type {@code AssignOp} - */ -public final class AssignOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:AssignOp) - AssignOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use AssignOp.newBuilder() to construct. - private AssignOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AssignOp() { - ascendant_ = ""; - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new AssignOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AssignOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - ascendant_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - descendants_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_AssignOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_AssignOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.AssignOp.class, gov.nist.csd.pm.pap.op.graph.proto.AssignOp.Builder.class); - } - - public static final int ASCENDANT_FIELD_NUMBER = 1; - private volatile java.lang.Object ascendant_; - /** - * string ascendant = 1; - * @return The ascendant. - */ - @java.lang.Override - public java.lang.String getAscendant() { - java.lang.Object ref = ascendant_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ascendant_ = s; - return s; - } - } - /** - * string ascendant = 1; - * @return The bytes for ascendant. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getAscendantBytes() { - java.lang.Object ref = ascendant_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ascendant_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCENDANTS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList descendants_; - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_; - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ascendant_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ascendant_); - } - for (int i = 0; i < descendants_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, descendants_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ascendant_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ascendant_); - } - { - int dataSize = 0; - for (int i = 0; i < descendants_.size(); i++) { - dataSize += computeStringSizeNoTag(descendants_.getRaw(i)); - } - size += dataSize; - size += 1 * getDescendantsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.graph.proto.AssignOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.graph.proto.AssignOp other = (gov.nist.csd.pm.pap.op.graph.proto.AssignOp) obj; - - if (!getAscendant() - .equals(other.getAscendant())) return false; - if (!getDescendantsList() - .equals(other.getDescendantsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ASCENDANT_FIELD_NUMBER; - hash = (53 * hash) + getAscendant().hashCode(); - if (getDescendantsCount() > 0) { - hash = (37 * hash) + DESCENDANTS_FIELD_NUMBER; - hash = (53 * hash) + getDescendantsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.graph.proto.AssignOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code AssignOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:AssignOp) - gov.nist.csd.pm.pap.op.graph.proto.AssignOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_AssignOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_AssignOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.AssignOp.class, gov.nist.csd.pm.pap.op.graph.proto.AssignOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.graph.proto.AssignOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - ascendant_ = ""; - - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_AssignOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.AssignOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.graph.proto.AssignOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.AssignOp build() { - gov.nist.csd.pm.pap.op.graph.proto.AssignOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.AssignOp buildPartial() { - gov.nist.csd.pm.pap.op.graph.proto.AssignOp result = new gov.nist.csd.pm.pap.op.graph.proto.AssignOp(this); - int from_bitField0_ = bitField0_; - result.ascendant_ = ascendant_; - if (((bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.descendants_ = descendants_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.graph.proto.AssignOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.graph.proto.AssignOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.graph.proto.AssignOp other) { - if (other == gov.nist.csd.pm.pap.op.graph.proto.AssignOp.getDefaultInstance()) return this; - if (!other.getAscendant().isEmpty()) { - ascendant_ = other.ascendant_; - onChanged(); - } - if (!other.descendants_.isEmpty()) { - if (descendants_.isEmpty()) { - descendants_ = other.descendants_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDescendantsIsMutable(); - descendants_.addAll(other.descendants_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.graph.proto.AssignOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.graph.proto.AssignOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object ascendant_ = ""; - /** - * string ascendant = 1; - * @return The ascendant. - */ - public java.lang.String getAscendant() { - java.lang.Object ref = ascendant_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ascendant_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string ascendant = 1; - * @return The bytes for ascendant. - */ - public com.google.protobuf.ByteString - getAscendantBytes() { - java.lang.Object ref = ascendant_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ascendant_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string ascendant = 1; - * @param value The ascendant to set. - * @return This builder for chaining. - */ - public Builder setAscendant( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - ascendant_ = value; - onChanged(); - return this; - } - /** - * string ascendant = 1; - * @return This builder for chaining. - */ - public Builder clearAscendant() { - - ascendant_ = getDefaultInstance().getAscendant(); - onChanged(); - return this; - } - /** - * string ascendant = 1; - * @param value The bytes for ascendant to set. - * @return This builder for chaining. - */ - public Builder setAscendantBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - ascendant_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureDescendantsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(descendants_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_.getUnmodifiableView(); - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - /** - * repeated string descendants = 2; - * @param index The index to set the value at. - * @param value The descendants to set. - * @return This builder for chaining. - */ - public Builder setDescendants( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendants( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param values The descendants to add. - * @return This builder for chaining. - */ - public Builder addAllDescendants( - java.lang.Iterable values) { - ensureDescendantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, descendants_); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @return This builder for chaining. - */ - public Builder clearDescendants() { - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The bytes of the descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendantsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:AssignOp) - } - - // @@protoc_insertion_point(class_scope:AssignOp) - private static final gov.nist.csd.pm.pap.op.graph.proto.AssignOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.graph.proto.AssignOp(); - } - - public static gov.nist.csd.pm.pap.op.graph.proto.AssignOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AssignOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AssignOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.AssignOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssignOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssignOpOrBuilder.java deleted file mode 100644 index 6296a155f..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssignOpOrBuilder.java +++ /dev/null @@ -1,46 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -public interface AssignOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:AssignOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string ascendant = 1; - * @return The ascendant. - */ - java.lang.String getAscendant(); - /** - * string ascendant = 1; - * @return The bytes for ascendant. - */ - com.google.protobuf.ByteString - getAscendantBytes(); - - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - java.util.List - getDescendantsList(); - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - int getDescendantsCount(); - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - java.lang.String getDescendants(int index); - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - com.google.protobuf.ByteString - getDescendantsBytes(int index); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssociateOp.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssociateOp.java deleted file mode 100644 index c49574ef9..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssociateOp.java +++ /dev/null @@ -1,892 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -/** - * Protobuf type {@code AssociateOp} - */ -public final class AssociateOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:AssociateOp) - AssociateOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use AssociateOp.newBuilder() to construct. - private AssociateOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AssociateOp() { - ua_ = ""; - target_ = ""; - arset_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new AssociateOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AssociateOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - ua_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - target_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - arset_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - arset_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - arset_ = arset_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_AssociateOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_AssociateOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.AssociateOp.class, gov.nist.csd.pm.pap.op.graph.proto.AssociateOp.Builder.class); - } - - public static final int UA_FIELD_NUMBER = 1; - private volatile java.lang.Object ua_; - /** - * string ua = 1; - * @return The ua. - */ - @java.lang.Override - public java.lang.String getUa() { - java.lang.Object ref = ua_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ua_ = s; - return s; - } - } - /** - * string ua = 1; - * @return The bytes for ua. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getUaBytes() { - java.lang.Object ref = ua_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ua_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TARGET_FIELD_NUMBER = 2; - private volatile java.lang.Object target_; - /** - * string target = 2; - * @return The target. - */ - @java.lang.Override - public java.lang.String getTarget() { - java.lang.Object ref = target_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - target_ = s; - return s; - } - } - /** - * string target = 2; - * @return The bytes for target. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { - java.lang.Object ref = target_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - target_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ARSET_FIELD_NUMBER = 3; - private com.google.protobuf.LazyStringList arset_; - /** - * repeated string arset = 3; - * @return A list containing the arset. - */ - public com.google.protobuf.ProtocolStringList - getArsetList() { - return arset_; - } - /** - * repeated string arset = 3; - * @return The count of arset. - */ - public int getArsetCount() { - return arset_.size(); - } - /** - * repeated string arset = 3; - * @param index The index of the element to return. - * @return The arset at the given index. - */ - public java.lang.String getArset(int index) { - return arset_.get(index); - } - /** - * repeated string arset = 3; - * @param index The index of the value to return. - * @return The bytes of the arset at the given index. - */ - public com.google.protobuf.ByteString - getArsetBytes(int index) { - return arset_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ua_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ua_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, target_); - } - for (int i = 0; i < arset_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, arset_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ua_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ua_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, target_); - } - { - int dataSize = 0; - for (int i = 0; i < arset_.size(); i++) { - dataSize += computeStringSizeNoTag(arset_.getRaw(i)); - } - size += dataSize; - size += 1 * getArsetList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.graph.proto.AssociateOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.graph.proto.AssociateOp other = (gov.nist.csd.pm.pap.op.graph.proto.AssociateOp) obj; - - if (!getUa() - .equals(other.getUa())) return false; - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getArsetList() - .equals(other.getArsetList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + UA_FIELD_NUMBER; - hash = (53 * hash) + getUa().hashCode(); - hash = (37 * hash) + TARGET_FIELD_NUMBER; - hash = (53 * hash) + getTarget().hashCode(); - if (getArsetCount() > 0) { - hash = (37 * hash) + ARSET_FIELD_NUMBER; - hash = (53 * hash) + getArsetList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.graph.proto.AssociateOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code AssociateOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:AssociateOp) - gov.nist.csd.pm.pap.op.graph.proto.AssociateOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_AssociateOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_AssociateOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.AssociateOp.class, gov.nist.csd.pm.pap.op.graph.proto.AssociateOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.graph.proto.AssociateOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - ua_ = ""; - - target_ = ""; - - arset_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_AssociateOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.AssociateOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.graph.proto.AssociateOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.AssociateOp build() { - gov.nist.csd.pm.pap.op.graph.proto.AssociateOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.AssociateOp buildPartial() { - gov.nist.csd.pm.pap.op.graph.proto.AssociateOp result = new gov.nist.csd.pm.pap.op.graph.proto.AssociateOp(this); - int from_bitField0_ = bitField0_; - result.ua_ = ua_; - result.target_ = target_; - if (((bitField0_ & 0x00000001) != 0)) { - arset_ = arset_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.arset_ = arset_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.graph.proto.AssociateOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.graph.proto.AssociateOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.graph.proto.AssociateOp other) { - if (other == gov.nist.csd.pm.pap.op.graph.proto.AssociateOp.getDefaultInstance()) return this; - if (!other.getUa().isEmpty()) { - ua_ = other.ua_; - onChanged(); - } - if (!other.getTarget().isEmpty()) { - target_ = other.target_; - onChanged(); - } - if (!other.arset_.isEmpty()) { - if (arset_.isEmpty()) { - arset_ = other.arset_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureArsetIsMutable(); - arset_.addAll(other.arset_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.graph.proto.AssociateOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.graph.proto.AssociateOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object ua_ = ""; - /** - * string ua = 1; - * @return The ua. - */ - public java.lang.String getUa() { - java.lang.Object ref = ua_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ua_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string ua = 1; - * @return The bytes for ua. - */ - public com.google.protobuf.ByteString - getUaBytes() { - java.lang.Object ref = ua_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ua_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string ua = 1; - * @param value The ua to set. - * @return This builder for chaining. - */ - public Builder setUa( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - ua_ = value; - onChanged(); - return this; - } - /** - * string ua = 1; - * @return This builder for chaining. - */ - public Builder clearUa() { - - ua_ = getDefaultInstance().getUa(); - onChanged(); - return this; - } - /** - * string ua = 1; - * @param value The bytes for ua to set. - * @return This builder for chaining. - */ - public Builder setUaBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - ua_ = value; - onChanged(); - return this; - } - - private java.lang.Object target_ = ""; - /** - * string target = 2; - * @return The target. - */ - public java.lang.String getTarget() { - java.lang.Object ref = target_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - target_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string target = 2; - * @return The bytes for target. - */ - public com.google.protobuf.ByteString - getTargetBytes() { - java.lang.Object ref = target_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - target_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string target = 2; - * @param value The target to set. - * @return This builder for chaining. - */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - target_ = value; - onChanged(); - return this; - } - /** - * string target = 2; - * @return This builder for chaining. - */ - public Builder clearTarget() { - - target_ = getDefaultInstance().getTarget(); - onChanged(); - return this; - } - /** - * string target = 2; - * @param value The bytes for target to set. - * @return This builder for chaining. - */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - target_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList arset_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureArsetIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - arset_ = new com.google.protobuf.LazyStringArrayList(arset_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string arset = 3; - * @return A list containing the arset. - */ - public com.google.protobuf.ProtocolStringList - getArsetList() { - return arset_.getUnmodifiableView(); - } - /** - * repeated string arset = 3; - * @return The count of arset. - */ - public int getArsetCount() { - return arset_.size(); - } - /** - * repeated string arset = 3; - * @param index The index of the element to return. - * @return The arset at the given index. - */ - public java.lang.String getArset(int index) { - return arset_.get(index); - } - /** - * repeated string arset = 3; - * @param index The index of the value to return. - * @return The bytes of the arset at the given index. - */ - public com.google.protobuf.ByteString - getArsetBytes(int index) { - return arset_.getByteString(index); - } - /** - * repeated string arset = 3; - * @param index The index to set the value at. - * @param value The arset to set. - * @return This builder for chaining. - */ - public Builder setArset( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArsetIsMutable(); - arset_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string arset = 3; - * @param value The arset to add. - * @return This builder for chaining. - */ - public Builder addArset( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArsetIsMutable(); - arset_.add(value); - onChanged(); - return this; - } - /** - * repeated string arset = 3; - * @param values The arset to add. - * @return This builder for chaining. - */ - public Builder addAllArset( - java.lang.Iterable values) { - ensureArsetIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, arset_); - onChanged(); - return this; - } - /** - * repeated string arset = 3; - * @return This builder for chaining. - */ - public Builder clearArset() { - arset_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string arset = 3; - * @param value The bytes of the arset to add. - * @return This builder for chaining. - */ - public Builder addArsetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureArsetIsMutable(); - arset_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:AssociateOp) - } - - // @@protoc_insertion_point(class_scope:AssociateOp) - private static final gov.nist.csd.pm.pap.op.graph.proto.AssociateOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.graph.proto.AssociateOp(); - } - - public static gov.nist.csd.pm.pap.op.graph.proto.AssociateOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AssociateOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AssociateOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.AssociateOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssociateOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssociateOpOrBuilder.java deleted file mode 100644 index 691f5ded2..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/AssociateOpOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -public interface AssociateOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:AssociateOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string ua = 1; - * @return The ua. - */ - java.lang.String getUa(); - /** - * string ua = 1; - * @return The bytes for ua. - */ - com.google.protobuf.ByteString - getUaBytes(); - - /** - * string target = 2; - * @return The target. - */ - java.lang.String getTarget(); - /** - * string target = 2; - * @return The bytes for target. - */ - com.google.protobuf.ByteString - getTargetBytes(); - - /** - * repeated string arset = 3; - * @return A list containing the arset. - */ - java.util.List - getArsetList(); - /** - * repeated string arset = 3; - * @return The count of arset. - */ - int getArsetCount(); - /** - * repeated string arset = 3; - * @param index The index of the element to return. - * @return The arset at the given index. - */ - java.lang.String getArset(int index); - /** - * repeated string arset = 3; - * @param index The index of the value to return. - * @return The bytes of the arset at the given index. - */ - com.google.protobuf.ByteString - getArsetBytes(int index); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectAttributeOp.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectAttributeOp.java deleted file mode 100644 index f532bea4b..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectAttributeOp.java +++ /dev/null @@ -1,754 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -/** - * Protobuf type {@code CreateObjectAttributeOp} - */ -public final class CreateObjectAttributeOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CreateObjectAttributeOp) - CreateObjectAttributeOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use CreateObjectAttributeOp.newBuilder() to construct. - private CreateObjectAttributeOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateObjectAttributeOp() { - name_ = ""; - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CreateObjectAttributeOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateObjectAttributeOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - descendants_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateObjectAttributeOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateObjectAttributeOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp.class, gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCENDANTS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList descendants_; - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_; - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - for (int i = 0; i < descendants_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, descendants_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - { - int dataSize = 0; - for (int i = 0; i < descendants_.size(); i++) { - dataSize += computeStringSizeNoTag(descendants_.getRaw(i)); - } - size += dataSize; - size += 1 * getDescendantsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp other = (gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDescendantsList() - .equals(other.getDescendantsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (getDescendantsCount() > 0) { - hash = (37 * hash) + DESCENDANTS_FIELD_NUMBER; - hash = (53 * hash) + getDescendantsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code CreateObjectAttributeOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CreateObjectAttributeOp) - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateObjectAttributeOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateObjectAttributeOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp.class, gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateObjectAttributeOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp build() { - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp buildPartial() { - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp result = new gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp(this); - int from_bitField0_ = bitField0_; - result.name_ = name_; - if (((bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.descendants_ = descendants_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp other) { - if (other == gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.descendants_.isEmpty()) { - if (descendants_.isEmpty()) { - descendants_ = other.descendants_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDescendantsIsMutable(); - descendants_.addAll(other.descendants_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureDescendantsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(descendants_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_.getUnmodifiableView(); - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - /** - * repeated string descendants = 2; - * @param index The index to set the value at. - * @param value The descendants to set. - * @return This builder for chaining. - */ - public Builder setDescendants( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendants( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param values The descendants to add. - * @return This builder for chaining. - */ - public Builder addAllDescendants( - java.lang.Iterable values) { - ensureDescendantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, descendants_); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @return This builder for chaining. - */ - public Builder clearDescendants() { - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The bytes of the descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendantsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:CreateObjectAttributeOp) - } - - // @@protoc_insertion_point(class_scope:CreateObjectAttributeOp) - private static final gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp(); - } - - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateObjectAttributeOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateObjectAttributeOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateObjectAttributeOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectAttributeOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectAttributeOpOrBuilder.java deleted file mode 100644 index 006da765a..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectAttributeOpOrBuilder.java +++ /dev/null @@ -1,46 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -public interface CreateObjectAttributeOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:CreateObjectAttributeOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - java.util.List - getDescendantsList(); - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - int getDescendantsCount(); - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - java.lang.String getDescendants(int index); - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - com.google.protobuf.ByteString - getDescendantsBytes(int index); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectOp.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectOp.java deleted file mode 100644 index b941ce98b..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectOp.java +++ /dev/null @@ -1,754 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -/** - * Protobuf type {@code CreateObjectOp} - */ -public final class CreateObjectOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CreateObjectOp) - CreateObjectOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use CreateObjectOp.newBuilder() to construct. - private CreateObjectOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateObjectOp() { - name_ = ""; - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CreateObjectOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateObjectOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - descendants_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateObjectOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateObjectOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp.class, gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCENDANTS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList descendants_; - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_; - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - for (int i = 0; i < descendants_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, descendants_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - { - int dataSize = 0; - for (int i = 0; i < descendants_.size(); i++) { - dataSize += computeStringSizeNoTag(descendants_.getRaw(i)); - } - size += dataSize; - size += 1 * getDescendantsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp other = (gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDescendantsList() - .equals(other.getDescendantsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (getDescendantsCount() > 0) { - hash = (37 * hash) + DESCENDANTS_FIELD_NUMBER; - hash = (53 * hash) + getDescendantsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code CreateObjectOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CreateObjectOp) - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateObjectOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateObjectOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp.class, gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateObjectOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp build() { - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp buildPartial() { - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp result = new gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp(this); - int from_bitField0_ = bitField0_; - result.name_ = name_; - if (((bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.descendants_ = descendants_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp other) { - if (other == gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.descendants_.isEmpty()) { - if (descendants_.isEmpty()) { - descendants_ = other.descendants_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDescendantsIsMutable(); - descendants_.addAll(other.descendants_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureDescendantsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(descendants_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_.getUnmodifiableView(); - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - /** - * repeated string descendants = 2; - * @param index The index to set the value at. - * @param value The descendants to set. - * @return This builder for chaining. - */ - public Builder setDescendants( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendants( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param values The descendants to add. - * @return This builder for chaining. - */ - public Builder addAllDescendants( - java.lang.Iterable values) { - ensureDescendantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, descendants_); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @return This builder for chaining. - */ - public Builder clearDescendants() { - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The bytes of the descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendantsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:CreateObjectOp) - } - - // @@protoc_insertion_point(class_scope:CreateObjectOp) - private static final gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp(); - } - - public static gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateObjectOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateObjectOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateObjectOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectOpOrBuilder.java deleted file mode 100644 index 80cd79fa1..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateObjectOpOrBuilder.java +++ /dev/null @@ -1,46 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -public interface CreateObjectOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:CreateObjectOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - java.util.List - getDescendantsList(); - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - int getDescendantsCount(); - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - java.lang.String getDescendants(int index); - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - com.google.protobuf.ByteString - getDescendantsBytes(int index); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreatePolicyClassOp.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreatePolicyClassOp.java deleted file mode 100644 index 9af1cb85c..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreatePolicyClassOp.java +++ /dev/null @@ -1,559 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -/** - * Protobuf type {@code CreatePolicyClassOp} - */ -public final class CreatePolicyClassOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CreatePolicyClassOp) - CreatePolicyClassOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use CreatePolicyClassOp.newBuilder() to construct. - private CreatePolicyClassOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreatePolicyClassOp() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CreatePolicyClassOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreatePolicyClassOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreatePolicyClassOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreatePolicyClassOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp.class, gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp other = (gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code CreatePolicyClassOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CreatePolicyClassOp) - gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreatePolicyClassOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreatePolicyClassOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp.class, gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreatePolicyClassOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp build() { - gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp buildPartial() { - gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp result = new gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp(this); - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp other) { - if (other == gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:CreatePolicyClassOp) - } - - // @@protoc_insertion_point(class_scope:CreatePolicyClassOp) - private static final gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp(); - } - - public static gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePolicyClassOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreatePolicyClassOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreatePolicyClassOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreatePolicyClassOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreatePolicyClassOpOrBuilder.java deleted file mode 100644 index fd63044ef..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreatePolicyClassOpOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -public interface CreatePolicyClassOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:CreatePolicyClassOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserAttributeOp.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserAttributeOp.java deleted file mode 100644 index 69ce3021e..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserAttributeOp.java +++ /dev/null @@ -1,754 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -/** - * Protobuf type {@code CreateUserAttributeOp} - */ -public final class CreateUserAttributeOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CreateUserAttributeOp) - CreateUserAttributeOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use CreateUserAttributeOp.newBuilder() to construct. - private CreateUserAttributeOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateUserAttributeOp() { - name_ = ""; - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CreateUserAttributeOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateUserAttributeOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - descendants_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateUserAttributeOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateUserAttributeOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp.class, gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCENDANTS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList descendants_; - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_; - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - for (int i = 0; i < descendants_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, descendants_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - { - int dataSize = 0; - for (int i = 0; i < descendants_.size(); i++) { - dataSize += computeStringSizeNoTag(descendants_.getRaw(i)); - } - size += dataSize; - size += 1 * getDescendantsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp other = (gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDescendantsList() - .equals(other.getDescendantsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (getDescendantsCount() > 0) { - hash = (37 * hash) + DESCENDANTS_FIELD_NUMBER; - hash = (53 * hash) + getDescendantsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code CreateUserAttributeOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CreateUserAttributeOp) - gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateUserAttributeOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateUserAttributeOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp.class, gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateUserAttributeOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp build() { - gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp buildPartial() { - gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp result = new gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp(this); - int from_bitField0_ = bitField0_; - result.name_ = name_; - if (((bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.descendants_ = descendants_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp other) { - if (other == gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.descendants_.isEmpty()) { - if (descendants_.isEmpty()) { - descendants_ = other.descendants_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDescendantsIsMutable(); - descendants_.addAll(other.descendants_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureDescendantsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(descendants_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_.getUnmodifiableView(); - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - /** - * repeated string descendants = 2; - * @param index The index to set the value at. - * @param value The descendants to set. - * @return This builder for chaining. - */ - public Builder setDescendants( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendants( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param values The descendants to add. - * @return This builder for chaining. - */ - public Builder addAllDescendants( - java.lang.Iterable values) { - ensureDescendantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, descendants_); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @return This builder for chaining. - */ - public Builder clearDescendants() { - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The bytes of the descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendantsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:CreateUserAttributeOp) - } - - // @@protoc_insertion_point(class_scope:CreateUserAttributeOp) - private static final gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp(); - } - - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserAttributeOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateUserAttributeOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateUserAttributeOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserAttributeOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserAttributeOpOrBuilder.java deleted file mode 100644 index 8837ec5b4..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserAttributeOpOrBuilder.java +++ /dev/null @@ -1,46 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -public interface CreateUserAttributeOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:CreateUserAttributeOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - java.util.List - getDescendantsList(); - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - int getDescendantsCount(); - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - java.lang.String getDescendants(int index); - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - com.google.protobuf.ByteString - getDescendantsBytes(int index); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserOp.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserOp.java deleted file mode 100644 index 72beef087..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserOp.java +++ /dev/null @@ -1,754 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -/** - * Protobuf type {@code CreateUserOp} - */ -public final class CreateUserOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CreateUserOp) - CreateUserOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use CreateUserOp.newBuilder() to construct. - private CreateUserOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateUserOp() { - name_ = ""; - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CreateUserOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateUserOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - descendants_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateUserOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateUserOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp.class, gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCENDANTS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList descendants_; - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_; - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - for (int i = 0; i < descendants_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, descendants_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - { - int dataSize = 0; - for (int i = 0; i < descendants_.size(); i++) { - dataSize += computeStringSizeNoTag(descendants_.getRaw(i)); - } - size += dataSize; - size += 1 * getDescendantsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp other = (gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDescendantsList() - .equals(other.getDescendantsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (getDescendantsCount() > 0) { - hash = (37 * hash) + DESCENDANTS_FIELD_NUMBER; - hash = (53 * hash) + getDescendantsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code CreateUserOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CreateUserOp) - gov.nist.csd.pm.pap.op.graph.proto.CreateUserOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateUserOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateUserOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp.class, gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_CreateUserOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp build() { - gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp buildPartial() { - gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp result = new gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp(this); - int from_bitField0_ = bitField0_; - result.name_ = name_; - if (((bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.descendants_ = descendants_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp other) { - if (other == gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.descendants_.isEmpty()) { - if (descendants_.isEmpty()) { - descendants_ = other.descendants_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDescendantsIsMutable(); - descendants_.addAll(other.descendants_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureDescendantsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(descendants_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_.getUnmodifiableView(); - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - /** - * repeated string descendants = 2; - * @param index The index to set the value at. - * @param value The descendants to set. - * @return This builder for chaining. - */ - public Builder setDescendants( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendants( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param values The descendants to add. - * @return This builder for chaining. - */ - public Builder addAllDescendants( - java.lang.Iterable values) { - ensureDescendantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, descendants_); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @return This builder for chaining. - */ - public Builder clearDescendants() { - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The bytes of the descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendantsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:CreateUserOp) - } - - // @@protoc_insertion_point(class_scope:CreateUserOp) - private static final gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp(); - } - - public static gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateUserOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.CreateUserOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserOpOrBuilder.java deleted file mode 100644 index 3c9709778..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/CreateUserOpOrBuilder.java +++ /dev/null @@ -1,46 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -public interface CreateUserOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:CreateUserOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - java.util.List - getDescendantsList(); - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - int getDescendantsCount(); - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - java.lang.String getDescendants(int index); - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - com.google.protobuf.ByteString - getDescendantsBytes(int index); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeassignOp.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeassignOp.java deleted file mode 100644 index 6a11f2d8f..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeassignOp.java +++ /dev/null @@ -1,754 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -/** - * Protobuf type {@code DeassignOp} - */ -public final class DeassignOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:DeassignOp) - DeassignOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use DeassignOp.newBuilder() to construct. - private DeassignOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DeassignOp() { - ascendant_ = ""; - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new DeassignOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DeassignOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - ascendant_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - descendants_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_DeassignOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_DeassignOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.DeassignOp.class, gov.nist.csd.pm.pap.op.graph.proto.DeassignOp.Builder.class); - } - - public static final int ASCENDANT_FIELD_NUMBER = 1; - private volatile java.lang.Object ascendant_; - /** - * string ascendant = 1; - * @return The ascendant. - */ - @java.lang.Override - public java.lang.String getAscendant() { - java.lang.Object ref = ascendant_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ascendant_ = s; - return s; - } - } - /** - * string ascendant = 1; - * @return The bytes for ascendant. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getAscendantBytes() { - java.lang.Object ref = ascendant_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ascendant_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCENDANTS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList descendants_; - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_; - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ascendant_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ascendant_); - } - for (int i = 0; i < descendants_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, descendants_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ascendant_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ascendant_); - } - { - int dataSize = 0; - for (int i = 0; i < descendants_.size(); i++) { - dataSize += computeStringSizeNoTag(descendants_.getRaw(i)); - } - size += dataSize; - size += 1 * getDescendantsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.graph.proto.DeassignOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.graph.proto.DeassignOp other = (gov.nist.csd.pm.pap.op.graph.proto.DeassignOp) obj; - - if (!getAscendant() - .equals(other.getAscendant())) return false; - if (!getDescendantsList() - .equals(other.getDescendantsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ASCENDANT_FIELD_NUMBER; - hash = (53 * hash) + getAscendant().hashCode(); - if (getDescendantsCount() > 0) { - hash = (37 * hash) + DESCENDANTS_FIELD_NUMBER; - hash = (53 * hash) + getDescendantsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.graph.proto.DeassignOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code DeassignOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:DeassignOp) - gov.nist.csd.pm.pap.op.graph.proto.DeassignOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_DeassignOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_DeassignOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.DeassignOp.class, gov.nist.csd.pm.pap.op.graph.proto.DeassignOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.graph.proto.DeassignOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - ascendant_ = ""; - - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_DeassignOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.DeassignOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.graph.proto.DeassignOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.DeassignOp build() { - gov.nist.csd.pm.pap.op.graph.proto.DeassignOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.DeassignOp buildPartial() { - gov.nist.csd.pm.pap.op.graph.proto.DeassignOp result = new gov.nist.csd.pm.pap.op.graph.proto.DeassignOp(this); - int from_bitField0_ = bitField0_; - result.ascendant_ = ascendant_; - if (((bitField0_ & 0x00000001) != 0)) { - descendants_ = descendants_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.descendants_ = descendants_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.graph.proto.DeassignOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.graph.proto.DeassignOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.graph.proto.DeassignOp other) { - if (other == gov.nist.csd.pm.pap.op.graph.proto.DeassignOp.getDefaultInstance()) return this; - if (!other.getAscendant().isEmpty()) { - ascendant_ = other.ascendant_; - onChanged(); - } - if (!other.descendants_.isEmpty()) { - if (descendants_.isEmpty()) { - descendants_ = other.descendants_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDescendantsIsMutable(); - descendants_.addAll(other.descendants_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.graph.proto.DeassignOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.graph.proto.DeassignOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object ascendant_ = ""; - /** - * string ascendant = 1; - * @return The ascendant. - */ - public java.lang.String getAscendant() { - java.lang.Object ref = ascendant_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ascendant_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string ascendant = 1; - * @return The bytes for ascendant. - */ - public com.google.protobuf.ByteString - getAscendantBytes() { - java.lang.Object ref = ascendant_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ascendant_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string ascendant = 1; - * @param value The ascendant to set. - * @return This builder for chaining. - */ - public Builder setAscendant( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - ascendant_ = value; - onChanged(); - return this; - } - /** - * string ascendant = 1; - * @return This builder for chaining. - */ - public Builder clearAscendant() { - - ascendant_ = getDefaultInstance().getAscendant(); - onChanged(); - return this; - } - /** - * string ascendant = 1; - * @param value The bytes for ascendant to set. - * @return This builder for chaining. - */ - public Builder setAscendantBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - ascendant_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureDescendantsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - descendants_ = new com.google.protobuf.LazyStringArrayList(descendants_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - public com.google.protobuf.ProtocolStringList - getDescendantsList() { - return descendants_.getUnmodifiableView(); - } - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - public int getDescendantsCount() { - return descendants_.size(); - } - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - public java.lang.String getDescendants(int index) { - return descendants_.get(index); - } - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - public com.google.protobuf.ByteString - getDescendantsBytes(int index) { - return descendants_.getByteString(index); - } - /** - * repeated string descendants = 2; - * @param index The index to set the value at. - * @param value The descendants to set. - * @return This builder for chaining. - */ - public Builder setDescendants( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendants( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param values The descendants to add. - * @return This builder for chaining. - */ - public Builder addAllDescendants( - java.lang.Iterable values) { - ensureDescendantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, descendants_); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @return This builder for chaining. - */ - public Builder clearDescendants() { - descendants_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string descendants = 2; - * @param value The bytes of the descendants to add. - * @return This builder for chaining. - */ - public Builder addDescendantsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDescendantsIsMutable(); - descendants_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:DeassignOp) - } - - // @@protoc_insertion_point(class_scope:DeassignOp) - private static final gov.nist.csd.pm.pap.op.graph.proto.DeassignOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.graph.proto.DeassignOp(); - } - - public static gov.nist.csd.pm.pap.op.graph.proto.DeassignOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeassignOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeassignOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.DeassignOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeassignOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeassignOpOrBuilder.java deleted file mode 100644 index 66333be5d..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeassignOpOrBuilder.java +++ /dev/null @@ -1,46 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -public interface DeassignOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:DeassignOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string ascendant = 1; - * @return The ascendant. - */ - java.lang.String getAscendant(); - /** - * string ascendant = 1; - * @return The bytes for ascendant. - */ - com.google.protobuf.ByteString - getAscendantBytes(); - - /** - * repeated string descendants = 2; - * @return A list containing the descendants. - */ - java.util.List - getDescendantsList(); - /** - * repeated string descendants = 2; - * @return The count of descendants. - */ - int getDescendantsCount(); - /** - * repeated string descendants = 2; - * @param index The index of the element to return. - * @return The descendants at the given index. - */ - java.lang.String getDescendants(int index); - /** - * repeated string descendants = 2; - * @param index The index of the value to return. - * @return The bytes of the descendants at the given index. - */ - com.google.protobuf.ByteString - getDescendantsBytes(int index); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeleteNodeOp.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeleteNodeOp.java deleted file mode 100644 index 836c72243..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeleteNodeOp.java +++ /dev/null @@ -1,559 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -/** - * Protobuf type {@code DeleteNodeOp} - */ -public final class DeleteNodeOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:DeleteNodeOp) - DeleteNodeOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use DeleteNodeOp.newBuilder() to construct. - private DeleteNodeOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DeleteNodeOp() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new DeleteNodeOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DeleteNodeOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_DeleteNodeOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_DeleteNodeOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp.class, gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp other = (gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code DeleteNodeOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:DeleteNodeOp) - gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_DeleteNodeOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_DeleteNodeOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp.class, gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_DeleteNodeOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp build() { - gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp buildPartial() { - gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp result = new gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp(this); - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp other) { - if (other == gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:DeleteNodeOp) - } - - // @@protoc_insertion_point(class_scope:DeleteNodeOp) - private static final gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp(); - } - - public static gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteNodeOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteNodeOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.DeleteNodeOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeleteNodeOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeleteNodeOpOrBuilder.java deleted file mode 100644 index 696e59a59..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/DeleteNodeOpOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -public interface DeleteNodeOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:DeleteNodeOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/GraphProto.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/GraphProto.java deleted file mode 100644 index 04887fde5..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/GraphProto.java +++ /dev/null @@ -1,172 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -public final class GraphProto { - private GraphProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_AssignOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_AssignOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_AssociateOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_AssociateOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_CreatePolicyClassOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_CreatePolicyClassOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_CreateUserAttributeOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_CreateUserAttributeOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_CreateObjectAttributeOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_CreateObjectAttributeOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_CreateUserOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_CreateUserOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_CreateObjectOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_CreateObjectOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_DeassignOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_DeassignOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_DeleteNodeOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_DeleteNodeOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_SetNodePropertiesOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_SetNodePropertiesOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_SetNodePropertiesOp_PropertiesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_SetNodePropertiesOp_PropertiesEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\013graph.proto\"2\n\010AssignOp\022\021\n\tascendant\030\001" + - " \001(\t\022\023\n\013descendants\030\002 \003(\t\"8\n\013AssociateOp" + - "\022\n\n\002ua\030\001 \001(\t\022\016\n\006target\030\002 \001(\t\022\r\n\005arset\030\003 " + - "\003(\t\"#\n\023CreatePolicyClassOp\022\014\n\004name\030\001 \001(\t" + - "\":\n\025CreateUserAttributeOp\022\014\n\004name\030\001 \001(\t\022" + - "\023\n\013descendants\030\002 \003(\t\"<\n\027CreateObjectAttr" + - "ibuteOp\022\014\n\004name\030\001 \001(\t\022\023\n\013descendants\030\002 \003" + - "(\t\"1\n\014CreateUserOp\022\014\n\004name\030\001 \001(\t\022\023\n\013desc" + - "endants\030\002 \003(\t\"3\n\016CreateObjectOp\022\014\n\004name\030" + - "\001 \001(\t\022\023\n\013descendants\030\002 \003(\t\"4\n\nDeassignOp" + - "\022\021\n\tascendant\030\001 \001(\t\022\023\n\013descendants\030\002 \003(\t" + - "\"\034\n\014DeleteNodeOp\022\014\n\004name\030\001 \001(\t\"\220\001\n\023SetNo" + - "dePropertiesOp\022\014\n\004name\030\001 \001(\t\0228\n\nproperti" + - "es\030\002 \003(\0132$.SetNodePropertiesOp.Propertie" + - "sEntry\0321\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022\r" + - "\n\005value\030\002 \001(\t:\0028\001B2\n\"gov.nist.csd.pm.pap" + - ".op.graph.protoB\nGraphProtoP\001b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_AssignOp_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_AssignOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_AssignOp_descriptor, - new java.lang.String[] { "Ascendant", "Descendants", }); - internal_static_AssociateOp_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_AssociateOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_AssociateOp_descriptor, - new java.lang.String[] { "Ua", "Target", "Arset", }); - internal_static_CreatePolicyClassOp_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_CreatePolicyClassOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_CreatePolicyClassOp_descriptor, - new java.lang.String[] { "Name", }); - internal_static_CreateUserAttributeOp_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_CreateUserAttributeOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_CreateUserAttributeOp_descriptor, - new java.lang.String[] { "Name", "Descendants", }); - internal_static_CreateObjectAttributeOp_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_CreateObjectAttributeOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_CreateObjectAttributeOp_descriptor, - new java.lang.String[] { "Name", "Descendants", }); - internal_static_CreateUserOp_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_CreateUserOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_CreateUserOp_descriptor, - new java.lang.String[] { "Name", "Descendants", }); - internal_static_CreateObjectOp_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_CreateObjectOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_CreateObjectOp_descriptor, - new java.lang.String[] { "Name", "Descendants", }); - internal_static_DeassignOp_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_DeassignOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_DeassignOp_descriptor, - new java.lang.String[] { "Ascendant", "Descendants", }); - internal_static_DeleteNodeOp_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_DeleteNodeOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_DeleteNodeOp_descriptor, - new java.lang.String[] { "Name", }); - internal_static_SetNodePropertiesOp_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_SetNodePropertiesOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_SetNodePropertiesOp_descriptor, - new java.lang.String[] { "Name", "Properties", }); - internal_static_SetNodePropertiesOp_PropertiesEntry_descriptor = - internal_static_SetNodePropertiesOp_descriptor.getNestedTypes().get(0); - internal_static_SetNodePropertiesOp_PropertiesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_SetNodePropertiesOp_PropertiesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/SetNodePropertiesOp.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/SetNodePropertiesOp.java deleted file mode 100644 index 381be0e37..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/SetNodePropertiesOp.java +++ /dev/null @@ -1,848 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -/** - * Protobuf type {@code SetNodePropertiesOp} - */ -public final class SetNodePropertiesOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:SetNodePropertiesOp) - SetNodePropertiesOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use SetNodePropertiesOp.newBuilder() to construct. - private SetNodePropertiesOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SetNodePropertiesOp() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new SetNodePropertiesOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SetNodePropertiesOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - properties_ = com.google.protobuf.MapField.newMapField( - PropertiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - properties__ = input.readMessage( - PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - properties_.getMutableMap().put( - properties__.getKey(), properties__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_SetNodePropertiesOp_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 2: - return internalGetProperties(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_SetNodePropertiesOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp.class, gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PROPERTIES_FIELD_NUMBER = 2; - private static final class PropertiesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_SetNodePropertiesOp_PropertiesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> properties_; - private com.google.protobuf.MapField - internalGetProperties() { - if (properties_ == null) { - return com.google.protobuf.MapField.emptyMapField( - PropertiesDefaultEntryHolder.defaultEntry); - } - return properties_; - } - - public int getPropertiesCount() { - return internalGetProperties().getMap().size(); - } - /** - * map<string, string> properties = 2; - */ - - @java.lang.Override - public boolean containsProperties( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - return internalGetProperties().getMap().containsKey(key); - } - /** - * Use {@link #getPropertiesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getProperties() { - return getPropertiesMap(); - } - /** - * map<string, string> properties = 2; - */ - @java.lang.Override - - public java.util.Map getPropertiesMap() { - return internalGetProperties().getMap(); - } - /** - * map<string, string> properties = 2; - */ - @java.lang.Override - - public java.lang.String getPropertiesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, string> properties = 2; - */ - @java.lang.Override - - public java.lang.String getPropertiesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetProperties(), - PropertiesDefaultEntryHolder.defaultEntry, - 2); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - for (java.util.Map.Entry entry - : internalGetProperties().getMap().entrySet()) { - com.google.protobuf.MapEntry - properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, properties__); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp other = (gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!internalGetProperties().equals( - other.internalGetProperties())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (!internalGetProperties().getMap().isEmpty()) { - hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; - hash = (53 * hash) + internalGetProperties().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code SetNodePropertiesOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:SetNodePropertiesOp) - gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_SetNodePropertiesOp_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 2: - return internalGetProperties(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 2: - return internalGetMutableProperties(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_SetNodePropertiesOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp.class, gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - internalGetMutableProperties().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.graph.proto.GraphProto.internal_static_SetNodePropertiesOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp build() { - gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp buildPartial() { - gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp result = new gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp(this); - int from_bitField0_ = bitField0_; - result.name_ = name_; - result.properties_ = internalGetProperties(); - result.properties_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp other) { - if (other == gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - internalGetMutableProperties().mergeFrom( - other.internalGetProperties()); - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> properties_; - private com.google.protobuf.MapField - internalGetProperties() { - if (properties_ == null) { - return com.google.protobuf.MapField.emptyMapField( - PropertiesDefaultEntryHolder.defaultEntry); - } - return properties_; - } - private com.google.protobuf.MapField - internalGetMutableProperties() { - onChanged();; - if (properties_ == null) { - properties_ = com.google.protobuf.MapField.newMapField( - PropertiesDefaultEntryHolder.defaultEntry); - } - if (!properties_.isMutable()) { - properties_ = properties_.copy(); - } - return properties_; - } - - public int getPropertiesCount() { - return internalGetProperties().getMap().size(); - } - /** - * map<string, string> properties = 2; - */ - - @java.lang.Override - public boolean containsProperties( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - return internalGetProperties().getMap().containsKey(key); - } - /** - * Use {@link #getPropertiesMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getProperties() { - return getPropertiesMap(); - } - /** - * map<string, string> properties = 2; - */ - @java.lang.Override - - public java.util.Map getPropertiesMap() { - return internalGetProperties().getMap(); - } - /** - * map<string, string> properties = 2; - */ - @java.lang.Override - - public java.lang.String getPropertiesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, string> properties = 2; - */ - @java.lang.Override - - public java.lang.String getPropertiesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetProperties().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearProperties() { - internalGetMutableProperties().getMutableMap() - .clear(); - return this; - } - /** - * map<string, string> properties = 2; - */ - - public Builder removeProperties( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableProperties().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableProperties() { - return internalGetMutableProperties().getMutableMap(); - } - /** - * map<string, string> properties = 2; - */ - public Builder putProperties( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { - throw new NullPointerException("map value"); -} - - internalGetMutableProperties().getMutableMap() - .put(key, value); - return this; - } - /** - * map<string, string> properties = 2; - */ - - public Builder putAllProperties( - java.util.Map values) { - internalGetMutableProperties().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:SetNodePropertiesOp) - } - - // @@protoc_insertion_point(class_scope:SetNodePropertiesOp) - private static final gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp(); - } - - public static gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePropertiesOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SetNodePropertiesOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.graph.proto.SetNodePropertiesOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/SetNodePropertiesOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/SetNodePropertiesOpOrBuilder.java deleted file mode 100644 index e01882810..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/graph/proto/SetNodePropertiesOpOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: graph.proto - -package gov.nist.csd.pm.pap.op.graph.proto; - -public interface SetNodePropertiesOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:SetNodePropertiesOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * map<string, string> properties = 2; - */ - int getPropertiesCount(); - /** - * map<string, string> properties = 2; - */ - boolean containsProperties( - java.lang.String key); - /** - * Use {@link #getPropertiesMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getProperties(); - /** - * map<string, string> properties = 2; - */ - java.util.Map - getPropertiesMap(); - /** - * map<string, string> properties = 2; - */ - - /* nullable */ -java.lang.String getPropertiesOrDefault( - java.lang.String key, - /* nullable */ -java.lang.String defaultValue); - /** - * map<string, string> properties = 2; - */ - - java.lang.String getPropertiesOrThrow( - java.lang.String key); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/CreateObligationOp.java b/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/CreateObligationOp.java deleted file mode 100644 index 4ed42b5e9..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/CreateObligationOp.java +++ /dev/null @@ -1,835 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: obligation.proto - -package gov.nist.csd.pm.pap.op.obligation.proto; - -/** - * Protobuf type {@code CreateObligationOp} - */ -public final class CreateObligationOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CreateObligationOp) - CreateObligationOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use CreateObligationOp.newBuilder() to construct. - private CreateObligationOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateObligationOp() { - name_ = ""; - author_ = ""; - pml_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CreateObligationOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateObligationOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - author_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - pml_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.obligation.proto.ObligationProto.internal_static_CreateObligationOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.obligation.proto.ObligationProto.internal_static_CreateObligationOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp.class, gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int AUTHOR_FIELD_NUMBER = 2; - private volatile java.lang.Object author_; - /** - * string author = 2; - * @return The author. - */ - @java.lang.Override - public java.lang.String getAuthor() { - java.lang.Object ref = author_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - author_ = s; - return s; - } - } - /** - * string author = 2; - * @return The bytes for author. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getAuthorBytes() { - java.lang.Object ref = author_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - author_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PML_FIELD_NUMBER = 3; - private volatile java.lang.Object pml_; - /** - * string pml = 3; - * @return The pml. - */ - @java.lang.Override - public java.lang.String getPml() { - java.lang.Object ref = pml_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pml_ = s; - return s; - } - } - /** - * string pml = 3; - * @return The bytes for pml. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getPmlBytes() { - java.lang.Object ref = pml_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - pml_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(author_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, author_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pml_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pml_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(author_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, author_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pml_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pml_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp other = (gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getAuthor() - .equals(other.getAuthor())) return false; - if (!getPml() - .equals(other.getPml())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + AUTHOR_FIELD_NUMBER; - hash = (53 * hash) + getAuthor().hashCode(); - hash = (37 * hash) + PML_FIELD_NUMBER; - hash = (53 * hash) + getPml().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code CreateObligationOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CreateObligationOp) - gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.obligation.proto.ObligationProto.internal_static_CreateObligationOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.obligation.proto.ObligationProto.internal_static_CreateObligationOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp.class, gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - author_ = ""; - - pml_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.obligation.proto.ObligationProto.internal_static_CreateObligationOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp build() { - gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp buildPartial() { - gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp result = new gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp(this); - result.name_ = name_; - result.author_ = author_; - result.pml_ = pml_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp other) { - if (other == gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getAuthor().isEmpty()) { - author_ = other.author_; - onChanged(); - } - if (!other.getPml().isEmpty()) { - pml_ = other.pml_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object author_ = ""; - /** - * string author = 2; - * @return The author. - */ - public java.lang.String getAuthor() { - java.lang.Object ref = author_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - author_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string author = 2; - * @return The bytes for author. - */ - public com.google.protobuf.ByteString - getAuthorBytes() { - java.lang.Object ref = author_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - author_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string author = 2; - * @param value The author to set. - * @return This builder for chaining. - */ - public Builder setAuthor( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - author_ = value; - onChanged(); - return this; - } - /** - * string author = 2; - * @return This builder for chaining. - */ - public Builder clearAuthor() { - - author_ = getDefaultInstance().getAuthor(); - onChanged(); - return this; - } - /** - * string author = 2; - * @param value The bytes for author to set. - * @return This builder for chaining. - */ - public Builder setAuthorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - author_ = value; - onChanged(); - return this; - } - - private java.lang.Object pml_ = ""; - /** - * string pml = 3; - * @return The pml. - */ - public java.lang.String getPml() { - java.lang.Object ref = pml_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pml_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string pml = 3; - * @return The bytes for pml. - */ - public com.google.protobuf.ByteString - getPmlBytes() { - java.lang.Object ref = pml_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - pml_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string pml = 3; - * @param value The pml to set. - * @return This builder for chaining. - */ - public Builder setPml( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - pml_ = value; - onChanged(); - return this; - } - /** - * string pml = 3; - * @return This builder for chaining. - */ - public Builder clearPml() { - - pml_ = getDefaultInstance().getPml(); - onChanged(); - return this; - } - /** - * string pml = 3; - * @param value The bytes for pml to set. - * @return This builder for chaining. - */ - public Builder setPmlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - pml_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:CreateObligationOp) - } - - // @@protoc_insertion_point(class_scope:CreateObligationOp) - private static final gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp(); - } - - public static gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateObligationOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateObligationOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.obligation.proto.CreateObligationOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/CreateObligationOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/CreateObligationOpOrBuilder.java deleted file mode 100644 index fb9def26d..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/CreateObligationOpOrBuilder.java +++ /dev/null @@ -1,45 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: obligation.proto - -package gov.nist.csd.pm.pap.op.obligation.proto; - -public interface CreateObligationOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:CreateObligationOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * string author = 2; - * @return The author. - */ - java.lang.String getAuthor(); - /** - * string author = 2; - * @return The bytes for author. - */ - com.google.protobuf.ByteString - getAuthorBytes(); - - /** - * string pml = 3; - * @return The pml. - */ - java.lang.String getPml(); - /** - * string pml = 3; - * @return The bytes for pml. - */ - com.google.protobuf.ByteString - getPmlBytes(); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/DeleteObligationOp.java b/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/DeleteObligationOp.java deleted file mode 100644 index e2621067f..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/DeleteObligationOp.java +++ /dev/null @@ -1,559 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: obligation.proto - -package gov.nist.csd.pm.pap.op.obligation.proto; - -/** - * Protobuf type {@code DeleteObligationOp} - */ -public final class DeleteObligationOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:DeleteObligationOp) - DeleteObligationOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use DeleteObligationOp.newBuilder() to construct. - private DeleteObligationOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DeleteObligationOp() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new DeleteObligationOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DeleteObligationOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.obligation.proto.ObligationProto.internal_static_DeleteObligationOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.obligation.proto.ObligationProto.internal_static_DeleteObligationOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp.class, gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp other = (gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code DeleteObligationOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:DeleteObligationOp) - gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.obligation.proto.ObligationProto.internal_static_DeleteObligationOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.obligation.proto.ObligationProto.internal_static_DeleteObligationOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp.class, gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.obligation.proto.ObligationProto.internal_static_DeleteObligationOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp build() { - gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp buildPartial() { - gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp result = new gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp(this); - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp other) { - if (other == gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:DeleteObligationOp) - } - - // @@protoc_insertion_point(class_scope:DeleteObligationOp) - private static final gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp(); - } - - public static gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteObligationOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteObligationOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.obligation.proto.DeleteObligationOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/DeleteObligationOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/DeleteObligationOpOrBuilder.java deleted file mode 100644 index 14ed52bf6..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/DeleteObligationOpOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: obligation.proto - -package gov.nist.csd.pm.pap.op.obligation.proto; - -public interface DeleteObligationOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:DeleteObligationOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/ObligationProto.java b/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/ObligationProto.java deleted file mode 100644 index ff6d7ac9e..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/obligation/proto/ObligationProto.java +++ /dev/null @@ -1,61 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: obligation.proto - -package gov.nist.csd.pm.pap.op.obligation.proto; - -public final class ObligationProto { - private ObligationProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_CreateObligationOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_CreateObligationOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_DeleteObligationOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_DeleteObligationOp_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\020obligation.proto\"?\n\022CreateObligationOp" + - "\022\014\n\004name\030\001 \001(\t\022\016\n\006author\030\002 \001(\t\022\013\n\003pml\030\003 " + - "\001(\t\"\"\n\022DeleteObligationOp\022\014\n\004name\030\001 \001(\tB" + - "<\n\'gov.nist.csd.pm.pap.op.obligation.pro" + - "toB\017ObligationProtoP\001b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_CreateObligationOp_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_CreateObligationOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_CreateObligationOp_descriptor, - new java.lang.String[] { "Name", "Author", "Pml", }); - internal_static_DeleteObligationOp_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_DeleteObligationOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_DeleteObligationOp_descriptor, - new java.lang.String[] { "Name", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/CreateAdminOperationOp.java b/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/CreateAdminOperationOp.java deleted file mode 100644 index 2072480cc..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/CreateAdminOperationOp.java +++ /dev/null @@ -1,559 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: operation.proto - -package gov.nist.csd.pm.pap.op.operation.proto; - -/** - * Protobuf type {@code CreateAdminOperationOp} - */ -public final class CreateAdminOperationOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CreateAdminOperationOp) - CreateAdminOperationOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use CreateAdminOperationOp.newBuilder() to construct. - private CreateAdminOperationOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateAdminOperationOp() { - pml_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CreateAdminOperationOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateAdminOperationOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - pml_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_CreateAdminOperationOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_CreateAdminOperationOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp.class, gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp.Builder.class); - } - - public static final int PML_FIELD_NUMBER = 1; - private volatile java.lang.Object pml_; - /** - * string pml = 1; - * @return The pml. - */ - @java.lang.Override - public java.lang.String getPml() { - java.lang.Object ref = pml_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pml_ = s; - return s; - } - } - /** - * string pml = 1; - * @return The bytes for pml. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getPmlBytes() { - java.lang.Object ref = pml_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - pml_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pml_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pml_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pml_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pml_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp other = (gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp) obj; - - if (!getPml() - .equals(other.getPml())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PML_FIELD_NUMBER; - hash = (53 * hash) + getPml().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code CreateAdminOperationOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CreateAdminOperationOp) - gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_CreateAdminOperationOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_CreateAdminOperationOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp.class, gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - pml_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_CreateAdminOperationOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp build() { - gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp buildPartial() { - gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp result = new gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp(this); - result.pml_ = pml_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp other) { - if (other == gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp.getDefaultInstance()) return this; - if (!other.getPml().isEmpty()) { - pml_ = other.pml_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object pml_ = ""; - /** - * string pml = 1; - * @return The pml. - */ - public java.lang.String getPml() { - java.lang.Object ref = pml_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pml_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string pml = 1; - * @return The bytes for pml. - */ - public com.google.protobuf.ByteString - getPmlBytes() { - java.lang.Object ref = pml_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - pml_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string pml = 1; - * @param value The pml to set. - * @return This builder for chaining. - */ - public Builder setPml( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - pml_ = value; - onChanged(); - return this; - } - /** - * string pml = 1; - * @return This builder for chaining. - */ - public Builder clearPml() { - - pml_ = getDefaultInstance().getPml(); - onChanged(); - return this; - } - /** - * string pml = 1; - * @param value The bytes for pml to set. - * @return This builder for chaining. - */ - public Builder setPmlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - pml_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:CreateAdminOperationOp) - } - - // @@protoc_insertion_point(class_scope:CreateAdminOperationOp) - private static final gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp(); - } - - public static gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAdminOperationOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateAdminOperationOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.CreateAdminOperationOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/CreateAdminOperationOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/CreateAdminOperationOpOrBuilder.java deleted file mode 100644 index 8ec6f70c7..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/CreateAdminOperationOpOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: operation.proto - -package gov.nist.csd.pm.pap.op.operation.proto; - -public interface CreateAdminOperationOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:CreateAdminOperationOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string pml = 1; - * @return The pml. - */ - java.lang.String getPml(); - /** - * string pml = 1; - * @return The bytes for pml. - */ - com.google.protobuf.ByteString - getPmlBytes(); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/DeleteAdminOperationOp.java b/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/DeleteAdminOperationOp.java deleted file mode 100644 index 37e618eb0..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/DeleteAdminOperationOp.java +++ /dev/null @@ -1,559 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: operation.proto - -package gov.nist.csd.pm.pap.op.operation.proto; - -/** - * Protobuf type {@code DeleteAdminOperationOp} - */ -public final class DeleteAdminOperationOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:DeleteAdminOperationOp) - DeleteAdminOperationOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use DeleteAdminOperationOp.newBuilder() to construct. - private DeleteAdminOperationOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DeleteAdminOperationOp() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new DeleteAdminOperationOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DeleteAdminOperationOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_DeleteAdminOperationOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_DeleteAdminOperationOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp.class, gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp other = (gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code DeleteAdminOperationOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:DeleteAdminOperationOp) - gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_DeleteAdminOperationOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_DeleteAdminOperationOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp.class, gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_DeleteAdminOperationOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp build() { - gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp buildPartial() { - gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp result = new gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp(this); - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp other) { - if (other == gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:DeleteAdminOperationOp) - } - - // @@protoc_insertion_point(class_scope:DeleteAdminOperationOp) - private static final gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp(); - } - - public static gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAdminOperationOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAdminOperationOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.DeleteAdminOperationOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/DeleteAdminOperationOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/DeleteAdminOperationOpOrBuilder.java deleted file mode 100644 index 94785631e..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/DeleteAdminOperationOpOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: operation.proto - -package gov.nist.csd.pm.pap.op.operation.proto; - -public interface DeleteAdminOperationOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:DeleteAdminOperationOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/OperationProto.java b/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/OperationProto.java deleted file mode 100644 index 4d5b575ca..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/OperationProto.java +++ /dev/null @@ -1,73 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: operation.proto - -package gov.nist.csd.pm.pap.op.operation.proto; - -public final class OperationProto { - private OperationProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_CreateAdminOperationOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_CreateAdminOperationOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_DeleteAdminOperationOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_DeleteAdminOperationOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_SetResourceOperationsOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_SetResourceOperationsOp_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\017operation.proto\"%\n\026CreateAdminOperatio" + - "nOp\022\013\n\003pml\030\001 \001(\t\"&\n\026DeleteAdminOperation" + - "Op\022\014\n\004name\030\001 \001(\t\"-\n\027SetResourceOperation" + - "sOp\022\022\n\noperations\030\001 \003(\tB:\n&gov.nist.csd." + - "pm.pap.op.operation.protoB\016OperationProt" + - "oP\001b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_CreateAdminOperationOp_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_CreateAdminOperationOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_CreateAdminOperationOp_descriptor, - new java.lang.String[] { "Pml", }); - internal_static_DeleteAdminOperationOp_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_DeleteAdminOperationOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_DeleteAdminOperationOp_descriptor, - new java.lang.String[] { "Name", }); - internal_static_SetResourceOperationsOp_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_SetResourceOperationsOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_SetResourceOperationsOp_descriptor, - new java.lang.String[] { "Operations", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/SetResourceOperationsOp.java b/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/SetResourceOperationsOp.java deleted file mode 100644 index 75ba45b7f..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/SetResourceOperationsOp.java +++ /dev/null @@ -1,616 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: operation.proto - -package gov.nist.csd.pm.pap.op.operation.proto; - -/** - * Protobuf type {@code SetResourceOperationsOp} - */ -public final class SetResourceOperationsOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:SetResourceOperationsOp) - SetResourceOperationsOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use SetResourceOperationsOp.newBuilder() to construct. - private SetResourceOperationsOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SetResourceOperationsOp() { - operations_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new SetResourceOperationsOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SetResourceOperationsOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - operations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - operations_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - operations_ = operations_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_SetResourceOperationsOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_SetResourceOperationsOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp.class, gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp.Builder.class); - } - - public static final int OPERATIONS_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList operations_; - /** - * repeated string operations = 1; - * @return A list containing the operations. - */ - public com.google.protobuf.ProtocolStringList - getOperationsList() { - return operations_; - } - /** - * repeated string operations = 1; - * @return The count of operations. - */ - public int getOperationsCount() { - return operations_.size(); - } - /** - * repeated string operations = 1; - * @param index The index of the element to return. - * @return The operations at the given index. - */ - public java.lang.String getOperations(int index) { - return operations_.get(index); - } - /** - * repeated string operations = 1; - * @param index The index of the value to return. - * @return The bytes of the operations at the given index. - */ - public com.google.protobuf.ByteString - getOperationsBytes(int index) { - return operations_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < operations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, operations_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < operations_.size(); i++) { - dataSize += computeStringSizeNoTag(operations_.getRaw(i)); - } - size += dataSize; - size += 1 * getOperationsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp other = (gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp) obj; - - if (!getOperationsList() - .equals(other.getOperationsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getOperationsCount() > 0) { - hash = (37 * hash) + OPERATIONS_FIELD_NUMBER; - hash = (53 * hash) + getOperationsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code SetResourceOperationsOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:SetResourceOperationsOp) - gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_SetResourceOperationsOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_SetResourceOperationsOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp.class, gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - operations_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.operation.proto.OperationProto.internal_static_SetResourceOperationsOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp build() { - gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp buildPartial() { - gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp result = new gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - operations_ = operations_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.operations_ = operations_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp other) { - if (other == gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp.getDefaultInstance()) return this; - if (!other.operations_.isEmpty()) { - if (operations_.isEmpty()) { - operations_ = other.operations_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureOperationsIsMutable(); - operations_.addAll(other.operations_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList operations_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureOperationsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - operations_ = new com.google.protobuf.LazyStringArrayList(operations_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string operations = 1; - * @return A list containing the operations. - */ - public com.google.protobuf.ProtocolStringList - getOperationsList() { - return operations_.getUnmodifiableView(); - } - /** - * repeated string operations = 1; - * @return The count of operations. - */ - public int getOperationsCount() { - return operations_.size(); - } - /** - * repeated string operations = 1; - * @param index The index of the element to return. - * @return The operations at the given index. - */ - public java.lang.String getOperations(int index) { - return operations_.get(index); - } - /** - * repeated string operations = 1; - * @param index The index of the value to return. - * @return The bytes of the operations at the given index. - */ - public com.google.protobuf.ByteString - getOperationsBytes(int index) { - return operations_.getByteString(index); - } - /** - * repeated string operations = 1; - * @param index The index to set the value at. - * @param value The operations to set. - * @return This builder for chaining. - */ - public Builder setOperations( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureOperationsIsMutable(); - operations_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string operations = 1; - * @param value The operations to add. - * @return This builder for chaining. - */ - public Builder addOperations( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureOperationsIsMutable(); - operations_.add(value); - onChanged(); - return this; - } - /** - * repeated string operations = 1; - * @param values The operations to add. - * @return This builder for chaining. - */ - public Builder addAllOperations( - java.lang.Iterable values) { - ensureOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, operations_); - onChanged(); - return this; - } - /** - * repeated string operations = 1; - * @return This builder for chaining. - */ - public Builder clearOperations() { - operations_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string operations = 1; - * @param value The bytes of the operations to add. - * @return This builder for chaining. - */ - public Builder addOperationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureOperationsIsMutable(); - operations_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:SetResourceOperationsOp) - } - - // @@protoc_insertion_point(class_scope:SetResourceOperationsOp) - private static final gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp(); - } - - public static gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetResourceOperationsOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SetResourceOperationsOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.operation.proto.SetResourceOperationsOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/SetResourceOperationsOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/SetResourceOperationsOpOrBuilder.java deleted file mode 100644 index d8a15814b..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/operation/proto/SetResourceOperationsOpOrBuilder.java +++ /dev/null @@ -1,34 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: operation.proto - -package gov.nist.csd.pm.pap.op.operation.proto; - -public interface SetResourceOperationsOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:SetResourceOperationsOp) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string operations = 1; - * @return A list containing the operations. - */ - java.util.List - getOperationsList(); - /** - * repeated string operations = 1; - * @return The count of operations. - */ - int getOperationsCount(); - /** - * repeated string operations = 1; - * @param index The index of the element to return. - * @return The operations at the given index. - */ - java.lang.String getOperations(int index); - /** - * repeated string operations = 1; - * @param index The index of the value to return. - * @return The bytes of the operations at the given index. - */ - com.google.protobuf.ByteString - getOperationsBytes(int index); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/CreateProhibitionOp.java b/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/CreateProhibitionOp.java deleted file mode 100644 index 574308e34..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/CreateProhibitionOp.java +++ /dev/null @@ -1,1378 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: prohibitions.proto - -package gov.nist.csd.pm.pap.op.prohibition.proto; - -/** - * Protobuf type {@code CreateProhibitionOp} - */ -public final class CreateProhibitionOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CreateProhibitionOp) - CreateProhibitionOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use CreateProhibitionOp.newBuilder() to construct. - private CreateProhibitionOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateProhibitionOp() { - name_ = ""; - subject_ = ""; - subjectType_ = ""; - arset_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CreateProhibitionOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateProhibitionOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - subject_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - subjectType_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - arset_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - arset_.add(s); - break; - } - case 40: { - - intersection_ = input.readBool(); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - containerConditions_ = com.google.protobuf.MapField.newMapField( - ContainerConditionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry - containerConditions__ = input.readMessage( - ContainerConditionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - containerConditions_.getMutableMap().put( - containerConditions__.getKey(), containerConditions__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - arset_ = arset_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.prohibition.proto.ProhibitionProto.internal_static_CreateProhibitionOp_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 6: - return internalGetContainerConditions(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.prohibition.proto.ProhibitionProto.internal_static_CreateProhibitionOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp.class, gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SUBJECT_FIELD_NUMBER = 2; - private volatile java.lang.Object subject_; - /** - * string subject = 2; - * @return The subject. - */ - @java.lang.Override - public java.lang.String getSubject() { - java.lang.Object ref = subject_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - subject_ = s; - return s; - } - } - /** - * string subject = 2; - * @return The bytes for subject. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getSubjectBytes() { - java.lang.Object ref = subject_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - subject_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SUBJECT_TYPE_FIELD_NUMBER = 3; - private volatile java.lang.Object subjectType_; - /** - * string subject_type = 3; - * @return The subjectType. - */ - @java.lang.Override - public java.lang.String getSubjectType() { - java.lang.Object ref = subjectType_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - subjectType_ = s; - return s; - } - } - /** - * string subject_type = 3; - * @return The bytes for subjectType. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getSubjectTypeBytes() { - java.lang.Object ref = subjectType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - subjectType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ARSET_FIELD_NUMBER = 4; - private com.google.protobuf.LazyStringList arset_; - /** - * repeated string arset = 4; - * @return A list containing the arset. - */ - public com.google.protobuf.ProtocolStringList - getArsetList() { - return arset_; - } - /** - * repeated string arset = 4; - * @return The count of arset. - */ - public int getArsetCount() { - return arset_.size(); - } - /** - * repeated string arset = 4; - * @param index The index of the element to return. - * @return The arset at the given index. - */ - public java.lang.String getArset(int index) { - return arset_.get(index); - } - /** - * repeated string arset = 4; - * @param index The index of the value to return. - * @return The bytes of the arset at the given index. - */ - public com.google.protobuf.ByteString - getArsetBytes(int index) { - return arset_.getByteString(index); - } - - public static final int INTERSECTION_FIELD_NUMBER = 5; - private boolean intersection_; - /** - * bool intersection = 5; - * @return The intersection. - */ - @java.lang.Override - public boolean getIntersection() { - return intersection_; - } - - public static final int CONTAINER_CONDITIONS_FIELD_NUMBER = 6; - private static final class ContainerConditionsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Boolean> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - gov.nist.csd.pm.pap.op.prohibition.proto.ProhibitionProto.internal_static_CreateProhibitionOp_ContainerConditionsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.BOOL, - false); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Boolean> containerConditions_; - private com.google.protobuf.MapField - internalGetContainerConditions() { - if (containerConditions_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ContainerConditionsDefaultEntryHolder.defaultEntry); - } - return containerConditions_; - } - - public int getContainerConditionsCount() { - return internalGetContainerConditions().getMap().size(); - } - /** - * map<string, bool> container_conditions = 6; - */ - - @java.lang.Override - public boolean containsContainerConditions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - return internalGetContainerConditions().getMap().containsKey(key); - } - /** - * Use {@link #getContainerConditionsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getContainerConditions() { - return getContainerConditionsMap(); - } - /** - * map<string, bool> container_conditions = 6; - */ - @java.lang.Override - - public java.util.Map getContainerConditionsMap() { - return internalGetContainerConditions().getMap(); - } - /** - * map<string, bool> container_conditions = 6; - */ - @java.lang.Override - - public boolean getContainerConditionsOrDefault( - java.lang.String key, - boolean defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetContainerConditions().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, bool> container_conditions = 6; - */ - @java.lang.Override - - public boolean getContainerConditionsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetContainerConditions().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subject_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectType_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, subjectType_); - } - for (int i = 0; i < arset_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, arset_.getRaw(i)); - } - if (intersection_ != false) { - output.writeBool(5, intersection_); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetContainerConditions(), - ContainerConditionsDefaultEntryHolder.defaultEntry, - 6); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subject_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectType_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subjectType_); - } - { - int dataSize = 0; - for (int i = 0; i < arset_.size(); i++) { - dataSize += computeStringSizeNoTag(arset_.getRaw(i)); - } - size += dataSize; - size += 1 * getArsetList().size(); - } - if (intersection_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, intersection_); - } - for (java.util.Map.Entry entry - : internalGetContainerConditions().getMap().entrySet()) { - com.google.protobuf.MapEntry - containerConditions__ = ContainerConditionsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, containerConditions__); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp other = (gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getSubject() - .equals(other.getSubject())) return false; - if (!getSubjectType() - .equals(other.getSubjectType())) return false; - if (!getArsetList() - .equals(other.getArsetList())) return false; - if (getIntersection() - != other.getIntersection()) return false; - if (!internalGetContainerConditions().equals( - other.internalGetContainerConditions())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + SUBJECT_FIELD_NUMBER; - hash = (53 * hash) + getSubject().hashCode(); - hash = (37 * hash) + SUBJECT_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getSubjectType().hashCode(); - if (getArsetCount() > 0) { - hash = (37 * hash) + ARSET_FIELD_NUMBER; - hash = (53 * hash) + getArsetList().hashCode(); - } - hash = (37 * hash) + INTERSECTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIntersection()); - if (!internalGetContainerConditions().getMap().isEmpty()) { - hash = (37 * hash) + CONTAINER_CONDITIONS_FIELD_NUMBER; - hash = (53 * hash) + internalGetContainerConditions().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code CreateProhibitionOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CreateProhibitionOp) - gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.prohibition.proto.ProhibitionProto.internal_static_CreateProhibitionOp_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 6: - return internalGetContainerConditions(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 6: - return internalGetMutableContainerConditions(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.prohibition.proto.ProhibitionProto.internal_static_CreateProhibitionOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp.class, gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - subject_ = ""; - - subjectType_ = ""; - - arset_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - intersection_ = false; - - internalGetMutableContainerConditions().clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.prohibition.proto.ProhibitionProto.internal_static_CreateProhibitionOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp build() { - gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp buildPartial() { - gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp result = new gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp(this); - int from_bitField0_ = bitField0_; - result.name_ = name_; - result.subject_ = subject_; - result.subjectType_ = subjectType_; - if (((bitField0_ & 0x00000001) != 0)) { - arset_ = arset_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.arset_ = arset_; - result.intersection_ = intersection_; - result.containerConditions_ = internalGetContainerConditions(); - result.containerConditions_.makeImmutable(); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp other) { - if (other == gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getSubject().isEmpty()) { - subject_ = other.subject_; - onChanged(); - } - if (!other.getSubjectType().isEmpty()) { - subjectType_ = other.subjectType_; - onChanged(); - } - if (!other.arset_.isEmpty()) { - if (arset_.isEmpty()) { - arset_ = other.arset_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureArsetIsMutable(); - arset_.addAll(other.arset_); - } - onChanged(); - } - if (other.getIntersection() != false) { - setIntersection(other.getIntersection()); - } - internalGetMutableContainerConditions().mergeFrom( - other.internalGetContainerConditions()); - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object subject_ = ""; - /** - * string subject = 2; - * @return The subject. - */ - public java.lang.String getSubject() { - java.lang.Object ref = subject_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - subject_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string subject = 2; - * @return The bytes for subject. - */ - public com.google.protobuf.ByteString - getSubjectBytes() { - java.lang.Object ref = subject_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - subject_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string subject = 2; - * @param value The subject to set. - * @return This builder for chaining. - */ - public Builder setSubject( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - subject_ = value; - onChanged(); - return this; - } - /** - * string subject = 2; - * @return This builder for chaining. - */ - public Builder clearSubject() { - - subject_ = getDefaultInstance().getSubject(); - onChanged(); - return this; - } - /** - * string subject = 2; - * @param value The bytes for subject to set. - * @return This builder for chaining. - */ - public Builder setSubjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - subject_ = value; - onChanged(); - return this; - } - - private java.lang.Object subjectType_ = ""; - /** - * string subject_type = 3; - * @return The subjectType. - */ - public java.lang.String getSubjectType() { - java.lang.Object ref = subjectType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - subjectType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string subject_type = 3; - * @return The bytes for subjectType. - */ - public com.google.protobuf.ByteString - getSubjectTypeBytes() { - java.lang.Object ref = subjectType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - subjectType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string subject_type = 3; - * @param value The subjectType to set. - * @return This builder for chaining. - */ - public Builder setSubjectType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - subjectType_ = value; - onChanged(); - return this; - } - /** - * string subject_type = 3; - * @return This builder for chaining. - */ - public Builder clearSubjectType() { - - subjectType_ = getDefaultInstance().getSubjectType(); - onChanged(); - return this; - } - /** - * string subject_type = 3; - * @param value The bytes for subjectType to set. - * @return This builder for chaining. - */ - public Builder setSubjectTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - subjectType_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList arset_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureArsetIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - arset_ = new com.google.protobuf.LazyStringArrayList(arset_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string arset = 4; - * @return A list containing the arset. - */ - public com.google.protobuf.ProtocolStringList - getArsetList() { - return arset_.getUnmodifiableView(); - } - /** - * repeated string arset = 4; - * @return The count of arset. - */ - public int getArsetCount() { - return arset_.size(); - } - /** - * repeated string arset = 4; - * @param index The index of the element to return. - * @return The arset at the given index. - */ - public java.lang.String getArset(int index) { - return arset_.get(index); - } - /** - * repeated string arset = 4; - * @param index The index of the value to return. - * @return The bytes of the arset at the given index. - */ - public com.google.protobuf.ByteString - getArsetBytes(int index) { - return arset_.getByteString(index); - } - /** - * repeated string arset = 4; - * @param index The index to set the value at. - * @param value The arset to set. - * @return This builder for chaining. - */ - public Builder setArset( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArsetIsMutable(); - arset_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string arset = 4; - * @param value The arset to add. - * @return This builder for chaining. - */ - public Builder addArset( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArsetIsMutable(); - arset_.add(value); - onChanged(); - return this; - } - /** - * repeated string arset = 4; - * @param values The arset to add. - * @return This builder for chaining. - */ - public Builder addAllArset( - java.lang.Iterable values) { - ensureArsetIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, arset_); - onChanged(); - return this; - } - /** - * repeated string arset = 4; - * @return This builder for chaining. - */ - public Builder clearArset() { - arset_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string arset = 4; - * @param value The bytes of the arset to add. - * @return This builder for chaining. - */ - public Builder addArsetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureArsetIsMutable(); - arset_.add(value); - onChanged(); - return this; - } - - private boolean intersection_ ; - /** - * bool intersection = 5; - * @return The intersection. - */ - @java.lang.Override - public boolean getIntersection() { - return intersection_; - } - /** - * bool intersection = 5; - * @param value The intersection to set. - * @return This builder for chaining. - */ - public Builder setIntersection(boolean value) { - - intersection_ = value; - onChanged(); - return this; - } - /** - * bool intersection = 5; - * @return This builder for chaining. - */ - public Builder clearIntersection() { - - intersection_ = false; - onChanged(); - return this; - } - - private com.google.protobuf.MapField< - java.lang.String, java.lang.Boolean> containerConditions_; - private com.google.protobuf.MapField - internalGetContainerConditions() { - if (containerConditions_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ContainerConditionsDefaultEntryHolder.defaultEntry); - } - return containerConditions_; - } - private com.google.protobuf.MapField - internalGetMutableContainerConditions() { - onChanged();; - if (containerConditions_ == null) { - containerConditions_ = com.google.protobuf.MapField.newMapField( - ContainerConditionsDefaultEntryHolder.defaultEntry); - } - if (!containerConditions_.isMutable()) { - containerConditions_ = containerConditions_.copy(); - } - return containerConditions_; - } - - public int getContainerConditionsCount() { - return internalGetContainerConditions().getMap().size(); - } - /** - * map<string, bool> container_conditions = 6; - */ - - @java.lang.Override - public boolean containsContainerConditions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - return internalGetContainerConditions().getMap().containsKey(key); - } - /** - * Use {@link #getContainerConditionsMap()} instead. - */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getContainerConditions() { - return getContainerConditionsMap(); - } - /** - * map<string, bool> container_conditions = 6; - */ - @java.lang.Override - - public java.util.Map getContainerConditionsMap() { - return internalGetContainerConditions().getMap(); - } - /** - * map<string, bool> container_conditions = 6; - */ - @java.lang.Override - - public boolean getContainerConditionsOrDefault( - java.lang.String key, - boolean defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetContainerConditions().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, bool> container_conditions = 6; - */ - @java.lang.Override - - public boolean getContainerConditionsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetContainerConditions().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearContainerConditions() { - internalGetMutableContainerConditions().getMutableMap() - .clear(); - return this; - } - /** - * map<string, bool> container_conditions = 6; - */ - - public Builder removeContainerConditions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableContainerConditions().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableContainerConditions() { - return internalGetMutableContainerConditions().getMutableMap(); - } - /** - * map<string, bool> container_conditions = 6; - */ - public Builder putContainerConditions( - java.lang.String key, - boolean value) { - if (key == null) { throw new NullPointerException("map key"); } - - internalGetMutableContainerConditions().getMutableMap() - .put(key, value); - return this; - } - /** - * map<string, bool> container_conditions = 6; - */ - - public Builder putAllContainerConditions( - java.util.Map values) { - internalGetMutableContainerConditions().getMutableMap() - .putAll(values); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:CreateProhibitionOp) - } - - // @@protoc_insertion_point(class_scope:CreateProhibitionOp) - private static final gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp(); - } - - public static gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateProhibitionOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateProhibitionOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.prohibition.proto.CreateProhibitionOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/CreateProhibitionOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/CreateProhibitionOpOrBuilder.java deleted file mode 100644 index 92157cc11..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/CreateProhibitionOpOrBuilder.java +++ /dev/null @@ -1,110 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: prohibitions.proto - -package gov.nist.csd.pm.pap.op.prohibition.proto; - -public interface CreateProhibitionOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:CreateProhibitionOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * string subject = 2; - * @return The subject. - */ - java.lang.String getSubject(); - /** - * string subject = 2; - * @return The bytes for subject. - */ - com.google.protobuf.ByteString - getSubjectBytes(); - - /** - * string subject_type = 3; - * @return The subjectType. - */ - java.lang.String getSubjectType(); - /** - * string subject_type = 3; - * @return The bytes for subjectType. - */ - com.google.protobuf.ByteString - getSubjectTypeBytes(); - - /** - * repeated string arset = 4; - * @return A list containing the arset. - */ - java.util.List - getArsetList(); - /** - * repeated string arset = 4; - * @return The count of arset. - */ - int getArsetCount(); - /** - * repeated string arset = 4; - * @param index The index of the element to return. - * @return The arset at the given index. - */ - java.lang.String getArset(int index); - /** - * repeated string arset = 4; - * @param index The index of the value to return. - * @return The bytes of the arset at the given index. - */ - com.google.protobuf.ByteString - getArsetBytes(int index); - - /** - * bool intersection = 5; - * @return The intersection. - */ - boolean getIntersection(); - - /** - * map<string, bool> container_conditions = 6; - */ - int getContainerConditionsCount(); - /** - * map<string, bool> container_conditions = 6; - */ - boolean containsContainerConditions( - java.lang.String key); - /** - * Use {@link #getContainerConditionsMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getContainerConditions(); - /** - * map<string, bool> container_conditions = 6; - */ - java.util.Map - getContainerConditionsMap(); - /** - * map<string, bool> container_conditions = 6; - */ - - boolean getContainerConditionsOrDefault( - java.lang.String key, - boolean defaultValue); - /** - * map<string, bool> container_conditions = 6; - */ - - boolean getContainerConditionsOrThrow( - java.lang.String key); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/DeleteProhibitionOp.java b/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/DeleteProhibitionOp.java deleted file mode 100644 index 3d338304c..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/DeleteProhibitionOp.java +++ /dev/null @@ -1,559 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: prohibitions.proto - -package gov.nist.csd.pm.pap.op.prohibition.proto; - -/** - * Protobuf type {@code DeleteProhibitionOp} - */ -public final class DeleteProhibitionOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:DeleteProhibitionOp) - DeleteProhibitionOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use DeleteProhibitionOp.newBuilder() to construct. - private DeleteProhibitionOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DeleteProhibitionOp() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new DeleteProhibitionOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DeleteProhibitionOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.prohibition.proto.ProhibitionProto.internal_static_DeleteProhibitionOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.prohibition.proto.ProhibitionProto.internal_static_DeleteProhibitionOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp.class, gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp other = (gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code DeleteProhibitionOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:DeleteProhibitionOp) - gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.prohibition.proto.ProhibitionProto.internal_static_DeleteProhibitionOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.prohibition.proto.ProhibitionProto.internal_static_DeleteProhibitionOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp.class, gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.prohibition.proto.ProhibitionProto.internal_static_DeleteProhibitionOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp build() { - gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp buildPartial() { - gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp result = new gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp(this); - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp other) { - if (other == gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:DeleteProhibitionOp) - } - - // @@protoc_insertion_point(class_scope:DeleteProhibitionOp) - private static final gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp(); - } - - public static gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteProhibitionOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteProhibitionOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.prohibition.proto.DeleteProhibitionOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/DeleteProhibitionOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/DeleteProhibitionOpOrBuilder.java deleted file mode 100644 index 477f63a1d..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/DeleteProhibitionOpOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: prohibitions.proto - -package gov.nist.csd.pm.pap.op.prohibition.proto; - -public interface DeleteProhibitionOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:DeleteProhibitionOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/ProhibitionProto.java b/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/ProhibitionProto.java deleted file mode 100644 index 547853078..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/prohibition/proto/ProhibitionProto.java +++ /dev/null @@ -1,77 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: prohibitions.proto - -package gov.nist.csd.pm.pap.op.prohibition.proto; - -public final class ProhibitionProto { - private ProhibitionProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_CreateProhibitionOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_CreateProhibitionOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_CreateProhibitionOp_ContainerConditionsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_CreateProhibitionOp_ContainerConditionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_DeleteProhibitionOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_DeleteProhibitionOp_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\022prohibitions.proto\"\370\001\n\023CreateProhibiti" + - "onOp\022\014\n\004name\030\001 \001(\t\022\017\n\007subject\030\002 \001(\t\022\024\n\014s" + - "ubject_type\030\003 \001(\t\022\r\n\005arset\030\004 \003(\t\022\024\n\014inte" + - "rsection\030\005 \001(\010\022K\n\024container_conditions\030\006" + - " \003(\0132-.CreateProhibitionOp.ContainerCond" + - "itionsEntry\032:\n\030ContainerConditionsEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\010:\0028\001\"#\n\023Delet" + - "eProhibitionOp\022\014\n\004name\030\001 \001(\tB>\n(gov.nist" + - ".csd.pm.pap.op.prohibition.protoB\020Prohib" + - "itionProtoP\001b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_CreateProhibitionOp_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_CreateProhibitionOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_CreateProhibitionOp_descriptor, - new java.lang.String[] { "Name", "Subject", "SubjectType", "Arset", "Intersection", "ContainerConditions", }); - internal_static_CreateProhibitionOp_ContainerConditionsEntry_descriptor = - internal_static_CreateProhibitionOp_descriptor.getNestedTypes().get(0); - internal_static_CreateProhibitionOp_ContainerConditionsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_CreateProhibitionOp_ContainerConditionsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_DeleteProhibitionOp_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_DeleteProhibitionOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_DeleteProhibitionOp_descriptor, - new java.lang.String[] { "Name", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/CreateAdminRoutineOp.java b/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/CreateAdminRoutineOp.java deleted file mode 100644 index efbbec6e6..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/CreateAdminRoutineOp.java +++ /dev/null @@ -1,559 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: routine.proto - -package gov.nist.csd.pm.pap.op.routine.proto; - -/** - * Protobuf type {@code CreateAdminRoutineOp} - */ -public final class CreateAdminRoutineOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CreateAdminRoutineOp) - CreateAdminRoutineOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use CreateAdminRoutineOp.newBuilder() to construct. - private CreateAdminRoutineOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CreateAdminRoutineOp() { - pml_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CreateAdminRoutineOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CreateAdminRoutineOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - pml_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.routine.proto.RoutineProto.internal_static_CreateAdminRoutineOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.routine.proto.RoutineProto.internal_static_CreateAdminRoutineOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp.class, gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp.Builder.class); - } - - public static final int PML_FIELD_NUMBER = 1; - private volatile java.lang.Object pml_; - /** - * string pml = 1; - * @return The pml. - */ - @java.lang.Override - public java.lang.String getPml() { - java.lang.Object ref = pml_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pml_ = s; - return s; - } - } - /** - * string pml = 1; - * @return The bytes for pml. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getPmlBytes() { - java.lang.Object ref = pml_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - pml_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pml_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pml_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pml_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pml_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp other = (gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp) obj; - - if (!getPml() - .equals(other.getPml())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PML_FIELD_NUMBER; - hash = (53 * hash) + getPml().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code CreateAdminRoutineOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CreateAdminRoutineOp) - gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.routine.proto.RoutineProto.internal_static_CreateAdminRoutineOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.routine.proto.RoutineProto.internal_static_CreateAdminRoutineOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp.class, gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - pml_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.routine.proto.RoutineProto.internal_static_CreateAdminRoutineOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp build() { - gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp buildPartial() { - gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp result = new gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp(this); - result.pml_ = pml_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp other) { - if (other == gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp.getDefaultInstance()) return this; - if (!other.getPml().isEmpty()) { - pml_ = other.pml_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object pml_ = ""; - /** - * string pml = 1; - * @return The pml. - */ - public java.lang.String getPml() { - java.lang.Object ref = pml_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pml_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string pml = 1; - * @return The bytes for pml. - */ - public com.google.protobuf.ByteString - getPmlBytes() { - java.lang.Object ref = pml_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - pml_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string pml = 1; - * @param value The pml to set. - * @return This builder for chaining. - */ - public Builder setPml( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - pml_ = value; - onChanged(); - return this; - } - /** - * string pml = 1; - * @return This builder for chaining. - */ - public Builder clearPml() { - - pml_ = getDefaultInstance().getPml(); - onChanged(); - return this; - } - /** - * string pml = 1; - * @param value The bytes for pml to set. - * @return This builder for chaining. - */ - public Builder setPmlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - pml_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:CreateAdminRoutineOp) - } - - // @@protoc_insertion_point(class_scope:CreateAdminRoutineOp) - private static final gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp(); - } - - public static gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAdminRoutineOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateAdminRoutineOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/CreateAdminRoutineOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/CreateAdminRoutineOpOrBuilder.java deleted file mode 100644 index 9eb274095..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/CreateAdminRoutineOpOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: routine.proto - -package gov.nist.csd.pm.pap.op.routine.proto; - -public interface CreateAdminRoutineOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:CreateAdminRoutineOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string pml = 1; - * @return The pml. - */ - java.lang.String getPml(); - /** - * string pml = 1; - * @return The bytes for pml. - */ - com.google.protobuf.ByteString - getPmlBytes(); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/DeleteAdminRoutineOp.java b/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/DeleteAdminRoutineOp.java deleted file mode 100644 index 2ee59d9ab..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/DeleteAdminRoutineOp.java +++ /dev/null @@ -1,559 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: routine.proto - -package gov.nist.csd.pm.pap.op.routine.proto; - -/** - * Protobuf type {@code DeleteAdminRoutineOp} - */ -public final class DeleteAdminRoutineOp extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:DeleteAdminRoutineOp) - DeleteAdminRoutineOpOrBuilder { -private static final long serialVersionUID = 0L; - // Use DeleteAdminRoutineOp.newBuilder() to construct. - private DeleteAdminRoutineOp(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private DeleteAdminRoutineOp() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new DeleteAdminRoutineOp(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private DeleteAdminRoutineOp( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.routine.proto.RoutineProto.internal_static_DeleteAdminRoutineOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.routine.proto.RoutineProto.internal_static_DeleteAdminRoutineOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp.class, gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp)) { - return super.equals(obj); - } - gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp other = (gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code DeleteAdminRoutineOp} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:DeleteAdminRoutineOp) - gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOpOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return gov.nist.csd.pm.pap.op.routine.proto.RoutineProto.internal_static_DeleteAdminRoutineOp_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return gov.nist.csd.pm.pap.op.routine.proto.RoutineProto.internal_static_DeleteAdminRoutineOp_fieldAccessorTable - .ensureFieldAccessorsInitialized( - gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp.class, gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp.Builder.class); - } - - // Construct using gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return gov.nist.csd.pm.pap.op.routine.proto.RoutineProto.internal_static_DeleteAdminRoutineOp_descriptor; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp getDefaultInstanceForType() { - return gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp.getDefaultInstance(); - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp build() { - gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp buildPartial() { - gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp result = new gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp(this); - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp) { - return mergeFrom((gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp other) { - if (other == gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object name_ = ""; - /** - * string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:DeleteAdminRoutineOp) - } - - // @@protoc_insertion_point(class_scope:DeleteAdminRoutineOp) - private static final gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp(); - } - - public static gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAdminRoutineOp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAdminRoutineOp(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public gov.nist.csd.pm.pap.op.routine.proto.DeleteAdminRoutineOp getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - -} - diff --git a/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/DeleteAdminRoutineOpOrBuilder.java b/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/DeleteAdminRoutineOpOrBuilder.java deleted file mode 100644 index 24de6ab73..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/DeleteAdminRoutineOpOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: routine.proto - -package gov.nist.csd.pm.pap.op.routine.proto; - -public interface DeleteAdminRoutineOpOrBuilder extends - // @@protoc_insertion_point(interface_extends:DeleteAdminRoutineOp) - com.google.protobuf.MessageOrBuilder { - - /** - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/RoutineProto.java b/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/RoutineProto.java deleted file mode 100644 index 0ec455b12..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/op/routine/proto/RoutineProto.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: routine.proto - -package gov.nist.csd.pm.pap.op.routine.proto; - -public final class RoutineProto { - private RoutineProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_CreateAdminRoutineOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_CreateAdminRoutineOp_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_DeleteAdminRoutineOp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_DeleteAdminRoutineOp_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\rroutine.proto\"#\n\024CreateAdminRoutineOp\022" + - "\013\n\003pml\030\001 \001(\t\"$\n\024DeleteAdminRoutineOp\022\014\n\004" + - "name\030\001 \001(\tB6\n$gov.nist.csd.pm.pap.op.rou" + - "tine.protoB\014RoutineProtoP\001b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_CreateAdminRoutineOp_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_CreateAdminRoutineOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_CreateAdminRoutineOp_descriptor, - new java.lang.String[] { "Pml", }); - internal_static_DeleteAdminRoutineOp_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_DeleteAdminRoutineOp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_DeleteAdminRoutineOp_descriptor, - new java.lang.String[] { "Name", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLLexer.interp b/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLLexer.interp deleted file mode 100644 index c73cba751..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLLexer.interp +++ /dev/null @@ -1,278 +0,0 @@ -token literal names: -null -'operation' -'nodeop' -'check' -'routine' -'create' -'delete' -null -'contained' -'rule' -'when' -'performs' -'as' -'on' -'in' -'do' -'any' -'ascendant of' -null -'union' -'process' -'set resource operations' -'assign' -'deassign' -'from' -'set properties' -'with properties' -'of' -'to' -'associate' -'and' -'with' -'dissociate' -'deny' -'prohibition' -'obligation' -'access rights' -null -null -null -null -null -null -null -'attribute' -'associations' -'break' -'default' -'map' -'else' -'const' -'if' -'range' -'continue' -'foreach' -'return' -'var' -'string' -'bool' -'void' -'array' -'nil' -'true' -'false' -null -'(' -')' -'{' -'}' -'[' -']' -'=' -',' -';' -':' -'.' -':=' -'||' -'&&' -'==' -'!=' -'!' -'+' -null -null -null -null - -token symbolic names: -null -OPERATION -NODEOP -CHECK -ROUTINE -CREATE -DELETE -POLICY_ELEMENT -CONTAINED -RULE -WHEN -PERFORMS -AS -ON -IN -DO -ANY -ASCENDANT_OF -INTERSECTION -UNION -PROCESS -SET_RESOURCE_OPERATIONS -ASSIGN -DEASSIGN -FROM -SET_PROPERTIES -WITH_PROPERTIES -OF -TO -ASSOCIATE -AND -WITH -DISSOCIATE -DENY -PROHIBITION -OBLIGATION -ACCESS_RIGHTS -POLICY_CLASS -OBJECT_ATTRIBUTE -USER_ATTRIBUTE -USER_ATTRIBUTES -OBJECT_ATTRIBUTES -OBJECT -USER -ATTRIBUTE -ASSOCIATIONS -BREAK -DEFAULT -MAP -ELSE -CONST -IF -RANGE -CONTINUE -FOREACH -RETURN -VAR -STRING_TYPE -BOOL_TYPE -VOID_TYPE -ARRAY_TYPE -NIL_LIT -TRUE -FALSE -ID -OPEN_PAREN -CLOSE_PAREN -OPEN_CURLY -CLOSE_CURLY -OPEN_BRACKET -CLOSE_BRACKET -ASSIGN_EQUALS -COMMA -SEMI -COLON -DOT -DECLARE_ASSIGN -LOGICAL_OR -LOGICAL_AND -EQUALS -NOT_EQUALS -EXCLAMATION -PLUS -DOUBLE_QUOTE_STRING -WS -COMMENT -LINE_COMMENT - -rule names: -OPERATION -NODEOP -CHECK -ROUTINE -CREATE -DELETE -POLICY_ELEMENT -CONTAINED -RULE -WHEN -PERFORMS -AS -ON -IN -DO -ANY -ASCENDANT_OF -INTERSECTION -UNION -PROCESS -SET_RESOURCE_OPERATIONS -ASSIGN -DEASSIGN -FROM -SET_PROPERTIES -WITH_PROPERTIES -OF -TO -ASSOCIATE -AND -WITH -DISSOCIATE -DENY -PROHIBITION -OBLIGATION -ACCESS_RIGHTS -POLICY_CLASS -OBJECT_ATTRIBUTE -USER_ATTRIBUTE -USER_ATTRIBUTES -OBJECT_ATTRIBUTES -OBJECT -USER -ATTRIBUTE -ASSOCIATIONS -BREAK -DEFAULT -MAP -ELSE -CONST -IF -RANGE -CONTINUE -FOREACH -RETURN -VAR -STRING_TYPE -BOOL_TYPE -VOID_TYPE -ARRAY_TYPE -NIL_LIT -TRUE -FALSE -ID -OPEN_PAREN -CLOSE_PAREN -OPEN_CURLY -CLOSE_CURLY -OPEN_BRACKET -CLOSE_BRACKET -ASSIGN_EQUALS -COMMA -SEMI -COLON -DOT -DECLARE_ASSIGN -LOGICAL_OR -LOGICAL_AND -EQUALS -NOT_EQUALS -EXCLAMATION -PLUS -DOUBLE_QUOTE_STRING -WS -COMMENT -LINE_COMMENT -EscapeSequence -HexDigits -HexDigit - -channel names: -DEFAULT_TOKEN_CHANNEL -HIDDEN - -mode names: -DEFAULT_MODE - -atn: -[4, 0, 86, 862, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 3, 6, 241, 8, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 318, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 3, 36, 504, 8, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 526, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 546, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 569, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 3, 40, 594, 8, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 603, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 610, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 4, 63, 740, 8, 63, 11, 63, 12, 63, 741, 1, 64, 1, 64, 1, 65, 1, 65, 1, 66, 1, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 70, 1, 70, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 5, 82, 788, 8, 82, 10, 82, 12, 82, 791, 9, 82, 1, 82, 1, 82, 1, 83, 4, 83, 796, 8, 83, 11, 83, 12, 83, 797, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 84, 5, 84, 806, 8, 84, 10, 84, 12, 84, 809, 9, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 85, 5, 85, 820, 8, 85, 10, 85, 12, 85, 823, 9, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 86, 3, 86, 831, 8, 86, 1, 86, 3, 86, 834, 8, 86, 1, 86, 1, 86, 1, 86, 4, 86, 839, 8, 86, 11, 86, 12, 86, 840, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 3, 86, 848, 8, 86, 1, 87, 1, 87, 1, 87, 5, 87, 853, 8, 87, 10, 87, 12, 87, 856, 9, 87, 1, 87, 3, 87, 859, 8, 87, 1, 88, 1, 88, 1, 807, 0, 89, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 0, 175, 0, 177, 0, 1, 0, 10, 2, 0, 79, 79, 111, 111, 2, 0, 85, 85, 117, 117, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 3, 0, 9, 10, 12, 13, 32, 32, 2, 0, 10, 10, 13, 13, 8, 0, 34, 34, 39, 39, 92, 92, 98, 98, 102, 102, 110, 110, 114, 114, 116, 116, 1, 0, 48, 51, 1, 0, 48, 55, 3, 0, 48, 57, 65, 70, 97, 102, 886, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0, 0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 1, 179, 1, 0, 0, 0, 3, 189, 1, 0, 0, 0, 5, 196, 1, 0, 0, 0, 7, 202, 1, 0, 0, 0, 9, 210, 1, 0, 0, 0, 11, 217, 1, 0, 0, 0, 13, 240, 1, 0, 0, 0, 15, 242, 1, 0, 0, 0, 17, 252, 1, 0, 0, 0, 19, 257, 1, 0, 0, 0, 21, 262, 1, 0, 0, 0, 23, 271, 1, 0, 0, 0, 25, 274, 1, 0, 0, 0, 27, 277, 1, 0, 0, 0, 29, 280, 1, 0, 0, 0, 31, 283, 1, 0, 0, 0, 33, 287, 1, 0, 0, 0, 35, 317, 1, 0, 0, 0, 37, 319, 1, 0, 0, 0, 39, 325, 1, 0, 0, 0, 41, 333, 1, 0, 0, 0, 43, 357, 1, 0, 0, 0, 45, 364, 1, 0, 0, 0, 47, 373, 1, 0, 0, 0, 49, 378, 1, 0, 0, 0, 51, 393, 1, 0, 0, 0, 53, 409, 1, 0, 0, 0, 55, 412, 1, 0, 0, 0, 57, 415, 1, 0, 0, 0, 59, 425, 1, 0, 0, 0, 61, 429, 1, 0, 0, 0, 63, 434, 1, 0, 0, 0, 65, 445, 1, 0, 0, 0, 67, 450, 1, 0, 0, 0, 69, 462, 1, 0, 0, 0, 71, 473, 1, 0, 0, 0, 73, 503, 1, 0, 0, 0, 75, 525, 1, 0, 0, 0, 77, 545, 1, 0, 0, 0, 79, 568, 1, 0, 0, 0, 81, 593, 1, 0, 0, 0, 83, 602, 1, 0, 0, 0, 85, 609, 1, 0, 0, 0, 87, 611, 1, 0, 0, 0, 89, 621, 1, 0, 0, 0, 91, 634, 1, 0, 0, 0, 93, 640, 1, 0, 0, 0, 95, 648, 1, 0, 0, 0, 97, 652, 1, 0, 0, 0, 99, 657, 1, 0, 0, 0, 101, 663, 1, 0, 0, 0, 103, 666, 1, 0, 0, 0, 105, 672, 1, 0, 0, 0, 107, 681, 1, 0, 0, 0, 109, 689, 1, 0, 0, 0, 111, 696, 1, 0, 0, 0, 113, 700, 1, 0, 0, 0, 115, 707, 1, 0, 0, 0, 117, 712, 1, 0, 0, 0, 119, 717, 1, 0, 0, 0, 121, 723, 1, 0, 0, 0, 123, 727, 1, 0, 0, 0, 125, 732, 1, 0, 0, 0, 127, 739, 1, 0, 0, 0, 129, 743, 1, 0, 0, 0, 131, 745, 1, 0, 0, 0, 133, 747, 1, 0, 0, 0, 135, 749, 1, 0, 0, 0, 137, 751, 1, 0, 0, 0, 139, 753, 1, 0, 0, 0, 141, 755, 1, 0, 0, 0, 143, 757, 1, 0, 0, 0, 145, 759, 1, 0, 0, 0, 147, 761, 1, 0, 0, 0, 149, 763, 1, 0, 0, 0, 151, 765, 1, 0, 0, 0, 153, 768, 1, 0, 0, 0, 155, 771, 1, 0, 0, 0, 157, 774, 1, 0, 0, 0, 159, 777, 1, 0, 0, 0, 161, 780, 1, 0, 0, 0, 163, 782, 1, 0, 0, 0, 165, 784, 1, 0, 0, 0, 167, 795, 1, 0, 0, 0, 169, 801, 1, 0, 0, 0, 171, 815, 1, 0, 0, 0, 173, 847, 1, 0, 0, 0, 175, 849, 1, 0, 0, 0, 177, 860, 1, 0, 0, 0, 179, 180, 5, 111, 0, 0, 180, 181, 5, 112, 0, 0, 181, 182, 5, 101, 0, 0, 182, 183, 5, 114, 0, 0, 183, 184, 5, 97, 0, 0, 184, 185, 5, 116, 0, 0, 185, 186, 5, 105, 0, 0, 186, 187, 5, 111, 0, 0, 187, 188, 5, 110, 0, 0, 188, 2, 1, 0, 0, 0, 189, 190, 5, 110, 0, 0, 190, 191, 5, 111, 0, 0, 191, 192, 5, 100, 0, 0, 192, 193, 5, 101, 0, 0, 193, 194, 5, 111, 0, 0, 194, 195, 5, 112, 0, 0, 195, 4, 1, 0, 0, 0, 196, 197, 5, 99, 0, 0, 197, 198, 5, 104, 0, 0, 198, 199, 5, 101, 0, 0, 199, 200, 5, 99, 0, 0, 200, 201, 5, 107, 0, 0, 201, 6, 1, 0, 0, 0, 202, 203, 5, 114, 0, 0, 203, 204, 5, 111, 0, 0, 204, 205, 5, 117, 0, 0, 205, 206, 5, 116, 0, 0, 206, 207, 5, 105, 0, 0, 207, 208, 5, 110, 0, 0, 208, 209, 5, 101, 0, 0, 209, 8, 1, 0, 0, 0, 210, 211, 5, 99, 0, 0, 211, 212, 5, 114, 0, 0, 212, 213, 5, 101, 0, 0, 213, 214, 5, 97, 0, 0, 214, 215, 5, 116, 0, 0, 215, 216, 5, 101, 0, 0, 216, 10, 1, 0, 0, 0, 217, 218, 5, 100, 0, 0, 218, 219, 5, 101, 0, 0, 219, 220, 5, 108, 0, 0, 220, 221, 5, 101, 0, 0, 221, 222, 5, 116, 0, 0, 222, 223, 5, 101, 0, 0, 223, 12, 1, 0, 0, 0, 224, 225, 5, 112, 0, 0, 225, 226, 5, 111, 0, 0, 226, 227, 5, 108, 0, 0, 227, 228, 5, 105, 0, 0, 228, 229, 5, 99, 0, 0, 229, 230, 5, 121, 0, 0, 230, 231, 5, 32, 0, 0, 231, 232, 5, 101, 0, 0, 232, 233, 5, 108, 0, 0, 233, 234, 5, 101, 0, 0, 234, 235, 5, 109, 0, 0, 235, 236, 5, 101, 0, 0, 236, 237, 5, 110, 0, 0, 237, 241, 5, 116, 0, 0, 238, 239, 5, 112, 0, 0, 239, 241, 5, 101, 0, 0, 240, 224, 1, 0, 0, 0, 240, 238, 1, 0, 0, 0, 241, 14, 1, 0, 0, 0, 242, 243, 5, 99, 0, 0, 243, 244, 5, 111, 0, 0, 244, 245, 5, 110, 0, 0, 245, 246, 5, 116, 0, 0, 246, 247, 5, 97, 0, 0, 247, 248, 5, 105, 0, 0, 248, 249, 5, 110, 0, 0, 249, 250, 5, 101, 0, 0, 250, 251, 5, 100, 0, 0, 251, 16, 1, 0, 0, 0, 252, 253, 5, 114, 0, 0, 253, 254, 5, 117, 0, 0, 254, 255, 5, 108, 0, 0, 255, 256, 5, 101, 0, 0, 256, 18, 1, 0, 0, 0, 257, 258, 5, 119, 0, 0, 258, 259, 5, 104, 0, 0, 259, 260, 5, 101, 0, 0, 260, 261, 5, 110, 0, 0, 261, 20, 1, 0, 0, 0, 262, 263, 5, 112, 0, 0, 263, 264, 5, 101, 0, 0, 264, 265, 5, 114, 0, 0, 265, 266, 5, 102, 0, 0, 266, 267, 5, 111, 0, 0, 267, 268, 5, 114, 0, 0, 268, 269, 5, 109, 0, 0, 269, 270, 5, 115, 0, 0, 270, 22, 1, 0, 0, 0, 271, 272, 5, 97, 0, 0, 272, 273, 5, 115, 0, 0, 273, 24, 1, 0, 0, 0, 274, 275, 5, 111, 0, 0, 275, 276, 5, 110, 0, 0, 276, 26, 1, 0, 0, 0, 277, 278, 5, 105, 0, 0, 278, 279, 5, 110, 0, 0, 279, 28, 1, 0, 0, 0, 280, 281, 5, 100, 0, 0, 281, 282, 5, 111, 0, 0, 282, 30, 1, 0, 0, 0, 283, 284, 5, 97, 0, 0, 284, 285, 5, 110, 0, 0, 285, 286, 5, 121, 0, 0, 286, 32, 1, 0, 0, 0, 287, 288, 5, 97, 0, 0, 288, 289, 5, 115, 0, 0, 289, 290, 5, 99, 0, 0, 290, 291, 5, 101, 0, 0, 291, 292, 5, 110, 0, 0, 292, 293, 5, 100, 0, 0, 293, 294, 5, 97, 0, 0, 294, 295, 5, 110, 0, 0, 295, 296, 5, 116, 0, 0, 296, 297, 5, 32, 0, 0, 297, 298, 5, 111, 0, 0, 298, 299, 5, 102, 0, 0, 299, 34, 1, 0, 0, 0, 300, 301, 5, 105, 0, 0, 301, 302, 5, 110, 0, 0, 302, 303, 5, 116, 0, 0, 303, 304, 5, 101, 0, 0, 304, 305, 5, 114, 0, 0, 305, 306, 5, 115, 0, 0, 306, 307, 5, 101, 0, 0, 307, 308, 5, 99, 0, 0, 308, 309, 5, 116, 0, 0, 309, 310, 5, 105, 0, 0, 310, 311, 5, 111, 0, 0, 311, 318, 5, 110, 0, 0, 312, 313, 5, 105, 0, 0, 313, 314, 5, 110, 0, 0, 314, 315, 5, 116, 0, 0, 315, 316, 5, 101, 0, 0, 316, 318, 5, 114, 0, 0, 317, 300, 1, 0, 0, 0, 317, 312, 1, 0, 0, 0, 318, 36, 1, 0, 0, 0, 319, 320, 5, 117, 0, 0, 320, 321, 5, 110, 0, 0, 321, 322, 5, 105, 0, 0, 322, 323, 5, 111, 0, 0, 323, 324, 5, 110, 0, 0, 324, 38, 1, 0, 0, 0, 325, 326, 5, 112, 0, 0, 326, 327, 5, 114, 0, 0, 327, 328, 5, 111, 0, 0, 328, 329, 5, 99, 0, 0, 329, 330, 5, 101, 0, 0, 330, 331, 5, 115, 0, 0, 331, 332, 5, 115, 0, 0, 332, 40, 1, 0, 0, 0, 333, 334, 5, 115, 0, 0, 334, 335, 5, 101, 0, 0, 335, 336, 5, 116, 0, 0, 336, 337, 5, 32, 0, 0, 337, 338, 5, 114, 0, 0, 338, 339, 5, 101, 0, 0, 339, 340, 5, 115, 0, 0, 340, 341, 5, 111, 0, 0, 341, 342, 5, 117, 0, 0, 342, 343, 5, 114, 0, 0, 343, 344, 5, 99, 0, 0, 344, 345, 5, 101, 0, 0, 345, 346, 5, 32, 0, 0, 346, 347, 5, 111, 0, 0, 347, 348, 5, 112, 0, 0, 348, 349, 5, 101, 0, 0, 349, 350, 5, 114, 0, 0, 350, 351, 5, 97, 0, 0, 351, 352, 5, 116, 0, 0, 352, 353, 5, 105, 0, 0, 353, 354, 5, 111, 0, 0, 354, 355, 5, 110, 0, 0, 355, 356, 5, 115, 0, 0, 356, 42, 1, 0, 0, 0, 357, 358, 5, 97, 0, 0, 358, 359, 5, 115, 0, 0, 359, 360, 5, 115, 0, 0, 360, 361, 5, 105, 0, 0, 361, 362, 5, 103, 0, 0, 362, 363, 5, 110, 0, 0, 363, 44, 1, 0, 0, 0, 364, 365, 5, 100, 0, 0, 365, 366, 5, 101, 0, 0, 366, 367, 5, 97, 0, 0, 367, 368, 5, 115, 0, 0, 368, 369, 5, 115, 0, 0, 369, 370, 5, 105, 0, 0, 370, 371, 5, 103, 0, 0, 371, 372, 5, 110, 0, 0, 372, 46, 1, 0, 0, 0, 373, 374, 5, 102, 0, 0, 374, 375, 5, 114, 0, 0, 375, 376, 5, 111, 0, 0, 376, 377, 5, 109, 0, 0, 377, 48, 1, 0, 0, 0, 378, 379, 5, 115, 0, 0, 379, 380, 5, 101, 0, 0, 380, 381, 5, 116, 0, 0, 381, 382, 5, 32, 0, 0, 382, 383, 5, 112, 0, 0, 383, 384, 5, 114, 0, 0, 384, 385, 5, 111, 0, 0, 385, 386, 5, 112, 0, 0, 386, 387, 5, 101, 0, 0, 387, 388, 5, 114, 0, 0, 388, 389, 5, 116, 0, 0, 389, 390, 5, 105, 0, 0, 390, 391, 5, 101, 0, 0, 391, 392, 5, 115, 0, 0, 392, 50, 1, 0, 0, 0, 393, 394, 5, 119, 0, 0, 394, 395, 5, 105, 0, 0, 395, 396, 5, 116, 0, 0, 396, 397, 5, 104, 0, 0, 397, 398, 5, 32, 0, 0, 398, 399, 5, 112, 0, 0, 399, 400, 5, 114, 0, 0, 400, 401, 5, 111, 0, 0, 401, 402, 5, 112, 0, 0, 402, 403, 5, 101, 0, 0, 403, 404, 5, 114, 0, 0, 404, 405, 5, 116, 0, 0, 405, 406, 5, 105, 0, 0, 406, 407, 5, 101, 0, 0, 407, 408, 5, 115, 0, 0, 408, 52, 1, 0, 0, 0, 409, 410, 5, 111, 0, 0, 410, 411, 5, 102, 0, 0, 411, 54, 1, 0, 0, 0, 412, 413, 5, 116, 0, 0, 413, 414, 5, 111, 0, 0, 414, 56, 1, 0, 0, 0, 415, 416, 5, 97, 0, 0, 416, 417, 5, 115, 0, 0, 417, 418, 5, 115, 0, 0, 418, 419, 5, 111, 0, 0, 419, 420, 5, 99, 0, 0, 420, 421, 5, 105, 0, 0, 421, 422, 5, 97, 0, 0, 422, 423, 5, 116, 0, 0, 423, 424, 5, 101, 0, 0, 424, 58, 1, 0, 0, 0, 425, 426, 5, 97, 0, 0, 426, 427, 5, 110, 0, 0, 427, 428, 5, 100, 0, 0, 428, 60, 1, 0, 0, 0, 429, 430, 5, 119, 0, 0, 430, 431, 5, 105, 0, 0, 431, 432, 5, 116, 0, 0, 432, 433, 5, 104, 0, 0, 433, 62, 1, 0, 0, 0, 434, 435, 5, 100, 0, 0, 435, 436, 5, 105, 0, 0, 436, 437, 5, 115, 0, 0, 437, 438, 5, 115, 0, 0, 438, 439, 5, 111, 0, 0, 439, 440, 5, 99, 0, 0, 440, 441, 5, 105, 0, 0, 441, 442, 5, 97, 0, 0, 442, 443, 5, 116, 0, 0, 443, 444, 5, 101, 0, 0, 444, 64, 1, 0, 0, 0, 445, 446, 5, 100, 0, 0, 446, 447, 5, 101, 0, 0, 447, 448, 5, 110, 0, 0, 448, 449, 5, 121, 0, 0, 449, 66, 1, 0, 0, 0, 450, 451, 5, 112, 0, 0, 451, 452, 5, 114, 0, 0, 452, 453, 5, 111, 0, 0, 453, 454, 5, 104, 0, 0, 454, 455, 5, 105, 0, 0, 455, 456, 5, 98, 0, 0, 456, 457, 5, 105, 0, 0, 457, 458, 5, 116, 0, 0, 458, 459, 5, 105, 0, 0, 459, 460, 5, 111, 0, 0, 460, 461, 5, 110, 0, 0, 461, 68, 1, 0, 0, 0, 462, 463, 5, 111, 0, 0, 463, 464, 5, 98, 0, 0, 464, 465, 5, 108, 0, 0, 465, 466, 5, 105, 0, 0, 466, 467, 5, 103, 0, 0, 467, 468, 5, 97, 0, 0, 468, 469, 5, 116, 0, 0, 469, 470, 5, 105, 0, 0, 470, 471, 5, 111, 0, 0, 471, 472, 5, 110, 0, 0, 472, 70, 1, 0, 0, 0, 473, 474, 5, 97, 0, 0, 474, 475, 5, 99, 0, 0, 475, 476, 5, 99, 0, 0, 476, 477, 5, 101, 0, 0, 477, 478, 5, 115, 0, 0, 478, 479, 5, 115, 0, 0, 479, 480, 5, 32, 0, 0, 480, 481, 5, 114, 0, 0, 481, 482, 5, 105, 0, 0, 482, 483, 5, 103, 0, 0, 483, 484, 5, 104, 0, 0, 484, 485, 5, 116, 0, 0, 485, 486, 5, 115, 0, 0, 486, 72, 1, 0, 0, 0, 487, 488, 5, 112, 0, 0, 488, 489, 5, 111, 0, 0, 489, 490, 5, 108, 0, 0, 490, 491, 5, 105, 0, 0, 491, 492, 5, 99, 0, 0, 492, 493, 5, 121, 0, 0, 493, 494, 5, 32, 0, 0, 494, 495, 5, 99, 0, 0, 495, 496, 5, 108, 0, 0, 496, 497, 5, 97, 0, 0, 497, 498, 5, 115, 0, 0, 498, 504, 5, 115, 0, 0, 499, 500, 5, 112, 0, 0, 500, 504, 5, 99, 0, 0, 501, 502, 5, 80, 0, 0, 502, 504, 5, 67, 0, 0, 503, 487, 1, 0, 0, 0, 503, 499, 1, 0, 0, 0, 503, 501, 1, 0, 0, 0, 504, 74, 1, 0, 0, 0, 505, 506, 5, 111, 0, 0, 506, 507, 5, 98, 0, 0, 507, 508, 5, 106, 0, 0, 508, 509, 5, 101, 0, 0, 509, 510, 5, 99, 0, 0, 510, 511, 5, 116, 0, 0, 511, 512, 5, 32, 0, 0, 512, 513, 5, 97, 0, 0, 513, 514, 5, 116, 0, 0, 514, 515, 5, 116, 0, 0, 515, 516, 5, 114, 0, 0, 516, 517, 5, 105, 0, 0, 517, 518, 5, 98, 0, 0, 518, 519, 5, 117, 0, 0, 519, 520, 5, 116, 0, 0, 520, 526, 5, 101, 0, 0, 521, 522, 5, 111, 0, 0, 522, 526, 5, 97, 0, 0, 523, 524, 5, 79, 0, 0, 524, 526, 5, 65, 0, 0, 525, 505, 1, 0, 0, 0, 525, 521, 1, 0, 0, 0, 525, 523, 1, 0, 0, 0, 526, 76, 1, 0, 0, 0, 527, 528, 5, 117, 0, 0, 528, 529, 5, 115, 0, 0, 529, 530, 5, 101, 0, 0, 530, 531, 5, 114, 0, 0, 531, 532, 5, 32, 0, 0, 532, 533, 5, 97, 0, 0, 533, 534, 5, 116, 0, 0, 534, 535, 5, 116, 0, 0, 535, 536, 5, 114, 0, 0, 536, 537, 5, 105, 0, 0, 537, 538, 5, 98, 0, 0, 538, 539, 5, 117, 0, 0, 539, 540, 5, 116, 0, 0, 540, 546, 5, 101, 0, 0, 541, 542, 5, 117, 0, 0, 542, 546, 5, 97, 0, 0, 543, 544, 5, 85, 0, 0, 544, 546, 5, 65, 0, 0, 545, 527, 1, 0, 0, 0, 545, 541, 1, 0, 0, 0, 545, 543, 1, 0, 0, 0, 546, 78, 1, 0, 0, 0, 547, 548, 5, 117, 0, 0, 548, 549, 5, 115, 0, 0, 549, 550, 5, 101, 0, 0, 550, 551, 5, 114, 0, 0, 551, 552, 5, 32, 0, 0, 552, 553, 5, 97, 0, 0, 553, 554, 5, 116, 0, 0, 554, 555, 5, 116, 0, 0, 555, 556, 5, 114, 0, 0, 556, 557, 5, 105, 0, 0, 557, 558, 5, 98, 0, 0, 558, 559, 5, 117, 0, 0, 559, 560, 5, 116, 0, 0, 560, 561, 5, 101, 0, 0, 561, 569, 5, 115, 0, 0, 562, 563, 5, 117, 0, 0, 563, 564, 5, 97, 0, 0, 564, 569, 5, 115, 0, 0, 565, 566, 5, 85, 0, 0, 566, 567, 5, 65, 0, 0, 567, 569, 5, 115, 0, 0, 568, 547, 1, 0, 0, 0, 568, 562, 1, 0, 0, 0, 568, 565, 1, 0, 0, 0, 569, 80, 1, 0, 0, 0, 570, 571, 5, 111, 0, 0, 571, 572, 5, 98, 0, 0, 572, 573, 5, 106, 0, 0, 573, 574, 5, 101, 0, 0, 574, 575, 5, 99, 0, 0, 575, 576, 5, 116, 0, 0, 576, 577, 5, 32, 0, 0, 577, 578, 5, 97, 0, 0, 578, 579, 5, 116, 0, 0, 579, 580, 5, 116, 0, 0, 580, 581, 5, 114, 0, 0, 581, 582, 5, 105, 0, 0, 582, 583, 5, 98, 0, 0, 583, 584, 5, 117, 0, 0, 584, 585, 5, 116, 0, 0, 585, 586, 5, 101, 0, 0, 586, 594, 5, 115, 0, 0, 587, 588, 5, 111, 0, 0, 588, 589, 5, 97, 0, 0, 589, 594, 5, 115, 0, 0, 590, 591, 5, 79, 0, 0, 591, 592, 5, 65, 0, 0, 592, 594, 5, 115, 0, 0, 593, 570, 1, 0, 0, 0, 593, 587, 1, 0, 0, 0, 593, 590, 1, 0, 0, 0, 594, 82, 1, 0, 0, 0, 595, 596, 5, 111, 0, 0, 596, 597, 5, 98, 0, 0, 597, 598, 5, 106, 0, 0, 598, 599, 5, 101, 0, 0, 599, 600, 5, 99, 0, 0, 600, 603, 5, 116, 0, 0, 601, 603, 7, 0, 0, 0, 602, 595, 1, 0, 0, 0, 602, 601, 1, 0, 0, 0, 603, 84, 1, 0, 0, 0, 604, 605, 5, 117, 0, 0, 605, 606, 5, 115, 0, 0, 606, 607, 5, 101, 0, 0, 607, 610, 5, 114, 0, 0, 608, 610, 7, 1, 0, 0, 609, 604, 1, 0, 0, 0, 609, 608, 1, 0, 0, 0, 610, 86, 1, 0, 0, 0, 611, 612, 5, 97, 0, 0, 612, 613, 5, 116, 0, 0, 613, 614, 5, 116, 0, 0, 614, 615, 5, 114, 0, 0, 615, 616, 5, 105, 0, 0, 616, 617, 5, 98, 0, 0, 617, 618, 5, 117, 0, 0, 618, 619, 5, 116, 0, 0, 619, 620, 5, 101, 0, 0, 620, 88, 1, 0, 0, 0, 621, 622, 5, 97, 0, 0, 622, 623, 5, 115, 0, 0, 623, 624, 5, 115, 0, 0, 624, 625, 5, 111, 0, 0, 625, 626, 5, 99, 0, 0, 626, 627, 5, 105, 0, 0, 627, 628, 5, 97, 0, 0, 628, 629, 5, 116, 0, 0, 629, 630, 5, 105, 0, 0, 630, 631, 5, 111, 0, 0, 631, 632, 5, 110, 0, 0, 632, 633, 5, 115, 0, 0, 633, 90, 1, 0, 0, 0, 634, 635, 5, 98, 0, 0, 635, 636, 5, 114, 0, 0, 636, 637, 5, 101, 0, 0, 637, 638, 5, 97, 0, 0, 638, 639, 5, 107, 0, 0, 639, 92, 1, 0, 0, 0, 640, 641, 5, 100, 0, 0, 641, 642, 5, 101, 0, 0, 642, 643, 5, 102, 0, 0, 643, 644, 5, 97, 0, 0, 644, 645, 5, 117, 0, 0, 645, 646, 5, 108, 0, 0, 646, 647, 5, 116, 0, 0, 647, 94, 1, 0, 0, 0, 648, 649, 5, 109, 0, 0, 649, 650, 5, 97, 0, 0, 650, 651, 5, 112, 0, 0, 651, 96, 1, 0, 0, 0, 652, 653, 5, 101, 0, 0, 653, 654, 5, 108, 0, 0, 654, 655, 5, 115, 0, 0, 655, 656, 5, 101, 0, 0, 656, 98, 1, 0, 0, 0, 657, 658, 5, 99, 0, 0, 658, 659, 5, 111, 0, 0, 659, 660, 5, 110, 0, 0, 660, 661, 5, 115, 0, 0, 661, 662, 5, 116, 0, 0, 662, 100, 1, 0, 0, 0, 663, 664, 5, 105, 0, 0, 664, 665, 5, 102, 0, 0, 665, 102, 1, 0, 0, 0, 666, 667, 5, 114, 0, 0, 667, 668, 5, 97, 0, 0, 668, 669, 5, 110, 0, 0, 669, 670, 5, 103, 0, 0, 670, 671, 5, 101, 0, 0, 671, 104, 1, 0, 0, 0, 672, 673, 5, 99, 0, 0, 673, 674, 5, 111, 0, 0, 674, 675, 5, 110, 0, 0, 675, 676, 5, 116, 0, 0, 676, 677, 5, 105, 0, 0, 677, 678, 5, 110, 0, 0, 678, 679, 5, 117, 0, 0, 679, 680, 5, 101, 0, 0, 680, 106, 1, 0, 0, 0, 681, 682, 5, 102, 0, 0, 682, 683, 5, 111, 0, 0, 683, 684, 5, 114, 0, 0, 684, 685, 5, 101, 0, 0, 685, 686, 5, 97, 0, 0, 686, 687, 5, 99, 0, 0, 687, 688, 5, 104, 0, 0, 688, 108, 1, 0, 0, 0, 689, 690, 5, 114, 0, 0, 690, 691, 5, 101, 0, 0, 691, 692, 5, 116, 0, 0, 692, 693, 5, 117, 0, 0, 693, 694, 5, 114, 0, 0, 694, 695, 5, 110, 0, 0, 695, 110, 1, 0, 0, 0, 696, 697, 5, 118, 0, 0, 697, 698, 5, 97, 0, 0, 698, 699, 5, 114, 0, 0, 699, 112, 1, 0, 0, 0, 700, 701, 5, 115, 0, 0, 701, 702, 5, 116, 0, 0, 702, 703, 5, 114, 0, 0, 703, 704, 5, 105, 0, 0, 704, 705, 5, 110, 0, 0, 705, 706, 5, 103, 0, 0, 706, 114, 1, 0, 0, 0, 707, 708, 5, 98, 0, 0, 708, 709, 5, 111, 0, 0, 709, 710, 5, 111, 0, 0, 710, 711, 5, 108, 0, 0, 711, 116, 1, 0, 0, 0, 712, 713, 5, 118, 0, 0, 713, 714, 5, 111, 0, 0, 714, 715, 5, 105, 0, 0, 715, 716, 5, 100, 0, 0, 716, 118, 1, 0, 0, 0, 717, 718, 5, 97, 0, 0, 718, 719, 5, 114, 0, 0, 719, 720, 5, 114, 0, 0, 720, 721, 5, 97, 0, 0, 721, 722, 5, 121, 0, 0, 722, 120, 1, 0, 0, 0, 723, 724, 5, 110, 0, 0, 724, 725, 5, 105, 0, 0, 725, 726, 5, 108, 0, 0, 726, 122, 1, 0, 0, 0, 727, 728, 5, 116, 0, 0, 728, 729, 5, 114, 0, 0, 729, 730, 5, 117, 0, 0, 730, 731, 5, 101, 0, 0, 731, 124, 1, 0, 0, 0, 732, 733, 5, 102, 0, 0, 733, 734, 5, 97, 0, 0, 734, 735, 5, 108, 0, 0, 735, 736, 5, 115, 0, 0, 736, 737, 5, 101, 0, 0, 737, 126, 1, 0, 0, 0, 738, 740, 7, 2, 0, 0, 739, 738, 1, 0, 0, 0, 740, 741, 1, 0, 0, 0, 741, 739, 1, 0, 0, 0, 741, 742, 1, 0, 0, 0, 742, 128, 1, 0, 0, 0, 743, 744, 5, 40, 0, 0, 744, 130, 1, 0, 0, 0, 745, 746, 5, 41, 0, 0, 746, 132, 1, 0, 0, 0, 747, 748, 5, 123, 0, 0, 748, 134, 1, 0, 0, 0, 749, 750, 5, 125, 0, 0, 750, 136, 1, 0, 0, 0, 751, 752, 5, 91, 0, 0, 752, 138, 1, 0, 0, 0, 753, 754, 5, 93, 0, 0, 754, 140, 1, 0, 0, 0, 755, 756, 5, 61, 0, 0, 756, 142, 1, 0, 0, 0, 757, 758, 5, 44, 0, 0, 758, 144, 1, 0, 0, 0, 759, 760, 5, 59, 0, 0, 760, 146, 1, 0, 0, 0, 761, 762, 5, 58, 0, 0, 762, 148, 1, 0, 0, 0, 763, 764, 5, 46, 0, 0, 764, 150, 1, 0, 0, 0, 765, 766, 5, 58, 0, 0, 766, 767, 5, 61, 0, 0, 767, 152, 1, 0, 0, 0, 768, 769, 5, 124, 0, 0, 769, 770, 5, 124, 0, 0, 770, 154, 1, 0, 0, 0, 771, 772, 5, 38, 0, 0, 772, 773, 5, 38, 0, 0, 773, 156, 1, 0, 0, 0, 774, 775, 5, 61, 0, 0, 775, 776, 5, 61, 0, 0, 776, 158, 1, 0, 0, 0, 777, 778, 5, 33, 0, 0, 778, 779, 5, 61, 0, 0, 779, 160, 1, 0, 0, 0, 780, 781, 5, 33, 0, 0, 781, 162, 1, 0, 0, 0, 782, 783, 5, 43, 0, 0, 783, 164, 1, 0, 0, 0, 784, 789, 5, 34, 0, 0, 785, 788, 8, 3, 0, 0, 786, 788, 3, 173, 86, 0, 787, 785, 1, 0, 0, 0, 787, 786, 1, 0, 0, 0, 788, 791, 1, 0, 0, 0, 789, 787, 1, 0, 0, 0, 789, 790, 1, 0, 0, 0, 790, 792, 1, 0, 0, 0, 791, 789, 1, 0, 0, 0, 792, 793, 5, 34, 0, 0, 793, 166, 1, 0, 0, 0, 794, 796, 7, 4, 0, 0, 795, 794, 1, 0, 0, 0, 796, 797, 1, 0, 0, 0, 797, 795, 1, 0, 0, 0, 797, 798, 1, 0, 0, 0, 798, 799, 1, 0, 0, 0, 799, 800, 6, 83, 0, 0, 800, 168, 1, 0, 0, 0, 801, 802, 5, 47, 0, 0, 802, 803, 5, 42, 0, 0, 803, 807, 1, 0, 0, 0, 804, 806, 9, 0, 0, 0, 805, 804, 1, 0, 0, 0, 806, 809, 1, 0, 0, 0, 807, 808, 1, 0, 0, 0, 807, 805, 1, 0, 0, 0, 808, 810, 1, 0, 0, 0, 809, 807, 1, 0, 0, 0, 810, 811, 5, 42, 0, 0, 811, 812, 5, 47, 0, 0, 812, 813, 1, 0, 0, 0, 813, 814, 6, 84, 0, 0, 814, 170, 1, 0, 0, 0, 815, 816, 5, 47, 0, 0, 816, 817, 5, 47, 0, 0, 817, 821, 1, 0, 0, 0, 818, 820, 8, 5, 0, 0, 819, 818, 1, 0, 0, 0, 820, 823, 1, 0, 0, 0, 821, 819, 1, 0, 0, 0, 821, 822, 1, 0, 0, 0, 822, 824, 1, 0, 0, 0, 823, 821, 1, 0, 0, 0, 824, 825, 6, 85, 0, 0, 825, 172, 1, 0, 0, 0, 826, 827, 5, 92, 0, 0, 827, 848, 7, 6, 0, 0, 828, 833, 5, 92, 0, 0, 829, 831, 7, 7, 0, 0, 830, 829, 1, 0, 0, 0, 830, 831, 1, 0, 0, 0, 831, 832, 1, 0, 0, 0, 832, 834, 7, 8, 0, 0, 833, 830, 1, 0, 0, 0, 833, 834, 1, 0, 0, 0, 834, 835, 1, 0, 0, 0, 835, 848, 7, 8, 0, 0, 836, 838, 5, 92, 0, 0, 837, 839, 5, 117, 0, 0, 838, 837, 1, 0, 0, 0, 839, 840, 1, 0, 0, 0, 840, 838, 1, 0, 0, 0, 840, 841, 1, 0, 0, 0, 841, 842, 1, 0, 0, 0, 842, 843, 3, 177, 88, 0, 843, 844, 3, 177, 88, 0, 844, 845, 3, 177, 88, 0, 845, 846, 3, 177, 88, 0, 846, 848, 1, 0, 0, 0, 847, 826, 1, 0, 0, 0, 847, 828, 1, 0, 0, 0, 847, 836, 1, 0, 0, 0, 848, 174, 1, 0, 0, 0, 849, 858, 3, 177, 88, 0, 850, 853, 3, 177, 88, 0, 851, 853, 5, 95, 0, 0, 852, 850, 1, 0, 0, 0, 852, 851, 1, 0, 0, 0, 853, 856, 1, 0, 0, 0, 854, 852, 1, 0, 0, 0, 854, 855, 1, 0, 0, 0, 855, 857, 1, 0, 0, 0, 856, 854, 1, 0, 0, 0, 857, 859, 3, 177, 88, 0, 858, 854, 1, 0, 0, 0, 858, 859, 1, 0, 0, 0, 859, 176, 1, 0, 0, 0, 860, 861, 7, 9, 0, 0, 861, 178, 1, 0, 0, 0, 23, 0, 240, 317, 503, 525, 545, 568, 593, 602, 609, 741, 787, 789, 797, 807, 821, 830, 833, 840, 847, 852, 854, 858, 1, 0, 1, 0] \ No newline at end of file diff --git a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLLexer.java b/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLLexer.java deleted file mode 100644 index ac9598478..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLLexer.java +++ /dev/null @@ -1,679 +0,0 @@ -// Generated from PMLLexer.g4 by ANTLR 4.13.1 -package gov.nist.csd.pm.pap.pml.antlr; -import org.antlr.v4.runtime.Lexer; -import org.antlr.v4.runtime.CharStream; -import org.antlr.v4.runtime.Token; -import org.antlr.v4.runtime.TokenStream; -import org.antlr.v4.runtime.*; -import org.antlr.v4.runtime.atn.*; -import org.antlr.v4.runtime.dfa.DFA; -import org.antlr.v4.runtime.misc.*; - -@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue", "this-escape"}) -public class PMLLexer extends Lexer { - static { RuntimeMetaData.checkVersion("4.13.1", RuntimeMetaData.VERSION); } - - protected static final DFA[] _decisionToDFA; - protected static final PredictionContextCache _sharedContextCache = - new PredictionContextCache(); - public static final int - OPERATION=1, NODEOP=2, CHECK=3, ROUTINE=4, CREATE=5, DELETE=6, POLICY_ELEMENT=7, - CONTAINED=8, RULE=9, WHEN=10, PERFORMS=11, AS=12, ON=13, IN=14, DO=15, - ANY=16, ASCENDANT_OF=17, INTERSECTION=18, UNION=19, PROCESS=20, SET_RESOURCE_OPERATIONS=21, - ASSIGN=22, DEASSIGN=23, FROM=24, SET_PROPERTIES=25, WITH_PROPERTIES=26, - OF=27, TO=28, ASSOCIATE=29, AND=30, WITH=31, DISSOCIATE=32, DENY=33, PROHIBITION=34, - OBLIGATION=35, ACCESS_RIGHTS=36, POLICY_CLASS=37, OBJECT_ATTRIBUTE=38, - USER_ATTRIBUTE=39, USER_ATTRIBUTES=40, OBJECT_ATTRIBUTES=41, OBJECT=42, - USER=43, ATTRIBUTE=44, ASSOCIATIONS=45, BREAK=46, DEFAULT=47, MAP=48, - ELSE=49, CONST=50, IF=51, RANGE=52, CONTINUE=53, FOREACH=54, RETURN=55, - VAR=56, STRING_TYPE=57, BOOL_TYPE=58, VOID_TYPE=59, ARRAY_TYPE=60, NIL_LIT=61, - TRUE=62, FALSE=63, ID=64, OPEN_PAREN=65, CLOSE_PAREN=66, OPEN_CURLY=67, - CLOSE_CURLY=68, OPEN_BRACKET=69, CLOSE_BRACKET=70, ASSIGN_EQUALS=71, COMMA=72, - SEMI=73, COLON=74, DOT=75, DECLARE_ASSIGN=76, LOGICAL_OR=77, LOGICAL_AND=78, - EQUALS=79, NOT_EQUALS=80, EXCLAMATION=81, PLUS=82, DOUBLE_QUOTE_STRING=83, - WS=84, COMMENT=85, LINE_COMMENT=86; - public static String[] channelNames = { - "DEFAULT_TOKEN_CHANNEL", "HIDDEN" - }; - - public static String[] modeNames = { - "DEFAULT_MODE" - }; - - private static String[] makeRuleNames() { - return new String[] { - "OPERATION", "NODEOP", "CHECK", "ROUTINE", "CREATE", "DELETE", "POLICY_ELEMENT", - "CONTAINED", "RULE", "WHEN", "PERFORMS", "AS", "ON", "IN", "DO", "ANY", - "ASCENDANT_OF", "INTERSECTION", "UNION", "PROCESS", "SET_RESOURCE_OPERATIONS", - "ASSIGN", "DEASSIGN", "FROM", "SET_PROPERTIES", "WITH_PROPERTIES", "OF", - "TO", "ASSOCIATE", "AND", "WITH", "DISSOCIATE", "DENY", "PROHIBITION", - "OBLIGATION", "ACCESS_RIGHTS", "POLICY_CLASS", "OBJECT_ATTRIBUTE", "USER_ATTRIBUTE", - "USER_ATTRIBUTES", "OBJECT_ATTRIBUTES", "OBJECT", "USER", "ATTRIBUTE", - "ASSOCIATIONS", "BREAK", "DEFAULT", "MAP", "ELSE", "CONST", "IF", "RANGE", - "CONTINUE", "FOREACH", "RETURN", "VAR", "STRING_TYPE", "BOOL_TYPE", "VOID_TYPE", - "ARRAY_TYPE", "NIL_LIT", "TRUE", "FALSE", "ID", "OPEN_PAREN", "CLOSE_PAREN", - "OPEN_CURLY", "CLOSE_CURLY", "OPEN_BRACKET", "CLOSE_BRACKET", "ASSIGN_EQUALS", - "COMMA", "SEMI", "COLON", "DOT", "DECLARE_ASSIGN", "LOGICAL_OR", "LOGICAL_AND", - "EQUALS", "NOT_EQUALS", "EXCLAMATION", "PLUS", "DOUBLE_QUOTE_STRING", - "WS", "COMMENT", "LINE_COMMENT", "EscapeSequence", "HexDigits", "HexDigit" - }; - } - public static final String[] ruleNames = makeRuleNames(); - - private static String[] makeLiteralNames() { - return new String[] { - null, "'operation'", "'nodeop'", "'check'", "'routine'", "'create'", - "'delete'", null, "'contained'", "'rule'", "'when'", "'performs'", "'as'", - "'on'", "'in'", "'do'", "'any'", "'ascendant of'", null, "'union'", "'process'", - "'set resource operations'", "'assign'", "'deassign'", "'from'", "'set properties'", - "'with properties'", "'of'", "'to'", "'associate'", "'and'", "'with'", - "'dissociate'", "'deny'", "'prohibition'", "'obligation'", "'access rights'", - null, null, null, null, null, null, null, "'attribute'", "'associations'", - "'break'", "'default'", "'map'", "'else'", "'const'", "'if'", "'range'", - "'continue'", "'foreach'", "'return'", "'var'", "'string'", "'bool'", - "'void'", "'array'", "'nil'", "'true'", "'false'", null, "'('", "')'", - "'{'", "'}'", "'['", "']'", "'='", "','", "';'", "':'", "'.'", "':='", - "'||'", "'&&'", "'=='", "'!='", "'!'", "'+'" - }; - } - private static final String[] _LITERAL_NAMES = makeLiteralNames(); - private static String[] makeSymbolicNames() { - return new String[] { - null, "OPERATION", "NODEOP", "CHECK", "ROUTINE", "CREATE", "DELETE", - "POLICY_ELEMENT", "CONTAINED", "RULE", "WHEN", "PERFORMS", "AS", "ON", - "IN", "DO", "ANY", "ASCENDANT_OF", "INTERSECTION", "UNION", "PROCESS", - "SET_RESOURCE_OPERATIONS", "ASSIGN", "DEASSIGN", "FROM", "SET_PROPERTIES", - "WITH_PROPERTIES", "OF", "TO", "ASSOCIATE", "AND", "WITH", "DISSOCIATE", - "DENY", "PROHIBITION", "OBLIGATION", "ACCESS_RIGHTS", "POLICY_CLASS", - "OBJECT_ATTRIBUTE", "USER_ATTRIBUTE", "USER_ATTRIBUTES", "OBJECT_ATTRIBUTES", - "OBJECT", "USER", "ATTRIBUTE", "ASSOCIATIONS", "BREAK", "DEFAULT", "MAP", - "ELSE", "CONST", "IF", "RANGE", "CONTINUE", "FOREACH", "RETURN", "VAR", - "STRING_TYPE", "BOOL_TYPE", "VOID_TYPE", "ARRAY_TYPE", "NIL_LIT", "TRUE", - "FALSE", "ID", "OPEN_PAREN", "CLOSE_PAREN", "OPEN_CURLY", "CLOSE_CURLY", - "OPEN_BRACKET", "CLOSE_BRACKET", "ASSIGN_EQUALS", "COMMA", "SEMI", "COLON", - "DOT", "DECLARE_ASSIGN", "LOGICAL_OR", "LOGICAL_AND", "EQUALS", "NOT_EQUALS", - "EXCLAMATION", "PLUS", "DOUBLE_QUOTE_STRING", "WS", "COMMENT", "LINE_COMMENT" - }; - } - private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames(); - public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); - - /** - * @deprecated Use {@link #VOCABULARY} instead. - */ - @Deprecated - public static final String[] tokenNames; - static { - tokenNames = new String[_SYMBOLIC_NAMES.length]; - for (int i = 0; i < tokenNames.length; i++) { - tokenNames[i] = VOCABULARY.getLiteralName(i); - if (tokenNames[i] == null) { - tokenNames[i] = VOCABULARY.getSymbolicName(i); - } - - if (tokenNames[i] == null) { - tokenNames[i] = ""; - } - } - } - - @Override - @Deprecated - public String[] getTokenNames() { - return tokenNames; - } - - @Override - - public Vocabulary getVocabulary() { - return VOCABULARY; - } - - - public PMLLexer(CharStream input) { - super(input); - _interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache); - } - - @Override - public String getGrammarFileName() { return "PMLLexer.g4"; } - - @Override - public String[] getRuleNames() { return ruleNames; } - - @Override - public String getSerializedATN() { return _serializedATN; } - - @Override - public String[] getChannelNames() { return channelNames; } - - @Override - public String[] getModeNames() { return modeNames; } - - @Override - public ATN getATN() { return _ATN; } - - public static final String _serializedATN = - "\u0004\u0000V\u035e\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002\u0001"+ - "\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004"+ - "\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007"+ - "\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b"+ - "\u0007\u000b\u0002\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e\u0002"+ - "\u000f\u0007\u000f\u0002\u0010\u0007\u0010\u0002\u0011\u0007\u0011\u0002"+ - "\u0012\u0007\u0012\u0002\u0013\u0007\u0013\u0002\u0014\u0007\u0014\u0002"+ - "\u0015\u0007\u0015\u0002\u0016\u0007\u0016\u0002\u0017\u0007\u0017\u0002"+ - "\u0018\u0007\u0018\u0002\u0019\u0007\u0019\u0002\u001a\u0007\u001a\u0002"+ - "\u001b\u0007\u001b\u0002\u001c\u0007\u001c\u0002\u001d\u0007\u001d\u0002"+ - "\u001e\u0007\u001e\u0002\u001f\u0007\u001f\u0002 \u0007 \u0002!\u0007"+ - "!\u0002\"\u0007\"\u0002#\u0007#\u0002$\u0007$\u0002%\u0007%\u0002&\u0007"+ - "&\u0002\'\u0007\'\u0002(\u0007(\u0002)\u0007)\u0002*\u0007*\u0002+\u0007"+ - "+\u0002,\u0007,\u0002-\u0007-\u0002.\u0007.\u0002/\u0007/\u00020\u0007"+ - "0\u00021\u00071\u00022\u00072\u00023\u00073\u00024\u00074\u00025\u0007"+ - "5\u00026\u00076\u00027\u00077\u00028\u00078\u00029\u00079\u0002:\u0007"+ - ":\u0002;\u0007;\u0002<\u0007<\u0002=\u0007=\u0002>\u0007>\u0002?\u0007"+ - "?\u0002@\u0007@\u0002A\u0007A\u0002B\u0007B\u0002C\u0007C\u0002D\u0007"+ - "D\u0002E\u0007E\u0002F\u0007F\u0002G\u0007G\u0002H\u0007H\u0002I\u0007"+ - "I\u0002J\u0007J\u0002K\u0007K\u0002L\u0007L\u0002M\u0007M\u0002N\u0007"+ - "N\u0002O\u0007O\u0002P\u0007P\u0002Q\u0007Q\u0002R\u0007R\u0002S\u0007"+ - "S\u0002T\u0007T\u0002U\u0007U\u0002V\u0007V\u0002W\u0007W\u0002X\u0007"+ - "X\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000"+ - "\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001"+ - "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0002"+ - "\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0003"+ - "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ - "\u0001\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+ - "\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005"+ - "\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0006\u0001\u0006\u0001\u0006"+ - "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+ - "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+ - "\u0001\u0006\u0003\u0006\u00f1\b\u0006\u0001\u0007\u0001\u0007\u0001\u0007"+ - "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+ - "\u0001\u0007\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\t\u0001\t\u0001"+ - "\t\u0001\t\u0001\t\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001"+ - "\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\f\u0001\f"+ - "\u0001\f\u0001\r\u0001\r\u0001\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0001"+ - "\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+ - "\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0011\u0001"+ - "\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001"+ - "\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001"+ - "\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0003\u0011\u013e\b\u0011\u0001"+ - "\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ - "\u0013\u0001\u0013\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0015\u0001\u0015\u0001\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ - "\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ - "\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0018\u0001"+ - "\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001"+ - "\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001"+ - "\u0018\u0001\u0018\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001"+ - "\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001"+ - "\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001"+ - "\u001a\u0001\u001a\u0001\u001a\u0001\u001b\u0001\u001b\u0001\u001b\u0001"+ - "\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001"+ - "\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001d\u0001\u001d\u0001"+ - "\u001d\u0001\u001d\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001e\u0001"+ - "\u001e\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001"+ - "\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001\u001f\u0001"+ - " \u0001 \u0001 \u0001 \u0001 \u0001!\u0001!\u0001!\u0001!\u0001!\u0001"+ - "!\u0001!\u0001!\u0001!\u0001!\u0001!\u0001!\u0001\"\u0001\"\u0001\"\u0001"+ - "\"\u0001\"\u0001\"\u0001\"\u0001\"\u0001\"\u0001\"\u0001\"\u0001#\u0001"+ - "#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0001"+ - "#\u0001#\u0001#\u0001$\u0001$\u0001$\u0001$\u0001$\u0001$\u0001$\u0001"+ - "$\u0001$\u0001$\u0001$\u0001$\u0001$\u0001$\u0001$\u0001$\u0003$\u01f8"+ - "\b$\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001"+ - "%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001"+ - "%\u0003%\u020e\b%\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001"+ - "&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001"+ - "&\u0003&\u0222\b&\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001"+ - "\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001"+ - "\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0003\'\u0239\b\'\u0001(\u0001"+ - "(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001"+ - "(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001(\u0001"+ - "(\u0001(\u0003(\u0252\b(\u0001)\u0001)\u0001)\u0001)\u0001)\u0001)\u0001"+ - ")\u0003)\u025b\b)\u0001*\u0001*\u0001*\u0001*\u0001*\u0003*\u0262\b*\u0001"+ - "+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001"+ - ",\u0001,\u0001,\u0001,\u0001,\u0001,\u0001,\u0001,\u0001,\u0001,\u0001"+ - ",\u0001,\u0001,\u0001-\u0001-\u0001-\u0001-\u0001-\u0001-\u0001.\u0001"+ - ".\u0001.\u0001.\u0001.\u0001.\u0001.\u0001.\u0001/\u0001/\u0001/\u0001"+ - "/\u00010\u00010\u00010\u00010\u00010\u00011\u00011\u00011\u00011\u0001"+ - "1\u00011\u00012\u00012\u00012\u00013\u00013\u00013\u00013\u00013\u0001"+ - "3\u00014\u00014\u00014\u00014\u00014\u00014\u00014\u00014\u00014\u0001"+ - "5\u00015\u00015\u00015\u00015\u00015\u00015\u00015\u00016\u00016\u0001"+ - "6\u00016\u00016\u00016\u00016\u00017\u00017\u00017\u00017\u00018\u0001"+ - "8\u00018\u00018\u00018\u00018\u00018\u00019\u00019\u00019\u00019\u0001"+ - "9\u0001:\u0001:\u0001:\u0001:\u0001:\u0001;\u0001;\u0001;\u0001;\u0001"+ - ";\u0001;\u0001<\u0001<\u0001<\u0001<\u0001=\u0001=\u0001=\u0001=\u0001"+ - "=\u0001>\u0001>\u0001>\u0001>\u0001>\u0001>\u0001?\u0004?\u02e4\b?\u000b"+ - "?\f?\u02e5\u0001@\u0001@\u0001A\u0001A\u0001B\u0001B\u0001C\u0001C\u0001"+ - "D\u0001D\u0001E\u0001E\u0001F\u0001F\u0001G\u0001G\u0001H\u0001H\u0001"+ - "I\u0001I\u0001J\u0001J\u0001K\u0001K\u0001K\u0001L\u0001L\u0001L\u0001"+ - "M\u0001M\u0001M\u0001N\u0001N\u0001N\u0001O\u0001O\u0001O\u0001P\u0001"+ - "P\u0001Q\u0001Q\u0001R\u0001R\u0001R\u0005R\u0314\bR\nR\fR\u0317\tR\u0001"+ - "R\u0001R\u0001S\u0004S\u031c\bS\u000bS\fS\u031d\u0001S\u0001S\u0001T\u0001"+ - "T\u0001T\u0001T\u0005T\u0326\bT\nT\fT\u0329\tT\u0001T\u0001T\u0001T\u0001"+ - "T\u0001T\u0001U\u0001U\u0001U\u0001U\u0005U\u0334\bU\nU\fU\u0337\tU\u0001"+ - "U\u0001U\u0001V\u0001V\u0001V\u0001V\u0003V\u033f\bV\u0001V\u0003V\u0342"+ - "\bV\u0001V\u0001V\u0001V\u0004V\u0347\bV\u000bV\fV\u0348\u0001V\u0001"+ - "V\u0001V\u0001V\u0001V\u0003V\u0350\bV\u0001W\u0001W\u0001W\u0005W\u0355"+ - "\bW\nW\fW\u0358\tW\u0001W\u0003W\u035b\bW\u0001X\u0001X\u0001\u0327\u0000"+ - "Y\u0001\u0001\u0003\u0002\u0005\u0003\u0007\u0004\t\u0005\u000b\u0006"+ - "\r\u0007\u000f\b\u0011\t\u0013\n\u0015\u000b\u0017\f\u0019\r\u001b\u000e"+ - "\u001d\u000f\u001f\u0010!\u0011#\u0012%\u0013\'\u0014)\u0015+\u0016-\u0017"+ - "/\u00181\u00193\u001a5\u001b7\u001c9\u001d;\u001e=\u001f? A!C\"E#G$I%"+ - "K&M\'O(Q)S*U+W,Y-[.]/_0a1c2e3g4i5k6m7o8q9s:u;w}?\u007f@\u0081A\u0083"+ - "B\u0085C\u0087D\u0089E\u008bF\u008dG\u008fH\u0091I\u0093J\u0095K\u0097"+ - "L\u0099M\u009bN\u009dO\u009fP\u00a1Q\u00a3R\u00a5S\u00a7T\u00a9U\u00ab"+ - "V\u00ad\u0000\u00af\u0000\u00b1\u0000\u0001\u0000\n\u0002\u0000OOoo\u0002"+ - "\u0000UUuu\u0004\u000009AZ__az\u0004\u0000\n\n\r\r\"\"\\\\\u0003\u0000"+ - "\t\n\f\r \u0002\u0000\n\n\r\r\b\u0000\"\"\'\'\\\\bbffnnrrtt\u0001\u0000"+ - "03\u0001\u000007\u0003\u000009AFaf\u0376\u0000\u0001\u0001\u0000\u0000"+ - "\u0000\u0000\u0003\u0001\u0000\u0000\u0000\u0000\u0005\u0001\u0000\u0000"+ - "\u0000\u0000\u0007\u0001\u0000\u0000\u0000\u0000\t\u0001\u0000\u0000\u0000"+ - "\u0000\u000b\u0001\u0000\u0000\u0000\u0000\r\u0001\u0000\u0000\u0000\u0000"+ - "\u000f\u0001\u0000\u0000\u0000\u0000\u0011\u0001\u0000\u0000\u0000\u0000"+ - "\u0013\u0001\u0000\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000\u0000"+ - "\u0017\u0001\u0000\u0000\u0000\u0000\u0019\u0001\u0000\u0000\u0000\u0000"+ - "\u001b\u0001\u0000\u0000\u0000\u0000\u001d\u0001\u0000\u0000\u0000\u0000"+ - "\u001f\u0001\u0000\u0000\u0000\u0000!\u0001\u0000\u0000\u0000\u0000#\u0001"+ - "\u0000\u0000\u0000\u0000%\u0001\u0000\u0000\u0000\u0000\'\u0001\u0000"+ - "\u0000\u0000\u0000)\u0001\u0000\u0000\u0000\u0000+\u0001\u0000\u0000\u0000"+ - "\u0000-\u0001\u0000\u0000\u0000\u0000/\u0001\u0000\u0000\u0000\u00001"+ - "\u0001\u0000\u0000\u0000\u00003\u0001\u0000\u0000\u0000\u00005\u0001\u0000"+ - "\u0000\u0000\u00007\u0001\u0000\u0000\u0000\u00009\u0001\u0000\u0000\u0000"+ - "\u0000;\u0001\u0000\u0000\u0000\u0000=\u0001\u0000\u0000\u0000\u0000?"+ - "\u0001\u0000\u0000\u0000\u0000A\u0001\u0000\u0000\u0000\u0000C\u0001\u0000"+ - "\u0000\u0000\u0000E\u0001\u0000\u0000\u0000\u0000G\u0001\u0000\u0000\u0000"+ - "\u0000I\u0001\u0000\u0000\u0000\u0000K\u0001\u0000\u0000\u0000\u0000M"+ - "\u0001\u0000\u0000\u0000\u0000O\u0001\u0000\u0000\u0000\u0000Q\u0001\u0000"+ - "\u0000\u0000\u0000S\u0001\u0000\u0000\u0000\u0000U\u0001\u0000\u0000\u0000"+ - "\u0000W\u0001\u0000\u0000\u0000\u0000Y\u0001\u0000\u0000\u0000\u0000["+ - "\u0001\u0000\u0000\u0000\u0000]\u0001\u0000\u0000\u0000\u0000_\u0001\u0000"+ - "\u0000\u0000\u0000a\u0001\u0000\u0000\u0000\u0000c\u0001\u0000\u0000\u0000"+ - "\u0000e\u0001\u0000\u0000\u0000\u0000g\u0001\u0000\u0000\u0000\u0000i"+ - "\u0001\u0000\u0000\u0000\u0000k\u0001\u0000\u0000\u0000\u0000m\u0001\u0000"+ - "\u0000\u0000\u0000o\u0001\u0000\u0000\u0000\u0000q\u0001\u0000\u0000\u0000"+ - "\u0000s\u0001\u0000\u0000\u0000\u0000u\u0001\u0000\u0000\u0000\u0000w"+ - "\u0001\u0000\u0000\u0000\u0000y\u0001\u0000\u0000\u0000\u0000{\u0001\u0000"+ - "\u0000\u0000\u0000}\u0001\u0000\u0000\u0000\u0000\u007f\u0001\u0000\u0000"+ - "\u0000\u0000\u0081\u0001\u0000\u0000\u0000\u0000\u0083\u0001\u0000\u0000"+ - "\u0000\u0000\u0085\u0001\u0000\u0000\u0000\u0000\u0087\u0001\u0000\u0000"+ - "\u0000\u0000\u0089\u0001\u0000\u0000\u0000\u0000\u008b\u0001\u0000\u0000"+ - "\u0000\u0000\u008d\u0001\u0000\u0000\u0000\u0000\u008f\u0001\u0000\u0000"+ - "\u0000\u0000\u0091\u0001\u0000\u0000\u0000\u0000\u0093\u0001\u0000\u0000"+ - "\u0000\u0000\u0095\u0001\u0000\u0000\u0000\u0000\u0097\u0001\u0000\u0000"+ - "\u0000\u0000\u0099\u0001\u0000\u0000\u0000\u0000\u009b\u0001\u0000\u0000"+ - "\u0000\u0000\u009d\u0001\u0000\u0000\u0000\u0000\u009f\u0001\u0000\u0000"+ - "\u0000\u0000\u00a1\u0001\u0000\u0000\u0000\u0000\u00a3\u0001\u0000\u0000"+ - "\u0000\u0000\u00a5\u0001\u0000\u0000\u0000\u0000\u00a7\u0001\u0000\u0000"+ - "\u0000\u0000\u00a9\u0001\u0000\u0000\u0000\u0000\u00ab\u0001\u0000\u0000"+ - "\u0000\u0001\u00b3\u0001\u0000\u0000\u0000\u0003\u00bd\u0001\u0000\u0000"+ - "\u0000\u0005\u00c4\u0001\u0000\u0000\u0000\u0007\u00ca\u0001\u0000\u0000"+ - "\u0000\t\u00d2\u0001\u0000\u0000\u0000\u000b\u00d9\u0001\u0000\u0000\u0000"+ - "\r\u00f0\u0001\u0000\u0000\u0000\u000f\u00f2\u0001\u0000\u0000\u0000\u0011"+ - "\u00fc\u0001\u0000\u0000\u0000\u0013\u0101\u0001\u0000\u0000\u0000\u0015"+ - "\u0106\u0001\u0000\u0000\u0000\u0017\u010f\u0001\u0000\u0000\u0000\u0019"+ - "\u0112\u0001\u0000\u0000\u0000\u001b\u0115\u0001\u0000\u0000\u0000\u001d"+ - "\u0118\u0001\u0000\u0000\u0000\u001f\u011b\u0001\u0000\u0000\u0000!\u011f"+ - "\u0001\u0000\u0000\u0000#\u013d\u0001\u0000\u0000\u0000%\u013f\u0001\u0000"+ - "\u0000\u0000\'\u0145\u0001\u0000\u0000\u0000)\u014d\u0001\u0000\u0000"+ - "\u0000+\u0165\u0001\u0000\u0000\u0000-\u016c\u0001\u0000\u0000\u0000/"+ - "\u0175\u0001\u0000\u0000\u00001\u017a\u0001\u0000\u0000\u00003\u0189\u0001"+ - "\u0000\u0000\u00005\u0199\u0001\u0000\u0000\u00007\u019c\u0001\u0000\u0000"+ - "\u00009\u019f\u0001\u0000\u0000\u0000;\u01a9\u0001\u0000\u0000\u0000="+ - "\u01ad\u0001\u0000\u0000\u0000?\u01b2\u0001\u0000\u0000\u0000A\u01bd\u0001"+ - "\u0000\u0000\u0000C\u01c2\u0001\u0000\u0000\u0000E\u01ce\u0001\u0000\u0000"+ - "\u0000G\u01d9\u0001\u0000\u0000\u0000I\u01f7\u0001\u0000\u0000\u0000K"+ - "\u020d\u0001\u0000\u0000\u0000M\u0221\u0001\u0000\u0000\u0000O\u0238\u0001"+ - "\u0000\u0000\u0000Q\u0251\u0001\u0000\u0000\u0000S\u025a\u0001\u0000\u0000"+ - "\u0000U\u0261\u0001\u0000\u0000\u0000W\u0263\u0001\u0000\u0000\u0000Y"+ - "\u026d\u0001\u0000\u0000\u0000[\u027a\u0001\u0000\u0000\u0000]\u0280\u0001"+ - "\u0000\u0000\u0000_\u0288\u0001\u0000\u0000\u0000a\u028c\u0001\u0000\u0000"+ - "\u0000c\u0291\u0001\u0000\u0000\u0000e\u0297\u0001\u0000\u0000\u0000g"+ - "\u029a\u0001\u0000\u0000\u0000i\u02a0\u0001\u0000\u0000\u0000k\u02a9\u0001"+ - "\u0000\u0000\u0000m\u02b1\u0001\u0000\u0000\u0000o\u02b8\u0001\u0000\u0000"+ - "\u0000q\u02bc\u0001\u0000\u0000\u0000s\u02c3\u0001\u0000\u0000\u0000u"+ - "\u02c8\u0001\u0000\u0000\u0000w\u02cd\u0001\u0000\u0000\u0000y\u02d3\u0001"+ - "\u0000\u0000\u0000{\u02d7\u0001\u0000\u0000\u0000}\u02dc\u0001\u0000\u0000"+ - "\u0000\u007f\u02e3\u0001\u0000\u0000\u0000\u0081\u02e7\u0001\u0000\u0000"+ - "\u0000\u0083\u02e9\u0001\u0000\u0000\u0000\u0085\u02eb\u0001\u0000\u0000"+ - "\u0000\u0087\u02ed\u0001\u0000\u0000\u0000\u0089\u02ef\u0001\u0000\u0000"+ - "\u0000\u008b\u02f1\u0001\u0000\u0000\u0000\u008d\u02f3\u0001\u0000\u0000"+ - "\u0000\u008f\u02f5\u0001\u0000\u0000\u0000\u0091\u02f7\u0001\u0000\u0000"+ - "\u0000\u0093\u02f9\u0001\u0000\u0000\u0000\u0095\u02fb\u0001\u0000\u0000"+ - "\u0000\u0097\u02fd\u0001\u0000\u0000\u0000\u0099\u0300\u0001\u0000\u0000"+ - "\u0000\u009b\u0303\u0001\u0000\u0000\u0000\u009d\u0306\u0001\u0000\u0000"+ - "\u0000\u009f\u0309\u0001\u0000\u0000\u0000\u00a1\u030c\u0001\u0000\u0000"+ - "\u0000\u00a3\u030e\u0001\u0000\u0000\u0000\u00a5\u0310\u0001\u0000\u0000"+ - "\u0000\u00a7\u031b\u0001\u0000\u0000\u0000\u00a9\u0321\u0001\u0000\u0000"+ - "\u0000\u00ab\u032f\u0001\u0000\u0000\u0000\u00ad\u034f\u0001\u0000\u0000"+ - "\u0000\u00af\u0351\u0001\u0000\u0000\u0000\u00b1\u035c\u0001\u0000\u0000"+ - "\u0000\u00b3\u00b4\u0005o\u0000\u0000\u00b4\u00b5\u0005p\u0000\u0000\u00b5"+ - "\u00b6\u0005e\u0000\u0000\u00b6\u00b7\u0005r\u0000\u0000\u00b7\u00b8\u0005"+ - "a\u0000\u0000\u00b8\u00b9\u0005t\u0000\u0000\u00b9\u00ba\u0005i\u0000"+ - "\u0000\u00ba\u00bb\u0005o\u0000\u0000\u00bb\u00bc\u0005n\u0000\u0000\u00bc"+ - "\u0002\u0001\u0000\u0000\u0000\u00bd\u00be\u0005n\u0000\u0000\u00be\u00bf"+ - "\u0005o\u0000\u0000\u00bf\u00c0\u0005d\u0000\u0000\u00c0\u00c1\u0005e"+ - "\u0000\u0000\u00c1\u00c2\u0005o\u0000\u0000\u00c2\u00c3\u0005p\u0000\u0000"+ - "\u00c3\u0004\u0001\u0000\u0000\u0000\u00c4\u00c5\u0005c\u0000\u0000\u00c5"+ - "\u00c6\u0005h\u0000\u0000\u00c6\u00c7\u0005e\u0000\u0000\u00c7\u00c8\u0005"+ - "c\u0000\u0000\u00c8\u00c9\u0005k\u0000\u0000\u00c9\u0006\u0001\u0000\u0000"+ - "\u0000\u00ca\u00cb\u0005r\u0000\u0000\u00cb\u00cc\u0005o\u0000\u0000\u00cc"+ - "\u00cd\u0005u\u0000\u0000\u00cd\u00ce\u0005t\u0000\u0000\u00ce\u00cf\u0005"+ - "i\u0000\u0000\u00cf\u00d0\u0005n\u0000\u0000\u00d0\u00d1\u0005e\u0000"+ - "\u0000\u00d1\b\u0001\u0000\u0000\u0000\u00d2\u00d3\u0005c\u0000\u0000"+ - "\u00d3\u00d4\u0005r\u0000\u0000\u00d4\u00d5\u0005e\u0000\u0000\u00d5\u00d6"+ - "\u0005a\u0000\u0000\u00d6\u00d7\u0005t\u0000\u0000\u00d7\u00d8\u0005e"+ - "\u0000\u0000\u00d8\n\u0001\u0000\u0000\u0000\u00d9\u00da\u0005d\u0000"+ - "\u0000\u00da\u00db\u0005e\u0000\u0000\u00db\u00dc\u0005l\u0000\u0000\u00dc"+ - "\u00dd\u0005e\u0000\u0000\u00dd\u00de\u0005t\u0000\u0000\u00de\u00df\u0005"+ - "e\u0000\u0000\u00df\f\u0001\u0000\u0000\u0000\u00e0\u00e1\u0005p\u0000"+ - "\u0000\u00e1\u00e2\u0005o\u0000\u0000\u00e2\u00e3\u0005l\u0000\u0000\u00e3"+ - "\u00e4\u0005i\u0000\u0000\u00e4\u00e5\u0005c\u0000\u0000\u00e5\u00e6\u0005"+ - "y\u0000\u0000\u00e6\u00e7\u0005 \u0000\u0000\u00e7\u00e8\u0005e\u0000"+ - "\u0000\u00e8\u00e9\u0005l\u0000\u0000\u00e9\u00ea\u0005e\u0000\u0000\u00ea"+ - "\u00eb\u0005m\u0000\u0000\u00eb\u00ec\u0005e\u0000\u0000\u00ec\u00ed\u0005"+ - "n\u0000\u0000\u00ed\u00f1\u0005t\u0000\u0000\u00ee\u00ef\u0005p\u0000"+ - "\u0000\u00ef\u00f1\u0005e\u0000\u0000\u00f0\u00e0\u0001\u0000\u0000\u0000"+ - "\u00f0\u00ee\u0001\u0000\u0000\u0000\u00f1\u000e\u0001\u0000\u0000\u0000"+ - "\u00f2\u00f3\u0005c\u0000\u0000\u00f3\u00f4\u0005o\u0000\u0000\u00f4\u00f5"+ - "\u0005n\u0000\u0000\u00f5\u00f6\u0005t\u0000\u0000\u00f6\u00f7\u0005a"+ - "\u0000\u0000\u00f7\u00f8\u0005i\u0000\u0000\u00f8\u00f9\u0005n\u0000\u0000"+ - "\u00f9\u00fa\u0005e\u0000\u0000\u00fa\u00fb\u0005d\u0000\u0000\u00fb\u0010"+ - "\u0001\u0000\u0000\u0000\u00fc\u00fd\u0005r\u0000\u0000\u00fd\u00fe\u0005"+ - "u\u0000\u0000\u00fe\u00ff\u0005l\u0000\u0000\u00ff\u0100\u0005e\u0000"+ - "\u0000\u0100\u0012\u0001\u0000\u0000\u0000\u0101\u0102\u0005w\u0000\u0000"+ - "\u0102\u0103\u0005h\u0000\u0000\u0103\u0104\u0005e\u0000\u0000\u0104\u0105"+ - "\u0005n\u0000\u0000\u0105\u0014\u0001\u0000\u0000\u0000\u0106\u0107\u0005"+ - "p\u0000\u0000\u0107\u0108\u0005e\u0000\u0000\u0108\u0109\u0005r\u0000"+ - "\u0000\u0109\u010a\u0005f\u0000\u0000\u010a\u010b\u0005o\u0000\u0000\u010b"+ - "\u010c\u0005r\u0000\u0000\u010c\u010d\u0005m\u0000\u0000\u010d\u010e\u0005"+ - "s\u0000\u0000\u010e\u0016\u0001\u0000\u0000\u0000\u010f\u0110\u0005a\u0000"+ - "\u0000\u0110\u0111\u0005s\u0000\u0000\u0111\u0018\u0001\u0000\u0000\u0000"+ - "\u0112\u0113\u0005o\u0000\u0000\u0113\u0114\u0005n\u0000\u0000\u0114\u001a"+ - "\u0001\u0000\u0000\u0000\u0115\u0116\u0005i\u0000\u0000\u0116\u0117\u0005"+ - "n\u0000\u0000\u0117\u001c\u0001\u0000\u0000\u0000\u0118\u0119\u0005d\u0000"+ - "\u0000\u0119\u011a\u0005o\u0000\u0000\u011a\u001e\u0001\u0000\u0000\u0000"+ - "\u011b\u011c\u0005a\u0000\u0000\u011c\u011d\u0005n\u0000\u0000\u011d\u011e"+ - "\u0005y\u0000\u0000\u011e \u0001\u0000\u0000\u0000\u011f\u0120\u0005a"+ - "\u0000\u0000\u0120\u0121\u0005s\u0000\u0000\u0121\u0122\u0005c\u0000\u0000"+ - "\u0122\u0123\u0005e\u0000\u0000\u0123\u0124\u0005n\u0000\u0000\u0124\u0125"+ - "\u0005d\u0000\u0000\u0125\u0126\u0005a\u0000\u0000\u0126\u0127\u0005n"+ - "\u0000\u0000\u0127\u0128\u0005t\u0000\u0000\u0128\u0129\u0005 \u0000\u0000"+ - "\u0129\u012a\u0005o\u0000\u0000\u012a\u012b\u0005f\u0000\u0000\u012b\""+ - "\u0001\u0000\u0000\u0000\u012c\u012d\u0005i\u0000\u0000\u012d\u012e\u0005"+ - "n\u0000\u0000\u012e\u012f\u0005t\u0000\u0000\u012f\u0130\u0005e\u0000"+ - "\u0000\u0130\u0131\u0005r\u0000\u0000\u0131\u0132\u0005s\u0000\u0000\u0132"+ - "\u0133\u0005e\u0000\u0000\u0133\u0134\u0005c\u0000\u0000\u0134\u0135\u0005"+ - "t\u0000\u0000\u0135\u0136\u0005i\u0000\u0000\u0136\u0137\u0005o\u0000"+ - "\u0000\u0137\u013e\u0005n\u0000\u0000\u0138\u0139\u0005i\u0000\u0000\u0139"+ - "\u013a\u0005n\u0000\u0000\u013a\u013b\u0005t\u0000\u0000\u013b\u013c\u0005"+ - "e\u0000\u0000\u013c\u013e\u0005r\u0000\u0000\u013d\u012c\u0001\u0000\u0000"+ - "\u0000\u013d\u0138\u0001\u0000\u0000\u0000\u013e$\u0001\u0000\u0000\u0000"+ - "\u013f\u0140\u0005u\u0000\u0000\u0140\u0141\u0005n\u0000\u0000\u0141\u0142"+ - "\u0005i\u0000\u0000\u0142\u0143\u0005o\u0000\u0000\u0143\u0144\u0005n"+ - "\u0000\u0000\u0144&\u0001\u0000\u0000\u0000\u0145\u0146\u0005p\u0000\u0000"+ - "\u0146\u0147\u0005r\u0000\u0000\u0147\u0148\u0005o\u0000\u0000\u0148\u0149"+ - "\u0005c\u0000\u0000\u0149\u014a\u0005e\u0000\u0000\u014a\u014b\u0005s"+ - "\u0000\u0000\u014b\u014c\u0005s\u0000\u0000\u014c(\u0001\u0000\u0000\u0000"+ - "\u014d\u014e\u0005s\u0000\u0000\u014e\u014f\u0005e\u0000\u0000\u014f\u0150"+ - "\u0005t\u0000\u0000\u0150\u0151\u0005 \u0000\u0000\u0151\u0152\u0005r"+ - "\u0000\u0000\u0152\u0153\u0005e\u0000\u0000\u0153\u0154\u0005s\u0000\u0000"+ - "\u0154\u0155\u0005o\u0000\u0000\u0155\u0156\u0005u\u0000\u0000\u0156\u0157"+ - "\u0005r\u0000\u0000\u0157\u0158\u0005c\u0000\u0000\u0158\u0159\u0005e"+ - "\u0000\u0000\u0159\u015a\u0005 \u0000\u0000\u015a\u015b\u0005o\u0000\u0000"+ - "\u015b\u015c\u0005p\u0000\u0000\u015c\u015d\u0005e\u0000\u0000\u015d\u015e"+ - "\u0005r\u0000\u0000\u015e\u015f\u0005a\u0000\u0000\u015f\u0160\u0005t"+ - "\u0000\u0000\u0160\u0161\u0005i\u0000\u0000\u0161\u0162\u0005o\u0000\u0000"+ - "\u0162\u0163\u0005n\u0000\u0000\u0163\u0164\u0005s\u0000\u0000\u0164*"+ - "\u0001\u0000\u0000\u0000\u0165\u0166\u0005a\u0000\u0000\u0166\u0167\u0005"+ - "s\u0000\u0000\u0167\u0168\u0005s\u0000\u0000\u0168\u0169\u0005i\u0000"+ - "\u0000\u0169\u016a\u0005g\u0000\u0000\u016a\u016b\u0005n\u0000\u0000\u016b"+ - ",\u0001\u0000\u0000\u0000\u016c\u016d\u0005d\u0000\u0000\u016d\u016e\u0005"+ - "e\u0000\u0000\u016e\u016f\u0005a\u0000\u0000\u016f\u0170\u0005s\u0000"+ - "\u0000\u0170\u0171\u0005s\u0000\u0000\u0171\u0172\u0005i\u0000\u0000\u0172"+ - "\u0173\u0005g\u0000\u0000\u0173\u0174\u0005n\u0000\u0000\u0174.\u0001"+ - "\u0000\u0000\u0000\u0175\u0176\u0005f\u0000\u0000\u0176\u0177\u0005r\u0000"+ - "\u0000\u0177\u0178\u0005o\u0000\u0000\u0178\u0179\u0005m\u0000\u0000\u0179"+ - "0\u0001\u0000\u0000\u0000\u017a\u017b\u0005s\u0000\u0000\u017b\u017c\u0005"+ - "e\u0000\u0000\u017c\u017d\u0005t\u0000\u0000\u017d\u017e\u0005 \u0000"+ - "\u0000\u017e\u017f\u0005p\u0000\u0000\u017f\u0180\u0005r\u0000\u0000\u0180"+ - "\u0181\u0005o\u0000\u0000\u0181\u0182\u0005p\u0000\u0000\u0182\u0183\u0005"+ - "e\u0000\u0000\u0183\u0184\u0005r\u0000\u0000\u0184\u0185\u0005t\u0000"+ - "\u0000\u0185\u0186\u0005i\u0000\u0000\u0186\u0187\u0005e\u0000\u0000\u0187"+ - "\u0188\u0005s\u0000\u0000\u01882\u0001\u0000\u0000\u0000\u0189\u018a\u0005"+ - "w\u0000\u0000\u018a\u018b\u0005i\u0000\u0000\u018b\u018c\u0005t\u0000"+ - "\u0000\u018c\u018d\u0005h\u0000\u0000\u018d\u018e\u0005 \u0000\u0000\u018e"+ - "\u018f\u0005p\u0000\u0000\u018f\u0190\u0005r\u0000\u0000\u0190\u0191\u0005"+ - "o\u0000\u0000\u0191\u0192\u0005p\u0000\u0000\u0192\u0193\u0005e\u0000"+ - "\u0000\u0193\u0194\u0005r\u0000\u0000\u0194\u0195\u0005t\u0000\u0000\u0195"+ - "\u0196\u0005i\u0000\u0000\u0196\u0197\u0005e\u0000\u0000\u0197\u0198\u0005"+ - "s\u0000\u0000\u01984\u0001\u0000\u0000\u0000\u0199\u019a\u0005o\u0000"+ - "\u0000\u019a\u019b\u0005f\u0000\u0000\u019b6\u0001\u0000\u0000\u0000\u019c"+ - "\u019d\u0005t\u0000\u0000\u019d\u019e\u0005o\u0000\u0000\u019e8\u0001"+ - "\u0000\u0000\u0000\u019f\u01a0\u0005a\u0000\u0000\u01a0\u01a1\u0005s\u0000"+ - "\u0000\u01a1\u01a2\u0005s\u0000\u0000\u01a2\u01a3\u0005o\u0000\u0000\u01a3"+ - "\u01a4\u0005c\u0000\u0000\u01a4\u01a5\u0005i\u0000\u0000\u01a5\u01a6\u0005"+ - "a\u0000\u0000\u01a6\u01a7\u0005t\u0000\u0000\u01a7\u01a8\u0005e\u0000"+ - "\u0000\u01a8:\u0001\u0000\u0000\u0000\u01a9\u01aa\u0005a\u0000\u0000\u01aa"+ - "\u01ab\u0005n\u0000\u0000\u01ab\u01ac\u0005d\u0000\u0000\u01ac<\u0001"+ - "\u0000\u0000\u0000\u01ad\u01ae\u0005w\u0000\u0000\u01ae\u01af\u0005i\u0000"+ - "\u0000\u01af\u01b0\u0005t\u0000\u0000\u01b0\u01b1\u0005h\u0000\u0000\u01b1"+ - ">\u0001\u0000\u0000\u0000\u01b2\u01b3\u0005d\u0000\u0000\u01b3\u01b4\u0005"+ - "i\u0000\u0000\u01b4\u01b5\u0005s\u0000\u0000\u01b5\u01b6\u0005s\u0000"+ - "\u0000\u01b6\u01b7\u0005o\u0000\u0000\u01b7\u01b8\u0005c\u0000\u0000\u01b8"+ - "\u01b9\u0005i\u0000\u0000\u01b9\u01ba\u0005a\u0000\u0000\u01ba\u01bb\u0005"+ - "t\u0000\u0000\u01bb\u01bc\u0005e\u0000\u0000\u01bc@\u0001\u0000\u0000"+ - "\u0000\u01bd\u01be\u0005d\u0000\u0000\u01be\u01bf\u0005e\u0000\u0000\u01bf"+ - "\u01c0\u0005n\u0000\u0000\u01c0\u01c1\u0005y\u0000\u0000\u01c1B\u0001"+ - "\u0000\u0000\u0000\u01c2\u01c3\u0005p\u0000\u0000\u01c3\u01c4\u0005r\u0000"+ - "\u0000\u01c4\u01c5\u0005o\u0000\u0000\u01c5\u01c6\u0005h\u0000\u0000\u01c6"+ - "\u01c7\u0005i\u0000\u0000\u01c7\u01c8\u0005b\u0000\u0000\u01c8\u01c9\u0005"+ - "i\u0000\u0000\u01c9\u01ca\u0005t\u0000\u0000\u01ca\u01cb\u0005i\u0000"+ - "\u0000\u01cb\u01cc\u0005o\u0000\u0000\u01cc\u01cd\u0005n\u0000\u0000\u01cd"+ - "D\u0001\u0000\u0000\u0000\u01ce\u01cf\u0005o\u0000\u0000\u01cf\u01d0\u0005"+ - "b\u0000\u0000\u01d0\u01d1\u0005l\u0000\u0000\u01d1\u01d2\u0005i\u0000"+ - "\u0000\u01d2\u01d3\u0005g\u0000\u0000\u01d3\u01d4\u0005a\u0000\u0000\u01d4"+ - "\u01d5\u0005t\u0000\u0000\u01d5\u01d6\u0005i\u0000\u0000\u01d6\u01d7\u0005"+ - "o\u0000\u0000\u01d7\u01d8\u0005n\u0000\u0000\u01d8F\u0001\u0000\u0000"+ - "\u0000\u01d9\u01da\u0005a\u0000\u0000\u01da\u01db\u0005c\u0000\u0000\u01db"+ - "\u01dc\u0005c\u0000\u0000\u01dc\u01dd\u0005e\u0000\u0000\u01dd\u01de\u0005"+ - "s\u0000\u0000\u01de\u01df\u0005s\u0000\u0000\u01df\u01e0\u0005 \u0000"+ - "\u0000\u01e0\u01e1\u0005r\u0000\u0000\u01e1\u01e2\u0005i\u0000\u0000\u01e2"+ - "\u01e3\u0005g\u0000\u0000\u01e3\u01e4\u0005h\u0000\u0000\u01e4\u01e5\u0005"+ - "t\u0000\u0000\u01e5\u01e6\u0005s\u0000\u0000\u01e6H\u0001\u0000\u0000"+ - "\u0000\u01e7\u01e8\u0005p\u0000\u0000\u01e8\u01e9\u0005o\u0000\u0000\u01e9"+ - "\u01ea\u0005l\u0000\u0000\u01ea\u01eb\u0005i\u0000\u0000\u01eb\u01ec\u0005"+ - "c\u0000\u0000\u01ec\u01ed\u0005y\u0000\u0000\u01ed\u01ee\u0005 \u0000"+ - "\u0000\u01ee\u01ef\u0005c\u0000\u0000\u01ef\u01f0\u0005l\u0000\u0000\u01f0"+ - "\u01f1\u0005a\u0000\u0000\u01f1\u01f2\u0005s\u0000\u0000\u01f2\u01f8\u0005"+ - "s\u0000\u0000\u01f3\u01f4\u0005p\u0000\u0000\u01f4\u01f8\u0005c\u0000"+ - "\u0000\u01f5\u01f6\u0005P\u0000\u0000\u01f6\u01f8\u0005C\u0000\u0000\u01f7"+ - "\u01e7\u0001\u0000\u0000\u0000\u01f7\u01f3\u0001\u0000\u0000\u0000\u01f7"+ - "\u01f5\u0001\u0000\u0000\u0000\u01f8J\u0001\u0000\u0000\u0000\u01f9\u01fa"+ - "\u0005o\u0000\u0000\u01fa\u01fb\u0005b\u0000\u0000\u01fb\u01fc\u0005j"+ - "\u0000\u0000\u01fc\u01fd\u0005e\u0000\u0000\u01fd\u01fe\u0005c\u0000\u0000"+ - "\u01fe\u01ff\u0005t\u0000\u0000\u01ff\u0200\u0005 \u0000\u0000\u0200\u0201"+ - "\u0005a\u0000\u0000\u0201\u0202\u0005t\u0000\u0000\u0202\u0203\u0005t"+ - "\u0000\u0000\u0203\u0204\u0005r\u0000\u0000\u0204\u0205\u0005i\u0000\u0000"+ - "\u0205\u0206\u0005b\u0000\u0000\u0206\u0207\u0005u\u0000\u0000\u0207\u0208"+ - "\u0005t\u0000\u0000\u0208\u020e\u0005e\u0000\u0000\u0209\u020a\u0005o"+ - "\u0000\u0000\u020a\u020e\u0005a\u0000\u0000\u020b\u020c\u0005O\u0000\u0000"+ - "\u020c\u020e\u0005A\u0000\u0000\u020d\u01f9\u0001\u0000\u0000\u0000\u020d"+ - "\u0209\u0001\u0000\u0000\u0000\u020d\u020b\u0001\u0000\u0000\u0000\u020e"+ - "L\u0001\u0000\u0000\u0000\u020f\u0210\u0005u\u0000\u0000\u0210\u0211\u0005"+ - "s\u0000\u0000\u0211\u0212\u0005e\u0000\u0000\u0212\u0213\u0005r\u0000"+ - "\u0000\u0213\u0214\u0005 \u0000\u0000\u0214\u0215\u0005a\u0000\u0000\u0215"+ - "\u0216\u0005t\u0000\u0000\u0216\u0217\u0005t\u0000\u0000\u0217\u0218\u0005"+ - "r\u0000\u0000\u0218\u0219\u0005i\u0000\u0000\u0219\u021a\u0005b\u0000"+ - "\u0000\u021a\u021b\u0005u\u0000\u0000\u021b\u021c\u0005t\u0000\u0000\u021c"+ - "\u0222\u0005e\u0000\u0000\u021d\u021e\u0005u\u0000\u0000\u021e\u0222\u0005"+ - "a\u0000\u0000\u021f\u0220\u0005U\u0000\u0000\u0220\u0222\u0005A\u0000"+ - "\u0000\u0221\u020f\u0001\u0000\u0000\u0000\u0221\u021d\u0001\u0000\u0000"+ - "\u0000\u0221\u021f\u0001\u0000\u0000\u0000\u0222N\u0001\u0000\u0000\u0000"+ - "\u0223\u0224\u0005u\u0000\u0000\u0224\u0225\u0005s\u0000\u0000\u0225\u0226"+ - "\u0005e\u0000\u0000\u0226\u0227\u0005r\u0000\u0000\u0227\u0228\u0005 "+ - "\u0000\u0000\u0228\u0229\u0005a\u0000\u0000\u0229\u022a\u0005t\u0000\u0000"+ - "\u022a\u022b\u0005t\u0000\u0000\u022b\u022c\u0005r\u0000\u0000\u022c\u022d"+ - "\u0005i\u0000\u0000\u022d\u022e\u0005b\u0000\u0000\u022e\u022f\u0005u"+ - "\u0000\u0000\u022f\u0230\u0005t\u0000\u0000\u0230\u0231\u0005e\u0000\u0000"+ - "\u0231\u0239\u0005s\u0000\u0000\u0232\u0233\u0005u\u0000\u0000\u0233\u0234"+ - "\u0005a\u0000\u0000\u0234\u0239\u0005s\u0000\u0000\u0235\u0236\u0005U"+ - "\u0000\u0000\u0236\u0237\u0005A\u0000\u0000\u0237\u0239\u0005s\u0000\u0000"+ - "\u0238\u0223\u0001\u0000\u0000\u0000\u0238\u0232\u0001\u0000\u0000\u0000"+ - "\u0238\u0235\u0001\u0000\u0000\u0000\u0239P\u0001\u0000\u0000\u0000\u023a"+ - "\u023b\u0005o\u0000\u0000\u023b\u023c\u0005b\u0000\u0000\u023c\u023d\u0005"+ - "j\u0000\u0000\u023d\u023e\u0005e\u0000\u0000\u023e\u023f\u0005c\u0000"+ - "\u0000\u023f\u0240\u0005t\u0000\u0000\u0240\u0241\u0005 \u0000\u0000\u0241"+ - "\u0242\u0005a\u0000\u0000\u0242\u0243\u0005t\u0000\u0000\u0243\u0244\u0005"+ - "t\u0000\u0000\u0244\u0245\u0005r\u0000\u0000\u0245\u0246\u0005i\u0000"+ - "\u0000\u0246\u0247\u0005b\u0000\u0000\u0247\u0248\u0005u\u0000\u0000\u0248"+ - "\u0249\u0005t\u0000\u0000\u0249\u024a\u0005e\u0000\u0000\u024a\u0252\u0005"+ - "s\u0000\u0000\u024b\u024c\u0005o\u0000\u0000\u024c\u024d\u0005a\u0000"+ - "\u0000\u024d\u0252\u0005s\u0000\u0000\u024e\u024f\u0005O\u0000\u0000\u024f"+ - "\u0250\u0005A\u0000\u0000\u0250\u0252\u0005s\u0000\u0000\u0251\u023a\u0001"+ - "\u0000\u0000\u0000\u0251\u024b\u0001\u0000\u0000\u0000\u0251\u024e\u0001"+ - "\u0000\u0000\u0000\u0252R\u0001\u0000\u0000\u0000\u0253\u0254\u0005o\u0000"+ - "\u0000\u0254\u0255\u0005b\u0000\u0000\u0255\u0256\u0005j\u0000\u0000\u0256"+ - "\u0257\u0005e\u0000\u0000\u0257\u0258\u0005c\u0000\u0000\u0258\u025b\u0005"+ - "t\u0000\u0000\u0259\u025b\u0007\u0000\u0000\u0000\u025a\u0253\u0001\u0000"+ - "\u0000\u0000\u025a\u0259\u0001\u0000\u0000\u0000\u025bT\u0001\u0000\u0000"+ - "\u0000\u025c\u025d\u0005u\u0000\u0000\u025d\u025e\u0005s\u0000\u0000\u025e"+ - "\u025f\u0005e\u0000\u0000\u025f\u0262\u0005r\u0000\u0000\u0260\u0262\u0007"+ - "\u0001\u0000\u0000\u0261\u025c\u0001\u0000\u0000\u0000\u0261\u0260\u0001"+ - "\u0000\u0000\u0000\u0262V\u0001\u0000\u0000\u0000\u0263\u0264\u0005a\u0000"+ - "\u0000\u0264\u0265\u0005t\u0000\u0000\u0265\u0266\u0005t\u0000\u0000\u0266"+ - "\u0267\u0005r\u0000\u0000\u0267\u0268\u0005i\u0000\u0000\u0268\u0269\u0005"+ - "b\u0000\u0000\u0269\u026a\u0005u\u0000\u0000\u026a\u026b\u0005t\u0000"+ - "\u0000\u026b\u026c\u0005e\u0000\u0000\u026cX\u0001\u0000\u0000\u0000\u026d"+ - "\u026e\u0005a\u0000\u0000\u026e\u026f\u0005s\u0000\u0000\u026f\u0270\u0005"+ - "s\u0000\u0000\u0270\u0271\u0005o\u0000\u0000\u0271\u0272\u0005c\u0000"+ - "\u0000\u0272\u0273\u0005i\u0000\u0000\u0273\u0274\u0005a\u0000\u0000\u0274"+ - "\u0275\u0005t\u0000\u0000\u0275\u0276\u0005i\u0000\u0000\u0276\u0277\u0005"+ - "o\u0000\u0000\u0277\u0278\u0005n\u0000\u0000\u0278\u0279\u0005s\u0000"+ - "\u0000\u0279Z\u0001\u0000\u0000\u0000\u027a\u027b\u0005b\u0000\u0000\u027b"+ - "\u027c\u0005r\u0000\u0000\u027c\u027d\u0005e\u0000\u0000\u027d\u027e\u0005"+ - "a\u0000\u0000\u027e\u027f\u0005k\u0000\u0000\u027f\\\u0001\u0000\u0000"+ - "\u0000\u0280\u0281\u0005d\u0000\u0000\u0281\u0282\u0005e\u0000\u0000\u0282"+ - "\u0283\u0005f\u0000\u0000\u0283\u0284\u0005a\u0000\u0000\u0284\u0285\u0005"+ - "u\u0000\u0000\u0285\u0286\u0005l\u0000\u0000\u0286\u0287\u0005t\u0000"+ - "\u0000\u0287^\u0001\u0000\u0000\u0000\u0288\u0289\u0005m\u0000\u0000\u0289"+ - "\u028a\u0005a\u0000\u0000\u028a\u028b\u0005p\u0000\u0000\u028b`\u0001"+ - "\u0000\u0000\u0000\u028c\u028d\u0005e\u0000\u0000\u028d\u028e\u0005l\u0000"+ - "\u0000\u028e\u028f\u0005s\u0000\u0000\u028f\u0290\u0005e\u0000\u0000\u0290"+ - "b\u0001\u0000\u0000\u0000\u0291\u0292\u0005c\u0000\u0000\u0292\u0293\u0005"+ - "o\u0000\u0000\u0293\u0294\u0005n\u0000\u0000\u0294\u0295\u0005s\u0000"+ - "\u0000\u0295\u0296\u0005t\u0000\u0000\u0296d\u0001\u0000\u0000\u0000\u0297"+ - "\u0298\u0005i\u0000\u0000\u0298\u0299\u0005f\u0000\u0000\u0299f\u0001"+ - "\u0000\u0000\u0000\u029a\u029b\u0005r\u0000\u0000\u029b\u029c\u0005a\u0000"+ - "\u0000\u029c\u029d\u0005n\u0000\u0000\u029d\u029e\u0005g\u0000\u0000\u029e"+ - "\u029f\u0005e\u0000\u0000\u029fh\u0001\u0000\u0000\u0000\u02a0\u02a1\u0005"+ - "c\u0000\u0000\u02a1\u02a2\u0005o\u0000\u0000\u02a2\u02a3\u0005n\u0000"+ - "\u0000\u02a3\u02a4\u0005t\u0000\u0000\u02a4\u02a5\u0005i\u0000\u0000\u02a5"+ - "\u02a6\u0005n\u0000\u0000\u02a6\u02a7\u0005u\u0000\u0000\u02a7\u02a8\u0005"+ - "e\u0000\u0000\u02a8j\u0001\u0000\u0000\u0000\u02a9\u02aa\u0005f\u0000"+ - "\u0000\u02aa\u02ab\u0005o\u0000\u0000\u02ab\u02ac\u0005r\u0000\u0000\u02ac"+ - "\u02ad\u0005e\u0000\u0000\u02ad\u02ae\u0005a\u0000\u0000\u02ae\u02af\u0005"+ - "c\u0000\u0000\u02af\u02b0\u0005h\u0000\u0000\u02b0l\u0001\u0000\u0000"+ - "\u0000\u02b1\u02b2\u0005r\u0000\u0000\u02b2\u02b3\u0005e\u0000\u0000\u02b3"+ - "\u02b4\u0005t\u0000\u0000\u02b4\u02b5\u0005u\u0000\u0000\u02b5\u02b6\u0005"+ - "r\u0000\u0000\u02b6\u02b7\u0005n\u0000\u0000\u02b7n\u0001\u0000\u0000"+ - "\u0000\u02b8\u02b9\u0005v\u0000\u0000\u02b9\u02ba\u0005a\u0000\u0000\u02ba"+ - "\u02bb\u0005r\u0000\u0000\u02bbp\u0001\u0000\u0000\u0000\u02bc\u02bd\u0005"+ - "s\u0000\u0000\u02bd\u02be\u0005t\u0000\u0000\u02be\u02bf\u0005r\u0000"+ - "\u0000\u02bf\u02c0\u0005i\u0000\u0000\u02c0\u02c1\u0005n\u0000\u0000\u02c1"+ - "\u02c2\u0005g\u0000\u0000\u02c2r\u0001\u0000\u0000\u0000\u02c3\u02c4\u0005"+ - "b\u0000\u0000\u02c4\u02c5\u0005o\u0000\u0000\u02c5\u02c6\u0005o\u0000"+ - "\u0000\u02c6\u02c7\u0005l\u0000\u0000\u02c7t\u0001\u0000\u0000\u0000\u02c8"+ - "\u02c9\u0005v\u0000\u0000\u02c9\u02ca\u0005o\u0000\u0000\u02ca\u02cb\u0005"+ - "i\u0000\u0000\u02cb\u02cc\u0005d\u0000\u0000\u02ccv\u0001\u0000\u0000"+ - "\u0000\u02cd\u02ce\u0005a\u0000\u0000\u02ce\u02cf\u0005r\u0000\u0000\u02cf"+ - "\u02d0\u0005r\u0000\u0000\u02d0\u02d1\u0005a\u0000\u0000\u02d1\u02d2\u0005"+ - "y\u0000\u0000\u02d2x\u0001\u0000\u0000\u0000\u02d3\u02d4\u0005n\u0000"+ - "\u0000\u02d4\u02d5\u0005i\u0000\u0000\u02d5\u02d6\u0005l\u0000\u0000\u02d6"+ - "z\u0001\u0000\u0000\u0000\u02d7\u02d8\u0005t\u0000\u0000\u02d8\u02d9\u0005"+ - "r\u0000\u0000\u02d9\u02da\u0005u\u0000\u0000\u02da\u02db\u0005e\u0000"+ - "\u0000\u02db|\u0001\u0000\u0000\u0000\u02dc\u02dd\u0005f\u0000\u0000\u02dd"+ - "\u02de\u0005a\u0000\u0000\u02de\u02df\u0005l\u0000\u0000\u02df\u02e0\u0005"+ - "s\u0000\u0000\u02e0\u02e1\u0005e\u0000\u0000\u02e1~\u0001\u0000\u0000"+ - "\u0000\u02e2\u02e4\u0007\u0002\u0000\u0000\u02e3\u02e2\u0001\u0000\u0000"+ - "\u0000\u02e4\u02e5\u0001\u0000\u0000\u0000\u02e5\u02e3\u0001\u0000\u0000"+ - "\u0000\u02e5\u02e6\u0001\u0000\u0000\u0000\u02e6\u0080\u0001\u0000\u0000"+ - "\u0000\u02e7\u02e8\u0005(\u0000\u0000\u02e8\u0082\u0001\u0000\u0000\u0000"+ - "\u02e9\u02ea\u0005)\u0000\u0000\u02ea\u0084\u0001\u0000\u0000\u0000\u02eb"+ - "\u02ec\u0005{\u0000\u0000\u02ec\u0086\u0001\u0000\u0000\u0000\u02ed\u02ee"+ - "\u0005}\u0000\u0000\u02ee\u0088\u0001\u0000\u0000\u0000\u02ef\u02f0\u0005"+ - "[\u0000\u0000\u02f0\u008a\u0001\u0000\u0000\u0000\u02f1\u02f2\u0005]\u0000"+ - "\u0000\u02f2\u008c\u0001\u0000\u0000\u0000\u02f3\u02f4\u0005=\u0000\u0000"+ - "\u02f4\u008e\u0001\u0000\u0000\u0000\u02f5\u02f6\u0005,\u0000\u0000\u02f6"+ - "\u0090\u0001\u0000\u0000\u0000\u02f7\u02f8\u0005;\u0000\u0000\u02f8\u0092"+ - "\u0001\u0000\u0000\u0000\u02f9\u02fa\u0005:\u0000\u0000\u02fa\u0094\u0001"+ - "\u0000\u0000\u0000\u02fb\u02fc\u0005.\u0000\u0000\u02fc\u0096\u0001\u0000"+ - "\u0000\u0000\u02fd\u02fe\u0005:\u0000\u0000\u02fe\u02ff\u0005=\u0000\u0000"+ - "\u02ff\u0098\u0001\u0000\u0000\u0000\u0300\u0301\u0005|\u0000\u0000\u0301"+ - "\u0302\u0005|\u0000\u0000\u0302\u009a\u0001\u0000\u0000\u0000\u0303\u0304"+ - "\u0005&\u0000\u0000\u0304\u0305\u0005&\u0000\u0000\u0305\u009c\u0001\u0000"+ - "\u0000\u0000\u0306\u0307\u0005=\u0000\u0000\u0307\u0308\u0005=\u0000\u0000"+ - "\u0308\u009e\u0001\u0000\u0000\u0000\u0309\u030a\u0005!\u0000\u0000\u030a"+ - "\u030b\u0005=\u0000\u0000\u030b\u00a0\u0001\u0000\u0000\u0000\u030c\u030d"+ - "\u0005!\u0000\u0000\u030d\u00a2\u0001\u0000\u0000\u0000\u030e\u030f\u0005"+ - "+\u0000\u0000\u030f\u00a4\u0001\u0000\u0000\u0000\u0310\u0315\u0005\""+ - "\u0000\u0000\u0311\u0314\b\u0003\u0000\u0000\u0312\u0314\u0003\u00adV"+ - "\u0000\u0313\u0311\u0001\u0000\u0000\u0000\u0313\u0312\u0001\u0000\u0000"+ - "\u0000\u0314\u0317\u0001\u0000\u0000\u0000\u0315\u0313\u0001\u0000\u0000"+ - "\u0000\u0315\u0316\u0001\u0000\u0000\u0000\u0316\u0318\u0001\u0000\u0000"+ - "\u0000\u0317\u0315\u0001\u0000\u0000\u0000\u0318\u0319\u0005\"\u0000\u0000"+ - "\u0319\u00a6\u0001\u0000\u0000\u0000\u031a\u031c\u0007\u0004\u0000\u0000"+ - "\u031b\u031a\u0001\u0000\u0000\u0000\u031c\u031d\u0001\u0000\u0000\u0000"+ - "\u031d\u031b\u0001\u0000\u0000\u0000\u031d\u031e\u0001\u0000\u0000\u0000"+ - "\u031e\u031f\u0001\u0000\u0000\u0000\u031f\u0320\u0006S\u0000\u0000\u0320"+ - "\u00a8\u0001\u0000\u0000\u0000\u0321\u0322\u0005/\u0000\u0000\u0322\u0323"+ - "\u0005*\u0000\u0000\u0323\u0327\u0001\u0000\u0000\u0000\u0324\u0326\t"+ - "\u0000\u0000\u0000\u0325\u0324\u0001\u0000\u0000\u0000\u0326\u0329\u0001"+ - "\u0000\u0000\u0000\u0327\u0328\u0001\u0000\u0000\u0000\u0327\u0325\u0001"+ - "\u0000\u0000\u0000\u0328\u032a\u0001\u0000\u0000\u0000\u0329\u0327\u0001"+ - "\u0000\u0000\u0000\u032a\u032b\u0005*\u0000\u0000\u032b\u032c\u0005/\u0000"+ - "\u0000\u032c\u032d\u0001\u0000\u0000\u0000\u032d\u032e\u0006T\u0000\u0000"+ - "\u032e\u00aa\u0001\u0000\u0000\u0000\u032f\u0330\u0005/\u0000\u0000\u0330"+ - "\u0331\u0005/\u0000\u0000\u0331\u0335\u0001\u0000\u0000\u0000\u0332\u0334"+ - "\b\u0005\u0000\u0000\u0333\u0332\u0001\u0000\u0000\u0000\u0334\u0337\u0001"+ - "\u0000\u0000\u0000\u0335\u0333\u0001\u0000\u0000\u0000\u0335\u0336\u0001"+ - "\u0000\u0000\u0000\u0336\u0338\u0001\u0000\u0000\u0000\u0337\u0335\u0001"+ - "\u0000\u0000\u0000\u0338\u0339\u0006U\u0000\u0000\u0339\u00ac\u0001\u0000"+ - "\u0000\u0000\u033a\u033b\u0005\\\u0000\u0000\u033b\u0350\u0007\u0006\u0000"+ - "\u0000\u033c\u0341\u0005\\\u0000\u0000\u033d\u033f\u0007\u0007\u0000\u0000"+ - "\u033e\u033d\u0001\u0000\u0000\u0000\u033e\u033f\u0001\u0000\u0000\u0000"+ - "\u033f\u0340\u0001\u0000\u0000\u0000\u0340\u0342\u0007\b\u0000\u0000\u0341"+ - "\u033e\u0001\u0000\u0000\u0000\u0341\u0342\u0001\u0000\u0000\u0000\u0342"+ - "\u0343\u0001\u0000\u0000\u0000\u0343\u0350\u0007\b\u0000\u0000\u0344\u0346"+ - "\u0005\\\u0000\u0000\u0345\u0347\u0005u\u0000\u0000\u0346\u0345\u0001"+ - "\u0000\u0000\u0000\u0347\u0348\u0001\u0000\u0000\u0000\u0348\u0346\u0001"+ - "\u0000\u0000\u0000\u0348\u0349\u0001\u0000\u0000\u0000\u0349\u034a\u0001"+ - "\u0000\u0000\u0000\u034a\u034b\u0003\u00b1X\u0000\u034b\u034c\u0003\u00b1"+ - "X\u0000\u034c\u034d\u0003\u00b1X\u0000\u034d\u034e\u0003\u00b1X\u0000"+ - "\u034e\u0350\u0001\u0000\u0000\u0000\u034f\u033a\u0001\u0000\u0000\u0000"+ - "\u034f\u033c\u0001\u0000\u0000\u0000\u034f\u0344\u0001\u0000\u0000\u0000"+ - "\u0350\u00ae\u0001\u0000\u0000\u0000\u0351\u035a\u0003\u00b1X\u0000\u0352"+ - "\u0355\u0003\u00b1X\u0000\u0353\u0355\u0005_\u0000\u0000\u0354\u0352\u0001"+ - "\u0000\u0000\u0000\u0354\u0353\u0001\u0000\u0000\u0000\u0355\u0358\u0001"+ - "\u0000\u0000\u0000\u0356\u0354\u0001\u0000\u0000\u0000\u0356\u0357\u0001"+ - "\u0000\u0000\u0000\u0357\u0359\u0001\u0000\u0000\u0000\u0358\u0356\u0001"+ - "\u0000\u0000\u0000\u0359\u035b\u0003\u00b1X\u0000\u035a\u0356\u0001\u0000"+ - "\u0000\u0000\u035a\u035b\u0001\u0000\u0000\u0000\u035b\u00b0\u0001\u0000"+ - "\u0000\u0000\u035c\u035d\u0007\t\u0000\u0000\u035d\u00b2\u0001\u0000\u0000"+ - "\u0000\u0017\u0000\u00f0\u013d\u01f7\u020d\u0221\u0238\u0251\u025a\u0261"+ - "\u02e5\u0313\u0315\u031d\u0327\u0335\u033e\u0341\u0348\u034f\u0354\u0356"+ - "\u035a\u0001\u0000\u0001\u0000"; - public static final ATN _ATN = - new ATNDeserializer().deserialize(_serializedATN.toCharArray()); - static { - _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()]; - for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) { - _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); - } - } -} \ No newline at end of file diff --git a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLLexer.tokens b/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLLexer.tokens deleted file mode 100644 index c0f8a0d1b..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLLexer.tokens +++ /dev/null @@ -1,158 +0,0 @@ -OPERATION=1 -NODEOP=2 -CHECK=3 -ROUTINE=4 -CREATE=5 -DELETE=6 -POLICY_ELEMENT=7 -CONTAINED=8 -RULE=9 -WHEN=10 -PERFORMS=11 -AS=12 -ON=13 -IN=14 -DO=15 -ANY=16 -ASCENDANT_OF=17 -INTERSECTION=18 -UNION=19 -PROCESS=20 -SET_RESOURCE_OPERATIONS=21 -ASSIGN=22 -DEASSIGN=23 -FROM=24 -SET_PROPERTIES=25 -WITH_PROPERTIES=26 -OF=27 -TO=28 -ASSOCIATE=29 -AND=30 -WITH=31 -DISSOCIATE=32 -DENY=33 -PROHIBITION=34 -OBLIGATION=35 -ACCESS_RIGHTS=36 -POLICY_CLASS=37 -OBJECT_ATTRIBUTE=38 -USER_ATTRIBUTE=39 -USER_ATTRIBUTES=40 -OBJECT_ATTRIBUTES=41 -OBJECT=42 -USER=43 -ATTRIBUTE=44 -ASSOCIATIONS=45 -BREAK=46 -DEFAULT=47 -MAP=48 -ELSE=49 -CONST=50 -IF=51 -RANGE=52 -CONTINUE=53 -FOREACH=54 -RETURN=55 -VAR=56 -STRING_TYPE=57 -BOOL_TYPE=58 -VOID_TYPE=59 -ARRAY_TYPE=60 -NIL_LIT=61 -TRUE=62 -FALSE=63 -ID=64 -OPEN_PAREN=65 -CLOSE_PAREN=66 -OPEN_CURLY=67 -CLOSE_CURLY=68 -OPEN_BRACKET=69 -CLOSE_BRACKET=70 -ASSIGN_EQUALS=71 -COMMA=72 -SEMI=73 -COLON=74 -DOT=75 -DECLARE_ASSIGN=76 -LOGICAL_OR=77 -LOGICAL_AND=78 -EQUALS=79 -NOT_EQUALS=80 -EXCLAMATION=81 -PLUS=82 -DOUBLE_QUOTE_STRING=83 -WS=84 -COMMENT=85 -LINE_COMMENT=86 -'operation'=1 -'nodeop'=2 -'check'=3 -'routine'=4 -'create'=5 -'delete'=6 -'contained'=8 -'rule'=9 -'when'=10 -'performs'=11 -'as'=12 -'on'=13 -'in'=14 -'do'=15 -'any'=16 -'ascendant of'=17 -'union'=19 -'process'=20 -'set resource operations'=21 -'assign'=22 -'deassign'=23 -'from'=24 -'set properties'=25 -'with properties'=26 -'of'=27 -'to'=28 -'associate'=29 -'and'=30 -'with'=31 -'dissociate'=32 -'deny'=33 -'prohibition'=34 -'obligation'=35 -'access rights'=36 -'attribute'=44 -'associations'=45 -'break'=46 -'default'=47 -'map'=48 -'else'=49 -'const'=50 -'if'=51 -'range'=52 -'continue'=53 -'foreach'=54 -'return'=55 -'var'=56 -'string'=57 -'bool'=58 -'void'=59 -'array'=60 -'nil'=61 -'true'=62 -'false'=63 -'('=65 -')'=66 -'{'=67 -'}'=68 -'['=69 -']'=70 -'='=71 -','=72 -';'=73 -':'=74 -'.'=75 -':='=76 -'||'=77 -'&&'=78 -'=='=79 -'!='=80 -'!'=81 -'+'=82 diff --git a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParser.interp b/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParser.interp deleted file mode 100644 index 9ebbe17a9..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParser.interp +++ /dev/null @@ -1,249 +0,0 @@ -token literal names: -null -'operation' -'nodeop' -'check' -'routine' -'create' -'delete' -null -'contained' -'rule' -'when' -'performs' -'as' -'on' -'in' -'do' -'any' -'ascendant of' -null -'union' -'process' -'set resource operations' -'assign' -'deassign' -'from' -'set properties' -'with properties' -'of' -'to' -'associate' -'and' -'with' -'dissociate' -'deny' -'prohibition' -'obligation' -'access rights' -null -null -null -null -null -null -null -'attribute' -'associations' -'break' -'default' -'map' -'else' -'const' -'if' -'range' -'continue' -'foreach' -'return' -'var' -'string' -'bool' -'void' -'array' -'nil' -'true' -'false' -null -'(' -')' -'{' -'}' -'[' -']' -'=' -',' -';' -':' -'.' -':=' -'||' -'&&' -'==' -'!=' -'!' -'+' -null -null -null -null - -token symbolic names: -null -OPERATION -NODEOP -CHECK -ROUTINE -CREATE -DELETE -POLICY_ELEMENT -CONTAINED -RULE -WHEN -PERFORMS -AS -ON -IN -DO -ANY -ASCENDANT_OF -INTERSECTION -UNION -PROCESS -SET_RESOURCE_OPERATIONS -ASSIGN -DEASSIGN -FROM -SET_PROPERTIES -WITH_PROPERTIES -OF -TO -ASSOCIATE -AND -WITH -DISSOCIATE -DENY -PROHIBITION -OBLIGATION -ACCESS_RIGHTS -POLICY_CLASS -OBJECT_ATTRIBUTE -USER_ATTRIBUTE -USER_ATTRIBUTES -OBJECT_ATTRIBUTES -OBJECT -USER -ATTRIBUTE -ASSOCIATIONS -BREAK -DEFAULT -MAP -ELSE -CONST -IF -RANGE -CONTINUE -FOREACH -RETURN -VAR -STRING_TYPE -BOOL_TYPE -VOID_TYPE -ARRAY_TYPE -NIL_LIT -TRUE -FALSE -ID -OPEN_PAREN -CLOSE_PAREN -OPEN_CURLY -CLOSE_CURLY -OPEN_BRACKET -CLOSE_BRACKET -ASSIGN_EQUALS -COMMA -SEMI -COLON -DOT -DECLARE_ASSIGN -LOGICAL_OR -LOGICAL_AND -EQUALS -NOT_EQUALS -EXCLAMATION -PLUS -DOUBLE_QUOTE_STRING -WS -COMMENT -LINE_COMMENT - -rule names: -pml -statement -statementBlock -createPolicyStatement -createNonPCStatement -nonPCNodeType -createObligationStatement -createRuleStatement -subjectPattern -subjectPatternExpression -basicSubjectPatternExpr -operationPattern -operandPattern -operandPatternElement -operandPatternExpressionArray -operandPatternExpression -basicOperandPatternExpr -response -responseBlock -responseStatement -createProhibitionStatement -setNodePropertiesStatement -assignStatement -deassignStatement -associateStatement -dissociateStatement -setResourceOperationsStatement -deleteStatement -deleteType -nodeType -deleteRuleStatement -variableDeclarationStatement -varSpec -variableAssignmentStatement -functionDefinitionStatement -functionSignature -formalArgList -formalArg -returnStatement -checkStatement -checkStatementBlock -idArr -functionInvokeStatement -foreachStatement -breakStatement -continueStatement -ifStatement -elseIfStatement -elseStatement -variableType -mapType -arrayType -expression -expressionList -literal -stringLit -boolLit -arrayLit -stringArrayLit -mapLit -element -variableReference -index -id -functionInvoke -functionInvokeArgs - - -atn: -[4, 1, 86, 633, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 1, 0, 5, 0, 134, 8, 0, 10, 0, 12, 0, 137, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 162, 8, 1, 1, 2, 1, 2, 5, 2, 166, 8, 2, 10, 2, 12, 2, 169, 9, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 5, 6, 190, 8, 6, 10, 6, 12, 6, 193, 9, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 3, 7, 206, 8, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 214, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 224, 8, 9, 1, 9, 1, 9, 1, 9, 5, 9, 229, 8, 9, 10, 9, 12, 9, 232, 9, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 3, 10, 239, 8, 10, 1, 11, 1, 11, 1, 11, 3, 11, 244, 8, 11, 1, 12, 1, 12, 1, 12, 1, 12, 5, 12, 250, 8, 12, 10, 12, 12, 12, 253, 9, 12, 3, 12, 255, 8, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 3, 13, 263, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 5, 14, 269, 8, 14, 10, 14, 12, 14, 272, 9, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 284, 8, 15, 1, 15, 1, 15, 1, 15, 5, 15, 289, 8, 15, 10, 15, 12, 15, 292, 9, 15, 1, 16, 1, 16, 1, 16, 1, 16, 3, 16, 298, 8, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 5, 18, 308, 8, 18, 10, 18, 12, 18, 311, 9, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 3, 19, 318, 8, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 3, 28, 371, 8, 28, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 5, 31, 386, 8, 31, 10, 31, 12, 31, 389, 9, 31, 1, 31, 3, 31, 392, 8, 31, 1, 31, 1, 31, 1, 31, 3, 31, 397, 8, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 3, 33, 405, 8, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 3, 34, 412, 8, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 422, 8, 35, 1, 36, 1, 36, 1, 36, 5, 36, 427, 8, 36, 10, 36, 12, 36, 430, 9, 36, 3, 36, 432, 8, 36, 1, 37, 3, 37, 435, 8, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 3, 38, 442, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 5, 40, 451, 8, 40, 10, 40, 12, 40, 454, 9, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 5, 41, 462, 8, 41, 10, 41, 12, 41, 465, 9, 41, 3, 41, 467, 8, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 477, 8, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 5, 46, 491, 8, 46, 10, 46, 12, 46, 494, 9, 46, 1, 46, 3, 46, 497, 8, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 512, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 534, 8, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 545, 8, 52, 10, 52, 12, 52, 548, 9, 52, 1, 53, 1, 53, 1, 53, 5, 53, 553, 8, 53, 10, 53, 12, 53, 556, 9, 53, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 562, 8, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 57, 1, 57, 3, 57, 570, 8, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 5, 58, 578, 8, 58, 10, 58, 12, 58, 581, 9, 58, 3, 58, 583, 8, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 591, 8, 59, 10, 59, 12, 59, 594, 9, 59, 3, 59, 596, 8, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 5, 61, 609, 8, 61, 10, 61, 12, 61, 612, 9, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 3, 62, 620, 8, 62, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 3, 65, 629, 8, 65, 1, 65, 1, 65, 1, 65, 0, 4, 18, 30, 104, 122, 66, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 0, 8, 2, 0, 38, 39, 42, 43, 1, 0, 77, 78, 3, 0, 20, 20, 39, 39, 43, 43, 1, 0, 18, 19, 2, 0, 37, 39, 42, 43, 2, 0, 1, 1, 4, 4, 1, 0, 79, 80, 1, 0, 62, 63, 650, 0, 135, 1, 0, 0, 0, 2, 161, 1, 0, 0, 0, 4, 163, 1, 0, 0, 0, 6, 172, 1, 0, 0, 0, 8, 176, 1, 0, 0, 0, 10, 182, 1, 0, 0, 0, 12, 184, 1, 0, 0, 0, 14, 196, 1, 0, 0, 0, 16, 213, 1, 0, 0, 0, 18, 223, 1, 0, 0, 0, 20, 238, 1, 0, 0, 0, 22, 243, 1, 0, 0, 0, 24, 245, 1, 0, 0, 0, 26, 258, 1, 0, 0, 0, 28, 264, 1, 0, 0, 0, 30, 283, 1, 0, 0, 0, 32, 297, 1, 0, 0, 0, 34, 299, 1, 0, 0, 0, 36, 305, 1, 0, 0, 0, 38, 317, 1, 0, 0, 0, 40, 319, 1, 0, 0, 0, 42, 332, 1, 0, 0, 0, 44, 338, 1, 0, 0, 0, 46, 343, 1, 0, 0, 0, 48, 348, 1, 0, 0, 0, 50, 355, 1, 0, 0, 0, 52, 360, 1, 0, 0, 0, 54, 363, 1, 0, 0, 0, 56, 370, 1, 0, 0, 0, 58, 372, 1, 0, 0, 0, 60, 374, 1, 0, 0, 0, 62, 396, 1, 0, 0, 0, 64, 398, 1, 0, 0, 0, 66, 402, 1, 0, 0, 0, 68, 409, 1, 0, 0, 0, 70, 415, 1, 0, 0, 0, 72, 431, 1, 0, 0, 0, 74, 434, 1, 0, 0, 0, 76, 439, 1, 0, 0, 0, 78, 443, 1, 0, 0, 0, 80, 448, 1, 0, 0, 0, 82, 457, 1, 0, 0, 0, 84, 470, 1, 0, 0, 0, 86, 472, 1, 0, 0, 0, 88, 482, 1, 0, 0, 0, 90, 484, 1, 0, 0, 0, 92, 486, 1, 0, 0, 0, 94, 498, 1, 0, 0, 0, 96, 503, 1, 0, 0, 0, 98, 511, 1, 0, 0, 0, 100, 513, 1, 0, 0, 0, 102, 519, 1, 0, 0, 0, 104, 533, 1, 0, 0, 0, 106, 549, 1, 0, 0, 0, 108, 561, 1, 0, 0, 0, 110, 563, 1, 0, 0, 0, 112, 565, 1, 0, 0, 0, 114, 567, 1, 0, 0, 0, 116, 573, 1, 0, 0, 0, 118, 586, 1, 0, 0, 0, 120, 599, 1, 0, 0, 0, 122, 603, 1, 0, 0, 0, 124, 619, 1, 0, 0, 0, 126, 621, 1, 0, 0, 0, 128, 623, 1, 0, 0, 0, 130, 626, 1, 0, 0, 0, 132, 134, 3, 2, 1, 0, 133, 132, 1, 0, 0, 0, 134, 137, 1, 0, 0, 0, 135, 133, 1, 0, 0, 0, 135, 136, 1, 0, 0, 0, 136, 138, 1, 0, 0, 0, 137, 135, 1, 0, 0, 0, 138, 139, 5, 0, 0, 1, 139, 1, 1, 0, 0, 0, 140, 162, 3, 66, 33, 0, 141, 162, 3, 62, 31, 0, 142, 162, 3, 86, 43, 0, 143, 162, 3, 76, 38, 0, 144, 162, 3, 88, 44, 0, 145, 162, 3, 90, 45, 0, 146, 162, 3, 84, 42, 0, 147, 162, 3, 92, 46, 0, 148, 162, 3, 6, 3, 0, 149, 162, 3, 8, 4, 0, 150, 162, 3, 12, 6, 0, 151, 162, 3, 40, 20, 0, 152, 162, 3, 42, 21, 0, 153, 162, 3, 44, 22, 0, 154, 162, 3, 46, 23, 0, 155, 162, 3, 48, 24, 0, 156, 162, 3, 50, 25, 0, 157, 162, 3, 52, 26, 0, 158, 162, 3, 54, 27, 0, 159, 162, 3, 60, 30, 0, 160, 162, 3, 68, 34, 0, 161, 140, 1, 0, 0, 0, 161, 141, 1, 0, 0, 0, 161, 142, 1, 0, 0, 0, 161, 143, 1, 0, 0, 0, 161, 144, 1, 0, 0, 0, 161, 145, 1, 0, 0, 0, 161, 146, 1, 0, 0, 0, 161, 147, 1, 0, 0, 0, 161, 148, 1, 0, 0, 0, 161, 149, 1, 0, 0, 0, 161, 150, 1, 0, 0, 0, 161, 151, 1, 0, 0, 0, 161, 152, 1, 0, 0, 0, 161, 153, 1, 0, 0, 0, 161, 154, 1, 0, 0, 0, 161, 155, 1, 0, 0, 0, 161, 156, 1, 0, 0, 0, 161, 157, 1, 0, 0, 0, 161, 158, 1, 0, 0, 0, 161, 159, 1, 0, 0, 0, 161, 160, 1, 0, 0, 0, 162, 3, 1, 0, 0, 0, 163, 167, 5, 67, 0, 0, 164, 166, 3, 2, 1, 0, 165, 164, 1, 0, 0, 0, 166, 169, 1, 0, 0, 0, 167, 165, 1, 0, 0, 0, 167, 168, 1, 0, 0, 0, 168, 170, 1, 0, 0, 0, 169, 167, 1, 0, 0, 0, 170, 171, 5, 68, 0, 0, 171, 5, 1, 0, 0, 0, 172, 173, 5, 5, 0, 0, 173, 174, 5, 37, 0, 0, 174, 175, 3, 104, 52, 0, 175, 7, 1, 0, 0, 0, 176, 177, 5, 5, 0, 0, 177, 178, 3, 10, 5, 0, 178, 179, 3, 104, 52, 0, 179, 180, 5, 14, 0, 0, 180, 181, 3, 104, 52, 0, 181, 9, 1, 0, 0, 0, 182, 183, 7, 0, 0, 0, 183, 11, 1, 0, 0, 0, 184, 185, 5, 5, 0, 0, 185, 186, 5, 35, 0, 0, 186, 187, 3, 104, 52, 0, 187, 191, 5, 67, 0, 0, 188, 190, 3, 14, 7, 0, 189, 188, 1, 0, 0, 0, 190, 193, 1, 0, 0, 0, 191, 189, 1, 0, 0, 0, 191, 192, 1, 0, 0, 0, 192, 194, 1, 0, 0, 0, 193, 191, 1, 0, 0, 0, 194, 195, 5, 68, 0, 0, 195, 13, 1, 0, 0, 0, 196, 197, 5, 5, 0, 0, 197, 198, 5, 9, 0, 0, 198, 199, 3, 104, 52, 0, 199, 200, 5, 10, 0, 0, 200, 201, 3, 16, 8, 0, 201, 202, 5, 11, 0, 0, 202, 205, 3, 22, 11, 0, 203, 204, 5, 13, 0, 0, 204, 206, 3, 24, 12, 0, 205, 203, 1, 0, 0, 0, 205, 206, 1, 0, 0, 0, 206, 207, 1, 0, 0, 0, 207, 208, 3, 34, 17, 0, 208, 15, 1, 0, 0, 0, 209, 210, 5, 16, 0, 0, 210, 214, 5, 43, 0, 0, 211, 212, 5, 43, 0, 0, 212, 214, 3, 18, 9, 0, 213, 209, 1, 0, 0, 0, 213, 211, 1, 0, 0, 0, 214, 17, 1, 0, 0, 0, 215, 216, 6, 9, -1, 0, 216, 224, 3, 20, 10, 0, 217, 218, 5, 81, 0, 0, 218, 224, 3, 18, 9, 3, 219, 220, 5, 65, 0, 0, 220, 221, 3, 18, 9, 0, 221, 222, 5, 66, 0, 0, 222, 224, 1, 0, 0, 0, 223, 215, 1, 0, 0, 0, 223, 217, 1, 0, 0, 0, 223, 219, 1, 0, 0, 0, 224, 230, 1, 0, 0, 0, 225, 226, 10, 1, 0, 0, 226, 227, 7, 1, 0, 0, 227, 229, 3, 18, 9, 2, 228, 225, 1, 0, 0, 0, 229, 232, 1, 0, 0, 0, 230, 228, 1, 0, 0, 0, 230, 231, 1, 0, 0, 0, 231, 19, 1, 0, 0, 0, 232, 230, 1, 0, 0, 0, 233, 234, 5, 14, 0, 0, 234, 239, 3, 110, 55, 0, 235, 239, 3, 110, 55, 0, 236, 237, 5, 20, 0, 0, 237, 239, 3, 110, 55, 0, 238, 233, 1, 0, 0, 0, 238, 235, 1, 0, 0, 0, 238, 236, 1, 0, 0, 0, 239, 21, 1, 0, 0, 0, 240, 241, 5, 16, 0, 0, 241, 244, 5, 1, 0, 0, 242, 244, 3, 110, 55, 0, 243, 240, 1, 0, 0, 0, 243, 242, 1, 0, 0, 0, 244, 23, 1, 0, 0, 0, 245, 254, 5, 67, 0, 0, 246, 251, 3, 26, 13, 0, 247, 248, 5, 72, 0, 0, 248, 250, 3, 26, 13, 0, 249, 247, 1, 0, 0, 0, 250, 253, 1, 0, 0, 0, 251, 249, 1, 0, 0, 0, 251, 252, 1, 0, 0, 0, 252, 255, 1, 0, 0, 0, 253, 251, 1, 0, 0, 0, 254, 246, 1, 0, 0, 0, 254, 255, 1, 0, 0, 0, 255, 256, 1, 0, 0, 0, 256, 257, 5, 68, 0, 0, 257, 25, 1, 0, 0, 0, 258, 259, 5, 64, 0, 0, 259, 262, 5, 74, 0, 0, 260, 263, 3, 30, 15, 0, 261, 263, 3, 28, 14, 0, 262, 260, 1, 0, 0, 0, 262, 261, 1, 0, 0, 0, 263, 27, 1, 0, 0, 0, 264, 265, 5, 69, 0, 0, 265, 270, 3, 30, 15, 0, 266, 267, 5, 72, 0, 0, 267, 269, 3, 30, 15, 0, 268, 266, 1, 0, 0, 0, 269, 272, 1, 0, 0, 0, 270, 268, 1, 0, 0, 0, 270, 271, 1, 0, 0, 0, 271, 273, 1, 0, 0, 0, 272, 270, 1, 0, 0, 0, 273, 274, 5, 70, 0, 0, 274, 29, 1, 0, 0, 0, 275, 276, 6, 15, -1, 0, 276, 284, 3, 32, 16, 0, 277, 278, 5, 81, 0, 0, 278, 284, 3, 30, 15, 3, 279, 280, 5, 65, 0, 0, 280, 281, 3, 30, 15, 0, 281, 282, 5, 66, 0, 0, 282, 284, 1, 0, 0, 0, 283, 275, 1, 0, 0, 0, 283, 277, 1, 0, 0, 0, 283, 279, 1, 0, 0, 0, 284, 290, 1, 0, 0, 0, 285, 286, 10, 1, 0, 0, 286, 287, 7, 1, 0, 0, 287, 289, 3, 30, 15, 2, 288, 285, 1, 0, 0, 0, 289, 292, 1, 0, 0, 0, 290, 288, 1, 0, 0, 0, 290, 291, 1, 0, 0, 0, 291, 31, 1, 0, 0, 0, 292, 290, 1, 0, 0, 0, 293, 298, 5, 16, 0, 0, 294, 295, 5, 14, 0, 0, 295, 298, 3, 110, 55, 0, 296, 298, 3, 110, 55, 0, 297, 293, 1, 0, 0, 0, 297, 294, 1, 0, 0, 0, 297, 296, 1, 0, 0, 0, 298, 33, 1, 0, 0, 0, 299, 300, 5, 15, 0, 0, 300, 301, 5, 65, 0, 0, 301, 302, 5, 64, 0, 0, 302, 303, 5, 66, 0, 0, 303, 304, 3, 36, 18, 0, 304, 35, 1, 0, 0, 0, 305, 309, 5, 67, 0, 0, 306, 308, 3, 38, 19, 0, 307, 306, 1, 0, 0, 0, 308, 311, 1, 0, 0, 0, 309, 307, 1, 0, 0, 0, 309, 310, 1, 0, 0, 0, 310, 312, 1, 0, 0, 0, 311, 309, 1, 0, 0, 0, 312, 313, 5, 68, 0, 0, 313, 37, 1, 0, 0, 0, 314, 318, 3, 2, 1, 0, 315, 318, 3, 14, 7, 0, 316, 318, 3, 60, 30, 0, 317, 314, 1, 0, 0, 0, 317, 315, 1, 0, 0, 0, 317, 316, 1, 0, 0, 0, 318, 39, 1, 0, 0, 0, 319, 320, 5, 5, 0, 0, 320, 321, 5, 34, 0, 0, 321, 322, 3, 104, 52, 0, 322, 323, 5, 33, 0, 0, 323, 324, 7, 2, 0, 0, 324, 325, 3, 104, 52, 0, 325, 326, 5, 36, 0, 0, 326, 327, 3, 104, 52, 0, 327, 328, 5, 13, 0, 0, 328, 329, 7, 3, 0, 0, 329, 330, 5, 27, 0, 0, 330, 331, 3, 104, 52, 0, 331, 41, 1, 0, 0, 0, 332, 333, 5, 25, 0, 0, 333, 334, 5, 27, 0, 0, 334, 335, 3, 104, 52, 0, 335, 336, 5, 28, 0, 0, 336, 337, 3, 104, 52, 0, 337, 43, 1, 0, 0, 0, 338, 339, 5, 22, 0, 0, 339, 340, 3, 104, 52, 0, 340, 341, 5, 28, 0, 0, 341, 342, 3, 104, 52, 0, 342, 45, 1, 0, 0, 0, 343, 344, 5, 23, 0, 0, 344, 345, 3, 104, 52, 0, 345, 346, 5, 24, 0, 0, 346, 347, 3, 104, 52, 0, 347, 47, 1, 0, 0, 0, 348, 349, 5, 29, 0, 0, 349, 350, 3, 104, 52, 0, 350, 351, 5, 30, 0, 0, 351, 352, 3, 104, 52, 0, 352, 353, 5, 31, 0, 0, 353, 354, 3, 104, 52, 0, 354, 49, 1, 0, 0, 0, 355, 356, 5, 32, 0, 0, 356, 357, 3, 104, 52, 0, 357, 358, 5, 30, 0, 0, 358, 359, 3, 104, 52, 0, 359, 51, 1, 0, 0, 0, 360, 361, 5, 21, 0, 0, 361, 362, 3, 104, 52, 0, 362, 53, 1, 0, 0, 0, 363, 364, 5, 6, 0, 0, 364, 365, 3, 56, 28, 0, 365, 366, 3, 104, 52, 0, 366, 55, 1, 0, 0, 0, 367, 371, 3, 58, 29, 0, 368, 371, 5, 35, 0, 0, 369, 371, 5, 34, 0, 0, 370, 367, 1, 0, 0, 0, 370, 368, 1, 0, 0, 0, 370, 369, 1, 0, 0, 0, 371, 57, 1, 0, 0, 0, 372, 373, 7, 4, 0, 0, 373, 59, 1, 0, 0, 0, 374, 375, 5, 6, 0, 0, 375, 376, 5, 9, 0, 0, 376, 377, 3, 104, 52, 0, 377, 378, 5, 24, 0, 0, 378, 379, 5, 35, 0, 0, 379, 380, 3, 104, 52, 0, 380, 61, 1, 0, 0, 0, 381, 391, 5, 56, 0, 0, 382, 392, 3, 64, 32, 0, 383, 387, 5, 65, 0, 0, 384, 386, 3, 64, 32, 0, 385, 384, 1, 0, 0, 0, 386, 389, 1, 0, 0, 0, 387, 385, 1, 0, 0, 0, 387, 388, 1, 0, 0, 0, 388, 390, 1, 0, 0, 0, 389, 387, 1, 0, 0, 0, 390, 392, 5, 66, 0, 0, 391, 382, 1, 0, 0, 0, 391, 383, 1, 0, 0, 0, 392, 397, 1, 0, 0, 0, 393, 394, 5, 64, 0, 0, 394, 395, 5, 76, 0, 0, 395, 397, 3, 104, 52, 0, 396, 381, 1, 0, 0, 0, 396, 393, 1, 0, 0, 0, 397, 63, 1, 0, 0, 0, 398, 399, 5, 64, 0, 0, 399, 400, 5, 71, 0, 0, 400, 401, 3, 104, 52, 0, 401, 65, 1, 0, 0, 0, 402, 404, 5, 64, 0, 0, 403, 405, 5, 82, 0, 0, 404, 403, 1, 0, 0, 0, 404, 405, 1, 0, 0, 0, 405, 406, 1, 0, 0, 0, 406, 407, 5, 71, 0, 0, 407, 408, 3, 104, 52, 0, 408, 67, 1, 0, 0, 0, 409, 411, 3, 70, 35, 0, 410, 412, 3, 80, 40, 0, 411, 410, 1, 0, 0, 0, 411, 412, 1, 0, 0, 0, 412, 413, 1, 0, 0, 0, 413, 414, 3, 4, 2, 0, 414, 69, 1, 0, 0, 0, 415, 416, 7, 5, 0, 0, 416, 417, 5, 64, 0, 0, 417, 418, 5, 65, 0, 0, 418, 419, 3, 72, 36, 0, 419, 421, 5, 66, 0, 0, 420, 422, 3, 98, 49, 0, 421, 420, 1, 0, 0, 0, 421, 422, 1, 0, 0, 0, 422, 71, 1, 0, 0, 0, 423, 428, 3, 74, 37, 0, 424, 425, 5, 72, 0, 0, 425, 427, 3, 74, 37, 0, 426, 424, 1, 0, 0, 0, 427, 430, 1, 0, 0, 0, 428, 426, 1, 0, 0, 0, 428, 429, 1, 0, 0, 0, 429, 432, 1, 0, 0, 0, 430, 428, 1, 0, 0, 0, 431, 423, 1, 0, 0, 0, 431, 432, 1, 0, 0, 0, 432, 73, 1, 0, 0, 0, 433, 435, 5, 2, 0, 0, 434, 433, 1, 0, 0, 0, 434, 435, 1, 0, 0, 0, 435, 436, 1, 0, 0, 0, 436, 437, 3, 98, 49, 0, 437, 438, 5, 64, 0, 0, 438, 75, 1, 0, 0, 0, 439, 441, 5, 55, 0, 0, 440, 442, 3, 104, 52, 0, 441, 440, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 77, 1, 0, 0, 0, 443, 444, 5, 3, 0, 0, 444, 445, 3, 104, 52, 0, 445, 446, 5, 13, 0, 0, 446, 447, 3, 104, 52, 0, 447, 79, 1, 0, 0, 0, 448, 452, 5, 67, 0, 0, 449, 451, 3, 78, 39, 0, 450, 449, 1, 0, 0, 0, 451, 454, 1, 0, 0, 0, 452, 450, 1, 0, 0, 0, 452, 453, 1, 0, 0, 0, 453, 455, 1, 0, 0, 0, 454, 452, 1, 0, 0, 0, 455, 456, 5, 68, 0, 0, 456, 81, 1, 0, 0, 0, 457, 466, 5, 69, 0, 0, 458, 463, 5, 64, 0, 0, 459, 460, 5, 72, 0, 0, 460, 462, 5, 64, 0, 0, 461, 459, 1, 0, 0, 0, 462, 465, 1, 0, 0, 0, 463, 461, 1, 0, 0, 0, 463, 464, 1, 0, 0, 0, 464, 467, 1, 0, 0, 0, 465, 463, 1, 0, 0, 0, 466, 458, 1, 0, 0, 0, 466, 467, 1, 0, 0, 0, 467, 468, 1, 0, 0, 0, 468, 469, 5, 70, 0, 0, 469, 83, 1, 0, 0, 0, 470, 471, 3, 128, 64, 0, 471, 85, 1, 0, 0, 0, 472, 473, 5, 54, 0, 0, 473, 476, 5, 64, 0, 0, 474, 475, 5, 72, 0, 0, 475, 477, 5, 64, 0, 0, 476, 474, 1, 0, 0, 0, 476, 477, 1, 0, 0, 0, 477, 478, 1, 0, 0, 0, 478, 479, 5, 14, 0, 0, 479, 480, 3, 104, 52, 0, 480, 481, 3, 4, 2, 0, 481, 87, 1, 0, 0, 0, 482, 483, 5, 46, 0, 0, 483, 89, 1, 0, 0, 0, 484, 485, 5, 53, 0, 0, 485, 91, 1, 0, 0, 0, 486, 487, 5, 51, 0, 0, 487, 488, 3, 104, 52, 0, 488, 492, 3, 4, 2, 0, 489, 491, 3, 94, 47, 0, 490, 489, 1, 0, 0, 0, 491, 494, 1, 0, 0, 0, 492, 490, 1, 0, 0, 0, 492, 493, 1, 0, 0, 0, 493, 496, 1, 0, 0, 0, 494, 492, 1, 0, 0, 0, 495, 497, 3, 96, 48, 0, 496, 495, 1, 0, 0, 0, 496, 497, 1, 0, 0, 0, 497, 93, 1, 0, 0, 0, 498, 499, 5, 49, 0, 0, 499, 500, 5, 51, 0, 0, 500, 501, 3, 104, 52, 0, 501, 502, 3, 4, 2, 0, 502, 95, 1, 0, 0, 0, 503, 504, 5, 49, 0, 0, 504, 505, 3, 4, 2, 0, 505, 97, 1, 0, 0, 0, 506, 512, 5, 57, 0, 0, 507, 512, 5, 58, 0, 0, 508, 512, 3, 102, 51, 0, 509, 512, 3, 100, 50, 0, 510, 512, 5, 16, 0, 0, 511, 506, 1, 0, 0, 0, 511, 507, 1, 0, 0, 0, 511, 508, 1, 0, 0, 0, 511, 509, 1, 0, 0, 0, 511, 510, 1, 0, 0, 0, 512, 99, 1, 0, 0, 0, 513, 514, 5, 48, 0, 0, 514, 515, 5, 69, 0, 0, 515, 516, 3, 98, 49, 0, 516, 517, 5, 70, 0, 0, 517, 518, 3, 98, 49, 0, 518, 101, 1, 0, 0, 0, 519, 520, 5, 69, 0, 0, 520, 521, 5, 70, 0, 0, 521, 522, 3, 98, 49, 0, 522, 103, 1, 0, 0, 0, 523, 524, 6, 52, -1, 0, 524, 534, 3, 128, 64, 0, 525, 534, 3, 122, 61, 0, 526, 534, 3, 108, 54, 0, 527, 528, 5, 81, 0, 0, 528, 534, 3, 104, 52, 5, 529, 530, 5, 65, 0, 0, 530, 531, 3, 104, 52, 0, 531, 532, 5, 66, 0, 0, 532, 534, 1, 0, 0, 0, 533, 523, 1, 0, 0, 0, 533, 525, 1, 0, 0, 0, 533, 526, 1, 0, 0, 0, 533, 527, 1, 0, 0, 0, 533, 529, 1, 0, 0, 0, 534, 546, 1, 0, 0, 0, 535, 536, 10, 3, 0, 0, 536, 537, 5, 82, 0, 0, 537, 545, 3, 104, 52, 4, 538, 539, 10, 2, 0, 0, 539, 540, 7, 6, 0, 0, 540, 545, 3, 104, 52, 3, 541, 542, 10, 1, 0, 0, 542, 543, 7, 1, 0, 0, 543, 545, 3, 104, 52, 2, 544, 535, 1, 0, 0, 0, 544, 538, 1, 0, 0, 0, 544, 541, 1, 0, 0, 0, 545, 548, 1, 0, 0, 0, 546, 544, 1, 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 105, 1, 0, 0, 0, 548, 546, 1, 0, 0, 0, 549, 554, 3, 104, 52, 0, 550, 551, 5, 72, 0, 0, 551, 553, 3, 104, 52, 0, 552, 550, 1, 0, 0, 0, 553, 556, 1, 0, 0, 0, 554, 552, 1, 0, 0, 0, 554, 555, 1, 0, 0, 0, 555, 107, 1, 0, 0, 0, 556, 554, 1, 0, 0, 0, 557, 562, 3, 110, 55, 0, 558, 562, 3, 112, 56, 0, 559, 562, 3, 114, 57, 0, 560, 562, 3, 118, 59, 0, 561, 557, 1, 0, 0, 0, 561, 558, 1, 0, 0, 0, 561, 559, 1, 0, 0, 0, 561, 560, 1, 0, 0, 0, 562, 109, 1, 0, 0, 0, 563, 564, 5, 83, 0, 0, 564, 111, 1, 0, 0, 0, 565, 566, 7, 7, 0, 0, 566, 113, 1, 0, 0, 0, 567, 569, 5, 69, 0, 0, 568, 570, 3, 106, 53, 0, 569, 568, 1, 0, 0, 0, 569, 570, 1, 0, 0, 0, 570, 571, 1, 0, 0, 0, 571, 572, 5, 70, 0, 0, 572, 115, 1, 0, 0, 0, 573, 582, 5, 69, 0, 0, 574, 579, 3, 110, 55, 0, 575, 576, 5, 72, 0, 0, 576, 578, 3, 110, 55, 0, 577, 575, 1, 0, 0, 0, 578, 581, 1, 0, 0, 0, 579, 577, 1, 0, 0, 0, 579, 580, 1, 0, 0, 0, 580, 583, 1, 0, 0, 0, 581, 579, 1, 0, 0, 0, 582, 574, 1, 0, 0, 0, 582, 583, 1, 0, 0, 0, 583, 584, 1, 0, 0, 0, 584, 585, 5, 70, 0, 0, 585, 117, 1, 0, 0, 0, 586, 595, 5, 67, 0, 0, 587, 592, 3, 120, 60, 0, 588, 589, 5, 72, 0, 0, 589, 591, 3, 120, 60, 0, 590, 588, 1, 0, 0, 0, 591, 594, 1, 0, 0, 0, 592, 590, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 596, 1, 0, 0, 0, 594, 592, 1, 0, 0, 0, 595, 587, 1, 0, 0, 0, 595, 596, 1, 0, 0, 0, 596, 597, 1, 0, 0, 0, 597, 598, 5, 68, 0, 0, 598, 119, 1, 0, 0, 0, 599, 600, 3, 104, 52, 0, 600, 601, 5, 74, 0, 0, 601, 602, 3, 104, 52, 0, 602, 121, 1, 0, 0, 0, 603, 604, 6, 61, -1, 0, 604, 605, 5, 64, 0, 0, 605, 610, 1, 0, 0, 0, 606, 607, 10, 1, 0, 0, 607, 609, 3, 124, 62, 0, 608, 606, 1, 0, 0, 0, 609, 612, 1, 0, 0, 0, 610, 608, 1, 0, 0, 0, 610, 611, 1, 0, 0, 0, 611, 123, 1, 0, 0, 0, 612, 610, 1, 0, 0, 0, 613, 614, 5, 69, 0, 0, 614, 615, 3, 104, 52, 0, 615, 616, 5, 70, 0, 0, 616, 620, 1, 0, 0, 0, 617, 618, 5, 75, 0, 0, 618, 620, 3, 126, 63, 0, 619, 613, 1, 0, 0, 0, 619, 617, 1, 0, 0, 0, 620, 125, 1, 0, 0, 0, 621, 622, 5, 64, 0, 0, 622, 127, 1, 0, 0, 0, 623, 624, 5, 64, 0, 0, 624, 625, 3, 130, 65, 0, 625, 129, 1, 0, 0, 0, 626, 628, 5, 65, 0, 0, 627, 629, 3, 106, 53, 0, 628, 627, 1, 0, 0, 0, 628, 629, 1, 0, 0, 0, 629, 630, 1, 0, 0, 0, 630, 631, 5, 66, 0, 0, 631, 131, 1, 0, 0, 0, 50, 135, 161, 167, 191, 205, 213, 223, 230, 238, 243, 251, 254, 262, 270, 283, 290, 297, 309, 317, 370, 387, 391, 396, 404, 411, 421, 428, 431, 434, 441, 452, 463, 466, 476, 492, 496, 511, 533, 544, 546, 554, 561, 569, 579, 582, 592, 595, 610, 619, 628] \ No newline at end of file diff --git a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParser.java b/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParser.java deleted file mode 100644 index 894e98b86..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParser.java +++ /dev/null @@ -1,6127 +0,0 @@ -// Generated from PMLParser.g4 by ANTLR 4.13.1 -package gov.nist.csd.pm.pap.pml.antlr; -import org.antlr.v4.runtime.atn.*; -import org.antlr.v4.runtime.dfa.DFA; -import org.antlr.v4.runtime.*; -import org.antlr.v4.runtime.misc.*; -import org.antlr.v4.runtime.tree.*; -import java.util.List; -import java.util.Iterator; -import java.util.ArrayList; - -@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue"}) -public class PMLParser extends Parser { - static { RuntimeMetaData.checkVersion("4.13.1", RuntimeMetaData.VERSION); } - - protected static final DFA[] _decisionToDFA; - protected static final PredictionContextCache _sharedContextCache = - new PredictionContextCache(); - public static final int - OPERATION=1, NODEOP=2, CHECK=3, ROUTINE=4, CREATE=5, DELETE=6, POLICY_ELEMENT=7, - CONTAINED=8, RULE=9, WHEN=10, PERFORMS=11, AS=12, ON=13, IN=14, DO=15, - ANY=16, ASCENDANT_OF=17, INTERSECTION=18, UNION=19, PROCESS=20, SET_RESOURCE_OPERATIONS=21, - ASSIGN=22, DEASSIGN=23, FROM=24, SET_PROPERTIES=25, WITH_PROPERTIES=26, - OF=27, TO=28, ASSOCIATE=29, AND=30, WITH=31, DISSOCIATE=32, DENY=33, PROHIBITION=34, - OBLIGATION=35, ACCESS_RIGHTS=36, POLICY_CLASS=37, OBJECT_ATTRIBUTE=38, - USER_ATTRIBUTE=39, USER_ATTRIBUTES=40, OBJECT_ATTRIBUTES=41, OBJECT=42, - USER=43, ATTRIBUTE=44, ASSOCIATIONS=45, BREAK=46, DEFAULT=47, MAP=48, - ELSE=49, CONST=50, IF=51, RANGE=52, CONTINUE=53, FOREACH=54, RETURN=55, - VAR=56, STRING_TYPE=57, BOOL_TYPE=58, VOID_TYPE=59, ARRAY_TYPE=60, NIL_LIT=61, - TRUE=62, FALSE=63, ID=64, OPEN_PAREN=65, CLOSE_PAREN=66, OPEN_CURLY=67, - CLOSE_CURLY=68, OPEN_BRACKET=69, CLOSE_BRACKET=70, ASSIGN_EQUALS=71, COMMA=72, - SEMI=73, COLON=74, DOT=75, DECLARE_ASSIGN=76, LOGICAL_OR=77, LOGICAL_AND=78, - EQUALS=79, NOT_EQUALS=80, EXCLAMATION=81, PLUS=82, DOUBLE_QUOTE_STRING=83, - WS=84, COMMENT=85, LINE_COMMENT=86; - public static final int - RULE_pml = 0, RULE_statement = 1, RULE_statementBlock = 2, RULE_createPolicyStatement = 3, - RULE_createNonPCStatement = 4, RULE_nonPCNodeType = 5, RULE_createObligationStatement = 6, - RULE_createRuleStatement = 7, RULE_subjectPattern = 8, RULE_subjectPatternExpression = 9, - RULE_basicSubjectPatternExpr = 10, RULE_operationPattern = 11, RULE_operandPattern = 12, - RULE_operandPatternElement = 13, RULE_operandPatternExpressionArray = 14, - RULE_operandPatternExpression = 15, RULE_basicOperandPatternExpr = 16, - RULE_response = 17, RULE_responseBlock = 18, RULE_responseStatement = 19, - RULE_createProhibitionStatement = 20, RULE_setNodePropertiesStatement = 21, - RULE_assignStatement = 22, RULE_deassignStatement = 23, RULE_associateStatement = 24, - RULE_dissociateStatement = 25, RULE_setResourceOperationsStatement = 26, - RULE_deleteStatement = 27, RULE_deleteType = 28, RULE_nodeType = 29, RULE_deleteRuleStatement = 30, - RULE_variableDeclarationStatement = 31, RULE_varSpec = 32, RULE_variableAssignmentStatement = 33, - RULE_functionDefinitionStatement = 34, RULE_functionSignature = 35, RULE_formalArgList = 36, - RULE_formalArg = 37, RULE_returnStatement = 38, RULE_checkStatement = 39, - RULE_checkStatementBlock = 40, RULE_idArr = 41, RULE_functionInvokeStatement = 42, - RULE_foreachStatement = 43, RULE_breakStatement = 44, RULE_continueStatement = 45, - RULE_ifStatement = 46, RULE_elseIfStatement = 47, RULE_elseStatement = 48, - RULE_variableType = 49, RULE_mapType = 50, RULE_arrayType = 51, RULE_expression = 52, - RULE_expressionList = 53, RULE_literal = 54, RULE_stringLit = 55, RULE_boolLit = 56, - RULE_arrayLit = 57, RULE_stringArrayLit = 58, RULE_mapLit = 59, RULE_element = 60, - RULE_variableReference = 61, RULE_index = 62, RULE_id = 63, RULE_functionInvoke = 64, - RULE_functionInvokeArgs = 65; - private static String[] makeRuleNames() { - return new String[] { - "pml", "statement", "statementBlock", "createPolicyStatement", "createNonPCStatement", - "nonPCNodeType", "createObligationStatement", "createRuleStatement", - "subjectPattern", "subjectPatternExpression", "basicSubjectPatternExpr", - "operationPattern", "operandPattern", "operandPatternElement", "operandPatternExpressionArray", - "operandPatternExpression", "basicOperandPatternExpr", "response", "responseBlock", - "responseStatement", "createProhibitionStatement", "setNodePropertiesStatement", - "assignStatement", "deassignStatement", "associateStatement", "dissociateStatement", - "setResourceOperationsStatement", "deleteStatement", "deleteType", "nodeType", - "deleteRuleStatement", "variableDeclarationStatement", "varSpec", "variableAssignmentStatement", - "functionDefinitionStatement", "functionSignature", "formalArgList", - "formalArg", "returnStatement", "checkStatement", "checkStatementBlock", - "idArr", "functionInvokeStatement", "foreachStatement", "breakStatement", - "continueStatement", "ifStatement", "elseIfStatement", "elseStatement", - "variableType", "mapType", "arrayType", "expression", "expressionList", - "literal", "stringLit", "boolLit", "arrayLit", "stringArrayLit", "mapLit", - "element", "variableReference", "index", "id", "functionInvoke", "functionInvokeArgs" - }; - } - public static final String[] ruleNames = makeRuleNames(); - - private static String[] makeLiteralNames() { - return new String[] { - null, "'operation'", "'nodeop'", "'check'", "'routine'", "'create'", - "'delete'", null, "'contained'", "'rule'", "'when'", "'performs'", "'as'", - "'on'", "'in'", "'do'", "'any'", "'ascendant of'", null, "'union'", "'process'", - "'set resource operations'", "'assign'", "'deassign'", "'from'", "'set properties'", - "'with properties'", "'of'", "'to'", "'associate'", "'and'", "'with'", - "'dissociate'", "'deny'", "'prohibition'", "'obligation'", "'access rights'", - null, null, null, null, null, null, null, "'attribute'", "'associations'", - "'break'", "'default'", "'map'", "'else'", "'const'", "'if'", "'range'", - "'continue'", "'foreach'", "'return'", "'var'", "'string'", "'bool'", - "'void'", "'array'", "'nil'", "'true'", "'false'", null, "'('", "')'", - "'{'", "'}'", "'['", "']'", "'='", "','", "';'", "':'", "'.'", "':='", - "'||'", "'&&'", "'=='", "'!='", "'!'", "'+'" - }; - } - private static final String[] _LITERAL_NAMES = makeLiteralNames(); - private static String[] makeSymbolicNames() { - return new String[] { - null, "OPERATION", "NODEOP", "CHECK", "ROUTINE", "CREATE", "DELETE", - "POLICY_ELEMENT", "CONTAINED", "RULE", "WHEN", "PERFORMS", "AS", "ON", - "IN", "DO", "ANY", "ASCENDANT_OF", "INTERSECTION", "UNION", "PROCESS", - "SET_RESOURCE_OPERATIONS", "ASSIGN", "DEASSIGN", "FROM", "SET_PROPERTIES", - "WITH_PROPERTIES", "OF", "TO", "ASSOCIATE", "AND", "WITH", "DISSOCIATE", - "DENY", "PROHIBITION", "OBLIGATION", "ACCESS_RIGHTS", "POLICY_CLASS", - "OBJECT_ATTRIBUTE", "USER_ATTRIBUTE", "USER_ATTRIBUTES", "OBJECT_ATTRIBUTES", - "OBJECT", "USER", "ATTRIBUTE", "ASSOCIATIONS", "BREAK", "DEFAULT", "MAP", - "ELSE", "CONST", "IF", "RANGE", "CONTINUE", "FOREACH", "RETURN", "VAR", - "STRING_TYPE", "BOOL_TYPE", "VOID_TYPE", "ARRAY_TYPE", "NIL_LIT", "TRUE", - "FALSE", "ID", "OPEN_PAREN", "CLOSE_PAREN", "OPEN_CURLY", "CLOSE_CURLY", - "OPEN_BRACKET", "CLOSE_BRACKET", "ASSIGN_EQUALS", "COMMA", "SEMI", "COLON", - "DOT", "DECLARE_ASSIGN", "LOGICAL_OR", "LOGICAL_AND", "EQUALS", "NOT_EQUALS", - "EXCLAMATION", "PLUS", "DOUBLE_QUOTE_STRING", "WS", "COMMENT", "LINE_COMMENT" - }; - } - private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames(); - public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); - - /** - * @deprecated Use {@link #VOCABULARY} instead. - */ - @Deprecated - public static final String[] tokenNames; - static { - tokenNames = new String[_SYMBOLIC_NAMES.length]; - for (int i = 0; i < tokenNames.length; i++) { - tokenNames[i] = VOCABULARY.getLiteralName(i); - if (tokenNames[i] == null) { - tokenNames[i] = VOCABULARY.getSymbolicName(i); - } - - if (tokenNames[i] == null) { - tokenNames[i] = ""; - } - } - } - - @Override - @Deprecated - public String[] getTokenNames() { - return tokenNames; - } - - @Override - - public Vocabulary getVocabulary() { - return VOCABULARY; - } - - @Override - public String getGrammarFileName() { return "PMLParser.g4"; } - - @Override - public String[] getRuleNames() { return ruleNames; } - - @Override - public String getSerializedATN() { return _serializedATN; } - - @Override - public ATN getATN() { return _ATN; } - - public PMLParser(TokenStream input) { - super(input); - _interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache); - } - - @SuppressWarnings("CheckReturnValue") - public static class PmlContext extends ParserRuleContext { - public TerminalNode EOF() { return getToken(PMLParser.EOF, 0); } - public List statement() { - return getRuleContexts(StatementContext.class); - } - public StatementContext statement(int i) { - return getRuleContext(StatementContext.class,i); - } - public PmlContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_pml; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterPml(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitPml(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitPml(this); - else return visitor.visitChildren(this); - } - } - - public final PmlContext pml() throws RecognitionException { - PmlContext _localctx = new PmlContext(_ctx, getState()); - enterRule(_localctx, 0, RULE_pml); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(135); - _errHandler.sync(this); - _la = _input.LA(1); - while (((((_la - 1)) & ~0x3f) == 0 && ((1L << (_la - 1)) & -9154656955725250503L) != 0)) { - { - { - setState(132); - statement(); - } - } - setState(137); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(138); - match(EOF); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class StatementContext extends ParserRuleContext { - public VariableAssignmentStatementContext variableAssignmentStatement() { - return getRuleContext(VariableAssignmentStatementContext.class,0); - } - public VariableDeclarationStatementContext variableDeclarationStatement() { - return getRuleContext(VariableDeclarationStatementContext.class,0); - } - public ForeachStatementContext foreachStatement() { - return getRuleContext(ForeachStatementContext.class,0); - } - public ReturnStatementContext returnStatement() { - return getRuleContext(ReturnStatementContext.class,0); - } - public BreakStatementContext breakStatement() { - return getRuleContext(BreakStatementContext.class,0); - } - public ContinueStatementContext continueStatement() { - return getRuleContext(ContinueStatementContext.class,0); - } - public FunctionInvokeStatementContext functionInvokeStatement() { - return getRuleContext(FunctionInvokeStatementContext.class,0); - } - public IfStatementContext ifStatement() { - return getRuleContext(IfStatementContext.class,0); - } - public CreatePolicyStatementContext createPolicyStatement() { - return getRuleContext(CreatePolicyStatementContext.class,0); - } - public CreateNonPCStatementContext createNonPCStatement() { - return getRuleContext(CreateNonPCStatementContext.class,0); - } - public CreateObligationStatementContext createObligationStatement() { - return getRuleContext(CreateObligationStatementContext.class,0); - } - public CreateProhibitionStatementContext createProhibitionStatement() { - return getRuleContext(CreateProhibitionStatementContext.class,0); - } - public SetNodePropertiesStatementContext setNodePropertiesStatement() { - return getRuleContext(SetNodePropertiesStatementContext.class,0); - } - public AssignStatementContext assignStatement() { - return getRuleContext(AssignStatementContext.class,0); - } - public DeassignStatementContext deassignStatement() { - return getRuleContext(DeassignStatementContext.class,0); - } - public AssociateStatementContext associateStatement() { - return getRuleContext(AssociateStatementContext.class,0); - } - public DissociateStatementContext dissociateStatement() { - return getRuleContext(DissociateStatementContext.class,0); - } - public SetResourceOperationsStatementContext setResourceOperationsStatement() { - return getRuleContext(SetResourceOperationsStatementContext.class,0); - } - public DeleteStatementContext deleteStatement() { - return getRuleContext(DeleteStatementContext.class,0); - } - public DeleteRuleStatementContext deleteRuleStatement() { - return getRuleContext(DeleteRuleStatementContext.class,0); - } - public FunctionDefinitionStatementContext functionDefinitionStatement() { - return getRuleContext(FunctionDefinitionStatementContext.class,0); - } - public StatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_statement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitStatement(this); - else return visitor.visitChildren(this); - } - } - - public final StatementContext statement() throws RecognitionException { - StatementContext _localctx = new StatementContext(_ctx, getState()); - enterRule(_localctx, 2, RULE_statement); - try { - enterOuterAlt(_localctx, 1); - { - setState(161); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,1,_ctx) ) { - case 1: - { - setState(140); - variableAssignmentStatement(); - } - break; - case 2: - { - setState(141); - variableDeclarationStatement(); - } - break; - case 3: - { - setState(142); - foreachStatement(); - } - break; - case 4: - { - setState(143); - returnStatement(); - } - break; - case 5: - { - setState(144); - breakStatement(); - } - break; - case 6: - { - setState(145); - continueStatement(); - } - break; - case 7: - { - setState(146); - functionInvokeStatement(); - } - break; - case 8: - { - setState(147); - ifStatement(); - } - break; - case 9: - { - setState(148); - createPolicyStatement(); - } - break; - case 10: - { - setState(149); - createNonPCStatement(); - } - break; - case 11: - { - setState(150); - createObligationStatement(); - } - break; - case 12: - { - setState(151); - createProhibitionStatement(); - } - break; - case 13: - { - setState(152); - setNodePropertiesStatement(); - } - break; - case 14: - { - setState(153); - assignStatement(); - } - break; - case 15: - { - setState(154); - deassignStatement(); - } - break; - case 16: - { - setState(155); - associateStatement(); - } - break; - case 17: - { - setState(156); - dissociateStatement(); - } - break; - case 18: - { - setState(157); - setResourceOperationsStatement(); - } - break; - case 19: - { - setState(158); - deleteStatement(); - } - break; - case 20: - { - setState(159); - deleteRuleStatement(); - } - break; - case 21: - { - setState(160); - functionDefinitionStatement(); - } - break; - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class StatementBlockContext extends ParserRuleContext { - public TerminalNode OPEN_CURLY() { return getToken(PMLParser.OPEN_CURLY, 0); } - public TerminalNode CLOSE_CURLY() { return getToken(PMLParser.CLOSE_CURLY, 0); } - public List statement() { - return getRuleContexts(StatementContext.class); - } - public StatementContext statement(int i) { - return getRuleContext(StatementContext.class,i); - } - public StatementBlockContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_statementBlock; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterStatementBlock(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitStatementBlock(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitStatementBlock(this); - else return visitor.visitChildren(this); - } - } - - public final StatementBlockContext statementBlock() throws RecognitionException { - StatementBlockContext _localctx = new StatementBlockContext(_ctx, getState()); - enterRule(_localctx, 4, RULE_statementBlock); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(163); - match(OPEN_CURLY); - setState(167); - _errHandler.sync(this); - _la = _input.LA(1); - while (((((_la - 1)) & ~0x3f) == 0 && ((1L << (_la - 1)) & -9154656955725250503L) != 0)) { - { - { - setState(164); - statement(); - } - } - setState(169); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(170); - match(CLOSE_CURLY); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class CreatePolicyStatementContext extends ParserRuleContext { - public ExpressionContext name; - public TerminalNode CREATE() { return getToken(PMLParser.CREATE, 0); } - public TerminalNode POLICY_CLASS() { return getToken(PMLParser.POLICY_CLASS, 0); } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public CreatePolicyStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_createPolicyStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterCreatePolicyStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitCreatePolicyStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitCreatePolicyStatement(this); - else return visitor.visitChildren(this); - } - } - - public final CreatePolicyStatementContext createPolicyStatement() throws RecognitionException { - CreatePolicyStatementContext _localctx = new CreatePolicyStatementContext(_ctx, getState()); - enterRule(_localctx, 6, RULE_createPolicyStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(172); - match(CREATE); - setState(173); - match(POLICY_CLASS); - setState(174); - ((CreatePolicyStatementContext)_localctx).name = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class CreateNonPCStatementContext extends ParserRuleContext { - public ExpressionContext name; - public ExpressionContext in; - public TerminalNode CREATE() { return getToken(PMLParser.CREATE, 0); } - public NonPCNodeTypeContext nonPCNodeType() { - return getRuleContext(NonPCNodeTypeContext.class,0); - } - public TerminalNode IN() { return getToken(PMLParser.IN, 0); } - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public CreateNonPCStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_createNonPCStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterCreateNonPCStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitCreateNonPCStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitCreateNonPCStatement(this); - else return visitor.visitChildren(this); - } - } - - public final CreateNonPCStatementContext createNonPCStatement() throws RecognitionException { - CreateNonPCStatementContext _localctx = new CreateNonPCStatementContext(_ctx, getState()); - enterRule(_localctx, 8, RULE_createNonPCStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(176); - match(CREATE); - setState(177); - nonPCNodeType(); - setState(178); - ((CreateNonPCStatementContext)_localctx).name = expression(0); - setState(179); - match(IN); - setState(180); - ((CreateNonPCStatementContext)_localctx).in = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class NonPCNodeTypeContext extends ParserRuleContext { - public TerminalNode OBJECT_ATTRIBUTE() { return getToken(PMLParser.OBJECT_ATTRIBUTE, 0); } - public TerminalNode USER_ATTRIBUTE() { return getToken(PMLParser.USER_ATTRIBUTE, 0); } - public TerminalNode OBJECT() { return getToken(PMLParser.OBJECT, 0); } - public TerminalNode USER() { return getToken(PMLParser.USER, 0); } - public NonPCNodeTypeContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_nonPCNodeType; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterNonPCNodeType(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitNonPCNodeType(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitNonPCNodeType(this); - else return visitor.visitChildren(this); - } - } - - public final NonPCNodeTypeContext nonPCNodeType() throws RecognitionException { - NonPCNodeTypeContext _localctx = new NonPCNodeTypeContext(_ctx, getState()); - enterRule(_localctx, 10, RULE_nonPCNodeType); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(182); - _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 14018773254144L) != 0)) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class CreateObligationStatementContext extends ParserRuleContext { - public TerminalNode CREATE() { return getToken(PMLParser.CREATE, 0); } - public TerminalNode OBLIGATION() { return getToken(PMLParser.OBLIGATION, 0); } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public TerminalNode OPEN_CURLY() { return getToken(PMLParser.OPEN_CURLY, 0); } - public TerminalNode CLOSE_CURLY() { return getToken(PMLParser.CLOSE_CURLY, 0); } - public List createRuleStatement() { - return getRuleContexts(CreateRuleStatementContext.class); - } - public CreateRuleStatementContext createRuleStatement(int i) { - return getRuleContext(CreateRuleStatementContext.class,i); - } - public CreateObligationStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_createObligationStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterCreateObligationStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitCreateObligationStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitCreateObligationStatement(this); - else return visitor.visitChildren(this); - } - } - - public final CreateObligationStatementContext createObligationStatement() throws RecognitionException { - CreateObligationStatementContext _localctx = new CreateObligationStatementContext(_ctx, getState()); - enterRule(_localctx, 12, RULE_createObligationStatement); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(184); - match(CREATE); - setState(185); - match(OBLIGATION); - setState(186); - expression(0); - setState(187); - match(OPEN_CURLY); - setState(191); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==CREATE) { - { - { - setState(188); - createRuleStatement(); - } - } - setState(193); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(194); - match(CLOSE_CURLY); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class CreateRuleStatementContext extends ParserRuleContext { - public ExpressionContext ruleName; - public TerminalNode CREATE() { return getToken(PMLParser.CREATE, 0); } - public TerminalNode RULE() { return getToken(PMLParser.RULE, 0); } - public TerminalNode WHEN() { return getToken(PMLParser.WHEN, 0); } - public SubjectPatternContext subjectPattern() { - return getRuleContext(SubjectPatternContext.class,0); - } - public TerminalNode PERFORMS() { return getToken(PMLParser.PERFORMS, 0); } - public OperationPatternContext operationPattern() { - return getRuleContext(OperationPatternContext.class,0); - } - public ResponseContext response() { - return getRuleContext(ResponseContext.class,0); - } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public TerminalNode ON() { return getToken(PMLParser.ON, 0); } - public OperandPatternContext operandPattern() { - return getRuleContext(OperandPatternContext.class,0); - } - public CreateRuleStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_createRuleStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterCreateRuleStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitCreateRuleStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitCreateRuleStatement(this); - else return visitor.visitChildren(this); - } - } - - public final CreateRuleStatementContext createRuleStatement() throws RecognitionException { - CreateRuleStatementContext _localctx = new CreateRuleStatementContext(_ctx, getState()); - enterRule(_localctx, 14, RULE_createRuleStatement); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(196); - match(CREATE); - setState(197); - match(RULE); - setState(198); - ((CreateRuleStatementContext)_localctx).ruleName = expression(0); - setState(199); - match(WHEN); - setState(200); - subjectPattern(); - setState(201); - match(PERFORMS); - setState(202); - operationPattern(); - setState(205); - _errHandler.sync(this); - _la = _input.LA(1); - if (_la==ON) { - { - setState(203); - match(ON); - setState(204); - operandPattern(); - } - } - - setState(207); - response(); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class SubjectPatternContext extends ParserRuleContext { - public SubjectPatternContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_subjectPattern; } - - public SubjectPatternContext() { } - public void copyFrom(SubjectPatternContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class AnyUserPatternContext extends SubjectPatternContext { - public TerminalNode ANY() { return getToken(PMLParser.ANY, 0); } - public TerminalNode USER() { return getToken(PMLParser.USER, 0); } - public AnyUserPatternContext(SubjectPatternContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterAnyUserPattern(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitAnyUserPattern(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitAnyUserPattern(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class UserPatternContext extends SubjectPatternContext { - public TerminalNode USER() { return getToken(PMLParser.USER, 0); } - public SubjectPatternExpressionContext subjectPatternExpression() { - return getRuleContext(SubjectPatternExpressionContext.class,0); - } - public UserPatternContext(SubjectPatternContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterUserPattern(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitUserPattern(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitUserPattern(this); - else return visitor.visitChildren(this); - } - } - - public final SubjectPatternContext subjectPattern() throws RecognitionException { - SubjectPatternContext _localctx = new SubjectPatternContext(_ctx, getState()); - enterRule(_localctx, 16, RULE_subjectPattern); - try { - setState(213); - _errHandler.sync(this); - switch (_input.LA(1)) { - case ANY: - _localctx = new AnyUserPatternContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(209); - match(ANY); - setState(210); - match(USER); - } - break; - case USER: - _localctx = new UserPatternContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(211); - match(USER); - setState(212); - subjectPatternExpression(0); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class SubjectPatternExpressionContext extends ParserRuleContext { - public SubjectPatternExpressionContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_subjectPatternExpression; } - - public SubjectPatternExpressionContext() { } - public void copyFrom(SubjectPatternExpressionContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class BasicSubjectPatternExpressionContext extends SubjectPatternExpressionContext { - public BasicSubjectPatternExprContext basicSubjectPatternExpr() { - return getRuleContext(BasicSubjectPatternExprContext.class,0); - } - public BasicSubjectPatternExpressionContext(SubjectPatternExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterBasicSubjectPatternExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitBasicSubjectPatternExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitBasicSubjectPatternExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class ParenSubjectPatternExpressionContext extends SubjectPatternExpressionContext { - public TerminalNode OPEN_PAREN() { return getToken(PMLParser.OPEN_PAREN, 0); } - public SubjectPatternExpressionContext subjectPatternExpression() { - return getRuleContext(SubjectPatternExpressionContext.class,0); - } - public TerminalNode CLOSE_PAREN() { return getToken(PMLParser.CLOSE_PAREN, 0); } - public ParenSubjectPatternExpressionContext(SubjectPatternExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterParenSubjectPatternExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitParenSubjectPatternExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitParenSubjectPatternExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class NegateSubjectPatternExpressionContext extends SubjectPatternExpressionContext { - public TerminalNode EXCLAMATION() { return getToken(PMLParser.EXCLAMATION, 0); } - public SubjectPatternExpressionContext subjectPatternExpression() { - return getRuleContext(SubjectPatternExpressionContext.class,0); - } - public NegateSubjectPatternExpressionContext(SubjectPatternExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterNegateSubjectPatternExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitNegateSubjectPatternExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitNegateSubjectPatternExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class LogicalSubjectPatternExpressionContext extends SubjectPatternExpressionContext { - public SubjectPatternExpressionContext left; - public SubjectPatternExpressionContext right; - public List subjectPatternExpression() { - return getRuleContexts(SubjectPatternExpressionContext.class); - } - public SubjectPatternExpressionContext subjectPatternExpression(int i) { - return getRuleContext(SubjectPatternExpressionContext.class,i); - } - public TerminalNode LOGICAL_AND() { return getToken(PMLParser.LOGICAL_AND, 0); } - public TerminalNode LOGICAL_OR() { return getToken(PMLParser.LOGICAL_OR, 0); } - public LogicalSubjectPatternExpressionContext(SubjectPatternExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterLogicalSubjectPatternExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitLogicalSubjectPatternExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitLogicalSubjectPatternExpression(this); - else return visitor.visitChildren(this); - } - } - - public final SubjectPatternExpressionContext subjectPatternExpression() throws RecognitionException { - return subjectPatternExpression(0); - } - - private SubjectPatternExpressionContext subjectPatternExpression(int _p) throws RecognitionException { - ParserRuleContext _parentctx = _ctx; - int _parentState = getState(); - SubjectPatternExpressionContext _localctx = new SubjectPatternExpressionContext(_ctx, _parentState); - SubjectPatternExpressionContext _prevctx = _localctx; - int _startState = 18; - enterRecursionRule(_localctx, 18, RULE_subjectPatternExpression, _p); - int _la; - try { - int _alt; - enterOuterAlt(_localctx, 1); - { - setState(223); - _errHandler.sync(this); - switch (_input.LA(1)) { - case IN: - case PROCESS: - case DOUBLE_QUOTE_STRING: - { - _localctx = new BasicSubjectPatternExpressionContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - - setState(216); - basicSubjectPatternExpr(); - } - break; - case EXCLAMATION: - { - _localctx = new NegateSubjectPatternExpressionContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - setState(217); - match(EXCLAMATION); - setState(218); - subjectPatternExpression(3); - } - break; - case OPEN_PAREN: - { - _localctx = new ParenSubjectPatternExpressionContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - setState(219); - match(OPEN_PAREN); - setState(220); - subjectPatternExpression(0); - setState(221); - match(CLOSE_PAREN); - } - break; - default: - throw new NoViableAltException(this); - } - _ctx.stop = _input.LT(-1); - setState(230); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,7,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - if ( _parseListeners!=null ) triggerExitRuleEvent(); - _prevctx = _localctx; - { - { - _localctx = new LogicalSubjectPatternExpressionContext(new SubjectPatternExpressionContext(_parentctx, _parentState)); - ((LogicalSubjectPatternExpressionContext)_localctx).left = _prevctx; - pushNewRecursionContext(_localctx, _startState, RULE_subjectPatternExpression); - setState(225); - if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(226); - _la = _input.LA(1); - if ( !(_la==LOGICAL_OR || _la==LOGICAL_AND) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - setState(227); - ((LogicalSubjectPatternExpressionContext)_localctx).right = subjectPatternExpression(2); - } - } - } - setState(232); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,7,_ctx); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - unrollRecursionContexts(_parentctx); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class BasicSubjectPatternExprContext extends ParserRuleContext { - public BasicSubjectPatternExprContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_basicSubjectPatternExpr; } - - public BasicSubjectPatternExprContext() { } - public void copyFrom(BasicSubjectPatternExprContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class InSubjectContext extends BasicSubjectPatternExprContext { - public TerminalNode IN() { return getToken(PMLParser.IN, 0); } - public StringLitContext stringLit() { - return getRuleContext(StringLitContext.class,0); - } - public InSubjectContext(BasicSubjectPatternExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterInSubject(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitInSubject(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitInSubject(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class UsernameSubjectContext extends BasicSubjectPatternExprContext { - public StringLitContext stringLit() { - return getRuleContext(StringLitContext.class,0); - } - public UsernameSubjectContext(BasicSubjectPatternExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterUsernameSubject(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitUsernameSubject(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitUsernameSubject(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class ProcessSubjectContext extends BasicSubjectPatternExprContext { - public TerminalNode PROCESS() { return getToken(PMLParser.PROCESS, 0); } - public StringLitContext stringLit() { - return getRuleContext(StringLitContext.class,0); - } - public ProcessSubjectContext(BasicSubjectPatternExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterProcessSubject(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitProcessSubject(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitProcessSubject(this); - else return visitor.visitChildren(this); - } - } - - public final BasicSubjectPatternExprContext basicSubjectPatternExpr() throws RecognitionException { - BasicSubjectPatternExprContext _localctx = new BasicSubjectPatternExprContext(_ctx, getState()); - enterRule(_localctx, 20, RULE_basicSubjectPatternExpr); - try { - setState(238); - _errHandler.sync(this); - switch (_input.LA(1)) { - case IN: - _localctx = new InSubjectContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(233); - match(IN); - setState(234); - stringLit(); - } - break; - case DOUBLE_QUOTE_STRING: - _localctx = new UsernameSubjectContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(235); - stringLit(); - } - break; - case PROCESS: - _localctx = new ProcessSubjectContext(_localctx); - enterOuterAlt(_localctx, 3); - { - setState(236); - match(PROCESS); - setState(237); - stringLit(); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class OperationPatternContext extends ParserRuleContext { - public OperationPatternContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_operationPattern; } - - public OperationPatternContext() { } - public void copyFrom(OperationPatternContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class AnyOperationContext extends OperationPatternContext { - public TerminalNode ANY() { return getToken(PMLParser.ANY, 0); } - public TerminalNode OPERATION() { return getToken(PMLParser.OPERATION, 0); } - public AnyOperationContext(OperationPatternContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterAnyOperation(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitAnyOperation(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitAnyOperation(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class IDOperationContext extends OperationPatternContext { - public StringLitContext stringLit() { - return getRuleContext(StringLitContext.class,0); - } - public IDOperationContext(OperationPatternContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterIDOperation(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitIDOperation(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitIDOperation(this); - else return visitor.visitChildren(this); - } - } - - public final OperationPatternContext operationPattern() throws RecognitionException { - OperationPatternContext _localctx = new OperationPatternContext(_ctx, getState()); - enterRule(_localctx, 22, RULE_operationPattern); - try { - setState(243); - _errHandler.sync(this); - switch (_input.LA(1)) { - case ANY: - _localctx = new AnyOperationContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(240); - match(ANY); - setState(241); - match(OPERATION); - } - break; - case DOUBLE_QUOTE_STRING: - _localctx = new IDOperationContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(242); - stringLit(); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class OperandPatternContext extends ParserRuleContext { - public TerminalNode OPEN_CURLY() { return getToken(PMLParser.OPEN_CURLY, 0); } - public TerminalNode CLOSE_CURLY() { return getToken(PMLParser.CLOSE_CURLY, 0); } - public List operandPatternElement() { - return getRuleContexts(OperandPatternElementContext.class); - } - public OperandPatternElementContext operandPatternElement(int i) { - return getRuleContext(OperandPatternElementContext.class,i); - } - public List COMMA() { return getTokens(PMLParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(PMLParser.COMMA, i); - } - public OperandPatternContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_operandPattern; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterOperandPattern(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitOperandPattern(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitOperandPattern(this); - else return visitor.visitChildren(this); - } - } - - public final OperandPatternContext operandPattern() throws RecognitionException { - OperandPatternContext _localctx = new OperandPatternContext(_ctx, getState()); - enterRule(_localctx, 24, RULE_operandPattern); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(245); - match(OPEN_CURLY); - setState(254); - _errHandler.sync(this); - _la = _input.LA(1); - if (_la==ID) { - { - setState(246); - operandPatternElement(); - setState(251); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(247); - match(COMMA); - setState(248); - operandPatternElement(); - } - } - setState(253); - _errHandler.sync(this); - _la = _input.LA(1); - } - } - } - - setState(256); - match(CLOSE_CURLY); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class OperandPatternElementContext extends ParserRuleContext { - public Token key; - public OperandPatternExpressionContext single; - public OperandPatternExpressionArrayContext multiple; - public TerminalNode COLON() { return getToken(PMLParser.COLON, 0); } - public TerminalNode ID() { return getToken(PMLParser.ID, 0); } - public OperandPatternExpressionContext operandPatternExpression() { - return getRuleContext(OperandPatternExpressionContext.class,0); - } - public OperandPatternExpressionArrayContext operandPatternExpressionArray() { - return getRuleContext(OperandPatternExpressionArrayContext.class,0); - } - public OperandPatternElementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_operandPatternElement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterOperandPatternElement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitOperandPatternElement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitOperandPatternElement(this); - else return visitor.visitChildren(this); - } - } - - public final OperandPatternElementContext operandPatternElement() throws RecognitionException { - OperandPatternElementContext _localctx = new OperandPatternElementContext(_ctx, getState()); - enterRule(_localctx, 26, RULE_operandPatternElement); - try { - enterOuterAlt(_localctx, 1); - { - setState(258); - ((OperandPatternElementContext)_localctx).key = match(ID); - setState(259); - match(COLON); - setState(262); - _errHandler.sync(this); - switch (_input.LA(1)) { - case IN: - case ANY: - case OPEN_PAREN: - case EXCLAMATION: - case DOUBLE_QUOTE_STRING: - { - setState(260); - ((OperandPatternElementContext)_localctx).single = operandPatternExpression(0); - } - break; - case OPEN_BRACKET: - { - setState(261); - ((OperandPatternElementContext)_localctx).multiple = operandPatternExpressionArray(); - } - break; - default: - throw new NoViableAltException(this); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class OperandPatternExpressionArrayContext extends ParserRuleContext { - public TerminalNode OPEN_BRACKET() { return getToken(PMLParser.OPEN_BRACKET, 0); } - public List operandPatternExpression() { - return getRuleContexts(OperandPatternExpressionContext.class); - } - public OperandPatternExpressionContext operandPatternExpression(int i) { - return getRuleContext(OperandPatternExpressionContext.class,i); - } - public TerminalNode CLOSE_BRACKET() { return getToken(PMLParser.CLOSE_BRACKET, 0); } - public List COMMA() { return getTokens(PMLParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(PMLParser.COMMA, i); - } - public OperandPatternExpressionArrayContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_operandPatternExpressionArray; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterOperandPatternExpressionArray(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitOperandPatternExpressionArray(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitOperandPatternExpressionArray(this); - else return visitor.visitChildren(this); - } - } - - public final OperandPatternExpressionArrayContext operandPatternExpressionArray() throws RecognitionException { - OperandPatternExpressionArrayContext _localctx = new OperandPatternExpressionArrayContext(_ctx, getState()); - enterRule(_localctx, 28, RULE_operandPatternExpressionArray); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(264); - match(OPEN_BRACKET); - setState(265); - operandPatternExpression(0); - setState(270); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(266); - match(COMMA); - setState(267); - operandPatternExpression(0); - } - } - setState(272); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(273); - match(CLOSE_BRACKET); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class OperandPatternExpressionContext extends ParserRuleContext { - public OperandPatternExpressionContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_operandPatternExpression; } - - public OperandPatternExpressionContext() { } - public void copyFrom(OperandPatternExpressionContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class ParenOperandPatternExpressionContext extends OperandPatternExpressionContext { - public TerminalNode OPEN_PAREN() { return getToken(PMLParser.OPEN_PAREN, 0); } - public OperandPatternExpressionContext operandPatternExpression() { - return getRuleContext(OperandPatternExpressionContext.class,0); - } - public TerminalNode CLOSE_PAREN() { return getToken(PMLParser.CLOSE_PAREN, 0); } - public ParenOperandPatternExpressionContext(OperandPatternExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterParenOperandPatternExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitParenOperandPatternExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitParenOperandPatternExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class NegateOperandPatternExpressionContext extends OperandPatternExpressionContext { - public TerminalNode EXCLAMATION() { return getToken(PMLParser.EXCLAMATION, 0); } - public OperandPatternExpressionContext operandPatternExpression() { - return getRuleContext(OperandPatternExpressionContext.class,0); - } - public NegateOperandPatternExpressionContext(OperandPatternExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterNegateOperandPatternExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitNegateOperandPatternExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitNegateOperandPatternExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class BasicOperandPatternExpressionContext extends OperandPatternExpressionContext { - public BasicOperandPatternExprContext basicOperandPatternExpr() { - return getRuleContext(BasicOperandPatternExprContext.class,0); - } - public BasicOperandPatternExpressionContext(OperandPatternExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterBasicOperandPatternExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitBasicOperandPatternExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitBasicOperandPatternExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class LogicalOperandPatternExpressionContext extends OperandPatternExpressionContext { - public OperandPatternExpressionContext left; - public OperandPatternExpressionContext right; - public List operandPatternExpression() { - return getRuleContexts(OperandPatternExpressionContext.class); - } - public OperandPatternExpressionContext operandPatternExpression(int i) { - return getRuleContext(OperandPatternExpressionContext.class,i); - } - public TerminalNode LOGICAL_AND() { return getToken(PMLParser.LOGICAL_AND, 0); } - public TerminalNode LOGICAL_OR() { return getToken(PMLParser.LOGICAL_OR, 0); } - public LogicalOperandPatternExpressionContext(OperandPatternExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterLogicalOperandPatternExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitLogicalOperandPatternExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitLogicalOperandPatternExpression(this); - else return visitor.visitChildren(this); - } - } - - public final OperandPatternExpressionContext operandPatternExpression() throws RecognitionException { - return operandPatternExpression(0); - } - - private OperandPatternExpressionContext operandPatternExpression(int _p) throws RecognitionException { - ParserRuleContext _parentctx = _ctx; - int _parentState = getState(); - OperandPatternExpressionContext _localctx = new OperandPatternExpressionContext(_ctx, _parentState); - OperandPatternExpressionContext _prevctx = _localctx; - int _startState = 30; - enterRecursionRule(_localctx, 30, RULE_operandPatternExpression, _p); - int _la; - try { - int _alt; - enterOuterAlt(_localctx, 1); - { - setState(283); - _errHandler.sync(this); - switch (_input.LA(1)) { - case IN: - case ANY: - case DOUBLE_QUOTE_STRING: - { - _localctx = new BasicOperandPatternExpressionContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - - setState(276); - basicOperandPatternExpr(); - } - break; - case EXCLAMATION: - { - _localctx = new NegateOperandPatternExpressionContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - setState(277); - match(EXCLAMATION); - setState(278); - operandPatternExpression(3); - } - break; - case OPEN_PAREN: - { - _localctx = new ParenOperandPatternExpressionContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - setState(279); - match(OPEN_PAREN); - setState(280); - operandPatternExpression(0); - setState(281); - match(CLOSE_PAREN); - } - break; - default: - throw new NoViableAltException(this); - } - _ctx.stop = _input.LT(-1); - setState(290); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,15,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - if ( _parseListeners!=null ) triggerExitRuleEvent(); - _prevctx = _localctx; - { - { - _localctx = new LogicalOperandPatternExpressionContext(new OperandPatternExpressionContext(_parentctx, _parentState)); - ((LogicalOperandPatternExpressionContext)_localctx).left = _prevctx; - pushNewRecursionContext(_localctx, _startState, RULE_operandPatternExpression); - setState(285); - if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(286); - _la = _input.LA(1); - if ( !(_la==LOGICAL_OR || _la==LOGICAL_AND) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - setState(287); - ((LogicalOperandPatternExpressionContext)_localctx).right = operandPatternExpression(2); - } - } - } - setState(292); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,15,_ctx); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - unrollRecursionContexts(_parentctx); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class BasicOperandPatternExprContext extends ParserRuleContext { - public BasicOperandPatternExprContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_basicOperandPatternExpr; } - - public BasicOperandPatternExprContext() { } - public void copyFrom(BasicOperandPatternExprContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class AnyPolicyElementContext extends BasicOperandPatternExprContext { - public TerminalNode ANY() { return getToken(PMLParser.ANY, 0); } - public AnyPolicyElementContext(BasicOperandPatternExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterAnyPolicyElement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitAnyPolicyElement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitAnyPolicyElement(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class InPolicyElementContext extends BasicOperandPatternExprContext { - public TerminalNode IN() { return getToken(PMLParser.IN, 0); } - public StringLitContext stringLit() { - return getRuleContext(StringLitContext.class,0); - } - public InPolicyElementContext(BasicOperandPatternExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterInPolicyElement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitInPolicyElement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitInPolicyElement(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class PolicyElementContext extends BasicOperandPatternExprContext { - public StringLitContext stringLit() { - return getRuleContext(StringLitContext.class,0); - } - public PolicyElementContext(BasicOperandPatternExprContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterPolicyElement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitPolicyElement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitPolicyElement(this); - else return visitor.visitChildren(this); - } - } - - public final BasicOperandPatternExprContext basicOperandPatternExpr() throws RecognitionException { - BasicOperandPatternExprContext _localctx = new BasicOperandPatternExprContext(_ctx, getState()); - enterRule(_localctx, 32, RULE_basicOperandPatternExpr); - try { - setState(297); - _errHandler.sync(this); - switch (_input.LA(1)) { - case ANY: - _localctx = new AnyPolicyElementContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(293); - match(ANY); - } - break; - case IN: - _localctx = new InPolicyElementContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(294); - match(IN); - setState(295); - stringLit(); - } - break; - case DOUBLE_QUOTE_STRING: - _localctx = new PolicyElementContext(_localctx); - enterOuterAlt(_localctx, 3); - { - setState(296); - stringLit(); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ResponseContext extends ParserRuleContext { - public TerminalNode DO() { return getToken(PMLParser.DO, 0); } - public TerminalNode OPEN_PAREN() { return getToken(PMLParser.OPEN_PAREN, 0); } - public TerminalNode ID() { return getToken(PMLParser.ID, 0); } - public TerminalNode CLOSE_PAREN() { return getToken(PMLParser.CLOSE_PAREN, 0); } - public ResponseBlockContext responseBlock() { - return getRuleContext(ResponseBlockContext.class,0); - } - public ResponseContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_response; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterResponse(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitResponse(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitResponse(this); - else return visitor.visitChildren(this); - } - } - - public final ResponseContext response() throws RecognitionException { - ResponseContext _localctx = new ResponseContext(_ctx, getState()); - enterRule(_localctx, 34, RULE_response); - try { - enterOuterAlt(_localctx, 1); - { - setState(299); - match(DO); - setState(300); - match(OPEN_PAREN); - setState(301); - match(ID); - setState(302); - match(CLOSE_PAREN); - setState(303); - responseBlock(); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ResponseBlockContext extends ParserRuleContext { - public TerminalNode OPEN_CURLY() { return getToken(PMLParser.OPEN_CURLY, 0); } - public TerminalNode CLOSE_CURLY() { return getToken(PMLParser.CLOSE_CURLY, 0); } - public List responseStatement() { - return getRuleContexts(ResponseStatementContext.class); - } - public ResponseStatementContext responseStatement(int i) { - return getRuleContext(ResponseStatementContext.class,i); - } - public ResponseBlockContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_responseBlock; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterResponseBlock(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitResponseBlock(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitResponseBlock(this); - else return visitor.visitChildren(this); - } - } - - public final ResponseBlockContext responseBlock() throws RecognitionException { - ResponseBlockContext _localctx = new ResponseBlockContext(_ctx, getState()); - enterRule(_localctx, 36, RULE_responseBlock); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(305); - match(OPEN_CURLY); - setState(309); - _errHandler.sync(this); - _la = _input.LA(1); - while (((((_la - 1)) & ~0x3f) == 0 && ((1L << (_la - 1)) & -9154656955725250503L) != 0)) { - { - { - setState(306); - responseStatement(); - } - } - setState(311); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(312); - match(CLOSE_CURLY); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ResponseStatementContext extends ParserRuleContext { - public StatementContext statement() { - return getRuleContext(StatementContext.class,0); - } - public CreateRuleStatementContext createRuleStatement() { - return getRuleContext(CreateRuleStatementContext.class,0); - } - public DeleteRuleStatementContext deleteRuleStatement() { - return getRuleContext(DeleteRuleStatementContext.class,0); - } - public ResponseStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_responseStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterResponseStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitResponseStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitResponseStatement(this); - else return visitor.visitChildren(this); - } - } - - public final ResponseStatementContext responseStatement() throws RecognitionException { - ResponseStatementContext _localctx = new ResponseStatementContext(_ctx, getState()); - enterRule(_localctx, 38, RULE_responseStatement); - try { - setState(317); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) { - case 1: - enterOuterAlt(_localctx, 1); - { - setState(314); - statement(); - } - break; - case 2: - enterOuterAlt(_localctx, 2); - { - setState(315); - createRuleStatement(); - } - break; - case 3: - enterOuterAlt(_localctx, 3); - { - setState(316); - deleteRuleStatement(); - } - break; - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class CreateProhibitionStatementContext extends ParserRuleContext { - public ExpressionContext name; - public ExpressionContext subject; - public ExpressionContext accessRights; - public ExpressionContext containers; - public TerminalNode CREATE() { return getToken(PMLParser.CREATE, 0); } - public TerminalNode PROHIBITION() { return getToken(PMLParser.PROHIBITION, 0); } - public TerminalNode DENY() { return getToken(PMLParser.DENY, 0); } - public TerminalNode ACCESS_RIGHTS() { return getToken(PMLParser.ACCESS_RIGHTS, 0); } - public TerminalNode ON() { return getToken(PMLParser.ON, 0); } - public TerminalNode OF() { return getToken(PMLParser.OF, 0); } - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public TerminalNode USER() { return getToken(PMLParser.USER, 0); } - public TerminalNode USER_ATTRIBUTE() { return getToken(PMLParser.USER_ATTRIBUTE, 0); } - public TerminalNode PROCESS() { return getToken(PMLParser.PROCESS, 0); } - public TerminalNode INTERSECTION() { return getToken(PMLParser.INTERSECTION, 0); } - public TerminalNode UNION() { return getToken(PMLParser.UNION, 0); } - public CreateProhibitionStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_createProhibitionStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterCreateProhibitionStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitCreateProhibitionStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitCreateProhibitionStatement(this); - else return visitor.visitChildren(this); - } - } - - public final CreateProhibitionStatementContext createProhibitionStatement() throws RecognitionException { - CreateProhibitionStatementContext _localctx = new CreateProhibitionStatementContext(_ctx, getState()); - enterRule(_localctx, 40, RULE_createProhibitionStatement); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(319); - match(CREATE); - setState(320); - match(PROHIBITION); - setState(321); - ((CreateProhibitionStatementContext)_localctx).name = expression(0); - setState(322); - match(DENY); - setState(323); - _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 9345849884672L) != 0)) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - setState(324); - ((CreateProhibitionStatementContext)_localctx).subject = expression(0); - setState(325); - match(ACCESS_RIGHTS); - setState(326); - ((CreateProhibitionStatementContext)_localctx).accessRights = expression(0); - setState(327); - match(ON); - setState(328); - _la = _input.LA(1); - if ( !(_la==INTERSECTION || _la==UNION) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - setState(329); - match(OF); - setState(330); - ((CreateProhibitionStatementContext)_localctx).containers = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class SetNodePropertiesStatementContext extends ParserRuleContext { - public ExpressionContext name; - public ExpressionContext properties; - public TerminalNode SET_PROPERTIES() { return getToken(PMLParser.SET_PROPERTIES, 0); } - public TerminalNode OF() { return getToken(PMLParser.OF, 0); } - public TerminalNode TO() { return getToken(PMLParser.TO, 0); } - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public SetNodePropertiesStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_setNodePropertiesStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterSetNodePropertiesStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitSetNodePropertiesStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitSetNodePropertiesStatement(this); - else return visitor.visitChildren(this); - } - } - - public final SetNodePropertiesStatementContext setNodePropertiesStatement() throws RecognitionException { - SetNodePropertiesStatementContext _localctx = new SetNodePropertiesStatementContext(_ctx, getState()); - enterRule(_localctx, 42, RULE_setNodePropertiesStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(332); - match(SET_PROPERTIES); - setState(333); - match(OF); - setState(334); - ((SetNodePropertiesStatementContext)_localctx).name = expression(0); - setState(335); - match(TO); - setState(336); - ((SetNodePropertiesStatementContext)_localctx).properties = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class AssignStatementContext extends ParserRuleContext { - public ExpressionContext ascendantNode; - public ExpressionContext descendantNodes; - public TerminalNode ASSIGN() { return getToken(PMLParser.ASSIGN, 0); } - public TerminalNode TO() { return getToken(PMLParser.TO, 0); } - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public AssignStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_assignStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterAssignStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitAssignStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitAssignStatement(this); - else return visitor.visitChildren(this); - } - } - - public final AssignStatementContext assignStatement() throws RecognitionException { - AssignStatementContext _localctx = new AssignStatementContext(_ctx, getState()); - enterRule(_localctx, 44, RULE_assignStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(338); - match(ASSIGN); - setState(339); - ((AssignStatementContext)_localctx).ascendantNode = expression(0); - setState(340); - match(TO); - setState(341); - ((AssignStatementContext)_localctx).descendantNodes = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class DeassignStatementContext extends ParserRuleContext { - public ExpressionContext ascendantNode; - public ExpressionContext descendantNodes; - public TerminalNode DEASSIGN() { return getToken(PMLParser.DEASSIGN, 0); } - public TerminalNode FROM() { return getToken(PMLParser.FROM, 0); } - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public DeassignStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_deassignStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterDeassignStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitDeassignStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitDeassignStatement(this); - else return visitor.visitChildren(this); - } - } - - public final DeassignStatementContext deassignStatement() throws RecognitionException { - DeassignStatementContext _localctx = new DeassignStatementContext(_ctx, getState()); - enterRule(_localctx, 46, RULE_deassignStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(343); - match(DEASSIGN); - setState(344); - ((DeassignStatementContext)_localctx).ascendantNode = expression(0); - setState(345); - match(FROM); - setState(346); - ((DeassignStatementContext)_localctx).descendantNodes = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class AssociateStatementContext extends ParserRuleContext { - public ExpressionContext ua; - public ExpressionContext target; - public ExpressionContext accessRights; - public TerminalNode ASSOCIATE() { return getToken(PMLParser.ASSOCIATE, 0); } - public TerminalNode AND() { return getToken(PMLParser.AND, 0); } - public TerminalNode WITH() { return getToken(PMLParser.WITH, 0); } - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public AssociateStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_associateStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterAssociateStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitAssociateStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitAssociateStatement(this); - else return visitor.visitChildren(this); - } - } - - public final AssociateStatementContext associateStatement() throws RecognitionException { - AssociateStatementContext _localctx = new AssociateStatementContext(_ctx, getState()); - enterRule(_localctx, 48, RULE_associateStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(348); - match(ASSOCIATE); - setState(349); - ((AssociateStatementContext)_localctx).ua = expression(0); - setState(350); - match(AND); - setState(351); - ((AssociateStatementContext)_localctx).target = expression(0); - setState(352); - match(WITH); - setState(353); - ((AssociateStatementContext)_localctx).accessRights = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class DissociateStatementContext extends ParserRuleContext { - public ExpressionContext ua; - public ExpressionContext target; - public TerminalNode DISSOCIATE() { return getToken(PMLParser.DISSOCIATE, 0); } - public TerminalNode AND() { return getToken(PMLParser.AND, 0); } - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public DissociateStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_dissociateStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterDissociateStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitDissociateStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitDissociateStatement(this); - else return visitor.visitChildren(this); - } - } - - public final DissociateStatementContext dissociateStatement() throws RecognitionException { - DissociateStatementContext _localctx = new DissociateStatementContext(_ctx, getState()); - enterRule(_localctx, 50, RULE_dissociateStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(355); - match(DISSOCIATE); - setState(356); - ((DissociateStatementContext)_localctx).ua = expression(0); - setState(357); - match(AND); - setState(358); - ((DissociateStatementContext)_localctx).target = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class SetResourceOperationsStatementContext extends ParserRuleContext { - public ExpressionContext accessRightsArr; - public TerminalNode SET_RESOURCE_OPERATIONS() { return getToken(PMLParser.SET_RESOURCE_OPERATIONS, 0); } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public SetResourceOperationsStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_setResourceOperationsStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterSetResourceOperationsStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitSetResourceOperationsStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitSetResourceOperationsStatement(this); - else return visitor.visitChildren(this); - } - } - - public final SetResourceOperationsStatementContext setResourceOperationsStatement() throws RecognitionException { - SetResourceOperationsStatementContext _localctx = new SetResourceOperationsStatementContext(_ctx, getState()); - enterRule(_localctx, 52, RULE_setResourceOperationsStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(360); - match(SET_RESOURCE_OPERATIONS); - setState(361); - ((SetResourceOperationsStatementContext)_localctx).accessRightsArr = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class DeleteStatementContext extends ParserRuleContext { - public TerminalNode DELETE() { return getToken(PMLParser.DELETE, 0); } - public DeleteTypeContext deleteType() { - return getRuleContext(DeleteTypeContext.class,0); - } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public DeleteStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_deleteStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterDeleteStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitDeleteStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitDeleteStatement(this); - else return visitor.visitChildren(this); - } - } - - public final DeleteStatementContext deleteStatement() throws RecognitionException { - DeleteStatementContext _localctx = new DeleteStatementContext(_ctx, getState()); - enterRule(_localctx, 54, RULE_deleteStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(363); - match(DELETE); - setState(364); - deleteType(); - setState(365); - expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class DeleteTypeContext extends ParserRuleContext { - public DeleteTypeContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_deleteType; } - - public DeleteTypeContext() { } - public void copyFrom(DeleteTypeContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class DeleteNodeContext extends DeleteTypeContext { - public NodeTypeContext nodeType() { - return getRuleContext(NodeTypeContext.class,0); - } - public DeleteNodeContext(DeleteTypeContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterDeleteNode(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitDeleteNode(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitDeleteNode(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class DeleteProhibitionContext extends DeleteTypeContext { - public TerminalNode PROHIBITION() { return getToken(PMLParser.PROHIBITION, 0); } - public DeleteProhibitionContext(DeleteTypeContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterDeleteProhibition(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitDeleteProhibition(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitDeleteProhibition(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class DeleteObligationContext extends DeleteTypeContext { - public TerminalNode OBLIGATION() { return getToken(PMLParser.OBLIGATION, 0); } - public DeleteObligationContext(DeleteTypeContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterDeleteObligation(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitDeleteObligation(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitDeleteObligation(this); - else return visitor.visitChildren(this); - } - } - - public final DeleteTypeContext deleteType() throws RecognitionException { - DeleteTypeContext _localctx = new DeleteTypeContext(_ctx, getState()); - enterRule(_localctx, 56, RULE_deleteType); - try { - setState(370); - _errHandler.sync(this); - switch (_input.LA(1)) { - case POLICY_CLASS: - case OBJECT_ATTRIBUTE: - case USER_ATTRIBUTE: - case OBJECT: - case USER: - _localctx = new DeleteNodeContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(367); - nodeType(); - } - break; - case OBLIGATION: - _localctx = new DeleteObligationContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(368); - match(OBLIGATION); - } - break; - case PROHIBITION: - _localctx = new DeleteProhibitionContext(_localctx); - enterOuterAlt(_localctx, 3); - { - setState(369); - match(PROHIBITION); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class NodeTypeContext extends ParserRuleContext { - public TerminalNode POLICY_CLASS() { return getToken(PMLParser.POLICY_CLASS, 0); } - public TerminalNode OBJECT_ATTRIBUTE() { return getToken(PMLParser.OBJECT_ATTRIBUTE, 0); } - public TerminalNode USER_ATTRIBUTE() { return getToken(PMLParser.USER_ATTRIBUTE, 0); } - public TerminalNode OBJECT() { return getToken(PMLParser.OBJECT, 0); } - public TerminalNode USER() { return getToken(PMLParser.USER, 0); } - public NodeTypeContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_nodeType; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterNodeType(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitNodeType(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitNodeType(this); - else return visitor.visitChildren(this); - } - } - - public final NodeTypeContext nodeType() throws RecognitionException { - NodeTypeContext _localctx = new NodeTypeContext(_ctx, getState()); - enterRule(_localctx, 58, RULE_nodeType); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(372); - _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 14156212207616L) != 0)) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class DeleteRuleStatementContext extends ParserRuleContext { - public ExpressionContext ruleName; - public ExpressionContext obligationName; - public TerminalNode DELETE() { return getToken(PMLParser.DELETE, 0); } - public TerminalNode RULE() { return getToken(PMLParser.RULE, 0); } - public TerminalNode FROM() { return getToken(PMLParser.FROM, 0); } - public TerminalNode OBLIGATION() { return getToken(PMLParser.OBLIGATION, 0); } - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public DeleteRuleStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_deleteRuleStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterDeleteRuleStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitDeleteRuleStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitDeleteRuleStatement(this); - else return visitor.visitChildren(this); - } - } - - public final DeleteRuleStatementContext deleteRuleStatement() throws RecognitionException { - DeleteRuleStatementContext _localctx = new DeleteRuleStatementContext(_ctx, getState()); - enterRule(_localctx, 60, RULE_deleteRuleStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(374); - match(DELETE); - setState(375); - match(RULE); - setState(376); - ((DeleteRuleStatementContext)_localctx).ruleName = expression(0); - setState(377); - match(FROM); - setState(378); - match(OBLIGATION); - setState(379); - ((DeleteRuleStatementContext)_localctx).obligationName = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class VariableDeclarationStatementContext extends ParserRuleContext { - public VariableDeclarationStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_variableDeclarationStatement; } - - public VariableDeclarationStatementContext() { } - public void copyFrom(VariableDeclarationStatementContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class VarDeclarationContext extends VariableDeclarationStatementContext { - public TerminalNode VAR() { return getToken(PMLParser.VAR, 0); } - public List varSpec() { - return getRuleContexts(VarSpecContext.class); - } - public VarSpecContext varSpec(int i) { - return getRuleContext(VarSpecContext.class,i); - } - public TerminalNode OPEN_PAREN() { return getToken(PMLParser.OPEN_PAREN, 0); } - public TerminalNode CLOSE_PAREN() { return getToken(PMLParser.CLOSE_PAREN, 0); } - public VarDeclarationContext(VariableDeclarationStatementContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterVarDeclaration(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitVarDeclaration(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitVarDeclaration(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class ShortDeclarationContext extends VariableDeclarationStatementContext { - public TerminalNode ID() { return getToken(PMLParser.ID, 0); } - public TerminalNode DECLARE_ASSIGN() { return getToken(PMLParser.DECLARE_ASSIGN, 0); } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public ShortDeclarationContext(VariableDeclarationStatementContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterShortDeclaration(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitShortDeclaration(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitShortDeclaration(this); - else return visitor.visitChildren(this); - } - } - - public final VariableDeclarationStatementContext variableDeclarationStatement() throws RecognitionException { - VariableDeclarationStatementContext _localctx = new VariableDeclarationStatementContext(_ctx, getState()); - enterRule(_localctx, 62, RULE_variableDeclarationStatement); - int _la; - try { - setState(396); - _errHandler.sync(this); - switch (_input.LA(1)) { - case VAR: - _localctx = new VarDeclarationContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(381); - match(VAR); - setState(391); - _errHandler.sync(this); - switch (_input.LA(1)) { - case ID: - { - setState(382); - varSpec(); - } - break; - case OPEN_PAREN: - { - setState(383); - match(OPEN_PAREN); - setState(387); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==ID) { - { - { - setState(384); - varSpec(); - } - } - setState(389); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(390); - match(CLOSE_PAREN); - } - break; - default: - throw new NoViableAltException(this); - } - } - break; - case ID: - _localctx = new ShortDeclarationContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(393); - match(ID); - setState(394); - match(DECLARE_ASSIGN); - setState(395); - expression(0); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class VarSpecContext extends ParserRuleContext { - public TerminalNode ID() { return getToken(PMLParser.ID, 0); } - public TerminalNode ASSIGN_EQUALS() { return getToken(PMLParser.ASSIGN_EQUALS, 0); } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public VarSpecContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_varSpec; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterVarSpec(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitVarSpec(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitVarSpec(this); - else return visitor.visitChildren(this); - } - } - - public final VarSpecContext varSpec() throws RecognitionException { - VarSpecContext _localctx = new VarSpecContext(_ctx, getState()); - enterRule(_localctx, 64, RULE_varSpec); - try { - enterOuterAlt(_localctx, 1); - { - setState(398); - match(ID); - setState(399); - match(ASSIGN_EQUALS); - setState(400); - expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class VariableAssignmentStatementContext extends ParserRuleContext { - public TerminalNode ID() { return getToken(PMLParser.ID, 0); } - public TerminalNode ASSIGN_EQUALS() { return getToken(PMLParser.ASSIGN_EQUALS, 0); } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public TerminalNode PLUS() { return getToken(PMLParser.PLUS, 0); } - public VariableAssignmentStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_variableAssignmentStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterVariableAssignmentStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitVariableAssignmentStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitVariableAssignmentStatement(this); - else return visitor.visitChildren(this); - } - } - - public final VariableAssignmentStatementContext variableAssignmentStatement() throws RecognitionException { - VariableAssignmentStatementContext _localctx = new VariableAssignmentStatementContext(_ctx, getState()); - enterRule(_localctx, 66, RULE_variableAssignmentStatement); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(402); - match(ID); - setState(404); - _errHandler.sync(this); - _la = _input.LA(1); - if (_la==PLUS) { - { - setState(403); - match(PLUS); - } - } - - setState(406); - match(ASSIGN_EQUALS); - setState(407); - expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class FunctionDefinitionStatementContext extends ParserRuleContext { - public FunctionSignatureContext functionSignature() { - return getRuleContext(FunctionSignatureContext.class,0); - } - public StatementBlockContext statementBlock() { - return getRuleContext(StatementBlockContext.class,0); - } - public CheckStatementBlockContext checkStatementBlock() { - return getRuleContext(CheckStatementBlockContext.class,0); - } - public FunctionDefinitionStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_functionDefinitionStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterFunctionDefinitionStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitFunctionDefinitionStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitFunctionDefinitionStatement(this); - else return visitor.visitChildren(this); - } - } - - public final FunctionDefinitionStatementContext functionDefinitionStatement() throws RecognitionException { - FunctionDefinitionStatementContext _localctx = new FunctionDefinitionStatementContext(_ctx, getState()); - enterRule(_localctx, 68, RULE_functionDefinitionStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(409); - functionSignature(); - setState(411); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,24,_ctx) ) { - case 1: - { - setState(410); - checkStatementBlock(); - } - break; - } - setState(413); - statementBlock(); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class FunctionSignatureContext extends ParserRuleContext { - public VariableTypeContext returnType; - public TerminalNode ID() { return getToken(PMLParser.ID, 0); } - public TerminalNode OPEN_PAREN() { return getToken(PMLParser.OPEN_PAREN, 0); } - public FormalArgListContext formalArgList() { - return getRuleContext(FormalArgListContext.class,0); - } - public TerminalNode CLOSE_PAREN() { return getToken(PMLParser.CLOSE_PAREN, 0); } - public TerminalNode ROUTINE() { return getToken(PMLParser.ROUTINE, 0); } - public TerminalNode OPERATION() { return getToken(PMLParser.OPERATION, 0); } - public VariableTypeContext variableType() { - return getRuleContext(VariableTypeContext.class,0); - } - public FunctionSignatureContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_functionSignature; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterFunctionSignature(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitFunctionSignature(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitFunctionSignature(this); - else return visitor.visitChildren(this); - } - } - - public final FunctionSignatureContext functionSignature() throws RecognitionException { - FunctionSignatureContext _localctx = new FunctionSignatureContext(_ctx, getState()); - enterRule(_localctx, 70, RULE_functionSignature); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(415); - _la = _input.LA(1); - if ( !(_la==OPERATION || _la==ROUTINE) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - setState(416); - match(ID); - setState(417); - match(OPEN_PAREN); - setState(418); - formalArgList(); - setState(419); - match(CLOSE_PAREN); - setState(421); - _errHandler.sync(this); - _la = _input.LA(1); - if (((((_la - 16)) & ~0x3f) == 0 && ((1L << (_la - 16)) & 9013800619474945L) != 0)) { - { - setState(420); - ((FunctionSignatureContext)_localctx).returnType = variableType(); - } - } - - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class FormalArgListContext extends ParserRuleContext { - public List formalArg() { - return getRuleContexts(FormalArgContext.class); - } - public FormalArgContext formalArg(int i) { - return getRuleContext(FormalArgContext.class,i); - } - public List COMMA() { return getTokens(PMLParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(PMLParser.COMMA, i); - } - public FormalArgListContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_formalArgList; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterFormalArgList(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitFormalArgList(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitFormalArgList(this); - else return visitor.visitChildren(this); - } - } - - public final FormalArgListContext formalArgList() throws RecognitionException { - FormalArgListContext _localctx = new FormalArgListContext(_ctx, getState()); - enterRule(_localctx, 72, RULE_formalArgList); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(431); - _errHandler.sync(this); - _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 432627039204343812L) != 0) || _la==OPEN_BRACKET) { - { - setState(423); - formalArg(); - setState(428); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(424); - match(COMMA); - setState(425); - formalArg(); - } - } - setState(430); - _errHandler.sync(this); - _la = _input.LA(1); - } - } - } - - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class FormalArgContext extends ParserRuleContext { - public VariableTypeContext variableType() { - return getRuleContext(VariableTypeContext.class,0); - } - public TerminalNode ID() { return getToken(PMLParser.ID, 0); } - public TerminalNode NODEOP() { return getToken(PMLParser.NODEOP, 0); } - public FormalArgContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_formalArg; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterFormalArg(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitFormalArg(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitFormalArg(this); - else return visitor.visitChildren(this); - } - } - - public final FormalArgContext formalArg() throws RecognitionException { - FormalArgContext _localctx = new FormalArgContext(_ctx, getState()); - enterRule(_localctx, 74, RULE_formalArg); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(434); - _errHandler.sync(this); - _la = _input.LA(1); - if (_la==NODEOP) { - { - setState(433); - match(NODEOP); - } - } - - setState(436); - variableType(); - setState(437); - match(ID); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ReturnStatementContext extends ParserRuleContext { - public TerminalNode RETURN() { return getToken(PMLParser.RETURN, 0); } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public ReturnStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_returnStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterReturnStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitReturnStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitReturnStatement(this); - else return visitor.visitChildren(this); - } - } - - public final ReturnStatementContext returnStatement() throws RecognitionException { - ReturnStatementContext _localctx = new ReturnStatementContext(_ctx, getState()); - enterRule(_localctx, 76, RULE_returnStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(439); - match(RETURN); - setState(441); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,29,_ctx) ) { - case 1: - { - setState(440); - expression(0); - } - break; - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class CheckStatementContext extends ParserRuleContext { - public ExpressionContext ar; - public ExpressionContext target; - public TerminalNode CHECK() { return getToken(PMLParser.CHECK, 0); } - public TerminalNode ON() { return getToken(PMLParser.ON, 0); } - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public CheckStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_checkStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterCheckStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitCheckStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitCheckStatement(this); - else return visitor.visitChildren(this); - } - } - - public final CheckStatementContext checkStatement() throws RecognitionException { - CheckStatementContext _localctx = new CheckStatementContext(_ctx, getState()); - enterRule(_localctx, 78, RULE_checkStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(443); - match(CHECK); - setState(444); - ((CheckStatementContext)_localctx).ar = expression(0); - setState(445); - match(ON); - setState(446); - ((CheckStatementContext)_localctx).target = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class CheckStatementBlockContext extends ParserRuleContext { - public TerminalNode OPEN_CURLY() { return getToken(PMLParser.OPEN_CURLY, 0); } - public TerminalNode CLOSE_CURLY() { return getToken(PMLParser.CLOSE_CURLY, 0); } - public List checkStatement() { - return getRuleContexts(CheckStatementContext.class); - } - public CheckStatementContext checkStatement(int i) { - return getRuleContext(CheckStatementContext.class,i); - } - public CheckStatementBlockContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_checkStatementBlock; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterCheckStatementBlock(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitCheckStatementBlock(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitCheckStatementBlock(this); - else return visitor.visitChildren(this); - } - } - - public final CheckStatementBlockContext checkStatementBlock() throws RecognitionException { - CheckStatementBlockContext _localctx = new CheckStatementBlockContext(_ctx, getState()); - enterRule(_localctx, 80, RULE_checkStatementBlock); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(448); - match(OPEN_CURLY); - setState(452); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==CHECK) { - { - { - setState(449); - checkStatement(); - } - } - setState(454); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(455); - match(CLOSE_CURLY); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class IdArrContext extends ParserRuleContext { - public TerminalNode OPEN_BRACKET() { return getToken(PMLParser.OPEN_BRACKET, 0); } - public TerminalNode CLOSE_BRACKET() { return getToken(PMLParser.CLOSE_BRACKET, 0); } - public List ID() { return getTokens(PMLParser.ID); } - public TerminalNode ID(int i) { - return getToken(PMLParser.ID, i); - } - public List COMMA() { return getTokens(PMLParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(PMLParser.COMMA, i); - } - public IdArrContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_idArr; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterIdArr(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitIdArr(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitIdArr(this); - else return visitor.visitChildren(this); - } - } - - public final IdArrContext idArr() throws RecognitionException { - IdArrContext _localctx = new IdArrContext(_ctx, getState()); - enterRule(_localctx, 82, RULE_idArr); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(457); - match(OPEN_BRACKET); - setState(466); - _errHandler.sync(this); - _la = _input.LA(1); - if (_la==ID) { - { - setState(458); - match(ID); - setState(463); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(459); - match(COMMA); - setState(460); - match(ID); - } - } - setState(465); - _errHandler.sync(this); - _la = _input.LA(1); - } - } - } - - setState(468); - match(CLOSE_BRACKET); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class FunctionInvokeStatementContext extends ParserRuleContext { - public FunctionInvokeContext functionInvoke() { - return getRuleContext(FunctionInvokeContext.class,0); - } - public FunctionInvokeStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_functionInvokeStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterFunctionInvokeStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitFunctionInvokeStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitFunctionInvokeStatement(this); - else return visitor.visitChildren(this); - } - } - - public final FunctionInvokeStatementContext functionInvokeStatement() throws RecognitionException { - FunctionInvokeStatementContext _localctx = new FunctionInvokeStatementContext(_ctx, getState()); - enterRule(_localctx, 84, RULE_functionInvokeStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(470); - functionInvoke(); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ForeachStatementContext extends ParserRuleContext { - public Token key; - public Token value; - public TerminalNode FOREACH() { return getToken(PMLParser.FOREACH, 0); } - public TerminalNode IN() { return getToken(PMLParser.IN, 0); } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public StatementBlockContext statementBlock() { - return getRuleContext(StatementBlockContext.class,0); - } - public List ID() { return getTokens(PMLParser.ID); } - public TerminalNode ID(int i) { - return getToken(PMLParser.ID, i); - } - public TerminalNode COMMA() { return getToken(PMLParser.COMMA, 0); } - public ForeachStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_foreachStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterForeachStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitForeachStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitForeachStatement(this); - else return visitor.visitChildren(this); - } - } - - public final ForeachStatementContext foreachStatement() throws RecognitionException { - ForeachStatementContext _localctx = new ForeachStatementContext(_ctx, getState()); - enterRule(_localctx, 86, RULE_foreachStatement); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(472); - match(FOREACH); - setState(473); - ((ForeachStatementContext)_localctx).key = match(ID); - setState(476); - _errHandler.sync(this); - _la = _input.LA(1); - if (_la==COMMA) { - { - setState(474); - match(COMMA); - setState(475); - ((ForeachStatementContext)_localctx).value = match(ID); - } - } - - setState(478); - match(IN); - setState(479); - expression(0); - setState(480); - statementBlock(); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class BreakStatementContext extends ParserRuleContext { - public TerminalNode BREAK() { return getToken(PMLParser.BREAK, 0); } - public BreakStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_breakStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterBreakStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitBreakStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitBreakStatement(this); - else return visitor.visitChildren(this); - } - } - - public final BreakStatementContext breakStatement() throws RecognitionException { - BreakStatementContext _localctx = new BreakStatementContext(_ctx, getState()); - enterRule(_localctx, 88, RULE_breakStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(482); - match(BREAK); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ContinueStatementContext extends ParserRuleContext { - public TerminalNode CONTINUE() { return getToken(PMLParser.CONTINUE, 0); } - public ContinueStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_continueStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterContinueStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitContinueStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitContinueStatement(this); - else return visitor.visitChildren(this); - } - } - - public final ContinueStatementContext continueStatement() throws RecognitionException { - ContinueStatementContext _localctx = new ContinueStatementContext(_ctx, getState()); - enterRule(_localctx, 90, RULE_continueStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(484); - match(CONTINUE); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class IfStatementContext extends ParserRuleContext { - public ExpressionContext condition; - public TerminalNode IF() { return getToken(PMLParser.IF, 0); } - public StatementBlockContext statementBlock() { - return getRuleContext(StatementBlockContext.class,0); - } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public List elseIfStatement() { - return getRuleContexts(ElseIfStatementContext.class); - } - public ElseIfStatementContext elseIfStatement(int i) { - return getRuleContext(ElseIfStatementContext.class,i); - } - public ElseStatementContext elseStatement() { - return getRuleContext(ElseStatementContext.class,0); - } - public IfStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_ifStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterIfStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitIfStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitIfStatement(this); - else return visitor.visitChildren(this); - } - } - - public final IfStatementContext ifStatement() throws RecognitionException { - IfStatementContext _localctx = new IfStatementContext(_ctx, getState()); - enterRule(_localctx, 92, RULE_ifStatement); - int _la; - try { - int _alt; - enterOuterAlt(_localctx, 1); - { - setState(486); - match(IF); - setState(487); - ((IfStatementContext)_localctx).condition = expression(0); - setState(488); - statementBlock(); - setState(492); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,34,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - { - { - setState(489); - elseIfStatement(); - } - } - } - setState(494); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,34,_ctx); - } - setState(496); - _errHandler.sync(this); - _la = _input.LA(1); - if (_la==ELSE) { - { - setState(495); - elseStatement(); - } - } - - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ElseIfStatementContext extends ParserRuleContext { - public ExpressionContext condition; - public TerminalNode ELSE() { return getToken(PMLParser.ELSE, 0); } - public TerminalNode IF() { return getToken(PMLParser.IF, 0); } - public StatementBlockContext statementBlock() { - return getRuleContext(StatementBlockContext.class,0); - } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public ElseIfStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_elseIfStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterElseIfStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitElseIfStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitElseIfStatement(this); - else return visitor.visitChildren(this); - } - } - - public final ElseIfStatementContext elseIfStatement() throws RecognitionException { - ElseIfStatementContext _localctx = new ElseIfStatementContext(_ctx, getState()); - enterRule(_localctx, 94, RULE_elseIfStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(498); - match(ELSE); - setState(499); - match(IF); - setState(500); - ((ElseIfStatementContext)_localctx).condition = expression(0); - setState(501); - statementBlock(); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ElseStatementContext extends ParserRuleContext { - public TerminalNode ELSE() { return getToken(PMLParser.ELSE, 0); } - public StatementBlockContext statementBlock() { - return getRuleContext(StatementBlockContext.class,0); - } - public ElseStatementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_elseStatement; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterElseStatement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitElseStatement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitElseStatement(this); - else return visitor.visitChildren(this); - } - } - - public final ElseStatementContext elseStatement() throws RecognitionException { - ElseStatementContext _localctx = new ElseStatementContext(_ctx, getState()); - enterRule(_localctx, 96, RULE_elseStatement); - try { - enterOuterAlt(_localctx, 1); - { - setState(503); - match(ELSE); - setState(504); - statementBlock(); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class VariableTypeContext extends ParserRuleContext { - public VariableTypeContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_variableType; } - - public VariableTypeContext() { } - public void copyFrom(VariableTypeContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class MapVarTypeContext extends VariableTypeContext { - public MapTypeContext mapType() { - return getRuleContext(MapTypeContext.class,0); - } - public MapVarTypeContext(VariableTypeContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterMapVarType(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitMapVarType(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitMapVarType(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class StringTypeContext extends VariableTypeContext { - public TerminalNode STRING_TYPE() { return getToken(PMLParser.STRING_TYPE, 0); } - public StringTypeContext(VariableTypeContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterStringType(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitStringType(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitStringType(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class ArrayVarTypeContext extends VariableTypeContext { - public ArrayTypeContext arrayType() { - return getRuleContext(ArrayTypeContext.class,0); - } - public ArrayVarTypeContext(VariableTypeContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterArrayVarType(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitArrayVarType(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitArrayVarType(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class BooleanTypeContext extends VariableTypeContext { - public TerminalNode BOOL_TYPE() { return getToken(PMLParser.BOOL_TYPE, 0); } - public BooleanTypeContext(VariableTypeContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterBooleanType(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitBooleanType(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitBooleanType(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class AnyTypeContext extends VariableTypeContext { - public TerminalNode ANY() { return getToken(PMLParser.ANY, 0); } - public AnyTypeContext(VariableTypeContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterAnyType(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitAnyType(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitAnyType(this); - else return visitor.visitChildren(this); - } - } - - public final VariableTypeContext variableType() throws RecognitionException { - VariableTypeContext _localctx = new VariableTypeContext(_ctx, getState()); - enterRule(_localctx, 98, RULE_variableType); - try { - setState(511); - _errHandler.sync(this); - switch (_input.LA(1)) { - case STRING_TYPE: - _localctx = new StringTypeContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(506); - match(STRING_TYPE); - } - break; - case BOOL_TYPE: - _localctx = new BooleanTypeContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(507); - match(BOOL_TYPE); - } - break; - case OPEN_BRACKET: - _localctx = new ArrayVarTypeContext(_localctx); - enterOuterAlt(_localctx, 3); - { - setState(508); - arrayType(); - } - break; - case MAP: - _localctx = new MapVarTypeContext(_localctx); - enterOuterAlt(_localctx, 4); - { - setState(509); - mapType(); - } - break; - case ANY: - _localctx = new AnyTypeContext(_localctx); - enterOuterAlt(_localctx, 5); - { - setState(510); - match(ANY); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class MapTypeContext extends ParserRuleContext { - public VariableTypeContext keyType; - public VariableTypeContext valueType; - public TerminalNode MAP() { return getToken(PMLParser.MAP, 0); } - public TerminalNode OPEN_BRACKET() { return getToken(PMLParser.OPEN_BRACKET, 0); } - public TerminalNode CLOSE_BRACKET() { return getToken(PMLParser.CLOSE_BRACKET, 0); } - public List variableType() { - return getRuleContexts(VariableTypeContext.class); - } - public VariableTypeContext variableType(int i) { - return getRuleContext(VariableTypeContext.class,i); - } - public MapTypeContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_mapType; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterMapType(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitMapType(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitMapType(this); - else return visitor.visitChildren(this); - } - } - - public final MapTypeContext mapType() throws RecognitionException { - MapTypeContext _localctx = new MapTypeContext(_ctx, getState()); - enterRule(_localctx, 100, RULE_mapType); - try { - enterOuterAlt(_localctx, 1); - { - setState(513); - match(MAP); - setState(514); - match(OPEN_BRACKET); - setState(515); - ((MapTypeContext)_localctx).keyType = variableType(); - setState(516); - match(CLOSE_BRACKET); - setState(517); - ((MapTypeContext)_localctx).valueType = variableType(); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ArrayTypeContext extends ParserRuleContext { - public TerminalNode OPEN_BRACKET() { return getToken(PMLParser.OPEN_BRACKET, 0); } - public TerminalNode CLOSE_BRACKET() { return getToken(PMLParser.CLOSE_BRACKET, 0); } - public VariableTypeContext variableType() { - return getRuleContext(VariableTypeContext.class,0); - } - public ArrayTypeContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_arrayType; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterArrayType(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitArrayType(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitArrayType(this); - else return visitor.visitChildren(this); - } - } - - public final ArrayTypeContext arrayType() throws RecognitionException { - ArrayTypeContext _localctx = new ArrayTypeContext(_ctx, getState()); - enterRule(_localctx, 102, RULE_arrayType); - try { - enterOuterAlt(_localctx, 1); - { - setState(519); - match(OPEN_BRACKET); - setState(520); - match(CLOSE_BRACKET); - setState(521); - variableType(); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ExpressionContext extends ParserRuleContext { - public ExpressionContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_expression; } - - public ExpressionContext() { } - public void copyFrom(ExpressionContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class NegateExpressionContext extends ExpressionContext { - public TerminalNode EXCLAMATION() { return getToken(PMLParser.EXCLAMATION, 0); } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public NegateExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterNegateExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitNegateExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitNegateExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class LogicalExpressionContext extends ExpressionContext { - public ExpressionContext left; - public ExpressionContext right; - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public TerminalNode LOGICAL_AND() { return getToken(PMLParser.LOGICAL_AND, 0); } - public TerminalNode LOGICAL_OR() { return getToken(PMLParser.LOGICAL_OR, 0); } - public LogicalExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterLogicalExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitLogicalExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitLogicalExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class PlusExpressionContext extends ExpressionContext { - public ExpressionContext left; - public ExpressionContext right; - public TerminalNode PLUS() { return getToken(PMLParser.PLUS, 0); } - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public PlusExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterPlusExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitPlusExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitPlusExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class FunctionInvokeExpressionContext extends ExpressionContext { - public FunctionInvokeContext functionInvoke() { - return getRuleContext(FunctionInvokeContext.class,0); - } - public FunctionInvokeExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterFunctionInvokeExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitFunctionInvokeExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitFunctionInvokeExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class VariableReferenceExpressionContext extends ExpressionContext { - public VariableReferenceContext variableReference() { - return getRuleContext(VariableReferenceContext.class,0); - } - public VariableReferenceExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterVariableReferenceExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitVariableReferenceExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitVariableReferenceExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class LiteralExpressionContext extends ExpressionContext { - public LiteralContext literal() { - return getRuleContext(LiteralContext.class,0); - } - public LiteralExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterLiteralExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitLiteralExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitLiteralExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class ParenExpressionContext extends ExpressionContext { - public TerminalNode OPEN_PAREN() { return getToken(PMLParser.OPEN_PAREN, 0); } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public TerminalNode CLOSE_PAREN() { return getToken(PMLParser.CLOSE_PAREN, 0); } - public ParenExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterParenExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitParenExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitParenExpression(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class EqualsExpressionContext extends ExpressionContext { - public ExpressionContext left; - public ExpressionContext right; - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public TerminalNode EQUALS() { return getToken(PMLParser.EQUALS, 0); } - public TerminalNode NOT_EQUALS() { return getToken(PMLParser.NOT_EQUALS, 0); } - public EqualsExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterEqualsExpression(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitEqualsExpression(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitEqualsExpression(this); - else return visitor.visitChildren(this); - } - } - - public final ExpressionContext expression() throws RecognitionException { - return expression(0); - } - - private ExpressionContext expression(int _p) throws RecognitionException { - ParserRuleContext _parentctx = _ctx; - int _parentState = getState(); - ExpressionContext _localctx = new ExpressionContext(_ctx, _parentState); - ExpressionContext _prevctx = _localctx; - int _startState = 104; - enterRecursionRule(_localctx, 104, RULE_expression, _p); - int _la; - try { - int _alt; - enterOuterAlt(_localctx, 1); - { - setState(533); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,37,_ctx) ) { - case 1: - { - _localctx = new FunctionInvokeExpressionContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - - setState(524); - functionInvoke(); - } - break; - case 2: - { - _localctx = new VariableReferenceExpressionContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - setState(525); - variableReference(0); - } - break; - case 3: - { - _localctx = new LiteralExpressionContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - setState(526); - literal(); - } - break; - case 4: - { - _localctx = new NegateExpressionContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - setState(527); - match(EXCLAMATION); - setState(528); - expression(5); - } - break; - case 5: - { - _localctx = new ParenExpressionContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - setState(529); - match(OPEN_PAREN); - setState(530); - expression(0); - setState(531); - match(CLOSE_PAREN); - } - break; - } - _ctx.stop = _input.LT(-1); - setState(546); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,39,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - if ( _parseListeners!=null ) triggerExitRuleEvent(); - _prevctx = _localctx; - { - setState(544); - _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,38,_ctx) ) { - case 1: - { - _localctx = new PlusExpressionContext(new ExpressionContext(_parentctx, _parentState)); - ((PlusExpressionContext)_localctx).left = _prevctx; - pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(535); - if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)"); - setState(536); - match(PLUS); - setState(537); - ((PlusExpressionContext)_localctx).right = expression(4); - } - break; - case 2: - { - _localctx = new EqualsExpressionContext(new ExpressionContext(_parentctx, _parentState)); - ((EqualsExpressionContext)_localctx).left = _prevctx; - pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(538); - if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(539); - _la = _input.LA(1); - if ( !(_la==EQUALS || _la==NOT_EQUALS) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - setState(540); - ((EqualsExpressionContext)_localctx).right = expression(3); - } - break; - case 3: - { - _localctx = new LogicalExpressionContext(new ExpressionContext(_parentctx, _parentState)); - ((LogicalExpressionContext)_localctx).left = _prevctx; - pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(541); - if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(542); - _la = _input.LA(1); - if ( !(_la==LOGICAL_OR || _la==LOGICAL_AND) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - setState(543); - ((LogicalExpressionContext)_localctx).right = expression(2); - } - break; - } - } - } - setState(548); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,39,_ctx); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - unrollRecursionContexts(_parentctx); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ExpressionListContext extends ParserRuleContext { - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public List COMMA() { return getTokens(PMLParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(PMLParser.COMMA, i); - } - public ExpressionListContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_expressionList; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterExpressionList(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitExpressionList(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitExpressionList(this); - else return visitor.visitChildren(this); - } - } - - public final ExpressionListContext expressionList() throws RecognitionException { - ExpressionListContext _localctx = new ExpressionListContext(_ctx, getState()); - enterRule(_localctx, 106, RULE_expressionList); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(549); - expression(0); - setState(554); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(550); - match(COMMA); - setState(551); - expression(0); - } - } - setState(556); - _errHandler.sync(this); - _la = _input.LA(1); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class LiteralContext extends ParserRuleContext { - public LiteralContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_literal; } - - public LiteralContext() { } - public void copyFrom(LiteralContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class MapLiteralContext extends LiteralContext { - public MapLitContext mapLit() { - return getRuleContext(MapLitContext.class,0); - } - public MapLiteralContext(LiteralContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterMapLiteral(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitMapLiteral(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitMapLiteral(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class StringLiteralContext extends LiteralContext { - public StringLitContext stringLit() { - return getRuleContext(StringLitContext.class,0); - } - public StringLiteralContext(LiteralContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterStringLiteral(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitStringLiteral(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitStringLiteral(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class BoolLiteralContext extends LiteralContext { - public BoolLitContext boolLit() { - return getRuleContext(BoolLitContext.class,0); - } - public BoolLiteralContext(LiteralContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterBoolLiteral(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitBoolLiteral(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitBoolLiteral(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class ArrayLiteralContext extends LiteralContext { - public ArrayLitContext arrayLit() { - return getRuleContext(ArrayLitContext.class,0); - } - public ArrayLiteralContext(LiteralContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterArrayLiteral(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitArrayLiteral(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitArrayLiteral(this); - else return visitor.visitChildren(this); - } - } - - public final LiteralContext literal() throws RecognitionException { - LiteralContext _localctx = new LiteralContext(_ctx, getState()); - enterRule(_localctx, 108, RULE_literal); - try { - setState(561); - _errHandler.sync(this); - switch (_input.LA(1)) { - case DOUBLE_QUOTE_STRING: - _localctx = new StringLiteralContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(557); - stringLit(); - } - break; - case TRUE: - case FALSE: - _localctx = new BoolLiteralContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(558); - boolLit(); - } - break; - case OPEN_BRACKET: - _localctx = new ArrayLiteralContext(_localctx); - enterOuterAlt(_localctx, 3); - { - setState(559); - arrayLit(); - } - break; - case OPEN_CURLY: - _localctx = new MapLiteralContext(_localctx); - enterOuterAlt(_localctx, 4); - { - setState(560); - mapLit(); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class StringLitContext extends ParserRuleContext { - public TerminalNode DOUBLE_QUOTE_STRING() { return getToken(PMLParser.DOUBLE_QUOTE_STRING, 0); } - public StringLitContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_stringLit; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterStringLit(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitStringLit(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitStringLit(this); - else return visitor.visitChildren(this); - } - } - - public final StringLitContext stringLit() throws RecognitionException { - StringLitContext _localctx = new StringLitContext(_ctx, getState()); - enterRule(_localctx, 110, RULE_stringLit); - try { - enterOuterAlt(_localctx, 1); - { - setState(563); - match(DOUBLE_QUOTE_STRING); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class BoolLitContext extends ParserRuleContext { - public TerminalNode TRUE() { return getToken(PMLParser.TRUE, 0); } - public TerminalNode FALSE() { return getToken(PMLParser.FALSE, 0); } - public BoolLitContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_boolLit; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterBoolLit(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitBoolLit(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitBoolLit(this); - else return visitor.visitChildren(this); - } - } - - public final BoolLitContext boolLit() throws RecognitionException { - BoolLitContext _localctx = new BoolLitContext(_ctx, getState()); - enterRule(_localctx, 112, RULE_boolLit); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(565); - _la = _input.LA(1); - if ( !(_la==TRUE || _la==FALSE) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ArrayLitContext extends ParserRuleContext { - public TerminalNode OPEN_BRACKET() { return getToken(PMLParser.OPEN_BRACKET, 0); } - public TerminalNode CLOSE_BRACKET() { return getToken(PMLParser.CLOSE_BRACKET, 0); } - public ExpressionListContext expressionList() { - return getRuleContext(ExpressionListContext.class,0); - } - public ArrayLitContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_arrayLit; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterArrayLit(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitArrayLit(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitArrayLit(this); - else return visitor.visitChildren(this); - } - } - - public final ArrayLitContext arrayLit() throws RecognitionException { - ArrayLitContext _localctx = new ArrayLitContext(_ctx, getState()); - enterRule(_localctx, 114, RULE_arrayLit); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(567); - match(OPEN_BRACKET); - setState(569); - _errHandler.sync(this); - _la = _input.LA(1); - if (((((_la - 62)) & ~0x3f) == 0 && ((1L << (_la - 62)) & 2621615L) != 0)) { - { - setState(568); - expressionList(); - } - } - - setState(571); - match(CLOSE_BRACKET); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class StringArrayLitContext extends ParserRuleContext { - public TerminalNode OPEN_BRACKET() { return getToken(PMLParser.OPEN_BRACKET, 0); } - public TerminalNode CLOSE_BRACKET() { return getToken(PMLParser.CLOSE_BRACKET, 0); } - public List stringLit() { - return getRuleContexts(StringLitContext.class); - } - public StringLitContext stringLit(int i) { - return getRuleContext(StringLitContext.class,i); - } - public List COMMA() { return getTokens(PMLParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(PMLParser.COMMA, i); - } - public StringArrayLitContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_stringArrayLit; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterStringArrayLit(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitStringArrayLit(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitStringArrayLit(this); - else return visitor.visitChildren(this); - } - } - - public final StringArrayLitContext stringArrayLit() throws RecognitionException { - StringArrayLitContext _localctx = new StringArrayLitContext(_ctx, getState()); - enterRule(_localctx, 116, RULE_stringArrayLit); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(573); - match(OPEN_BRACKET); - setState(582); - _errHandler.sync(this); - _la = _input.LA(1); - if (_la==DOUBLE_QUOTE_STRING) { - { - setState(574); - stringLit(); - setState(579); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(575); - match(COMMA); - setState(576); - stringLit(); - } - } - setState(581); - _errHandler.sync(this); - _la = _input.LA(1); - } - } - } - - setState(584); - match(CLOSE_BRACKET); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class MapLitContext extends ParserRuleContext { - public TerminalNode OPEN_CURLY() { return getToken(PMLParser.OPEN_CURLY, 0); } - public TerminalNode CLOSE_CURLY() { return getToken(PMLParser.CLOSE_CURLY, 0); } - public List element() { - return getRuleContexts(ElementContext.class); - } - public ElementContext element(int i) { - return getRuleContext(ElementContext.class,i); - } - public List COMMA() { return getTokens(PMLParser.COMMA); } - public TerminalNode COMMA(int i) { - return getToken(PMLParser.COMMA, i); - } - public MapLitContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_mapLit; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterMapLit(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitMapLit(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitMapLit(this); - else return visitor.visitChildren(this); - } - } - - public final MapLitContext mapLit() throws RecognitionException { - MapLitContext _localctx = new MapLitContext(_ctx, getState()); - enterRule(_localctx, 118, RULE_mapLit); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(586); - match(OPEN_CURLY); - setState(595); - _errHandler.sync(this); - _la = _input.LA(1); - if (((((_la - 62)) & ~0x3f) == 0 && ((1L << (_la - 62)) & 2621615L) != 0)) { - { - setState(587); - element(); - setState(592); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(588); - match(COMMA); - setState(589); - element(); - } - } - setState(594); - _errHandler.sync(this); - _la = _input.LA(1); - } - } - } - - setState(597); - match(CLOSE_CURLY); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class ElementContext extends ParserRuleContext { - public ExpressionContext key; - public ExpressionContext value; - public TerminalNode COLON() { return getToken(PMLParser.COLON, 0); } - public List expression() { - return getRuleContexts(ExpressionContext.class); - } - public ExpressionContext expression(int i) { - return getRuleContext(ExpressionContext.class,i); - } - public ElementContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_element; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterElement(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitElement(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitElement(this); - else return visitor.visitChildren(this); - } - } - - public final ElementContext element() throws RecognitionException { - ElementContext _localctx = new ElementContext(_ctx, getState()); - enterRule(_localctx, 120, RULE_element); - try { - enterOuterAlt(_localctx, 1); - { - setState(599); - ((ElementContext)_localctx).key = expression(0); - setState(600); - match(COLON); - setState(601); - ((ElementContext)_localctx).value = expression(0); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class VariableReferenceContext extends ParserRuleContext { - public VariableReferenceContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_variableReference; } - - public VariableReferenceContext() { } - public void copyFrom(VariableReferenceContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class ReferenceByIndexContext extends VariableReferenceContext { - public VariableReferenceContext variableReference() { - return getRuleContext(VariableReferenceContext.class,0); - } - public IndexContext index() { - return getRuleContext(IndexContext.class,0); - } - public ReferenceByIndexContext(VariableReferenceContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterReferenceByIndex(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitReferenceByIndex(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitReferenceByIndex(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class ReferenceByIDContext extends VariableReferenceContext { - public TerminalNode ID() { return getToken(PMLParser.ID, 0); } - public ReferenceByIDContext(VariableReferenceContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterReferenceByID(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitReferenceByID(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitReferenceByID(this); - else return visitor.visitChildren(this); - } - } - - public final VariableReferenceContext variableReference() throws RecognitionException { - return variableReference(0); - } - - private VariableReferenceContext variableReference(int _p) throws RecognitionException { - ParserRuleContext _parentctx = _ctx; - int _parentState = getState(); - VariableReferenceContext _localctx = new VariableReferenceContext(_ctx, _parentState); - VariableReferenceContext _prevctx = _localctx; - int _startState = 122; - enterRecursionRule(_localctx, 122, RULE_variableReference, _p); - try { - int _alt; - enterOuterAlt(_localctx, 1); - { - { - _localctx = new ReferenceByIDContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - - setState(604); - match(ID); - } - _ctx.stop = _input.LT(-1); - setState(610); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,47,_ctx); - while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { - if ( _alt==1 ) { - if ( _parseListeners!=null ) triggerExitRuleEvent(); - _prevctx = _localctx; - { - { - _localctx = new ReferenceByIndexContext(new VariableReferenceContext(_parentctx, _parentState)); - pushNewRecursionContext(_localctx, _startState, RULE_variableReference); - setState(606); - if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(607); - index(); - } - } - } - setState(612); - _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,47,_ctx); - } - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - unrollRecursionContexts(_parentctx); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class IndexContext extends ParserRuleContext { - public IndexContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_index; } - - public IndexContext() { } - public void copyFrom(IndexContext ctx) { - super.copyFrom(ctx); - } - } - @SuppressWarnings("CheckReturnValue") - public static class DotIndexContext extends IndexContext { - public IdContext key; - public TerminalNode DOT() { return getToken(PMLParser.DOT, 0); } - public IdContext id() { - return getRuleContext(IdContext.class,0); - } - public DotIndexContext(IndexContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterDotIndex(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitDotIndex(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitDotIndex(this); - else return visitor.visitChildren(this); - } - } - @SuppressWarnings("CheckReturnValue") - public static class BracketIndexContext extends IndexContext { - public ExpressionContext key; - public TerminalNode OPEN_BRACKET() { return getToken(PMLParser.OPEN_BRACKET, 0); } - public TerminalNode CLOSE_BRACKET() { return getToken(PMLParser.CLOSE_BRACKET, 0); } - public ExpressionContext expression() { - return getRuleContext(ExpressionContext.class,0); - } - public BracketIndexContext(IndexContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterBracketIndex(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitBracketIndex(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitBracketIndex(this); - else return visitor.visitChildren(this); - } - } - - public final IndexContext index() throws RecognitionException { - IndexContext _localctx = new IndexContext(_ctx, getState()); - enterRule(_localctx, 124, RULE_index); - try { - setState(619); - _errHandler.sync(this); - switch (_input.LA(1)) { - case OPEN_BRACKET: - _localctx = new BracketIndexContext(_localctx); - enterOuterAlt(_localctx, 1); - { - setState(613); - match(OPEN_BRACKET); - setState(614); - ((BracketIndexContext)_localctx).key = expression(0); - setState(615); - match(CLOSE_BRACKET); - } - break; - case DOT: - _localctx = new DotIndexContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(617); - match(DOT); - setState(618); - ((DotIndexContext)_localctx).key = id(); - } - break; - default: - throw new NoViableAltException(this); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class IdContext extends ParserRuleContext { - public TerminalNode ID() { return getToken(PMLParser.ID, 0); } - public IdContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_id; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterId(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitId(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitId(this); - else return visitor.visitChildren(this); - } - } - - public final IdContext id() throws RecognitionException { - IdContext _localctx = new IdContext(_ctx, getState()); - enterRule(_localctx, 126, RULE_id); - try { - enterOuterAlt(_localctx, 1); - { - setState(621); - match(ID); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class FunctionInvokeContext extends ParserRuleContext { - public TerminalNode ID() { return getToken(PMLParser.ID, 0); } - public FunctionInvokeArgsContext functionInvokeArgs() { - return getRuleContext(FunctionInvokeArgsContext.class,0); - } - public FunctionInvokeContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_functionInvoke; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterFunctionInvoke(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitFunctionInvoke(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitFunctionInvoke(this); - else return visitor.visitChildren(this); - } - } - - public final FunctionInvokeContext functionInvoke() throws RecognitionException { - FunctionInvokeContext _localctx = new FunctionInvokeContext(_ctx, getState()); - enterRule(_localctx, 128, RULE_functionInvoke); - try { - enterOuterAlt(_localctx, 1); - { - setState(623); - match(ID); - setState(624); - functionInvokeArgs(); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - @SuppressWarnings("CheckReturnValue") - public static class FunctionInvokeArgsContext extends ParserRuleContext { - public TerminalNode OPEN_PAREN() { return getToken(PMLParser.OPEN_PAREN, 0); } - public TerminalNode CLOSE_PAREN() { return getToken(PMLParser.CLOSE_PAREN, 0); } - public ExpressionListContext expressionList() { - return getRuleContext(ExpressionListContext.class,0); - } - public FunctionInvokeArgsContext(ParserRuleContext parent, int invokingState) { - super(parent, invokingState); - } - @Override public int getRuleIndex() { return RULE_functionInvokeArgs; } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).enterFunctionInvokeArgs(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof PMLParserListener ) ((PMLParserListener)listener).exitFunctionInvokeArgs(this); - } - @Override - public T accept(ParseTreeVisitor visitor) { - if ( visitor instanceof PMLParserVisitor ) return ((PMLParserVisitor)visitor).visitFunctionInvokeArgs(this); - else return visitor.visitChildren(this); - } - } - - public final FunctionInvokeArgsContext functionInvokeArgs() throws RecognitionException { - FunctionInvokeArgsContext _localctx = new FunctionInvokeArgsContext(_ctx, getState()); - enterRule(_localctx, 130, RULE_functionInvokeArgs); - int _la; - try { - enterOuterAlt(_localctx, 1); - { - setState(626); - match(OPEN_PAREN); - setState(628); - _errHandler.sync(this); - _la = _input.LA(1); - if (((((_la - 62)) & ~0x3f) == 0 && ((1L << (_la - 62)) & 2621615L) != 0)) { - { - setState(627); - expressionList(); - } - } - - setState(630); - match(CLOSE_PAREN); - } - } - catch (RecognitionException re) { - _localctx.exception = re; - _errHandler.reportError(this, re); - _errHandler.recover(this, re); - } - finally { - exitRule(); - } - return _localctx; - } - - public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) { - switch (ruleIndex) { - case 9: - return subjectPatternExpression_sempred((SubjectPatternExpressionContext)_localctx, predIndex); - case 15: - return operandPatternExpression_sempred((OperandPatternExpressionContext)_localctx, predIndex); - case 52: - return expression_sempred((ExpressionContext)_localctx, predIndex); - case 61: - return variableReference_sempred((VariableReferenceContext)_localctx, predIndex); - } - return true; - } - private boolean subjectPatternExpression_sempred(SubjectPatternExpressionContext _localctx, int predIndex) { - switch (predIndex) { - case 0: - return precpred(_ctx, 1); - } - return true; - } - private boolean operandPatternExpression_sempred(OperandPatternExpressionContext _localctx, int predIndex) { - switch (predIndex) { - case 1: - return precpred(_ctx, 1); - } - return true; - } - private boolean expression_sempred(ExpressionContext _localctx, int predIndex) { - switch (predIndex) { - case 2: - return precpred(_ctx, 3); - case 3: - return precpred(_ctx, 2); - case 4: - return precpred(_ctx, 1); - } - return true; - } - private boolean variableReference_sempred(VariableReferenceContext _localctx, int predIndex) { - switch (predIndex) { - case 5: - return precpred(_ctx, 1); - } - return true; - } - - public static final String _serializedATN = - "\u0004\u0001V\u0279\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001\u0002"+ - "\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004\u0002"+ - "\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007\u0007\u0007\u0002"+ - "\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b\u0007\u000b\u0002"+ - "\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e\u0002\u000f\u0007\u000f"+ - "\u0002\u0010\u0007\u0010\u0002\u0011\u0007\u0011\u0002\u0012\u0007\u0012"+ - "\u0002\u0013\u0007\u0013\u0002\u0014\u0007\u0014\u0002\u0015\u0007\u0015"+ - "\u0002\u0016\u0007\u0016\u0002\u0017\u0007\u0017\u0002\u0018\u0007\u0018"+ - "\u0002\u0019\u0007\u0019\u0002\u001a\u0007\u001a\u0002\u001b\u0007\u001b"+ - "\u0002\u001c\u0007\u001c\u0002\u001d\u0007\u001d\u0002\u001e\u0007\u001e"+ - "\u0002\u001f\u0007\u001f\u0002 \u0007 \u0002!\u0007!\u0002\"\u0007\"\u0002"+ - "#\u0007#\u0002$\u0007$\u0002%\u0007%\u0002&\u0007&\u0002\'\u0007\'\u0002"+ - "(\u0007(\u0002)\u0007)\u0002*\u0007*\u0002+\u0007+\u0002,\u0007,\u0002"+ - "-\u0007-\u0002.\u0007.\u0002/\u0007/\u00020\u00070\u00021\u00071\u0002"+ - "2\u00072\u00023\u00073\u00024\u00074\u00025\u00075\u00026\u00076\u0002"+ - "7\u00077\u00028\u00078\u00029\u00079\u0002:\u0007:\u0002;\u0007;\u0002"+ - "<\u0007<\u0002=\u0007=\u0002>\u0007>\u0002?\u0007?\u0002@\u0007@\u0002"+ - "A\u0007A\u0001\u0000\u0005\u0000\u0086\b\u0000\n\u0000\f\u0000\u0089\t"+ - "\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0001\u0001"+ - "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001"+ - "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001"+ - "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0003"+ - "\u0001\u00a2\b\u0001\u0001\u0002\u0001\u0002\u0005\u0002\u00a6\b\u0002"+ - "\n\u0002\f\u0002\u00a9\t\u0002\u0001\u0002\u0001\u0002\u0001\u0003\u0001"+ - "\u0003\u0001\u0003\u0001\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001"+ - "\u0004\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0006\u0001"+ - "\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0005\u0006\u00be\b\u0006\n"+ - "\u0006\f\u0006\u00c1\t\u0006\u0001\u0006\u0001\u0006\u0001\u0007\u0001"+ - "\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001"+ - "\u0007\u0001\u0007\u0003\u0007\u00ce\b\u0007\u0001\u0007\u0001\u0007\u0001"+ - "\b\u0001\b\u0001\b\u0001\b\u0003\b\u00d6\b\b\u0001\t\u0001\t\u0001\t\u0001"+ - "\t\u0001\t\u0001\t\u0001\t\u0001\t\u0003\t\u00e0\b\t\u0001\t\u0001\t\u0001"+ - "\t\u0005\t\u00e5\b\t\n\t\f\t\u00e8\t\t\u0001\n\u0001\n\u0001\n\u0001\n"+ - "\u0001\n\u0003\n\u00ef\b\n\u0001\u000b\u0001\u000b\u0001\u000b\u0003\u000b"+ - "\u00f4\b\u000b\u0001\f\u0001\f\u0001\f\u0001\f\u0005\f\u00fa\b\f\n\f\f"+ - "\f\u00fd\t\f\u0003\f\u00ff\b\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r"+ - "\u0001\r\u0003\r\u0107\b\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e"+ - "\u0005\u000e\u010d\b\u000e\n\u000e\f\u000e\u0110\t\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001"+ - "\u000f\u0001\u000f\u0001\u000f\u0003\u000f\u011c\b\u000f\u0001\u000f\u0001"+ - "\u000f\u0001\u000f\u0005\u000f\u0121\b\u000f\n\u000f\f\u000f\u0124\t\u000f"+ - "\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0003\u0010\u012a\b\u0010"+ - "\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011"+ - "\u0001\u0012\u0001\u0012\u0005\u0012\u0134\b\u0012\n\u0012\f\u0012\u0137"+ - "\t\u0012\u0001\u0012\u0001\u0012\u0001\u0013\u0001\u0013\u0001\u0013\u0003"+ - "\u0013\u013e\b\u0013\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0001\u0014\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ - "\u0015\u0001\u0015\u0001\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ - "\u0016\u0001\u0016\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001"+ - "\u0017\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001"+ - "\u0018\u0001\u0018\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001"+ - "\u0019\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001b\u0001\u001b\u0001"+ - "\u001b\u0001\u001b\u0001\u001c\u0001\u001c\u0001\u001c\u0003\u001c\u0173"+ - "\b\u001c\u0001\u001d\u0001\u001d\u0001\u001e\u0001\u001e\u0001\u001e\u0001"+ - "\u001e\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001f\u0001\u001f\u0001"+ - "\u001f\u0001\u001f\u0005\u001f\u0182\b\u001f\n\u001f\f\u001f\u0185\t\u001f"+ - "\u0001\u001f\u0003\u001f\u0188\b\u001f\u0001\u001f\u0001\u001f\u0001\u001f"+ - "\u0003\u001f\u018d\b\u001f\u0001 \u0001 \u0001 \u0001 \u0001!\u0001!\u0003"+ - "!\u0195\b!\u0001!\u0001!\u0001!\u0001\"\u0001\"\u0003\"\u019c\b\"\u0001"+ - "\"\u0001\"\u0001#\u0001#\u0001#\u0001#\u0001#\u0001#\u0003#\u01a6\b#\u0001"+ - "$\u0001$\u0001$\u0005$\u01ab\b$\n$\f$\u01ae\t$\u0003$\u01b0\b$\u0001%"+ - "\u0003%\u01b3\b%\u0001%\u0001%\u0001%\u0001&\u0001&\u0003&\u01ba\b&\u0001"+ - "\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001(\u0001(\u0005(\u01c3\b(\n(\f"+ - "(\u01c6\t(\u0001(\u0001(\u0001)\u0001)\u0001)\u0001)\u0005)\u01ce\b)\n"+ - ")\f)\u01d1\t)\u0003)\u01d3\b)\u0001)\u0001)\u0001*\u0001*\u0001+\u0001"+ - "+\u0001+\u0001+\u0003+\u01dd\b+\u0001+\u0001+\u0001+\u0001+\u0001,\u0001"+ - ",\u0001-\u0001-\u0001.\u0001.\u0001.\u0001.\u0005.\u01eb\b.\n.\f.\u01ee"+ - "\t.\u0001.\u0003.\u01f1\b.\u0001/\u0001/\u0001/\u0001/\u0001/\u00010\u0001"+ - "0\u00010\u00011\u00011\u00011\u00011\u00011\u00031\u0200\b1\u00012\u0001"+ - "2\u00012\u00012\u00012\u00012\u00013\u00013\u00013\u00013\u00014\u0001"+ - "4\u00014\u00014\u00014\u00014\u00014\u00014\u00014\u00014\u00034\u0216"+ - "\b4\u00014\u00014\u00014\u00014\u00014\u00014\u00014\u00014\u00014\u0005"+ - "4\u0221\b4\n4\f4\u0224\t4\u00015\u00015\u00015\u00055\u0229\b5\n5\f5\u022c"+ - "\t5\u00016\u00016\u00016\u00016\u00036\u0232\b6\u00017\u00017\u00018\u0001"+ - "8\u00019\u00019\u00039\u023a\b9\u00019\u00019\u0001:\u0001:\u0001:\u0001"+ - ":\u0005:\u0242\b:\n:\f:\u0245\t:\u0003:\u0247\b:\u0001:\u0001:\u0001;"+ - "\u0001;\u0001;\u0001;\u0005;\u024f\b;\n;\f;\u0252\t;\u0003;\u0254\b;\u0001"+ - ";\u0001;\u0001<\u0001<\u0001<\u0001<\u0001=\u0001=\u0001=\u0001=\u0001"+ - "=\u0005=\u0261\b=\n=\f=\u0264\t=\u0001>\u0001>\u0001>\u0001>\u0001>\u0001"+ - ">\u0003>\u026c\b>\u0001?\u0001?\u0001@\u0001@\u0001@\u0001A\u0001A\u0003"+ - "A\u0275\bA\u0001A\u0001A\u0001A\u0000\u0004\u0012\u001ehzB\u0000\u0002"+ - "\u0004\u0006\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018\u001a\u001c\u001e"+ - " \"$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|~\u0080\u0082\u0000\b"+ - "\u0002\u0000&\'*+\u0001\u0000MN\u0003\u0000\u0014\u0014\'\'++\u0001\u0000"+ - "\u0012\u0013\u0002\u0000%\'*+\u0002\u0000\u0001\u0001\u0004\u0004\u0001"+ - "\u0000OP\u0001\u0000>?\u028a\u0000\u0087\u0001\u0000\u0000\u0000\u0002"+ - "\u00a1\u0001\u0000\u0000\u0000\u0004\u00a3\u0001\u0000\u0000\u0000\u0006"+ - "\u00ac\u0001\u0000\u0000\u0000\b\u00b0\u0001\u0000\u0000\u0000\n\u00b6"+ - "\u0001\u0000\u0000\u0000\f\u00b8\u0001\u0000\u0000\u0000\u000e\u00c4\u0001"+ - "\u0000\u0000\u0000\u0010\u00d5\u0001\u0000\u0000\u0000\u0012\u00df\u0001"+ - "\u0000\u0000\u0000\u0014\u00ee\u0001\u0000\u0000\u0000\u0016\u00f3\u0001"+ - "\u0000\u0000\u0000\u0018\u00f5\u0001\u0000\u0000\u0000\u001a\u0102\u0001"+ - "\u0000\u0000\u0000\u001c\u0108\u0001\u0000\u0000\u0000\u001e\u011b\u0001"+ - "\u0000\u0000\u0000 \u0129\u0001\u0000\u0000\u0000\"\u012b\u0001\u0000"+ - "\u0000\u0000$\u0131\u0001\u0000\u0000\u0000&\u013d\u0001\u0000\u0000\u0000"+ - "(\u013f\u0001\u0000\u0000\u0000*\u014c\u0001\u0000\u0000\u0000,\u0152"+ - "\u0001\u0000\u0000\u0000.\u0157\u0001\u0000\u0000\u00000\u015c\u0001\u0000"+ - "\u0000\u00002\u0163\u0001\u0000\u0000\u00004\u0168\u0001\u0000\u0000\u0000"+ - "6\u016b\u0001\u0000\u0000\u00008\u0172\u0001\u0000\u0000\u0000:\u0174"+ - "\u0001\u0000\u0000\u0000<\u0176\u0001\u0000\u0000\u0000>\u018c\u0001\u0000"+ - "\u0000\u0000@\u018e\u0001\u0000\u0000\u0000B\u0192\u0001\u0000\u0000\u0000"+ - "D\u0199\u0001\u0000\u0000\u0000F\u019f\u0001\u0000\u0000\u0000H\u01af"+ - "\u0001\u0000\u0000\u0000J\u01b2\u0001\u0000\u0000\u0000L\u01b7\u0001\u0000"+ - "\u0000\u0000N\u01bb\u0001\u0000\u0000\u0000P\u01c0\u0001\u0000\u0000\u0000"+ - "R\u01c9\u0001\u0000\u0000\u0000T\u01d6\u0001\u0000\u0000\u0000V\u01d8"+ - "\u0001\u0000\u0000\u0000X\u01e2\u0001\u0000\u0000\u0000Z\u01e4\u0001\u0000"+ - "\u0000\u0000\\\u01e6\u0001\u0000\u0000\u0000^\u01f2\u0001\u0000\u0000"+ - "\u0000`\u01f7\u0001\u0000\u0000\u0000b\u01ff\u0001\u0000\u0000\u0000d"+ - "\u0201\u0001\u0000\u0000\u0000f\u0207\u0001\u0000\u0000\u0000h\u0215\u0001"+ - "\u0000\u0000\u0000j\u0225\u0001\u0000\u0000\u0000l\u0231\u0001\u0000\u0000"+ - "\u0000n\u0233\u0001\u0000\u0000\u0000p\u0235\u0001\u0000\u0000\u0000r"+ - "\u0237\u0001\u0000\u0000\u0000t\u023d\u0001\u0000\u0000\u0000v\u024a\u0001"+ - "\u0000\u0000\u0000x\u0257\u0001\u0000\u0000\u0000z\u025b\u0001\u0000\u0000"+ - "\u0000|\u026b\u0001\u0000\u0000\u0000~\u026d\u0001\u0000\u0000\u0000\u0080"+ - "\u026f\u0001\u0000\u0000\u0000\u0082\u0272\u0001\u0000\u0000\u0000\u0084"+ - "\u0086\u0003\u0002\u0001\u0000\u0085\u0084\u0001\u0000\u0000\u0000\u0086"+ - "\u0089\u0001\u0000\u0000\u0000\u0087\u0085\u0001\u0000\u0000\u0000\u0087"+ - "\u0088\u0001\u0000\u0000\u0000\u0088\u008a\u0001\u0000\u0000\u0000\u0089"+ - "\u0087\u0001\u0000\u0000\u0000\u008a\u008b\u0005\u0000\u0000\u0001\u008b"+ - "\u0001\u0001\u0000\u0000\u0000\u008c\u00a2\u0003B!\u0000\u008d\u00a2\u0003"+ - ">\u001f\u0000\u008e\u00a2\u0003V+\u0000\u008f\u00a2\u0003L&\u0000\u0090"+ - "\u00a2\u0003X,\u0000\u0091\u00a2\u0003Z-\u0000\u0092\u00a2\u0003T*\u0000"+ - "\u0093\u00a2\u0003\\.\u0000\u0094\u00a2\u0003\u0006\u0003\u0000\u0095"+ - "\u00a2\u0003\b\u0004\u0000\u0096\u00a2\u0003\f\u0006\u0000\u0097\u00a2"+ - "\u0003(\u0014\u0000\u0098\u00a2\u0003*\u0015\u0000\u0099\u00a2\u0003,"+ - "\u0016\u0000\u009a\u00a2\u0003.\u0017\u0000\u009b\u00a2\u00030\u0018\u0000"+ - "\u009c\u00a2\u00032\u0019\u0000\u009d\u00a2\u00034\u001a\u0000\u009e\u00a2"+ - "\u00036\u001b\u0000\u009f\u00a2\u0003<\u001e\u0000\u00a0\u00a2\u0003D"+ - "\"\u0000\u00a1\u008c\u0001\u0000\u0000\u0000\u00a1\u008d\u0001\u0000\u0000"+ - "\u0000\u00a1\u008e\u0001\u0000\u0000\u0000\u00a1\u008f\u0001\u0000\u0000"+ - "\u0000\u00a1\u0090\u0001\u0000\u0000\u0000\u00a1\u0091\u0001\u0000\u0000"+ - "\u0000\u00a1\u0092\u0001\u0000\u0000\u0000\u00a1\u0093\u0001\u0000\u0000"+ - "\u0000\u00a1\u0094\u0001\u0000\u0000\u0000\u00a1\u0095\u0001\u0000\u0000"+ - "\u0000\u00a1\u0096\u0001\u0000\u0000\u0000\u00a1\u0097\u0001\u0000\u0000"+ - "\u0000\u00a1\u0098\u0001\u0000\u0000\u0000\u00a1\u0099\u0001\u0000\u0000"+ - "\u0000\u00a1\u009a\u0001\u0000\u0000\u0000\u00a1\u009b\u0001\u0000\u0000"+ - "\u0000\u00a1\u009c\u0001\u0000\u0000\u0000\u00a1\u009d\u0001\u0000\u0000"+ - "\u0000\u00a1\u009e\u0001\u0000\u0000\u0000\u00a1\u009f\u0001\u0000\u0000"+ - "\u0000\u00a1\u00a0\u0001\u0000\u0000\u0000\u00a2\u0003\u0001\u0000\u0000"+ - "\u0000\u00a3\u00a7\u0005C\u0000\u0000\u00a4\u00a6\u0003\u0002\u0001\u0000"+ - "\u00a5\u00a4\u0001\u0000\u0000\u0000\u00a6\u00a9\u0001\u0000\u0000\u0000"+ - "\u00a7\u00a5\u0001\u0000\u0000\u0000\u00a7\u00a8\u0001\u0000\u0000\u0000"+ - "\u00a8\u00aa\u0001\u0000\u0000\u0000\u00a9\u00a7\u0001\u0000\u0000\u0000"+ - "\u00aa\u00ab\u0005D\u0000\u0000\u00ab\u0005\u0001\u0000\u0000\u0000\u00ac"+ - "\u00ad\u0005\u0005\u0000\u0000\u00ad\u00ae\u0005%\u0000\u0000\u00ae\u00af"+ - "\u0003h4\u0000\u00af\u0007\u0001\u0000\u0000\u0000\u00b0\u00b1\u0005\u0005"+ - "\u0000\u0000\u00b1\u00b2\u0003\n\u0005\u0000\u00b2\u00b3\u0003h4\u0000"+ - "\u00b3\u00b4\u0005\u000e\u0000\u0000\u00b4\u00b5\u0003h4\u0000\u00b5\t"+ - "\u0001\u0000\u0000\u0000\u00b6\u00b7\u0007\u0000\u0000\u0000\u00b7\u000b"+ - "\u0001\u0000\u0000\u0000\u00b8\u00b9\u0005\u0005\u0000\u0000\u00b9\u00ba"+ - "\u0005#\u0000\u0000\u00ba\u00bb\u0003h4\u0000\u00bb\u00bf\u0005C\u0000"+ - "\u0000\u00bc\u00be\u0003\u000e\u0007\u0000\u00bd\u00bc\u0001\u0000\u0000"+ - "\u0000\u00be\u00c1\u0001\u0000\u0000\u0000\u00bf\u00bd\u0001\u0000\u0000"+ - "\u0000\u00bf\u00c0\u0001\u0000\u0000\u0000\u00c0\u00c2\u0001\u0000\u0000"+ - "\u0000\u00c1\u00bf\u0001\u0000\u0000\u0000\u00c2\u00c3\u0005D\u0000\u0000"+ - "\u00c3\r\u0001\u0000\u0000\u0000\u00c4\u00c5\u0005\u0005\u0000\u0000\u00c5"+ - "\u00c6\u0005\t\u0000\u0000\u00c6\u00c7\u0003h4\u0000\u00c7\u00c8\u0005"+ - "\n\u0000\u0000\u00c8\u00c9\u0003\u0010\b\u0000\u00c9\u00ca\u0005\u000b"+ - "\u0000\u0000\u00ca\u00cd\u0003\u0016\u000b\u0000\u00cb\u00cc\u0005\r\u0000"+ - "\u0000\u00cc\u00ce\u0003\u0018\f\u0000\u00cd\u00cb\u0001\u0000\u0000\u0000"+ - "\u00cd\u00ce\u0001\u0000\u0000\u0000\u00ce\u00cf\u0001\u0000\u0000\u0000"+ - "\u00cf\u00d0\u0003\"\u0011\u0000\u00d0\u000f\u0001\u0000\u0000\u0000\u00d1"+ - "\u00d2\u0005\u0010\u0000\u0000\u00d2\u00d6\u0005+\u0000\u0000\u00d3\u00d4"+ - "\u0005+\u0000\u0000\u00d4\u00d6\u0003\u0012\t\u0000\u00d5\u00d1\u0001"+ - "\u0000\u0000\u0000\u00d5\u00d3\u0001\u0000\u0000\u0000\u00d6\u0011\u0001"+ - "\u0000\u0000\u0000\u00d7\u00d8\u0006\t\uffff\uffff\u0000\u00d8\u00e0\u0003"+ - "\u0014\n\u0000\u00d9\u00da\u0005Q\u0000\u0000\u00da\u00e0\u0003\u0012"+ - "\t\u0003\u00db\u00dc\u0005A\u0000\u0000\u00dc\u00dd\u0003\u0012\t\u0000"+ - "\u00dd\u00de\u0005B\u0000\u0000\u00de\u00e0\u0001\u0000\u0000\u0000\u00df"+ - "\u00d7\u0001\u0000\u0000\u0000\u00df\u00d9\u0001\u0000\u0000\u0000\u00df"+ - "\u00db\u0001\u0000\u0000\u0000\u00e0\u00e6\u0001\u0000\u0000\u0000\u00e1"+ - "\u00e2\n\u0001\u0000\u0000\u00e2\u00e3\u0007\u0001\u0000\u0000\u00e3\u00e5"+ - "\u0003\u0012\t\u0002\u00e4\u00e1\u0001\u0000\u0000\u0000\u00e5\u00e8\u0001"+ - "\u0000\u0000\u0000\u00e6\u00e4\u0001\u0000\u0000\u0000\u00e6\u00e7\u0001"+ - "\u0000\u0000\u0000\u00e7\u0013\u0001\u0000\u0000\u0000\u00e8\u00e6\u0001"+ - "\u0000\u0000\u0000\u00e9\u00ea\u0005\u000e\u0000\u0000\u00ea\u00ef\u0003"+ - "n7\u0000\u00eb\u00ef\u0003n7\u0000\u00ec\u00ed\u0005\u0014\u0000\u0000"+ - "\u00ed\u00ef\u0003n7\u0000\u00ee\u00e9\u0001\u0000\u0000\u0000\u00ee\u00eb"+ - "\u0001\u0000\u0000\u0000\u00ee\u00ec\u0001\u0000\u0000\u0000\u00ef\u0015"+ - "\u0001\u0000\u0000\u0000\u00f0\u00f1\u0005\u0010\u0000\u0000\u00f1\u00f4"+ - "\u0005\u0001\u0000\u0000\u00f2\u00f4\u0003n7\u0000\u00f3\u00f0\u0001\u0000"+ - "\u0000\u0000\u00f3\u00f2\u0001\u0000\u0000\u0000\u00f4\u0017\u0001\u0000"+ - "\u0000\u0000\u00f5\u00fe\u0005C\u0000\u0000\u00f6\u00fb\u0003\u001a\r"+ - "\u0000\u00f7\u00f8\u0005H\u0000\u0000\u00f8\u00fa\u0003\u001a\r\u0000"+ - "\u00f9\u00f7\u0001\u0000\u0000\u0000\u00fa\u00fd\u0001\u0000\u0000\u0000"+ - "\u00fb\u00f9\u0001\u0000\u0000\u0000\u00fb\u00fc\u0001\u0000\u0000\u0000"+ - "\u00fc\u00ff\u0001\u0000\u0000\u0000\u00fd\u00fb\u0001\u0000\u0000\u0000"+ - "\u00fe\u00f6\u0001\u0000\u0000\u0000\u00fe\u00ff\u0001\u0000\u0000\u0000"+ - "\u00ff\u0100\u0001\u0000\u0000\u0000\u0100\u0101\u0005D\u0000\u0000\u0101"+ - "\u0019\u0001\u0000\u0000\u0000\u0102\u0103\u0005@\u0000\u0000\u0103\u0106"+ - "\u0005J\u0000\u0000\u0104\u0107\u0003\u001e\u000f\u0000\u0105\u0107\u0003"+ - "\u001c\u000e\u0000\u0106\u0104\u0001\u0000\u0000\u0000\u0106\u0105\u0001"+ - "\u0000\u0000\u0000\u0107\u001b\u0001\u0000\u0000\u0000\u0108\u0109\u0005"+ - "E\u0000\u0000\u0109\u010e\u0003\u001e\u000f\u0000\u010a\u010b\u0005H\u0000"+ - "\u0000\u010b\u010d\u0003\u001e\u000f\u0000\u010c\u010a\u0001\u0000\u0000"+ - "\u0000\u010d\u0110\u0001\u0000\u0000\u0000\u010e\u010c\u0001\u0000\u0000"+ - "\u0000\u010e\u010f\u0001\u0000\u0000\u0000\u010f\u0111\u0001\u0000\u0000"+ - "\u0000\u0110\u010e\u0001\u0000\u0000\u0000\u0111\u0112\u0005F\u0000\u0000"+ - "\u0112\u001d\u0001\u0000\u0000\u0000\u0113\u0114\u0006\u000f\uffff\uffff"+ - "\u0000\u0114\u011c\u0003 \u0010\u0000\u0115\u0116\u0005Q\u0000\u0000\u0116"+ - "\u011c\u0003\u001e\u000f\u0003\u0117\u0118\u0005A\u0000\u0000\u0118\u0119"+ - "\u0003\u001e\u000f\u0000\u0119\u011a\u0005B\u0000\u0000\u011a\u011c\u0001"+ - "\u0000\u0000\u0000\u011b\u0113\u0001\u0000\u0000\u0000\u011b\u0115\u0001"+ - "\u0000\u0000\u0000\u011b\u0117\u0001\u0000\u0000\u0000\u011c\u0122\u0001"+ - "\u0000\u0000\u0000\u011d\u011e\n\u0001\u0000\u0000\u011e\u011f\u0007\u0001"+ - "\u0000\u0000\u011f\u0121\u0003\u001e\u000f\u0002\u0120\u011d\u0001\u0000"+ - "\u0000\u0000\u0121\u0124\u0001\u0000\u0000\u0000\u0122\u0120\u0001\u0000"+ - "\u0000\u0000\u0122\u0123\u0001\u0000\u0000\u0000\u0123\u001f\u0001\u0000"+ - "\u0000\u0000\u0124\u0122\u0001\u0000\u0000\u0000\u0125\u012a\u0005\u0010"+ - "\u0000\u0000\u0126\u0127\u0005\u000e\u0000\u0000\u0127\u012a\u0003n7\u0000"+ - "\u0128\u012a\u0003n7\u0000\u0129\u0125\u0001\u0000\u0000\u0000\u0129\u0126"+ - "\u0001\u0000\u0000\u0000\u0129\u0128\u0001\u0000\u0000\u0000\u012a!\u0001"+ - "\u0000\u0000\u0000\u012b\u012c\u0005\u000f\u0000\u0000\u012c\u012d\u0005"+ - "A\u0000\u0000\u012d\u012e\u0005@\u0000\u0000\u012e\u012f\u0005B\u0000"+ - "\u0000\u012f\u0130\u0003$\u0012\u0000\u0130#\u0001\u0000\u0000\u0000\u0131"+ - "\u0135\u0005C\u0000\u0000\u0132\u0134\u0003&\u0013\u0000\u0133\u0132\u0001"+ - "\u0000\u0000\u0000\u0134\u0137\u0001\u0000\u0000\u0000\u0135\u0133\u0001"+ - "\u0000\u0000\u0000\u0135\u0136\u0001\u0000\u0000\u0000\u0136\u0138\u0001"+ - "\u0000\u0000\u0000\u0137\u0135\u0001\u0000\u0000\u0000\u0138\u0139\u0005"+ - "D\u0000\u0000\u0139%\u0001\u0000\u0000\u0000\u013a\u013e\u0003\u0002\u0001"+ - "\u0000\u013b\u013e\u0003\u000e\u0007\u0000\u013c\u013e\u0003<\u001e\u0000"+ - "\u013d\u013a\u0001\u0000\u0000\u0000\u013d\u013b\u0001\u0000\u0000\u0000"+ - "\u013d\u013c\u0001\u0000\u0000\u0000\u013e\'\u0001\u0000\u0000\u0000\u013f"+ - "\u0140\u0005\u0005\u0000\u0000\u0140\u0141\u0005\"\u0000\u0000\u0141\u0142"+ - "\u0003h4\u0000\u0142\u0143\u0005!\u0000\u0000\u0143\u0144\u0007\u0002"+ - "\u0000\u0000\u0144\u0145\u0003h4\u0000\u0145\u0146\u0005$\u0000\u0000"+ - "\u0146\u0147\u0003h4\u0000\u0147\u0148\u0005\r\u0000\u0000\u0148\u0149"+ - "\u0007\u0003\u0000\u0000\u0149\u014a\u0005\u001b\u0000\u0000\u014a\u014b"+ - "\u0003h4\u0000\u014b)\u0001\u0000\u0000\u0000\u014c\u014d\u0005\u0019"+ - "\u0000\u0000\u014d\u014e\u0005\u001b\u0000\u0000\u014e\u014f\u0003h4\u0000"+ - "\u014f\u0150\u0005\u001c\u0000\u0000\u0150\u0151\u0003h4\u0000\u0151+"+ - "\u0001\u0000\u0000\u0000\u0152\u0153\u0005\u0016\u0000\u0000\u0153\u0154"+ - "\u0003h4\u0000\u0154\u0155\u0005\u001c\u0000\u0000\u0155\u0156\u0003h"+ - "4\u0000\u0156-\u0001\u0000\u0000\u0000\u0157\u0158\u0005\u0017\u0000\u0000"+ - "\u0158\u0159\u0003h4\u0000\u0159\u015a\u0005\u0018\u0000\u0000\u015a\u015b"+ - "\u0003h4\u0000\u015b/\u0001\u0000\u0000\u0000\u015c\u015d\u0005\u001d"+ - "\u0000\u0000\u015d\u015e\u0003h4\u0000\u015e\u015f\u0005\u001e\u0000\u0000"+ - "\u015f\u0160\u0003h4\u0000\u0160\u0161\u0005\u001f\u0000\u0000\u0161\u0162"+ - "\u0003h4\u0000\u01621\u0001\u0000\u0000\u0000\u0163\u0164\u0005 \u0000"+ - "\u0000\u0164\u0165\u0003h4\u0000\u0165\u0166\u0005\u001e\u0000\u0000\u0166"+ - "\u0167\u0003h4\u0000\u01673\u0001\u0000\u0000\u0000\u0168\u0169\u0005"+ - "\u0015\u0000\u0000\u0169\u016a\u0003h4\u0000\u016a5\u0001\u0000\u0000"+ - "\u0000\u016b\u016c\u0005\u0006\u0000\u0000\u016c\u016d\u00038\u001c\u0000"+ - "\u016d\u016e\u0003h4\u0000\u016e7\u0001\u0000\u0000\u0000\u016f\u0173"+ - "\u0003:\u001d\u0000\u0170\u0173\u0005#\u0000\u0000\u0171\u0173\u0005\""+ - "\u0000\u0000\u0172\u016f\u0001\u0000\u0000\u0000\u0172\u0170\u0001\u0000"+ - "\u0000\u0000\u0172\u0171\u0001\u0000\u0000\u0000\u01739\u0001\u0000\u0000"+ - "\u0000\u0174\u0175\u0007\u0004\u0000\u0000\u0175;\u0001\u0000\u0000\u0000"+ - "\u0176\u0177\u0005\u0006\u0000\u0000\u0177\u0178\u0005\t\u0000\u0000\u0178"+ - "\u0179\u0003h4\u0000\u0179\u017a\u0005\u0018\u0000\u0000\u017a\u017b\u0005"+ - "#\u0000\u0000\u017b\u017c\u0003h4\u0000\u017c=\u0001\u0000\u0000\u0000"+ - "\u017d\u0187\u00058\u0000\u0000\u017e\u0188\u0003@ \u0000\u017f\u0183"+ - "\u0005A\u0000\u0000\u0180\u0182\u0003@ \u0000\u0181\u0180\u0001\u0000"+ - "\u0000\u0000\u0182\u0185\u0001\u0000\u0000\u0000\u0183\u0181\u0001\u0000"+ - "\u0000\u0000\u0183\u0184\u0001\u0000\u0000\u0000\u0184\u0186\u0001\u0000"+ - "\u0000\u0000\u0185\u0183\u0001\u0000\u0000\u0000\u0186\u0188\u0005B\u0000"+ - "\u0000\u0187\u017e\u0001\u0000\u0000\u0000\u0187\u017f\u0001\u0000\u0000"+ - "\u0000\u0188\u018d\u0001\u0000\u0000\u0000\u0189\u018a\u0005@\u0000\u0000"+ - "\u018a\u018b\u0005L\u0000\u0000\u018b\u018d\u0003h4\u0000\u018c\u017d"+ - "\u0001\u0000\u0000\u0000\u018c\u0189\u0001\u0000\u0000\u0000\u018d?\u0001"+ - "\u0000\u0000\u0000\u018e\u018f\u0005@\u0000\u0000\u018f\u0190\u0005G\u0000"+ - "\u0000\u0190\u0191\u0003h4\u0000\u0191A\u0001\u0000\u0000\u0000\u0192"+ - "\u0194\u0005@\u0000\u0000\u0193\u0195\u0005R\u0000\u0000\u0194\u0193\u0001"+ - "\u0000\u0000\u0000\u0194\u0195\u0001\u0000\u0000\u0000\u0195\u0196\u0001"+ - "\u0000\u0000\u0000\u0196\u0197\u0005G\u0000\u0000\u0197\u0198\u0003h4"+ - "\u0000\u0198C\u0001\u0000\u0000\u0000\u0199\u019b\u0003F#\u0000\u019a"+ - "\u019c\u0003P(\u0000\u019b\u019a\u0001\u0000\u0000\u0000\u019b\u019c\u0001"+ - "\u0000\u0000\u0000\u019c\u019d\u0001\u0000\u0000\u0000\u019d\u019e\u0003"+ - "\u0004\u0002\u0000\u019eE\u0001\u0000\u0000\u0000\u019f\u01a0\u0007\u0005"+ - "\u0000\u0000\u01a0\u01a1\u0005@\u0000\u0000\u01a1\u01a2\u0005A\u0000\u0000"+ - "\u01a2\u01a3\u0003H$\u0000\u01a3\u01a5\u0005B\u0000\u0000\u01a4\u01a6"+ - "\u0003b1\u0000\u01a5\u01a4\u0001\u0000\u0000\u0000\u01a5\u01a6\u0001\u0000"+ - "\u0000\u0000\u01a6G\u0001\u0000\u0000\u0000\u01a7\u01ac\u0003J%\u0000"+ - "\u01a8\u01a9\u0005H\u0000\u0000\u01a9\u01ab\u0003J%\u0000\u01aa\u01a8"+ - "\u0001\u0000\u0000\u0000\u01ab\u01ae\u0001\u0000\u0000\u0000\u01ac\u01aa"+ - "\u0001\u0000\u0000\u0000\u01ac\u01ad\u0001\u0000\u0000\u0000\u01ad\u01b0"+ - "\u0001\u0000\u0000\u0000\u01ae\u01ac\u0001\u0000\u0000\u0000\u01af\u01a7"+ - "\u0001\u0000\u0000\u0000\u01af\u01b0\u0001\u0000\u0000\u0000\u01b0I\u0001"+ - "\u0000\u0000\u0000\u01b1\u01b3\u0005\u0002\u0000\u0000\u01b2\u01b1\u0001"+ - "\u0000\u0000\u0000\u01b2\u01b3\u0001\u0000\u0000\u0000\u01b3\u01b4\u0001"+ - "\u0000\u0000\u0000\u01b4\u01b5\u0003b1\u0000\u01b5\u01b6\u0005@\u0000"+ - "\u0000\u01b6K\u0001\u0000\u0000\u0000\u01b7\u01b9\u00057\u0000\u0000\u01b8"+ - "\u01ba\u0003h4\u0000\u01b9\u01b8\u0001\u0000\u0000\u0000\u01b9\u01ba\u0001"+ - "\u0000\u0000\u0000\u01baM\u0001\u0000\u0000\u0000\u01bb\u01bc\u0005\u0003"+ - "\u0000\u0000\u01bc\u01bd\u0003h4\u0000\u01bd\u01be\u0005\r\u0000\u0000"+ - "\u01be\u01bf\u0003h4\u0000\u01bfO\u0001\u0000\u0000\u0000\u01c0\u01c4"+ - "\u0005C\u0000\u0000\u01c1\u01c3\u0003N\'\u0000\u01c2\u01c1\u0001\u0000"+ - "\u0000\u0000\u01c3\u01c6\u0001\u0000\u0000\u0000\u01c4\u01c2\u0001\u0000"+ - "\u0000\u0000\u01c4\u01c5\u0001\u0000\u0000\u0000\u01c5\u01c7\u0001\u0000"+ - "\u0000\u0000\u01c6\u01c4\u0001\u0000\u0000\u0000\u01c7\u01c8\u0005D\u0000"+ - "\u0000\u01c8Q\u0001\u0000\u0000\u0000\u01c9\u01d2\u0005E\u0000\u0000\u01ca"+ - "\u01cf\u0005@\u0000\u0000\u01cb\u01cc\u0005H\u0000\u0000\u01cc\u01ce\u0005"+ - "@\u0000\u0000\u01cd\u01cb\u0001\u0000\u0000\u0000\u01ce\u01d1\u0001\u0000"+ - "\u0000\u0000\u01cf\u01cd\u0001\u0000\u0000\u0000\u01cf\u01d0\u0001\u0000"+ - "\u0000\u0000\u01d0\u01d3\u0001\u0000\u0000\u0000\u01d1\u01cf\u0001\u0000"+ - "\u0000\u0000\u01d2\u01ca\u0001\u0000\u0000\u0000\u01d2\u01d3\u0001\u0000"+ - "\u0000\u0000\u01d3\u01d4\u0001\u0000\u0000\u0000\u01d4\u01d5\u0005F\u0000"+ - "\u0000\u01d5S\u0001\u0000\u0000\u0000\u01d6\u01d7\u0003\u0080@\u0000\u01d7"+ - "U\u0001\u0000\u0000\u0000\u01d8\u01d9\u00056\u0000\u0000\u01d9\u01dc\u0005"+ - "@\u0000\u0000\u01da\u01db\u0005H\u0000\u0000\u01db\u01dd\u0005@\u0000"+ - "\u0000\u01dc\u01da\u0001\u0000\u0000\u0000\u01dc\u01dd\u0001\u0000\u0000"+ - "\u0000\u01dd\u01de\u0001\u0000\u0000\u0000\u01de\u01df\u0005\u000e\u0000"+ - "\u0000\u01df\u01e0\u0003h4\u0000\u01e0\u01e1\u0003\u0004\u0002\u0000\u01e1"+ - "W\u0001\u0000\u0000\u0000\u01e2\u01e3\u0005.\u0000\u0000\u01e3Y\u0001"+ - "\u0000\u0000\u0000\u01e4\u01e5\u00055\u0000\u0000\u01e5[\u0001\u0000\u0000"+ - "\u0000\u01e6\u01e7\u00053\u0000\u0000\u01e7\u01e8\u0003h4\u0000\u01e8"+ - "\u01ec\u0003\u0004\u0002\u0000\u01e9\u01eb\u0003^/\u0000\u01ea\u01e9\u0001"+ - "\u0000\u0000\u0000\u01eb\u01ee\u0001\u0000\u0000\u0000\u01ec\u01ea\u0001"+ - "\u0000\u0000\u0000\u01ec\u01ed\u0001\u0000\u0000\u0000\u01ed\u01f0\u0001"+ - "\u0000\u0000\u0000\u01ee\u01ec\u0001\u0000\u0000\u0000\u01ef\u01f1\u0003"+ - "`0\u0000\u01f0\u01ef\u0001\u0000\u0000\u0000\u01f0\u01f1\u0001\u0000\u0000"+ - "\u0000\u01f1]\u0001\u0000\u0000\u0000\u01f2\u01f3\u00051\u0000\u0000\u01f3"+ - "\u01f4\u00053\u0000\u0000\u01f4\u01f5\u0003h4\u0000\u01f5\u01f6\u0003"+ - "\u0004\u0002\u0000\u01f6_\u0001\u0000\u0000\u0000\u01f7\u01f8\u00051\u0000"+ - "\u0000\u01f8\u01f9\u0003\u0004\u0002\u0000\u01f9a\u0001\u0000\u0000\u0000"+ - "\u01fa\u0200\u00059\u0000\u0000\u01fb\u0200\u0005:\u0000\u0000\u01fc\u0200"+ - "\u0003f3\u0000\u01fd\u0200\u0003d2\u0000\u01fe\u0200\u0005\u0010\u0000"+ - "\u0000\u01ff\u01fa\u0001\u0000\u0000\u0000\u01ff\u01fb\u0001\u0000\u0000"+ - "\u0000\u01ff\u01fc\u0001\u0000\u0000\u0000\u01ff\u01fd\u0001\u0000\u0000"+ - "\u0000\u01ff\u01fe\u0001\u0000\u0000\u0000\u0200c\u0001\u0000\u0000\u0000"+ - "\u0201\u0202\u00050\u0000\u0000\u0202\u0203\u0005E\u0000\u0000\u0203\u0204"+ - "\u0003b1\u0000\u0204\u0205\u0005F\u0000\u0000\u0205\u0206\u0003b1\u0000"+ - "\u0206e\u0001\u0000\u0000\u0000\u0207\u0208\u0005E\u0000\u0000\u0208\u0209"+ - "\u0005F\u0000\u0000\u0209\u020a\u0003b1\u0000\u020ag\u0001\u0000\u0000"+ - "\u0000\u020b\u020c\u00064\uffff\uffff\u0000\u020c\u0216\u0003\u0080@\u0000"+ - "\u020d\u0216\u0003z=\u0000\u020e\u0216\u0003l6\u0000\u020f\u0210\u0005"+ - "Q\u0000\u0000\u0210\u0216\u0003h4\u0005\u0211\u0212\u0005A\u0000\u0000"+ - "\u0212\u0213\u0003h4\u0000\u0213\u0214\u0005B\u0000\u0000\u0214\u0216"+ - "\u0001\u0000\u0000\u0000\u0215\u020b\u0001\u0000\u0000\u0000\u0215\u020d"+ - "\u0001\u0000\u0000\u0000\u0215\u020e\u0001\u0000\u0000\u0000\u0215\u020f"+ - "\u0001\u0000\u0000\u0000\u0215\u0211\u0001\u0000\u0000\u0000\u0216\u0222"+ - "\u0001\u0000\u0000\u0000\u0217\u0218\n\u0003\u0000\u0000\u0218\u0219\u0005"+ - "R\u0000\u0000\u0219\u0221\u0003h4\u0004\u021a\u021b\n\u0002\u0000\u0000"+ - "\u021b\u021c\u0007\u0006\u0000\u0000\u021c\u0221\u0003h4\u0003\u021d\u021e"+ - "\n\u0001\u0000\u0000\u021e\u021f\u0007\u0001\u0000\u0000\u021f\u0221\u0003"+ - "h4\u0002\u0220\u0217\u0001\u0000\u0000\u0000\u0220\u021a\u0001\u0000\u0000"+ - "\u0000\u0220\u021d\u0001\u0000\u0000\u0000\u0221\u0224\u0001\u0000\u0000"+ - "\u0000\u0222\u0220\u0001\u0000\u0000\u0000\u0222\u0223\u0001\u0000\u0000"+ - "\u0000\u0223i\u0001\u0000\u0000\u0000\u0224\u0222\u0001\u0000\u0000\u0000"+ - "\u0225\u022a\u0003h4\u0000\u0226\u0227\u0005H\u0000\u0000\u0227\u0229"+ - "\u0003h4\u0000\u0228\u0226\u0001\u0000\u0000\u0000\u0229\u022c\u0001\u0000"+ - "\u0000\u0000\u022a\u0228\u0001\u0000\u0000\u0000\u022a\u022b\u0001\u0000"+ - "\u0000\u0000\u022bk\u0001\u0000\u0000\u0000\u022c\u022a\u0001\u0000\u0000"+ - "\u0000\u022d\u0232\u0003n7\u0000\u022e\u0232\u0003p8\u0000\u022f\u0232"+ - "\u0003r9\u0000\u0230\u0232\u0003v;\u0000\u0231\u022d\u0001\u0000\u0000"+ - "\u0000\u0231\u022e\u0001\u0000\u0000\u0000\u0231\u022f\u0001\u0000\u0000"+ - "\u0000\u0231\u0230\u0001\u0000\u0000\u0000\u0232m\u0001\u0000\u0000\u0000"+ - "\u0233\u0234\u0005S\u0000\u0000\u0234o\u0001\u0000\u0000\u0000\u0235\u0236"+ - "\u0007\u0007\u0000\u0000\u0236q\u0001\u0000\u0000\u0000\u0237\u0239\u0005"+ - "E\u0000\u0000\u0238\u023a\u0003j5\u0000\u0239\u0238\u0001\u0000\u0000"+ - "\u0000\u0239\u023a\u0001\u0000\u0000\u0000\u023a\u023b\u0001\u0000\u0000"+ - "\u0000\u023b\u023c\u0005F\u0000\u0000\u023cs\u0001\u0000\u0000\u0000\u023d"+ - "\u0246\u0005E\u0000\u0000\u023e\u0243\u0003n7\u0000\u023f\u0240\u0005"+ - "H\u0000\u0000\u0240\u0242\u0003n7\u0000\u0241\u023f\u0001\u0000\u0000"+ - "\u0000\u0242\u0245\u0001\u0000\u0000\u0000\u0243\u0241\u0001\u0000\u0000"+ - "\u0000\u0243\u0244\u0001\u0000\u0000\u0000\u0244\u0247\u0001\u0000\u0000"+ - "\u0000\u0245\u0243\u0001\u0000\u0000\u0000\u0246\u023e\u0001\u0000\u0000"+ - "\u0000\u0246\u0247\u0001\u0000\u0000\u0000\u0247\u0248\u0001\u0000\u0000"+ - "\u0000\u0248\u0249\u0005F\u0000\u0000\u0249u\u0001\u0000\u0000\u0000\u024a"+ - "\u0253\u0005C\u0000\u0000\u024b\u0250\u0003x<\u0000\u024c\u024d\u0005"+ - "H\u0000\u0000\u024d\u024f\u0003x<\u0000\u024e\u024c\u0001\u0000\u0000"+ - "\u0000\u024f\u0252\u0001\u0000\u0000\u0000\u0250\u024e\u0001\u0000\u0000"+ - "\u0000\u0250\u0251\u0001\u0000\u0000\u0000\u0251\u0254\u0001\u0000\u0000"+ - "\u0000\u0252\u0250\u0001\u0000\u0000\u0000\u0253\u024b\u0001\u0000\u0000"+ - "\u0000\u0253\u0254\u0001\u0000\u0000\u0000\u0254\u0255\u0001\u0000\u0000"+ - "\u0000\u0255\u0256\u0005D\u0000\u0000\u0256w\u0001\u0000\u0000\u0000\u0257"+ - "\u0258\u0003h4\u0000\u0258\u0259\u0005J\u0000\u0000\u0259\u025a\u0003"+ - "h4\u0000\u025ay\u0001\u0000\u0000\u0000\u025b\u025c\u0006=\uffff\uffff"+ - "\u0000\u025c\u025d\u0005@\u0000\u0000\u025d\u0262\u0001\u0000\u0000\u0000"+ - "\u025e\u025f\n\u0001\u0000\u0000\u025f\u0261\u0003|>\u0000\u0260\u025e"+ - "\u0001\u0000\u0000\u0000\u0261\u0264\u0001\u0000\u0000\u0000\u0262\u0260"+ - "\u0001\u0000\u0000\u0000\u0262\u0263\u0001\u0000\u0000\u0000\u0263{\u0001"+ - "\u0000\u0000\u0000\u0264\u0262\u0001\u0000\u0000\u0000\u0265\u0266\u0005"+ - "E\u0000\u0000\u0266\u0267\u0003h4\u0000\u0267\u0268\u0005F\u0000\u0000"+ - "\u0268\u026c\u0001\u0000\u0000\u0000\u0269\u026a\u0005K\u0000\u0000\u026a"+ - "\u026c\u0003~?\u0000\u026b\u0265\u0001\u0000\u0000\u0000\u026b\u0269\u0001"+ - "\u0000\u0000\u0000\u026c}\u0001\u0000\u0000\u0000\u026d\u026e\u0005@\u0000"+ - "\u0000\u026e\u007f\u0001\u0000\u0000\u0000\u026f\u0270\u0005@\u0000\u0000"+ - "\u0270\u0271\u0003\u0082A\u0000\u0271\u0081\u0001\u0000\u0000\u0000\u0272"+ - "\u0274\u0005A\u0000\u0000\u0273\u0275\u0003j5\u0000\u0274\u0273\u0001"+ - "\u0000\u0000\u0000\u0274\u0275\u0001\u0000\u0000\u0000\u0275\u0276\u0001"+ - "\u0000\u0000\u0000\u0276\u0277\u0005B\u0000\u0000\u0277\u0083\u0001\u0000"+ - "\u0000\u00002\u0087\u00a1\u00a7\u00bf\u00cd\u00d5\u00df\u00e6\u00ee\u00f3"+ - "\u00fb\u00fe\u0106\u010e\u011b\u0122\u0129\u0135\u013d\u0172\u0183\u0187"+ - "\u018c\u0194\u019b\u01a5\u01ac\u01af\u01b2\u01b9\u01c4\u01cf\u01d2\u01dc"+ - "\u01ec\u01f0\u01ff\u0215\u0220\u0222\u022a\u0231\u0239\u0243\u0246\u0250"+ - "\u0253\u0262\u026b\u0274"; - public static final ATN _ATN = - new ATNDeserializer().deserialize(_serializedATN.toCharArray()); - static { - _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()]; - for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) { - _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); - } - } -} \ No newline at end of file diff --git a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParser.tokens b/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParser.tokens deleted file mode 100644 index c0f8a0d1b..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParser.tokens +++ /dev/null @@ -1,158 +0,0 @@ -OPERATION=1 -NODEOP=2 -CHECK=3 -ROUTINE=4 -CREATE=5 -DELETE=6 -POLICY_ELEMENT=7 -CONTAINED=8 -RULE=9 -WHEN=10 -PERFORMS=11 -AS=12 -ON=13 -IN=14 -DO=15 -ANY=16 -ASCENDANT_OF=17 -INTERSECTION=18 -UNION=19 -PROCESS=20 -SET_RESOURCE_OPERATIONS=21 -ASSIGN=22 -DEASSIGN=23 -FROM=24 -SET_PROPERTIES=25 -WITH_PROPERTIES=26 -OF=27 -TO=28 -ASSOCIATE=29 -AND=30 -WITH=31 -DISSOCIATE=32 -DENY=33 -PROHIBITION=34 -OBLIGATION=35 -ACCESS_RIGHTS=36 -POLICY_CLASS=37 -OBJECT_ATTRIBUTE=38 -USER_ATTRIBUTE=39 -USER_ATTRIBUTES=40 -OBJECT_ATTRIBUTES=41 -OBJECT=42 -USER=43 -ATTRIBUTE=44 -ASSOCIATIONS=45 -BREAK=46 -DEFAULT=47 -MAP=48 -ELSE=49 -CONST=50 -IF=51 -RANGE=52 -CONTINUE=53 -FOREACH=54 -RETURN=55 -VAR=56 -STRING_TYPE=57 -BOOL_TYPE=58 -VOID_TYPE=59 -ARRAY_TYPE=60 -NIL_LIT=61 -TRUE=62 -FALSE=63 -ID=64 -OPEN_PAREN=65 -CLOSE_PAREN=66 -OPEN_CURLY=67 -CLOSE_CURLY=68 -OPEN_BRACKET=69 -CLOSE_BRACKET=70 -ASSIGN_EQUALS=71 -COMMA=72 -SEMI=73 -COLON=74 -DOT=75 -DECLARE_ASSIGN=76 -LOGICAL_OR=77 -LOGICAL_AND=78 -EQUALS=79 -NOT_EQUALS=80 -EXCLAMATION=81 -PLUS=82 -DOUBLE_QUOTE_STRING=83 -WS=84 -COMMENT=85 -LINE_COMMENT=86 -'operation'=1 -'nodeop'=2 -'check'=3 -'routine'=4 -'create'=5 -'delete'=6 -'contained'=8 -'rule'=9 -'when'=10 -'performs'=11 -'as'=12 -'on'=13 -'in'=14 -'do'=15 -'any'=16 -'ascendant of'=17 -'union'=19 -'process'=20 -'set resource operations'=21 -'assign'=22 -'deassign'=23 -'from'=24 -'set properties'=25 -'with properties'=26 -'of'=27 -'to'=28 -'associate'=29 -'and'=30 -'with'=31 -'dissociate'=32 -'deny'=33 -'prohibition'=34 -'obligation'=35 -'access rights'=36 -'attribute'=44 -'associations'=45 -'break'=46 -'default'=47 -'map'=48 -'else'=49 -'const'=50 -'if'=51 -'range'=52 -'continue'=53 -'foreach'=54 -'return'=55 -'var'=56 -'string'=57 -'bool'=58 -'void'=59 -'array'=60 -'nil'=61 -'true'=62 -'false'=63 -'('=65 -')'=66 -'{'=67 -'}'=68 -'['=69 -']'=70 -'='=71 -','=72 -';'=73 -':'=74 -'.'=75 -':='=76 -'||'=77 -'&&'=78 -'=='=79 -'!='=80 -'!'=81 -'+'=82 diff --git a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserBaseListener.java b/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserBaseListener.java deleted file mode 100644 index f854bc53d..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserBaseListener.java +++ /dev/null @@ -1,1204 +0,0 @@ -// Generated from PMLParser.g4 by ANTLR 4.13.1 -package gov.nist.csd.pm.pap.pml.antlr; - -import org.antlr.v4.runtime.ParserRuleContext; -import org.antlr.v4.runtime.tree.ErrorNode; -import org.antlr.v4.runtime.tree.TerminalNode; - -/** - * This class provides an empty implementation of {@link PMLParserListener}, - * which can be extended to create a listener which only needs to handle a subset - * of the available methods. - */ -@SuppressWarnings("CheckReturnValue") -public class PMLParserBaseListener implements PMLParserListener { - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterPml(PMLParser.PmlContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitPml(PMLParser.PmlContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterStatement(PMLParser.StatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitStatement(PMLParser.StatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterStatementBlock(PMLParser.StatementBlockContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitStatementBlock(PMLParser.StatementBlockContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCreatePolicyStatement(PMLParser.CreatePolicyStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCreatePolicyStatement(PMLParser.CreatePolicyStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCreateNonPCStatement(PMLParser.CreateNonPCStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCreateNonPCStatement(PMLParser.CreateNonPCStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterNonPCNodeType(PMLParser.NonPCNodeTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitNonPCNodeType(PMLParser.NonPCNodeTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCreateObligationStatement(PMLParser.CreateObligationStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCreateObligationStatement(PMLParser.CreateObligationStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCreateRuleStatement(PMLParser.CreateRuleStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCreateRuleStatement(PMLParser.CreateRuleStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAnyUserPattern(PMLParser.AnyUserPatternContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAnyUserPattern(PMLParser.AnyUserPatternContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterUserPattern(PMLParser.UserPatternContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitUserPattern(PMLParser.UserPatternContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterBasicSubjectPatternExpression(PMLParser.BasicSubjectPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitBasicSubjectPatternExpression(PMLParser.BasicSubjectPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterParenSubjectPatternExpression(PMLParser.ParenSubjectPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitParenSubjectPatternExpression(PMLParser.ParenSubjectPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterNegateSubjectPatternExpression(PMLParser.NegateSubjectPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitNegateSubjectPatternExpression(PMLParser.NegateSubjectPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterLogicalSubjectPatternExpression(PMLParser.LogicalSubjectPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitLogicalSubjectPatternExpression(PMLParser.LogicalSubjectPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterInSubject(PMLParser.InSubjectContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitInSubject(PMLParser.InSubjectContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterUsernameSubject(PMLParser.UsernameSubjectContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitUsernameSubject(PMLParser.UsernameSubjectContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterProcessSubject(PMLParser.ProcessSubjectContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitProcessSubject(PMLParser.ProcessSubjectContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAnyOperation(PMLParser.AnyOperationContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAnyOperation(PMLParser.AnyOperationContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterIDOperation(PMLParser.IDOperationContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitIDOperation(PMLParser.IDOperationContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterOperandPattern(PMLParser.OperandPatternContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitOperandPattern(PMLParser.OperandPatternContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterOperandPatternElement(PMLParser.OperandPatternElementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitOperandPatternElement(PMLParser.OperandPatternElementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterOperandPatternExpressionArray(PMLParser.OperandPatternExpressionArrayContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitOperandPatternExpressionArray(PMLParser.OperandPatternExpressionArrayContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterParenOperandPatternExpression(PMLParser.ParenOperandPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitParenOperandPatternExpression(PMLParser.ParenOperandPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterNegateOperandPatternExpression(PMLParser.NegateOperandPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitNegateOperandPatternExpression(PMLParser.NegateOperandPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterBasicOperandPatternExpression(PMLParser.BasicOperandPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitBasicOperandPatternExpression(PMLParser.BasicOperandPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterLogicalOperandPatternExpression(PMLParser.LogicalOperandPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitLogicalOperandPatternExpression(PMLParser.LogicalOperandPatternExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAnyPolicyElement(PMLParser.AnyPolicyElementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAnyPolicyElement(PMLParser.AnyPolicyElementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterInPolicyElement(PMLParser.InPolicyElementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitInPolicyElement(PMLParser.InPolicyElementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterPolicyElement(PMLParser.PolicyElementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitPolicyElement(PMLParser.PolicyElementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterResponse(PMLParser.ResponseContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitResponse(PMLParser.ResponseContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterResponseBlock(PMLParser.ResponseBlockContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitResponseBlock(PMLParser.ResponseBlockContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterResponseStatement(PMLParser.ResponseStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitResponseStatement(PMLParser.ResponseStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCreateProhibitionStatement(PMLParser.CreateProhibitionStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCreateProhibitionStatement(PMLParser.CreateProhibitionStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSetNodePropertiesStatement(PMLParser.SetNodePropertiesStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSetNodePropertiesStatement(PMLParser.SetNodePropertiesStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAssignStatement(PMLParser.AssignStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAssignStatement(PMLParser.AssignStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterDeassignStatement(PMLParser.DeassignStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitDeassignStatement(PMLParser.DeassignStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAssociateStatement(PMLParser.AssociateStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAssociateStatement(PMLParser.AssociateStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterDissociateStatement(PMLParser.DissociateStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitDissociateStatement(PMLParser.DissociateStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterSetResourceOperationsStatement(PMLParser.SetResourceOperationsStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitSetResourceOperationsStatement(PMLParser.SetResourceOperationsStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterDeleteStatement(PMLParser.DeleteStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitDeleteStatement(PMLParser.DeleteStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterDeleteNode(PMLParser.DeleteNodeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitDeleteNode(PMLParser.DeleteNodeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterDeleteObligation(PMLParser.DeleteObligationContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitDeleteObligation(PMLParser.DeleteObligationContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterDeleteProhibition(PMLParser.DeleteProhibitionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitDeleteProhibition(PMLParser.DeleteProhibitionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterNodeType(PMLParser.NodeTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitNodeType(PMLParser.NodeTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterDeleteRuleStatement(PMLParser.DeleteRuleStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitDeleteRuleStatement(PMLParser.DeleteRuleStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterVarDeclaration(PMLParser.VarDeclarationContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitVarDeclaration(PMLParser.VarDeclarationContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterShortDeclaration(PMLParser.ShortDeclarationContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitShortDeclaration(PMLParser.ShortDeclarationContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterVarSpec(PMLParser.VarSpecContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitVarSpec(PMLParser.VarSpecContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterVariableAssignmentStatement(PMLParser.VariableAssignmentStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitVariableAssignmentStatement(PMLParser.VariableAssignmentStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFunctionDefinitionStatement(PMLParser.FunctionDefinitionStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFunctionDefinitionStatement(PMLParser.FunctionDefinitionStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFunctionSignature(PMLParser.FunctionSignatureContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFunctionSignature(PMLParser.FunctionSignatureContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFormalArgList(PMLParser.FormalArgListContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFormalArgList(PMLParser.FormalArgListContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFormalArg(PMLParser.FormalArgContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFormalArg(PMLParser.FormalArgContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterReturnStatement(PMLParser.ReturnStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitReturnStatement(PMLParser.ReturnStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCheckStatement(PMLParser.CheckStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCheckStatement(PMLParser.CheckStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterCheckStatementBlock(PMLParser.CheckStatementBlockContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitCheckStatementBlock(PMLParser.CheckStatementBlockContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterIdArr(PMLParser.IdArrContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitIdArr(PMLParser.IdArrContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFunctionInvokeStatement(PMLParser.FunctionInvokeStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFunctionInvokeStatement(PMLParser.FunctionInvokeStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterForeachStatement(PMLParser.ForeachStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitForeachStatement(PMLParser.ForeachStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterBreakStatement(PMLParser.BreakStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitBreakStatement(PMLParser.BreakStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterContinueStatement(PMLParser.ContinueStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitContinueStatement(PMLParser.ContinueStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterIfStatement(PMLParser.IfStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitIfStatement(PMLParser.IfStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterElseIfStatement(PMLParser.ElseIfStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitElseIfStatement(PMLParser.ElseIfStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterElseStatement(PMLParser.ElseStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitElseStatement(PMLParser.ElseStatementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterStringType(PMLParser.StringTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitStringType(PMLParser.StringTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterBooleanType(PMLParser.BooleanTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitBooleanType(PMLParser.BooleanTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterArrayVarType(PMLParser.ArrayVarTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitArrayVarType(PMLParser.ArrayVarTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterMapVarType(PMLParser.MapVarTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitMapVarType(PMLParser.MapVarTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterAnyType(PMLParser.AnyTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitAnyType(PMLParser.AnyTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterMapType(PMLParser.MapTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitMapType(PMLParser.MapTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterArrayType(PMLParser.ArrayTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitArrayType(PMLParser.ArrayTypeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterNegateExpression(PMLParser.NegateExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitNegateExpression(PMLParser.NegateExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterLogicalExpression(PMLParser.LogicalExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitLogicalExpression(PMLParser.LogicalExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterPlusExpression(PMLParser.PlusExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitPlusExpression(PMLParser.PlusExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFunctionInvokeExpression(PMLParser.FunctionInvokeExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFunctionInvokeExpression(PMLParser.FunctionInvokeExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterVariableReferenceExpression(PMLParser.VariableReferenceExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitVariableReferenceExpression(PMLParser.VariableReferenceExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterLiteralExpression(PMLParser.LiteralExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitLiteralExpression(PMLParser.LiteralExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterParenExpression(PMLParser.ParenExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitParenExpression(PMLParser.ParenExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterEqualsExpression(PMLParser.EqualsExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitEqualsExpression(PMLParser.EqualsExpressionContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterExpressionList(PMLParser.ExpressionListContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitExpressionList(PMLParser.ExpressionListContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterStringLiteral(PMLParser.StringLiteralContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitStringLiteral(PMLParser.StringLiteralContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterBoolLiteral(PMLParser.BoolLiteralContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitBoolLiteral(PMLParser.BoolLiteralContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterArrayLiteral(PMLParser.ArrayLiteralContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitArrayLiteral(PMLParser.ArrayLiteralContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterMapLiteral(PMLParser.MapLiteralContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitMapLiteral(PMLParser.MapLiteralContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterStringLit(PMLParser.StringLitContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitStringLit(PMLParser.StringLitContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterBoolLit(PMLParser.BoolLitContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitBoolLit(PMLParser.BoolLitContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterArrayLit(PMLParser.ArrayLitContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitArrayLit(PMLParser.ArrayLitContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterStringArrayLit(PMLParser.StringArrayLitContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitStringArrayLit(PMLParser.StringArrayLitContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterMapLit(PMLParser.MapLitContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitMapLit(PMLParser.MapLitContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterElement(PMLParser.ElementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitElement(PMLParser.ElementContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterReferenceByIndex(PMLParser.ReferenceByIndexContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitReferenceByIndex(PMLParser.ReferenceByIndexContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterReferenceByID(PMLParser.ReferenceByIDContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitReferenceByID(PMLParser.ReferenceByIDContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterBracketIndex(PMLParser.BracketIndexContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitBracketIndex(PMLParser.BracketIndexContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterDotIndex(PMLParser.DotIndexContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitDotIndex(PMLParser.DotIndexContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterId(PMLParser.IdContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitId(PMLParser.IdContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFunctionInvoke(PMLParser.FunctionInvokeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFunctionInvoke(PMLParser.FunctionInvokeContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterFunctionInvokeArgs(PMLParser.FunctionInvokeArgsContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitFunctionInvokeArgs(PMLParser.FunctionInvokeArgsContext ctx) { } - - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void enterEveryRule(ParserRuleContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void exitEveryRule(ParserRuleContext ctx) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void visitTerminal(TerminalNode node) { } - /** - * {@inheritDoc} - * - *

The default implementation does nothing.

- */ - @Override public void visitErrorNode(ErrorNode node) { } -} \ No newline at end of file diff --git a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserBaseVisitor.java b/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserBaseVisitor.java deleted file mode 100644 index 970abca2c..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserBaseVisitor.java +++ /dev/null @@ -1,694 +0,0 @@ -// Generated from PMLParser.g4 by ANTLR 4.13.1 -package gov.nist.csd.pm.pap.pml.antlr; -import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; - -/** - * This class provides an empty implementation of {@link PMLParserVisitor}, - * which can be extended to create a visitor which only needs to handle a subset - * of the available methods. - * - * @param The return type of the visit operation. Use {@link Void} for - * operations with no return type. - */ -@SuppressWarnings("CheckReturnValue") -public class PMLParserBaseVisitor extends AbstractParseTreeVisitor implements PMLParserVisitor { - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitPml(PMLParser.PmlContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitStatement(PMLParser.StatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitStatementBlock(PMLParser.StatementBlockContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitCreatePolicyStatement(PMLParser.CreatePolicyStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitCreateNonPCStatement(PMLParser.CreateNonPCStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitNonPCNodeType(PMLParser.NonPCNodeTypeContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitCreateObligationStatement(PMLParser.CreateObligationStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitCreateRuleStatement(PMLParser.CreateRuleStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitAnyUserPattern(PMLParser.AnyUserPatternContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitUserPattern(PMLParser.UserPatternContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitBasicSubjectPatternExpression(PMLParser.BasicSubjectPatternExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitParenSubjectPatternExpression(PMLParser.ParenSubjectPatternExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitNegateSubjectPatternExpression(PMLParser.NegateSubjectPatternExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitLogicalSubjectPatternExpression(PMLParser.LogicalSubjectPatternExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitInSubject(PMLParser.InSubjectContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitUsernameSubject(PMLParser.UsernameSubjectContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitProcessSubject(PMLParser.ProcessSubjectContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitAnyOperation(PMLParser.AnyOperationContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitIDOperation(PMLParser.IDOperationContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitOperandPattern(PMLParser.OperandPatternContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitOperandPatternElement(PMLParser.OperandPatternElementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitOperandPatternExpressionArray(PMLParser.OperandPatternExpressionArrayContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitParenOperandPatternExpression(PMLParser.ParenOperandPatternExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitNegateOperandPatternExpression(PMLParser.NegateOperandPatternExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitBasicOperandPatternExpression(PMLParser.BasicOperandPatternExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitLogicalOperandPatternExpression(PMLParser.LogicalOperandPatternExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitAnyPolicyElement(PMLParser.AnyPolicyElementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitInPolicyElement(PMLParser.InPolicyElementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitPolicyElement(PMLParser.PolicyElementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitResponse(PMLParser.ResponseContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitResponseBlock(PMLParser.ResponseBlockContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitResponseStatement(PMLParser.ResponseStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitCreateProhibitionStatement(PMLParser.CreateProhibitionStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitSetNodePropertiesStatement(PMLParser.SetNodePropertiesStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitAssignStatement(PMLParser.AssignStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitDeassignStatement(PMLParser.DeassignStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitAssociateStatement(PMLParser.AssociateStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitDissociateStatement(PMLParser.DissociateStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitSetResourceOperationsStatement(PMLParser.SetResourceOperationsStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitDeleteStatement(PMLParser.DeleteStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitDeleteNode(PMLParser.DeleteNodeContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitDeleteObligation(PMLParser.DeleteObligationContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitDeleteProhibition(PMLParser.DeleteProhibitionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitNodeType(PMLParser.NodeTypeContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitDeleteRuleStatement(PMLParser.DeleteRuleStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitVarDeclaration(PMLParser.VarDeclarationContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitShortDeclaration(PMLParser.ShortDeclarationContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitVarSpec(PMLParser.VarSpecContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitVariableAssignmentStatement(PMLParser.VariableAssignmentStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitFunctionDefinitionStatement(PMLParser.FunctionDefinitionStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitFunctionSignature(PMLParser.FunctionSignatureContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitFormalArgList(PMLParser.FormalArgListContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitFormalArg(PMLParser.FormalArgContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitReturnStatement(PMLParser.ReturnStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitCheckStatement(PMLParser.CheckStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitCheckStatementBlock(PMLParser.CheckStatementBlockContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitIdArr(PMLParser.IdArrContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitFunctionInvokeStatement(PMLParser.FunctionInvokeStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitForeachStatement(PMLParser.ForeachStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitBreakStatement(PMLParser.BreakStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitContinueStatement(PMLParser.ContinueStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitIfStatement(PMLParser.IfStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitElseIfStatement(PMLParser.ElseIfStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitElseStatement(PMLParser.ElseStatementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitStringType(PMLParser.StringTypeContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitBooleanType(PMLParser.BooleanTypeContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitArrayVarType(PMLParser.ArrayVarTypeContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitMapVarType(PMLParser.MapVarTypeContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitAnyType(PMLParser.AnyTypeContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitMapType(PMLParser.MapTypeContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitArrayType(PMLParser.ArrayTypeContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitNegateExpression(PMLParser.NegateExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitLogicalExpression(PMLParser.LogicalExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitPlusExpression(PMLParser.PlusExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitFunctionInvokeExpression(PMLParser.FunctionInvokeExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitVariableReferenceExpression(PMLParser.VariableReferenceExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitLiteralExpression(PMLParser.LiteralExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitParenExpression(PMLParser.ParenExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitEqualsExpression(PMLParser.EqualsExpressionContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitExpressionList(PMLParser.ExpressionListContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitStringLiteral(PMLParser.StringLiteralContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitBoolLiteral(PMLParser.BoolLiteralContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitArrayLiteral(PMLParser.ArrayLiteralContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitMapLiteral(PMLParser.MapLiteralContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitStringLit(PMLParser.StringLitContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitBoolLit(PMLParser.BoolLitContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitArrayLit(PMLParser.ArrayLitContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitStringArrayLit(PMLParser.StringArrayLitContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitMapLit(PMLParser.MapLitContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitElement(PMLParser.ElementContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitReferenceByIndex(PMLParser.ReferenceByIndexContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitReferenceByID(PMLParser.ReferenceByIDContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitBracketIndex(PMLParser.BracketIndexContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitDotIndex(PMLParser.DotIndexContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitId(PMLParser.IdContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitFunctionInvoke(PMLParser.FunctionInvokeContext ctx) { return visitChildren(ctx); } - /** - * {@inheritDoc} - * - *

The default implementation returns the result of calling - * {@link #visitChildren} on {@code ctx}.

- */ - @Override public T visitFunctionInvokeArgs(PMLParser.FunctionInvokeArgsContext ctx) { return visitChildren(ctx); } -} \ No newline at end of file diff --git a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserListener.java b/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserListener.java deleted file mode 100644 index 3428e8f64..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserListener.java +++ /dev/null @@ -1,1068 +0,0 @@ -// Generated from PMLParser.g4 by ANTLR 4.13.1 -package gov.nist.csd.pm.pap.pml.antlr; -import org.antlr.v4.runtime.tree.ParseTreeListener; - -/** - * This interface defines a complete listener for a parse tree produced by - * {@link PMLParser}. - */ -public interface PMLParserListener extends ParseTreeListener { - /** - * Enter a parse tree produced by {@link PMLParser#pml}. - * @param ctx the parse tree - */ - void enterPml(PMLParser.PmlContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#pml}. - * @param ctx the parse tree - */ - void exitPml(PMLParser.PmlContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#statement}. - * @param ctx the parse tree - */ - void enterStatement(PMLParser.StatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#statement}. - * @param ctx the parse tree - */ - void exitStatement(PMLParser.StatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#statementBlock}. - * @param ctx the parse tree - */ - void enterStatementBlock(PMLParser.StatementBlockContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#statementBlock}. - * @param ctx the parse tree - */ - void exitStatementBlock(PMLParser.StatementBlockContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#createPolicyStatement}. - * @param ctx the parse tree - */ - void enterCreatePolicyStatement(PMLParser.CreatePolicyStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#createPolicyStatement}. - * @param ctx the parse tree - */ - void exitCreatePolicyStatement(PMLParser.CreatePolicyStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#createNonPCStatement}. - * @param ctx the parse tree - */ - void enterCreateNonPCStatement(PMLParser.CreateNonPCStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#createNonPCStatement}. - * @param ctx the parse tree - */ - void exitCreateNonPCStatement(PMLParser.CreateNonPCStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#nonPCNodeType}. - * @param ctx the parse tree - */ - void enterNonPCNodeType(PMLParser.NonPCNodeTypeContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#nonPCNodeType}. - * @param ctx the parse tree - */ - void exitNonPCNodeType(PMLParser.NonPCNodeTypeContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#createObligationStatement}. - * @param ctx the parse tree - */ - void enterCreateObligationStatement(PMLParser.CreateObligationStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#createObligationStatement}. - * @param ctx the parse tree - */ - void exitCreateObligationStatement(PMLParser.CreateObligationStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#createRuleStatement}. - * @param ctx the parse tree - */ - void enterCreateRuleStatement(PMLParser.CreateRuleStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#createRuleStatement}. - * @param ctx the parse tree - */ - void exitCreateRuleStatement(PMLParser.CreateRuleStatementContext ctx); - /** - * Enter a parse tree produced by the {@code AnyUserPattern} - * labeled alternative in {@link PMLParser#subjectPattern}. - * @param ctx the parse tree - */ - void enterAnyUserPattern(PMLParser.AnyUserPatternContext ctx); - /** - * Exit a parse tree produced by the {@code AnyUserPattern} - * labeled alternative in {@link PMLParser#subjectPattern}. - * @param ctx the parse tree - */ - void exitAnyUserPattern(PMLParser.AnyUserPatternContext ctx); - /** - * Enter a parse tree produced by the {@code UserPattern} - * labeled alternative in {@link PMLParser#subjectPattern}. - * @param ctx the parse tree - */ - void enterUserPattern(PMLParser.UserPatternContext ctx); - /** - * Exit a parse tree produced by the {@code UserPattern} - * labeled alternative in {@link PMLParser#subjectPattern}. - * @param ctx the parse tree - */ - void exitUserPattern(PMLParser.UserPatternContext ctx); - /** - * Enter a parse tree produced by the {@code BasicSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - */ - void enterBasicSubjectPatternExpression(PMLParser.BasicSubjectPatternExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code BasicSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - */ - void exitBasicSubjectPatternExpression(PMLParser.BasicSubjectPatternExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code ParenSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - */ - void enterParenSubjectPatternExpression(PMLParser.ParenSubjectPatternExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code ParenSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - */ - void exitParenSubjectPatternExpression(PMLParser.ParenSubjectPatternExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code NegateSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - */ - void enterNegateSubjectPatternExpression(PMLParser.NegateSubjectPatternExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code NegateSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - */ - void exitNegateSubjectPatternExpression(PMLParser.NegateSubjectPatternExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code LogicalSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - */ - void enterLogicalSubjectPatternExpression(PMLParser.LogicalSubjectPatternExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code LogicalSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - */ - void exitLogicalSubjectPatternExpression(PMLParser.LogicalSubjectPatternExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code InSubject} - * labeled alternative in {@link PMLParser#basicSubjectPatternExpr}. - * @param ctx the parse tree - */ - void enterInSubject(PMLParser.InSubjectContext ctx); - /** - * Exit a parse tree produced by the {@code InSubject} - * labeled alternative in {@link PMLParser#basicSubjectPatternExpr}. - * @param ctx the parse tree - */ - void exitInSubject(PMLParser.InSubjectContext ctx); - /** - * Enter a parse tree produced by the {@code UsernameSubject} - * labeled alternative in {@link PMLParser#basicSubjectPatternExpr}. - * @param ctx the parse tree - */ - void enterUsernameSubject(PMLParser.UsernameSubjectContext ctx); - /** - * Exit a parse tree produced by the {@code UsernameSubject} - * labeled alternative in {@link PMLParser#basicSubjectPatternExpr}. - * @param ctx the parse tree - */ - void exitUsernameSubject(PMLParser.UsernameSubjectContext ctx); - /** - * Enter a parse tree produced by the {@code ProcessSubject} - * labeled alternative in {@link PMLParser#basicSubjectPatternExpr}. - * @param ctx the parse tree - */ - void enterProcessSubject(PMLParser.ProcessSubjectContext ctx); - /** - * Exit a parse tree produced by the {@code ProcessSubject} - * labeled alternative in {@link PMLParser#basicSubjectPatternExpr}. - * @param ctx the parse tree - */ - void exitProcessSubject(PMLParser.ProcessSubjectContext ctx); - /** - * Enter a parse tree produced by the {@code AnyOperation} - * labeled alternative in {@link PMLParser#operationPattern}. - * @param ctx the parse tree - */ - void enterAnyOperation(PMLParser.AnyOperationContext ctx); - /** - * Exit a parse tree produced by the {@code AnyOperation} - * labeled alternative in {@link PMLParser#operationPattern}. - * @param ctx the parse tree - */ - void exitAnyOperation(PMLParser.AnyOperationContext ctx); - /** - * Enter a parse tree produced by the {@code IDOperation} - * labeled alternative in {@link PMLParser#operationPattern}. - * @param ctx the parse tree - */ - void enterIDOperation(PMLParser.IDOperationContext ctx); - /** - * Exit a parse tree produced by the {@code IDOperation} - * labeled alternative in {@link PMLParser#operationPattern}. - * @param ctx the parse tree - */ - void exitIDOperation(PMLParser.IDOperationContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#operandPattern}. - * @param ctx the parse tree - */ - void enterOperandPattern(PMLParser.OperandPatternContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#operandPattern}. - * @param ctx the parse tree - */ - void exitOperandPattern(PMLParser.OperandPatternContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#operandPatternElement}. - * @param ctx the parse tree - */ - void enterOperandPatternElement(PMLParser.OperandPatternElementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#operandPatternElement}. - * @param ctx the parse tree - */ - void exitOperandPatternElement(PMLParser.OperandPatternElementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#operandPatternExpressionArray}. - * @param ctx the parse tree - */ - void enterOperandPatternExpressionArray(PMLParser.OperandPatternExpressionArrayContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#operandPatternExpressionArray}. - * @param ctx the parse tree - */ - void exitOperandPatternExpressionArray(PMLParser.OperandPatternExpressionArrayContext ctx); - /** - * Enter a parse tree produced by the {@code ParenOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - */ - void enterParenOperandPatternExpression(PMLParser.ParenOperandPatternExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code ParenOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - */ - void exitParenOperandPatternExpression(PMLParser.ParenOperandPatternExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code NegateOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - */ - void enterNegateOperandPatternExpression(PMLParser.NegateOperandPatternExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code NegateOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - */ - void exitNegateOperandPatternExpression(PMLParser.NegateOperandPatternExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code BasicOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - */ - void enterBasicOperandPatternExpression(PMLParser.BasicOperandPatternExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code BasicOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - */ - void exitBasicOperandPatternExpression(PMLParser.BasicOperandPatternExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code LogicalOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - */ - void enterLogicalOperandPatternExpression(PMLParser.LogicalOperandPatternExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code LogicalOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - */ - void exitLogicalOperandPatternExpression(PMLParser.LogicalOperandPatternExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code AnyPolicyElement} - * labeled alternative in {@link PMLParser#basicOperandPatternExpr}. - * @param ctx the parse tree - */ - void enterAnyPolicyElement(PMLParser.AnyPolicyElementContext ctx); - /** - * Exit a parse tree produced by the {@code AnyPolicyElement} - * labeled alternative in {@link PMLParser#basicOperandPatternExpr}. - * @param ctx the parse tree - */ - void exitAnyPolicyElement(PMLParser.AnyPolicyElementContext ctx); - /** - * Enter a parse tree produced by the {@code InPolicyElement} - * labeled alternative in {@link PMLParser#basicOperandPatternExpr}. - * @param ctx the parse tree - */ - void enterInPolicyElement(PMLParser.InPolicyElementContext ctx); - /** - * Exit a parse tree produced by the {@code InPolicyElement} - * labeled alternative in {@link PMLParser#basicOperandPatternExpr}. - * @param ctx the parse tree - */ - void exitInPolicyElement(PMLParser.InPolicyElementContext ctx); - /** - * Enter a parse tree produced by the {@code PolicyElement} - * labeled alternative in {@link PMLParser#basicOperandPatternExpr}. - * @param ctx the parse tree - */ - void enterPolicyElement(PMLParser.PolicyElementContext ctx); - /** - * Exit a parse tree produced by the {@code PolicyElement} - * labeled alternative in {@link PMLParser#basicOperandPatternExpr}. - * @param ctx the parse tree - */ - void exitPolicyElement(PMLParser.PolicyElementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#response}. - * @param ctx the parse tree - */ - void enterResponse(PMLParser.ResponseContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#response}. - * @param ctx the parse tree - */ - void exitResponse(PMLParser.ResponseContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#responseBlock}. - * @param ctx the parse tree - */ - void enterResponseBlock(PMLParser.ResponseBlockContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#responseBlock}. - * @param ctx the parse tree - */ - void exitResponseBlock(PMLParser.ResponseBlockContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#responseStatement}. - * @param ctx the parse tree - */ - void enterResponseStatement(PMLParser.ResponseStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#responseStatement}. - * @param ctx the parse tree - */ - void exitResponseStatement(PMLParser.ResponseStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#createProhibitionStatement}. - * @param ctx the parse tree - */ - void enterCreateProhibitionStatement(PMLParser.CreateProhibitionStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#createProhibitionStatement}. - * @param ctx the parse tree - */ - void exitCreateProhibitionStatement(PMLParser.CreateProhibitionStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#setNodePropertiesStatement}. - * @param ctx the parse tree - */ - void enterSetNodePropertiesStatement(PMLParser.SetNodePropertiesStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#setNodePropertiesStatement}. - * @param ctx the parse tree - */ - void exitSetNodePropertiesStatement(PMLParser.SetNodePropertiesStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#assignStatement}. - * @param ctx the parse tree - */ - void enterAssignStatement(PMLParser.AssignStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#assignStatement}. - * @param ctx the parse tree - */ - void exitAssignStatement(PMLParser.AssignStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#deassignStatement}. - * @param ctx the parse tree - */ - void enterDeassignStatement(PMLParser.DeassignStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#deassignStatement}. - * @param ctx the parse tree - */ - void exitDeassignStatement(PMLParser.DeassignStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#associateStatement}. - * @param ctx the parse tree - */ - void enterAssociateStatement(PMLParser.AssociateStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#associateStatement}. - * @param ctx the parse tree - */ - void exitAssociateStatement(PMLParser.AssociateStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#dissociateStatement}. - * @param ctx the parse tree - */ - void enterDissociateStatement(PMLParser.DissociateStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#dissociateStatement}. - * @param ctx the parse tree - */ - void exitDissociateStatement(PMLParser.DissociateStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#setResourceOperationsStatement}. - * @param ctx the parse tree - */ - void enterSetResourceOperationsStatement(PMLParser.SetResourceOperationsStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#setResourceOperationsStatement}. - * @param ctx the parse tree - */ - void exitSetResourceOperationsStatement(PMLParser.SetResourceOperationsStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#deleteStatement}. - * @param ctx the parse tree - */ - void enterDeleteStatement(PMLParser.DeleteStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#deleteStatement}. - * @param ctx the parse tree - */ - void exitDeleteStatement(PMLParser.DeleteStatementContext ctx); - /** - * Enter a parse tree produced by the {@code DeleteNode} - * labeled alternative in {@link PMLParser#deleteType}. - * @param ctx the parse tree - */ - void enterDeleteNode(PMLParser.DeleteNodeContext ctx); - /** - * Exit a parse tree produced by the {@code DeleteNode} - * labeled alternative in {@link PMLParser#deleteType}. - * @param ctx the parse tree - */ - void exitDeleteNode(PMLParser.DeleteNodeContext ctx); - /** - * Enter a parse tree produced by the {@code DeleteObligation} - * labeled alternative in {@link PMLParser#deleteType}. - * @param ctx the parse tree - */ - void enterDeleteObligation(PMLParser.DeleteObligationContext ctx); - /** - * Exit a parse tree produced by the {@code DeleteObligation} - * labeled alternative in {@link PMLParser#deleteType}. - * @param ctx the parse tree - */ - void exitDeleteObligation(PMLParser.DeleteObligationContext ctx); - /** - * Enter a parse tree produced by the {@code DeleteProhibition} - * labeled alternative in {@link PMLParser#deleteType}. - * @param ctx the parse tree - */ - void enterDeleteProhibition(PMLParser.DeleteProhibitionContext ctx); - /** - * Exit a parse tree produced by the {@code DeleteProhibition} - * labeled alternative in {@link PMLParser#deleteType}. - * @param ctx the parse tree - */ - void exitDeleteProhibition(PMLParser.DeleteProhibitionContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#nodeType}. - * @param ctx the parse tree - */ - void enterNodeType(PMLParser.NodeTypeContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#nodeType}. - * @param ctx the parse tree - */ - void exitNodeType(PMLParser.NodeTypeContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#deleteRuleStatement}. - * @param ctx the parse tree - */ - void enterDeleteRuleStatement(PMLParser.DeleteRuleStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#deleteRuleStatement}. - * @param ctx the parse tree - */ - void exitDeleteRuleStatement(PMLParser.DeleteRuleStatementContext ctx); - /** - * Enter a parse tree produced by the {@code VarDeclaration} - * labeled alternative in {@link PMLParser#variableDeclarationStatement}. - * @param ctx the parse tree - */ - void enterVarDeclaration(PMLParser.VarDeclarationContext ctx); - /** - * Exit a parse tree produced by the {@code VarDeclaration} - * labeled alternative in {@link PMLParser#variableDeclarationStatement}. - * @param ctx the parse tree - */ - void exitVarDeclaration(PMLParser.VarDeclarationContext ctx); - /** - * Enter a parse tree produced by the {@code ShortDeclaration} - * labeled alternative in {@link PMLParser#variableDeclarationStatement}. - * @param ctx the parse tree - */ - void enterShortDeclaration(PMLParser.ShortDeclarationContext ctx); - /** - * Exit a parse tree produced by the {@code ShortDeclaration} - * labeled alternative in {@link PMLParser#variableDeclarationStatement}. - * @param ctx the parse tree - */ - void exitShortDeclaration(PMLParser.ShortDeclarationContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#varSpec}. - * @param ctx the parse tree - */ - void enterVarSpec(PMLParser.VarSpecContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#varSpec}. - * @param ctx the parse tree - */ - void exitVarSpec(PMLParser.VarSpecContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#variableAssignmentStatement}. - * @param ctx the parse tree - */ - void enterVariableAssignmentStatement(PMLParser.VariableAssignmentStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#variableAssignmentStatement}. - * @param ctx the parse tree - */ - void exitVariableAssignmentStatement(PMLParser.VariableAssignmentStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#functionDefinitionStatement}. - * @param ctx the parse tree - */ - void enterFunctionDefinitionStatement(PMLParser.FunctionDefinitionStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#functionDefinitionStatement}. - * @param ctx the parse tree - */ - void exitFunctionDefinitionStatement(PMLParser.FunctionDefinitionStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#functionSignature}. - * @param ctx the parse tree - */ - void enterFunctionSignature(PMLParser.FunctionSignatureContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#functionSignature}. - * @param ctx the parse tree - */ - void exitFunctionSignature(PMLParser.FunctionSignatureContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#formalArgList}. - * @param ctx the parse tree - */ - void enterFormalArgList(PMLParser.FormalArgListContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#formalArgList}. - * @param ctx the parse tree - */ - void exitFormalArgList(PMLParser.FormalArgListContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#formalArg}. - * @param ctx the parse tree - */ - void enterFormalArg(PMLParser.FormalArgContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#formalArg}. - * @param ctx the parse tree - */ - void exitFormalArg(PMLParser.FormalArgContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#returnStatement}. - * @param ctx the parse tree - */ - void enterReturnStatement(PMLParser.ReturnStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#returnStatement}. - * @param ctx the parse tree - */ - void exitReturnStatement(PMLParser.ReturnStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#checkStatement}. - * @param ctx the parse tree - */ - void enterCheckStatement(PMLParser.CheckStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#checkStatement}. - * @param ctx the parse tree - */ - void exitCheckStatement(PMLParser.CheckStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#checkStatementBlock}. - * @param ctx the parse tree - */ - void enterCheckStatementBlock(PMLParser.CheckStatementBlockContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#checkStatementBlock}. - * @param ctx the parse tree - */ - void exitCheckStatementBlock(PMLParser.CheckStatementBlockContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#idArr}. - * @param ctx the parse tree - */ - void enterIdArr(PMLParser.IdArrContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#idArr}. - * @param ctx the parse tree - */ - void exitIdArr(PMLParser.IdArrContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#functionInvokeStatement}. - * @param ctx the parse tree - */ - void enterFunctionInvokeStatement(PMLParser.FunctionInvokeStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#functionInvokeStatement}. - * @param ctx the parse tree - */ - void exitFunctionInvokeStatement(PMLParser.FunctionInvokeStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#foreachStatement}. - * @param ctx the parse tree - */ - void enterForeachStatement(PMLParser.ForeachStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#foreachStatement}. - * @param ctx the parse tree - */ - void exitForeachStatement(PMLParser.ForeachStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#breakStatement}. - * @param ctx the parse tree - */ - void enterBreakStatement(PMLParser.BreakStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#breakStatement}. - * @param ctx the parse tree - */ - void exitBreakStatement(PMLParser.BreakStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#continueStatement}. - * @param ctx the parse tree - */ - void enterContinueStatement(PMLParser.ContinueStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#continueStatement}. - * @param ctx the parse tree - */ - void exitContinueStatement(PMLParser.ContinueStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#ifStatement}. - * @param ctx the parse tree - */ - void enterIfStatement(PMLParser.IfStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#ifStatement}. - * @param ctx the parse tree - */ - void exitIfStatement(PMLParser.IfStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#elseIfStatement}. - * @param ctx the parse tree - */ - void enterElseIfStatement(PMLParser.ElseIfStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#elseIfStatement}. - * @param ctx the parse tree - */ - void exitElseIfStatement(PMLParser.ElseIfStatementContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#elseStatement}. - * @param ctx the parse tree - */ - void enterElseStatement(PMLParser.ElseStatementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#elseStatement}. - * @param ctx the parse tree - */ - void exitElseStatement(PMLParser.ElseStatementContext ctx); - /** - * Enter a parse tree produced by the {@code StringType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - */ - void enterStringType(PMLParser.StringTypeContext ctx); - /** - * Exit a parse tree produced by the {@code StringType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - */ - void exitStringType(PMLParser.StringTypeContext ctx); - /** - * Enter a parse tree produced by the {@code BooleanType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - */ - void enterBooleanType(PMLParser.BooleanTypeContext ctx); - /** - * Exit a parse tree produced by the {@code BooleanType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - */ - void exitBooleanType(PMLParser.BooleanTypeContext ctx); - /** - * Enter a parse tree produced by the {@code ArrayVarType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - */ - void enterArrayVarType(PMLParser.ArrayVarTypeContext ctx); - /** - * Exit a parse tree produced by the {@code ArrayVarType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - */ - void exitArrayVarType(PMLParser.ArrayVarTypeContext ctx); - /** - * Enter a parse tree produced by the {@code MapVarType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - */ - void enterMapVarType(PMLParser.MapVarTypeContext ctx); - /** - * Exit a parse tree produced by the {@code MapVarType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - */ - void exitMapVarType(PMLParser.MapVarTypeContext ctx); - /** - * Enter a parse tree produced by the {@code AnyType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - */ - void enterAnyType(PMLParser.AnyTypeContext ctx); - /** - * Exit a parse tree produced by the {@code AnyType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - */ - void exitAnyType(PMLParser.AnyTypeContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#mapType}. - * @param ctx the parse tree - */ - void enterMapType(PMLParser.MapTypeContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#mapType}. - * @param ctx the parse tree - */ - void exitMapType(PMLParser.MapTypeContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#arrayType}. - * @param ctx the parse tree - */ - void enterArrayType(PMLParser.ArrayTypeContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#arrayType}. - * @param ctx the parse tree - */ - void exitArrayType(PMLParser.ArrayTypeContext ctx); - /** - * Enter a parse tree produced by the {@code NegateExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void enterNegateExpression(PMLParser.NegateExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code NegateExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void exitNegateExpression(PMLParser.NegateExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code LogicalExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void enterLogicalExpression(PMLParser.LogicalExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code LogicalExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void exitLogicalExpression(PMLParser.LogicalExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code PlusExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void enterPlusExpression(PMLParser.PlusExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code PlusExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void exitPlusExpression(PMLParser.PlusExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code FunctionInvokeExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void enterFunctionInvokeExpression(PMLParser.FunctionInvokeExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code FunctionInvokeExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void exitFunctionInvokeExpression(PMLParser.FunctionInvokeExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code VariableReferenceExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void enterVariableReferenceExpression(PMLParser.VariableReferenceExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code VariableReferenceExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void exitVariableReferenceExpression(PMLParser.VariableReferenceExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code LiteralExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void enterLiteralExpression(PMLParser.LiteralExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code LiteralExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void exitLiteralExpression(PMLParser.LiteralExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code ParenExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void enterParenExpression(PMLParser.ParenExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code ParenExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void exitParenExpression(PMLParser.ParenExpressionContext ctx); - /** - * Enter a parse tree produced by the {@code EqualsExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void enterEqualsExpression(PMLParser.EqualsExpressionContext ctx); - /** - * Exit a parse tree produced by the {@code EqualsExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - */ - void exitEqualsExpression(PMLParser.EqualsExpressionContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#expressionList}. - * @param ctx the parse tree - */ - void enterExpressionList(PMLParser.ExpressionListContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#expressionList}. - * @param ctx the parse tree - */ - void exitExpressionList(PMLParser.ExpressionListContext ctx); - /** - * Enter a parse tree produced by the {@code StringLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - */ - void enterStringLiteral(PMLParser.StringLiteralContext ctx); - /** - * Exit a parse tree produced by the {@code StringLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - */ - void exitStringLiteral(PMLParser.StringLiteralContext ctx); - /** - * Enter a parse tree produced by the {@code BoolLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - */ - void enterBoolLiteral(PMLParser.BoolLiteralContext ctx); - /** - * Exit a parse tree produced by the {@code BoolLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - */ - void exitBoolLiteral(PMLParser.BoolLiteralContext ctx); - /** - * Enter a parse tree produced by the {@code ArrayLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - */ - void enterArrayLiteral(PMLParser.ArrayLiteralContext ctx); - /** - * Exit a parse tree produced by the {@code ArrayLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - */ - void exitArrayLiteral(PMLParser.ArrayLiteralContext ctx); - /** - * Enter a parse tree produced by the {@code MapLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - */ - void enterMapLiteral(PMLParser.MapLiteralContext ctx); - /** - * Exit a parse tree produced by the {@code MapLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - */ - void exitMapLiteral(PMLParser.MapLiteralContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#stringLit}. - * @param ctx the parse tree - */ - void enterStringLit(PMLParser.StringLitContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#stringLit}. - * @param ctx the parse tree - */ - void exitStringLit(PMLParser.StringLitContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#boolLit}. - * @param ctx the parse tree - */ - void enterBoolLit(PMLParser.BoolLitContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#boolLit}. - * @param ctx the parse tree - */ - void exitBoolLit(PMLParser.BoolLitContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#arrayLit}. - * @param ctx the parse tree - */ - void enterArrayLit(PMLParser.ArrayLitContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#arrayLit}. - * @param ctx the parse tree - */ - void exitArrayLit(PMLParser.ArrayLitContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#stringArrayLit}. - * @param ctx the parse tree - */ - void enterStringArrayLit(PMLParser.StringArrayLitContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#stringArrayLit}. - * @param ctx the parse tree - */ - void exitStringArrayLit(PMLParser.StringArrayLitContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#mapLit}. - * @param ctx the parse tree - */ - void enterMapLit(PMLParser.MapLitContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#mapLit}. - * @param ctx the parse tree - */ - void exitMapLit(PMLParser.MapLitContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#element}. - * @param ctx the parse tree - */ - void enterElement(PMLParser.ElementContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#element}. - * @param ctx the parse tree - */ - void exitElement(PMLParser.ElementContext ctx); - /** - * Enter a parse tree produced by the {@code ReferenceByIndex} - * labeled alternative in {@link PMLParser#variableReference}. - * @param ctx the parse tree - */ - void enterReferenceByIndex(PMLParser.ReferenceByIndexContext ctx); - /** - * Exit a parse tree produced by the {@code ReferenceByIndex} - * labeled alternative in {@link PMLParser#variableReference}. - * @param ctx the parse tree - */ - void exitReferenceByIndex(PMLParser.ReferenceByIndexContext ctx); - /** - * Enter a parse tree produced by the {@code ReferenceByID} - * labeled alternative in {@link PMLParser#variableReference}. - * @param ctx the parse tree - */ - void enterReferenceByID(PMLParser.ReferenceByIDContext ctx); - /** - * Exit a parse tree produced by the {@code ReferenceByID} - * labeled alternative in {@link PMLParser#variableReference}. - * @param ctx the parse tree - */ - void exitReferenceByID(PMLParser.ReferenceByIDContext ctx); - /** - * Enter a parse tree produced by the {@code BracketIndex} - * labeled alternative in {@link PMLParser#index}. - * @param ctx the parse tree - */ - void enterBracketIndex(PMLParser.BracketIndexContext ctx); - /** - * Exit a parse tree produced by the {@code BracketIndex} - * labeled alternative in {@link PMLParser#index}. - * @param ctx the parse tree - */ - void exitBracketIndex(PMLParser.BracketIndexContext ctx); - /** - * Enter a parse tree produced by the {@code DotIndex} - * labeled alternative in {@link PMLParser#index}. - * @param ctx the parse tree - */ - void enterDotIndex(PMLParser.DotIndexContext ctx); - /** - * Exit a parse tree produced by the {@code DotIndex} - * labeled alternative in {@link PMLParser#index}. - * @param ctx the parse tree - */ - void exitDotIndex(PMLParser.DotIndexContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#id}. - * @param ctx the parse tree - */ - void enterId(PMLParser.IdContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#id}. - * @param ctx the parse tree - */ - void exitId(PMLParser.IdContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#functionInvoke}. - * @param ctx the parse tree - */ - void enterFunctionInvoke(PMLParser.FunctionInvokeContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#functionInvoke}. - * @param ctx the parse tree - */ - void exitFunctionInvoke(PMLParser.FunctionInvokeContext ctx); - /** - * Enter a parse tree produced by {@link PMLParser#functionInvokeArgs}. - * @param ctx the parse tree - */ - void enterFunctionInvokeArgs(PMLParser.FunctionInvokeArgsContext ctx); - /** - * Exit a parse tree produced by {@link PMLParser#functionInvokeArgs}. - * @param ctx the parse tree - */ - void exitFunctionInvokeArgs(PMLParser.FunctionInvokeArgsContext ctx); -} \ No newline at end of file diff --git a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserVisitor.java b/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserVisitor.java deleted file mode 100644 index fb501024c..000000000 --- a/src/main/java/gov/nist/csd/pm/pap/pml/antlr/PMLParserVisitor.java +++ /dev/null @@ -1,639 +0,0 @@ -// Generated from PMLParser.g4 by ANTLR 4.13.1 -package gov.nist.csd.pm.pap.pml.antlr; -import org.antlr.v4.runtime.tree.ParseTreeVisitor; - -/** - * This interface defines a complete generic visitor for a parse tree produced - * by {@link PMLParser}. - * - * @param The return type of the visit operation. Use {@link Void} for - * operations with no return type. - */ -public interface PMLParserVisitor extends ParseTreeVisitor { - /** - * Visit a parse tree produced by {@link PMLParser#pml}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitPml(PMLParser.PmlContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#statement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitStatement(PMLParser.StatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#statementBlock}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitStatementBlock(PMLParser.StatementBlockContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#createPolicyStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitCreatePolicyStatement(PMLParser.CreatePolicyStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#createNonPCStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitCreateNonPCStatement(PMLParser.CreateNonPCStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#nonPCNodeType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitNonPCNodeType(PMLParser.NonPCNodeTypeContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#createObligationStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitCreateObligationStatement(PMLParser.CreateObligationStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#createRuleStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitCreateRuleStatement(PMLParser.CreateRuleStatementContext ctx); - /** - * Visit a parse tree produced by the {@code AnyUserPattern} - * labeled alternative in {@link PMLParser#subjectPattern}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitAnyUserPattern(PMLParser.AnyUserPatternContext ctx); - /** - * Visit a parse tree produced by the {@code UserPattern} - * labeled alternative in {@link PMLParser#subjectPattern}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitUserPattern(PMLParser.UserPatternContext ctx); - /** - * Visit a parse tree produced by the {@code BasicSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitBasicSubjectPatternExpression(PMLParser.BasicSubjectPatternExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code ParenSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitParenSubjectPatternExpression(PMLParser.ParenSubjectPatternExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code NegateSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitNegateSubjectPatternExpression(PMLParser.NegateSubjectPatternExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code LogicalSubjectPatternExpression} - * labeled alternative in {@link PMLParser#subjectPatternExpression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitLogicalSubjectPatternExpression(PMLParser.LogicalSubjectPatternExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code InSubject} - * labeled alternative in {@link PMLParser#basicSubjectPatternExpr}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitInSubject(PMLParser.InSubjectContext ctx); - /** - * Visit a parse tree produced by the {@code UsernameSubject} - * labeled alternative in {@link PMLParser#basicSubjectPatternExpr}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitUsernameSubject(PMLParser.UsernameSubjectContext ctx); - /** - * Visit a parse tree produced by the {@code ProcessSubject} - * labeled alternative in {@link PMLParser#basicSubjectPatternExpr}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitProcessSubject(PMLParser.ProcessSubjectContext ctx); - /** - * Visit a parse tree produced by the {@code AnyOperation} - * labeled alternative in {@link PMLParser#operationPattern}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitAnyOperation(PMLParser.AnyOperationContext ctx); - /** - * Visit a parse tree produced by the {@code IDOperation} - * labeled alternative in {@link PMLParser#operationPattern}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitIDOperation(PMLParser.IDOperationContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#operandPattern}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitOperandPattern(PMLParser.OperandPatternContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#operandPatternElement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitOperandPatternElement(PMLParser.OperandPatternElementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#operandPatternExpressionArray}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitOperandPatternExpressionArray(PMLParser.OperandPatternExpressionArrayContext ctx); - /** - * Visit a parse tree produced by the {@code ParenOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitParenOperandPatternExpression(PMLParser.ParenOperandPatternExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code NegateOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitNegateOperandPatternExpression(PMLParser.NegateOperandPatternExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code BasicOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitBasicOperandPatternExpression(PMLParser.BasicOperandPatternExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code LogicalOperandPatternExpression} - * labeled alternative in {@link PMLParser#operandPatternExpression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitLogicalOperandPatternExpression(PMLParser.LogicalOperandPatternExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code AnyPolicyElement} - * labeled alternative in {@link PMLParser#basicOperandPatternExpr}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitAnyPolicyElement(PMLParser.AnyPolicyElementContext ctx); - /** - * Visit a parse tree produced by the {@code InPolicyElement} - * labeled alternative in {@link PMLParser#basicOperandPatternExpr}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitInPolicyElement(PMLParser.InPolicyElementContext ctx); - /** - * Visit a parse tree produced by the {@code PolicyElement} - * labeled alternative in {@link PMLParser#basicOperandPatternExpr}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitPolicyElement(PMLParser.PolicyElementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#response}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitResponse(PMLParser.ResponseContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#responseBlock}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitResponseBlock(PMLParser.ResponseBlockContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#responseStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitResponseStatement(PMLParser.ResponseStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#createProhibitionStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitCreateProhibitionStatement(PMLParser.CreateProhibitionStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#setNodePropertiesStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitSetNodePropertiesStatement(PMLParser.SetNodePropertiesStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#assignStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitAssignStatement(PMLParser.AssignStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#deassignStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitDeassignStatement(PMLParser.DeassignStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#associateStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitAssociateStatement(PMLParser.AssociateStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#dissociateStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitDissociateStatement(PMLParser.DissociateStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#setResourceOperationsStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitSetResourceOperationsStatement(PMLParser.SetResourceOperationsStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#deleteStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitDeleteStatement(PMLParser.DeleteStatementContext ctx); - /** - * Visit a parse tree produced by the {@code DeleteNode} - * labeled alternative in {@link PMLParser#deleteType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitDeleteNode(PMLParser.DeleteNodeContext ctx); - /** - * Visit a parse tree produced by the {@code DeleteObligation} - * labeled alternative in {@link PMLParser#deleteType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitDeleteObligation(PMLParser.DeleteObligationContext ctx); - /** - * Visit a parse tree produced by the {@code DeleteProhibition} - * labeled alternative in {@link PMLParser#deleteType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitDeleteProhibition(PMLParser.DeleteProhibitionContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#nodeType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitNodeType(PMLParser.NodeTypeContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#deleteRuleStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitDeleteRuleStatement(PMLParser.DeleteRuleStatementContext ctx); - /** - * Visit a parse tree produced by the {@code VarDeclaration} - * labeled alternative in {@link PMLParser#variableDeclarationStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitVarDeclaration(PMLParser.VarDeclarationContext ctx); - /** - * Visit a parse tree produced by the {@code ShortDeclaration} - * labeled alternative in {@link PMLParser#variableDeclarationStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitShortDeclaration(PMLParser.ShortDeclarationContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#varSpec}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitVarSpec(PMLParser.VarSpecContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#variableAssignmentStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitVariableAssignmentStatement(PMLParser.VariableAssignmentStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#functionDefinitionStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitFunctionDefinitionStatement(PMLParser.FunctionDefinitionStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#functionSignature}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitFunctionSignature(PMLParser.FunctionSignatureContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#formalArgList}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitFormalArgList(PMLParser.FormalArgListContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#formalArg}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitFormalArg(PMLParser.FormalArgContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#returnStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitReturnStatement(PMLParser.ReturnStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#checkStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitCheckStatement(PMLParser.CheckStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#checkStatementBlock}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitCheckStatementBlock(PMLParser.CheckStatementBlockContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#idArr}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitIdArr(PMLParser.IdArrContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#functionInvokeStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitFunctionInvokeStatement(PMLParser.FunctionInvokeStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#foreachStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitForeachStatement(PMLParser.ForeachStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#breakStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitBreakStatement(PMLParser.BreakStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#continueStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitContinueStatement(PMLParser.ContinueStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#ifStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitIfStatement(PMLParser.IfStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#elseIfStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitElseIfStatement(PMLParser.ElseIfStatementContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#elseStatement}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitElseStatement(PMLParser.ElseStatementContext ctx); - /** - * Visit a parse tree produced by the {@code StringType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitStringType(PMLParser.StringTypeContext ctx); - /** - * Visit a parse tree produced by the {@code BooleanType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitBooleanType(PMLParser.BooleanTypeContext ctx); - /** - * Visit a parse tree produced by the {@code ArrayVarType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitArrayVarType(PMLParser.ArrayVarTypeContext ctx); - /** - * Visit a parse tree produced by the {@code MapVarType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitMapVarType(PMLParser.MapVarTypeContext ctx); - /** - * Visit a parse tree produced by the {@code AnyType} - * labeled alternative in {@link PMLParser#variableType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitAnyType(PMLParser.AnyTypeContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#mapType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitMapType(PMLParser.MapTypeContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#arrayType}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitArrayType(PMLParser.ArrayTypeContext ctx); - /** - * Visit a parse tree produced by the {@code NegateExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitNegateExpression(PMLParser.NegateExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code LogicalExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitLogicalExpression(PMLParser.LogicalExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code PlusExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitPlusExpression(PMLParser.PlusExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code FunctionInvokeExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitFunctionInvokeExpression(PMLParser.FunctionInvokeExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code VariableReferenceExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitVariableReferenceExpression(PMLParser.VariableReferenceExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code LiteralExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitLiteralExpression(PMLParser.LiteralExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code ParenExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitParenExpression(PMLParser.ParenExpressionContext ctx); - /** - * Visit a parse tree produced by the {@code EqualsExpression} - * labeled alternative in {@link PMLParser#expression}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitEqualsExpression(PMLParser.EqualsExpressionContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#expressionList}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitExpressionList(PMLParser.ExpressionListContext ctx); - /** - * Visit a parse tree produced by the {@code StringLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitStringLiteral(PMLParser.StringLiteralContext ctx); - /** - * Visit a parse tree produced by the {@code BoolLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitBoolLiteral(PMLParser.BoolLiteralContext ctx); - /** - * Visit a parse tree produced by the {@code ArrayLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitArrayLiteral(PMLParser.ArrayLiteralContext ctx); - /** - * Visit a parse tree produced by the {@code MapLiteral} - * labeled alternative in {@link PMLParser#literal}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitMapLiteral(PMLParser.MapLiteralContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#stringLit}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitStringLit(PMLParser.StringLitContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#boolLit}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitBoolLit(PMLParser.BoolLitContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#arrayLit}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitArrayLit(PMLParser.ArrayLitContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#stringArrayLit}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitStringArrayLit(PMLParser.StringArrayLitContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#mapLit}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitMapLit(PMLParser.MapLitContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#element}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitElement(PMLParser.ElementContext ctx); - /** - * Visit a parse tree produced by the {@code ReferenceByIndex} - * labeled alternative in {@link PMLParser#variableReference}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitReferenceByIndex(PMLParser.ReferenceByIndexContext ctx); - /** - * Visit a parse tree produced by the {@code ReferenceByID} - * labeled alternative in {@link PMLParser#variableReference}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitReferenceByID(PMLParser.ReferenceByIDContext ctx); - /** - * Visit a parse tree produced by the {@code BracketIndex} - * labeled alternative in {@link PMLParser#index}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitBracketIndex(PMLParser.BracketIndexContext ctx); - /** - * Visit a parse tree produced by the {@code DotIndex} - * labeled alternative in {@link PMLParser#index}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitDotIndex(PMLParser.DotIndexContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#id}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitId(PMLParser.IdContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#functionInvoke}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitFunctionInvoke(PMLParser.FunctionInvokeContext ctx); - /** - * Visit a parse tree produced by {@link PMLParser#functionInvokeArgs}. - * @param ctx the parse tree - * @return the visitor result - */ - T visitFunctionInvokeArgs(PMLParser.FunctionInvokeArgsContext ctx); -} \ No newline at end of file diff --git a/src/main/java/gov/nist/csd/pm/pap/pml/compiler/visitor/AssignStmtVisitor.java b/src/main/java/gov/nist/csd/pm/pap/pml/compiler/visitor/AssignStmtVisitor.java index b7cf47b8c..026577ed3 100644 --- a/src/main/java/gov/nist/csd/pm/pap/pml/compiler/visitor/AssignStmtVisitor.java +++ b/src/main/java/gov/nist/csd/pm/pap/pml/compiler/visitor/AssignStmtVisitor.java @@ -1,13 +1,101 @@ package gov.nist.csd.pm.pap.pml.compiler.visitor; +import com.google.protobuf.ByteString; +import com.google.protobuf.Descriptors; +import com.google.protobuf.Message; +import com.google.protobuf.UnknownFieldSet; +import gov.nist.csd.pm.pap.op.routine.CreateAdminRoutineOp; +import gov.nist.csd.pm.pap.op.routine.proto.CreateAdminRoutineOpOrBuilder; import gov.nist.csd.pm.pap.pml.antlr.PMLParser; import gov.nist.csd.pm.pap.pml.expression.Expression; import gov.nist.csd.pm.pap.pml.context.VisitorContext; import gov.nist.csd.pm.pap.pml.statement.operation.AssignStatement; import gov.nist.csd.pm.pap.pml.type.Type; +import java.util.List; +import java.util.Map; + public class AssignStmtVisitor extends PMLBaseVisitor { + public static void main(String[] args) { + new CreateAdminRoutineOpOrBuilder() { + @Override + public Message getDefaultInstanceForType() { + return null; + } + + @Override + public boolean isInitialized() { + return false; + } + + @Override + public List findInitializationErrors() { + return List.of(); + } + + @Override + public String getInitializationErrorString() { + return ""; + } + + @Override + public Descriptors.Descriptor getDescriptorForType() { + return null; + } + + @Override + public Map getAllFields() { + return Map.of(); + } + + @Override + public boolean hasOneof(Descriptors.OneofDescriptor oneof) { + return false; + } + + @Override + public Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof) { + return null; + } + + @Override + public boolean hasField(Descriptors.FieldDescriptor field) { + return false; + } + + @Override + public Object getField(Descriptors.FieldDescriptor field) { + return null; + } + + @Override + public int getRepeatedFieldCount(Descriptors.FieldDescriptor field) { + return 0; + } + + @Override + public Object getRepeatedField(Descriptors.FieldDescriptor field, int index) { + return null; + } + + @Override + public UnknownFieldSet getUnknownFields() { + return null; + } + + @Override + public String getPml() { + return ""; + } + + @Override + public ByteString getPmlBytes() { + return null; + } + }; + } + public AssignStmtVisitor(VisitorContext visitorCtx) { super(visitorCtx); } diff --git a/src/main/java/gov/nist/csd/pm/pdp/PDP.java b/src/main/java/gov/nist/csd/pm/pdp/PDP.java index 0c1fde2de..a687236c7 100644 --- a/src/main/java/gov/nist/csd/pm/pdp/PDP.java +++ b/src/main/java/gov/nist/csd/pm/pdp/PDP.java @@ -123,8 +123,7 @@ public ResourceAdjudicationResponse adjudicateResourceOperation(UserContext user user.getUser(), user.getProcess(), resourceOperation, - Map.of("target", target), - List.of("target") + Map.of("target", target) )); return new ResourceAdjudicationResponse(node); @@ -145,8 +144,7 @@ private Object executeOperation(UserContext user, ExecutionContext ctx, PDPTx pd user.getUser(), user.getProcess(), operation.getName(), - operands, - operation.getNodeOperands() + operands )); if (ret instanceof Value value) { diff --git a/src/main/proto/epp.proto b/src/main/proto/epp.proto new file mode 100644 index 000000000..777f2e18e --- /dev/null +++ b/src/main/proto/epp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +option java_multiple_files = true; +option java_package = "gov.nist.csd.pm.epp.proto"; +option java_outer_classname = "EPPProto"; + +message EventContext { + string user = 1; + string process = 2; + string opName = 3; + map operands = 4; +} + +message EPPResponse {} + +service EPP { + rpc processEvent(EventContext) returns (EPPResponse) {} +} \ No newline at end of file diff --git a/src/main/proto/pdp.proto b/src/main/proto/pdp.proto new file mode 100644 index 000000000..831f071f7 --- /dev/null +++ b/src/main/proto/pdp.proto @@ -0,0 +1,36 @@ +syntax = "proto3"; + +option java_multiple_files = true; +option java_package = "gov.nist.csd.pm.pdp.proto"; +option java_outer_classname = "PDPProto"; + +message ResourceOperationRequest { + string operation = 1; +} + +message ResourceOperationResponse { + string operation = 1; +} + +service ResourcePDP { + rpc AdjudicateResourceOperation(ResourceOperationRequest) returns (ResourceOperationResponse) {} +} + +message AdminOperationRequest { + string opName = 1; + map operands = 2; +} + +message AdminOperationResponse {} + +message AdminRoutineRequest { + repeated AdminOperationRequest ops = 1; +} + +message AdminRoutineResponse {} + + +service AdminPDP { + rpc AdjudicateAdminOperation(AdminOperationRequest) returns (AdminOperationResponse) {} + rpc AdjudicateAdminRoutine(AdminRoutineRequest) returns (AdminRoutineResponse) {} +} \ No newline at end of file