Package com.authzed.api.v1
Interface SubjectReferenceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SubjectReference
,SubjectReference.Builder
public interface SubjectReferenceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ...
.authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ...
string optional_relation = 2 [(.validate.rules) = { ...
com.google.protobuf.ByteString
string optional_relation = 2 [(.validate.rules) = { ...
boolean
.authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ...
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasObject
boolean hasObject().authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ... }
- Returns:
- Whether the object field is set.
-
getObject
ObjectReference getObject().authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ... }
- Returns:
- The object.
-
getObjectOrBuilder
ObjectReferenceOrBuilder getObjectOrBuilder().authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ... }
-
getOptionalRelation
String getOptionalRelation()string optional_relation = 2 [(.validate.rules) = { ... }
- Returns:
- The optionalRelation.
-
getOptionalRelationBytes
com.google.protobuf.ByteString getOptionalRelationBytes()string optional_relation = 2 [(.validate.rules) = { ... }
- Returns:
- The bytes for optionalRelation.
-