public static final class LightningApi.CheckMacPermRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.CheckMacPermRequest.Builder> implements LightningApi.CheckMacPermRequestOrBuilder
lnrpc.CheckMacPermRequest
Modifier and Type | Method and Description |
---|---|
LightningApi.CheckMacPermRequest.Builder |
addAllPermissions(java.lang.Iterable<? extends LightningApi.MacaroonPermission> values)
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.CheckMacPermRequest.Builder |
addPermissions(int index,
LightningApi.MacaroonPermission.Builder builderForValue)
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.CheckMacPermRequest.Builder |
addPermissions(int index,
LightningApi.MacaroonPermission value)
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.CheckMacPermRequest.Builder |
addPermissions(LightningApi.MacaroonPermission.Builder builderForValue)
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.CheckMacPermRequest.Builder |
addPermissions(LightningApi.MacaroonPermission value)
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.MacaroonPermission.Builder |
addPermissionsBuilder()
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.MacaroonPermission.Builder |
addPermissionsBuilder(int index)
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.CheckMacPermRequest |
build() |
LightningApi.CheckMacPermRequest |
buildPartial() |
LightningApi.CheckMacPermRequest.Builder |
clear() |
LightningApi.CheckMacPermRequest.Builder |
clearFullMethod()
string fullMethod = 3; |
LightningApi.CheckMacPermRequest.Builder |
clearMacaroon()
bytes macaroon = 1; |
LightningApi.CheckMacPermRequest.Builder |
clearPermissions()
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.CheckMacPermRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getFullMethod()
string fullMethod = 3; |
com.google.protobuf.ByteString |
getFullMethodBytes()
string fullMethod = 3; |
com.google.protobuf.ByteString |
getMacaroon()
bytes macaroon = 1; |
LightningApi.MacaroonPermission |
getPermissions(int index)
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.MacaroonPermission.Builder |
getPermissionsBuilder(int index)
repeated .lnrpc.MacaroonPermission permissions = 2; |
java.util.List<LightningApi.MacaroonPermission.Builder> |
getPermissionsBuilderList()
repeated .lnrpc.MacaroonPermission permissions = 2; |
int |
getPermissionsCount()
repeated .lnrpc.MacaroonPermission permissions = 2; |
java.util.List<LightningApi.MacaroonPermission> |
getPermissionsList()
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.MacaroonPermissionOrBuilder |
getPermissionsOrBuilder(int index)
repeated .lnrpc.MacaroonPermission permissions = 2; |
java.util.List<? extends LightningApi.MacaroonPermissionOrBuilder> |
getPermissionsOrBuilderList()
repeated .lnrpc.MacaroonPermission permissions = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.CheckMacPermRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.CheckMacPermRequest.Builder |
mergeFrom(LightningApi.CheckMacPermRequest other) |
LightningApi.CheckMacPermRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.CheckMacPermRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.CheckMacPermRequest.Builder |
removePermissions(int index)
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.CheckMacPermRequest.Builder |
setFullMethod(java.lang.String value)
string fullMethod = 3; |
LightningApi.CheckMacPermRequest.Builder |
setFullMethodBytes(com.google.protobuf.ByteString value)
string fullMethod = 3; |
LightningApi.CheckMacPermRequest.Builder |
setMacaroon(com.google.protobuf.ByteString value)
bytes macaroon = 1; |
LightningApi.CheckMacPermRequest.Builder |
setPermissions(int index,
LightningApi.MacaroonPermission.Builder builderForValue)
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.CheckMacPermRequest.Builder |
setPermissions(int index,
LightningApi.MacaroonPermission value)
repeated .lnrpc.MacaroonPermission permissions = 2; |
LightningApi.CheckMacPermRequest.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.CheckMacPermRequest.Builder>
public LightningApi.CheckMacPermRequest.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.CheckMacPermRequest.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.CheckMacPermRequest.Builder>
public LightningApi.CheckMacPermRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.CheckMacPermRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.CheckMacPermRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.CheckMacPermRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.CheckMacPermRequest.Builder>
public LightningApi.CheckMacPermRequest.Builder mergeFrom(LightningApi.CheckMacPermRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.CheckMacPermRequest.Builder>
public LightningApi.CheckMacPermRequest.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.CheckMacPermRequest.Builder>
java.io.IOException
public com.google.protobuf.ByteString getMacaroon()
bytes macaroon = 1;
getMacaroon
in interface LightningApi.CheckMacPermRequestOrBuilder
public LightningApi.CheckMacPermRequest.Builder setMacaroon(com.google.protobuf.ByteString value)
bytes macaroon = 1;
value
- The macaroon to set.public LightningApi.CheckMacPermRequest.Builder clearMacaroon()
bytes macaroon = 1;
public java.util.List<LightningApi.MacaroonPermission> getPermissionsList()
repeated .lnrpc.MacaroonPermission permissions = 2;
getPermissionsList
in interface LightningApi.CheckMacPermRequestOrBuilder
public int getPermissionsCount()
repeated .lnrpc.MacaroonPermission permissions = 2;
getPermissionsCount
in interface LightningApi.CheckMacPermRequestOrBuilder
public LightningApi.MacaroonPermission getPermissions(int index)
repeated .lnrpc.MacaroonPermission permissions = 2;
getPermissions
in interface LightningApi.CheckMacPermRequestOrBuilder
public LightningApi.CheckMacPermRequest.Builder setPermissions(int index, LightningApi.MacaroonPermission value)
repeated .lnrpc.MacaroonPermission permissions = 2;
public LightningApi.CheckMacPermRequest.Builder setPermissions(int index, LightningApi.MacaroonPermission.Builder builderForValue)
repeated .lnrpc.MacaroonPermission permissions = 2;
public LightningApi.CheckMacPermRequest.Builder addPermissions(LightningApi.MacaroonPermission value)
repeated .lnrpc.MacaroonPermission permissions = 2;
public LightningApi.CheckMacPermRequest.Builder addPermissions(int index, LightningApi.MacaroonPermission value)
repeated .lnrpc.MacaroonPermission permissions = 2;
public LightningApi.CheckMacPermRequest.Builder addPermissions(LightningApi.MacaroonPermission.Builder builderForValue)
repeated .lnrpc.MacaroonPermission permissions = 2;
public LightningApi.CheckMacPermRequest.Builder addPermissions(int index, LightningApi.MacaroonPermission.Builder builderForValue)
repeated .lnrpc.MacaroonPermission permissions = 2;
public LightningApi.CheckMacPermRequest.Builder addAllPermissions(java.lang.Iterable<? extends LightningApi.MacaroonPermission> values)
repeated .lnrpc.MacaroonPermission permissions = 2;
public LightningApi.CheckMacPermRequest.Builder clearPermissions()
repeated .lnrpc.MacaroonPermission permissions = 2;
public LightningApi.CheckMacPermRequest.Builder removePermissions(int index)
repeated .lnrpc.MacaroonPermission permissions = 2;
public LightningApi.MacaroonPermission.Builder getPermissionsBuilder(int index)
repeated .lnrpc.MacaroonPermission permissions = 2;
public LightningApi.MacaroonPermissionOrBuilder getPermissionsOrBuilder(int index)
repeated .lnrpc.MacaroonPermission permissions = 2;
getPermissionsOrBuilder
in interface LightningApi.CheckMacPermRequestOrBuilder
public java.util.List<? extends LightningApi.MacaroonPermissionOrBuilder> getPermissionsOrBuilderList()
repeated .lnrpc.MacaroonPermission permissions = 2;
getPermissionsOrBuilderList
in interface LightningApi.CheckMacPermRequestOrBuilder
public LightningApi.MacaroonPermission.Builder addPermissionsBuilder()
repeated .lnrpc.MacaroonPermission permissions = 2;
public LightningApi.MacaroonPermission.Builder addPermissionsBuilder(int index)
repeated .lnrpc.MacaroonPermission permissions = 2;
public java.util.List<LightningApi.MacaroonPermission.Builder> getPermissionsBuilderList()
repeated .lnrpc.MacaroonPermission permissions = 2;
public java.lang.String getFullMethod()
string fullMethod = 3;
getFullMethod
in interface LightningApi.CheckMacPermRequestOrBuilder
public com.google.protobuf.ByteString getFullMethodBytes()
string fullMethod = 3;
getFullMethodBytes
in interface LightningApi.CheckMacPermRequestOrBuilder
public LightningApi.CheckMacPermRequest.Builder setFullMethod(java.lang.String value)
string fullMethod = 3;
value
- The fullMethod to set.public LightningApi.CheckMacPermRequest.Builder clearFullMethod()
string fullMethod = 3;
public LightningApi.CheckMacPermRequest.Builder setFullMethodBytes(com.google.protobuf.ByteString value)
string fullMethod = 3;
value
- The bytes for fullMethod to set.public final LightningApi.CheckMacPermRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.CheckMacPermRequest.Builder>
public final LightningApi.CheckMacPermRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.CheckMacPermRequest.Builder>