Class LookupPermissionSetsRequired.Builder

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

public static final class LookupPermissionSetsRequired.Builder extends com.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsRequired.Builder> implements LookupPermissionSetsRequiredOrBuilder
 LookupPermissionSetsRequired is a signal that the consumer should perform a LookupPermissionSets call because
 the permission set snapshot needs to be rebuilt from scratch. This typically happens when the origin SpiceDB
 cluster has seen its schema changed, see BreakingSchemaChange event.
 
Protobuf type authzed.api.materialize.v0.LookupPermissionSetsRequired
  • 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<LookupPermissionSetsRequired.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<LookupPermissionSetsRequired.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<LookupPermissionSetsRequired.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public LookupPermissionSetsRequired.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<LookupPermissionSetsRequired.Builder>
      Throws:
      IOException
    • hasRequiredLookupAt

      public boolean hasRequiredLookupAt()
       required_lookup_at is the snapshot revision at which the permission set needs to be rebuilt to.
       
      .authzed.api.v1.ZedToken required_lookup_at = 1;
      Specified by:
      hasRequiredLookupAt in interface LookupPermissionSetsRequiredOrBuilder
      Returns:
      Whether the requiredLookupAt field is set.
    • getRequiredLookupAt

      public ZedToken getRequiredLookupAt()
       required_lookup_at is the snapshot revision at which the permission set needs to be rebuilt to.
       
      .authzed.api.v1.ZedToken required_lookup_at = 1;
      Specified by:
      getRequiredLookupAt in interface LookupPermissionSetsRequiredOrBuilder
      Returns:
      The requiredLookupAt.
    • setRequiredLookupAt

      public LookupPermissionSetsRequired.Builder setRequiredLookupAt(ZedToken value)
       required_lookup_at is the snapshot revision at which the permission set needs to be rebuilt to.
       
      .authzed.api.v1.ZedToken required_lookup_at = 1;
    • setRequiredLookupAt

      public LookupPermissionSetsRequired.Builder setRequiredLookupAt(ZedToken.Builder builderForValue)
       required_lookup_at is the snapshot revision at which the permission set needs to be rebuilt to.
       
      .authzed.api.v1.ZedToken required_lookup_at = 1;
    • mergeRequiredLookupAt

      public LookupPermissionSetsRequired.Builder mergeRequiredLookupAt(ZedToken value)
       required_lookup_at is the snapshot revision at which the permission set needs to be rebuilt to.
       
      .authzed.api.v1.ZedToken required_lookup_at = 1;
    • clearRequiredLookupAt

      public LookupPermissionSetsRequired.Builder clearRequiredLookupAt()
       required_lookup_at is the snapshot revision at which the permission set needs to be rebuilt to.
       
      .authzed.api.v1.ZedToken required_lookup_at = 1;
    • getRequiredLookupAtBuilder

      public ZedToken.Builder getRequiredLookupAtBuilder()
       required_lookup_at is the snapshot revision at which the permission set needs to be rebuilt to.
       
      .authzed.api.v1.ZedToken required_lookup_at = 1;
    • getRequiredLookupAtOrBuilder

      public ZedTokenOrBuilder getRequiredLookupAtOrBuilder()
       required_lookup_at is the snapshot revision at which the permission set needs to be rebuilt to.
       
      .authzed.api.v1.ZedToken required_lookup_at = 1;
      Specified by:
      getRequiredLookupAtOrBuilder in interface LookupPermissionSetsRequiredOrBuilder