Package com.authzed.api.materialize.v0
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 Summary
Modifier and TypeMethodDescriptionbuild()
clear()
change represents the permission set delta necessary to transition an uninitialized target system to a specific snapshot revision.cursor points to a specific permission set in a revision.change represents the permission set delta necessary to transition an uninitialized target system to a specific snapshot revision.change represents the permission set delta necessary to transition an uninitialized target system to a specific snapshot revision.change represents the permission set delta necessary to transition an uninitialized target system to a specific snapshot revision.cursor points to a specific permission set in a revision.cursor points to a specific permission set in a revision.cursor points to a specific permission set in a revision.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
change represents the permission set delta necessary to transition an uninitialized target system to a specific snapshot revision.boolean
cursor points to a specific permission set in a revision.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeChange
(PermissionSetChange value) change represents the permission set delta necessary to transition an uninitialized target system to a specific snapshot revision.mergeCursor
(Cursor value) cursor points to a specific permission set in a revision.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setChange
(PermissionSetChange value) change represents the permission set delta necessary to transition an uninitialized target system to a specific snapshot revision.setChange
(PermissionSetChange.Builder builderForValue) change represents the permission set delta necessary to transition an uninitialized target system to a specific snapshot revision.cursor points to a specific permission set in a revision.setCursor
(Cursor.Builder builderForValue) cursor points to a specific permission set in a revision.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsResponse.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<LookupPermissionSetsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LookupPermissionSetsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceLookupPermissionSetsResponseOrBuilder
- Returns:
- Whether the change field is set.
-
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 interfaceLookupPermissionSetsResponseOrBuilder
- 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
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
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 interfaceLookupPermissionSetsResponseOrBuilder
-
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 interfaceLookupPermissionSetsResponseOrBuilder
- Returns:
- Whether the cursor field is set.
-
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 interfaceLookupPermissionSetsResponseOrBuilder
- Returns:
- The cursor.
-
setCursor
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
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
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
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
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 interfaceLookupPermissionSetsResponseOrBuilder
-