Class LookupPermissionSetsResponse.Builder

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

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

      public LookupPermissionSetsResponse 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 LookupPermissionSetsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public LookupPermissionSetsResponse.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<LookupPermissionSetsResponse.Builder>
      Throws:
      IOException
    • hasChange

      public boolean hasChange()
       change represents the permission set delta necessary to transition an uninitialized target system to
       a specific snapshot revision. In practice it's not different from the WatchPermissionSetsResponse.change, except
       all changes will be of time SET_OPERATION_ADDED because it's assumed there is no known previous state.
      
       Applying the deltas to a previously initialized target system would yield incorrect results.
       
      .authzed.api.materialize.v0.PermissionSetChange change = 1;
      Specified by:
      hasChange in interface LookupPermissionSetsResponseOrBuilder
      Returns:
      Whether the change field is set.
    • getChange

      public PermissionSetChange getChange()
       change represents the permission set delta necessary to transition an uninitialized target system to
       a specific snapshot revision. In practice it's not different from the WatchPermissionSetsResponse.change, except
       all changes will be of time SET_OPERATION_ADDED because it's assumed there is no known previous state.
      
       Applying the deltas to a previously initialized target system would yield incorrect results.
       
      .authzed.api.materialize.v0.PermissionSetChange change = 1;
      Specified by:
      getChange in interface LookupPermissionSetsResponseOrBuilder
      Returns:
      The change.
    • setChange

       change represents the permission set delta necessary to transition an uninitialized target system to
       a specific snapshot revision. In practice it's not different from the WatchPermissionSetsResponse.change, except
       all changes will be of time SET_OPERATION_ADDED because it's assumed there is no known previous state.
      
       Applying the deltas to a previously initialized target system would yield incorrect results.
       
      .authzed.api.materialize.v0.PermissionSetChange change = 1;
    • setChange

       change represents the permission set delta necessary to transition an uninitialized target system to
       a specific snapshot revision. In practice it's not different from the WatchPermissionSetsResponse.change, except
       all changes will be of time SET_OPERATION_ADDED because it's assumed there is no known previous state.
      
       Applying the deltas to a previously initialized target system would yield incorrect results.
       
      .authzed.api.materialize.v0.PermissionSetChange change = 1;
    • mergeChange

       change represents the permission set delta necessary to transition an uninitialized target system to
       a specific snapshot revision. In practice it's not different from the WatchPermissionSetsResponse.change, except
       all changes will be of time SET_OPERATION_ADDED because it's assumed there is no known previous state.
      
       Applying the deltas to a previously initialized target system would yield incorrect results.
       
      .authzed.api.materialize.v0.PermissionSetChange change = 1;
    • clearChange

       change represents the permission set delta necessary to transition an uninitialized target system to
       a specific snapshot revision. In practice it's not different from the WatchPermissionSetsResponse.change, except
       all changes will be of time SET_OPERATION_ADDED because it's assumed there is no known previous state.
      
       Applying the deltas to a previously initialized target system would yield incorrect results.
       
      .authzed.api.materialize.v0.PermissionSetChange change = 1;
    • getChangeBuilder

      public PermissionSetChange.Builder getChangeBuilder()
       change represents the permission set delta necessary to transition an uninitialized target system to
       a specific snapshot revision. In practice it's not different from the WatchPermissionSetsResponse.change, except
       all changes will be of time SET_OPERATION_ADDED because it's assumed there is no known previous state.
      
       Applying the deltas to a previously initialized target system would yield incorrect results.
       
      .authzed.api.materialize.v0.PermissionSetChange change = 1;
    • getChangeOrBuilder

      public PermissionSetChangeOrBuilder getChangeOrBuilder()
       change represents the permission set delta necessary to transition an uninitialized target system to
       a specific snapshot revision. In practice it's not different from the WatchPermissionSetsResponse.change, except
       all changes will be of time SET_OPERATION_ADDED because it's assumed there is no known previous state.
      
       Applying the deltas to a previously initialized target system would yield incorrect results.
       
      .authzed.api.materialize.v0.PermissionSetChange change = 1;
      Specified by:
      getChangeOrBuilder in interface LookupPermissionSetsResponseOrBuilder
    • hasCursor

      public boolean hasCursor()
       cursor points to a specific permission set in a revision.
       The consumer should keep track of the cursor in order to resume streaming in the event of consumer restarts. This
       is particularly important in backfill scenarios that may take hours or event days to complete.
       
      .authzed.api.materialize.v0.Cursor cursor = 2;
      Specified by:
      hasCursor in interface LookupPermissionSetsResponseOrBuilder
      Returns:
      Whether the cursor field is set.
    • getCursor

      public Cursor getCursor()
       cursor points to a specific permission set in a revision.
       The consumer should keep track of the cursor in order to resume streaming in the event of consumer restarts. This
       is particularly important in backfill scenarios that may take hours or event days to complete.
       
      .authzed.api.materialize.v0.Cursor cursor = 2;
      Specified by:
      getCursor in interface LookupPermissionSetsResponseOrBuilder
      Returns:
      The cursor.
    • setCursor

      public LookupPermissionSetsResponse.Builder setCursor(Cursor value)
       cursor points to a specific permission set in a revision.
       The consumer should keep track of the cursor in order to resume streaming in the event of consumer restarts. This
       is particularly important in backfill scenarios that may take hours or event days to complete.
       
      .authzed.api.materialize.v0.Cursor cursor = 2;
    • setCursor

      public LookupPermissionSetsResponse.Builder setCursor(Cursor.Builder builderForValue)
       cursor points to a specific permission set in a revision.
       The consumer should keep track of the cursor in order to resume streaming in the event of consumer restarts. This
       is particularly important in backfill scenarios that may take hours or event days to complete.
       
      .authzed.api.materialize.v0.Cursor cursor = 2;
    • mergeCursor

      public LookupPermissionSetsResponse.Builder mergeCursor(Cursor value)
       cursor points to a specific permission set in a revision.
       The consumer should keep track of the cursor in order to resume streaming in the event of consumer restarts. This
       is particularly important in backfill scenarios that may take hours or event days to complete.
       
      .authzed.api.materialize.v0.Cursor cursor = 2;
    • clearCursor

       cursor points to a specific permission set in a revision.
       The consumer should keep track of the cursor in order to resume streaming in the event of consumer restarts. This
       is particularly important in backfill scenarios that may take hours or event days to complete.
       
      .authzed.api.materialize.v0.Cursor cursor = 2;
    • getCursorBuilder

      public Cursor.Builder getCursorBuilder()
       cursor points to a specific permission set in a revision.
       The consumer should keep track of the cursor in order to resume streaming in the event of consumer restarts. This
       is particularly important in backfill scenarios that may take hours or event days to complete.
       
      .authzed.api.materialize.v0.Cursor cursor = 2;
    • getCursorOrBuilder

      public CursorOrBuilder getCursorOrBuilder()
       cursor points to a specific permission set in a revision.
       The consumer should keep track of the cursor in order to resume streaming in the event of consumer restarts. This
       is particularly important in backfill scenarios that may take hours or event days to complete.
       
      .authzed.api.materialize.v0.Cursor cursor = 2;
      Specified by:
      getCursorOrBuilder in interface LookupPermissionSetsResponseOrBuilder