Class ReflectionDefinition

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.authzed.api.v1.ReflectionDefinition
All Implemented Interfaces:
ReflectionDefinitionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class ReflectionDefinition extends com.google.protobuf.GeneratedMessage implements ReflectionDefinitionOrBuilder
 ReflectionDefinition is the representation of a definition in the schema.
 
Protobuf type authzed.api.v1.ReflectionDefinition
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
      string name = 1;
      Specified by:
      getName in interface ReflectionDefinitionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1;
      Specified by:
      getNameBytes in interface ReflectionDefinitionOrBuilder
      Returns:
      The bytes for name.
    • getComment

      public String getComment()
       comment is a human-readable comments on the definition. Will include
       delimiter characters.
       
      string comment = 2;
      Specified by:
      getComment in interface ReflectionDefinitionOrBuilder
      Returns:
      The comment.
    • getCommentBytes

      public com.google.protobuf.ByteString getCommentBytes()
       comment is a human-readable comments on the definition. Will include
       delimiter characters.
       
      string comment = 2;
      Specified by:
      getCommentBytes in interface ReflectionDefinitionOrBuilder
      Returns:
      The bytes for comment.
    • getRelationsList

      public List<ReflectionRelation> getRelationsList()
      repeated .authzed.api.v1.ReflectionRelation relations = 3;
      Specified by:
      getRelationsList in interface ReflectionDefinitionOrBuilder
    • getRelationsOrBuilderList

      public List<? extends ReflectionRelationOrBuilder> getRelationsOrBuilderList()
      repeated .authzed.api.v1.ReflectionRelation relations = 3;
      Specified by:
      getRelationsOrBuilderList in interface ReflectionDefinitionOrBuilder
    • getRelationsCount

      public int getRelationsCount()
      repeated .authzed.api.v1.ReflectionRelation relations = 3;
      Specified by:
      getRelationsCount in interface ReflectionDefinitionOrBuilder
    • getRelations

      public ReflectionRelation getRelations(int index)
      repeated .authzed.api.v1.ReflectionRelation relations = 3;
      Specified by:
      getRelations in interface ReflectionDefinitionOrBuilder
    • getRelationsOrBuilder

      public ReflectionRelationOrBuilder getRelationsOrBuilder(int index)
      repeated .authzed.api.v1.ReflectionRelation relations = 3;
      Specified by:
      getRelationsOrBuilder in interface ReflectionDefinitionOrBuilder
    • getPermissionsList

      public List<ReflectionPermission> getPermissionsList()
      repeated .authzed.api.v1.ReflectionPermission permissions = 4;
      Specified by:
      getPermissionsList in interface ReflectionDefinitionOrBuilder
    • getPermissionsOrBuilderList

      public List<? extends ReflectionPermissionOrBuilder> getPermissionsOrBuilderList()
      repeated .authzed.api.v1.ReflectionPermission permissions = 4;
      Specified by:
      getPermissionsOrBuilderList in interface ReflectionDefinitionOrBuilder
    • getPermissionsCount

      public int getPermissionsCount()
      repeated .authzed.api.v1.ReflectionPermission permissions = 4;
      Specified by:
      getPermissionsCount in interface ReflectionDefinitionOrBuilder
    • getPermissions

      public ReflectionPermission getPermissions(int index)
      repeated .authzed.api.v1.ReflectionPermission permissions = 4;
      Specified by:
      getPermissions in interface ReflectionDefinitionOrBuilder
    • getPermissionsOrBuilder

      public ReflectionPermissionOrBuilder getPermissionsOrBuilder(int index)
      repeated .authzed.api.v1.ReflectionPermission permissions = 4;
      Specified by:
      getPermissionsOrBuilder in interface ReflectionDefinitionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ReflectionDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReflectionDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReflectionDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReflectionDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReflectionDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReflectionDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ReflectionDefinition parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReflectionDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ReflectionDefinition parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ReflectionDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReflectionDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReflectionDefinition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ReflectionDefinition.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ReflectionDefinition.Builder newBuilder()
    • newBuilder

      public static ReflectionDefinition.Builder newBuilder(ReflectionDefinition prototype)
    • toBuilder

      public ReflectionDefinition.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ReflectionDefinition.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ReflectionDefinition getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ReflectionDefinition> parser()
    • getParserForType

      public com.google.protobuf.Parser<ReflectionDefinition> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ReflectionDefinition getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder