当前位置: 首页>>代码示例>>Golang>>正文


Golang proto.EnumName函数代码示例

本文整理汇总了Golang中appengine_internal/github.com/golang/protobuf/proto.EnumName函数的典型用法代码示例。如果您正苦于以下问题:Golang EnumName函数的具体用法?Golang EnumName怎么用?Golang EnumName使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了EnumName函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。

示例1: String

func (x ShuffleEnums_OutputFormat) String() string {
	return proto.EnumName(ShuffleEnums_OutputFormat_name, int32(x))
}
开发者ID:AppScale,项目名称:appscale,代码行数:3,代码来源:file_service.pb.go

示例2: String

func (x MemcacheIncrementResponse_IncrementStatusCode) String() string {
	return proto.EnumName(MemcacheIncrementResponse_IncrementStatusCode_name, int32(x))
}
开发者ID:AppScale,项目名称:appscale,代码行数:3,代码来源:memcache_service.pb.go

示例3: String

func (x CapabilityConfig_Status) String() string {
	return proto.EnumName(CapabilityConfig_Status_name, int32(x))
}
开发者ID:AppScale,项目名称:appscale,代码行数:3,代码来源:capability_service.pb.go

示例4: String

func (x AppIdentityServiceError_ErrorCode) String() string {
	return proto.EnumName(AppIdentityServiceError_ErrorCode_name, int32(x))
}
开发者ID:AppScale,项目名称:appscale,代码行数:3,代码来源:app_identity_service.pb.go

示例5: String

func (x OutputSettings_MIME_TYPE) String() string {
	return proto.EnumName(OutputSettings_MIME_TYPE_name, int32(x))
}
开发者ID:AppScale,项目名称:appscale,代码行数:3,代码来源:images_service.pb.go

示例6: String

func (x Document_Storage) String() string {
	return proto.EnumName(Document_Storage_name, int32(x))
}
开发者ID:AppScale,项目名称:appscale,代码行数:3,代码来源:search.pb.go

示例7: String

func (x URLFetchServiceError_ErrorCode) String() string {
	return proto.EnumName(URLFetchServiceError_ErrorCode_name, int32(x))
}
开发者ID:AppScale,项目名称:appscale,代码行数:3,代码来源:urlfetch_service.pb.go

示例8: String

func (x BlobstoreServiceError_ErrorCode) String() string {
	return proto.EnumName(BlobstoreServiceError_ErrorCode_name, int32(x))
}
开发者ID:AppScale,项目名称:appscale,代码行数:3,代码来源:blobstore_service.pb.go

示例9: String

func (x MailServiceError_ErrorCode) String() string {
	return proto.EnumName(MailServiceError_ErrorCode_name, int32(x))
}
开发者ID:AppScale,项目名称:appscale,代码行数:3,代码来源:mail_service.pb.go

示例10: String

func (x SystemServiceError_ErrorCode) String() string {
	return proto.EnumName(SystemServiceError_ErrorCode_name, int32(x))
}
开发者ID:AppScale,项目名称:appscale,代码行数:3,代码来源:system_service.pb.go


注:本文中的appengine_internal/github.com/golang/protobuf/proto.EnumName函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。