public static final class LightningApi.ListPermissionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPermissionsResponse.Builder> implements LightningApi.ListPermissionsResponseOrBuilder
lnrpc.ListPermissionsResponse
Modifier and Type | Method and Description |
---|---|
LightningApi.ListPermissionsResponse |
build() |
LightningApi.ListPermissionsResponse |
buildPartial() |
LightningApi.ListPermissionsResponse.Builder |
clear() |
LightningApi.ListPermissionsResponse.Builder |
clearMethodPermissions() |
boolean |
containsMethodPermissions(java.lang.String key)
A map between all RPC method URIs and their required macaroon permissions to
access them.
|
LightningApi.ListPermissionsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.String,LightningApi.MacaroonPermissionList> |
getMethodPermissions()
Deprecated.
|
int |
getMethodPermissionsCount()
A map between all RPC method URIs and their required macaroon permissions to
access them.
|
java.util.Map<java.lang.String,LightningApi.MacaroonPermissionList> |
getMethodPermissionsMap()
A map between all RPC method URIs and their required macaroon permissions to
access them.
|
LightningApi.MacaroonPermissionList |
getMethodPermissionsOrDefault(java.lang.String key,
LightningApi.MacaroonPermissionList defaultValue)
A map between all RPC method URIs and their required macaroon permissions to
access them.
|
LightningApi.MacaroonPermissionList |
getMethodPermissionsOrThrow(java.lang.String key)
A map between all RPC method URIs and their required macaroon permissions to
access them.
|
java.util.Map<java.lang.String,LightningApi.MacaroonPermissionList> |
getMutableMethodPermissions()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
LightningApi.ListPermissionsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ListPermissionsResponse.Builder |
mergeFrom(LightningApi.ListPermissionsResponse other) |
LightningApi.ListPermissionsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ListPermissionsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ListPermissionsResponse.Builder |
putAllMethodPermissions(java.util.Map<java.lang.String,LightningApi.MacaroonPermissionList> values)
A map between all RPC method URIs and their required macaroon permissions to
access them.
|
LightningApi.ListPermissionsResponse.Builder |
putMethodPermissions(java.lang.String key,
LightningApi.MacaroonPermissionList value)
A map between all RPC method URIs and their required macaroon permissions to
access them.
|
LightningApi.ListPermissionsResponse.Builder |
removeMethodPermissions(java.lang.String key)
A map between all RPC method URIs and their required macaroon permissions to
access them.
|
LightningApi.ListPermissionsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, 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.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPermissionsResponse.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPermissionsResponse.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPermissionsResponse.Builder>
public LightningApi.ListPermissionsResponse.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.ListPermissionsResponse.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.ListPermissionsResponse.Builder>
public LightningApi.ListPermissionsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.ListPermissionsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ListPermissionsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ListPermissionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ListPermissionsResponse.Builder>
public LightningApi.ListPermissionsResponse.Builder mergeFrom(LightningApi.ListPermissionsResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPermissionsResponse.Builder>
public LightningApi.ListPermissionsResponse.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.ListPermissionsResponse.Builder>
java.io.IOException
public int getMethodPermissionsCount()
LightningApi.ListPermissionsResponseOrBuilder
A map between all RPC method URIs and their required macaroon permissions to access them.
map<string, .lnrpc.MacaroonPermissionList> method_permissions = 1;
getMethodPermissionsCount
in interface LightningApi.ListPermissionsResponseOrBuilder
public boolean containsMethodPermissions(java.lang.String key)
A map between all RPC method URIs and their required macaroon permissions to access them.
map<string, .lnrpc.MacaroonPermissionList> method_permissions = 1;
containsMethodPermissions
in interface LightningApi.ListPermissionsResponseOrBuilder
@Deprecated public java.util.Map<java.lang.String,LightningApi.MacaroonPermissionList> getMethodPermissions()
getMethodPermissionsMap()
instead.getMethodPermissions
in interface LightningApi.ListPermissionsResponseOrBuilder
public java.util.Map<java.lang.String,LightningApi.MacaroonPermissionList> getMethodPermissionsMap()
A map between all RPC method URIs and their required macaroon permissions to access them.
map<string, .lnrpc.MacaroonPermissionList> method_permissions = 1;
getMethodPermissionsMap
in interface LightningApi.ListPermissionsResponseOrBuilder
public LightningApi.MacaroonPermissionList getMethodPermissionsOrDefault(java.lang.String key, LightningApi.MacaroonPermissionList defaultValue)
A map between all RPC method URIs and their required macaroon permissions to access them.
map<string, .lnrpc.MacaroonPermissionList> method_permissions = 1;
getMethodPermissionsOrDefault
in interface LightningApi.ListPermissionsResponseOrBuilder
public LightningApi.MacaroonPermissionList getMethodPermissionsOrThrow(java.lang.String key)
A map between all RPC method URIs and their required macaroon permissions to access them.
map<string, .lnrpc.MacaroonPermissionList> method_permissions = 1;
getMethodPermissionsOrThrow
in interface LightningApi.ListPermissionsResponseOrBuilder
public LightningApi.ListPermissionsResponse.Builder clearMethodPermissions()
public LightningApi.ListPermissionsResponse.Builder removeMethodPermissions(java.lang.String key)
A map between all RPC method URIs and their required macaroon permissions to access them.
map<string, .lnrpc.MacaroonPermissionList> method_permissions = 1;
@Deprecated public java.util.Map<java.lang.String,LightningApi.MacaroonPermissionList> getMutableMethodPermissions()
public LightningApi.ListPermissionsResponse.Builder putMethodPermissions(java.lang.String key, LightningApi.MacaroonPermissionList value)
A map between all RPC method URIs and their required macaroon permissions to access them.
map<string, .lnrpc.MacaroonPermissionList> method_permissions = 1;
public LightningApi.ListPermissionsResponse.Builder putAllMethodPermissions(java.util.Map<java.lang.String,LightningApi.MacaroonPermissionList> values)
A map between all RPC method URIs and their required macaroon permissions to access them.
map<string, .lnrpc.MacaroonPermissionList> method_permissions = 1;
public final LightningApi.ListPermissionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPermissionsResponse.Builder>
public final LightningApi.ListPermissionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ListPermissionsResponse.Builder>