1 Star 0 Fork 0

zx/hdfs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ProtocolInfo.pb.go 8.03 KB
一键复制 编辑 原始数据 按行查看 历史
Colin Marc 提交于 2018-01-24 00:31 +08:00 . Regenerate proto files
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: ProtocolInfo.proto
package hadoop_common
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// *
// Request to get protocol versions for all supported rpc kinds.
type GetProtocolVersionsRequestProto struct {
Protocol *string `protobuf:"bytes,1,req,name=protocol" json:"protocol,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GetProtocolVersionsRequestProto) Reset() { *m = GetProtocolVersionsRequestProto{} }
func (m *GetProtocolVersionsRequestProto) String() string { return proto.CompactTextString(m) }
func (*GetProtocolVersionsRequestProto) ProtoMessage() {}
func (*GetProtocolVersionsRequestProto) Descriptor() ([]byte, []int) {
return fileDescriptor12, []int{0}
}
func (m *GetProtocolVersionsRequestProto) GetProtocol() string {
if m != nil && m.Protocol != nil {
return *m.Protocol
}
return ""
}
// *
// Protocol version with corresponding rpc kind.
type ProtocolVersionProto struct {
RpcKind *string `protobuf:"bytes,1,req,name=rpcKind" json:"rpcKind,omitempty"`
Versions []uint64 `protobuf:"varint,2,rep,name=versions" json:"versions,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *ProtocolVersionProto) Reset() { *m = ProtocolVersionProto{} }
func (m *ProtocolVersionProto) String() string { return proto.CompactTextString(m) }
func (*ProtocolVersionProto) ProtoMessage() {}
func (*ProtocolVersionProto) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{1} }
func (m *ProtocolVersionProto) GetRpcKind() string {
if m != nil && m.RpcKind != nil {
return *m.RpcKind
}
return ""
}
func (m *ProtocolVersionProto) GetVersions() []uint64 {
if m != nil {
return m.Versions
}
return nil
}
// *
// Get protocol version response.
type GetProtocolVersionsResponseProto struct {
ProtocolVersions []*ProtocolVersionProto `protobuf:"bytes,1,rep,name=protocolVersions" json:"protocolVersions,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GetProtocolVersionsResponseProto) Reset() { *m = GetProtocolVersionsResponseProto{} }
func (m *GetProtocolVersionsResponseProto) String() string { return proto.CompactTextString(m) }
func (*GetProtocolVersionsResponseProto) ProtoMessage() {}
func (*GetProtocolVersionsResponseProto) Descriptor() ([]byte, []int) {
return fileDescriptor12, []int{2}
}
func (m *GetProtocolVersionsResponseProto) GetProtocolVersions() []*ProtocolVersionProto {
if m != nil {
return m.ProtocolVersions
}
return nil
}
// *
// Get protocol signature request.
type GetProtocolSignatureRequestProto struct {
Protocol *string `protobuf:"bytes,1,req,name=protocol" json:"protocol,omitempty"`
RpcKind *string `protobuf:"bytes,2,req,name=rpcKind" json:"rpcKind,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GetProtocolSignatureRequestProto) Reset() { *m = GetProtocolSignatureRequestProto{} }
func (m *GetProtocolSignatureRequestProto) String() string { return proto.CompactTextString(m) }
func (*GetProtocolSignatureRequestProto) ProtoMessage() {}
func (*GetProtocolSignatureRequestProto) Descriptor() ([]byte, []int) {
return fileDescriptor12, []int{3}
}
func (m *GetProtocolSignatureRequestProto) GetProtocol() string {
if m != nil && m.Protocol != nil {
return *m.Protocol
}
return ""
}
func (m *GetProtocolSignatureRequestProto) GetRpcKind() string {
if m != nil && m.RpcKind != nil {
return *m.RpcKind
}
return ""
}
// *
// Get protocol signature response.
type GetProtocolSignatureResponseProto struct {
ProtocolSignature []*ProtocolSignatureProto `protobuf:"bytes,1,rep,name=protocolSignature" json:"protocolSignature,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GetProtocolSignatureResponseProto) Reset() { *m = GetProtocolSignatureResponseProto{} }
func (m *GetProtocolSignatureResponseProto) String() string { return proto.CompactTextString(m) }
func (*GetProtocolSignatureResponseProto) ProtoMessage() {}
func (*GetProtocolSignatureResponseProto) Descriptor() ([]byte, []int) {
return fileDescriptor12, []int{4}
}
func (m *GetProtocolSignatureResponseProto) GetProtocolSignature() []*ProtocolSignatureProto {
if m != nil {
return m.ProtocolSignature
}
return nil
}
type ProtocolSignatureProto struct {
Version *uint64 `protobuf:"varint,1,req,name=version" json:"version,omitempty"`
Methods []uint32 `protobuf:"varint,2,rep,name=methods" json:"methods,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *ProtocolSignatureProto) Reset() { *m = ProtocolSignatureProto{} }
func (m *ProtocolSignatureProto) String() string { return proto.CompactTextString(m) }
func (*ProtocolSignatureProto) ProtoMessage() {}
func (*ProtocolSignatureProto) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{5} }
func (m *ProtocolSignatureProto) GetVersion() uint64 {
if m != nil && m.Version != nil {
return *m.Version
}
return 0
}
func (m *ProtocolSignatureProto) GetMethods() []uint32 {
if m != nil {
return m.Methods
}
return nil
}
func init() {
proto.RegisterType((*GetProtocolVersionsRequestProto)(nil), "hadoop.common.GetProtocolVersionsRequestProto")
proto.RegisterType((*ProtocolVersionProto)(nil), "hadoop.common.ProtocolVersionProto")
proto.RegisterType((*GetProtocolVersionsResponseProto)(nil), "hadoop.common.GetProtocolVersionsResponseProto")
proto.RegisterType((*GetProtocolSignatureRequestProto)(nil), "hadoop.common.GetProtocolSignatureRequestProto")
proto.RegisterType((*GetProtocolSignatureResponseProto)(nil), "hadoop.common.GetProtocolSignatureResponseProto")
proto.RegisterType((*ProtocolSignatureProto)(nil), "hadoop.common.ProtocolSignatureProto")
}
func init() { proto.RegisterFile("ProtocolInfo.proto", fileDescriptor12) }
var fileDescriptor12 = []byte{
// 339 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x51, 0x4b, 0xf3, 0x30,
0x14, 0x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0x7c, 0xc0, 0xb9, 0xbb, 0x72, 0xd5,
0xcf, 0x04, 0x8e, 0x55, 0x93, 0x51, 0x18, 0xba, 0xfc, 0xc1, 0xd0, 0x96, 0x67, 0x2d, 0xed, 0xea,
0xc9, 0x18, 0x4e, 0xdc, 0xe4, 0x7c, 0xda, 0x22, 0xee, 0x8d, 0x91, 0x36, 0x2b, 0x61, 0x7e, 0xb2,
0x10, 0xd9, 0x1c, 0xa7, 0x76, 0x2f, 0x1d, 0x56, 0xc2, 0xe1, 0xda, 0x87, 0x6e, 0xf5, 0x26, 0x4d,
0x84, 0x5e, 0xa5, 0x5c, 0x04, 0x2b, 0xe8, 0x26, 0xbb, 0xeb, 0x0a, 0x68, 0x63, 0xec, 0x3f, 0xee,
0x57, 0xff, 0x6a, 0x1f, 0x7e, 0x35, 0xb2, 0x4f, 0xe8, 0x25, 0x8e, 0x5c, 0x83, 0x5f, 0x0a, 0x39,
0xd7, 0xda, 0xbf, 0xde, 0x4b, 0x50, 0x69, 0x3d, 0xba, 0x81, 0x53, 0xd4, 0x09, 0x8d, 0x55, 0xcc,
0xe7, 0xa2, 0x54, 0xa7, 0x8a, 0xdb, 0xc7, 0xf5, 0xba, 0x9c, 0x8d, 0x6a, 0x6f, 0x6e, 0xf3, 0x6d,
0xd6, 0x9e, 0xf7, 0xe5, 0x79, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x42, 0x12, 0xbd, 0x0a, 0x8e,
0x03, 0x00, 0x00,
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/z_matrix/hdfs.git
git@gitee.com:z_matrix/hdfs.git
z_matrix
hdfs
hdfs
v1.1.3

搜索帮助