public static final class LightningApi.MacaroonPermissionList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MacaroonPermissionList.Builder> implements LightningApi.MacaroonPermissionListOrBuilder
lnrpc.MacaroonPermissionList
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.MacaroonPermissionList.Builder>
public LightningApi.MacaroonPermissionList.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.MacaroonPermissionList.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.MacaroonPermissionList.Builder>
public LightningApi.MacaroonPermissionList getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.MacaroonPermissionList build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.MacaroonPermissionList buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.MacaroonPermissionList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.MacaroonPermissionList.Builder>
public LightningApi.MacaroonPermissionList.Builder mergeFrom(LightningApi.MacaroonPermissionList other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MacaroonPermissionList.Builder>
public LightningApi.MacaroonPermissionList.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.MacaroonPermissionList.Builder>
java.io.IOException
public java.util.List<LightningApi.MacaroonPermission> getPermissionsList()
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
getPermissionsList
in interface LightningApi.MacaroonPermissionListOrBuilder
public int getPermissionsCount()
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
getPermissionsCount
in interface LightningApi.MacaroonPermissionListOrBuilder
public LightningApi.MacaroonPermission getPermissions(int index)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
getPermissions
in interface LightningApi.MacaroonPermissionListOrBuilder
public LightningApi.MacaroonPermissionList.Builder setPermissions(int index, LightningApi.MacaroonPermission value)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermissionList.Builder setPermissions(int index, LightningApi.MacaroonPermission.Builder builderForValue)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermissionList.Builder addPermissions(LightningApi.MacaroonPermission value)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermissionList.Builder addPermissions(int index, LightningApi.MacaroonPermission value)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermissionList.Builder addPermissions(LightningApi.MacaroonPermission.Builder builderForValue)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermissionList.Builder addPermissions(int index, LightningApi.MacaroonPermission.Builder builderForValue)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermissionList.Builder addAllPermissions(java.lang.Iterable<? extends LightningApi.MacaroonPermission> values)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermissionList.Builder clearPermissions()
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermissionList.Builder removePermissions(int index)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermission.Builder getPermissionsBuilder(int index)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermissionOrBuilder getPermissionsOrBuilder(int index)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
getPermissionsOrBuilder
in interface LightningApi.MacaroonPermissionListOrBuilder
public java.util.List<? extends LightningApi.MacaroonPermissionOrBuilder> getPermissionsOrBuilderList()
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
getPermissionsOrBuilderList
in interface LightningApi.MacaroonPermissionListOrBuilder
public LightningApi.MacaroonPermission.Builder addPermissionsBuilder()
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public LightningApi.MacaroonPermission.Builder addPermissionsBuilder(int index)
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public java.util.List<LightningApi.MacaroonPermission.Builder> getPermissionsBuilderList()
A list of macaroon permissions.
repeated .lnrpc.MacaroonPermission permissions = 1;
public final LightningApi.MacaroonPermissionList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MacaroonPermissionList.Builder>
public final LightningApi.MacaroonPermissionList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.MacaroonPermissionList.Builder>