本文整理汇总了Golang中github.com/golang/protobuf/proto.EnumName函数的典型用法代码示例。如果您正苦于以下问题:Golang EnumName函数的具体用法?Golang EnumName怎么用?Golang EnumName使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了EnumName函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。
示例1: String
func (x ReadOptions_ReadConsistency) String() string {
return proto.EnumName(ReadOptions_ReadConsistency_name, int32(x))
}
示例2: String
func (x SystemResult_Status) String() string {
return proto.EnumName(SystemResult_Status_name, int32(x))
}
示例3: String
func (x URLFetchServiceError_ErrorCode) String() string {
return proto.EnumName(URLFetchServiceError_ErrorCode_name, int32(x))
}
示例4: String
func (x Flag) String() string {
return proto.EnumName(Flag_name, int32(x))
}
示例5: String
func (x EGCToGCMsg) String() string {
return proto.EnumName(EGCToGCMsg_name, int32(x))
}
示例6: String
func (x PartnerAccountType) String() string {
return proto.EnumName(PartnerAccountType_name, int32(x))
}
示例7: String
func (x SplitLogTask_State) String() string {
return proto1.EnumName(SplitLogTask_State_name, int32(x))
}
示例8: String
func (x Game_FrameType) String() string {
return proto1.EnumName(Game_FrameType_name, int32(x))
}
示例9: String
func (x KeyspaceIdType) String() string {
return proto.EnumName(KeyspaceIdType_name, int32(x))
}
示例10: String
func (x HealthCheckResponse_ServingStatus) String() string {
return proto.EnumName(HealthCheckResponse_ServingStatus_name, int32(x))
}
示例11: String
func (x PresenceResponse_SHOW) String() string {
return proto.EnumName(PresenceResponse_SHOW_name, int32(x))
}
示例12: String
func (x Table_TimestampGranularity) String() string {
return proto.EnumName(Table_TimestampGranularity_name, int32(x))
}
示例13: String
func (x SyncMessage_Request_Type) String() string {
return proto.EnumName(SyncMessage_Request_Type_name, int32(x))
}
示例14: String
func (x NetMsgID) String() string {
return proto.EnumName(NetMsgID_name, int32(x))
}
示例15: String
func (x APIMessage_APIMessageType) String() string {
return proto.EnumName(APIMessage_APIMessageType_name, int32(x))
}