Class ReflectSchemaResponse

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

public final class ReflectSchemaResponse extends com.google.protobuf.GeneratedMessage implements ReflectSchemaResponseOrBuilder
Protobuf type authzed.api.v1.ReflectSchemaResponse
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
    • getDefinitionsList

      public List<ReflectionDefinition> getDefinitionsList()
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
      Specified by:
      getDefinitionsList in interface ReflectSchemaResponseOrBuilder
    • getDefinitionsOrBuilderList

      public List<? extends ReflectionDefinitionOrBuilder> getDefinitionsOrBuilderList()
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
      Specified by:
      getDefinitionsOrBuilderList in interface ReflectSchemaResponseOrBuilder
    • getDefinitionsCount

      public int getDefinitionsCount()
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
      Specified by:
      getDefinitionsCount in interface ReflectSchemaResponseOrBuilder
    • getDefinitions

      public ReflectionDefinition getDefinitions(int index)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
      Specified by:
      getDefinitions in interface ReflectSchemaResponseOrBuilder
    • getDefinitionsOrBuilder

      public ReflectionDefinitionOrBuilder getDefinitionsOrBuilder(int index)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
      Specified by:
      getDefinitionsOrBuilder in interface ReflectSchemaResponseOrBuilder
    • getCaveatsList

      public List<ReflectionCaveat> getCaveatsList()
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
      Specified by:
      getCaveatsList in interface ReflectSchemaResponseOrBuilder
    • getCaveatsOrBuilderList

      public List<? extends ReflectionCaveatOrBuilder> getCaveatsOrBuilderList()
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
      Specified by:
      getCaveatsOrBuilderList in interface ReflectSchemaResponseOrBuilder
    • getCaveatsCount

      public int getCaveatsCount()
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
      Specified by:
      getCaveatsCount in interface ReflectSchemaResponseOrBuilder
    • getCaveats

      public ReflectionCaveat getCaveats(int index)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
      Specified by:
      getCaveats in interface ReflectSchemaResponseOrBuilder
    • getCaveatsOrBuilder

      public ReflectionCaveatOrBuilder getCaveatsOrBuilder(int index)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
      Specified by:
      getCaveatsOrBuilder in interface ReflectSchemaResponseOrBuilder
    • hasReadAt

      public boolean hasReadAt()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 3;
      Specified by:
      hasReadAt in interface ReflectSchemaResponseOrBuilder
      Returns:
      Whether the readAt field is set.
    • getReadAt

      public ZedToken getReadAt()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 3;
      Specified by:
      getReadAt in interface ReflectSchemaResponseOrBuilder
      Returns:
      The readAt.
    • getReadAtOrBuilder

      public ZedTokenOrBuilder getReadAtOrBuilder()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 3;
      Specified by:
      getReadAtOrBuilder in interface ReflectSchemaResponseOrBuilder
    • 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 ReflectSchemaResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ReflectSchemaResponse.Builder newBuilder()
    • newBuilder

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

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

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

      public static ReflectSchemaResponse getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ReflectSchemaResponse> 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 ReflectSchemaResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder