Package dev.cerbos.api.v1.policy
Interface PolicyOuterClass.ConditionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PolicyOuterClass.Condition,PolicyOuterClass.Condition.Builder
- Enclosing class:
- PolicyOuterClass
public static interface PolicyOuterClass.ConditionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyOuterClass.Condition.ConditionCasegetConditionCase()PolicyOuterClass.MatchgetMatch().cerbos.policy.v1.Match match = 1;PolicyOuterClass.MatchOrBuildergetMatchOrBuilder().cerbos.policy.v1.Match match = 1;java.lang.StringgetScript()string script = 2;com.google.protobuf.ByteStringgetScriptBytes()string script = 2;booleanhasMatch().cerbos.policy.v1.Match match = 1;booleanhasScript()string script = 2;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMatch
boolean hasMatch()
.cerbos.policy.v1.Match match = 1;- Returns:
- Whether the match field is set.
-
getMatch
PolicyOuterClass.Match getMatch()
.cerbos.policy.v1.Match match = 1;- Returns:
- The match.
-
getMatchOrBuilder
PolicyOuterClass.MatchOrBuilder getMatchOrBuilder()
.cerbos.policy.v1.Match match = 1;
-
hasScript
boolean hasScript()
string script = 2;- Returns:
- Whether the script field is set.
-
getScript
java.lang.String getScript()
string script = 2;- Returns:
- The script.
-
getScriptBytes
com.google.protobuf.ByteString getScriptBytes()
string script = 2;- Returns:
- The bytes for script.
-
getConditionCase
PolicyOuterClass.Condition.ConditionCase getConditionCase()
-
-