alloy.proto.package.scala Maven / Gradle / Ivy
package alloy
package object proto {
/** Marks an explicit index to be used for a structure member when it is
* interpreted as protobuf. For example:
*
* structure Test { {@literal @}protoIndex(2) str: String }
*
* Is equivalent to:
*
* message Test { string str = 2 }
*/
type ProtoIndex = alloy.proto.ProtoIndex.Type
/** Marks certain field indexes as unusable by the smithy
* specification. For example, if a range is provided of
* 1 to 10 then the proto indexes for any fields in that
* structure must fall outside of that range. Ranges
* are inclusive.
*/
type ProtoReservedFields = alloy.proto.ProtoReservedFields.Type
}