-
- All Implemented Interfaces:
-
com.authzed.api.v1.Core.SubjectReferenceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class Core.SubjectReference extends GeneratedMessageV3 implements Core.SubjectReferenceOrBuilder
Protobuf typeSubjectReference is used for referring to the subject portion of a Relationship. The relation component is optional and is used for defining a sub-relation on the subject, e.g. group:123#membersauthzed.api.v1.SubjectReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCore.SubjectReference.Builder
Protobuf typeSubjectReference is used for referring to the subject portion of a Relationship. The relation component is optional and is used for defining a sub-relation on the subject, e.g. group:123#membersauthzed.api.v1.SubjectReference
-
Field Summary
Fields Modifier and Type Field Description public final static intOBJECT_FIELD_NUMBERpublic final static intOPTIONAL_RELATION_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final UnknownFieldSetgetUnknownFields()final static Descriptors.DescriptorgetDescriptor()booleanhasObject().authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ... }Core.ObjectReferencegetObject().authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ... }Core.ObjectReferenceOrBuildergetObjectOrBuilder().authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ... }StringgetOptionalRelation()string optional_relation = 2 [(.validate.rules) = { ... }ByteStringgetOptionalRelationBytes()string optional_relation = 2 [(.validate.rules) = { ... }final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static Core.SubjectReferenceparseFrom(ByteBuffer data)static Core.SubjectReferenceparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static Core.SubjectReferenceparseFrom(ByteString data)static Core.SubjectReferenceparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static Core.SubjectReferenceparseFrom(Array<byte> data)static Core.SubjectReferenceparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static Core.SubjectReferenceparseFrom(InputStream input)static Core.SubjectReferenceparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static Core.SubjectReferenceparseDelimitedFrom(InputStream input)static Core.SubjectReferenceparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static Core.SubjectReferenceparseFrom(CodedInputStream input)static Core.SubjectReferenceparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)Core.SubjectReference.BuildernewBuilderForType()static Core.SubjectReference.BuildernewBuilder()static Core.SubjectReference.BuildernewBuilder(Core.SubjectReference prototype)Core.SubjectReference.BuildertoBuilder()static Core.SubjectReferencegetDefaultInstance()static Parser<Core.SubjectReference>parser()Parser<Core.SubjectReference>getParserForType()Core.SubjectReferencegetDefaultInstanceForType()-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof -
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.Message
getParserForType -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getUnknownFields
final UnknownFieldSet getUnknownFields()
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
hasObject
boolean hasObject()
.authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ... }
-
getObject
Core.ObjectReference getObject()
.authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ... }
-
getObjectOrBuilder
Core.ObjectReferenceOrBuilder getObjectOrBuilder()
.authzed.api.v1.ObjectReference object = 1 [(.validate.rules) = { ... }
-
getOptionalRelation
String getOptionalRelation()
string optional_relation = 2 [(.validate.rules) = { ... }
-
getOptionalRelationBytes
ByteString getOptionalRelationBytes()
string optional_relation = 2 [(.validate.rules) = { ... }
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
equals
boolean equals(Object obj)
-
hashCode
int hashCode()
-
parseFrom
static Core.SubjectReference parseFrom(ByteBuffer data)
-
parseFrom
static Core.SubjectReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Core.SubjectReference parseFrom(ByteString data)
-
parseFrom
static Core.SubjectReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Core.SubjectReference parseFrom(Array<byte> data)
-
parseFrom
static Core.SubjectReference parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Core.SubjectReference parseFrom(InputStream input)
-
parseFrom
static Core.SubjectReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static Core.SubjectReference parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static Core.SubjectReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Core.SubjectReference parseFrom(CodedInputStream input)
-
parseFrom
static Core.SubjectReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
Core.SubjectReference.Builder newBuilderForType()
-
newBuilder
static Core.SubjectReference.Builder newBuilder()
-
newBuilder
static Core.SubjectReference.Builder newBuilder(Core.SubjectReference prototype)
-
toBuilder
Core.SubjectReference.Builder toBuilder()
-
getDefaultInstance
static Core.SubjectReference getDefaultInstance()
-
parser
static Parser<Core.SubjectReference> parser()
-
getParserForType
Parser<Core.SubjectReference> getParserForType()
-
getDefaultInstanceForType
Core.SubjectReference getDefaultInstanceForType()
-
-
-
-