com.hedera.hashgraph.sdk.proto.CustomFees Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: custom_fees.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public final class CustomFees {
private CustomFees() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_proto_FractionalFee_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_proto_FractionalFee_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_proto_FixedFee_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_proto_FixedFee_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_proto_RoyaltyFee_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_proto_RoyaltyFee_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_proto_CustomFee_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_proto_CustomFee_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_proto_AssessedCustomFee_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_proto_AssessedCustomFee_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\021custom_fees.proto\022\005proto\032\021basic_types." +
"proto\"\205\001\n\rFractionalFee\022*\n\021fractional_am" +
"ount\030\001 \001(\0132\017.proto.Fraction\022\026\n\016minimum_a" +
"mount\030\002 \001(\003\022\026\n\016maximum_amount\030\003 \001(\003\022\030\n\020n" +
"et_of_transfers\030\004 \001(\010\"I\n\010FixedFee\022\016\n\006amo" +
"unt\030\001 \001(\003\022-\n\025denominating_token_id\030\002 \001(\013" +
"2\016.proto.TokenID\"e\n\nRoyaltyFee\0220\n\027exchan" +
"ge_value_fraction\030\001 \001(\0132\017.proto.Fraction" +
"\022%\n\014fallback_fee\030\002 \001(\0132\017.proto.FixedFee\"" +
"\351\001\n\tCustomFee\022$\n\tfixed_fee\030\001 \001(\0132\017.proto" +
".FixedFeeH\000\022.\n\016fractional_fee\030\002 \001(\0132\024.pr" +
"oto.FractionalFeeH\000\022(\n\013royalty_fee\030\004 \001(\013" +
"2\021.proto.RoyaltyFeeH\000\0222\n\030fee_collector_a" +
"ccount_id\030\003 \001(\0132\020.proto.AccountID\022!\n\031all" +
"_collectors_are_exempt\030\005 \001(\010B\005\n\003fee\"\257\001\n\021" +
"AssessedCustomFee\022\016\n\006amount\030\001 \001(\003\022 \n\010tok" +
"en_id\030\002 \001(\0132\016.proto.TokenID\0222\n\030fee_colle" +
"ctor_account_id\030\003 \001(\0132\020.proto.AccountID\022" +
"4\n\032effective_payer_account_id\030\004 \003(\0132\020.pr" +
"oto.AccountIDB\"\n\036com.hedera.hashgraph.sd" +
"k.protoP\001b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.hedera.hashgraph.sdk.proto.BasicTypes.getDescriptor(),
});
internal_static_proto_FractionalFee_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_proto_FractionalFee_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_proto_FractionalFee_descriptor,
new java.lang.String[] { "FractionalAmount", "MinimumAmount", "MaximumAmount", "NetOfTransfers", });
internal_static_proto_FixedFee_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_proto_FixedFee_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_proto_FixedFee_descriptor,
new java.lang.String[] { "Amount", "DenominatingTokenId", });
internal_static_proto_RoyaltyFee_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_proto_RoyaltyFee_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_proto_RoyaltyFee_descriptor,
new java.lang.String[] { "ExchangeValueFraction", "FallbackFee", });
internal_static_proto_CustomFee_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_proto_CustomFee_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_proto_CustomFee_descriptor,
new java.lang.String[] { "FixedFee", "FractionalFee", "RoyaltyFee", "FeeCollectorAccountId", "AllCollectorsAreExempt", "Fee", });
internal_static_proto_AssessedCustomFee_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_proto_AssessedCustomFee_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_proto_AssessedCustomFee_descriptor,
new java.lang.String[] { "Amount", "TokenId", "FeeCollectorAccountId", "EffectivePayerAccountId", });
com.hedera.hashgraph.sdk.proto.BasicTypes.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}