public static final class LightningApi.BakeMacaroonRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BakeMacaroonRequest.Builder> implements LightningApi.BakeMacaroonRequestOrBuilder
lnrpc.BakeMacaroonRequest
Modifier and Type | Method and Description |
---|---|
LightningApi.BakeMacaroonRequest.Builder |
addAllPermissions(java.lang.Iterable<? extends LightningApi.MacaroonPermission> values)
The list of permissions the new macaroon should grant.
|
LightningApi.BakeMacaroonRequest.Builder |
addPermissions(int index,
LightningApi.MacaroonPermission.Builder builderForValue)
The list of permissions the new macaroon should grant.
|
LightningApi.BakeMacaroonRequest.Builder |
addPermissions(int index,
LightningApi.MacaroonPermission value)
The list of permissions the new macaroon should grant.
|
LightningApi.BakeMacaroonRequest.Builder |
addPermissions(LightningApi.MacaroonPermission.Builder builderForValue)
The list of permissions the new macaroon should grant.
|
LightningApi.BakeMacaroonRequest.Builder |
addPermissions(LightningApi.MacaroonPermission value)
The list of permissions the new macaroon should grant.
|
LightningApi.MacaroonPermission.Builder |
addPermissionsBuilder()
The list of permissions the new macaroon should grant.
|
LightningApi.MacaroonPermission.Builder |
addPermissionsBuilder(int index)
The list of permissions the new macaroon should grant.
|
LightningApi.BakeMacaroonRequest |
build() |
LightningApi.BakeMacaroonRequest |
buildPartial() |
LightningApi.BakeMacaroonRequest.Builder |
clear() |
LightningApi.BakeMacaroonRequest.Builder |
clearAllowExternalPermissions()
Informs the RPC on whether to allow external permissions that LND is not
aware of.
|
LightningApi.BakeMacaroonRequest.Builder |
clearPermissions()
The list of permissions the new macaroon should grant.
|
LightningApi.BakeMacaroonRequest.Builder |
clearRootKeyId()
The root key ID used to create the macaroon, must be a positive integer.
|
boolean |
getAllowExternalPermissions()
Informs the RPC on whether to allow external permissions that LND is not
aware of.
|
LightningApi.BakeMacaroonRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.MacaroonPermission |
getPermissions(int index)
The list of permissions the new macaroon should grant.
|
LightningApi.MacaroonPermission.Builder |
getPermissionsBuilder(int index)
The list of permissions the new macaroon should grant.
|
java.util.List<LightningApi.MacaroonPermission.Builder> |
getPermissionsBuilderList()
The list of permissions the new macaroon should grant.
|
int |
getPermissionsCount()
The list of permissions the new macaroon should grant.
|
java.util.List<LightningApi.MacaroonPermission> |
getPermissionsList()
The list of permissions the new macaroon should grant.
|
LightningApi.MacaroonPermissionOrBuilder |
getPermissionsOrBuilder(int index)
The list of permissions the new macaroon should grant.
|
java.util.List<? extends LightningApi.MacaroonPermissionOrBuilder> |
getPermissionsOrBuilderList()
The list of permissions the new macaroon should grant.
|
long |
getRootKeyId()
The root key ID used to create the macaroon, must be a positive integer.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.BakeMacaroonRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.BakeMacaroonRequest.Builder |
mergeFrom(LightningApi.BakeMacaroonRequest other) |
LightningApi.BakeMacaroonRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.BakeMacaroonRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.BakeMacaroonRequest.Builder |
removePermissions(int index)
The list of permissions the new macaroon should grant.
|
LightningApi.BakeMacaroonRequest.Builder |
setAllowExternalPermissions(boolean value)
Informs the RPC on whether to allow external permissions that LND is not
aware of.
|
LightningApi.BakeMacaroonRequest.Builder |
setPermissions(int index,
LightningApi.MacaroonPermission.Builder builderForValue)
The list of permissions the new macaroon should grant.
|
LightningApi.BakeMacaroonRequest.Builder |
setPermissions(int index,
LightningApi.MacaroonPermission value)
The list of permissions the new macaroon should grant.
|
LightningApi.BakeMacaroonRequest.Builder |
setRootKeyId(long value)
The root key ID used to create the macaroon, must be a positive integer.
|
LightningApi.BakeMacaroonRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BakeMacaroonRequest.Builder>
public LightningApi.BakeMacaroonRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BakeMacaroonRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BakeMacaroonRequest.Builder>
public LightningApi.BakeMacaroonRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.BakeMacaroonRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.BakeMacaroonRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.BakeMacaroonRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.BakeMacaroonRequest.Builder>
public LightningApi.BakeMacaroonRequest.Builder mergeFrom(LightningApi.BakeMacaroonRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BakeMacaroonRequest.Builder>
public LightningApi.BakeMacaroonRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.BakeMacaroonRequest.Builder>
java.io.IOException
public java.util.List<LightningApi.MacaroonPermission> getPermissionsList()
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
getPermissionsList
in interface LightningApi.BakeMacaroonRequestOrBuilder
public int getPermissionsCount()
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
getPermissionsCount
in interface LightningApi.BakeMacaroonRequestOrBuilder
public LightningApi.MacaroonPermission getPermissions(int index)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
getPermissions
in interface LightningApi.BakeMacaroonRequestOrBuilder
public LightningApi.BakeMacaroonRequest.Builder setPermissions(int index, LightningApi.MacaroonPermission value)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.BakeMacaroonRequest.Builder setPermissions(int index, LightningApi.MacaroonPermission.Builder builderForValue)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.BakeMacaroonRequest.Builder addPermissions(LightningApi.MacaroonPermission value)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.BakeMacaroonRequest.Builder addPermissions(int index, LightningApi.MacaroonPermission value)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.BakeMacaroonRequest.Builder addPermissions(LightningApi.MacaroonPermission.Builder builderForValue)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.BakeMacaroonRequest.Builder addPermissions(int index, LightningApi.MacaroonPermission.Builder builderForValue)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.BakeMacaroonRequest.Builder addAllPermissions(java.lang.Iterable<? extends LightningApi.MacaroonPermission> values)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.BakeMacaroonRequest.Builder clearPermissions()
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.BakeMacaroonRequest.Builder removePermissions(int index)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermission.Builder getPermissionsBuilder(int index)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermissionOrBuilder getPermissionsOrBuilder(int index)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
getPermissionsOrBuilder
in interface LightningApi.BakeMacaroonRequestOrBuilder
public java.util.List<? extends LightningApi.MacaroonPermissionOrBuilder> getPermissionsOrBuilderList()
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
getPermissionsOrBuilderList
in interface LightningApi.BakeMacaroonRequestOrBuilder
public LightningApi.MacaroonPermission.Builder addPermissionsBuilder()
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermission.Builder addPermissionsBuilder(int index)
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public java.util.List<LightningApi.MacaroonPermission.Builder> getPermissionsBuilderList()
The list of permissions the new macaroon should grant.
repeated .lnrpc.MacaroonPermission permissions = 1;
public long getRootKeyId()
The root key ID used to create the macaroon, must be a positive integer.
uint64 root_key_id = 2;
getRootKeyId
in interface LightningApi.BakeMacaroonRequestOrBuilder
public LightningApi.BakeMacaroonRequest.Builder setRootKeyId(long value)
The root key ID used to create the macaroon, must be a positive integer.
uint64 root_key_id = 2;
value
- The rootKeyId to set.public LightningApi.BakeMacaroonRequest.Builder clearRootKeyId()
The root key ID used to create the macaroon, must be a positive integer.
uint64 root_key_id = 2;
public boolean getAllowExternalPermissions()
Informs the RPC on whether to allow external permissions that LND is not aware of.
bool allow_external_permissions = 3;
getAllowExternalPermissions
in interface LightningApi.BakeMacaroonRequestOrBuilder
public LightningApi.BakeMacaroonRequest.Builder setAllowExternalPermissions(boolean value)
Informs the RPC on whether to allow external permissions that LND is not aware of.
bool allow_external_permissions = 3;
value
- The allowExternalPermissions to set.public LightningApi.BakeMacaroonRequest.Builder clearAllowExternalPermissions()
Informs the RPC on whether to allow external permissions that LND is not aware of.
bool allow_external_permissions = 3;
public final LightningApi.BakeMacaroonRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BakeMacaroonRequest.Builder>
public final LightningApi.BakeMacaroonRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.BakeMacaroonRequest.Builder>