Class PermissionSetChange

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.authzed.api.materialize.v0.PermissionSetChange
All Implemented Interfaces:
PermissionSetChangeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class PermissionSetChange extends com.google.protobuf.GeneratedMessage implements PermissionSetChangeOrBuilder
Protobuf type authzed.api.materialize.v0.PermissionSetChange
See Also:
  • Field Details

    • AT_REVISION_FIELD_NUMBER

      public static final int AT_REVISION_FIELD_NUMBER
      See Also:
    • OPERATION_FIELD_NUMBER

      public static final int OPERATION_FIELD_NUMBER
      See Also:
    • PARENT_SET_FIELD_NUMBER

      public static final int PARENT_SET_FIELD_NUMBER
      See Also:
    • CHILD_SET_FIELD_NUMBER

      public static final int CHILD_SET_FIELD_NUMBER
      See Also:
    • CHILD_MEMBER_FIELD_NUMBER

      public static final int CHILD_MEMBER_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
    • getChildCase

      public PermissionSetChange.ChildCase getChildCase()
      Specified by:
      getChildCase in interface PermissionSetChangeOrBuilder
    • hasAtRevision

      public boolean hasAtRevision()
       revision represents the revision at which the permission set change occurred.
       
      .authzed.api.v1.ZedToken at_revision = 1;
      Specified by:
      hasAtRevision in interface PermissionSetChangeOrBuilder
      Returns:
      Whether the atRevision field is set.
    • getAtRevision

      public ZedToken getAtRevision()
       revision represents the revision at which the permission set change occurred.
       
      .authzed.api.v1.ZedToken at_revision = 1;
      Specified by:
      getAtRevision in interface PermissionSetChangeOrBuilder
      Returns:
      The atRevision.
    • getAtRevisionOrBuilder

      public ZedTokenOrBuilder getAtRevisionOrBuilder()
       revision represents the revision at which the permission set change occurred.
       
      .authzed.api.v1.ZedToken at_revision = 1;
      Specified by:
      getAtRevisionOrBuilder in interface PermissionSetChangeOrBuilder
    • getOperationValue

      public int getOperationValue()
       operation represents the type of set operation that took place as part of the change
       
      .authzed.api.materialize.v0.PermissionSetChange.SetOperation operation = 2;
      Specified by:
      getOperationValue in interface PermissionSetChangeOrBuilder
      Returns:
      The enum numeric value on the wire for operation.
    • getOperation

      public PermissionSetChange.SetOperation getOperation()
       operation represents the type of set operation that took place as part of the change
       
      .authzed.api.materialize.v0.PermissionSetChange.SetOperation operation = 2;
      Specified by:
      getOperation in interface PermissionSetChangeOrBuilder
      Returns:
      The operation.
    • hasParentSet

      public boolean hasParentSet()
       parent_set represents the permission set parent of either another set or a member
       
      .authzed.api.materialize.v0.SetReference parent_set = 3;
      Specified by:
      hasParentSet in interface PermissionSetChangeOrBuilder
      Returns:
      Whether the parentSet field is set.
    • getParentSet

      public SetReference getParentSet()
       parent_set represents the permission set parent of either another set or a member
       
      .authzed.api.materialize.v0.SetReference parent_set = 3;
      Specified by:
      getParentSet in interface PermissionSetChangeOrBuilder
      Returns:
      The parentSet.
    • getParentSetOrBuilder

      public SetReferenceOrBuilder getParentSetOrBuilder()
       parent_set represents the permission set parent of either another set or a member
       
      .authzed.api.materialize.v0.SetReference parent_set = 3;
      Specified by:
      getParentSetOrBuilder in interface PermissionSetChangeOrBuilder
    • hasChildSet

      public boolean hasChildSet()
       child_set represents the scenario where another set is considered member of the parent set
       
      .authzed.api.materialize.v0.SetReference child_set = 4;
      Specified by:
      hasChildSet in interface PermissionSetChangeOrBuilder
      Returns:
      Whether the childSet field is set.
    • getChildSet

      public SetReference getChildSet()
       child_set represents the scenario where another set is considered member of the parent set
       
      .authzed.api.materialize.v0.SetReference child_set = 4;
      Specified by:
      getChildSet in interface PermissionSetChangeOrBuilder
      Returns:
      The childSet.
    • getChildSetOrBuilder

      public SetReferenceOrBuilder getChildSetOrBuilder()
       child_set represents the scenario where another set is considered member of the parent set
       
      .authzed.api.materialize.v0.SetReference child_set = 4;
      Specified by:
      getChildSetOrBuilder in interface PermissionSetChangeOrBuilder
    • hasChildMember

      public boolean hasChildMember()
       child_member represents the scenario where an specific object is considered member of the parent set
       
      .authzed.api.materialize.v0.MemberReference child_member = 5;
      Specified by:
      hasChildMember in interface PermissionSetChangeOrBuilder
      Returns:
      Whether the childMember field is set.
    • getChildMember

      public MemberReference getChildMember()
       child_member represents the scenario where an specific object is considered member of the parent set
       
      .authzed.api.materialize.v0.MemberReference child_member = 5;
      Specified by:
      getChildMember in interface PermissionSetChangeOrBuilder
      Returns:
      The childMember.
    • getChildMemberOrBuilder

      public MemberReferenceOrBuilder getChildMemberOrBuilder()
       child_member represents the scenario where an specific object is considered member of the parent set
       
      .authzed.api.materialize.v0.MemberReference child_member = 5;
      Specified by:
      getChildMemberOrBuilder in interface PermissionSetChangeOrBuilder
    • 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 PermissionSetChange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static PermissionSetChange.Builder newBuilder()
    • newBuilder

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

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

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

      public static PermissionSetChange getDefaultInstance()
    • parser

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

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