Class PermissionSetChange.Builder

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

public static final class PermissionSetChange.Builder extends com.google.protobuf.GeneratedMessage.Builder<PermissionSetChange.Builder> implements PermissionSetChangeOrBuilder
Protobuf type authzed.api.materialize.v0.PermissionSetChange
  • 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<PermissionSetChange.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<PermissionSetChange.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<PermissionSetChange.Builder>
    • getDefaultInstanceForType

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

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

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

      public PermissionSetChange.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<PermissionSetChange.Builder>
    • mergeFrom

    • isInitialized

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

      public PermissionSetChange.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<PermissionSetChange.Builder>
      Throws:
      IOException
    • getChildCase

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

      public PermissionSetChange.Builder clearChild()
    • 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.
    • setAtRevision

      public PermissionSetChange.Builder setAtRevision(ZedToken value)
       revision represents the revision at which the permission set change occurred.
       
      .authzed.api.v1.ZedToken at_revision = 1;
    • setAtRevision

      public PermissionSetChange.Builder setAtRevision(ZedToken.Builder builderForValue)
       revision represents the revision at which the permission set change occurred.
       
      .authzed.api.v1.ZedToken at_revision = 1;
    • mergeAtRevision

      public PermissionSetChange.Builder mergeAtRevision(ZedToken value)
       revision represents the revision at which the permission set change occurred.
       
      .authzed.api.v1.ZedToken at_revision = 1;
    • clearAtRevision

      public PermissionSetChange.Builder clearAtRevision()
       revision represents the revision at which the permission set change occurred.
       
      .authzed.api.v1.ZedToken at_revision = 1;
    • getAtRevisionBuilder

      public ZedToken.Builder getAtRevisionBuilder()
       revision represents the revision at which the permission set change occurred.
       
      .authzed.api.v1.ZedToken at_revision = 1;
    • 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.
    • setOperationValue

      public PermissionSetChange.Builder setOperationValue(int value)
       operation represents the type of set operation that took place as part of the change
       
      .authzed.api.materialize.v0.PermissionSetChange.SetOperation operation = 2;
      Parameters:
      value - The enum numeric value on the wire for operation to set.
      Returns:
      This builder for chaining.
    • 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.
    • setOperation

       operation represents the type of set operation that took place as part of the change
       
      .authzed.api.materialize.v0.PermissionSetChange.SetOperation operation = 2;
      Parameters:
      value - The operation to set.
      Returns:
      This builder for chaining.
    • clearOperation

      public PermissionSetChange.Builder clearOperation()
       operation represents the type of set operation that took place as part of the change
       
      .authzed.api.materialize.v0.PermissionSetChange.SetOperation operation = 2;
      Returns:
      This builder for chaining.
    • 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.
    • setParentSet

      public PermissionSetChange.Builder setParentSet(SetReference value)
       parent_set represents the permission set parent of either another set or a member
       
      .authzed.api.materialize.v0.SetReference parent_set = 3;
    • setParentSet

      public PermissionSetChange.Builder setParentSet(SetReference.Builder builderForValue)
       parent_set represents the permission set parent of either another set or a member
       
      .authzed.api.materialize.v0.SetReference parent_set = 3;
    • mergeParentSet

      public PermissionSetChange.Builder mergeParentSet(SetReference value)
       parent_set represents the permission set parent of either another set or a member
       
      .authzed.api.materialize.v0.SetReference parent_set = 3;
    • clearParentSet

      public PermissionSetChange.Builder clearParentSet()
       parent_set represents the permission set parent of either another set or a member
       
      .authzed.api.materialize.v0.SetReference parent_set = 3;
    • getParentSetBuilder

      public SetReference.Builder getParentSetBuilder()
       parent_set represents the permission set parent of either another set or a member
       
      .authzed.api.materialize.v0.SetReference parent_set = 3;
    • 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.
    • setChildSet

      public PermissionSetChange.Builder setChildSet(SetReference value)
       child_set represents the scenario where another set is considered member of the parent set
       
      .authzed.api.materialize.v0.SetReference child_set = 4;
    • setChildSet

      public PermissionSetChange.Builder setChildSet(SetReference.Builder builderForValue)
       child_set represents the scenario where another set is considered member of the parent set
       
      .authzed.api.materialize.v0.SetReference child_set = 4;
    • mergeChildSet

      public PermissionSetChange.Builder mergeChildSet(SetReference value)
       child_set represents the scenario where another set is considered member of the parent set
       
      .authzed.api.materialize.v0.SetReference child_set = 4;
    • clearChildSet

      public PermissionSetChange.Builder clearChildSet()
       child_set represents the scenario where another set is considered member of the parent set
       
      .authzed.api.materialize.v0.SetReference child_set = 4;
    • getChildSetBuilder

      public SetReference.Builder getChildSetBuilder()
       child_set represents the scenario where another set is considered member of the parent set
       
      .authzed.api.materialize.v0.SetReference child_set = 4;
    • 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.
    • setChildMember

      public PermissionSetChange.Builder setChildMember(MemberReference value)
       child_member represents the scenario where an specific object is considered member of the parent set
       
      .authzed.api.materialize.v0.MemberReference child_member = 5;
    • setChildMember

      public PermissionSetChange.Builder setChildMember(MemberReference.Builder builderForValue)
       child_member represents the scenario where an specific object is considered member of the parent set
       
      .authzed.api.materialize.v0.MemberReference child_member = 5;
    • mergeChildMember

      public PermissionSetChange.Builder mergeChildMember(MemberReference value)
       child_member represents the scenario where an specific object is considered member of the parent set
       
      .authzed.api.materialize.v0.MemberReference child_member = 5;
    • clearChildMember

      public PermissionSetChange.Builder clearChildMember()
       child_member represents the scenario where an specific object is considered member of the parent set
       
      .authzed.api.materialize.v0.MemberReference child_member = 5;
    • getChildMemberBuilder

      public MemberReference.Builder getChildMemberBuilder()
       child_member represents the scenario where an specific object is considered member of the parent set
       
      .authzed.api.materialize.v0.MemberReference child_member = 5;
    • 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