1 Star 0 Fork 0

zx/hdfs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
RpcHeader.pb.go 26.78 KB
一键复制 编辑 原始数据 按行查看 历史
Colin Marc 提交于 2018-01-24 00:31 +08:00 . Regenerate proto files
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: RpcHeader.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
// *
// RpcKind determine the rpcEngine and the serialization of the rpc request
type RpcKindProto int32
const (
RpcKindProto_RPC_BUILTIN RpcKindProto = 0
RpcKindProto_RPC_WRITABLE RpcKindProto = 1
RpcKindProto_RPC_PROTOCOL_BUFFER RpcKindProto = 2
)
var RpcKindProto_name = map[int32]string{
0: "RPC_BUILTIN",
1: "RPC_WRITABLE",
2: "RPC_PROTOCOL_BUFFER",
}
var RpcKindProto_value = map[string]int32{
"RPC_BUILTIN": 0,
"RPC_WRITABLE": 1,
"RPC_PROTOCOL_BUFFER": 2,
}
func (x RpcKindProto) Enum() *RpcKindProto {
p := new(RpcKindProto)
*p = x
return p
}
func (x RpcKindProto) String() string {
return proto.EnumName(RpcKindProto_name, int32(x))
}
func (x *RpcKindProto) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(RpcKindProto_value, data, "RpcKindProto")
if err != nil {
return err
}
*x = RpcKindProto(value)
return nil
}
func (RpcKindProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
type RpcRequestHeaderProto_OperationProto int32
const (
RpcRequestHeaderProto_RPC_FINAL_PACKET RpcRequestHeaderProto_OperationProto = 0
RpcRequestHeaderProto_RPC_CONTINUATION_PACKET RpcRequestHeaderProto_OperationProto = 1
RpcRequestHeaderProto_RPC_CLOSE_CONNECTION RpcRequestHeaderProto_OperationProto = 2
)
var RpcRequestHeaderProto_OperationProto_name = map[int32]string{
0: "RPC_FINAL_PACKET",
1: "RPC_CONTINUATION_PACKET",
2: "RPC_CLOSE_CONNECTION",
}
var RpcRequestHeaderProto_OperationProto_value = map[string]int32{
"RPC_FINAL_PACKET": 0,
"RPC_CONTINUATION_PACKET": 1,
"RPC_CLOSE_CONNECTION": 2,
}
func (x RpcRequestHeaderProto_OperationProto) Enum() *RpcRequestHeaderProto_OperationProto {
p := new(RpcRequestHeaderProto_OperationProto)
*p = x
return p
}
func (x RpcRequestHeaderProto_OperationProto) String() string {
return proto.EnumName(RpcRequestHeaderProto_OperationProto_name, int32(x))
}
func (x *RpcRequestHeaderProto_OperationProto) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(RpcRequestHeaderProto_OperationProto_value, data, "RpcRequestHeaderProto_OperationProto")
if err != nil {
return err
}
*x = RpcRequestHeaderProto_OperationProto(value)
return nil
}
func (RpcRequestHeaderProto_OperationProto) EnumDescriptor() ([]byte, []int) {
return fileDescriptor4, []int{2, 0}
}
type RpcResponseHeaderProto_RpcStatusProto int32
const (
RpcResponseHeaderProto_SUCCESS RpcResponseHeaderProto_RpcStatusProto = 0
RpcResponseHeaderProto_ERROR RpcResponseHeaderProto_RpcStatusProto = 1
RpcResponseHeaderProto_FATAL RpcResponseHeaderProto_RpcStatusProto = 2
)
var RpcResponseHeaderProto_RpcStatusProto_name = map[int32]string{
0: "SUCCESS",
1: "ERROR",
2: "FATAL",
}
var RpcResponseHeaderProto_RpcStatusProto_value = map[string]int32{
"SUCCESS": 0,
"ERROR": 1,
"FATAL": 2,
}
func (x RpcResponseHeaderProto_RpcStatusProto) Enum() *RpcResponseHeaderProto_RpcStatusProto {
p := new(RpcResponseHeaderProto_RpcStatusProto)
*p = x
return p
}
func (x RpcResponseHeaderProto_RpcStatusProto) String() string {
return proto.EnumName(RpcResponseHeaderProto_RpcStatusProto_name, int32(x))
}
func (x *RpcResponseHeaderProto_RpcStatusProto) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(RpcResponseHeaderProto_RpcStatusProto_value, data, "RpcResponseHeaderProto_RpcStatusProto")
if err != nil {
return err
}
*x = RpcResponseHeaderProto_RpcStatusProto(value)
return nil
}
func (RpcResponseHeaderProto_RpcStatusProto) EnumDescriptor() ([]byte, []int) {
return fileDescriptor4, []int{3, 0}
}
type RpcResponseHeaderProto_RpcErrorCodeProto int32
const (
// Non-fatal Rpc error - connection left open for future rpc calls
RpcResponseHeaderProto_ERROR_APPLICATION RpcResponseHeaderProto_RpcErrorCodeProto = 1
RpcResponseHeaderProto_ERROR_NO_SUCH_METHOD RpcResponseHeaderProto_RpcErrorCodeProto = 2
RpcResponseHeaderProto_ERROR_NO_SUCH_PROTOCOL RpcResponseHeaderProto_RpcErrorCodeProto = 3
RpcResponseHeaderProto_ERROR_RPC_SERVER RpcResponseHeaderProto_RpcErrorCodeProto = 4
RpcResponseHeaderProto_ERROR_SERIALIZING_RESPONSE RpcResponseHeaderProto_RpcErrorCodeProto = 5
RpcResponseHeaderProto_ERROR_RPC_VERSION_MISMATCH RpcResponseHeaderProto_RpcErrorCodeProto = 6
// Fatal Server side Rpc error - connection closed
RpcResponseHeaderProto_FATAL_UNKNOWN RpcResponseHeaderProto_RpcErrorCodeProto = 10
RpcResponseHeaderProto_FATAL_UNSUPPORTED_SERIALIZATION RpcResponseHeaderProto_RpcErrorCodeProto = 11
RpcResponseHeaderProto_FATAL_INVALID_RPC_HEADER RpcResponseHeaderProto_RpcErrorCodeProto = 12
RpcResponseHeaderProto_FATAL_DESERIALIZING_REQUEST RpcResponseHeaderProto_RpcErrorCodeProto = 13
RpcResponseHeaderProto_FATAL_VERSION_MISMATCH RpcResponseHeaderProto_RpcErrorCodeProto = 14
RpcResponseHeaderProto_FATAL_UNAUTHORIZED RpcResponseHeaderProto_RpcErrorCodeProto = 15
)
var RpcResponseHeaderProto_RpcErrorCodeProto_name = map[int32]string{
1: "ERROR_APPLICATION",
2: "ERROR_NO_SUCH_METHOD",
3: "ERROR_NO_SUCH_PROTOCOL",
4: "ERROR_RPC_SERVER",
5: "ERROR_SERIALIZING_RESPONSE",
6: "ERROR_RPC_VERSION_MISMATCH",
10: "FATAL_UNKNOWN",
11: "FATAL_UNSUPPORTED_SERIALIZATION",
12: "FATAL_INVALID_RPC_HEADER",
13: "FATAL_DESERIALIZING_REQUEST",
14: "FATAL_VERSION_MISMATCH",
15: "FATAL_UNAUTHORIZED",
}
var RpcResponseHeaderProto_RpcErrorCodeProto_value = map[string]int32{
"ERROR_APPLICATION": 1,
"ERROR_NO_SUCH_METHOD": 2,
"ERROR_NO_SUCH_PROTOCOL": 3,
"ERROR_RPC_SERVER": 4,
"ERROR_SERIALIZING_RESPONSE": 5,
"ERROR_RPC_VERSION_MISMATCH": 6,
"FATAL_UNKNOWN": 10,
"FATAL_UNSUPPORTED_SERIALIZATION": 11,
"FATAL_INVALID_RPC_HEADER": 12,
"FATAL_DESERIALIZING_REQUEST": 13,
"FATAL_VERSION_MISMATCH": 14,
"FATAL_UNAUTHORIZED": 15,
}
func (x RpcResponseHeaderProto_RpcErrorCodeProto) Enum() *RpcResponseHeaderProto_RpcErrorCodeProto {
p := new(RpcResponseHeaderProto_RpcErrorCodeProto)
*p = x
return p
}
func (x RpcResponseHeaderProto_RpcErrorCodeProto) String() string {
return proto.EnumName(RpcResponseHeaderProto_RpcErrorCodeProto_name, int32(x))
}
func (x *RpcResponseHeaderProto_RpcErrorCodeProto) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(RpcResponseHeaderProto_RpcErrorCodeProto_value, data, "RpcResponseHeaderProto_RpcErrorCodeProto")
if err != nil {
return err
}
*x = RpcResponseHeaderProto_RpcErrorCodeProto(value)
return nil
}
func (RpcResponseHeaderProto_RpcErrorCodeProto) EnumDescriptor() ([]byte, []int) {
return fileDescriptor4, []int{3, 1}
}
type RpcSaslProto_SaslState int32
const (
RpcSaslProto_SUCCESS RpcSaslProto_SaslState = 0
RpcSaslProto_NEGOTIATE RpcSaslProto_SaslState = 1
RpcSaslProto_INITIATE RpcSaslProto_SaslState = 2
RpcSaslProto_CHALLENGE RpcSaslProto_SaslState = 3
RpcSaslProto_RESPONSE RpcSaslProto_SaslState = 4
RpcSaslProto_WRAP RpcSaslProto_SaslState = 5
)
var RpcSaslProto_SaslState_name = map[int32]string{
0: "SUCCESS",
1: "NEGOTIATE",
2: "INITIATE",
3: "CHALLENGE",
4: "RESPONSE",
5: "WRAP",
}
var RpcSaslProto_SaslState_value = map[string]int32{
"SUCCESS": 0,
"NEGOTIATE": 1,
"INITIATE": 2,
"CHALLENGE": 3,
"RESPONSE": 4,
"WRAP": 5,
}
func (x RpcSaslProto_SaslState) Enum() *RpcSaslProto_SaslState {
p := new(RpcSaslProto_SaslState)
*p = x
return p
}
func (x RpcSaslProto_SaslState) String() string {
return proto.EnumName(RpcSaslProto_SaslState_name, int32(x))
}
func (x *RpcSaslProto_SaslState) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(RpcSaslProto_SaslState_value, data, "RpcSaslProto_SaslState")
if err != nil {
return err
}
*x = RpcSaslProto_SaslState(value)
return nil
}
func (RpcSaslProto_SaslState) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{4, 0} }
// *
// Used to pass through the information necessary to continue
// a trace after an RPC is made. All we need is the traceid
// (so we know the overarching trace this message is a part of), and
// the id of the current span when this message was sent, so we know
// what span caused the new span we will create when this message is received.
type RPCTraceInfoProto struct {
TraceId *int64 `protobuf:"varint,1,opt,name=traceId" json:"traceId,omitempty"`
ParentId *int64 `protobuf:"varint,2,opt,name=parentId" json:"parentId,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *RPCTraceInfoProto) Reset() { *m = RPCTraceInfoProto{} }
func (m *RPCTraceInfoProto) String() string { return proto.CompactTextString(m) }
func (*RPCTraceInfoProto) ProtoMessage() {}
func (*RPCTraceInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
func (m *RPCTraceInfoProto) GetTraceId() int64 {
if m != nil && m.TraceId != nil {
return *m.TraceId
}
return 0
}
func (m *RPCTraceInfoProto) GetParentId() int64 {
if m != nil && m.ParentId != nil {
return *m.ParentId
}
return 0
}
// *
// Used to pass through the call context entry after an RPC is made.
type RPCCallerContextProto struct {
Context *string `protobuf:"bytes,1,req,name=context" json:"context,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *RPCCallerContextProto) Reset() { *m = RPCCallerContextProto{} }
func (m *RPCCallerContextProto) String() string { return proto.CompactTextString(m) }
func (*RPCCallerContextProto) ProtoMessage() {}
func (*RPCCallerContextProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
func (m *RPCCallerContextProto) GetContext() string {
if m != nil && m.Context != nil {
return *m.Context
}
return ""
}
func (m *RPCCallerContextProto) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
type RpcRequestHeaderProto struct {
RpcKind *RpcKindProto `protobuf:"varint,1,opt,name=rpcKind,enum=hadoop.common.RpcKindProto" json:"rpcKind,omitempty"`
RpcOp *RpcRequestHeaderProto_OperationProto `protobuf:"varint,2,opt,name=rpcOp,enum=hadoop.common.RpcRequestHeaderProto_OperationProto" json:"rpcOp,omitempty"`
CallId *int32 `protobuf:"zigzag32,3,req,name=callId" json:"callId,omitempty"`
ClientId []byte `protobuf:"bytes,4,req,name=clientId" json:"clientId,omitempty"`
// clientId + callId uniquely identifies a request
// retry count, 1 means this is the first retry
RetryCount *int32 `protobuf:"zigzag32,5,opt,name=retryCount,def=-1" json:"retryCount,omitempty"`
TraceInfo *RPCTraceInfoProto `protobuf:"bytes,6,opt,name=traceInfo" json:"traceInfo,omitempty"`
CallerContext *RPCCallerContextProto `protobuf:"bytes,7,opt,name=callerContext" json:"callerContext,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *RpcRequestHeaderProto) Reset() { *m = RpcRequestHeaderProto{} }
func (m *RpcRequestHeaderProto) String() string { return proto.CompactTextString(m) }
func (*RpcRequestHeaderProto) ProtoMessage() {}
func (*RpcRequestHeaderProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2} }
const Default_RpcRequestHeaderProto_RetryCount int32 = -1
func (m *RpcRequestHeaderProto) GetRpcKind() RpcKindProto {
if m != nil && m.RpcKind != nil {
return *m.RpcKind
}
return RpcKindProto_RPC_BUILTIN
}
func (m *RpcRequestHeaderProto) GetRpcOp() RpcRequestHeaderProto_OperationProto {
if m != nil && m.RpcOp != nil {
return *m.RpcOp
}
return RpcRequestHeaderProto_RPC_FINAL_PACKET
}
func (m *RpcRequestHeaderProto) GetCallId() int32 {
if m != nil && m.CallId != nil {
return *m.CallId
}
return 0
}
func (m *RpcRequestHeaderProto) GetClientId() []byte {
if m != nil {
return m.ClientId
}
return nil
}
func (m *RpcRequestHeaderProto) GetRetryCount() int32 {
if m != nil && m.RetryCount != nil {
return *m.RetryCount
}
return Default_RpcRequestHeaderProto_RetryCount
}
func (m *RpcRequestHeaderProto) GetTraceInfo() *RPCTraceInfoProto {
if m != nil {
return m.TraceInfo
}
return nil
}
func (m *RpcRequestHeaderProto) GetCallerContext() *RPCCallerContextProto {
if m != nil {
return m.CallerContext
}
return nil
}
// *
// Rpc Response Header
// +------------------------------------------------------------------+
// | Rpc total response length in bytes (4 bytes int) |
// | (sum of next two parts) |
// +------------------------------------------------------------------+
// | RpcResponseHeaderProto - serialized delimited ie has len |
// +------------------------------------------------------------------+
// | if request is successful: |
// | - RpcResponse - The actual rpc response bytes follow |
// | the response header |
// | This response is serialized based on RpcKindProto |
// | if request fails : |
// | The rpc response header contains the necessary info |
// +------------------------------------------------------------------+
//
// Note that rpc response header is also used when connection setup fails.
// Ie the response looks like a rpc response with a fake callId.
type RpcResponseHeaderProto struct {
CallId *uint32 `protobuf:"varint,1,req,name=callId" json:"callId,omitempty"`
Status *RpcResponseHeaderProto_RpcStatusProto `protobuf:"varint,2,req,name=status,enum=hadoop.common.RpcResponseHeaderProto_RpcStatusProto" json:"status,omitempty"`
ServerIpcVersionNum *uint32 `protobuf:"varint,3,opt,name=serverIpcVersionNum" json:"serverIpcVersionNum,omitempty"`
ExceptionClassName *string `protobuf:"bytes,4,opt,name=exceptionClassName" json:"exceptionClassName,omitempty"`
ErrorMsg *string `protobuf:"bytes,5,opt,name=errorMsg" json:"errorMsg,omitempty"`
ErrorDetail *RpcResponseHeaderProto_RpcErrorCodeProto `protobuf:"varint,6,opt,name=errorDetail,enum=hadoop.common.RpcResponseHeaderProto_RpcErrorCodeProto" json:"errorDetail,omitempty"`
ClientId []byte `protobuf:"bytes,7,opt,name=clientId" json:"clientId,omitempty"`
RetryCount *int32 `protobuf:"zigzag32,8,opt,name=retryCount,def=-1" json:"retryCount,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *RpcResponseHeaderProto) Reset() { *m = RpcResponseHeaderProto{} }
func (m *RpcResponseHeaderProto) String() string { return proto.CompactTextString(m) }
func (*RpcResponseHeaderProto) ProtoMessage() {}
func (*RpcResponseHeaderProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{3} }
const Default_RpcResponseHeaderProto_RetryCount int32 = -1
func (m *RpcResponseHeaderProto) GetCallId() uint32 {
if m != nil && m.CallId != nil {
return *m.CallId
}
return 0
}
func (m *RpcResponseHeaderProto) GetStatus() RpcResponseHeaderProto_RpcStatusProto {
if m != nil && m.Status != nil {
return *m.Status
}
return RpcResponseHeaderProto_SUCCESS
}
func (m *RpcResponseHeaderProto) GetServerIpcVersionNum() uint32 {
if m != nil && m.ServerIpcVersionNum != nil {
return *m.ServerIpcVersionNum
}
return 0
}
func (m *RpcResponseHeaderProto) GetExceptionClassName() string {
if m != nil && m.ExceptionClassName != nil {
return *m.ExceptionClassName
}
return ""
}
func (m *RpcResponseHeaderProto) GetErrorMsg() string {
if m != nil && m.ErrorMsg != nil {
return *m.ErrorMsg
}
return ""
}
func (m *RpcResponseHeaderProto) GetErrorDetail() RpcResponseHeaderProto_RpcErrorCodeProto {
if m != nil && m.ErrorDetail != nil {
return *m.ErrorDetail
}
return RpcResponseHeaderProto_ERROR_APPLICATION
}
func (m *RpcResponseHeaderProto) GetClientId() []byte {
if m != nil {
return m.ClientId
}
return nil
}
func (m *RpcResponseHeaderProto) GetRetryCount() int32 {
if m != nil && m.RetryCount != nil {
return *m.RetryCount
}
return Default_RpcResponseHeaderProto_RetryCount
}
type RpcSaslProto struct {
Version *uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
State *RpcSaslProto_SaslState `protobuf:"varint,2,req,name=state,enum=hadoop.common.RpcSaslProto_SaslState" json:"state,omitempty"`
Token []byte `protobuf:"bytes,3,opt,name=token" json:"token,omitempty"`
Auths []*RpcSaslProto_SaslAuth `protobuf:"bytes,4,rep,name=auths" json:"auths,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *RpcSaslProto) Reset() { *m = RpcSaslProto{} }
func (m *RpcSaslProto) String() string { return proto.CompactTextString(m) }
func (*RpcSaslProto) ProtoMessage() {}
func (*RpcSaslProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{4} }
func (m *RpcSaslProto) GetVersion() uint32 {
if m != nil && m.Version != nil {
return *m.Version
}
return 0
}
func (m *RpcSaslProto) GetState() RpcSaslProto_SaslState {
if m != nil && m.State != nil {
return *m.State
}
return RpcSaslProto_SUCCESS
}
func (m *RpcSaslProto) GetToken() []byte {
if m != nil {
return m.Token
}
return nil
}
func (m *RpcSaslProto) GetAuths() []*RpcSaslProto_SaslAuth {
if m != nil {
return m.Auths
}
return nil
}
type RpcSaslProto_SaslAuth struct {
Method *string `protobuf:"bytes,1,req,name=method" json:"method,omitempty"`
Mechanism *string `protobuf:"bytes,2,req,name=mechanism" json:"mechanism,omitempty"`
Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"`
ServerId *string `protobuf:"bytes,4,opt,name=serverId" json:"serverId,omitempty"`
Challenge []byte `protobuf:"bytes,5,opt,name=challenge" json:"challenge,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *RpcSaslProto_SaslAuth) Reset() { *m = RpcSaslProto_SaslAuth{} }
func (m *RpcSaslProto_SaslAuth) String() string { return proto.CompactTextString(m) }
func (*RpcSaslProto_SaslAuth) ProtoMessage() {}
func (*RpcSaslProto_SaslAuth) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{4, 0} }
func (m *RpcSaslProto_SaslAuth) GetMethod() string {
if m != nil && m.Method != nil {
return *m.Method
}
return ""
}
func (m *RpcSaslProto_SaslAuth) GetMechanism() string {
if m != nil && m.Mechanism != nil {
return *m.Mechanism
}
return ""
}
func (m *RpcSaslProto_SaslAuth) GetProtocol() string {
if m != nil && m.Protocol != nil {
return *m.Protocol
}
return ""
}
func (m *RpcSaslProto_SaslAuth) GetServerId() string {
if m != nil && m.ServerId != nil {
return *m.ServerId
}
return ""
}
func (m *RpcSaslProto_SaslAuth) GetChallenge() []byte {
if m != nil {
return m.Challenge
}
return nil
}
func init() {
proto.RegisterType((*RPCTraceInfoProto)(nil), "hadoop.common.RPCTraceInfoProto")
proto.RegisterType((*RPCCallerContextProto)(nil), "hadoop.common.RPCCallerContextProto")
proto.RegisterType((*RpcRequestHeaderProto)(nil), "hadoop.common.RpcRequestHeaderProto")
proto.RegisterType((*RpcResponseHeaderProto)(nil), "hadoop.common.RpcResponseHeaderProto")
proto.RegisterType((*RpcSaslProto)(nil), "hadoop.common.RpcSaslProto")
proto.RegisterType((*RpcSaslProto_SaslAuth)(nil), "hadoop.common.RpcSaslProto.SaslAuth")
proto.RegisterEnum("hadoop.common.RpcKindProto", RpcKindProto_name, RpcKindProto_value)
proto.RegisterEnum("hadoop.common.RpcRequestHeaderProto_OperationProto", RpcRequestHeaderProto_OperationProto_name, RpcRequestHeaderProto_OperationProto_value)
proto.RegisterEnum("hadoop.common.RpcResponseHeaderProto_RpcStatusProto", RpcResponseHeaderProto_RpcStatusProto_name, RpcResponseHeaderProto_RpcStatusProto_value)
proto.RegisterEnum("hadoop.common.RpcResponseHeaderProto_RpcErrorCodeProto", RpcResponseHeaderProto_RpcErrorCodeProto_name, RpcResponseHeaderProto_RpcErrorCodeProto_value)
proto.RegisterEnum("hadoop.common.RpcSaslProto_SaslState", RpcSaslProto_SaslState_name, RpcSaslProto_SaslState_value)
}
func init() { proto.RegisterFile("RpcHeader.proto", fileDescriptor4) }
var fileDescriptor4 = []byte{
// 1035 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xdd, 0x6e, 0xe3, 0x44,
0x14, 0x5e, 0x3b, 0x49, 0xdb, 0x9c, 0x26, 0xa9, 0x33, 0xdb, 0x76, 0xad, 0x76, 0xb5, 0x1b, 0x05,
0x90, 0x22, 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ec, 0x73, 0x96, 0x9c, 0x8f, 0x88,
0xe5, 0x13, 0x5b, 0x7b, 0x82, 0x34, 0x68, 0x70, 0xc5, 0x2d, 0x25, 0xbe, 0x71, 0x6e, 0xf1, 0x7b,
0x9e, 0xc1, 0x53, 0xae, 0x29, 0x68, 0x3f, 0x3e, 0x1f, 0x5d, 0x5c, 0x60, 0xaa, 0xa9, 0xe7, 0xaf,
0xe1, 0x45, 0x9c, 0xde, 0xf5, 0x83, 0x24, 0x08, 0xa7, 0xac, 0xe8, 0xfd, 0x2c, 0x09, 0xe5, 0xc7,
0xfe, 0xf3, 0xf2, 0xfd, 0xf9, 0xfa, 0xb3, 0x17, 0xb7, 0x65, 0x7f, 0x28, 0xca, 0xbf, 0x01, 0x00,
0x00, 0xff, 0xff, 0x4d, 0x60, 0xab, 0xef, 0x01, 0x08, 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

搜索帮助