Interface PermissionChangeOrBuilder

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

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

    Modifier and Type
    Method
    Description
    permission is the permission that has changed.
    com.google.protobuf.ByteString
    permission is the permission that has changed.
    permissionship is the new permissionship of the subject over the resource after the change.
    int
    permissionship is the new permissionship of the subject over the resource after the change.
    resource is the resource that the permission change is related to.
    resource is the resource that the permission change is related to.
    revision represents the revision at which the change occurred.
    revision represents the revision at which the change occurred.
    subject is the subject that the permission change is related to.
    subject is the subject that the permission change is related to.
    boolean
    resource is the resource that the permission change is related to.
    boolean
    revision represents the revision at which the change occurred.
    boolean
    subject is the subject that the permission change is related to.

    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

    • hasRevision

      boolean hasRevision()
       revision represents the revision at which the change occurred.
       
      .authzed.api.v1.ZedToken revision = 1;
      Returns:
      Whether the revision field is set.
    • getRevision

      ZedToken getRevision()
       revision represents the revision at which the change occurred.
       
      .authzed.api.v1.ZedToken revision = 1;
      Returns:
      The revision.
    • getRevisionOrBuilder

      ZedTokenOrBuilder getRevisionOrBuilder()
       revision represents the revision at which the change occurred.
       
      .authzed.api.v1.ZedToken revision = 1;
    • hasResource

      boolean hasResource()
       resource is the resource that the permission change is related to.
       
      .authzed.api.v1.ObjectReference resource = 2;
      Returns:
      Whether the resource field is set.
    • getResource

      ObjectReference getResource()
       resource is the resource that the permission change is related to.
       
      .authzed.api.v1.ObjectReference resource = 2;
      Returns:
      The resource.
    • getResourceOrBuilder

      ObjectReferenceOrBuilder getResourceOrBuilder()
       resource is the resource that the permission change is related to.
       
      .authzed.api.v1.ObjectReference resource = 2;
    • getPermission

      String getPermission()
       permission is the permission that has changed.
       
      string permission = 3;
      Returns:
      The permission.
    • getPermissionBytes

      com.google.protobuf.ByteString getPermissionBytes()
       permission is the permission that has changed.
       
      string permission = 3;
      Returns:
      The bytes for permission.
    • hasSubject

      boolean hasSubject()
       subject is the subject that the permission change is related to.
       
      .authzed.api.v1.SubjectReference subject = 4;
      Returns:
      Whether the subject field is set.
    • getSubject

      SubjectReference getSubject()
       subject is the subject that the permission change is related to.
       
      .authzed.api.v1.SubjectReference subject = 4;
      Returns:
      The subject.
    • getSubjectOrBuilder

      SubjectReferenceOrBuilder getSubjectOrBuilder()
       subject is the subject that the permission change is related to.
       
      .authzed.api.v1.SubjectReference subject = 4;
    • getPermissionshipValue

      int getPermissionshipValue()
       permissionship is the new permissionship of the subject over the resource after the change.
       
      .authzed.api.materialize.v0.PermissionChange.Permissionship permissionship = 5;
      Returns:
      The enum numeric value on the wire for permissionship.
    • getPermissionship

      PermissionChange.Permissionship getPermissionship()
       permissionship is the new permissionship of the subject over the resource after the change.
       
      .authzed.api.materialize.v0.PermissionChange.Permissionship permissionship = 5;
      Returns:
      The permissionship.