games.mythical.saga.sdk.proto.api.item.Definition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of saga-sdk-proto Show documentation
Show all versions of saga-sdk-proto Show documentation
Saga SDK for Java game servers
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: api/item/definition.proto
package games.mythical.saga.sdk.proto.api.item;
public final class Definition {
private Definition() {}
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_saga_api_item_ItemProto_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_saga_api_item_ItemProto_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_saga_api_item_ItemsProto_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_saga_api_item_ItemsProto_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_saga_api_item_IssueItemRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_saga_api_item_IssueItemRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_saga_api_item_IssueItemProto_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_saga_api_item_IssueItemProto_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_saga_api_item_GetItemRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_saga_api_item_GetItemRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_saga_api_item_GetItemsRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_saga_api_item_GetItemsRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_saga_api_item_GetItemsForPlayerRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_saga_api_item_GetItemsForPlayerRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_saga_api_item_TransferItemRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_saga_api_item_TransferItemRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_saga_api_item_TransferItemBulkRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_saga_api_item_TransferItemBulkRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_saga_api_item_BurnItemRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_saga_api_item_BurnItemRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_saga_api_item_DepositItemRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_saga_api_item_DepositItemRequest_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\031api/item/definition.proto\022\rsaga.api.it" +
"em\032\034common/item/definition.proto\032\023common" +
"/common.proto\032\031common/finalization.proto" +
"\032\022common/query.proto\032\037google/protobuf/ti" +
"mestamp.proto\"\213\002\n\tItemProto\022\020\n\010trace_id\030" +
"\001 \001(\t\022\024\n\014inventory_id\030\002 \001(\t\022\020\n\010oauth_id\030" +
"\003 \001(\t\022\020\n\010token_id\030\004 \001(\003\022\021\n\tfinalized\030\005 \001" +
"(\010\022\032\n\022block_explorer_url\030\006 \001(\t\022\024\n\014metada" +
"ta_url\030\007 \001(\t\022.\n\ncreated_at\030\010 \001(\0132\032.googl" +
"e.protobuf.Timestamp\022.\n\nupdated_at\030\t \001(\013" +
"2\032.google.protobuf.Timestamp\022\r\n\005state\030\n " +
"\001(\t\"5\n\nItemsProto\022\'\n\005items\030\001 \003(\0132\030.saga." +
"api.item.ItemProto\"r\n\020IssueItemRequest\022," +
"\n\005items\030\001 \003(\0132\035.saga.api.item.IssueItemP" +
"roto\022\032\n\022recipient_oauth_id\030\002 \001(\t\022\024\n\014item" +
"_type_id\030\003 \001(\t\"a\n\016IssueItemProto\022\024\n\014inve" +
"ntory_id\030\001 \001(\t\022\'\n\010metadata\030\002 \001(\0132\025.saga." +
"common.Metadata\022\020\n\010token_id\030\004 \001(\004\"&\n\016Get" +
"ItemRequest\022\024\n\014inventory_id\030\001 \001(\t\"\207\001\n\017Ge" +
"tItemsRequest\0225\n\rquery_options\030\001 \001(\0132\036.s" +
"aga.common.QueryOptionsProto\022)\n\tfinalize" +
"d\030\002 \001(\0162\026.saga.common.Finalized\022\022\n\ntoken" +
"_name\030\003 \001(\t\"c\n\030GetItemsForPlayerRequest\022" +
"\020\n\010oauth_id\030\001 \001(\t\0225\n\rquery_options\030\002 \001(\013" +
"2\036.saga.common.QueryOptionsProto\"v\n\023Tran" +
"sferItemRequest\022\024\n\014inventory_id\030\001 \001(\t\022\034\n" +
"\024destination_oauth_id\030\003 \001(\t\022\026\n\016idempoten" +
"cy_id\030\004 \001(\t\022\023\n\013prefund_gas\030\005 \001(\010\"}\n\027Tran" +
"sferItemBulkRequest\022\025\n\rgame_title_id\030\001 \001" +
"(\t\022\025\n\rinventory_ids\030\002 \003(\t\022\034\n\024destination" +
"_oauth_id\030\003 \001(\t\022\026\n\016idempotency_id\030\004 \001(\t\"" +
"<\n\017BurnItemRequest\022\024\n\014inventory_id\030\001 \001(\t" +
"\022\023\n\013prefund_gas\030\002 \001(\010\"\271\001\n\022DepositItemReq" +
"uest\022\024\n\014inventory_id\030\001 \001(\t\022\022\n\ncreated_by" +
"\030\002 \001(\t\022\024\n\014from_address\030\003 \001(\t\022\022\n\nto_addre" +
"ss\030\004 \001(\t\0227\n\nfrom_chain\030\005 \001(\0162#.saga.prot" +
"o.common.item.BlockChains\022\026\n\016transaction" +
"_id\030\006 \001(\tB*\n&games.mythical.saga.sdk.pro" +
"to.api.itemP\001b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
games.mythical.saga.sdk.proto.common.item.Definition.getDescriptor(),
games.mythical.saga.sdk.proto.common.Common.getDescriptor(),
games.mythical.saga.sdk.proto.common.Finalization.getDescriptor(),
games.mythical.saga.sdk.proto.common.Query.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_saga_api_item_ItemProto_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_saga_api_item_ItemProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_saga_api_item_ItemProto_descriptor,
new java.lang.String[] { "TraceId", "InventoryId", "OauthId", "TokenId", "Finalized", "BlockExplorerUrl", "MetadataUrl", "CreatedAt", "UpdatedAt", "State", });
internal_static_saga_api_item_ItemsProto_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_saga_api_item_ItemsProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_saga_api_item_ItemsProto_descriptor,
new java.lang.String[] { "Items", });
internal_static_saga_api_item_IssueItemRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_saga_api_item_IssueItemRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_saga_api_item_IssueItemRequest_descriptor,
new java.lang.String[] { "Items", "RecipientOauthId", "ItemTypeId", });
internal_static_saga_api_item_IssueItemProto_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_saga_api_item_IssueItemProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_saga_api_item_IssueItemProto_descriptor,
new java.lang.String[] { "InventoryId", "Metadata", "TokenId", });
internal_static_saga_api_item_GetItemRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_saga_api_item_GetItemRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_saga_api_item_GetItemRequest_descriptor,
new java.lang.String[] { "InventoryId", });
internal_static_saga_api_item_GetItemsRequest_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_saga_api_item_GetItemsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_saga_api_item_GetItemsRequest_descriptor,
new java.lang.String[] { "QueryOptions", "Finalized", "TokenName", });
internal_static_saga_api_item_GetItemsForPlayerRequest_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_saga_api_item_GetItemsForPlayerRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_saga_api_item_GetItemsForPlayerRequest_descriptor,
new java.lang.String[] { "OauthId", "QueryOptions", });
internal_static_saga_api_item_TransferItemRequest_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_saga_api_item_TransferItemRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_saga_api_item_TransferItemRequest_descriptor,
new java.lang.String[] { "InventoryId", "DestinationOauthId", "IdempotencyId", "PrefundGas", });
internal_static_saga_api_item_TransferItemBulkRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_saga_api_item_TransferItemBulkRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_saga_api_item_TransferItemBulkRequest_descriptor,
new java.lang.String[] { "GameTitleId", "InventoryIds", "DestinationOauthId", "IdempotencyId", });
internal_static_saga_api_item_BurnItemRequest_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_saga_api_item_BurnItemRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_saga_api_item_BurnItemRequest_descriptor,
new java.lang.String[] { "InventoryId", "PrefundGas", });
internal_static_saga_api_item_DepositItemRequest_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_saga_api_item_DepositItemRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_saga_api_item_DepositItemRequest_descriptor,
new java.lang.String[] { "InventoryId", "CreatedBy", "FromAddress", "ToAddress", "FromChain", "TransactionId", });
games.mythical.saga.sdk.proto.common.item.Definition.getDescriptor();
games.mythical.saga.sdk.proto.common.Common.getDescriptor();
games.mythical.saga.sdk.proto.common.Finalization.getDescriptor();
games.mythical.saga.sdk.proto.common.Query.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}