Class ReflectionSchemaFilter

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

public final class ReflectionSchemaFilter extends com.google.protobuf.GeneratedMessage implements ReflectionSchemaFilterOrBuilder
 ReflectionSchemaFilter is a filter that can be applied to the schema on reflection.
 
Protobuf type authzed.api.v1.ReflectionSchemaFilter
See Also:
  • Field Details

    • OPTIONAL_DEFINITION_NAME_FILTER_FIELD_NUMBER

      public static final int OPTIONAL_DEFINITION_NAME_FILTER_FIELD_NUMBER
      See Also:
    • OPTIONAL_CAVEAT_NAME_FILTER_FIELD_NUMBER

      public static final int OPTIONAL_CAVEAT_NAME_FILTER_FIELD_NUMBER
      See Also:
    • OPTIONAL_RELATION_NAME_FILTER_FIELD_NUMBER

      public static final int OPTIONAL_RELATION_NAME_FILTER_FIELD_NUMBER
      See Also:
    • OPTIONAL_PERMISSION_NAME_FILTER_FIELD_NUMBER

      public static final int OPTIONAL_PERMISSION_NAME_FILTER_FIELD_NUMBER
      See Also:
  • 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
    • getOptionalDefinitionNameFilter

      public String getOptionalDefinitionNameFilter()
       optional_definition_name_filter is a prefix that is matched against the definition name.
       
      string optional_definition_name_filter = 1;
      Specified by:
      getOptionalDefinitionNameFilter in interface ReflectionSchemaFilterOrBuilder
      Returns:
      The optionalDefinitionNameFilter.
    • getOptionalDefinitionNameFilterBytes

      public com.google.protobuf.ByteString getOptionalDefinitionNameFilterBytes()
       optional_definition_name_filter is a prefix that is matched against the definition name.
       
      string optional_definition_name_filter = 1;
      Specified by:
      getOptionalDefinitionNameFilterBytes in interface ReflectionSchemaFilterOrBuilder
      Returns:
      The bytes for optionalDefinitionNameFilter.
    • getOptionalCaveatNameFilter

      public String getOptionalCaveatNameFilter()
       optional_caveat_name_filter is a prefix that is matched against the caveat name.
       
      string optional_caveat_name_filter = 2;
      Specified by:
      getOptionalCaveatNameFilter in interface ReflectionSchemaFilterOrBuilder
      Returns:
      The optionalCaveatNameFilter.
    • getOptionalCaveatNameFilterBytes

      public com.google.protobuf.ByteString getOptionalCaveatNameFilterBytes()
       optional_caveat_name_filter is a prefix that is matched against the caveat name.
       
      string optional_caveat_name_filter = 2;
      Specified by:
      getOptionalCaveatNameFilterBytes in interface ReflectionSchemaFilterOrBuilder
      Returns:
      The bytes for optionalCaveatNameFilter.
    • getOptionalRelationNameFilter

      public String getOptionalRelationNameFilter()
       optional_relation_name_filter is a prefix that is matched against the relation name.
       
      string optional_relation_name_filter = 3;
      Specified by:
      getOptionalRelationNameFilter in interface ReflectionSchemaFilterOrBuilder
      Returns:
      The optionalRelationNameFilter.
    • getOptionalRelationNameFilterBytes

      public com.google.protobuf.ByteString getOptionalRelationNameFilterBytes()
       optional_relation_name_filter is a prefix that is matched against the relation name.
       
      string optional_relation_name_filter = 3;
      Specified by:
      getOptionalRelationNameFilterBytes in interface ReflectionSchemaFilterOrBuilder
      Returns:
      The bytes for optionalRelationNameFilter.
    • getOptionalPermissionNameFilter

      public String getOptionalPermissionNameFilter()
       optional_permission_name_filter is a prefix that is matched against the permission name.
       
      string optional_permission_name_filter = 4;
      Specified by:
      getOptionalPermissionNameFilter in interface ReflectionSchemaFilterOrBuilder
      Returns:
      The optionalPermissionNameFilter.
    • getOptionalPermissionNameFilterBytes

      public com.google.protobuf.ByteString getOptionalPermissionNameFilterBytes()
       optional_permission_name_filter is a prefix that is matched against the permission name.
       
      string optional_permission_name_filter = 4;
      Specified by:
      getOptionalPermissionNameFilterBytes in interface ReflectionSchemaFilterOrBuilder
      Returns:
      The bytes for optionalPermissionNameFilter.
    • 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 ReflectionSchemaFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ReflectionSchemaFilter.Builder newBuilder()
    • newBuilder

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

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

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

      public static ReflectionSchemaFilter getDefaultInstance()
    • parser

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

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