Package com.authzed.api.materialize.v0
Class WatchPermissionsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WatchPermissionsRequest.Builder>
com.authzed.api.materialize.v0.WatchPermissionsRequest.Builder
- All Implemented Interfaces:
WatchPermissionsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- WatchPermissionsRequest
public static final class WatchPermissionsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WatchPermissionsRequest.Builder>
implements WatchPermissionsRequestOrBuilder
Protobuf type
authzed.api.materialize.v0.WatchPermissionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllPermissions
(Iterable<? extends WatchedPermission> values) permissions is a list of permissions to watch for changes.addPermissions
(int index, WatchedPermission value) permissions is a list of permissions to watch for changes.addPermissions
(int index, WatchedPermission.Builder builderForValue) permissions is a list of permissions to watch for changes.addPermissions
(WatchedPermission value) permissions is a list of permissions to watch for changes.addPermissions
(WatchedPermission.Builder builderForValue) permissions is a list of permissions to watch for changes.permissions is a list of permissions to watch for changes.addPermissionsBuilder
(int index) permissions is a list of permissions to watch for changes.build()
clear()
optional_starting_after is the revision token to start watching from.permissions is a list of permissions to watch for changes.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional_starting_after is the revision token to start watching from.optional_starting_after is the revision token to start watching from.optional_starting_after is the revision token to start watching from.getPermissions
(int index) permissions is a list of permissions to watch for changes.getPermissionsBuilder
(int index) permissions is a list of permissions to watch for changes.permissions is a list of permissions to watch for changes.int
permissions is a list of permissions to watch for changes.permissions is a list of permissions to watch for changes.getPermissionsOrBuilder
(int index) permissions is a list of permissions to watch for changes.List<? extends WatchedPermissionOrBuilder>
permissions is a list of permissions to watch for changes.boolean
optional_starting_after is the revision token to start watching from.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(WatchPermissionsRequest other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) optional_starting_after is the revision token to start watching from.removePermissions
(int index) permissions is a list of permissions to watch for changes.setOptionalStartingAfter
(ZedToken value) optional_starting_after is the revision token to start watching from.setOptionalStartingAfter
(ZedToken.Builder builderForValue) optional_starting_after is the revision token to start watching from.setPermissions
(int index, WatchedPermission value) permissions is a list of permissions to watch for changes.setPermissions
(int index, WatchedPermission.Builder builderForValue) permissions is a list of permissions to watch for changes.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<WatchPermissionsRequest.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<WatchPermissionsRequest.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<WatchPermissionsRequest.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<WatchPermissionsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<WatchPermissionsRequest.Builder>
-
mergeFrom
public WatchPermissionsRequest.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<WatchPermissionsRequest.Builder>
- Throws:
IOException
-
getPermissionsList
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
- Specified by:
getPermissionsList
in interfaceWatchPermissionsRequestOrBuilder
-
getPermissionsCount
public int getPermissionsCount()permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
- Specified by:
getPermissionsCount
in interfaceWatchPermissionsRequestOrBuilder
-
getPermissions
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
- Specified by:
getPermissions
in interfaceWatchPermissionsRequestOrBuilder
-
setPermissions
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
setPermissions
public WatchPermissionsRequest.Builder setPermissions(int index, WatchedPermission.Builder builderForValue) permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
addPermissions
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
addPermissions
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
addPermissions
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
addPermissions
public WatchPermissionsRequest.Builder addPermissions(int index, WatchedPermission.Builder builderForValue) permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
addAllPermissions
public WatchPermissionsRequest.Builder addAllPermissions(Iterable<? extends WatchedPermission> values) permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
clearPermissions
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
removePermissions
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
getPermissionsBuilder
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
getPermissionsOrBuilder
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
- Specified by:
getPermissionsOrBuilder
in interfaceWatchPermissionsRequestOrBuilder
-
getPermissionsOrBuilderList
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
- Specified by:
getPermissionsOrBuilderList
in interfaceWatchPermissionsRequestOrBuilder
-
addPermissionsBuilder
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
addPermissionsBuilder
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
getPermissionsBuilderList
permissions is a list of permissions to watch for changes. At least one permission must be specified, and it must be a subset or equal to the permissions that were enabled for the service.
repeated .authzed.api.materialize.v0.WatchedPermission permissions = 1;
-
hasOptionalStartingAfter
public boolean hasOptionalStartingAfter()optional_starting_after is the revision token to start watching from. If not provided, the stream will start from the current revision at the moment of the request.
.authzed.api.v1.ZedToken optional_starting_after = 2;
- Specified by:
hasOptionalStartingAfter
in interfaceWatchPermissionsRequestOrBuilder
- Returns:
- Whether the optionalStartingAfter field is set.
-
getOptionalStartingAfter
optional_starting_after is the revision token to start watching from. If not provided, the stream will start from the current revision at the moment of the request.
.authzed.api.v1.ZedToken optional_starting_after = 2;
- Specified by:
getOptionalStartingAfter
in interfaceWatchPermissionsRequestOrBuilder
- Returns:
- The optionalStartingAfter.
-
setOptionalStartingAfter
optional_starting_after is the revision token to start watching from. If not provided, the stream will start from the current revision at the moment of the request.
.authzed.api.v1.ZedToken optional_starting_after = 2;
-
setOptionalStartingAfter
optional_starting_after is the revision token to start watching from. If not provided, the stream will start from the current revision at the moment of the request.
.authzed.api.v1.ZedToken optional_starting_after = 2;
-
mergeOptionalStartingAfter
optional_starting_after is the revision token to start watching from. If not provided, the stream will start from the current revision at the moment of the request.
.authzed.api.v1.ZedToken optional_starting_after = 2;
-
clearOptionalStartingAfter
optional_starting_after is the revision token to start watching from. If not provided, the stream will start from the current revision at the moment of the request.
.authzed.api.v1.ZedToken optional_starting_after = 2;
-
getOptionalStartingAfterBuilder
optional_starting_after is the revision token to start watching from. If not provided, the stream will start from the current revision at the moment of the request.
.authzed.api.v1.ZedToken optional_starting_after = 2;
-
getOptionalStartingAfterOrBuilder
optional_starting_after is the revision token to start watching from. If not provided, the stream will start from the current revision at the moment of the request.
.authzed.api.v1.ZedToken optional_starting_after = 2;
- Specified by:
getOptionalStartingAfterOrBuilder
in interfaceWatchPermissionsRequestOrBuilder
-