Interface RelationshipFilterOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RelationshipFilter, RelationshipFilter.Builder

public interface RelationshipFilterOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    relation is the *optional* relation of the relationship.
    com.google.protobuf.ByteString
    relation is the *optional* relation of the relationship.
    optional_resource_id is the *optional* resource ID of the relationship.
    com.google.protobuf.ByteString
    optional_resource_id is the *optional* resource ID of the relationship.
    optional_resource_id_prefix is the *optional* prefix for the resource ID of the relationship.
    com.google.protobuf.ByteString
    optional_resource_id_prefix is the *optional* prefix for the resource ID of the relationship.
    optional_subject_filter is the optional filter for the subjects of the relationships.
    optional_subject_filter is the optional filter for the subjects of the relationships.
    resource_type is the *optional* resource type of the relationship.
    com.google.protobuf.ByteString
    resource_type is the *optional* resource type of the relationship.
    boolean
    optional_subject_filter is the optional filter for the subjects of the relationships.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getResourceType

      String getResourceType()
       resource_type is the *optional* resource type of the relationship.
       NOTE: It is not prefixed with "optional_" for legacy compatibility.
       
      string resource_type = 1 [(.validate.rules) = { ... }
      Returns:
      The resourceType.
    • getResourceTypeBytes

      com.google.protobuf.ByteString getResourceTypeBytes()
       resource_type is the *optional* resource type of the relationship.
       NOTE: It is not prefixed with "optional_" for legacy compatibility.
       
      string resource_type = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for resourceType.
    • getOptionalResourceId

      String getOptionalResourceId()
       optional_resource_id is the *optional* resource ID of the relationship.
       If specified, optional_resource_id_prefix cannot be specified.
       
      string optional_resource_id = 2 [(.validate.rules) = { ... }
      Returns:
      The optionalResourceId.
    • getOptionalResourceIdBytes

      com.google.protobuf.ByteString getOptionalResourceIdBytes()
       optional_resource_id is the *optional* resource ID of the relationship.
       If specified, optional_resource_id_prefix cannot be specified.
       
      string optional_resource_id = 2 [(.validate.rules) = { ... }
      Returns:
      The bytes for optionalResourceId.
    • getOptionalResourceIdPrefix

      String getOptionalResourceIdPrefix()
       optional_resource_id_prefix is the *optional* prefix for the resource ID of the relationship.
       If specified, optional_resource_id cannot be specified.
       
      string optional_resource_id_prefix = 5 [(.validate.rules) = { ... }
      Returns:
      The optionalResourceIdPrefix.
    • getOptionalResourceIdPrefixBytes

      com.google.protobuf.ByteString getOptionalResourceIdPrefixBytes()
       optional_resource_id_prefix is the *optional* prefix for the resource ID of the relationship.
       If specified, optional_resource_id cannot be specified.
       
      string optional_resource_id_prefix = 5 [(.validate.rules) = { ... }
      Returns:
      The bytes for optionalResourceIdPrefix.
    • getOptionalRelation

      String getOptionalRelation()
       relation is the *optional* relation of the relationship.
       
      string optional_relation = 3 [(.validate.rules) = { ... }
      Returns:
      The optionalRelation.
    • getOptionalRelationBytes

      com.google.protobuf.ByteString getOptionalRelationBytes()
       relation is the *optional* relation of the relationship.
       
      string optional_relation = 3 [(.validate.rules) = { ... }
      Returns:
      The bytes for optionalRelation.
    • hasOptionalSubjectFilter

      boolean hasOptionalSubjectFilter()
       optional_subject_filter is the optional filter for the subjects of the relationships.
       
      .authzed.api.v1.SubjectFilter optional_subject_filter = 4;
      Returns:
      Whether the optionalSubjectFilter field is set.
    • getOptionalSubjectFilter

      SubjectFilter getOptionalSubjectFilter()
       optional_subject_filter is the optional filter for the subjects of the relationships.
       
      .authzed.api.v1.SubjectFilter optional_subject_filter = 4;
      Returns:
      The optionalSubjectFilter.
    • getOptionalSubjectFilterOrBuilder

      SubjectFilterOrBuilder getOptionalSubjectFilterOrBuilder()
       optional_subject_filter is the optional filter for the subjects of the relationships.
       
      .authzed.api.v1.SubjectFilter optional_subject_filter = 4;