Package com.authzed.api.v1
Interface ExpTypeReferenceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExpTypeReference
,ExpTypeReference.Builder
public interface ExpTypeReferenceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
is_public_wildcard is true if the subject is a public wildcard.boolean
is_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation.optional_caveat_name is the name of the caveat that is applied to the subject, if any.com.google.protobuf.ByteString
optional_caveat_name is the name of the caveat that is applied to the subject, if any.optional_relation_name is the name of the relation that is applied to the subject, if any.com.google.protobuf.ByteString
optional_relation_name is the name of the relation that is applied to the subject, if any.subject_definition_name is the name of the subject's definition.com.google.protobuf.ByteString
subject_definition_name is the name of the subject's definition.boolean
is_public_wildcard is true if the subject is a public wildcard.boolean
is_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation.boolean
optional_relation_name is the name of the relation that is applied to the subject, if any.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
-
getSubjectDefinitionName
String getSubjectDefinitionName()subject_definition_name is the name of the subject's definition.
string subject_definition_name = 1;
- Returns:
- The subjectDefinitionName.
-
getSubjectDefinitionNameBytes
com.google.protobuf.ByteString getSubjectDefinitionNameBytes()subject_definition_name is the name of the subject's definition.
string subject_definition_name = 1;
- Returns:
- The bytes for subjectDefinitionName.
-
getOptionalCaveatName
String getOptionalCaveatName()optional_caveat_name is the name of the caveat that is applied to the subject, if any.
string optional_caveat_name = 2;
- Returns:
- The optionalCaveatName.
-
getOptionalCaveatNameBytes
com.google.protobuf.ByteString getOptionalCaveatNameBytes()optional_caveat_name is the name of the caveat that is applied to the subject, if any.
string optional_caveat_name = 2;
- Returns:
- The bytes for optionalCaveatName.
-
hasIsTerminalSubject
boolean hasIsTerminalSubject()is_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation.
bool is_terminal_subject = 3;
- Returns:
- Whether the isTerminalSubject field is set.
-
getIsTerminalSubject
boolean getIsTerminalSubject()is_terminal_subject is true if the subject is terminal, meaning it is referenced directly vs a sub-relation.
bool is_terminal_subject = 3;
- Returns:
- The isTerminalSubject.
-
hasOptionalRelationName
boolean hasOptionalRelationName()optional_relation_name is the name of the relation that is applied to the subject, if any.
string optional_relation_name = 4;
- Returns:
- Whether the optionalRelationName field is set.
-
getOptionalRelationName
String getOptionalRelationName()optional_relation_name is the name of the relation that is applied to the subject, if any.
string optional_relation_name = 4;
- Returns:
- The optionalRelationName.
-
getOptionalRelationNameBytes
com.google.protobuf.ByteString getOptionalRelationNameBytes()optional_relation_name is the name of the relation that is applied to the subject, if any.
string optional_relation_name = 4;
- Returns:
- The bytes for optionalRelationName.
-
hasIsPublicWildcard
boolean hasIsPublicWildcard()is_public_wildcard is true if the subject is a public wildcard.
bool is_public_wildcard = 5;
- Returns:
- Whether the isPublicWildcard field is set.
-
getIsPublicWildcard
boolean getIsPublicWildcard()is_public_wildcard is true if the subject is a public wildcard.
bool is_public_wildcard = 5;
- Returns:
- The isPublicWildcard.
-
getTyperefCase
ExpTypeReference.TyperefCase getTyperefCase()
-