コード例 #1
0
ファイル: metrics.pb.go プロジェクト: CAP-ALL/kube2consul
func (x MetricType) String() string {
	return proto.EnumName(MetricType_name, int32(x))
}
コード例 #2
0
ファイル: proto3.pb.go プロジェクト: CAP-ALL/kube2consul
func (x Message_Humour) String() string {
	return proto.EnumName(Message_Humour_name, int32(x))
}