Class ExpSchemaFilter.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExpSchemaFilter.Builder>
com.authzed.api.v1.ExpSchemaFilter.Builder
All Implemented Interfaces:
ExpSchemaFilterOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExpSchemaFilter

public static final class ExpSchemaFilter.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExpSchemaFilter.Builder> implements ExpSchemaFilterOrBuilder
 ExpSchemaFilter is a filter that can be applied to the schema on reflection.
 
Protobuf type authzed.api.v1.ExpSchemaFilter
  • 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.Builder<ExpSchemaFilter.Builder>
    • clear

      public ExpSchemaFilter.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ExpSchemaFilter.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ExpSchemaFilter.Builder>
    • getDefaultInstanceForType

      public ExpSchemaFilter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ExpSchemaFilter build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExpSchemaFilter buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExpSchemaFilter.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExpSchemaFilter.Builder>
    • mergeFrom

      public ExpSchemaFilter.Builder mergeFrom(ExpSchemaFilter other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExpSchemaFilter.Builder>
    • mergeFrom

      public ExpSchemaFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExpSchemaFilter.Builder>
      Throws:
      IOException
    • 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 ExpSchemaFilterOrBuilder
      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 ExpSchemaFilterOrBuilder
      Returns:
      The bytes for optionalDefinitionNameFilter.
    • setOptionalDefinitionNameFilter

      public ExpSchemaFilter.Builder setOptionalDefinitionNameFilter(String value)
       optional_definition_name_filter is a prefix that is matched against the definition name.
       
      string optional_definition_name_filter = 1;
      Parameters:
      value - The optionalDefinitionNameFilter to set.
      Returns:
      This builder for chaining.
    • clearOptionalDefinitionNameFilter

      public ExpSchemaFilter.Builder clearOptionalDefinitionNameFilter()
       optional_definition_name_filter is a prefix that is matched against the definition name.
       
      string optional_definition_name_filter = 1;
      Returns:
      This builder for chaining.
    • setOptionalDefinitionNameFilterBytes

      public ExpSchemaFilter.Builder setOptionalDefinitionNameFilterBytes(com.google.protobuf.ByteString value)
       optional_definition_name_filter is a prefix that is matched against the definition name.
       
      string optional_definition_name_filter = 1;
      Parameters:
      value - The bytes for optionalDefinitionNameFilter to set.
      Returns:
      This builder for chaining.
    • 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 ExpSchemaFilterOrBuilder
      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 ExpSchemaFilterOrBuilder
      Returns:
      The bytes for optionalCaveatNameFilter.
    • setOptionalCaveatNameFilter

      public ExpSchemaFilter.Builder setOptionalCaveatNameFilter(String value)
       optional_caveat_name_filter is a prefix that is matched against the caveat name.
       
      string optional_caveat_name_filter = 2;
      Parameters:
      value - The optionalCaveatNameFilter to set.
      Returns:
      This builder for chaining.
    • clearOptionalCaveatNameFilter

      public ExpSchemaFilter.Builder clearOptionalCaveatNameFilter()
       optional_caveat_name_filter is a prefix that is matched against the caveat name.
       
      string optional_caveat_name_filter = 2;
      Returns:
      This builder for chaining.
    • setOptionalCaveatNameFilterBytes

      public ExpSchemaFilter.Builder setOptionalCaveatNameFilterBytes(com.google.protobuf.ByteString value)
       optional_caveat_name_filter is a prefix that is matched against the caveat name.
       
      string optional_caveat_name_filter = 2;
      Parameters:
      value - The bytes for optionalCaveatNameFilter to set.
      Returns:
      This builder for chaining.
    • 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 ExpSchemaFilterOrBuilder
      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 ExpSchemaFilterOrBuilder
      Returns:
      The bytes for optionalRelationNameFilter.
    • setOptionalRelationNameFilter

      public ExpSchemaFilter.Builder setOptionalRelationNameFilter(String value)
       optional_relation_name_filter is a prefix that is matched against the relation name.
       
      string optional_relation_name_filter = 3;
      Parameters:
      value - The optionalRelationNameFilter to set.
      Returns:
      This builder for chaining.
    • clearOptionalRelationNameFilter

      public ExpSchemaFilter.Builder clearOptionalRelationNameFilter()
       optional_relation_name_filter is a prefix that is matched against the relation name.
       
      string optional_relation_name_filter = 3;
      Returns:
      This builder for chaining.
    • setOptionalRelationNameFilterBytes

      public ExpSchemaFilter.Builder setOptionalRelationNameFilterBytes(com.google.protobuf.ByteString value)
       optional_relation_name_filter is a prefix that is matched against the relation name.
       
      string optional_relation_name_filter = 3;
      Parameters:
      value - The bytes for optionalRelationNameFilter to set.
      Returns:
      This builder for chaining.
    • 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 ExpSchemaFilterOrBuilder
      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 ExpSchemaFilterOrBuilder
      Returns:
      The bytes for optionalPermissionNameFilter.
    • setOptionalPermissionNameFilter

      public ExpSchemaFilter.Builder setOptionalPermissionNameFilter(String value)
       optional_permission_name_filter is a prefix that is matched against the permission name.
       
      string optional_permission_name_filter = 4;
      Parameters:
      value - The optionalPermissionNameFilter to set.
      Returns:
      This builder for chaining.
    • clearOptionalPermissionNameFilter

      public ExpSchemaFilter.Builder clearOptionalPermissionNameFilter()
       optional_permission_name_filter is a prefix that is matched against the permission name.
       
      string optional_permission_name_filter = 4;
      Returns:
      This builder for chaining.
    • setOptionalPermissionNameFilterBytes

      public ExpSchemaFilter.Builder setOptionalPermissionNameFilterBytes(com.google.protobuf.ByteString value)
       optional_permission_name_filter is a prefix that is matched against the permission name.
       
      string optional_permission_name_filter = 4;
      Parameters:
      value - The bytes for optionalPermissionNameFilter to set.
      Returns:
      This builder for chaining.