summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Marc <hi@colinmarc.com>2022-02-05 15:32:26 +0100
committerColin Marc <hi@colinmarc.com>2022-02-05 15:38:23 +0100
commitc67abc15ff977efec63cd84ea31aad4fa55439ac (patch)
treee052071276e96b443ff09a96b7364e342c949f56
parent999e5322347d181f857eb9966a2f0c32a7c83b43 (diff)
Update and regenerate protobuf files
-rw-r--r--Makefile5
-rw-r--r--content_summary.go2
-rw-r--r--file_reader.go2
-rw-r--r--file_writer.go2
-rw-r--r--go.mod3
-rw-r--r--go.sum12
-rw-r--r--internal/protocol/hadoop_common/GenericRefreshProtocol.pb.go381
-rw-r--r--internal/protocol/hadoop_common/GenericRefreshProtocol.proto3
-rw-r--r--internal/protocol/hadoop_common/GetUserMappingsProtocol.pb.go276
-rw-r--r--internal/protocol/hadoop_common/GetUserMappingsProtocol.proto3
-rw-r--r--internal/protocol/hadoop_common/HAServiceProtocol.pb.go1025
-rw-r--r--internal/protocol/hadoop_common/HAServiceProtocol.proto23
-rw-r--r--internal/protocol/hadoop_common/IpcConnectionContext.pb.go365
-rw-r--r--internal/protocol/hadoop_common/IpcConnectionContext.proto3
-rw-r--r--internal/protocol/hadoop_common/ProtobufRpcEngine.pb.go215
-rw-r--r--internal/protocol/hadoop_common/ProtobufRpcEngine.proto3
-rw-r--r--internal/protocol/hadoop_common/ProtocolInfo.pb.go587
-rw-r--r--internal/protocol/hadoop_common/ProtocolInfo.proto3
-rw-r--r--internal/protocol/hadoop_common/RefreshAuthorizationPolicyProtocol.pb.go261
-rw-r--r--internal/protocol/hadoop_common/RefreshAuthorizationPolicyProtocol.proto3
-rw-r--r--internal/protocol/hadoop_common/RefreshCallQueueProtocol.pb.go258
-rw-r--r--internal/protocol/hadoop_common/RefreshCallQueueProtocol.proto3
-rw-r--r--internal/protocol/hadoop_common/RefreshUserMappingsProtocol.pb.go382
-rw-r--r--internal/protocol/hadoop_common/RefreshUserMappingsProtocol.proto3
-rw-r--r--internal/protocol/hadoop_common/RpcHeader.pb.go1243
-rw-r--r--internal/protocol/hadoop_common/RpcHeader.proto5
-rw-r--r--internal/protocol/hadoop_common/Security.pb.go780
-rw-r--r--internal/protocol/hadoop_common/Security.proto14
-rw-r--r--internal/protocol/hadoop_common/TraceAdmin.pb.go709
-rw-r--r--internal/protocol/hadoop_common/TraceAdmin.proto3
-rw-r--r--internal/protocol/hadoop_common/ZKFCProtocol.pb.go384
-rw-r--r--internal/protocol/hadoop_common/ZKFCProtocol.proto3
-rw-r--r--internal/protocol/hadoop_hdfs/AliasMapProtocol.pb.go725
-rw-r--r--internal/protocol/hadoop_hdfs/AliasMapProtocol.proto69
-rw-r--r--internal/protocol/hadoop_hdfs/ClientDatanodeProtocol.pb.go2193
-rw-r--r--internal/protocol/hadoop_hdfs/ClientDatanodeProtocol.proto101
-rw-r--r--internal/protocol/hadoop_hdfs/ClientNamenodeProtocol.pb.go14170
-rw-r--r--internal/protocol/hadoop_hdfs/ClientNamenodeProtocol.proto166
-rw-r--r--internal/protocol/hadoop_hdfs/HAZKInfo.pb.go211
-rw-r--r--internal/protocol/hadoop_hdfs/HAZKInfo.proto37
-rw-r--r--internal/protocol/hadoop_hdfs/HdfsServer.pb.go1883
-rw-r--r--internal/protocol/hadoop_hdfs/HdfsServer.proto220
-rw-r--r--internal/protocol/hadoop_hdfs/InterDatanodeProtocol.pb.go476
-rw-r--r--internal/protocol/hadoop_hdfs/InterDatanodeProtocol.proto92
-rw-r--r--internal/protocol/hadoop_hdfs/ReconfigurationProtocol.pb.go944
-rw-r--r--internal/protocol/hadoop_hdfs/ReconfigurationProtocol.proto3
-rw-r--r--internal/protocol/hadoop_hdfs/acl.pb.go1386
-rw-r--r--internal/protocol/hadoop_hdfs/acl.proto10
-rw-r--r--internal/protocol/hadoop_hdfs/datatransfer.pb.go3342
-rw-r--r--internal/protocol/hadoop_hdfs/datatransfer.proto23
-rw-r--r--internal/protocol/hadoop_hdfs/editlog.pb.go257
-rw-r--r--internal/protocol/hadoop_hdfs/editlog.proto36
-rw-r--r--internal/protocol/hadoop_hdfs/encryption.pb.go1198
-rw-r--r--internal/protocol/hadoop_hdfs/encryption.proto44
-rw-r--r--internal/protocol/hadoop_hdfs/erasurecoding.pb.go1597
-rw-r--r--internal/protocol/hadoop_hdfs/erasurecoding.proto64
-rw-r--r--internal/protocol/hadoop_hdfs/hdfs.pb.go6412
-rw-r--r--internal/protocol/hadoop_hdfs/hdfs.proto225
-rw-r--r--internal/protocol/hadoop_hdfs/inotify.pb.go1395
-rw-r--r--internal/protocol/hadoop_hdfs/inotify.proto5
-rw-r--r--internal/protocol/hadoop_hdfs/untitled0
-rw-r--r--internal/protocol/hadoop_hdfs/xattr.pb.go897
-rw-r--r--internal/protocol/hadoop_hdfs/xattr.proto3
-rw-r--r--internal/rpc/namenode.go2
-rw-r--r--internal/rpc/rpc.go2
-rw-r--r--internal/rpc/sasl_transport.go2
-rw-r--r--internal/rpc/transport.go2
-rw-r--r--internal/transfer/block_read_stream.go2
-rw-r--r--internal/transfer/block_reader.go2
-rw-r--r--internal/transfer/block_write_stream.go2
-rw-r--r--internal/transfer/block_writer.go2
-rw-r--r--internal/transfer/checksum_reader.go2
-rw-r--r--internal/transfer/digest_md5_test.go2
-rw-r--r--internal/transfer/sasl_dialer.go2
-rw-r--r--internal/transfer/transfer.go2
-rw-r--r--mkdir.go2
-rw-r--r--perms.go2
-rw-r--r--remove.go2
-rw-r--r--rename.go2
-rw-r--r--stat.go2
-rw-r--r--xattr.go2
81 files changed, 37833 insertions, 7351 deletions
diff --git a/Makefile b/Makefile
index d003288..7b8113c 100644
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,9 @@ RELEASE_NAME = gohdfs-$(TAG)-$(ARCH)
all: hdfs
%.pb.go: $(HADOOP_HDFS_PROTOS) $(HADOOP_COMMON_PROTOS)
- protoc --go_out='$(PROTO_MAPPING):internal/protocol/hadoop_common' -Iinternal/protocol/hadoop_common -Iinternal/protocol/hadoop_hdfs $(HADOOP_COMMON_PROTOS)
- protoc --go_out='$(PROTO_MAPPING):internal/protocol/hadoop_hdfs' -Iinternal/protocol/hadoop_common -Iinternal/protocol/hadoop_hdfs $(HADOOP_HDFS_PROTOS)
+ echo $(HADOOP_COMMON_PROTOS)
+ protoc --go_out=internal/protocol/hadoop_common --go_opt=paths=source_relative -Iinternal/protocol/hadoop_common -Iinternal/protocol/hadoop_hdfs $(HADOOP_COMMON_PROTOS)
+ protoc --go_out=internal/protocol/hadoop_hdfs --go_opt=paths=source_relative -Iinternal/protocol/hadoop_common -Iinternal/protocol/hadoop_hdfs $(HADOOP_HDFS_PROTOS)
clean-protos:
find . -name *.pb.go | xargs rm
diff --git a/content_summary.go b/content_summary.go
index 286efec..d96f25d 100644
--- a/content_summary.go
+++ b/content_summary.go
@@ -4,7 +4,7 @@ import (
"os"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
// ContentSummary represents a set of information about a file or directory in
diff --git a/file_reader.go b/file_reader.go
index 589af44..d902095 100644
--- a/file_reader.go
+++ b/file_reader.go
@@ -10,7 +10,7 @@ import (
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
"github.com/colinmarc/hdfs/v2/internal/transfer"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
// A FileReader represents an existing file or directory in HDFS. It implements
diff --git a/file_writer.go b/file_writer.go
index 6b609f4..d12db58 100644
--- a/file_writer.go
+++ b/file_writer.go
@@ -7,7 +7,7 @@ import (
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
"github.com/colinmarc/hdfs/v2/internal/transfer"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
// A FileWriter represents a writer for an open file in HDFS. It implements
diff --git a/go.mod b/go.mod
index 62207a4..461445d 100644
--- a/go.mod
+++ b/go.mod
@@ -1,10 +1,10 @@
module github.com/colinmarc/hdfs/v2
require (
- github.com/golang/protobuf v1.1.0
github.com/jcmturner/gokrb5/v8 v8.4.2
github.com/pborman/getopt v1.1.0
github.com/stretchr/testify v1.7.0
+ google.golang.org/protobuf v1.27.1
)
require (
@@ -18,7 +18,6 @@ require (
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9 // indirect
golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa // indirect
- golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)
diff --git a/go.sum b/go.sum
index 196f911..7c2a2f0 100644
--- a/go.sum
+++ b/go.sum
@@ -1,7 +1,8 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/golang/protobuf v1.1.0 h1:0iH4Ffd/meGoXqF2lSAhZHt8X+cPgkfn/cb6Cce5Vpc=
-github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
+github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
+github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ=
github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
github.com/gorilla/sessions v1.2.1 h1:DHd3rPN5lE3Ts3D8rKkQ8x/0kqfeNmBAaiSi+o7FsgI=
@@ -35,11 +36,14 @@ golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9/go.mod h1:LzIPMQfyMNhhGPh
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa h1:F+8P+gmewFQYRk6JoLQLwjBCTu3mcIURZfNkVweuRKA=
golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
-golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
+google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ=
+google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
diff --git a/internal/protocol/hadoop_common/GenericRefreshProtocol.pb.go b/internal/protocol/hadoop_common/GenericRefreshProtocol.pb.go
index 35eadf6..688840c 100644
--- a/internal/protocol/hadoop_common/GenericRefreshProtocol.pb.go
+++ b/internal/protocol/hadoop_common/GenericRefreshProtocol.pb.go
@@ -1,127 +1,352 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: GenericRefreshProtocol.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// Refresh request.
type GenericRefreshRequestProto struct {
- Identifier *string `protobuf:"bytes,1,opt,name=identifier" json:"identifier,omitempty"`
- Args []string `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Identifier *string `protobuf:"bytes,1,opt,name=identifier" json:"identifier,omitempty"`
+ Args []string `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"`
+}
+
+func (x *GenericRefreshRequestProto) Reset() {
+ *x = GenericRefreshRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_GenericRefreshProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *GenericRefreshRequestProto) Reset() { *m = GenericRefreshRequestProto{} }
-func (m *GenericRefreshRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GenericRefreshRequestProto) ProtoMessage() {}
-func (*GenericRefreshRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
+func (x *GenericRefreshRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GenericRefreshRequestProto) ProtoMessage() {}
-func (m *GenericRefreshRequestProto) GetIdentifier() string {
- if m != nil && m.Identifier != nil {
- return *m.Identifier
+func (x *GenericRefreshRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_GenericRefreshProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GenericRefreshRequestProto.ProtoReflect.Descriptor instead.
+func (*GenericRefreshRequestProto) Descriptor() ([]byte, []int) {
+ return file_GenericRefreshProtocol_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *GenericRefreshRequestProto) GetIdentifier() string {
+ if x != nil && x.Identifier != nil {
+ return *x.Identifier
}
return ""
}
-func (m *GenericRefreshRequestProto) GetArgs() []string {
- if m != nil {
- return m.Args
+func (x *GenericRefreshRequestProto) GetArgs() []string {
+ if x != nil {
+ return x.Args
}
return nil
}
-// *
+//*
// A single response from a refresh handler.
type GenericRefreshResponseProto struct {
- ExitStatus *int32 `protobuf:"varint,1,opt,name=exitStatus" json:"exitStatus,omitempty"`
- UserMessage *string `protobuf:"bytes,2,opt,name=userMessage" json:"userMessage,omitempty"`
- SenderName *string `protobuf:"bytes,3,opt,name=senderName" json:"senderName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ExitStatus *int32 `protobuf:"varint,1,opt,name=exitStatus" json:"exitStatus,omitempty"` // unix exit status to return
+ UserMessage *string `protobuf:"bytes,2,opt,name=userMessage" json:"userMessage,omitempty"` // to be displayed to the user
+ SenderName *string `protobuf:"bytes,3,opt,name=senderName" json:"senderName,omitempty"` // which handler sent this message
+}
+
+func (x *GenericRefreshResponseProto) Reset() {
+ *x = GenericRefreshResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_GenericRefreshProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *GenericRefreshResponseProto) Reset() { *m = GenericRefreshResponseProto{} }
-func (m *GenericRefreshResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GenericRefreshResponseProto) ProtoMessage() {}
-func (*GenericRefreshResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
+func (x *GenericRefreshResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *GenericRefreshResponseProto) GetExitStatus() int32 {
- if m != nil && m.ExitStatus != nil {
- return *m.ExitStatus
+func (*GenericRefreshResponseProto) ProtoMessage() {}
+
+func (x *GenericRefreshResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_GenericRefreshProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GenericRefreshResponseProto.ProtoReflect.Descriptor instead.
+func (*GenericRefreshResponseProto) Descriptor() ([]byte, []int) {
+ return file_GenericRefreshProtocol_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *GenericRefreshResponseProto) GetExitStatus() int32 {
+ if x != nil && x.ExitStatus != nil {
+ return *x.ExitStatus
}
return 0
}
-func (m *GenericRefreshResponseProto) GetUserMessage() string {
- if m != nil && m.UserMessage != nil {
- return *m.UserMessage
+func (x *GenericRefreshResponseProto) GetUserMessage() string {
+ if x != nil && x.UserMessage != nil {
+ return *x.UserMessage
}
return ""
}
-func (m *GenericRefreshResponseProto) GetSenderName() string {
- if m != nil && m.SenderName != nil {
- return *m.SenderName
+func (x *GenericRefreshResponseProto) GetSenderName() string {
+ if x != nil && x.SenderName != nil {
+ return *x.SenderName
}
return ""
}
-// *
+//*
// Collection of responses from zero or more handlers.
type GenericRefreshResponseCollectionProto struct {
- Responses []*GenericRefreshResponseProto `protobuf:"bytes,1,rep,name=responses" json:"responses,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Responses []*GenericRefreshResponseProto `protobuf:"bytes,1,rep,name=responses" json:"responses,omitempty"`
+}
+
+func (x *GenericRefreshResponseCollectionProto) Reset() {
+ *x = GenericRefreshResponseCollectionProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_GenericRefreshProtocol_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GenericRefreshResponseCollectionProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GenericRefreshResponseCollectionProto) ProtoMessage() {}
+
+func (x *GenericRefreshResponseCollectionProto) ProtoReflect() protoreflect.Message {
+ mi := &file_GenericRefreshProtocol_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GenericRefreshResponseCollectionProto) Reset() { *m = GenericRefreshResponseCollectionProto{} }
-func (m *GenericRefreshResponseCollectionProto) String() string { return proto.CompactTextString(m) }
-func (*GenericRefreshResponseCollectionProto) ProtoMessage() {}
+// Deprecated: Use GenericRefreshResponseCollectionProto.ProtoReflect.Descriptor instead.
func (*GenericRefreshResponseCollectionProto) Descriptor() ([]byte, []int) {
- return fileDescriptor3, []int{2}
+ return file_GenericRefreshProtocol_proto_rawDescGZIP(), []int{2}
}
-func (m *GenericRefreshResponseCollectionProto) GetResponses() []*GenericRefreshResponseProto {
- if m != nil {
- return m.Responses
+func (x *GenericRefreshResponseCollectionProto) GetResponses() []*GenericRefreshResponseProto {
+ if x != nil {
+ return x.Responses
}
return nil
}
-func init() {
- proto.RegisterType((*GenericRefreshRequestProto)(nil), "hadoop.common.GenericRefreshRequestProto")
- proto.RegisterType((*GenericRefreshResponseProto)(nil), "hadoop.common.GenericRefreshResponseProto")
- proto.RegisterType((*GenericRefreshResponseCollectionProto)(nil), "hadoop.common.GenericRefreshResponseCollectionProto")
-}
-
-func init() { proto.RegisterFile("GenericRefreshProtocol.proto", fileDescriptor3) }
-
-var fileDescriptor3 = []byte{
- // 293 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x4a, 0xc3, 0x40,
- 0x10, 0xc6, 0xd9, 0x56, 0x91, 0x4e, 0xf1, 0xb2, 0xa7, 0xd0, 0xaa, 0x94, 0x80, 0x10, 0x3d, 0xe4,
- 0x50, 0x7c, 0x01, 0xeb, 0x41, 0x2f, 0x4a, 0xd9, 0x3e, 0xc1, 0xb2, 0x99, 0x26, 0x2b, 0xc9, 0x6e,
- 0xba, 0xb3, 0x11, 0x6f, 0x5e, 0x05, 0x5f, 0xc2, 0x47, 0x95, 0x24, 0x6a, 0xd2, 0x52, 0xff, 0x9c,
- 0x76, 0xf8, 0x66, 0xe7, 0x9b, 0xdf, 0x0c, 0x03, 0x27, 0xb7, 0x68, 0xd0, 0x69, 0x25, 0x70, 0xed,
- 0x90, 0xb2, 0xa5, 0xb3, 0xde, 0x2a, 0x9b, 0xc7, 0x65, 0x1d, 0xf0, 0xe3, 0x4c, 0x26, 0xd6, 0x96,
- 0xb1, 0xb2, 0x45, 0x61, 0x4d, 0xb8, 0x84, 0xc9, 0xf6, 0x77, 0x81, 0x9b, 0x0a, 0xc9, 0x37, 0x55,
- 0xfc, 0x0c, 0x40, 0x27, 0x68, 0xbc, 0x5e, 0x6b, 0x74, 0x01, 0x9b, 0xb1, 0x68, 0x24, 0x7a, 0x0a,
- 0xe7, 0x70, 0x20, 0x5d, 0x4a, 0xc1, 0x60, 0x36, 0x8c, 0x46, 0xa2, 0x89, 0xc3, 0x17, 0x98, 0xee,
- 0x3a, 0x52, 0x69, 0x0d, 0xe1, 0xb7, 0x25, 0x3e, 0x6b, 0xbf, 0xf2, 0xd2, 0x57, 0xd4, 0x58, 0x1e,
- 0x8a, 0x9e, 0xc2, 0x67, 0x30, 0xae, 0x08, 0xdd, 0x3d, 0x12, 0xc9, 0x14, 0x83, 0x41, 0xd3, 0xb3,
- 0x2f, 0xd5, 0x0e, 0x84, 0x26, 0x41, 0xf7, 0x20, 0x0b, 0x0c, 0x86, 0x2d, 0x54, 0xa7, 0x84, 0x1b,
- 0x38, 0xdf, 0x0f, 0x70, 0x63, 0xf3, 0x1c, 0x95, 0xd7, 0xd6, 0xb4, 0x28, 0x77, 0x30, 0x72, 0x9f,
- 0xa9, 0x9a, 0x64, 0x18, 0x8d, 0xe7, 0x97, 0xf1, 0xd6, 0x7a, 0xe2, 0x5f, 0x26, 0x11, 0x5d, 0xf1,
- 0xfc, 0x8d, 0xc1, 0xe9, 0xfe, 0xad, 0xaf, 0xd0, 0x3d, 0x69, 0x85, 0xfc, 0x11, 0x8e, 0x5c, 0x9b,
- 0xe1, 0x17, 0x7f, 0xf4, 0xe8, 0xf6, 0x3f, 0xb9, 0xfa, 0x17, 0xce, 0xce, 0x5c, 0x8b, 0x6b, 0x98,
- 0x5a, 0x97, 0xc6, 0xb2, 0x94, 0x2a, 0xc3, 0x2f, 0x07, 0x5d, 0xaa, 0xf6, 0x02, 0x16, 0x3f, 0xdc,
- 0x47, 0xf3, 0xd2, 0x2b, 0x63, 0xef, 0x8c, 0x7d, 0x04, 0x00, 0x00, 0xff, 0xff, 0x5c, 0x01, 0x5c,
- 0x07, 0x44, 0x02, 0x00, 0x00,
+var File_GenericRefreshProtocol_proto protoreflect.FileDescriptor
+
+var file_GenericRefreshProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x1c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x50, 0x0a,
+ 0x1a, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x69,
+ 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x61,
+ 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x22,
+ 0x7f, 0x0a, 0x1b, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73,
+ 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e,
+ 0x0a, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20,
+ 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
+ 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65,
+ 0x22, 0x71, 0x0a, 0x25, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x52, 0x65, 0x66, 0x72, 0x65,
+ 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x48, 0x0a, 0x09, 0x72, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x6e,
+ 0x65, 0x72, 0x69, 0x63, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x73, 0x32, 0x8b, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x52,
+ 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x65,
+ 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6a, 0x0a, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68,
+ 0x12, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+ 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x6e, 0x65,
+ 0x72, 0x69, 0x63, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x42, 0x7f, 0x0a, 0x1b, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x69, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x42, 0x1c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3c,
+ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e,
+ 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74,
+ 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0xa0,
+ 0x01, 0x01,
+}
+
+var (
+ file_GenericRefreshProtocol_proto_rawDescOnce sync.Once
+ file_GenericRefreshProtocol_proto_rawDescData = file_GenericRefreshProtocol_proto_rawDesc
+)
+
+func file_GenericRefreshProtocol_proto_rawDescGZIP() []byte {
+ file_GenericRefreshProtocol_proto_rawDescOnce.Do(func() {
+ file_GenericRefreshProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_GenericRefreshProtocol_proto_rawDescData)
+ })
+ return file_GenericRefreshProtocol_proto_rawDescData
+}
+
+var file_GenericRefreshProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
+var file_GenericRefreshProtocol_proto_goTypes = []interface{}{
+ (*GenericRefreshRequestProto)(nil), // 0: hadoop.common.GenericRefreshRequestProto
+ (*GenericRefreshResponseProto)(nil), // 1: hadoop.common.GenericRefreshResponseProto
+ (*GenericRefreshResponseCollectionProto)(nil), // 2: hadoop.common.GenericRefreshResponseCollectionProto
+}
+var file_GenericRefreshProtocol_proto_depIdxs = []int32{
+ 1, // 0: hadoop.common.GenericRefreshResponseCollectionProto.responses:type_name -> hadoop.common.GenericRefreshResponseProto
+ 0, // 1: hadoop.common.GenericRefreshProtocolService.refresh:input_type -> hadoop.common.GenericRefreshRequestProto
+ 2, // 2: hadoop.common.GenericRefreshProtocolService.refresh:output_type -> hadoop.common.GenericRefreshResponseCollectionProto
+ 2, // [2:3] is the sub-list for method output_type
+ 1, // [1:2] is the sub-list for method input_type
+ 1, // [1:1] is the sub-list for extension type_name
+ 1, // [1:1] is the sub-list for extension extendee
+ 0, // [0:1] is the sub-list for field type_name
+}
+
+func init() { file_GenericRefreshProtocol_proto_init() }
+func file_GenericRefreshProtocol_proto_init() {
+ if File_GenericRefreshProtocol_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_GenericRefreshProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GenericRefreshRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_GenericRefreshProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GenericRefreshResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_GenericRefreshProtocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GenericRefreshResponseCollectionProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_GenericRefreshProtocol_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 3,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_GenericRefreshProtocol_proto_goTypes,
+ DependencyIndexes: file_GenericRefreshProtocol_proto_depIdxs,
+ MessageInfos: file_GenericRefreshProtocol_proto_msgTypes,
+ }.Build()
+ File_GenericRefreshProtocol_proto = out.File
+ file_GenericRefreshProtocol_proto_rawDesc = nil
+ file_GenericRefreshProtocol_proto_goTypes = nil
+ file_GenericRefreshProtocol_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/GenericRefreshProtocol.proto b/internal/protocol/hadoop_common/GenericRefreshProtocol.proto
index fe46549..409f46f 100644
--- a/internal/protocol/hadoop_common/GenericRefreshProtocol.proto
+++ b/internal/protocol/hadoop_common/GenericRefreshProtocol.proto
@@ -21,11 +21,12 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.ipc.proto";
option java_outer_classname = "GenericRefreshProtocolProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
/**
diff --git a/internal/protocol/hadoop_common/GetUserMappingsProtocol.pb.go b/internal/protocol/hadoop_common/GetUserMappingsProtocol.pb.go
index 5358c0e..54eb086 100644
--- a/internal/protocol/hadoop_common/GetUserMappingsProtocol.pb.go
+++ b/internal/protocol/hadoop_common/GetUserMappingsProtocol.pb.go
@@ -1,76 +1,252 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: GetUserMappingsProtocol.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// Get groups for user request.
type GetGroupsForUserRequestProto struct {
- User *string `protobuf:"bytes,1,req,name=user" json:"user,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ User *string `protobuf:"bytes,1,req,name=user" json:"user,omitempty"`
+}
+
+func (x *GetGroupsForUserRequestProto) Reset() {
+ *x = GetGroupsForUserRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_GetUserMappingsProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupsForUserRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupsForUserRequestProto) ProtoMessage() {}
+
+func (x *GetGroupsForUserRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_GetUserMappingsProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GetGroupsForUserRequestProto) Reset() { *m = GetGroupsForUserRequestProto{} }
-func (m *GetGroupsForUserRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetGroupsForUserRequestProto) ProtoMessage() {}
-func (*GetGroupsForUserRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} }
+// Deprecated: Use GetGroupsForUserRequestProto.ProtoReflect.Descriptor instead.
+func (*GetGroupsForUserRequestProto) Descriptor() ([]byte, []int) {
+ return file_GetUserMappingsProtocol_proto_rawDescGZIP(), []int{0}
+}
-func (m *GetGroupsForUserRequestProto) GetUser() string {
- if m != nil && m.User != nil {
- return *m.User
+func (x *GetGroupsForUserRequestProto) GetUser() string {
+ if x != nil && x.User != nil {
+ return *x.User
}
return ""
}
-// *
+//*
// Response for get groups.
type GetGroupsForUserResponseProto struct {
- Groups []string `protobuf:"bytes,1,rep,name=groups" json:"groups,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Groups []string `protobuf:"bytes,1,rep,name=groups" json:"groups,omitempty"`
}
-func (m *GetGroupsForUserResponseProto) Reset() { *m = GetGroupsForUserResponseProto{} }
-func (m *GetGroupsForUserResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetGroupsForUserResponseProto) ProtoMessage() {}
-func (*GetGroupsForUserResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{1} }
+func (x *GetGroupsForUserResponseProto) Reset() {
+ *x = GetGroupsForUserResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_GetUserMappingsProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupsForUserResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *GetGroupsForUserResponseProto) GetGroups() []string {
- if m != nil {
- return m.Groups
+func (*GetGroupsForUserResponseProto) ProtoMessage() {}
+
+func (x *GetGroupsForUserResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_GetUserMappingsProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetGroupsForUserResponseProto.ProtoReflect.Descriptor instead.
+func (*GetGroupsForUserResponseProto) Descriptor() ([]byte, []int) {
+ return file_GetUserMappingsProtocol_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *GetGroupsForUserResponseProto) GetGroups() []string {
+ if x != nil {
+ return x.Groups
}
return nil
}
-func init() {
- proto.RegisterType((*GetGroupsForUserRequestProto)(nil), "hadoop.common.GetGroupsForUserRequestProto")
- proto.RegisterType((*GetGroupsForUserResponseProto)(nil), "hadoop.common.GetGroupsForUserResponseProto")
-}
-
-func init() { proto.RegisterFile("GetUserMappingsProtocol.proto", fileDescriptor10) }
-
-var fileDescriptor10 = []byte{
- // 213 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x75, 0x4f, 0x2d, 0x09,
- 0x2d, 0x4e, 0x2d, 0xf2, 0x4d, 0x2c, 0x28, 0xc8, 0xcc, 0x4b, 0x2f, 0x0e, 0x28, 0xca, 0x2f, 0xc9,
- 0x4f, 0xce, 0xcf, 0xd1, 0x2b, 0x00, 0x31, 0x84, 0x78, 0x33, 0x12, 0x53, 0xf2, 0xf3, 0x0b, 0xf4,
- 0x92, 0xf3, 0x73, 0x73, 0xf3, 0xf3, 0x94, 0x8c, 0xb8, 0x64, 0xdc, 0x53, 0x4b, 0xdc, 0x8b, 0xf2,
- 0x4b, 0x0b, 0x8a, 0xdd, 0xf2, 0x8b, 0x40, 0x1a, 0x83, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0xc0,
- 0xfa, 0x84, 0x84, 0xb8, 0x58, 0x4a, 0x8b, 0x53, 0x8b, 0x24, 0x18, 0x15, 0x98, 0x34, 0x38, 0x83,
- 0xc0, 0x6c, 0x25, 0x73, 0xb0, 0x1d, 0x68, 0x7a, 0x8a, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x21, 0x9a,
- 0xc4, 0xb8, 0xd8, 0xd2, 0xc1, 0xb2, 0x12, 0x8c, 0x0a, 0xcc, 0x1a, 0x9c, 0x41, 0x50, 0x9e, 0x51,
- 0x3f, 0x23, 0x97, 0x1c, 0x0e, 0xd7, 0x05, 0xa7, 0x16, 0x95, 0x65, 0x26, 0xa7, 0x0a, 0xe5, 0x72,
- 0x09, 0xa4, 0xa3, 0x99, 0x2d, 0xa4, 0xad, 0x87, 0xe2, 0x66, 0x3d, 0x7c, 0x0e, 0x96, 0xd2, 0x21,
- 0xa8, 0x18, 0xc9, 0xa5, 0x4e, 0x2e, 0x5c, 0xb2, 0xf9, 0x45, 0xe9, 0x7a, 0x89, 0x05, 0x89, 0xc9,
- 0x19, 0xa9, 0x30, 0x9d, 0x25, 0xf9, 0xf9, 0x39, 0xc5, 0x90, 0xe0, 0x72, 0xc2, 0x15, 0x9a, 0x60,
- 0xba, 0xb8, 0x83, 0x91, 0x71, 0x01, 0x23, 0x23, 0x20, 0x00, 0x00, 0xff, 0xff, 0x7c, 0x38, 0xcc,
- 0x6f, 0x73, 0x01, 0x00, 0x00,
+var File_GetUserMappingsProtocol_proto protoreflect.FileDescriptor
+
+var file_GetUserMappingsProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67,
+ 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x0d, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x32,
+ 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73,
+ 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12,
+ 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73,
+ 0x65, 0x72, 0x22, 0x37, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x46,
+ 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20,
+ 0x03, 0x28, 0x09, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x32, 0x8f, 0x01, 0x0a, 0x1e,
+ 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6d,
+ 0x0a, 0x10, 0x67, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73,
+ 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
+ 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x46, 0x6f, 0x72, 0x55,
+ 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
+ 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
+ 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x82, 0x01,
+ 0x0a, 0x1d, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42,
+ 0x1d, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3c,
+ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e,
+ 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74,
+ 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0xa0,
+ 0x01, 0x01,
+}
+
+var (
+ file_GetUserMappingsProtocol_proto_rawDescOnce sync.Once
+ file_GetUserMappingsProtocol_proto_rawDescData = file_GetUserMappingsProtocol_proto_rawDesc
+)
+
+func file_GetUserMappingsProtocol_proto_rawDescGZIP() []byte {
+ file_GetUserMappingsProtocol_proto_rawDescOnce.Do(func() {
+ file_GetUserMappingsProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_GetUserMappingsProtocol_proto_rawDescData)
+ })
+ return file_GetUserMappingsProtocol_proto_rawDescData
+}
+
+var file_GetUserMappingsProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
+var file_GetUserMappingsProtocol_proto_goTypes = []interface{}{
+ (*GetGroupsForUserRequestProto)(nil), // 0: hadoop.common.GetGroupsForUserRequestProto
+ (*GetGroupsForUserResponseProto)(nil), // 1: hadoop.common.GetGroupsForUserResponseProto
+}
+var file_GetUserMappingsProtocol_proto_depIdxs = []int32{
+ 0, // 0: hadoop.common.GetUserMappingsProtocolService.getGroupsForUser:input_type -> hadoop.common.GetGroupsForUserRequestProto
+ 1, // 1: hadoop.common.GetUserMappingsProtocolService.getGroupsForUser:output_type -> hadoop.common.GetGroupsForUserResponseProto
+ 1, // [1:2] is the sub-list for method output_type
+ 0, // [0:1] is the sub-list for method input_type
+ 0, // [0:0] is the sub-list for extension type_name
+ 0, // [0:0] is the sub-list for extension extendee
+ 0, // [0:0] is the sub-list for field type_name
+}
+
+func init() { file_GetUserMappingsProtocol_proto_init() }
+func file_GetUserMappingsProtocol_proto_init() {
+ if File_GetUserMappingsProtocol_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_GetUserMappingsProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupsForUserRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_GetUserMappingsProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupsForUserResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_GetUserMappingsProtocol_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 2,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_GetUserMappingsProtocol_proto_goTypes,
+ DependencyIndexes: file_GetUserMappingsProtocol_proto_depIdxs,
+ MessageInfos: file_GetUserMappingsProtocol_proto_msgTypes,
+ }.Build()
+ File_GetUserMappingsProtocol_proto = out.File
+ file_GetUserMappingsProtocol_proto_rawDesc = nil
+ file_GetUserMappingsProtocol_proto_goTypes = nil
+ file_GetUserMappingsProtocol_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/GetUserMappingsProtocol.proto b/internal/protocol/hadoop_common/GetUserMappingsProtocol.proto
index 51552b8..7250aee 100644
--- a/internal/protocol/hadoop_common/GetUserMappingsProtocol.proto
+++ b/internal/protocol/hadoop_common/GetUserMappingsProtocol.proto
@@ -21,11 +21,12 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.tools.proto";
option java_outer_classname = "GetUserMappingsProtocolProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
/**
diff --git a/internal/protocol/hadoop_common/HAServiceProtocol.pb.go b/internal/protocol/hadoop_common/HAServiceProtocol.pb.go
index cc855cc..51bdc22 100644
--- a/internal/protocol/hadoop_common/HAServiceProtocol.pb.go
+++ b/internal/protocol/hadoop_common/HAServiceProtocol.pb.go
@@ -1,16 +1,46 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: HAServiceProtocol.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
type HAServiceStateProto int32
@@ -18,36 +48,61 @@ const (
HAServiceStateProto_INITIALIZING HAServiceStateProto = 0
HAServiceStateProto_ACTIVE HAServiceStateProto = 1
HAServiceStateProto_STANDBY HAServiceStateProto = 2
+ HAServiceStateProto_OBSERVER HAServiceStateProto = 3
)
-var HAServiceStateProto_name = map[int32]string{
- 0: "INITIALIZING",
- 1: "ACTIVE",
- 2: "STANDBY",
-}
-var HAServiceStateProto_value = map[string]int32{
- "INITIALIZING": 0,
- "ACTIVE": 1,
- "STANDBY": 2,
-}
+// Enum value maps for HAServiceStateProto.
+var (
+ HAServiceStateProto_name = map[int32]string{
+ 0: "INITIALIZING",
+ 1: "ACTIVE",
+ 2: "STANDBY",
+ 3: "OBSERVER",
+ }
+ HAServiceStateProto_value = map[string]int32{
+ "INITIALIZING": 0,
+ "ACTIVE": 1,
+ "STANDBY": 2,
+ "OBSERVER": 3,
+ }
+)
func (x HAServiceStateProto) Enum() *HAServiceStateProto {
p := new(HAServiceStateProto)
*p = x
return p
}
+
func (x HAServiceStateProto) String() string {
- return proto.EnumName(HAServiceStateProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (HAServiceStateProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_HAServiceProtocol_proto_enumTypes[0].Descriptor()
+}
+
+func (HAServiceStateProto) Type() protoreflect.EnumType {
+ return &file_HAServiceProtocol_proto_enumTypes[0]
}
-func (x *HAServiceStateProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(HAServiceStateProto_value, data, "HAServiceStateProto")
+
+func (x HAServiceStateProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *HAServiceStateProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = HAServiceStateProto(value)
+ *x = HAServiceStateProto(num)
return nil
}
-func (HAServiceStateProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor11, []int{0} }
+
+// Deprecated: Use HAServiceStateProto.Descriptor instead.
+func (HAServiceStateProto) EnumDescriptor() ([]byte, []int) {
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{0}
+}
type HARequestSource int32
@@ -57,239 +112,881 @@ const (
HARequestSource_REQUEST_BY_ZKFC HARequestSource = 2
)
-var HARequestSource_name = map[int32]string{
- 0: "REQUEST_BY_USER",
- 1: "REQUEST_BY_USER_FORCED",
- 2: "REQUEST_BY_ZKFC",
-}
-var HARequestSource_value = map[string]int32{
- "REQUEST_BY_USER": 0,
- "REQUEST_BY_USER_FORCED": 1,
- "REQUEST_BY_ZKFC": 2,
-}
+// Enum value maps for HARequestSource.
+var (
+ HARequestSource_name = map[int32]string{
+ 0: "REQUEST_BY_USER",
+ 1: "REQUEST_BY_USER_FORCED",
+ 2: "REQUEST_BY_ZKFC",
+ }
+ HARequestSource_value = map[string]int32{
+ "REQUEST_BY_USER": 0,
+ "REQUEST_BY_USER_FORCED": 1,
+ "REQUEST_BY_ZKFC": 2,
+ }
+)
func (x HARequestSource) Enum() *HARequestSource {
p := new(HARequestSource)
*p = x
return p
}
+
func (x HARequestSource) String() string {
- return proto.EnumName(HARequestSource_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
-func (x *HARequestSource) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(HARequestSource_value, data, "HARequestSource")
+
+func (HARequestSource) Descriptor() protoreflect.EnumDescriptor {
+ return file_HAServiceProtocol_proto_enumTypes[1].Descriptor()
+}
+
+func (HARequestSource) Type() protoreflect.EnumType {
+ return &file_HAServiceProtocol_proto_enumTypes[1]
+}
+
+func (x HARequestSource) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *HARequestSource) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = HARequestSource(value)
+ *x = HARequestSource(num)
return nil
}
-func (HARequestSource) EnumDescriptor() ([]byte, []int) { return fileDescriptor11, []int{1} }
+
+// Deprecated: Use HARequestSource.Descriptor instead.
+func (HARequestSource) EnumDescriptor() ([]byte, []int) {
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{1}
+}
type HAStateChangeRequestInfoProto struct {
- ReqSource *HARequestSource `protobuf:"varint,1,req,name=reqSource,enum=hadoop.common.HARequestSource" json:"reqSource,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ReqSource *HARequestSource `protobuf:"varint,1,req,name=reqSource,enum=hadoop.common.HARequestSource" json:"reqSource,omitempty"`
+}
+
+func (x *HAStateChangeRequestInfoProto) Reset() {
+ *x = HAStateChangeRequestInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAServiceProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *HAStateChangeRequestInfoProto) Reset() { *m = HAStateChangeRequestInfoProto{} }
-func (m *HAStateChangeRequestInfoProto) String() string { return proto.CompactTextString(m) }
-func (*HAStateChangeRequestInfoProto) ProtoMessage() {}
-func (*HAStateChangeRequestInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{0} }
+func (x *HAStateChangeRequestInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*HAStateChangeRequestInfoProto) ProtoMessage() {}
-func (m *HAStateChangeRequestInfoProto) GetReqSource() HARequestSource {
- if m != nil && m.ReqSource != nil {
- return *m.ReqSource
+func (x *HAStateChangeRequestInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HAServiceProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use HAStateChangeRequestInfoProto.ProtoReflect.Descriptor instead.
+func (*HAStateChangeRequestInfoProto) Descriptor() ([]byte, []int) {
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *HAStateChangeRequestInfoProto) GetReqSource() HARequestSource {
+ if x != nil && x.ReqSource != nil {
+ return *x.ReqSource
}
return HARequestSource_REQUEST_BY_USER
}
-// *
+//*
// void request
type MonitorHealthRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *MonitorHealthRequestProto) Reset() {
+ *x = MonitorHealthRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAServiceProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *MonitorHealthRequestProto) Reset() { *m = MonitorHealthRequestProto{} }
-func (m *MonitorHealthRequestProto) String() string { return proto.CompactTextString(m) }
-func (*MonitorHealthRequestProto) ProtoMessage() {}
-func (*MonitorHealthRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{1} }
+func (x *MonitorHealthRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-// *
+func (*MonitorHealthRequestProto) ProtoMessage() {}
+
+func (x *MonitorHealthRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HAServiceProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use MonitorHealthRequestProto.ProtoReflect.Descriptor instead.
+func (*MonitorHealthRequestProto) Descriptor() ([]byte, []int) {
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{1}
+}
+
+//*
// void response
type MonitorHealthResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *MonitorHealthResponseProto) Reset() {
+ *x = MonitorHealthResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAServiceProtocol_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *MonitorHealthResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*MonitorHealthResponseProto) ProtoMessage() {}
+
+func (x *MonitorHealthResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HAServiceProtocol_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *MonitorHealthResponseProto) Reset() { *m = MonitorHealthResponseProto{} }
-func (m *MonitorHealthResponseProto) String() string { return proto.CompactTextString(m) }
-func (*MonitorHealthResponseProto) ProtoMessage() {}
-func (*MonitorHealthResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{2} }
+// Deprecated: Use MonitorHealthResponseProto.ProtoReflect.Descriptor instead.
+func (*MonitorHealthResponseProto) Descriptor() ([]byte, []int) {
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{2}
+}
-// *
+//*
// void request
type TransitionToActiveRequestProto struct {
- ReqInfo *HAStateChangeRequestInfoProto `protobuf:"bytes,1,req,name=reqInfo" json:"reqInfo,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ReqInfo *HAStateChangeRequestInfoProto `protobuf:"bytes,1,req,name=reqInfo" json:"reqInfo,omitempty"`
+}
+
+func (x *TransitionToActiveRequestProto) Reset() {
+ *x = TransitionToActiveRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAServiceProtocol_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *TransitionToActiveRequestProto) Reset() { *m = TransitionToActiveRequestProto{} }
-func (m *TransitionToActiveRequestProto) String() string { return proto.CompactTextString(m) }
-func (*TransitionToActiveRequestProto) ProtoMessage() {}
-func (*TransitionToActiveRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{3} }
+func (x *TransitionToActiveRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *TransitionToActiveRequestProto) GetReqInfo() *HAStateChangeRequestInfoProto {
- if m != nil {
- return m.ReqInfo
+func (*TransitionToActiveRequestProto) ProtoMessage() {}
+
+func (x *TransitionToActiveRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HAServiceProtocol_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TransitionToActiveRequestProto.ProtoReflect.Descriptor instead.
+func (*TransitionToActiveRequestProto) Descriptor() ([]byte, []int) {
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *TransitionToActiveRequestProto) GetReqInfo() *HAStateChangeRequestInfoProto {
+ if x != nil {
+ return x.ReqInfo
}
return nil
}
-// *
+//*
// void response
type TransitionToActiveResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *TransitionToActiveResponseProto) Reset() {
+ *x = TransitionToActiveResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAServiceProtocol_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TransitionToActiveResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TransitionToActiveResponseProto) ProtoMessage() {}
+
+func (x *TransitionToActiveResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HAServiceProtocol_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *TransitionToActiveResponseProto) Reset() { *m = TransitionToActiveResponseProto{} }
-func (m *TransitionToActiveResponseProto) String() string { return proto.CompactTextString(m) }
-func (*TransitionToActiveResponseProto) ProtoMessage() {}
+// Deprecated: Use TransitionToActiveResponseProto.ProtoReflect.Descriptor instead.
func (*TransitionToActiveResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor11, []int{4}
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{4}
}
-// *
+//*
// void request
type TransitionToStandbyRequestProto struct {
- ReqInfo *HAStateChangeRequestInfoProto `protobuf:"bytes,1,req,name=reqInfo" json:"reqInfo,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ReqInfo *HAStateChangeRequestInfoProto `protobuf:"bytes,1,req,name=reqInfo" json:"reqInfo,omitempty"`
+}
+
+func (x *TransitionToStandbyRequestProto) Reset() {
+ *x = TransitionToStandbyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAServiceProtocol_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TransitionToStandbyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *TransitionToStandbyRequestProto) Reset() { *m = TransitionToStandbyRequestProto{} }
-func (m *TransitionToStandbyRequestProto) String() string { return proto.CompactTextString(m) }
-func (*TransitionToStandbyRequestProto) ProtoMessage() {}
+func (*TransitionToStandbyRequestProto) ProtoMessage() {}
+
+func (x *TransitionToStandbyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HAServiceProtocol_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TransitionToStandbyRequestProto.ProtoReflect.Descriptor instead.
func (*TransitionToStandbyRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor11, []int{5}
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{5}
}
-func (m *TransitionToStandbyRequestProto) GetReqInfo() *HAStateChangeRequestInfoProto {
- if m != nil {
- return m.ReqInfo
+func (x *TransitionToStandbyRequestProto) GetReqInfo() *HAStateChangeRequestInfoProto {
+ if x != nil {
+ return x.ReqInfo
}
return nil
}
-// *
+//*
// void response
type TransitionToStandbyResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *TransitionToStandbyResponseProto) Reset() { *m = TransitionToStandbyResponseProto{} }
-func (m *TransitionToStandbyResponseProto) String() string { return proto.CompactTextString(m) }
-func (*TransitionToStandbyResponseProto) ProtoMessage() {}
+func (x *TransitionToStandbyResponseProto) Reset() {
+ *x = TransitionToStandbyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAServiceProtocol_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TransitionToStandbyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TransitionToStandbyResponseProto) ProtoMessage() {}
+
+func (x *TransitionToStandbyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HAServiceProtocol_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TransitionToStandbyResponseProto.ProtoReflect.Descriptor instead.
func (*TransitionToStandbyResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor11, []int{6}
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{6}
+}
+
+//*
+// void request
+type TransitionToObserverRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ReqInfo *HAStateChangeRequestInfoProto `protobuf:"bytes,1,req,name=reqInfo" json:"reqInfo,omitempty"`
+}
+
+func (x *TransitionToObserverRequestProto) Reset() {
+ *x = TransitionToObserverRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAServiceProtocol_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TransitionToObserverRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TransitionToObserverRequestProto) ProtoMessage() {}
+
+func (x *TransitionToObserverRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HAServiceProtocol_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TransitionToObserverRequestProto.ProtoReflect.Descriptor instead.
+func (*TransitionToObserverRequestProto) Descriptor() ([]byte, []int) {
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{7}
+}
+
+func (x *TransitionToObserverRequestProto) GetReqInfo() *HAStateChangeRequestInfoProto {
+ if x != nil {
+ return x.ReqInfo
+ }
+ return nil
+}
+
+//*
+// void response
+type TransitionToObserverResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *TransitionToObserverResponseProto) Reset() {
+ *x = TransitionToObserverResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAServiceProtocol_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TransitionToObserverResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-// *
+func (*TransitionToObserverResponseProto) ProtoMessage() {}
+
+func (x *TransitionToObserverResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HAServiceProtocol_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TransitionToObserverResponseProto.ProtoReflect.Descriptor instead.
+func (*TransitionToObserverResponseProto) Descriptor() ([]byte, []int) {
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{8}
+}
+
+//*
// void request
type GetServiceStatusRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *GetServiceStatusRequestProto) Reset() { *m = GetServiceStatusRequestProto{} }
-func (m *GetServiceStatusRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetServiceStatusRequestProto) ProtoMessage() {}
-func (*GetServiceStatusRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{7} }
+func (x *GetServiceStatusRequestProto) Reset() {
+ *x = GetServiceStatusRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAServiceProtocol_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetServiceStatusRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetServiceStatusRequestProto) ProtoMessage() {}
+
+func (x *GetServiceStatusRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HAServiceProtocol_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-// *
+// Deprecated: Use GetServiceStatusRequestProto.ProtoReflect.Descriptor instead.
+func (*GetServiceStatusRequestProto) Descriptor() ([]byte, []int) {
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{9}
+}
+
+//*
// Returns the state of the service
type GetServiceStatusResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
State *HAServiceStateProto `protobuf:"varint,1,req,name=state,enum=hadoop.common.HAServiceStateProto" json:"state,omitempty"`
// If state is STANDBY, indicate whether it is
// ready to become active.
ReadyToBecomeActive *bool `protobuf:"varint,2,opt,name=readyToBecomeActive" json:"readyToBecomeActive,omitempty"`
// If not ready to become active, a textual explanation of why not
- NotReadyReason *string `protobuf:"bytes,3,opt,name=notReadyReason" json:"notReadyReason,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ NotReadyReason *string `protobuf:"bytes,3,opt,name=notReadyReason" json:"notReadyReason,omitempty"`
}
-func (m *GetServiceStatusResponseProto) Reset() { *m = GetServiceStatusResponseProto{} }
-func (m *GetServiceStatusResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetServiceStatusResponseProto) ProtoMessage() {}
-func (*GetServiceStatusResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{8} }
+func (x *GetServiceStatusResponseProto) Reset() {
+ *x = GetServiceStatusResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAServiceProtocol_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetServiceStatusResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetServiceStatusResponseProto) ProtoMessage() {}
-func (m *GetServiceStatusResponseProto) GetState() HAServiceStateProto {
- if m != nil && m.State != nil {
- return *m.State
+func (x *GetServiceStatusResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HAServiceProtocol_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetServiceStatusResponseProto.ProtoReflect.Descriptor instead.
+func (*GetServiceStatusResponseProto) Descriptor() ([]byte, []int) {
+ return file_HAServiceProtocol_proto_rawDescGZIP(), []int{10}
+}
+
+func (x *GetServiceStatusResponseProto) GetState() HAServiceStateProto {
+ if x != nil && x.State != nil {
+ return *x.State
}
return HAServiceStateProto_INITIALIZING
}
-func (m *GetServiceStatusResponseProto) GetReadyToBecomeActive() bool {
- if m != nil && m.ReadyToBecomeActive != nil {
- return *m.ReadyToBecomeActive
+func (x *GetServiceStatusResponseProto) GetReadyToBecomeActive() bool {
+ if x != nil && x.ReadyToBecomeActive != nil {
+ return *x.ReadyToBecomeActive
}
return false
}
-func (m *GetServiceStatusResponseProto) GetNotReadyReason() string {
- if m != nil && m.NotReadyReason != nil {
- return *m.NotReadyReason
+func (x *GetServiceStatusResponseProto) GetNotReadyReason() string {
+ if x != nil && x.NotReadyReason != nil {
+ return *x.NotReadyReason
}
return ""
}
-func init() {
- proto.RegisterType((*HAStateChangeRequestInfoProto)(nil), "hadoop.common.HAStateChangeRequestInfoProto")
- proto.RegisterType((*MonitorHealthRequestProto)(nil), "hadoop.common.MonitorHealthRequestProto")
- proto.RegisterType((*MonitorHealthResponseProto)(nil), "hadoop.common.MonitorHealthResponseProto")
- proto.RegisterType((*TransitionToActiveRequestProto)(nil), "hadoop.common.TransitionToActiveRequestProto")
- proto.RegisterType((*TransitionToActiveResponseProto)(nil), "hadoop.common.TransitionToActiveResponseProto")
- proto.RegisterType((*TransitionToStandbyRequestProto)(nil), "hadoop.common.TransitionToStandbyRequestProto")
- proto.RegisterType((*TransitionToStandbyResponseProto)(nil), "hadoop.common.TransitionToStandbyResponseProto")
- proto.RegisterType((*GetServiceStatusRequestProto)(nil), "hadoop.common.GetServiceStatusRequestProto")
- proto.RegisterType((*GetServiceStatusResponseProto)(nil), "hadoop.common.GetServiceStatusResponseProto")
- proto.RegisterEnum("hadoop.common.HAServiceStateProto", HAServiceStateProto_name, HAServiceStateProto_value)
- proto.RegisterEnum("hadoop.common.HARequestSource", HARequestSource_name, HARequestSource_value)
-}
-
-func init() { proto.RegisterFile("HAServiceProtocol.proto", fileDescriptor11) }
-
-var fileDescriptor11 = []byte{
- // 529 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xdd, 0x6e, 0xd3, 0x30,
- 0x14, 0x9e, 0x3b, 0xc1, 0xd8, 0x19, 0xdb, 0x22, 0x57, 0x82, 0x12, 0xb6, 0x52, 0x72, 0x81, 0xca,
- 0x18, 0x01, 0xf5, 0x0a, 0x09, 0x2e, 0x48, 0xbb, 0x74, 0x8d, 0x80, 0x02, 0x4e, 0x06, 0xda, 0x24,
- 0x54, 0x99, 0xd4, 0x34, 0x91, 0x16, 0xbb, 0x4d, 0xdc, 0x4a, 0x7b, 0x03, 0x1e, 0x83, 0x77, 0xe0,
- 0x75, 0x78, 0x18, 0x94, 0x26, 0xd3, 0xd2, 0x24, 0x84, 0xdd, 0xec, 0x2a, 0x89, 0xfd, 0xfd, 0xc5,
- 0xe7, 0x1c, 0xc3, 0xfd, 0x81, 0x61, 0xb3, 0x70, 0xe1, 0xbb, 0xec, 0x53, 0x28, 0xa4, 0x70, 0xc5,
- 0xb9, 0x3e, 0x8d, 0x5f, 0xf0, 0xb6, 0x47, 0xc7, 0x42, 0x4c, 0x75, 0x57, 0x04, 0x81, 0xe0, 0xda,
- 0x37, 0xd8, 0x1f, 0x18, 0xb6, 0xa4, 0x92, 0xf5, 0x3c, 0xca, 0x27, 0x8c, 0xb0, 0xd9, 0x9c, 0x45,
- 0xd2, 0xe2, 0x3f, 0xc4, 0x92, 0x88, 0xdf, 0xc0, 0x66, 0xc8, 0x66, 0xb6, 0x98, 0x87, 0x2e, 0x6b,
- 0xa0, 0x56, 0xad, 0xbd, 0xd3, 0x69, 0xea, 0x2b, 0x1a, 0xfa, 0xc0, 0x48, 0x59, 0x09, 0x8a, 0x5c,
- 0x11, 0xb4, 0x87, 0xf0, 0xe0, 0x83, 0xe0, 0xbe, 0x14, 0xe1, 0x80, 0xd1, 0x73, 0xe9, 0xa5, 0xc0,
- 0xa5, 0xb4, 0xb6, 0x07, 0x6a, 0x6e, 0x33, 0x9a, 0x0a, 0x1e, 0x25, 0x89, 0x35, 0x0f, 0x9a, 0x4e,
- 0x48, 0x79, 0xe4, 0x4b, 0x5f, 0x70, 0x47, 0x18, 0xae, 0xf4, 0x17, 0x2c, 0xcb, 0xc7, 0x7d, 0xd8,
- 0x08, 0xd9, 0x2c, 0x8e, 0xba, 0x0c, 0xb6, 0xd5, 0x39, 0x2c, 0x04, 0xab, 0xf8, 0x33, 0x72, 0x49,
- 0xd6, 0x1e, 0xc3, 0xa3, 0x32, 0xa7, 0x6c, 0x18, 0x7f, 0x15, 0x62, 0x4b, 0xca, 0xc7, 0xdf, 0x2f,
- 0x6e, 0x24, 0x8d, 0x06, 0xad, 0x52, 0xab, 0x6c, 0x9c, 0x26, 0xec, 0x1d, 0x33, 0x99, 0x16, 0x38,
- 0x56, 0x9d, 0x47, 0x2b, 0x27, 0xfb, 0x1b, 0xc1, 0x7e, 0x11, 0x90, 0x51, 0xc0, 0xaf, 0xe0, 0x56,
- 0x14, 0xa7, 0x49, 0x4b, 0xaa, 0x15, 0xb3, 0x5e, 0x71, 0x13, 0x0a, 0x49, 0x08, 0xf8, 0x25, 0xd4,
- 0x43, 0x46, 0xc7, 0x17, 0x8e, 0xe8, 0x32, 0x57, 0x04, 0x2c, 0x39, 0xae, 0x46, 0xad, 0x85, 0xda,
- 0x77, 0x48, 0xd9, 0x16, 0x7e, 0x02, 0x3b, 0x5c, 0x48, 0x12, 0xef, 0x10, 0x46, 0x23, 0xc1, 0x1b,
- 0xeb, 0x2d, 0xd4, 0xde, 0x24, 0xb9, 0xd5, 0x83, 0xb7, 0x50, 0x2f, 0xf1, 0xc5, 0x0a, 0xdc, 0xb5,
- 0x86, 0x96, 0x63, 0x19, 0xef, 0xad, 0x33, 0x6b, 0x78, 0xac, 0xac, 0x61, 0x80, 0xdb, 0x46, 0xcf,
- 0xb1, 0xbe, 0x98, 0x0a, 0xc2, 0x5b, 0xb0, 0x61, 0x3b, 0xc6, 0xf0, 0xa8, 0x7b, 0xaa, 0xd4, 0x0e,
- 0xbe, 0xc2, 0x6e, 0xae, 0x19, 0x71, 0x1d, 0x76, 0x89, 0xf9, 0xf9, 0xc4, 0xb4, 0x9d, 0x51, 0xf7,
- 0x74, 0x74, 0x62, 0x9b, 0x44, 0x59, 0xc3, 0x2a, 0xdc, 0xcb, 0x2d, 0x8e, 0xfa, 0x1f, 0x49, 0xcf,
- 0x3c, 0x52, 0x50, 0x8e, 0x70, 0xf6, 0xae, 0xdf, 0x53, 0x6a, 0x9d, 0x3f, 0xeb, 0xd0, 0x28, 0x4c,
- 0x54, 0xfa, 0x89, 0xc7, 0xb0, 0x1d, 0x64, 0xfb, 0x18, 0xb7, 0x73, 0xa7, 0xf9, 0xcf, 0x11, 0x50,
- 0x9f, 0x56, 0x23, 0xb3, 0x15, 0x8b, 0x00, 0xcb, 0x42, 0x97, 0xe2, 0xe7, 0x39, 0x81, 0xea, 0x91,
- 0x51, 0xf5, 0x6b, 0xc0, 0xb3, 0xa6, 0x0b, 0xa8, 0xcb, 0x62, 0x33, 0xe2, 0x2a, 0x99, 0x92, 0xd9,
- 0x50, 0x5f, 0x5c, 0x07, 0x9f, 0xf5, 0x0d, 0x40, 0x99, 0xe4, 0xfa, 0x17, 0x3f, 0xcb, 0x89, 0x54,
- 0x4d, 0x80, 0x7a, 0xf8, 0x5f, 0x70, 0xc6, 0xae, 0xfb, 0x1a, 0x54, 0x11, 0x4e, 0x74, 0x3a, 0xa5,
- 0xae, 0xc7, 0x2e, 0x99, 0x1e, 0x4d, 0xae, 0xcc, 0x6e, 0xf1, 0x2e, 0x5d, 0x3e, 0xa3, 0x9f, 0x08,
- 0xfd, 0x42, 0xe8, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd6, 0xd8, 0x57, 0xbf, 0x6b, 0x05, 0x00,
- 0x00,
+var File_HAServiceProtocol_proto protoreflect.FileDescriptor
+
+var file_HAServiceProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x17, 0x48, 0x41, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x5d, 0x0a, 0x1d, 0x48, 0x41, 0x53, 0x74,
+ 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3c, 0x0a, 0x09, 0x72, 0x65, 0x71,
+ 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x48, 0x41, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65,
+ 0x71, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
+ 0x6f, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x48,
+ 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x22, 0x68, 0x0a, 0x1e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
+ 0x54, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x46, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x49, 0x6e, 0x66, 0x6f, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63,
+ 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x48, 0x41, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61,
+ 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x72, 0x65, 0x71, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x21, 0x0a, 0x1f,
+ 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x41, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22,
+ 0x69, 0x0a, 0x1f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x53,
+ 0x74, 0x61, 0x6e, 0x64, 0x62, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x46, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x6f, 0x6e, 0x2e, 0x48, 0x41, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x07, 0x72, 0x65, 0x71, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x22, 0x0a, 0x20, 0x54, 0x72,
+ 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x62,
+ 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a,
+ 0x0a, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x4f, 0x62,
+ 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x46, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x6f, 0x6e, 0x2e, 0x48, 0x41, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x07, 0x72, 0x65, 0x71, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x23, 0x0a, 0x21, 0x54, 0x72,
+ 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76,
+ 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22,
+ 0x1e, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22,
+ 0xb3, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74,
+ 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e,
+ 0x32, 0x22, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+ 0x2e, 0x48, 0x41, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x72,
+ 0x65, 0x61, 0x64, 0x79, 0x54, 0x6f, 0x42, 0x65, 0x63, 0x6f, 0x6d, 0x65, 0x41, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x72, 0x65, 0x61, 0x64, 0x79, 0x54,
+ 0x6f, 0x42, 0x65, 0x63, 0x6f, 0x6d, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x26, 0x0a,
+ 0x0e, 0x6e, 0x6f, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6e, 0x6f, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52,
+ 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2a, 0x4e, 0x0a, 0x13, 0x48, 0x41, 0x53, 0x65, 0x72, 0x76, 0x69,
+ 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x0c,
+ 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0a,
+ 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54,
+ 0x41, 0x4e, 0x44, 0x42, 0x59, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x42, 0x53, 0x45, 0x52,
+ 0x56, 0x45, 0x52, 0x10, 0x03, 0x2a, 0x57, 0x0a, 0x0f, 0x48, 0x41, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x51, 0x55,
+ 0x45, 0x53, 0x54, 0x5f, 0x42, 0x59, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x1a, 0x0a,
+ 0x16, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x42, 0x59, 0x5f, 0x55, 0x53, 0x45, 0x52,
+ 0x5f, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x51,
+ 0x55, 0x45, 0x53, 0x54, 0x5f, 0x42, 0x59, 0x5f, 0x5a, 0x4b, 0x46, 0x43, 0x10, 0x02, 0x32, 0xd7,
+ 0x04, 0x0a, 0x18, 0x48, 0x41, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x64, 0x0a, 0x0d, 0x6d,
+ 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x28, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x6f, 0x6e,
+ 0x69, 0x74, 0x6f, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x48, 0x65,
+ 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x73, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54,
+ 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69,
+ 0x6f, 0x6e, 0x54, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f,
+ 0x6e, 0x54, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x76, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69,
+ 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x62, 0x79, 0x12, 0x2e, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x72,
+ 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x62,
+ 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x72,
+ 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x62,
+ 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x79,
+ 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x4f, 0x62,
+ 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f,
+ 0x6e, 0x54, 0x6f, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69,
+ 0x6f, 0x6e, 0x54, 0x6f, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x6d, 0x0a, 0x10, 0x67, 0x65, 0x74,
+ 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2b, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65,
+ 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65,
+ 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x79, 0x0a, 0x1a, 0x6f, 0x72, 0x67, 0x2e,
+ 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x61,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x17, 0x48, 0x41, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a,
+ 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69,
+ 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e,
+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x88, 0x01, 0x01,
+ 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_HAServiceProtocol_proto_rawDescOnce sync.Once
+ file_HAServiceProtocol_proto_rawDescData = file_HAServiceProtocol_proto_rawDesc
+)
+
+func file_HAServiceProtocol_proto_rawDescGZIP() []byte {
+ file_HAServiceProtocol_proto_rawDescOnce.Do(func() {
+ file_HAServiceProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_HAServiceProtocol_proto_rawDescData)
+ })
+ return file_HAServiceProtocol_proto_rawDescData
+}
+
+var file_HAServiceProtocol_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
+var file_HAServiceProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
+var file_HAServiceProtocol_proto_goTypes = []interface{}{
+ (HAServiceStateProto)(0), // 0: hadoop.common.HAServiceStateProto
+ (HARequestSource)(0), // 1: hadoop.common.HARequestSource
+ (*HAStateChangeRequestInfoProto)(nil), // 2: hadoop.common.HAStateChangeRequestInfoProto
+ (*MonitorHealthRequestProto)(nil), // 3: hadoop.common.MonitorHealthRequestProto
+ (*MonitorHealthResponseProto)(nil), // 4: hadoop.common.MonitorHealthResponseProto
+ (*TransitionToActiveRequestProto)(nil), // 5: hadoop.common.TransitionToActiveRequestProto
+ (*TransitionToActiveResponseProto)(nil), // 6: hadoop.common.TransitionToActiveResponseProto
+ (*TransitionToStandbyRequestProto)(nil), // 7: hadoop.common.TransitionToStandbyRequestProto
+ (*TransitionToStandbyResponseProto)(nil), // 8: hadoop.common.TransitionToStandbyResponseProto
+ (*TransitionToObserverRequestProto)(nil), // 9: hadoop.common.TransitionToObserverRequestProto
+ (*TransitionToObserverResponseProto)(nil), // 10: hadoop.common.TransitionToObserverResponseProto
+ (*GetServiceStatusRequestProto)(nil), // 11: hadoop.common.GetServiceStatusRequestProto
+ (*GetServiceStatusResponseProto)(nil), // 12: hadoop.common.GetServiceStatusResponseProto
+}
+var file_HAServiceProtocol_proto_depIdxs = []int32{
+ 1, // 0: hadoop.common.HAStateChangeRequestInfoProto.reqSource:type_name -> hadoop.common.HARequestSource
+ 2, // 1: hadoop.common.TransitionToActiveRequestProto.reqInfo:type_name -> hadoop.common.HAStateChangeRequestInfoProto
+ 2, // 2: hadoop.common.TransitionToStandbyRequestProto.reqInfo:type_name -> hadoop.common.HAStateChangeRequestInfoProto
+ 2, // 3: hadoop.common.TransitionToObserverRequestProto.reqInfo:type_name -> hadoop.common.HAStateChangeRequestInfoProto
+ 0, // 4: hadoop.common.GetServiceStatusResponseProto.state:type_name -> hadoop.common.HAServiceStateProto
+ 3, // 5: hadoop.common.HAServiceProtocolService.monitorHealth:input_type -> hadoop.common.MonitorHealthRequestProto
+ 5, // 6: hadoop.common.HAServiceProtocolService.transitionToActive:input_type -> hadoop.common.TransitionToActiveRequestProto
+ 7, // 7: hadoop.common.HAServiceProtocolService.transitionToStandby:input_type -> hadoop.common.TransitionToStandbyRequestProto
+ 9, // 8: hadoop.common.HAServiceProtocolService.transitionToObserver:input_type -> hadoop.common.TransitionToObserverRequestProto
+ 11, // 9: hadoop.common.HAServiceProtocolService.getServiceStatus:input_type -> hadoop.common.GetServiceStatusRequestProto
+ 4, // 10: hadoop.common.HAServiceProtocolService.monitorHealth:output_type -> hadoop.common.MonitorHealthResponseProto
+ 6, // 11: hadoop.common.HAServiceProtocolService.transitionToActive:output_type -> hadoop.common.TransitionToActiveResponseProto
+ 8, // 12: hadoop.common.HAServiceProtocolService.transitionToStandby:output_type -> hadoop.common.TransitionToStandbyResponseProto
+ 10, // 13: hadoop.common.HAServiceProtocolService.transitionToObserver:output_type -> hadoop.common.TransitionToObserverResponseProto
+ 12, // 14: hadoop.common.HAServiceProtocolService.getServiceStatus:output_type -> hadoop.common.GetServiceStatusResponseProto
+ 10, // [10:15] is the sub-list for method output_type
+ 5, // [5:10] is the sub-list for method input_type
+ 5, // [5:5] is the sub-list for extension type_name
+ 5, // [5:5] is the sub-list for extension extendee
+ 0, // [0:5] is the sub-list for field type_name
+}
+
+func init() { file_HAServiceProtocol_proto_init() }
+func file_HAServiceProtocol_proto_init() {
+ if File_HAServiceProtocol_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_HAServiceProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*HAStateChangeRequestInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HAServiceProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*MonitorHealthRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HAServiceProtocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*MonitorHealthResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HAServiceProtocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TransitionToActiveRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HAServiceProtocol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TransitionToActiveResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HAServiceProtocol_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TransitionToStandbyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HAServiceProtocol_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TransitionToStandbyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HAServiceProtocol_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TransitionToObserverRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HAServiceProtocol_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TransitionToObserverResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HAServiceProtocol_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetServiceStatusRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HAServiceProtocol_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetServiceStatusResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_HAServiceProtocol_proto_rawDesc,
+ NumEnums: 2,
+ NumMessages: 11,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_HAServiceProtocol_proto_goTypes,
+ DependencyIndexes: file_HAServiceProtocol_proto_depIdxs,
+ EnumInfos: file_HAServiceProtocol_proto_enumTypes,
+ MessageInfos: file_HAServiceProtocol_proto_msgTypes,
+ }.Build()
+ File_HAServiceProtocol_proto = out.File
+ file_HAServiceProtocol_proto_rawDesc = nil
+ file_HAServiceProtocol_proto_goTypes = nil
+ file_HAServiceProtocol_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/HAServiceProtocol.proto b/internal/protocol/hadoop_common/HAServiceProtocol.proto
index e0060f2..356f81b 100644
--- a/internal/protocol/hadoop_common/HAServiceProtocol.proto
+++ b/internal/protocol/hadoop_common/HAServiceProtocol.proto
@@ -21,17 +21,19 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.ha.proto";
option java_outer_classname = "HAServiceProtocolProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
enum HAServiceStateProto {
INITIALIZING = 0;
ACTIVE = 1;
STANDBY = 2;
+ OBSERVER = 3;
}
enum HARequestSource {
@@ -85,6 +87,19 @@ message TransitionToStandbyResponseProto {
/**
* void request
*/
+message TransitionToObserverRequestProto {
+ required HAStateChangeRequestInfoProto reqInfo = 1;
+}
+
+/**
+ * void response
+ */
+message TransitionToObserverResponseProto {
+}
+
+/**
+ * void request
+ */
message GetServiceStatusRequestProto {
}
@@ -127,6 +142,12 @@ service HAServiceProtocolService {
returns(TransitionToStandbyResponseProto);
/**
+ * Request service to transition to observer state.
+ */
+ rpc transitionToObserver(TransitionToObserverRequestProto)
+ returns(TransitionToObserverResponseProto);
+
+ /**
* Get the current status of the service.
*/
rpc getServiceStatus(GetServiceStatusRequestProto)
diff --git a/internal/protocol/hadoop_common/IpcConnectionContext.pb.go b/internal/protocol/hadoop_common/IpcConnectionContext.pb.go
index 7f62159..3596ec4 100644
--- a/internal/protocol/hadoop_common/IpcConnectionContext.pb.go
+++ b/internal/protocol/hadoop_common/IpcConnectionContext.pb.go
@@ -1,177 +1,268 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: IpcConnectionContext.proto
-/*
-Package hadoop_common is a generated protocol buffer package.
-
-It is generated from these files:
- IpcConnectionContext.proto
- ZKFCProtocol.proto
- RefreshAuthorizationPolicyProtocol.proto
- GenericRefreshProtocol.proto
- RpcHeader.proto
- TraceAdmin.proto
- RefreshCallQueueProtocol.proto
- Security.proto
- ProtobufRpcEngine.proto
- RefreshUserMappingsProtocol.proto
- GetUserMappingsProtocol.proto
- HAServiceProtocol.proto
- ProtocolInfo.proto
-
-It has these top-level messages:
- UserInformationProto
- IpcConnectionContextProto
- CedeActiveRequestProto
- CedeActiveResponseProto
- GracefulFailoverRequestProto
- GracefulFailoverResponseProto
- RefreshServiceAclRequestProto
- RefreshServiceAclResponseProto
- GenericRefreshRequestProto
- GenericRefreshResponseProto
- GenericRefreshResponseCollectionProto
- RPCTraceInfoProto
- RPCCallerContextProto
- RpcRequestHeaderProto
- RpcResponseHeaderProto
- RpcSaslProto
- ListSpanReceiversRequestProto
- SpanReceiverListInfo
- ListSpanReceiversResponseProto
- ConfigPair
- AddSpanReceiverRequestProto
- AddSpanReceiverResponseProto
- RemoveSpanReceiverRequestProto
- RemoveSpanReceiverResponseProto
- RefreshCallQueueRequestProto
- RefreshCallQueueResponseProto
- TokenProto
- GetDelegationTokenRequestProto
- GetDelegationTokenResponseProto
- RenewDelegationTokenRequestProto
- RenewDelegationTokenResponseProto
- CancelDelegationTokenRequestProto
- CancelDelegationTokenResponseProto
- RequestHeaderProto
- RefreshUserToGroupsMappingsRequestProto
- RefreshUserToGroupsMappingsResponseProto
- RefreshSuperUserGroupsConfigurationRequestProto
- RefreshSuperUserGroupsConfigurationResponseProto
- GetGroupsForUserRequestProto
- GetGroupsForUserResponseProto
- HAStateChangeRequestInfoProto
- MonitorHealthRequestProto
- MonitorHealthResponseProto
- TransitionToActiveRequestProto
- TransitionToActiveResponseProto
- TransitionToStandbyRequestProto
- TransitionToStandbyResponseProto
- GetServiceStatusRequestProto
- GetServiceStatusResponseProto
- GetProtocolVersionsRequestProto
- ProtocolVersionProto
- GetProtocolVersionsResponseProto
- GetProtocolSignatureRequestProto
- GetProtocolSignatureResponseProto
- ProtocolSignatureProto
-*/
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
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// Spec for UserInformationProto is specified in ProtoUtil#makeIpcConnectionContext
type UserInformationProto struct {
- EffectiveUser *string `protobuf:"bytes,1,opt,name=effectiveUser" json:"effectiveUser,omitempty"`
- RealUser *string `protobuf:"bytes,2,opt,name=realUser" json:"realUser,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ EffectiveUser *string `protobuf:"bytes,1,opt,name=effectiveUser" json:"effectiveUser,omitempty"`
+ RealUser *string `protobuf:"bytes,2,opt,name=realUser" json:"realUser,omitempty"`
+}
+
+func (x *UserInformationProto) Reset() {
+ *x = UserInformationProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_IpcConnectionContext_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UserInformationProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *UserInformationProto) Reset() { *m = UserInformationProto{} }
-func (m *UserInformationProto) String() string { return proto.CompactTextString(m) }
-func (*UserInformationProto) ProtoMessage() {}
-func (*UserInformationProto) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+func (*UserInformationProto) ProtoMessage() {}
-func (m *UserInformationProto) GetEffectiveUser() string {
- if m != nil && m.EffectiveUser != nil {
- return *m.EffectiveUser
+func (x *UserInformationProto) ProtoReflect() protoreflect.Message {
+ mi := &file_IpcConnectionContext_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UserInformationProto.ProtoReflect.Descriptor instead.
+func (*UserInformationProto) Descriptor() ([]byte, []int) {
+ return file_IpcConnectionContext_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *UserInformationProto) GetEffectiveUser() string {
+ if x != nil && x.EffectiveUser != nil {
+ return *x.EffectiveUser
}
return ""
}
-func (m *UserInformationProto) GetRealUser() string {
- if m != nil && m.RealUser != nil {
- return *m.RealUser
+func (x *UserInformationProto) GetRealUser() string {
+ if x != nil && x.RealUser != nil {
+ return *x.RealUser
}
return ""
}
-// *
+//*
// The connection context is sent as part of the connection establishment.
// It establishes the context for ALL Rpc calls within the connection.
type IpcConnectionContextProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
// UserInfo beyond what is determined as part of security handshake
// at connection time (kerberos, tokens etc).
UserInfo *UserInformationProto `protobuf:"bytes,2,opt,name=userInfo" json:"userInfo,omitempty"`
// Protocol name for next rpc layer.
// The client created a proxy with this protocol name
- Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"`
+}
+
+func (x *IpcConnectionContextProto) Reset() {
+ *x = IpcConnectionContextProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_IpcConnectionContext_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *IpcConnectionContextProto) Reset() { *m = IpcConnectionContextProto{} }
-func (m *IpcConnectionContextProto) String() string { return proto.CompactTextString(m) }
-func (*IpcConnectionContextProto) ProtoMessage() {}
-func (*IpcConnectionContextProto) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
+func (x *IpcConnectionContextProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*IpcConnectionContextProto) ProtoMessage() {}
-func (m *IpcConnectionContextProto) GetUserInfo() *UserInformationProto {
- if m != nil {
- return m.UserInfo
+func (x *IpcConnectionContextProto) ProtoReflect() protoreflect.Message {
+ mi := &file_IpcConnectionContext_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use IpcConnectionContextProto.ProtoReflect.Descriptor instead.
+func (*IpcConnectionContextProto) Descriptor() ([]byte, []int) {
+ return file_IpcConnectionContext_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *IpcConnectionContextProto) GetUserInfo() *UserInformationProto {
+ if x != nil {
+ return x.UserInfo
}
return nil
}
-func (m *IpcConnectionContextProto) GetProtocol() string {
- if m != nil && m.Protocol != nil {
- return *m.Protocol
+func (x *IpcConnectionContextProto) GetProtocol() string {
+ if x != nil && x.Protocol != nil {
+ return *x.Protocol
}
return ""
}
-func init() {
- proto.RegisterType((*UserInformationProto)(nil), "hadoop.common.UserInformationProto")
- proto.RegisterType((*IpcConnectionContextProto)(nil), "hadoop.common.IpcConnectionContextProto")
-}
-
-func init() { proto.RegisterFile("IpcConnectionContext.proto", fileDescriptor0) }
-
-var fileDescriptor0 = []byte{
- // 199 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xf2, 0x2c, 0x48, 0x76,
- 0xce, 0xcf, 0xcb, 0x4b, 0x4d, 0x2e, 0xc9, 0xcc, 0xcf, 0x73, 0xce, 0xcf, 0x2b, 0x49, 0xad, 0x28,
- 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0xcd, 0x48, 0x4c, 0xc9, 0xcf, 0x2f, 0xd0, 0x4b,
- 0xce, 0xcf, 0xcd, 0xcd, 0xcf, 0x53, 0x8a, 0xe0, 0x12, 0x09, 0x2d, 0x4e, 0x2d, 0xf2, 0xcc, 0x4b,
- 0xcb, 0x2f, 0xca, 0x4d, 0x04, 0x29, 0x0f, 0x00, 0x2b, 0x53, 0xe1, 0xe2, 0x4d, 0x4d, 0x4b, 0x03,
- 0x19, 0x50, 0x96, 0x0a, 0x52, 0x20, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x84, 0x2a, 0x28, 0x24,
- 0xc5, 0xc5, 0x51, 0x94, 0x9a, 0x98, 0x03, 0x56, 0xc0, 0x04, 0x56, 0x00, 0xe7, 0x2b, 0x55, 0x70,
- 0x49, 0x62, 0x73, 0x06, 0xc4, 0x78, 0x7b, 0x2e, 0x8e, 0x52, 0xa8, 0xb5, 0x60, 0x8d, 0xdc, 0x46,
- 0xca, 0x7a, 0x28, 0x0e, 0xd3, 0xc3, 0xe6, 0xaa, 0x20, 0xb8, 0x26, 0x90, 0xcd, 0x60, 0xff, 0x24,
- 0xe7, 0xe7, 0x48, 0x30, 0x43, 0x6c, 0x86, 0xf1, 0x9d, 0xec, 0xb9, 0xe4, 0xf2, 0x8b, 0xd2, 0xf5,
- 0x12, 0x0b, 0x12, 0x93, 0x33, 0x52, 0x61, 0xc6, 0x66, 0x16, 0x24, 0x43, 0x42, 0x20, 0xa9, 0x34,
- 0xcd, 0x49, 0x0a, 0xa7, 0xcb, 0x8a, 0x17, 0x30, 0x32, 0x02, 0x02, 0x00, 0x00, 0xff, 0xff, 0x94,
- 0x05, 0xde, 0x49, 0x40, 0x01, 0x00, 0x00,
+var File_IpcConnectionContext_proto protoreflect.FileDescriptor
+
+var file_IpcConnectionContext_proto_rawDesc = []byte{
+ 0x0a, 0x1a, 0x49, 0x70, 0x63, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43,
+ 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x58, 0x0a, 0x14, 0x55,
+ 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x55, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61,
+ 0x6c, 0x55, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x61,
+ 0x6c, 0x55, 0x73, 0x65, 0x72, 0x22, 0x78, 0x0a, 0x19, 0x49, 0x70, 0x63, 0x43, 0x6f, 0x6e, 0x6e,
+ 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x3f, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f,
+ 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x49,
+ 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x42,
+ 0x7d, 0x0a, 0x1e, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x69, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x42, 0x1a, 0x49, 0x70, 0x63, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3c, 0x67,
+ 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d,
+ 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65,
+ 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_IpcConnectionContext_proto_rawDescOnce sync.Once
+ file_IpcConnectionContext_proto_rawDescData = file_IpcConnectionContext_proto_rawDesc
+)
+
+func file_IpcConnectionContext_proto_rawDescGZIP() []byte {
+ file_IpcConnectionContext_proto_rawDescOnce.Do(func() {
+ file_IpcConnectionContext_proto_rawDescData = protoimpl.X.CompressGZIP(file_IpcConnectionContext_proto_rawDescData)
+ })
+ return file_IpcConnectionContext_proto_rawDescData
+}
+
+var file_IpcConnectionContext_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
+var file_IpcConnectionContext_proto_goTypes = []interface{}{
+ (*UserInformationProto)(nil), // 0: hadoop.common.UserInformationProto
+ (*IpcConnectionContextProto)(nil), // 1: hadoop.common.IpcConnectionContextProto
+}
+var file_IpcConnectionContext_proto_depIdxs = []int32{
+ 0, // 0: hadoop.common.IpcConnectionContextProto.userInfo:type_name -> hadoop.common.UserInformationProto
+ 1, // [1:1] is the sub-list for method output_type
+ 1, // [1:1] is the sub-list for method input_type
+ 1, // [1:1] is the sub-list for extension type_name
+ 1, // [1:1] is the sub-list for extension extendee
+ 0, // [0:1] is the sub-list for field type_name
+}
+
+func init() { file_IpcConnectionContext_proto_init() }
+func file_IpcConnectionContext_proto_init() {
+ if File_IpcConnectionContext_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_IpcConnectionContext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UserInformationProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_IpcConnectionContext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*IpcConnectionContextProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_IpcConnectionContext_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 2,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_IpcConnectionContext_proto_goTypes,
+ DependencyIndexes: file_IpcConnectionContext_proto_depIdxs,
+ MessageInfos: file_IpcConnectionContext_proto_msgTypes,
+ }.Build()
+ File_IpcConnectionContext_proto = out.File
+ file_IpcConnectionContext_proto_rawDesc = nil
+ file_IpcConnectionContext_proto_goTypes = nil
+ file_IpcConnectionContext_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/IpcConnectionContext.proto b/internal/protocol/hadoop_common/IpcConnectionContext.proto
index 4557e89..3cfbe51 100644
--- a/internal/protocol/hadoop_common/IpcConnectionContext.proto
+++ b/internal/protocol/hadoop_common/IpcConnectionContext.proto
@@ -21,10 +21,11 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.ipc.protobuf";
option java_outer_classname = "IpcConnectionContextProtos";
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
/**
diff --git a/internal/protocol/hadoop_common/ProtobufRpcEngine.pb.go b/internal/protocol/hadoop_common/ProtobufRpcEngine.pb.go
index 6321f81..1e2d18e 100644
--- a/internal/protocol/hadoop_common/ProtobufRpcEngine.pb.go
+++ b/internal/protocol/hadoop_common/ProtobufRpcEngine.pb.go
@@ -1,18 +1,48 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: ProtobufRpcEngine.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// This message is the header for the Protobuf Rpc Engine
// when sending a RPC request from RPC client to the RPC server.
// The actual request (serialized as protobuf) follows this request.
@@ -20,9 +50,13 @@ var _ = math.Inf
// No special header is needed for the Rpc Response for Protobuf Rpc Engine.
// The normal RPC response header (see RpcHeader.proto) are sufficient.
type RequestHeaderProto struct {
- // * Name of the RPC method
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ //* Name of the RPC method
MethodName *string `protobuf:"bytes,1,req,name=methodName" json:"methodName,omitempty"`
- // *
+ //*
// RPCs for a particular interface (ie protocol) are done using a
// IPC connection that is setup using rpcProxy.
// The rpcProxy's has a declared protocol name that is
@@ -37,56 +71,149 @@ type RequestHeaderProto struct {
// ProtocolInfoProto) since they reuse the connection; in this case
// the declaringClassProtocolName field is set to the ProtocolInfoProto
DeclaringClassProtocolName *string `protobuf:"bytes,2,req,name=declaringClassProtocolName" json:"declaringClassProtocolName,omitempty"`
- // * protocol version of class declaring the called method
+ //* protocol version of class declaring the called method
ClientProtocolVersion *uint64 `protobuf:"varint,3,req,name=clientProtocolVersion" json:"clientProtocolVersion,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *RequestHeaderProto) Reset() { *m = RequestHeaderProto{} }
-func (m *RequestHeaderProto) String() string { return proto.CompactTextString(m) }
-func (*RequestHeaderProto) ProtoMessage() {}
-func (*RequestHeaderProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
+func (x *RequestHeaderProto) Reset() {
+ *x = RequestHeaderProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ProtobufRpcEngine_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RequestHeaderProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RequestHeaderProto) ProtoMessage() {}
+
+func (x *RequestHeaderProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ProtobufRpcEngine_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RequestHeaderProto.ProtoReflect.Descriptor instead.
+func (*RequestHeaderProto) Descriptor() ([]byte, []int) {
+ return file_ProtobufRpcEngine_proto_rawDescGZIP(), []int{0}
+}
-func (m *RequestHeaderProto) GetMethodName() string {
- if m != nil && m.MethodName != nil {
- return *m.MethodName
+func (x *RequestHeaderProto) GetMethodName() string {
+ if x != nil && x.MethodName != nil {
+ return *x.MethodName
}
return ""
}
-func (m *RequestHeaderProto) GetDeclaringClassProtocolName() string {
- if m != nil && m.DeclaringClassProtocolName != nil {
- return *m.DeclaringClassProtocolName
+func (x *RequestHeaderProto) GetDeclaringClassProtocolName() string {
+ if x != nil && x.DeclaringClassProtocolName != nil {
+ return *x.DeclaringClassProtocolName
}
return ""
}
-func (m *RequestHeaderProto) GetClientProtocolVersion() uint64 {
- if m != nil && m.ClientProtocolVersion != nil {
- return *m.ClientProtocolVersion
+func (x *RequestHeaderProto) GetClientProtocolVersion() uint64 {
+ if x != nil && x.ClientProtocolVersion != nil {
+ return *x.ClientProtocolVersion
}
return 0
}
-func init() {
- proto.RegisterType((*RequestHeaderProto)(nil), "hadoop.common.RequestHeaderProto")
+var File_ProtobufRpcEngine_proto protoreflect.FileDescriptor
+
+var file_ProtobufRpcEngine_proto_rawDesc = []byte{
+ 0x0a, 0x17, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x52, 0x70, 0x63, 0x45, 0x6e, 0x67,
+ 0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0xaa, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12,
+ 0x3e, 0x0a, 0x1a, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6c, 0x61, 0x73,
+ 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
+ 0x02, 0x28, 0x09, 0x52, 0x1a, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6c,
+ 0x61, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12,
+ 0x34, 0x0a, 0x15, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
+ 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x15,
+ 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65,
+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x7a, 0x0a, 0x1e, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61,
+ 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x69, 0x70, 0x63, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x17, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x52, 0x70, 0x63, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73,
+ 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c,
+ 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69,
+ 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
+ 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0xa0, 0x01,
+ 0x01,
+}
+
+var (
+ file_ProtobufRpcEngine_proto_rawDescOnce sync.Once
+ file_ProtobufRpcEngine_proto_rawDescData = file_ProtobufRpcEngine_proto_rawDesc
+)
+
+func file_ProtobufRpcEngine_proto_rawDescGZIP() []byte {
+ file_ProtobufRpcEngine_proto_rawDescOnce.Do(func() {
+ file_ProtobufRpcEngine_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProtobufRpcEngine_proto_rawDescData)
+ })
+ return file_ProtobufRpcEngine_proto_rawDescData
+}
+
+var file_ProtobufRpcEngine_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
+var file_ProtobufRpcEngine_proto_goTypes = []interface{}{
+ (*RequestHeaderProto)(nil), // 0: hadoop.common.RequestHeaderProto
+}
+var file_ProtobufRpcEngine_proto_depIdxs = []int32{
+ 0, // [0:0] is the sub-list for method output_type
+ 0, // [0:0] is the sub-list for method input_type
+ 0, // [0:0] is the sub-list for extension type_name
+ 0, // [0:0] is the sub-list for extension extendee
+ 0, // [0:0] is the sub-list for field type_name
}
-func init() { proto.RegisterFile("ProtobufRpcEngine.proto", fileDescriptor8) }
-
-var fileDescriptor8 = []byte{
- // 197 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x8f, 0xb1, 0x6a, 0xc3, 0x30,
- 0x14, 0x45, 0x91, 0xdb, 0xa5, 0x82, 0x2e, 0x82, 0x52, 0xd3, 0xc1, 0x98, 0x4e, 0x9e, 0x34, 0x75,
- 0x2c, 0x1d, 0x5c, 0x0a, 0x9d, 0x42, 0xd0, 0x90, 0x5d, 0x96, 0x9e, 0x6d, 0x81, 0xa4, 0xa7, 0x48,
- 0xf2, 0xff, 0x64, 0xce, 0x57, 0x86, 0x28, 0x09, 0x04, 0x12, 0xb2, 0x9e, 0x7b, 0xee, 0x70, 0xe8,
- 0xfb, 0x3a, 0x62, 0xc6, 0x61, 0x19, 0x45, 0x50, 0x7f, 0x7e, 0x32, 0x1e, 0x78, 0x38, 0x12, 0xf6,
- 0x3a, 0x4b, 0x8d, 0x18, 0xb8, 0x42, 0xe7, 0xd0, 0x7f, 0xee, 0x09, 0x65, 0x02, 0xb6, 0x0b, 0xa4,
- 0xfc, 0x0f, 0x52, 0x43, 0x2c, 0x3f, 0xd6, 0x50, 0xea, 0x20, 0xcf, 0xa8, 0x57, 0xd2, 0x41, 0x4d,
- 0xda, 0xaa, 0x7b, 0x11, 0x57, 0x84, 0xfd, 0xd0, 0x0f, 0x0d, 0xca, 0xca, 0x68, 0xfc, 0xf4, 0x6b,
- 0x65, 0x4a, 0xe5, 0xa6, 0xd0, 0x16, 0xbf, 0x2a, 0xfe, 0x03, 0x83, 0x7d, 0xd1, 0x37, 0x65, 0x0d,
- 0xf8, 0x7c, 0xa1, 0x1b, 0x88, 0xc9, 0xa0, 0xaf, 0x9f, 0xda, 0xaa, 0x7b, 0x16, 0xf7, 0xc7, 0xfe,
- 0x9b, 0x36, 0x18, 0x27, 0x2e, 0x83, 0x54, 0x33, 0xf0, 0x73, 0x88, 0x09, 0xea, 0x94, 0x36, 0x2c,
- 0x63, 0x7f, 0x9b, 0x5d, 0x40, 0xda, 0x11, 0x72, 0x08, 0x00, 0x00, 0xff, 0xff, 0xd8, 0xe2, 0xf0,
- 0x01, 0x13, 0x01, 0x00, 0x00,
+func init() { file_ProtobufRpcEngine_proto_init() }
+func file_ProtobufRpcEngine_proto_init() {
+ if File_ProtobufRpcEngine_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_ProtobufRpcEngine_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RequestHeaderProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_ProtobufRpcEngine_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 1,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_ProtobufRpcEngine_proto_goTypes,
+ DependencyIndexes: file_ProtobufRpcEngine_proto_depIdxs,
+ MessageInfos: file_ProtobufRpcEngine_proto_msgTypes,
+ }.Build()
+ File_ProtobufRpcEngine_proto = out.File
+ file_ProtobufRpcEngine_proto_rawDesc = nil
+ file_ProtobufRpcEngine_proto_goTypes = nil
+ file_ProtobufRpcEngine_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/ProtobufRpcEngine.proto b/internal/protocol/hadoop_common/ProtobufRpcEngine.proto
index a17e207..774fba4 100644
--- a/internal/protocol/hadoop_common/ProtobufRpcEngine.proto
+++ b/internal/protocol/hadoop_common/ProtobufRpcEngine.proto
@@ -21,7 +21,7 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
/**
* These are the messages used by Hadoop RPC for the Rpc Engine Protocol Buffer
* to marshal the request and response in the RPC layer.
@@ -31,6 +31,7 @@
option java_package = "org.apache.hadoop.ipc.protobuf";
option java_outer_classname = "ProtobufRpcEngineProtos";
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
/**
diff --git a/internal/protocol/hadoop_common/ProtocolInfo.pb.go b/internal/protocol/hadoop_common/ProtocolInfo.pb.go
index 9c858f0..00fe69f 100644
--- a/internal/protocol/hadoop_common/ProtocolInfo.pb.go
+++ b/internal/protocol/hadoop_common/ProtocolInfo.pb.go
@@ -1,194 +1,559 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: ProtocolInfo.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// 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:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Protocol *string `protobuf:"bytes,1,req,name=protocol" json:"protocol,omitempty"` // Protocol name
+}
+
+func (x *GetProtocolVersionsRequestProto) Reset() {
+ *x = GetProtocolVersionsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ProtocolInfo_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetProtocolVersionsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetProtocolVersionsRequestProto) Reset() { *m = GetProtocolVersionsRequestProto{} }
-func (m *GetProtocolVersionsRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetProtocolVersionsRequestProto) ProtoMessage() {}
+func (*GetProtocolVersionsRequestProto) ProtoMessage() {}
+
+func (x *GetProtocolVersionsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ProtocolInfo_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetProtocolVersionsRequestProto.ProtoReflect.Descriptor instead.
func (*GetProtocolVersionsRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor12, []int{0}
+ return file_ProtocolInfo_proto_rawDescGZIP(), []int{0}
}
-func (m *GetProtocolVersionsRequestProto) GetProtocol() string {
- if m != nil && m.Protocol != nil {
- return *m.Protocol
+func (x *GetProtocolVersionsRequestProto) GetProtocol() string {
+ if x != nil && x.Protocol != nil {
+ return *x.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:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ RpcKind *string `protobuf:"bytes,1,req,name=rpcKind" json:"rpcKind,omitempty"` //RPC kind
+ Versions []uint64 `protobuf:"varint,2,rep,name=versions" json:"versions,omitempty"` //Protocol version corresponding to the rpc kind.
+}
+
+func (x *ProtocolVersionProto) Reset() {
+ *x = ProtocolVersionProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ProtocolInfo_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ProtocolVersionProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ProtocolVersionProto) ProtoMessage() {}
+
+func (x *ProtocolVersionProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ProtocolInfo_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-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} }
+// Deprecated: Use ProtocolVersionProto.ProtoReflect.Descriptor instead.
+func (*ProtocolVersionProto) Descriptor() ([]byte, []int) {
+ return file_ProtocolInfo_proto_rawDescGZIP(), []int{1}
+}
-func (m *ProtocolVersionProto) GetRpcKind() string {
- if m != nil && m.RpcKind != nil {
- return *m.RpcKind
+func (x *ProtocolVersionProto) GetRpcKind() string {
+ if x != nil && x.RpcKind != nil {
+ return *x.RpcKind
}
return ""
}
-func (m *ProtocolVersionProto) GetVersions() []uint64 {
- if m != nil {
- return m.Versions
+func (x *ProtocolVersionProto) GetVersions() []uint64 {
+ if x != nil {
+ return x.Versions
}
return nil
}
-// *
+//*
// Get protocol version response.
type GetProtocolVersionsResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
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 (x *GetProtocolVersionsResponseProto) Reset() {
+ *x = GetProtocolVersionsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ProtocolInfo_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetProtocolVersionsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetProtocolVersionsResponseProto) ProtoMessage() {}
+
+func (x *GetProtocolVersionsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ProtocolInfo_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetProtocolVersionsResponseProto.ProtoReflect.Descriptor instead.
func (*GetProtocolVersionsResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor12, []int{2}
+ return file_ProtocolInfo_proto_rawDescGZIP(), []int{2}
}
-func (m *GetProtocolVersionsResponseProto) GetProtocolVersions() []*ProtocolVersionProto {
- if m != nil {
- return m.ProtocolVersions
+func (x *GetProtocolVersionsResponseProto) GetProtocolVersions() []*ProtocolVersionProto {
+ if x != nil {
+ return x.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:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Protocol *string `protobuf:"bytes,1,req,name=protocol" json:"protocol,omitempty"` // Protocol name
+ RpcKind *string `protobuf:"bytes,2,req,name=rpcKind" json:"rpcKind,omitempty"` // RPC kind
}
-func (m *GetProtocolSignatureRequestProto) Reset() { *m = GetProtocolSignatureRequestProto{} }
-func (m *GetProtocolSignatureRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetProtocolSignatureRequestProto) ProtoMessage() {}
+func (x *GetProtocolSignatureRequestProto) Reset() {
+ *x = GetProtocolSignatureRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ProtocolInfo_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetProtocolSignatureRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetProtocolSignatureRequestProto) ProtoMessage() {}
+
+func (x *GetProtocolSignatureRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ProtocolInfo_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetProtocolSignatureRequestProto.ProtoReflect.Descriptor instead.
func (*GetProtocolSignatureRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor12, []int{3}
+ return file_ProtocolInfo_proto_rawDescGZIP(), []int{3}
}
-func (m *GetProtocolSignatureRequestProto) GetProtocol() string {
- if m != nil && m.Protocol != nil {
- return *m.Protocol
+func (x *GetProtocolSignatureRequestProto) GetProtocol() string {
+ if x != nil && x.Protocol != nil {
+ return *x.Protocol
}
return ""
}
-func (m *GetProtocolSignatureRequestProto) GetRpcKind() string {
- if m != nil && m.RpcKind != nil {
- return *m.RpcKind
+func (x *GetProtocolSignatureRequestProto) GetRpcKind() string {
+ if x != nil && x.RpcKind != nil {
+ return *x.RpcKind
}
return ""
}
-// *
+//*
// Get protocol signature response.
type GetProtocolSignatureResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
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 (x *GetProtocolSignatureResponseProto) Reset() {
+ *x = GetProtocolSignatureResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ProtocolInfo_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetProtocolSignatureResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetProtocolSignatureResponseProto) ProtoMessage() {}
+
+func (x *GetProtocolSignatureResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ProtocolInfo_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetProtocolSignatureResponseProto.ProtoReflect.Descriptor instead.
func (*GetProtocolSignatureResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor12, []int{4}
+ return file_ProtocolInfo_proto_rawDescGZIP(), []int{4}
}
-func (m *GetProtocolSignatureResponseProto) GetProtocolSignature() []*ProtocolSignatureProto {
- if m != nil {
- return m.ProtocolSignature
+func (x *GetProtocolSignatureResponseProto) GetProtocolSignature() []*ProtocolSignatureProto {
+ if x != nil {
+ return x.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:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Version *uint64 `protobuf:"varint,1,req,name=version" json:"version,omitempty"`
+ Methods []uint32 `protobuf:"varint,2,rep,name=methods" json:"methods,omitempty"`
}
-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 (x *ProtocolSignatureProto) Reset() {
+ *x = ProtocolSignatureProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ProtocolInfo_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *ProtocolSignatureProto) GetVersion() uint64 {
- if m != nil && m.Version != nil {
- return *m.Version
+func (x *ProtocolSignatureProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ProtocolSignatureProto) ProtoMessage() {}
+
+func (x *ProtocolSignatureProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ProtocolInfo_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ProtocolSignatureProto.ProtoReflect.Descriptor instead.
+func (*ProtocolSignatureProto) Descriptor() ([]byte, []int) {
+ return file_ProtocolInfo_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *ProtocolSignatureProto) GetVersion() uint64 {
+ if x != nil && x.Version != nil {
+ return *x.Version
}
return 0
}
-func (m *ProtocolSignatureProto) GetMethods() []uint32 {
- if m != nil {
- return m.Methods
+func (x *ProtocolSignatureProto) GetMethods() []uint32 {
+ if x != nil {
+ return x.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, 0xa5, 0xdd, 0xe0, 0xfb, 0xbc, 0x32, 0xd0, 0x6e, 0x48, 0xd9, 0x83, 0xd6, 0x88, 0xb0, 0xa7,
- 0x28, 0x7b, 0x14, 0x7c, 0xd9, 0x8b, 0x88, 0x03, 0x25, 0x03, 0xf1, 0xb5, 0x66, 0x59, 0x57, 0x70,
- 0xb9, 0x31, 0xe9, 0x86, 0xfe, 0x83, 0xfd, 0x0c, 0x7f, 0xaa, 0x74, 0x69, 0x47, 0xdb, 0x45, 0xdd,
- 0x5b, 0x4f, 0x73, 0xce, 0xbd, 0xf7, 0x9c, 0x9b, 0x40, 0xf0, 0xa4, 0x31, 0x43, 0x8e, 0x6f, 0xf7,
- 0x72, 0x86, 0x54, 0xe5, 0x20, 0xe8, 0xcc, 0xe3, 0x29, 0xa2, 0xa2, 0x1c, 0x17, 0x0b, 0x94, 0xe4,
- 0x16, 0xce, 0xee, 0x44, 0x56, 0xf2, 0x9e, 0x85, 0x36, 0x29, 0x4a, 0xc3, 0xc4, 0xfb, 0x52, 0x18,
- 0xfb, 0x3b, 0xe8, 0xc3, 0x7f, 0x55, 0x9c, 0x87, 0x5e, 0xe4, 0x0f, 0x0e, 0xd8, 0x16, 0x93, 0x31,
- 0xf4, 0x1a, 0x5a, 0xab, 0x09, 0xe1, 0x9f, 0x56, 0xfc, 0x21, 0x95, 0xd3, 0x42, 0x52, 0xc2, 0xbc,
- 0xda, 0xaa, 0xe8, 0x12, 0xfa, 0x51, 0x6b, 0xd0, 0x66, 0x5b, 0x4c, 0x0c, 0x44, 0xce, 0x61, 0x8c,
- 0x42, 0x69, 0x84, 0xad, 0xfc, 0x08, 0x47, 0xaa, 0x41, 0x08, 0xbd, 0xa8, 0x35, 0x38, 0x1c, 0x5e,
- 0xd0, 0x9a, 0x35, 0xea, 0x1a, 0x8c, 0xed, 0x88, 0xc9, 0x4b, 0xad, 0xe9, 0x24, 0x4d, 0x64, 0x9c,
- 0x2d, 0xb5, 0xd8, 0x37, 0x82, 0xaa, 0x55, 0xbf, 0x66, 0x95, 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,
+var File_ProtocolInfo_proto protoreflect.FileDescriptor
+
+var file_ProtocolInfo_proto_rawDesc = []byte{
+ 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x6f, 0x6e, 0x22, 0x3d, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
+ 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
+ 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
+ 0x6f, 0x6c, 0x22, 0x4c, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65,
+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x70,
+ 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x72, 0x70, 0x63,
+ 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73,
+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73,
+ 0x22, 0x73, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56,
+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x4f, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
+ 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x58, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x70, 0x63, 0x4b, 0x69, 0x6e, 0x64,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x72, 0x70, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x22,
+ 0x78, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x69,
+ 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x53, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
+ 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
+ 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x4c, 0x0a, 0x16, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a,
+ 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07,
+ 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x32, 0x88, 0x02, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x63, 0x6f, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
+ 0x76, 0x0a, 0x13, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65,
+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
+ 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
+ 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x79, 0x0a, 0x14, 0x67, 0x65, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12,
+ 0x2f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
+ 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x69, 0x67, 0x6e, 0x61,
+ 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x1a, 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+ 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x69, 0x67, 0x6e,
+ 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x42, 0x78, 0x0a, 0x1e, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x69, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x42, 0x12, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x49, 0x6e,
+ 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68,
+ 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_ProtocolInfo_proto_rawDescOnce sync.Once
+ file_ProtocolInfo_proto_rawDescData = file_ProtocolInfo_proto_rawDesc
+)
+
+func file_ProtocolInfo_proto_rawDescGZIP() []byte {
+ file_ProtocolInfo_proto_rawDescOnce.Do(func() {
+ file_ProtocolInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_ProtocolInfo_proto_rawDescData)
+ })
+ return file_ProtocolInfo_proto_rawDescData
+}
+
+var file_ProtocolInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
+var file_ProtocolInfo_proto_goTypes = []interface{}{
+ (*GetProtocolVersionsRequestProto)(nil), // 0: hadoop.common.GetProtocolVersionsRequestProto
+ (*ProtocolVersionProto)(nil), // 1: hadoop.common.ProtocolVersionProto
+ (*GetProtocolVersionsResponseProto)(nil), // 2: hadoop.common.GetProtocolVersionsResponseProto
+ (*GetProtocolSignatureRequestProto)(nil), // 3: hadoop.common.GetProtocolSignatureRequestProto
+ (*GetProtocolSignatureResponseProto)(nil), // 4: hadoop.common.GetProtocolSignatureResponseProto
+ (*ProtocolSignatureProto)(nil), // 5: hadoop.common.ProtocolSignatureProto
+}
+var file_ProtocolInfo_proto_depIdxs = []int32{
+ 1, // 0: hadoop.common.GetProtocolVersionsResponseProto.protocolVersions:type_name -> hadoop.common.ProtocolVersionProto
+ 5, // 1: hadoop.common.GetProtocolSignatureResponseProto.protocolSignature:type_name -> hadoop.common.ProtocolSignatureProto
+ 0, // 2: hadoop.common.ProtocolInfoService.getProtocolVersions:input_type -> hadoop.common.GetProtocolVersionsRequestProto
+ 3, // 3: hadoop.common.ProtocolInfoService.getProtocolSignature:input_type -> hadoop.common.GetProtocolSignatureRequestProto
+ 2, // 4: hadoop.common.ProtocolInfoService.getProtocolVersions:output_type -> hadoop.common.GetProtocolVersionsResponseProto
+ 4, // 5: hadoop.common.ProtocolInfoService.getProtocolSignature:output_type -> hadoop.common.GetProtocolSignatureResponseProto
+ 4, // [4:6] is the sub-list for method output_type
+ 2, // [2:4] is the sub-list for method input_type
+ 2, // [2:2] is the sub-list for extension type_name
+ 2, // [2:2] is the sub-list for extension extendee
+ 0, // [0:2] is the sub-list for field type_name
+}
+
+func init() { file_ProtocolInfo_proto_init() }
+func file_ProtocolInfo_proto_init() {
+ if File_ProtocolInfo_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_ProtocolInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetProtocolVersionsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ProtocolInfo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ProtocolVersionProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ProtocolInfo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetProtocolVersionsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ProtocolInfo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetProtocolSignatureRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ProtocolInfo_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetProtocolSignatureResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ProtocolInfo_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ProtocolSignatureProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_ProtocolInfo_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 6,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_ProtocolInfo_proto_goTypes,
+ DependencyIndexes: file_ProtocolInfo_proto_depIdxs,
+ MessageInfos: file_ProtocolInfo_proto_msgTypes,
+ }.Build()
+ File_ProtocolInfo_proto = out.File
+ file_ProtocolInfo_proto_rawDesc = nil
+ file_ProtocolInfo_proto_goTypes = nil
+ file_ProtocolInfo_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/ProtocolInfo.proto b/internal/protocol/hadoop_common/ProtocolInfo.proto
index fdbc440..4847bfd 100644
--- a/internal/protocol/hadoop_common/ProtocolInfo.proto
+++ b/internal/protocol/hadoop_common/ProtocolInfo.proto
@@ -21,11 +21,12 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.ipc.protobuf";
option java_outer_classname = "ProtocolInfoProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
/**
diff --git a/internal/protocol/hadoop_common/RefreshAuthorizationPolicyProtocol.pb.go b/internal/protocol/hadoop_common/RefreshAuthorizationPolicyProtocol.pb.go
index 5054b19..0689e66 100644
--- a/internal/protocol/hadoop_common/RefreshAuthorizationPolicyProtocol.pb.go
+++ b/internal/protocol/hadoop_common/RefreshAuthorizationPolicyProtocol.pb.go
@@ -1,58 +1,233 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: RefreshAuthorizationPolicyProtocol.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// Refresh service acl request.
type RefreshServiceAclRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RefreshServiceAclRequestProto) Reset() {
+ *x = RefreshServiceAclRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RefreshAuthorizationPolicyProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RefreshServiceAclRequestProto) Reset() { *m = RefreshServiceAclRequestProto{} }
-func (m *RefreshServiceAclRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RefreshServiceAclRequestProto) ProtoMessage() {}
-func (*RefreshServiceAclRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
+func (x *RefreshServiceAclRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RefreshServiceAclRequestProto) ProtoMessage() {}
+
+func (x *RefreshServiceAclRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RefreshAuthorizationPolicyProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-// *
+// Deprecated: Use RefreshServiceAclRequestProto.ProtoReflect.Descriptor instead.
+func (*RefreshServiceAclRequestProto) Descriptor() ([]byte, []int) {
+ return file_RefreshAuthorizationPolicyProtocol_proto_rawDescGZIP(), []int{0}
+}
+
+//*
// void response
type RefreshServiceAclResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *RefreshServiceAclResponseProto) Reset() { *m = RefreshServiceAclResponseProto{} }
-func (m *RefreshServiceAclResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RefreshServiceAclResponseProto) ProtoMessage() {}
-func (*RefreshServiceAclResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
-
-func init() {
- proto.RegisterType((*RefreshServiceAclRequestProto)(nil), "hadoop.common.RefreshServiceAclRequestProto")
- proto.RegisterType((*RefreshServiceAclResponseProto)(nil), "hadoop.common.RefreshServiceAclResponseProto")
-}
-
-func init() { proto.RegisterFile("RefreshAuthorizationPolicyProtocol.proto", fileDescriptor2) }
-
-var fileDescriptor2 = []byte{
- // 189 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x08, 0x4a, 0x4d, 0x2b,
- 0x4a, 0x2d, 0xce, 0x70, 0x2c, 0x2d, 0xc9, 0xc8, 0x2f, 0xca, 0xac, 0x4a, 0x2c, 0xc9, 0xcc, 0xcf,
- 0x0b, 0xc8, 0xcf, 0xc9, 0x4c, 0xae, 0x0c, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0xce, 0xcf, 0xd1, 0x2b,
- 0x00, 0x31, 0x84, 0x78, 0x33, 0x12, 0x53, 0xf2, 0xf3, 0x0b, 0xf4, 0x92, 0xf3, 0x73, 0x73, 0xf3,
- 0xf3, 0x94, 0xe4, 0xb9, 0x64, 0xa1, 0x5a, 0x83, 0x53, 0x8b, 0xca, 0x32, 0x93, 0x53, 0x1d, 0x93,
- 0x73, 0x82, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0xc0, 0x1a, 0x95, 0x14, 0xb8, 0xe4, 0xb0, 0x28,
- 0x28, 0x2e, 0xc8, 0xcf, 0x2b, 0x4e, 0x05, 0xab, 0x30, 0x9a, 0xcb, 0xc8, 0xa5, 0x49, 0xd8, 0x7a,
- 0xa8, 0x6e, 0xa1, 0x02, 0x2e, 0xc1, 0x22, 0x74, 0xf3, 0x84, 0x74, 0xf4, 0x50, 0x5c, 0xa5, 0x87,
- 0xd7, 0x49, 0x52, 0xba, 0x84, 0x55, 0x23, 0xb9, 0xcf, 0x29, 0x88, 0x4b, 0x21, 0xbf, 0x28, 0x5d,
- 0x2f, 0xb1, 0x20, 0x31, 0x39, 0x23, 0x15, 0xa6, 0xb5, 0x38, 0x35, 0xb9, 0xb4, 0x28, 0xb3, 0xa4,
- 0x12, 0x12, 0x2a, 0x4e, 0x44, 0x84, 0x1f, 0x98, 0x2e, 0xee, 0x60, 0x64, 0x5c, 0xc0, 0xc8, 0x08,
- 0x08, 0x00, 0x00, 0xff, 0xff, 0x4a, 0xf2, 0xf6, 0x15, 0x70, 0x01, 0x00, 0x00,
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RefreshServiceAclResponseProto) Reset() {
+ *x = RefreshServiceAclResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RefreshAuthorizationPolicyProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RefreshServiceAclResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RefreshServiceAclResponseProto) ProtoMessage() {}
+
+func (x *RefreshServiceAclResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RefreshAuthorizationPolicyProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RefreshServiceAclResponseProto.ProtoReflect.Descriptor instead.
+func (*RefreshServiceAclResponseProto) Descriptor() ([]byte, []int) {
+ return file_RefreshAuthorizationPolicyProtocol_proto_rawDescGZIP(), []int{1}
+}
+
+var File_RefreshAuthorizationPolicyProtocol_proto protoreflect.FileDescriptor
+
+var file_RefreshAuthorizationPolicyProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x28, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
+ 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x1f, 0x0a, 0x1d, 0x52, 0x65, 0x66,
+ 0x72, 0x65, 0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x6c, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x20, 0x0a, 0x1e, 0x52, 0x65,
+ 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x6c, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x9d, 0x01, 0x0a,
+ 0x29, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x63, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x70, 0x0a, 0x11, 0x72, 0x65,
+ 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x6c, 0x12,
+ 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
+ 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63,
+ 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65,
+ 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x6c, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x90, 0x01, 0x0a,
+ 0x20, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x42, 0x28, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
+ 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3c, 0x67, 0x69, 0x74,
+ 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72,
+ 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
+ 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_RefreshAuthorizationPolicyProtocol_proto_rawDescOnce sync.Once
+ file_RefreshAuthorizationPolicyProtocol_proto_rawDescData = file_RefreshAuthorizationPolicyProtocol_proto_rawDesc
+)
+
+func file_RefreshAuthorizationPolicyProtocol_proto_rawDescGZIP() []byte {
+ file_RefreshAuthorizationPolicyProtocol_proto_rawDescOnce.Do(func() {
+ file_RefreshAuthorizationPolicyProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_RefreshAuthorizationPolicyProtocol_proto_rawDescData)
+ })
+ return file_RefreshAuthorizationPolicyProtocol_proto_rawDescData
+}
+
+var file_RefreshAuthorizationPolicyProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
+var file_RefreshAuthorizationPolicyProtocol_proto_goTypes = []interface{}{
+ (*RefreshServiceAclRequestProto)(nil), // 0: hadoop.common.RefreshServiceAclRequestProto
+ (*RefreshServiceAclResponseProto)(nil), // 1: hadoop.common.RefreshServiceAclResponseProto
+}
+var file_RefreshAuthorizationPolicyProtocol_proto_depIdxs = []int32{
+ 0, // 0: hadoop.common.RefreshAuthorizationPolicyProtocolService.refreshServiceAcl:input_type -> hadoop.common.RefreshServiceAclRequestProto
+ 1, // 1: hadoop.common.RefreshAuthorizationPolicyProtocolService.refreshServiceAcl:output_type -> hadoop.common.RefreshServiceAclResponseProto
+ 1, // [1:2] is the sub-list for method output_type
+ 0, // [0:1] is the sub-list for method input_type
+ 0, // [0:0] is the sub-list for extension type_name
+ 0, // [0:0] is the sub-list for extension extendee
+ 0, // [0:0] is the sub-list for field type_name
+}
+
+func init() { file_RefreshAuthorizationPolicyProtocol_proto_init() }
+func file_RefreshAuthorizationPolicyProtocol_proto_init() {
+ if File_RefreshAuthorizationPolicyProtocol_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_RefreshAuthorizationPolicyProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshServiceAclRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_RefreshAuthorizationPolicyProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshServiceAclResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_RefreshAuthorizationPolicyProtocol_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 2,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_RefreshAuthorizationPolicyProtocol_proto_goTypes,
+ DependencyIndexes: file_RefreshAuthorizationPolicyProtocol_proto_depIdxs,
+ MessageInfos: file_RefreshAuthorizationPolicyProtocol_proto_msgTypes,
+ }.Build()
+ File_RefreshAuthorizationPolicyProtocol_proto = out.File
+ file_RefreshAuthorizationPolicyProtocol_proto_rawDesc = nil
+ file_RefreshAuthorizationPolicyProtocol_proto_goTypes = nil
+ file_RefreshAuthorizationPolicyProtocol_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/RefreshAuthorizationPolicyProtocol.proto b/internal/protocol/hadoop_common/RefreshAuthorizationPolicyProtocol.proto
index 5ef1c2d..7361db5 100644
--- a/internal/protocol/hadoop_common/RefreshAuthorizationPolicyProtocol.proto
+++ b/internal/protocol/hadoop_common/RefreshAuthorizationPolicyProtocol.proto
@@ -21,11 +21,12 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.security.proto";
option java_outer_classname = "RefreshAuthorizationPolicyProtocolProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
/**
diff --git a/internal/protocol/hadoop_common/RefreshCallQueueProtocol.pb.go b/internal/protocol/hadoop_common/RefreshCallQueueProtocol.pb.go
index 4ddd7d8..0f15d9f 100644
--- a/internal/protocol/hadoop_common/RefreshCallQueueProtocol.pb.go
+++ b/internal/protocol/hadoop_common/RefreshCallQueueProtocol.pb.go
@@ -1,57 +1,231 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: RefreshCallQueueProtocol.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// Refresh callqueue request.
type RefreshCallQueueRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RefreshCallQueueRequestProto) Reset() {
+ *x = RefreshCallQueueRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RefreshCallQueueProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RefreshCallQueueRequestProto) Reset() { *m = RefreshCallQueueRequestProto{} }
-func (m *RefreshCallQueueRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RefreshCallQueueRequestProto) ProtoMessage() {}
-func (*RefreshCallQueueRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
+func (x *RefreshCallQueueRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RefreshCallQueueRequestProto) ProtoMessage() {}
+
+func (x *RefreshCallQueueRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RefreshCallQueueProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-// *
+// Deprecated: Use RefreshCallQueueRequestProto.ProtoReflect.Descriptor instead.
+func (*RefreshCallQueueRequestProto) Descriptor() ([]byte, []int) {
+ return file_RefreshCallQueueProtocol_proto_rawDescGZIP(), []int{0}
+}
+
+//*
// void response.
type RefreshCallQueueResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *RefreshCallQueueResponseProto) Reset() { *m = RefreshCallQueueResponseProto{} }
-func (m *RefreshCallQueueResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RefreshCallQueueResponseProto) ProtoMessage() {}
-func (*RefreshCallQueueResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{1} }
-
-func init() {
- proto.RegisterType((*RefreshCallQueueRequestProto)(nil), "hadoop.common.RefreshCallQueueRequestProto")
- proto.RegisterType((*RefreshCallQueueResponseProto)(nil), "hadoop.common.RefreshCallQueueResponseProto")
-}
-
-func init() { proto.RegisterFile("RefreshCallQueueProtocol.proto", fileDescriptor6) }
-
-var fileDescriptor6 = []byte{
- // 168 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x0b, 0x4a, 0x4d, 0x2b,
- 0x4a, 0x2d, 0xce, 0x70, 0x4e, 0xcc, 0xc9, 0x09, 0x2c, 0x4d, 0x2d, 0x4d, 0x0d, 0x28, 0xca, 0x2f,
- 0xc9, 0x4f, 0xce, 0xcf, 0xd1, 0x2b, 0x00, 0x31, 0x84, 0x78, 0x33, 0x12, 0x53, 0xf2, 0xf3, 0x0b,
- 0xf4, 0x92, 0xf3, 0x73, 0x73, 0xf3, 0xf3, 0x94, 0xe4, 0xb8, 0x64, 0xd0, 0x35, 0x04, 0xa5, 0x16,
- 0x96, 0xa6, 0x16, 0x97, 0x80, 0xf5, 0x29, 0xc9, 0x73, 0xc9, 0x62, 0xca, 0x17, 0x17, 0xe4, 0xe7,
- 0x15, 0x43, 0x0c, 0x36, 0x9a, 0xc0, 0xc8, 0x25, 0x8f, 0xcb, 0xca, 0xe0, 0xd4, 0xa2, 0xb2, 0xcc,
- 0xe4, 0x54, 0xa1, 0x5c, 0x2e, 0x81, 0x22, 0x34, 0x25, 0x42, 0xda, 0x7a, 0x28, 0x0e, 0xd1, 0xc3,
- 0xe7, 0x0a, 0x29, 0x1d, 0x82, 0x8a, 0x91, 0x9c, 0xe4, 0xe4, 0xcc, 0x25, 0x9d, 0x5f, 0x94, 0xae,
- 0x97, 0x58, 0x90, 0x98, 0x9c, 0x91, 0x0a, 0xd3, 0x99, 0x59, 0x90, 0x0c, 0x09, 0x01, 0x27, 0x9c,
- 0x21, 0x04, 0xa6, 0x8b, 0x3b, 0x18, 0x19, 0x17, 0x30, 0x32, 0x02, 0x02, 0x00, 0x00, 0xff, 0xff,
- 0x5d, 0x22, 0xcd, 0xe0, 0x48, 0x01, 0x00, 0x00,
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RefreshCallQueueResponseProto) Reset() {
+ *x = RefreshCallQueueResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RefreshCallQueueProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RefreshCallQueueResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RefreshCallQueueResponseProto) ProtoMessage() {}
+
+func (x *RefreshCallQueueResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RefreshCallQueueProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RefreshCallQueueResponseProto.ProtoReflect.Descriptor instead.
+func (*RefreshCallQueueResponseProto) Descriptor() ([]byte, []int) {
+ return file_RefreshCallQueueProtocol_proto_rawDescGZIP(), []int{1}
+}
+
+var File_RefreshCallQueueProtocol_proto protoreflect.FileDescriptor
+
+var file_RefreshCallQueueProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x1e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x6c, 0x6c, 0x51, 0x75, 0x65,
+ 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x0d, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22,
+ 0x1e, 0x0a, 0x1c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x6c, 0x6c, 0x51, 0x75,
+ 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22,
+ 0x1f, 0x0a, 0x1d, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x6c, 0x6c, 0x51, 0x75,
+ 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x32, 0x90, 0x01, 0x0a, 0x1f, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x6c, 0x6c,
+ 0x51, 0x75, 0x65, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x65, 0x72,
+ 0x76, 0x69, 0x63, 0x65, 0x12, 0x6d, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43,
+ 0x61, 0x6c, 0x6c, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68,
+ 0x43, 0x61, 0x6c, 0x6c, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63,
+ 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x6c,
+ 0x6c, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x42, 0x81, 0x01, 0x0a, 0x1b, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63,
+ 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x69, 0x70, 0x63, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x42, 0x1e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x43, 0x61, 0x6c, 0x6c,
+ 0x51, 0x75, 0x65, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x73, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
+ 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76,
+ 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
+ 0x6e, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_RefreshCallQueueProtocol_proto_rawDescOnce sync.Once
+ file_RefreshCallQueueProtocol_proto_rawDescData = file_RefreshCallQueueProtocol_proto_rawDesc
+)
+
+func file_RefreshCallQueueProtocol_proto_rawDescGZIP() []byte {
+ file_RefreshCallQueueProtocol_proto_rawDescOnce.Do(func() {
+ file_RefreshCallQueueProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_RefreshCallQueueProtocol_proto_rawDescData)
+ })
+ return file_RefreshCallQueueProtocol_proto_rawDescData
+}
+
+var file_RefreshCallQueueProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
+var file_RefreshCallQueueProtocol_proto_goTypes = []interface{}{
+ (*RefreshCallQueueRequestProto)(nil), // 0: hadoop.common.RefreshCallQueueRequestProto
+ (*RefreshCallQueueResponseProto)(nil), // 1: hadoop.common.RefreshCallQueueResponseProto
+}
+var file_RefreshCallQueueProtocol_proto_depIdxs = []int32{
+ 0, // 0: hadoop.common.RefreshCallQueueProtocolService.refreshCallQueue:input_type -> hadoop.common.RefreshCallQueueRequestProto
+ 1, // 1: hadoop.common.RefreshCallQueueProtocolService.refreshCallQueue:output_type -> hadoop.common.RefreshCallQueueResponseProto
+ 1, // [1:2] is the sub-list for method output_type
+ 0, // [0:1] is the sub-list for method input_type
+ 0, // [0:0] is the sub-list for extension type_name
+ 0, // [0:0] is the sub-list for extension extendee
+ 0, // [0:0] is the sub-list for field type_name
+}
+
+func init() { file_RefreshCallQueueProtocol_proto_init() }
+func file_RefreshCallQueueProtocol_proto_init() {
+ if File_RefreshCallQueueProtocol_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_RefreshCallQueueProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshCallQueueRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_RefreshCallQueueProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshCallQueueResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_RefreshCallQueueProtocol_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 2,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_RefreshCallQueueProtocol_proto_goTypes,
+ DependencyIndexes: file_RefreshCallQueueProtocol_proto_depIdxs,
+ MessageInfos: file_RefreshCallQueueProtocol_proto_msgTypes,
+ }.Build()
+ File_RefreshCallQueueProtocol_proto = out.File
+ file_RefreshCallQueueProtocol_proto_rawDesc = nil
+ file_RefreshCallQueueProtocol_proto_goTypes = nil
+ file_RefreshCallQueueProtocol_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/RefreshCallQueueProtocol.proto b/internal/protocol/hadoop_common/RefreshCallQueueProtocol.proto
index 67ed133..3fd715d 100644
--- a/internal/protocol/hadoop_common/RefreshCallQueueProtocol.proto
+++ b/internal/protocol/hadoop_common/RefreshCallQueueProtocol.proto
@@ -21,11 +21,12 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.ipc.proto";
option java_outer_classname = "RefreshCallQueueProtocolProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
/**
diff --git a/internal/protocol/hadoop_common/RefreshUserMappingsProtocol.pb.go b/internal/protocol/hadoop_common/RefreshUserMappingsProtocol.pb.go
index f254f3e..57df221 100644
--- a/internal/protocol/hadoop_common/RefreshUserMappingsProtocol.pb.go
+++ b/internal/protocol/hadoop_common/RefreshUserMappingsProtocol.pb.go
@@ -1,106 +1,360 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: RefreshUserMappingsProtocol.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// Refresh user to group mappings request.
type RefreshUserToGroupsMappingsRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *RefreshUserToGroupsMappingsRequestProto) Reset() {
- *m = RefreshUserToGroupsMappingsRequestProto{}
+func (x *RefreshUserToGroupsMappingsRequestProto) Reset() {
+ *x = RefreshUserToGroupsMappingsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RefreshUserMappingsProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RefreshUserToGroupsMappingsRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RefreshUserToGroupsMappingsRequestProto) ProtoMessage() {}
+
+func (x *RefreshUserToGroupsMappingsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RefreshUserToGroupsMappingsRequestProto) ProtoMessage() {}
+
+func (x *RefreshUserToGroupsMappingsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RefreshUserMappingsProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RefreshUserToGroupsMappingsRequestProto.ProtoReflect.Descriptor instead.
func (*RefreshUserToGroupsMappingsRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor9, []int{0}
+ return file_RefreshUserMappingsProtocol_proto_rawDescGZIP(), []int{0}
}
-// *
+//*
// void response
type RefreshUserToGroupsMappingsResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RefreshUserToGroupsMappingsResponseProto) Reset() {
+ *x = RefreshUserToGroupsMappingsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RefreshUserMappingsProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RefreshUserToGroupsMappingsResponseProto) Reset() {
- *m = RefreshUserToGroupsMappingsResponseProto{}
+func (x *RefreshUserToGroupsMappingsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RefreshUserToGroupsMappingsResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RefreshUserToGroupsMappingsResponseProto) ProtoMessage() {}
+
+func (*RefreshUserToGroupsMappingsResponseProto) ProtoMessage() {}
+
+func (x *RefreshUserToGroupsMappingsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RefreshUserMappingsProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RefreshUserToGroupsMappingsResponseProto.ProtoReflect.Descriptor instead.
func (*RefreshUserToGroupsMappingsResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor9, []int{1}
+ return file_RefreshUserMappingsProtocol_proto_rawDescGZIP(), []int{1}
}
-// *
+//*
// Refresh superuser configuration request.
type RefreshSuperUserGroupsConfigurationRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *RefreshSuperUserGroupsConfigurationRequestProto) Reset() {
- *m = RefreshSuperUserGroupsConfigurationRequestProto{}
+func (x *RefreshSuperUserGroupsConfigurationRequestProto) Reset() {
+ *x = RefreshSuperUserGroupsConfigurationRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RefreshUserMappingsProtocol_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RefreshSuperUserGroupsConfigurationRequestProto) String() string {
- return proto.CompactTextString(m)
+
+func (x *RefreshSuperUserGroupsConfigurationRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
+
func (*RefreshSuperUserGroupsConfigurationRequestProto) ProtoMessage() {}
+
+func (x *RefreshSuperUserGroupsConfigurationRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RefreshUserMappingsProtocol_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RefreshSuperUserGroupsConfigurationRequestProto.ProtoReflect.Descriptor instead.
func (*RefreshSuperUserGroupsConfigurationRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor9, []int{2}
+ return file_RefreshUserMappingsProtocol_proto_rawDescGZIP(), []int{2}
}
-// *
+//*
// void response
type RefreshSuperUserGroupsConfigurationResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *RefreshSuperUserGroupsConfigurationResponseProto) Reset() {
- *m = RefreshSuperUserGroupsConfigurationResponseProto{}
+func (x *RefreshSuperUserGroupsConfigurationResponseProto) Reset() {
+ *x = RefreshSuperUserGroupsConfigurationResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RefreshUserMappingsProtocol_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RefreshSuperUserGroupsConfigurationResponseProto) String() string {
- return proto.CompactTextString(m)
+
+func (x *RefreshSuperUserGroupsConfigurationResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
+
func (*RefreshSuperUserGroupsConfigurationResponseProto) ProtoMessage() {}
+
+func (x *RefreshSuperUserGroupsConfigurationResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RefreshUserMappingsProtocol_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RefreshSuperUserGroupsConfigurationResponseProto.ProtoReflect.Descriptor instead.
func (*RefreshSuperUserGroupsConfigurationResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor9, []int{3}
-}
-
-func init() {
- proto.RegisterType((*RefreshUserToGroupsMappingsRequestProto)(nil), "hadoop.common.RefreshUserToGroupsMappingsRequestProto")
- proto.RegisterType((*RefreshUserToGroupsMappingsResponseProto)(nil), "hadoop.common.RefreshUserToGroupsMappingsResponseProto")
- proto.RegisterType((*RefreshSuperUserGroupsConfigurationRequestProto)(nil), "hadoop.common.RefreshSuperUserGroupsConfigurationRequestProto")
- proto.RegisterType((*RefreshSuperUserGroupsConfigurationResponseProto)(nil), "hadoop.common.RefreshSuperUserGroupsConfigurationResponseProto")
-}
-
-func init() { proto.RegisterFile("RefreshUserMappingsProtocol.proto", fileDescriptor9) }
-
-var fileDescriptor9 = []byte{
- // 249 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x0c, 0x4a, 0x4d, 0x2b,
- 0x4a, 0x2d, 0xce, 0x08, 0x2d, 0x4e, 0x2d, 0xf2, 0x4d, 0x2c, 0x28, 0xc8, 0xcc, 0x4b, 0x2f, 0x0e,
- 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0xce, 0xcf, 0xd1, 0x2b, 0x00, 0x31, 0x84, 0x78, 0x33, 0x12, 0x53,
- 0xf2, 0xf3, 0x0b, 0xf4, 0x92, 0xf3, 0x73, 0x73, 0xf3, 0xf3, 0x94, 0x34, 0xb9, 0xd4, 0x91, 0xf4,
- 0x84, 0xe4, 0xbb, 0x17, 0xe5, 0x97, 0x16, 0x14, 0xc3, 0xf4, 0x06, 0xa5, 0x16, 0x96, 0xa6, 0x16,
- 0x97, 0x80, 0x8d, 0x50, 0xd2, 0xe2, 0xd2, 0xc0, 0xab, 0xb4, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0x15,
- 0xa2, 0xd6, 0x90, 0x4b, 0x1f, 0xaa, 0x36, 0xb8, 0xb4, 0x20, 0xb5, 0x08, 0xa4, 0x01, 0xa2, 0xdc,
- 0x39, 0x3f, 0x2f, 0x2d, 0x33, 0xbd, 0xb4, 0x28, 0xb1, 0x24, 0x33, 0x3f, 0x0f, 0xc5, 0x78, 0x23,
- 0x2e, 0x03, 0xa2, 0xb4, 0x20, 0x59, 0x63, 0x74, 0x8f, 0x89, 0x4b, 0x09, 0x8f, 0x97, 0x83, 0x53,
- 0x8b, 0xca, 0x32, 0x93, 0x53, 0x85, 0xfa, 0x18, 0xb9, 0xa4, 0x8b, 0x70, 0x3b, 0x5d, 0xc8, 0x4c,
- 0x0f, 0x25, 0x50, 0xf4, 0x88, 0x0c, 0x11, 0x29, 0x73, 0x52, 0xf4, 0x21, 0xb9, 0x5b, 0x68, 0x19,
- 0x23, 0x97, 0x72, 0x11, 0x61, 0xcf, 0x0a, 0xd9, 0x61, 0xb7, 0x80, 0xd8, 0x30, 0x95, 0xb2, 0x27,
- 0x47, 0x3f, 0x92, 0x43, 0x9d, 0xbc, 0xb9, 0x14, 0xf2, 0x8b, 0xd2, 0xf5, 0x12, 0x0b, 0x12, 0x93,
- 0x33, 0x52, 0x61, 0x86, 0x15, 0xa7, 0x26, 0x97, 0x16, 0x65, 0x96, 0x54, 0x42, 0x52, 0x94, 0x13,
- 0xbe, 0x44, 0x07, 0xa6, 0x8b, 0x3b, 0x18, 0x19, 0x17, 0x30, 0x32, 0x02, 0x02, 0x00, 0x00, 0xff,
- 0xff, 0xfc, 0xf2, 0x05, 0xcb, 0x9e, 0x02, 0x00, 0x00,
+ return file_RefreshUserMappingsProtocol_proto_rawDescGZIP(), []int{3}
+}
+
+var File_RefreshUserMappingsProtocol_proto protoreflect.FileDescriptor
+
+var file_RefreshUserMappingsProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x21, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x70,
+ 0x70, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
+ 0x6f, 0x6e, 0x22, 0x29, 0x0a, 0x27, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55, 0x73, 0x65,
+ 0x72, 0x54, 0x6f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2a, 0x0a,
+ 0x28, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x47, 0x72,
+ 0x6f, 0x75, 0x70, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, 0x0a, 0x2f, 0x52, 0x65, 0x66,
+ 0x72, 0x65, 0x73, 0x68, 0x53, 0x75, 0x70, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x30,
+ 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x75, 0x70, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x32, 0xde, 0x02, 0x0a, 0x22, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72,
+ 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
+ 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8e, 0x01, 0x0a, 0x1b, 0x72, 0x65, 0x66, 0x72,
+ 0x65, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x4d,
+ 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x36, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55,
+ 0x73, 0x65, 0x72, 0x54, 0x6f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x69,
+ 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
+ 0x37, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
+ 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x73, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0xa6, 0x01, 0x0a, 0x23, 0x72, 0x65, 0x66,
+ 0x72, 0x65, 0x73, 0x68, 0x53, 0x75, 0x70, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x12, 0x3e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+ 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x75, 0x70, 0x65, 0x72, 0x55, 0x73, 0x65,
+ 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x1a, 0x3f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+ 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x75, 0x70, 0x65, 0x72, 0x55, 0x73, 0x65,
+ 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x42, 0x89, 0x01, 0x0a, 0x20, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x21, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55,
+ 0x73, 0x65, 0x72, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75,
+ 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f,
+ 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
+ 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_RefreshUserMappingsProtocol_proto_rawDescOnce sync.Once
+ file_RefreshUserMappingsProtocol_proto_rawDescData = file_RefreshUserMappingsProtocol_proto_rawDesc
+)
+
+func file_RefreshUserMappingsProtocol_proto_rawDescGZIP() []byte {
+ file_RefreshUserMappingsProtocol_proto_rawDescOnce.Do(func() {
+ file_RefreshUserMappingsProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_RefreshUserMappingsProtocol_proto_rawDescData)
+ })
+ return file_RefreshUserMappingsProtocol_proto_rawDescData
+}
+
+var file_RefreshUserMappingsProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
+var file_RefreshUserMappingsProtocol_proto_goTypes = []interface{}{
+ (*RefreshUserToGroupsMappingsRequestProto)(nil), // 0: hadoop.common.RefreshUserToGroupsMappingsRequestProto
+ (*RefreshUserToGroupsMappingsResponseProto)(nil), // 1: hadoop.common.RefreshUserToGroupsMappingsResponseProto
+ (*RefreshSuperUserGroupsConfigurationRequestProto)(nil), // 2: hadoop.common.RefreshSuperUserGroupsConfigurationRequestProto
+ (*RefreshSuperUserGroupsConfigurationResponseProto)(nil), // 3: hadoop.common.RefreshSuperUserGroupsConfigurationResponseProto
+}
+var file_RefreshUserMappingsProtocol_proto_depIdxs = []int32{
+ 0, // 0: hadoop.common.RefreshUserMappingsProtocolService.refreshUserToGroupsMappings:input_type -> hadoop.common.RefreshUserToGroupsMappingsRequestProto
+ 2, // 1: hadoop.common.RefreshUserMappingsProtocolService.refreshSuperUserGroupsConfiguration:input_type -> hadoop.common.RefreshSuperUserGroupsConfigurationRequestProto
+ 1, // 2: hadoop.common.RefreshUserMappingsProtocolService.refreshUserToGroupsMappings:output_type -> hadoop.common.RefreshUserToGroupsMappingsResponseProto
+ 3, // 3: hadoop.common.RefreshUserMappingsProtocolService.refreshSuperUserGroupsConfiguration:output_type -> hadoop.common.RefreshSuperUserGroupsConfigurationResponseProto
+ 2, // [2:4] is the sub-list for method output_type
+ 0, // [0:2] is the sub-list for method input_type
+ 0, // [0:0] is the sub-list for extension type_name
+ 0, // [0:0] is the sub-list for extension extendee
+ 0, // [0:0] is the sub-list for field type_name
+}
+
+func init() { file_RefreshUserMappingsProtocol_proto_init() }
+func file_RefreshUserMappingsProtocol_proto_init() {
+ if File_RefreshUserMappingsProtocol_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_RefreshUserMappingsProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshUserToGroupsMappingsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_RefreshUserMappingsProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshUserToGroupsMappingsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_RefreshUserMappingsProtocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshSuperUserGroupsConfigurationRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_RefreshUserMappingsProtocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshSuperUserGroupsConfigurationResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_RefreshUserMappingsProtocol_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 4,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_RefreshUserMappingsProtocol_proto_goTypes,
+ DependencyIndexes: file_RefreshUserMappingsProtocol_proto_depIdxs,
+ MessageInfos: file_RefreshUserMappingsProtocol_proto_msgTypes,
+ }.Build()
+ File_RefreshUserMappingsProtocol_proto = out.File
+ file_RefreshUserMappingsProtocol_proto_rawDesc = nil
+ file_RefreshUserMappingsProtocol_proto_goTypes = nil
+ file_RefreshUserMappingsProtocol_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/RefreshUserMappingsProtocol.proto b/internal/protocol/hadoop_common/RefreshUserMappingsProtocol.proto
index 41031ed..4ce34ab 100644
--- a/internal/protocol/hadoop_common/RefreshUserMappingsProtocol.proto
+++ b/internal/protocol/hadoop_common/RefreshUserMappingsProtocol.proto
@@ -21,11 +21,12 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.security.proto";
option java_outer_classname = "RefreshUserMappingsProtocolProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
/**
diff --git a/internal/protocol/hadoop_common/RpcHeader.pb.go b/internal/protocol/hadoop_common/RpcHeader.pb.go
index 2b2d472..20f7f54 100644
--- a/internal/protocol/hadoop_common/RpcHeader.pb.go
+++ b/internal/protocol/hadoop_common/RpcHeader.pb.go
@@ -1,200 +1,312 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: RpcHeader.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// 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
+ RpcKindProto_RPC_BUILTIN RpcKindProto = 0 // Used for built in calls by tests
+ RpcKindProto_RPC_WRITABLE RpcKindProto = 1 // Use WritableRpcEngine
+ RpcKindProto_RPC_PROTOCOL_BUFFER RpcKindProto = 2 // Use ProtobufRpcEngine
)
-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,
-}
+// Enum value maps for RpcKindProto.
+var (
+ RpcKindProto_name = map[int32]string{
+ 0: "RPC_BUILTIN",
+ 1: "RPC_WRITABLE",
+ 2: "RPC_PROTOCOL_BUFFER",
+ }
+ 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))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (RpcKindProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_RpcHeader_proto_enumTypes[0].Descriptor()
}
-func (x *RpcKindProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(RpcKindProto_value, data, "RpcKindProto")
+
+func (RpcKindProto) Type() protoreflect.EnumType {
+ return &file_RpcHeader_proto_enumTypes[0]
+}
+
+func (x RpcKindProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *RpcKindProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = RpcKindProto(value)
+ *x = RpcKindProto(num)
return nil
}
-func (RpcKindProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
+
+// Deprecated: Use RpcKindProto.Descriptor instead.
+func (RpcKindProto) EnumDescriptor() ([]byte, []int) {
+ return file_RpcHeader_proto_rawDescGZIP(), []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
+ RpcRequestHeaderProto_RPC_FINAL_PACKET RpcRequestHeaderProto_OperationProto = 0 // The final RPC Packet
+ RpcRequestHeaderProto_RPC_CONTINUATION_PACKET RpcRequestHeaderProto_OperationProto = 1 // not implemented yet
+ RpcRequestHeaderProto_RPC_CLOSE_CONNECTION RpcRequestHeaderProto_OperationProto = 2 // close the rpc connection
)
-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,
-}
+// Enum value maps for RpcRequestHeaderProto_OperationProto.
+var (
+ RpcRequestHeaderProto_OperationProto_name = map[int32]string{
+ 0: "RPC_FINAL_PACKET",
+ 1: "RPC_CONTINUATION_PACKET",
+ 2: "RPC_CLOSE_CONNECTION",
+ }
+ 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))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (RpcRequestHeaderProto_OperationProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_RpcHeader_proto_enumTypes[1].Descriptor()
}
-func (x *RpcRequestHeaderProto_OperationProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(RpcRequestHeaderProto_OperationProto_value, data, "RpcRequestHeaderProto_OperationProto")
+
+func (RpcRequestHeaderProto_OperationProto) Type() protoreflect.EnumType {
+ return &file_RpcHeader_proto_enumTypes[1]
+}
+
+func (x RpcRequestHeaderProto_OperationProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *RpcRequestHeaderProto_OperationProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = RpcRequestHeaderProto_OperationProto(value)
+ *x = RpcRequestHeaderProto_OperationProto(num)
return nil
}
+
+// Deprecated: Use RpcRequestHeaderProto_OperationProto.Descriptor instead.
func (RpcRequestHeaderProto_OperationProto) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor4, []int{2, 0}
+ return file_RpcHeader_proto_rawDescGZIP(), []int{2, 0}
}
type RpcResponseHeaderProto_RpcStatusProto int32
const (
- RpcResponseHeaderProto_SUCCESS RpcResponseHeaderProto_RpcStatusProto = 0
- RpcResponseHeaderProto_ERROR RpcResponseHeaderProto_RpcStatusProto = 1
- RpcResponseHeaderProto_FATAL RpcResponseHeaderProto_RpcStatusProto = 2
+ RpcResponseHeaderProto_SUCCESS RpcResponseHeaderProto_RpcStatusProto = 0 // RPC succeeded
+ RpcResponseHeaderProto_ERROR RpcResponseHeaderProto_RpcStatusProto = 1 // RPC or error - connection left open for future calls
+ RpcResponseHeaderProto_FATAL RpcResponseHeaderProto_RpcStatusProto = 2 // Fatal error - connection closed
)
-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,
-}
+// Enum value maps for RpcResponseHeaderProto_RpcStatusProto.
+var (
+ RpcResponseHeaderProto_RpcStatusProto_name = map[int32]string{
+ 0: "SUCCESS",
+ 1: "ERROR",
+ 2: "FATAL",
+ }
+ 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))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (RpcResponseHeaderProto_RpcStatusProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_RpcHeader_proto_enumTypes[2].Descriptor()
}
-func (x *RpcResponseHeaderProto_RpcStatusProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(RpcResponseHeaderProto_RpcStatusProto_value, data, "RpcResponseHeaderProto_RpcStatusProto")
+
+func (RpcResponseHeaderProto_RpcStatusProto) Type() protoreflect.EnumType {
+ return &file_RpcHeader_proto_enumTypes[2]
+}
+
+func (x RpcResponseHeaderProto_RpcStatusProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *RpcResponseHeaderProto_RpcStatusProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = RpcResponseHeaderProto_RpcStatusProto(value)
+ *x = RpcResponseHeaderProto_RpcStatusProto(num)
return nil
}
+
+// Deprecated: Use RpcResponseHeaderProto_RpcStatusProto.Descriptor instead.
func (RpcResponseHeaderProto_RpcStatusProto) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor4, []int{3, 0}
+ return file_RpcHeader_proto_rawDescGZIP(), []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
+ RpcResponseHeaderProto_ERROR_APPLICATION RpcResponseHeaderProto_RpcErrorCodeProto = 1 // RPC Failed - rpc app threw exception
+ RpcResponseHeaderProto_ERROR_NO_SUCH_METHOD RpcResponseHeaderProto_RpcErrorCodeProto = 2 // Rpc error - no such method
+ RpcResponseHeaderProto_ERROR_NO_SUCH_PROTOCOL RpcResponseHeaderProto_RpcErrorCodeProto = 3 // Rpc error - no such protocol
+ RpcResponseHeaderProto_ERROR_RPC_SERVER RpcResponseHeaderProto_RpcErrorCodeProto = 4 // Rpc error on server side
+ RpcResponseHeaderProto_ERROR_SERIALIZING_RESPONSE RpcResponseHeaderProto_RpcErrorCodeProto = 5 // error serializign response
+ RpcResponseHeaderProto_ERROR_RPC_VERSION_MISMATCH RpcResponseHeaderProto_RpcErrorCodeProto = 6 // Rpc protocol version mismatch
// 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
+ RpcResponseHeaderProto_FATAL_UNKNOWN RpcResponseHeaderProto_RpcErrorCodeProto = 10 // unknown Fatal error
+ RpcResponseHeaderProto_FATAL_UNSUPPORTED_SERIALIZATION RpcResponseHeaderProto_RpcErrorCodeProto = 11 // IPC layer serilization type invalid
+ RpcResponseHeaderProto_FATAL_INVALID_RPC_HEADER RpcResponseHeaderProto_RpcErrorCodeProto = 12 // fields of RpcHeader are invalid
+ RpcResponseHeaderProto_FATAL_DESERIALIZING_REQUEST RpcResponseHeaderProto_RpcErrorCodeProto = 13 // could not deserilize rpc request
+ RpcResponseHeaderProto_FATAL_VERSION_MISMATCH RpcResponseHeaderProto_RpcErrorCodeProto = 14 // Ipc Layer version mismatch
+ RpcResponseHeaderProto_FATAL_UNAUTHORIZED RpcResponseHeaderProto_RpcErrorCodeProto = 15 // Auth failed
)
-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,
-}
+// Enum value maps for RpcResponseHeaderProto_RpcErrorCodeProto.
+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",
+ }
+ 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))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (RpcResponseHeaderProto_RpcErrorCodeProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_RpcHeader_proto_enumTypes[3].Descriptor()
+}
+
+func (RpcResponseHeaderProto_RpcErrorCodeProto) Type() protoreflect.EnumType {
+ return &file_RpcHeader_proto_enumTypes[3]
+}
+
+func (x RpcResponseHeaderProto_RpcErrorCodeProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
-func (x *RpcResponseHeaderProto_RpcErrorCodeProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(RpcResponseHeaderProto_RpcErrorCodeProto_value, data, "RpcResponseHeaderProto_RpcErrorCodeProto")
+
+// Deprecated: Do not use.
+func (x *RpcResponseHeaderProto_RpcErrorCodeProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = RpcResponseHeaderProto_RpcErrorCodeProto(value)
+ *x = RpcResponseHeaderProto_RpcErrorCodeProto(num)
return nil
}
+
+// Deprecated: Use RpcResponseHeaderProto_RpcErrorCodeProto.Descriptor instead.
func (RpcResponseHeaderProto_RpcErrorCodeProto) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor4, []int{3, 1}
+ return file_RpcHeader_proto_rawDescGZIP(), []int{3, 1}
}
type RpcSaslProto_SaslState int32
@@ -208,169 +320,292 @@ const (
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,
-}
+// Enum value maps for RpcSaslProto_SaslState.
+var (
+ RpcSaslProto_SaslState_name = map[int32]string{
+ 0: "SUCCESS",
+ 1: "NEGOTIATE",
+ 2: "INITIATE",
+ 3: "CHALLENGE",
+ 4: "RESPONSE",
+ 5: "WRAP",
+ }
+ 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))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (RpcSaslProto_SaslState) Descriptor() protoreflect.EnumDescriptor {
+ return file_RpcHeader_proto_enumTypes[4].Descriptor()
+}
+
+func (RpcSaslProto_SaslState) Type() protoreflect.EnumType {
+ return &file_RpcHeader_proto_enumTypes[4]
}
-func (x *RpcSaslProto_SaslState) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(RpcSaslProto_SaslState_value, data, "RpcSaslProto_SaslState")
+
+func (x RpcSaslProto_SaslState) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *RpcSaslProto_SaslState) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = RpcSaslProto_SaslState(value)
+ *x = RpcSaslProto_SaslState(num)
return nil
}
-func (RpcSaslProto_SaslState) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{4, 0} }
-// *
+// Deprecated: Use RpcSaslProto_SaslState.Descriptor instead.
+func (RpcSaslProto_SaslState) EnumDescriptor() ([]byte, []int) {
+ return file_RpcHeader_proto_rawDescGZIP(), []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:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ TraceId *int64 `protobuf:"varint,1,opt,name=traceId" json:"traceId,omitempty"` // parentIdHigh
+ ParentId *int64 `protobuf:"varint,2,opt,name=parentId" json:"parentId,omitempty"` // parentIdLow
+}
+
+func (x *RPCTraceInfoProto) Reset() {
+ *x = RPCTraceInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RpcHeader_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RPCTraceInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RPCTraceInfoProto) ProtoMessage() {}
+
+func (x *RPCTraceInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RpcHeader_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-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} }
+// Deprecated: Use RPCTraceInfoProto.ProtoReflect.Descriptor instead.
+func (*RPCTraceInfoProto) Descriptor() ([]byte, []int) {
+ return file_RpcHeader_proto_rawDescGZIP(), []int{0}
+}
-func (m *RPCTraceInfoProto) GetTraceId() int64 {
- if m != nil && m.TraceId != nil {
- return *m.TraceId
+func (x *RPCTraceInfoProto) GetTraceId() int64 {
+ if x != nil && x.TraceId != nil {
+ return *x.TraceId
}
return 0
}
-func (m *RPCTraceInfoProto) GetParentId() int64 {
- if m != nil && m.ParentId != nil {
- return *m.ParentId
+func (x *RPCTraceInfoProto) GetParentId() int64 {
+ if x != nil && x.ParentId != nil {
+ return *x.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:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Context *string `protobuf:"bytes,1,req,name=context" json:"context,omitempty"`
+ Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
+}
+
+func (x *RPCCallerContextProto) Reset() {
+ *x = RPCCallerContextProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RpcHeader_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RPCCallerContextProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-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 (*RPCCallerContextProto) ProtoMessage() {}
-func (m *RPCCallerContextProto) GetContext() string {
- if m != nil && m.Context != nil {
- return *m.Context
+func (x *RPCCallerContextProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RpcHeader_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RPCCallerContextProto.ProtoReflect.Descriptor instead.
+func (*RPCCallerContextProto) Descriptor() ([]byte, []int) {
+ return file_RpcHeader_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *RPCCallerContextProto) GetContext() string {
+ if x != nil && x.Context != nil {
+ return *x.Context
}
return ""
}
-func (m *RPCCallerContextProto) GetSignature() []byte {
- if m != nil {
- return m.Signature
+func (x *RPCCallerContextProto) GetSignature() []byte {
+ if x != nil {
+ return x.Signature
}
return nil
}
type RpcRequestHeaderProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
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"`
+ CallId *int32 `protobuf:"zigzag32,3,req,name=callId" json:"callId,omitempty"` // a sequence number that is sent back in response
+ ClientId []byte `protobuf:"bytes,4,req,name=clientId" json:"clientId,omitempty"` // Globally unique client ID
// 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:"-"`
+ RetryCount *int32 `protobuf:"zigzag32,5,opt,name=retryCount,def=-1" json:"retryCount,omitempty"`
+ TraceInfo *RPCTraceInfoProto `protobuf:"bytes,6,opt,name=traceInfo" json:"traceInfo,omitempty"` // tracing info
+ CallerContext *RPCCallerContextProto `protobuf:"bytes,7,opt,name=callerContext" json:"callerContext,omitempty"` // call context
+ StateId *int64 `protobuf:"varint,8,opt,name=stateId" json:"stateId,omitempty"` // The last seen Global State ID
}
-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} }
+// Default values for RpcRequestHeaderProto fields.
+const (
+ Default_RpcRequestHeaderProto_RetryCount = int32(-1)
+)
+
+func (x *RpcRequestHeaderProto) Reset() {
+ *x = RpcRequestHeaderProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RpcHeader_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-const Default_RpcRequestHeaderProto_RetryCount int32 = -1
+func (x *RpcRequestHeaderProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *RpcRequestHeaderProto) GetRpcKind() RpcKindProto {
- if m != nil && m.RpcKind != nil {
- return *m.RpcKind
+func (*RpcRequestHeaderProto) ProtoMessage() {}
+
+func (x *RpcRequestHeaderProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RpcHeader_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RpcRequestHeaderProto.ProtoReflect.Descriptor instead.
+func (*RpcRequestHeaderProto) Descriptor() ([]byte, []int) {
+ return file_RpcHeader_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *RpcRequestHeaderProto) GetRpcKind() RpcKindProto {
+ if x != nil && x.RpcKind != nil {
+ return *x.RpcKind
}
return RpcKindProto_RPC_BUILTIN
}
-func (m *RpcRequestHeaderProto) GetRpcOp() RpcRequestHeaderProto_OperationProto {
- if m != nil && m.RpcOp != nil {
- return *m.RpcOp
+func (x *RpcRequestHeaderProto) GetRpcOp() RpcRequestHeaderProto_OperationProto {
+ if x != nil && x.RpcOp != nil {
+ return *x.RpcOp
}
return RpcRequestHeaderProto_RPC_FINAL_PACKET
}
-func (m *RpcRequestHeaderProto) GetCallId() int32 {
- if m != nil && m.CallId != nil {
- return *m.CallId
+func (x *RpcRequestHeaderProto) GetCallId() int32 {
+ if x != nil && x.CallId != nil {
+ return *x.CallId
}
return 0
}
-func (m *RpcRequestHeaderProto) GetClientId() []byte {
- if m != nil {
- return m.ClientId
+func (x *RpcRequestHeaderProto) GetClientId() []byte {
+ if x != nil {
+ return x.ClientId
}
return nil
}
-func (m *RpcRequestHeaderProto) GetRetryCount() int32 {
- if m != nil && m.RetryCount != nil {
- return *m.RetryCount
+func (x *RpcRequestHeaderProto) GetRetryCount() int32 {
+ if x != nil && x.RetryCount != nil {
+ return *x.RetryCount
}
return Default_RpcRequestHeaderProto_RetryCount
}
-func (m *RpcRequestHeaderProto) GetTraceInfo() *RPCTraceInfoProto {
- if m != nil {
- return m.TraceInfo
+func (x *RpcRequestHeaderProto) GetTraceInfo() *RPCTraceInfoProto {
+ if x != nil {
+ return x.TraceInfo
}
return nil
}
-func (m *RpcRequestHeaderProto) GetCallerContext() *RPCCallerContextProto {
- if m != nil {
- return m.CallerContext
+func (x *RpcRequestHeaderProto) GetCallerContext() *RPCCallerContextProto {
+ if x != nil {
+ return x.CallerContext
}
return nil
}
-// *
+func (x *RpcRequestHeaderProto) GetStateId() int64 {
+ if x != nil && x.StateId != nil {
+ return *x.StateId
+ }
+ return 0
+}
+
+//*
// Rpc Response Header
// +------------------------------------------------------------------+
// | Rpc total response length in bytes (4 bytes int) |
@@ -389,251 +624,551 @@ func (m *RpcRequestHeaderProto) GetCallerContext() *RPCCallerContextProto {
// 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"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ CallId *uint32 `protobuf:"varint,1,req,name=callId" json:"callId,omitempty"` // callId used in Request
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"`
+ ServerIpcVersionNum *uint32 `protobuf:"varint,3,opt,name=serverIpcVersionNum" json:"serverIpcVersionNum,omitempty"` // Sent if success or fail
+ ExceptionClassName *string `protobuf:"bytes,4,opt,name=exceptionClassName" json:"exceptionClassName,omitempty"` // if request fails
+ ErrorMsg *string `protobuf:"bytes,5,opt,name=errorMsg" json:"errorMsg,omitempty"` // if request fails, often contains strack trace
+ ErrorDetail *RpcResponseHeaderProto_RpcErrorCodeProto `protobuf:"varint,6,opt,name=errorDetail,enum=hadoop.common.RpcResponseHeaderProto_RpcErrorCodeProto" json:"errorDetail,omitempty"` // in case of error
+ ClientId []byte `protobuf:"bytes,7,opt,name=clientId" json:"clientId,omitempty"` // Globally unique client ID
RetryCount *int32 `protobuf:"zigzag32,8,opt,name=retryCount,def=-1" json:"retryCount,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ StateId *int64 `protobuf:"varint,9,opt,name=stateId" json:"stateId,omitempty"` // The last written Global State ID
+}
+
+// Default values for RpcResponseHeaderProto fields.
+const (
+ Default_RpcResponseHeaderProto_RetryCount = int32(-1)
+)
+
+func (x *RpcResponseHeaderProto) Reset() {
+ *x = RpcResponseHeaderProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RpcHeader_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-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} }
+func (x *RpcResponseHeaderProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-const Default_RpcResponseHeaderProto_RetryCount int32 = -1
+func (*RpcResponseHeaderProto) ProtoMessage() {}
-func (m *RpcResponseHeaderProto) GetCallId() uint32 {
- if m != nil && m.CallId != nil {
- return *m.CallId
+func (x *RpcResponseHeaderProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RpcHeader_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RpcResponseHeaderProto.ProtoReflect.Descriptor instead.
+func (*RpcResponseHeaderProto) Descriptor() ([]byte, []int) {
+ return file_RpcHeader_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *RpcResponseHeaderProto) GetCallId() uint32 {
+ if x != nil && x.CallId != nil {
+ return *x.CallId
}
return 0
}
-func (m *RpcResponseHeaderProto) GetStatus() RpcResponseHeaderProto_RpcStatusProto {
- if m != nil && m.Status != nil {
- return *m.Status
+func (x *RpcResponseHeaderProto) GetStatus() RpcResponseHeaderProto_RpcStatusProto {
+ if x != nil && x.Status != nil {
+ return *x.Status
}
return RpcResponseHeaderProto_SUCCESS
}
-func (m *RpcResponseHeaderProto) GetServerIpcVersionNum() uint32 {
- if m != nil && m.ServerIpcVersionNum != nil {
- return *m.ServerIpcVersionNum
+func (x *RpcResponseHeaderProto) GetServerIpcVersionNum() uint32 {
+ if x != nil && x.ServerIpcVersionNum != nil {
+ return *x.ServerIpcVersionNum
}
return 0
}
-func (m *RpcResponseHeaderProto) GetExceptionClassName() string {
- if m != nil && m.ExceptionClassName != nil {
- return *m.ExceptionClassName
+func (x *RpcResponseHeaderProto) GetExceptionClassName() string {
+ if x != nil && x.ExceptionClassName != nil {
+ return *x.ExceptionClassName
}
return ""
}
-func (m *RpcResponseHeaderProto) GetErrorMsg() string {
- if m != nil && m.ErrorMsg != nil {
- return *m.ErrorMsg
+func (x *RpcResponseHeaderProto) GetErrorMsg() string {
+ if x != nil && x.ErrorMsg != nil {
+ return *x.ErrorMsg
}
return ""
}
-func (m *RpcResponseHeaderProto) GetErrorDetail() RpcResponseHeaderProto_RpcErrorCodeProto {
- if m != nil && m.ErrorDetail != nil {
- return *m.ErrorDetail
+func (x *RpcResponseHeaderProto) GetErrorDetail() RpcResponseHeaderProto_RpcErrorCodeProto {
+ if x != nil && x.ErrorDetail != nil {
+ return *x.ErrorDetail
}
return RpcResponseHeaderProto_ERROR_APPLICATION
}
-func (m *RpcResponseHeaderProto) GetClientId() []byte {
- if m != nil {
- return m.ClientId
+func (x *RpcResponseHeaderProto) GetClientId() []byte {
+ if x != nil {
+ return x.ClientId
}
return nil
}
-func (m *RpcResponseHeaderProto) GetRetryCount() int32 {
- if m != nil && m.RetryCount != nil {
- return *m.RetryCount
+func (x *RpcResponseHeaderProto) GetRetryCount() int32 {
+ if x != nil && x.RetryCount != nil {
+ return *x.RetryCount
}
return Default_RpcResponseHeaderProto_RetryCount
}
+func (x *RpcResponseHeaderProto) GetStateId() int64 {
+ if x != nil && x.StateId != nil {
+ return *x.StateId
+ }
+ return 0
+}
+
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:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ 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"`
+}
+
+func (x *RpcSaslProto) Reset() {
+ *x = RpcSaslProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RpcHeader_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-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 (x *RpcSaslProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RpcSaslProto) ProtoMessage() {}
+
+func (x *RpcSaslProto) ProtoReflect() protoreflect.Message {
+ mi := &file_RpcHeader_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-func (m *RpcSaslProto) GetVersion() uint32 {
- if m != nil && m.Version != nil {
- return *m.Version
+// Deprecated: Use RpcSaslProto.ProtoReflect.Descriptor instead.
+func (*RpcSaslProto) Descriptor() ([]byte, []int) {
+ return file_RpcHeader_proto_rawDescGZIP(), []int{4}
+}
+
+func (x *RpcSaslProto) GetVersion() uint32 {
+ if x != nil && x.Version != nil {
+ return *x.Version
}
return 0
}
-func (m *RpcSaslProto) GetState() RpcSaslProto_SaslState {
- if m != nil && m.State != nil {
- return *m.State
+func (x *RpcSaslProto) GetState() RpcSaslProto_SaslState {
+ if x != nil && x.State != nil {
+ return *x.State
}
return RpcSaslProto_SUCCESS
}
-func (m *RpcSaslProto) GetToken() []byte {
- if m != nil {
- return m.Token
+func (x *RpcSaslProto) GetToken() []byte {
+ if x != nil {
+ return x.Token
}
return nil
}
-func (m *RpcSaslProto) GetAuths() []*RpcSaslProto_SaslAuth {
- if m != nil {
- return m.Auths
+func (x *RpcSaslProto) GetAuths() []*RpcSaslProto_SaslAuth {
+ if x != nil {
+ return x.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:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ 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"`
+}
+
+func (x *RpcSaslProto_SaslAuth) Reset() {
+ *x = RpcSaslProto_SaslAuth{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_RpcHeader_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RpcSaslProto_SaslAuth) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-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 (*RpcSaslProto_SaslAuth) ProtoMessage() {}
-func (m *RpcSaslProto_SaslAuth) GetMethod() string {
- if m != nil && m.Method != nil {
- return *m.Method
+func (x *RpcSaslProto_SaslAuth) ProtoReflect() protoreflect.Message {
+ mi := &file_RpcHeader_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RpcSaslProto_SaslAuth.ProtoReflect.Descriptor instead.
+func (*RpcSaslProto_SaslAuth) Descriptor() ([]byte, []int) {
+ return file_RpcHeader_proto_rawDescGZIP(), []int{4, 0}
+}
+
+func (x *RpcSaslProto_SaslAuth) GetMethod() string {
+ if x != nil && x.Method != nil {
+ return *x.Method
}
return ""
}
-func (m *RpcSaslProto_SaslAuth) GetMechanism() string {
- if m != nil && m.Mechanism != nil {
- return *m.Mechanism
+func (x *RpcSaslProto_SaslAuth) GetMechanism() string {
+ if x != nil && x.Mechanism != nil {
+ return *x.Mechanism
}
return ""
}
-func (m *RpcSaslProto_SaslAuth) GetProtocol() string {
- if m != nil && m.Protocol != nil {
- return *m.Protocol
+func (x *RpcSaslProto_SaslAuth) GetProtocol() string {
+ if x != nil && x.Protocol != nil {
+ return *x.Protocol
}
return ""
}
-func (m *RpcSaslProto_SaslAuth) GetServerId() string {
- if m != nil && m.ServerId != nil {
- return *m.ServerId
+func (x *RpcSaslProto_SaslAuth) GetServerId() string {
+ if x != nil && x.ServerId != nil {
+ return *x.ServerId
}
return ""
}
-func (m *RpcSaslProto_SaslAuth) GetChallenge() []byte {
- if m != nil {
- return m.Challenge
+func (x *RpcSaslProto_SaslAuth) GetChallenge() []byte {
+ if x != nil {
+ return x.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, 0x24, 0x22, 0xe8, 0x2e, 0x42, 0x5a, 0x24, 0x24, 0xd7, 0x99, 0x36, 0xb3, 0x75, 0x6d,
- 0x33, 0x76, 0x5a, 0xb1, 0x02, 0x45, 0xc6, 0x99, 0x6d, 0x22, 0x12, 0xdb, 0xd8, 0xce, 0x6a, 0x79,
- 0x11, 0xae, 0x79, 0x02, 0xc4, 0x03, 0x71, 0xc3, 0x9b, 0xa0, 0x99, 0x89, 0x9d, 0xa6, 0x29, 0x12,
- 0x77, 0x73, 0xfe, 0xbe, 0x39, 0x3f, 0xdf, 0x99, 0x81, 0x03, 0x9a, 0x84, 0x43, 0x16, 0x4c, 0x58,
- 0xda, 0x4f, 0xd2, 0x38, 0x8f, 0x51, 0x73, 0x1a, 0x4c, 0xe2, 0x38, 0xe9, 0x87, 0xf1, 0x62, 0x11,
- 0x47, 0x5d, 0x02, 0x6d, 0xea, 0x9a, 0x7e, 0x1a, 0x84, 0x8c, 0x44, 0xef, 0x63, 0x57, 0xf8, 0xe8,
- 0xb0, 0x9b, 0x0b, 0xcd, 0x44, 0x57, 0x3a, 0x4a, 0xaf, 0x42, 0x0b, 0x11, 0x9d, 0xc0, 0x5e, 0x12,
- 0xa4, 0x2c, 0xca, 0xc9, 0x44, 0x57, 0x85, 0xa9, 0x94, 0xbb, 0x0e, 0x1c, 0x51, 0xd7, 0x34, 0x83,
- 0xf9, 0x9c, 0xa5, 0x66, 0x1c, 0xe5, 0xec, 0x63, 0x5e, 0xc2, 0x85, 0x52, 0xd6, 0x95, 0x8e, 0xda,
- 0xab, 0xd3, 0x42, 0x44, 0xcf, 0xa1, 0x9e, 0xcd, 0xee, 0xa2, 0x20, 0x5f, 0xa6, 0x4c, 0xe0, 0x35,
- 0xe8, 0x5a, 0xd1, 0xfd, 0xbb, 0x02, 0x47, 0x34, 0x09, 0x29, 0xfb, 0x75, 0xc9, 0xb2, 0x5c, 0x56,
- 0x21, 0x11, 0xbf, 0x86, 0xdd, 0x34, 0x09, 0xaf, 0x66, 0x91, 0x4c, 0xb0, 0x75, 0x76, 0xda, 0xdf,
- 0x28, 0xab, 0x4f, 0xa5, 0x55, 0x78, 0xd3, 0xc2, 0x17, 0x11, 0xa8, 0xa5, 0x49, 0xe8, 0x24, 0xe2,
- 0xaa, 0xd6, 0xd9, 0xab, 0xed, 0xa0, 0xed, 0xbb, 0xfa, 0x4e, 0xc2, 0xd2, 0x20, 0x9f, 0xc5, 0x91,
- 0x04, 0x93, 0x08, 0xe8, 0x18, 0x76, 0xc2, 0x60, 0x3e, 0x27, 0x13, 0xbd, 0xd2, 0x51, 0x7b, 0x6d,
- 0xba, 0x92, 0x78, 0x83, 0xc2, 0xf9, 0x4c, 0x36, 0xa8, 0xda, 0x51, 0x7b, 0x0d, 0x5a, 0xca, 0xa8,
- 0x0b, 0x90, 0xb2, 0x3c, 0xfd, 0xcd, 0x8c, 0x97, 0x51, 0xae, 0xd7, 0x3a, 0x4a, 0xaf, 0xfd, 0x46,
- 0xfd, 0xe2, 0x2b, 0x7a, 0x4f, 0x8b, 0xbe, 0x83, 0x7a, 0x5e, 0x0c, 0x43, 0xdf, 0xe9, 0x28, 0xbd,
- 0xfd, 0xb3, 0xce, 0xc3, 0x34, 0x1f, 0xce, 0x8b, 0xae, 0x43, 0xd0, 0x5b, 0x68, 0x86, 0xf7, 0x27,
- 0xa0, 0xef, 0x0a, 0x8c, 0x4f, 0xb7, 0x31, 0xb6, 0x07, 0x45, 0x37, 0x43, 0xbb, 0x3f, 0x41, 0x6b,
- 0xb3, 0x78, 0x74, 0x08, 0x1a, 0x75, 0xcd, 0xf1, 0x05, 0xb1, 0x0d, 0x6b, 0xec, 0x1a, 0xe6, 0x15,
- 0xf6, 0xb5, 0x27, 0xe8, 0x14, 0x9e, 0x71, 0xad, 0xe9, 0xd8, 0x3e, 0xb1, 0x47, 0x86, 0x4f, 0x1c,
- 0xbb, 0x30, 0x2a, 0x48, 0x87, 0x43, 0x61, 0xb4, 0x1c, 0x0f, 0x73, 0x17, 0x1b, 0x9b, 0xdc, 0x41,
- 0x53, 0xbb, 0x7f, 0xed, 0xc0, 0xb1, 0x68, 0x79, 0x96, 0xc4, 0x51, 0xc6, 0xee, 0xcf, 0x77, 0xdd,
- 0x5d, 0x4e, 0x98, 0x66, 0xd9, 0x5d, 0x0b, 0x76, 0xb2, 0x3c, 0xc8, 0x97, 0x99, 0xae, 0x76, 0xd4,
- 0x5e, 0xeb, 0xec, 0xf5, 0x63, 0x13, 0xdc, 0x82, 0xe3, 0x6a, 0x4f, 0x84, 0xc9, 0x32, 0x57, 0x18,
- 0xe8, 0x4b, 0x78, 0x9a, 0xb1, 0xf4, 0x03, 0x4b, 0x49, 0x12, 0xde, 0xb0, 0x34, 0x9b, 0xc5, 0x91,
- 0xbd, 0x5c, 0xe8, 0x95, 0x8e, 0xd2, 0x6b, 0xd2, 0xc7, 0x4c, 0xa8, 0x0f, 0x88, 0x7d, 0x0c, 0x59,
- 0xc2, 0x3b, 0x62, 0xce, 0x83, 0x2c, 0xb3, 0x83, 0x05, 0xd3, 0xab, 0x1d, 0xa5, 0x57, 0xa7, 0x8f,
- 0x58, 0x38, 0x1b, 0x58, 0x9a, 0xc6, 0xe9, 0x75, 0x76, 0x27, 0xe6, 0x5d, 0xa7, 0xa5, 0x8c, 0x7e,
- 0x80, 0x7d, 0x71, 0x1e, 0xb0, 0x3c, 0x98, 0xcd, 0xc5, 0xac, 0x5b, 0x67, 0xdf, 0xfc, 0xef, 0x82,
- 0x30, 0x8f, 0x35, 0xe3, 0x09, 0x93, 0x35, 0xdd, 0xc7, 0xda, 0x20, 0xe1, 0xae, 0xd8, 0xaa, 0xff,
- 0x22, 0xe1, 0xde, 0x63, 0x24, 0xec, 0xbe, 0x82, 0xd6, 0x66, 0xcb, 0xd0, 0x3e, 0xec, 0x7a, 0x23,
- 0xd3, 0xc4, 0x9e, 0xa7, 0x3d, 0x41, 0x75, 0xa8, 0x61, 0x4a, 0x1d, 0xaa, 0x29, 0xfc, 0x78, 0x61,
- 0xf8, 0x86, 0xa5, 0xa9, 0xdd, 0x7f, 0x54, 0x68, 0x6f, 0xe5, 0x85, 0x8e, 0xa0, 0x2d, 0x7c, 0xc7,
- 0x86, 0xeb, 0x5a, 0xc4, 0x14, 0xe4, 0x90, 0xac, 0x90, 0x6a, 0xdb, 0x19, 0x7b, 0x23, 0x73, 0x38,
- 0xbe, 0xc6, 0xfe, 0xd0, 0x19, 0x68, 0x2a, 0x3a, 0x81, 0xe3, 0x4d, 0x8b, 0x4b, 0x1d, 0xdf, 0x31,
- 0x1d, 0x4b, 0xab, 0x70, 0xfa, 0x49, 0x1b, 0x67, 0x94, 0x87, 0xe9, 0x0d, 0xa6, 0x5a, 0x15, 0xbd,
- 0x80, 0x13, 0xa9, 0xf5, 0x30, 0x25, 0x86, 0x45, 0xde, 0x11, 0xfb, 0x72, 0x4c, 0xb1, 0xe7, 0x3a,
- 0xb6, 0x87, 0xb5, 0xda, 0xda, 0xce, 0xa3, 0x6e, 0x30, 0xf5, 0x38, 0x3f, 0xaf, 0x89, 0x77, 0x6d,
- 0xf8, 0xe6, 0x50, 0xdb, 0x41, 0x6d, 0x68, 0x8a, 0x1a, 0xc6, 0x23, 0xfb, 0xca, 0x76, 0x6e, 0x6d,
- 0x0d, 0xd0, 0x27, 0xf0, 0xb2, 0x50, 0x79, 0x23, 0xd7, 0x75, 0xa8, 0x8f, 0x07, 0x25, 0xbc, 0xac,
- 0x61, 0x1f, 0x3d, 0x07, 0x5d, 0x3a, 0x11, 0xfb, 0xc6, 0xb0, 0xc8, 0x40, 0xe0, 0x0f, 0xb1, 0x31,
- 0xc0, 0x54, 0x6b, 0xa0, 0x97, 0x70, 0x2a, 0xad, 0x03, 0xbc, 0x99, 0xd7, 0xf7, 0x23, 0xec, 0xf9,
- 0x5a, 0x93, 0x17, 0x2a, 0x1d, 0xb6, 0x52, 0x6a, 0xa1, 0x63, 0x40, 0xc5, 0xfd, 0xc6, 0xc8, 0x1f,
- 0x3a, 0x94, 0xbc, 0xc3, 0x03, 0xed, 0xa0, 0xfb, 0x67, 0x05, 0x1a, 0x7c, 0x32, 0x41, 0x36, 0x2f,
- 0x9f, 0xd6, 0x0f, 0x92, 0x9e, 0xe2, 0x21, 0x6c, 0xd2, 0x42, 0x44, 0xdf, 0x42, 0x8d, 0xd3, 0x9c,
- 0xad, 0x36, 0xe5, 0xb3, 0x6d, 0x62, 0x95, 0x28, 0x7d, 0x7e, 0xe2, 0xd3, 0x66, 0x54, 0xc6, 0xa0,
- 0x43, 0xa8, 0xe5, 0xf1, 0x2f, 0x2c, 0x12, 0xbb, 0xd0, 0xa0, 0x52, 0x40, 0x6f, 0xa0, 0x16, 0x2c,
- 0xf3, 0x69, 0xa6, 0x57, 0x3b, 0x95, 0xc7, 0xde, 0x94, 0x87, 0x90, 0xc6, 0x32, 0x9f, 0x52, 0x19,
- 0x72, 0xf2, 0xbb, 0x02, 0x7b, 0x85, 0x8e, 0xaf, 0xf7, 0x82, 0xe5, 0xd3, 0x78, 0xb2, 0xfa, 0x0f,
- 0x56, 0x12, 0xff, 0x0e, 0x16, 0x2c, 0x9c, 0x06, 0xd1, 0x2c, 0x5b, 0x88, 0xbc, 0xeb, 0x74, 0xad,
- 0x10, 0x7f, 0x0f, 0xc7, 0x0e, 0xe3, 0xb9, 0xc8, 0xab, 0x4e, 0x4b, 0x99, 0xdb, 0x56, 0xfb, 0x3a,
- 0x59, 0xad, 0x63, 0x29, 0x73, 0xd4, 0x70, 0xca, 0x1f, 0xb6, 0xe8, 0x8e, 0x89, 0x2d, 0x6c, 0xd0,
- 0xb5, 0xa2, 0xfb, 0x23, 0xd4, 0xcb, 0xf2, 0x37, 0x69, 0xde, 0x84, 0xba, 0x8d, 0x2f, 0x1d, 0x9f,
- 0x18, 0x3e, 0xd6, 0x14, 0xd4, 0x80, 0x3d, 0x62, 0x13, 0x29, 0xa9, 0xdc, 0x68, 0x0e, 0x0d, 0xcb,
- 0xc2, 0xf6, 0x25, 0xd6, 0x2a, 0xdc, 0x58, 0x32, 0xae, 0x8a, 0xf6, 0xa0, 0x7a, 0x4b, 0x0d, 0x57,
- 0xab, 0x7d, 0xfe, 0x56, 0xcc, 0xab, 0xfc, 0x8a, 0xd0, 0x01, 0xec, 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,
+var File_RpcHeader_proto protoreflect.FileDescriptor
+
+var file_RpcHeader_proto_rawDesc = []byte{
+ 0x0a, 0x0f, 0x52, 0x70, 0x63, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x0d, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+ 0x22, 0x49, 0x0a, 0x11, 0x52, 0x50, 0x43, 0x54, 0x72, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12,
+ 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x03, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x4f, 0x0a, 0x15, 0x52,
+ 0x50, 0x43, 0x43, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1c,
+ 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xf6, 0x03, 0x0a,
+ 0x15, 0x52, 0x70, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65,
+ 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x35, 0x0a, 0x07, 0x72, 0x70, 0x63, 0x4b, 0x69, 0x6e,
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x70, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x72, 0x70, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x49, 0x0a,
+ 0x05, 0x72, 0x70, 0x63, 0x4f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x70, 0x63,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x05, 0x72, 0x70, 0x63, 0x4f, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x6c, 0x6c,
+ 0x49, 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, 0x11, 0x52, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x49, 0x64,
+ 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x04, 0x20, 0x02,
+ 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a,
+ 0x72, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11,
+ 0x3a, 0x02, 0x2d, 0x31, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74,
+ 0x12, 0x3e, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x50, 0x43, 0x54, 0x72, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
+ 0x12, 0x4a, 0x0a, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
+ 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x61, 0x6c, 0x6c, 0x65,
+ 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0d, 0x63,
+ 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x18, 0x0a, 0x07,
+ 0x73, 0x74, 0x61, 0x74, 0x65, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73,
+ 0x74, 0x61, 0x74, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x0e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x50, 0x43, 0x5f,
+ 0x46, 0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x10, 0x00, 0x12, 0x1b,
+ 0x0a, 0x17, 0x52, 0x50, 0x43, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x55, 0x41, 0x54, 0x49,
+ 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x52,
+ 0x50, 0x43, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54,
+ 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x22, 0xca, 0x06, 0x0a, 0x16, 0x52, 0x70, 0x63, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d,
+ 0x52, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
+ 0x75, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x70, 0x63, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
+ 0x52, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06,
+ 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
+ 0x49, 0x70, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x0d, 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x70, 0x63, 0x56, 0x65,
+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x78, 0x63, 0x65,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43,
+ 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x72, 0x72, 0x6f,
+ 0x72, 0x4d, 0x73, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f,
+ 0x72, 0x4d, 0x73, 0x67, 0x12, 0x59, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74,
+ 0x61, 0x69, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x70, 0x63, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x2e, 0x52, 0x70, 0x63, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12,
+ 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28,
+ 0x0c, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x72,
+ 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x11, 0x3a,
+ 0x02, 0x2d, 0x31, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
+ 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x74, 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03,
+ 0x52, 0x07, 0x73, 0x74, 0x61, 0x74, 0x65, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x0e, 0x52, 0x70, 0x63,
+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x0a, 0x07, 0x53,
+ 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f,
+ 0x52, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x41, 0x54, 0x41, 0x4c, 0x10, 0x02, 0x22, 0xe1,
+ 0x02, 0x0a, 0x11, 0x52, 0x70, 0x63, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x41, 0x50,
+ 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x45,
+ 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4e, 0x4f, 0x5f, 0x53, 0x55, 0x43, 0x48, 0x5f, 0x4d, 0x45, 0x54,
+ 0x48, 0x4f, 0x44, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4e,
+ 0x4f, 0x5f, 0x53, 0x55, 0x43, 0x48, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10,
+ 0x03, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, 0x50, 0x43, 0x5f, 0x53,
+ 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x04, 0x12, 0x1e, 0x0a, 0x1a, 0x45, 0x52, 0x52, 0x4f, 0x52,
+ 0x5f, 0x53, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x45, 0x53,
+ 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x45, 0x52, 0x52, 0x4f, 0x52,
+ 0x5f, 0x52, 0x50, 0x43, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x49, 0x53,
+ 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x41, 0x54, 0x41, 0x4c,
+ 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x0a, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x41,
+ 0x54, 0x41, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f,
+ 0x53, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0b, 0x12,
+ 0x1c, 0x0a, 0x18, 0x46, 0x41, 0x54, 0x41, 0x4c, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44,
+ 0x5f, 0x52, 0x50, 0x43, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x0c, 0x12, 0x1f, 0x0a,
+ 0x1b, 0x46, 0x41, 0x54, 0x41, 0x4c, 0x5f, 0x44, 0x45, 0x53, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x49,
+ 0x5a, 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x0d, 0x12, 0x1a,
+ 0x0a, 0x16, 0x46, 0x41, 0x54, 0x41, 0x4c, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f,
+ 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x0e, 0x12, 0x16, 0x0a, 0x12, 0x46, 0x41,
+ 0x54, 0x41, 0x4c, 0x5f, 0x55, 0x4e, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x5a, 0x45, 0x44,
+ 0x10, 0x0f, 0x22, 0xae, 0x03, 0x0a, 0x0c, 0x52, 0x70, 0x63, 0x53, 0x61, 0x73, 0x6c, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a,
+ 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x70, 0x63,
+ 0x53, 0x61, 0x73, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x61, 0x73, 0x6c, 0x53, 0x74,
+ 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f,
+ 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
+ 0x12, 0x3a, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
+ 0x52, 0x70, 0x63, 0x53, 0x61, 0x73, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x61, 0x73,
+ 0x6c, 0x41, 0x75, 0x74, 0x68, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x1a, 0x96, 0x01, 0x0a,
+ 0x08, 0x53, 0x61, 0x73, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74,
+ 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
+ 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x73, 0x6d, 0x18, 0x02,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x73, 0x6d, 0x12,
+ 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x73,
+ 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73,
+ 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c,
+ 0x65, 0x6e, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6c,
+ 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x22, 0x5c, 0x0a, 0x09, 0x53, 0x61, 0x73, 0x6c, 0x53, 0x74, 0x61,
+ 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12,
+ 0x0d, 0x0a, 0x09, 0x4e, 0x45, 0x47, 0x4f, 0x54, 0x49, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0c,
+ 0x0a, 0x08, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09,
+ 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x52,
+ 0x45, 0x53, 0x50, 0x4f, 0x4e, 0x53, 0x45, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x57, 0x52, 0x41,
+ 0x50, 0x10, 0x05, 0x2a, 0x4a, 0x0a, 0x0c, 0x52, 0x70, 0x63, 0x4b, 0x69, 0x6e, 0x64, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x50, 0x43, 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x54,
+ 0x49, 0x4e, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x50, 0x43, 0x5f, 0x57, 0x52, 0x49, 0x54,
+ 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x50, 0x43, 0x5f, 0x50, 0x52,
+ 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x45, 0x52, 0x10, 0x02, 0x42,
+ 0x72, 0x0a, 0x1e, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x69, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x42, 0x0f, 0x52, 0x70, 0x63, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x73, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
+ 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32,
+ 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
+ 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+ 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_RpcHeader_proto_rawDescOnce sync.Once
+ file_RpcHeader_proto_rawDescData = file_RpcHeader_proto_rawDesc
+)
+
+func file_RpcHeader_proto_rawDescGZIP() []byte {
+ file_RpcHeader_proto_rawDescOnce.Do(func() {
+ file_RpcHeader_proto_rawDescData = protoimpl.X.CompressGZIP(file_RpcHeader_proto_rawDescData)
+ })
+ return file_RpcHeader_proto_rawDescData
+}
+
+var file_RpcHeader_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
+var file_RpcHeader_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
+var file_RpcHeader_proto_goTypes = []interface{}{
+ (RpcKindProto)(0), // 0: hadoop.common.RpcKindProto
+ (RpcRequestHeaderProto_OperationProto)(0), // 1: hadoop.common.RpcRequestHeaderProto.OperationProto
+ (RpcResponseHeaderProto_RpcStatusProto)(0), // 2: hadoop.common.RpcResponseHeaderProto.RpcStatusProto
+ (RpcResponseHeaderProto_RpcErrorCodeProto)(0), // 3: hadoop.common.RpcResponseHeaderProto.RpcErrorCodeProto
+ (RpcSaslProto_SaslState)(0), // 4: hadoop.common.RpcSaslProto.SaslState
+ (*RPCTraceInfoProto)(nil), // 5: hadoop.common.RPCTraceInfoProto
+ (*RPCCallerContextProto)(nil), // 6: hadoop.common.RPCCallerContextProto
+ (*RpcRequestHeaderProto)(nil), // 7: hadoop.common.RpcRequestHeaderProto
+ (*RpcResponseHeaderProto)(nil), // 8: hadoop.common.RpcResponseHeaderProto
+ (*RpcSaslProto)(nil), // 9: hadoop.common.RpcSaslProto
+ (*RpcSaslProto_SaslAuth)(nil), // 10: hadoop.common.RpcSaslProto.SaslAuth
+}
+var file_RpcHeader_proto_depIdxs = []int32{
+ 0, // 0: hadoop.common.RpcRequestHeaderProto.rpcKind:type_name -> hadoop.common.RpcKindProto
+ 1, // 1: hadoop.common.RpcRequestHeaderProto.rpcOp:type_name -> hadoop.common.RpcRequestHeaderProto.OperationProto
+ 5, // 2: hadoop.common.RpcRequestHeaderProto.traceInfo:type_name -> hadoop.common.RPCTraceInfoProto
+ 6, // 3: hadoop.common.RpcRequestHeaderProto.callerContext:type_name -> hadoop.common.RPCCallerContextProto
+ 2, // 4: hadoop.common.RpcResponseHeaderProto.status:type_name -> hadoop.common.RpcResponseHeaderProto.RpcStatusProto
+ 3, // 5: hadoop.common.RpcResponseHeaderProto.errorDetail:type_name -> hadoop.common.RpcResponseHeaderProto.RpcErrorCodeProto
+ 4, // 6: hadoop.common.RpcSaslProto.state:type_name -> hadoop.common.RpcSaslProto.SaslState
+ 10, // 7: hadoop.common.RpcSaslProto.auths:type_name -> hadoop.common.RpcSaslProto.SaslAuth
+ 8, // [8:8] is the sub-list for method output_type
+ 8, // [8:8] is the sub-list for method input_type
+ 8, // [8:8] is the sub-list for extension type_name
+ 8, // [8:8] is the sub-list for extension extendee
+ 0, // [0:8] is the sub-list for field type_name
+}
+
+func init() { file_RpcHeader_proto_init() }
+func file_RpcHeader_proto_init() {
+ if File_RpcHeader_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_RpcHeader_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RPCTraceInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_RpcHeader_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RPCCallerContextProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_RpcHeader_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RpcRequestHeaderProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_RpcHeader_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RpcResponseHeaderProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_RpcHeader_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RpcSaslProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_RpcHeader_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RpcSaslProto_SaslAuth); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_RpcHeader_proto_rawDesc,
+ NumEnums: 5,
+ NumMessages: 6,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_RpcHeader_proto_goTypes,
+ DependencyIndexes: file_RpcHeader_proto_depIdxs,
+ EnumInfos: file_RpcHeader_proto_enumTypes,
+ MessageInfos: file_RpcHeader_proto_msgTypes,
+ }.Build()
+ File_RpcHeader_proto = out.File
+ file_RpcHeader_proto_rawDesc = nil
+ file_RpcHeader_proto_goTypes = nil
+ file_RpcHeader_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/RpcHeader.proto b/internal/protocol/hadoop_common/RpcHeader.proto
index aa14616..cc0821e 100644
--- a/internal/protocol/hadoop_common/RpcHeader.proto
+++ b/internal/protocol/hadoop_common/RpcHeader.proto
@@ -21,10 +21,11 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.ipc.protobuf";
option java_outer_classname = "RpcHeaderProtos";
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
/**
@@ -90,6 +91,7 @@ message RpcRequestHeaderProto { // the header for the RpcRequest
optional sint32 retryCount = 5 [default = -1];
optional RPCTraceInfoProto traceInfo = 6; // tracing info
optional RPCCallerContextProto callerContext = 7; // call context
+ optional int64 stateId = 8; // The last seen Global State ID
}
@@ -155,6 +157,7 @@ message RpcResponseHeaderProto {
optional RpcErrorCodeProto errorDetail = 6; // in case of error
optional bytes clientId = 7; // Globally unique client ID
optional sint32 retryCount = 8 [default = -1];
+ optional int64 stateId = 9; // The last written Global State ID
}
message RpcSaslProto {
diff --git a/internal/protocol/hadoop_common/Security.pb.go b/internal/protocol/hadoop_common/Security.pb.go
index 666e1d4..6a78a62 100644
--- a/internal/protocol/hadoop_common/Security.pb.go
+++ b/internal/protocol/hadoop_common/Security.pb.go
@@ -1,193 +1,745 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: Security.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// Security token identifier
type TokenProto struct {
- Identifier []byte `protobuf:"bytes,1,req,name=identifier" json:"identifier,omitempty"`
- Password []byte `protobuf:"bytes,2,req,name=password" json:"password,omitempty"`
- Kind *string `protobuf:"bytes,3,req,name=kind" json:"kind,omitempty"`
- Service *string `protobuf:"bytes,4,req,name=service" json:"service,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Identifier []byte `protobuf:"bytes,1,req,name=identifier" json:"identifier,omitempty"`
+ Password []byte `protobuf:"bytes,2,req,name=password" json:"password,omitempty"`
+ Kind *string `protobuf:"bytes,3,req,name=kind" json:"kind,omitempty"`
+ Service *string `protobuf:"bytes,4,req,name=service" json:"service,omitempty"`
}
-func (m *TokenProto) Reset() { *m = TokenProto{} }
-func (m *TokenProto) String() string { return proto.CompactTextString(m) }
-func (*TokenProto) ProtoMessage() {}
-func (*TokenProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
+func (x *TokenProto) Reset() {
+ *x = TokenProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_Security_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *TokenProto) GetIdentifier() []byte {
- if m != nil {
- return m.Identifier
+func (x *TokenProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TokenProto) ProtoMessage() {}
+
+func (x *TokenProto) ProtoReflect() protoreflect.Message {
+ mi := &file_Security_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TokenProto.ProtoReflect.Descriptor instead.
+func (*TokenProto) Descriptor() ([]byte, []int) {
+ return file_Security_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *TokenProto) GetIdentifier() []byte {
+ if x != nil {
+ return x.Identifier
}
return nil
}
-func (m *TokenProto) GetPassword() []byte {
- if m != nil {
- return m.Password
+func (x *TokenProto) GetPassword() []byte {
+ if x != nil {
+ return x.Password
}
return nil
}
-func (m *TokenProto) GetKind() string {
- if m != nil && m.Kind != nil {
- return *m.Kind
+func (x *TokenProto) GetKind() string {
+ if x != nil && x.Kind != nil {
+ return *x.Kind
+ }
+ return ""
+}
+
+func (x *TokenProto) GetService() string {
+ if x != nil && x.Service != nil {
+ return *x.Service
}
return ""
}
-func (m *TokenProto) GetService() string {
- if m != nil && m.Service != nil {
- return *m.Service
+type CredentialsKVProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Alias *string `protobuf:"bytes,1,req,name=alias" json:"alias,omitempty"`
+ Token *TokenProto `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
+ Secret []byte `protobuf:"bytes,3,opt,name=secret" json:"secret,omitempty"`
+}
+
+func (x *CredentialsKVProto) Reset() {
+ *x = CredentialsKVProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_Security_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CredentialsKVProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CredentialsKVProto) ProtoMessage() {}
+
+func (x *CredentialsKVProto) ProtoReflect() protoreflect.Message {
+ mi := &file_Security_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CredentialsKVProto.ProtoReflect.Descriptor instead.
+func (*CredentialsKVProto) Descriptor() ([]byte, []int) {
+ return file_Security_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *CredentialsKVProto) GetAlias() string {
+ if x != nil && x.Alias != nil {
+ return *x.Alias
}
return ""
}
+func (x *CredentialsKVProto) GetToken() *TokenProto {
+ if x != nil {
+ return x.Token
+ }
+ return nil
+}
+
+func (x *CredentialsKVProto) GetSecret() []byte {
+ if x != nil {
+ return x.Secret
+ }
+ return nil
+}
+
+type CredentialsProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Tokens []*CredentialsKVProto `protobuf:"bytes,1,rep,name=tokens" json:"tokens,omitempty"`
+ Secrets []*CredentialsKVProto `protobuf:"bytes,2,rep,name=secrets" json:"secrets,omitempty"`
+}
+
+func (x *CredentialsProto) Reset() {
+ *x = CredentialsProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_Security_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CredentialsProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CredentialsProto) ProtoMessage() {}
+
+func (x *CredentialsProto) ProtoReflect() protoreflect.Message {
+ mi := &file_Security_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CredentialsProto.ProtoReflect.Descriptor instead.
+func (*CredentialsProto) Descriptor() ([]byte, []int) {
+ return file_Security_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *CredentialsProto) GetTokens() []*CredentialsKVProto {
+ if x != nil {
+ return x.Tokens
+ }
+ return nil
+}
+
+func (x *CredentialsProto) GetSecrets() []*CredentialsKVProto {
+ if x != nil {
+ return x.Secrets
+ }
+ return nil
+}
+
type GetDelegationTokenRequestProto struct {
- Renewer *string `protobuf:"bytes,1,req,name=renewer" json:"renewer,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Renewer *string `protobuf:"bytes,1,req,name=renewer" json:"renewer,omitempty"`
+}
+
+func (x *GetDelegationTokenRequestProto) Reset() {
+ *x = GetDelegationTokenRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_Security_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetDelegationTokenRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetDelegationTokenRequestProto) Reset() { *m = GetDelegationTokenRequestProto{} }
-func (m *GetDelegationTokenRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetDelegationTokenRequestProto) ProtoMessage() {}
-func (*GetDelegationTokenRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{1} }
+func (*GetDelegationTokenRequestProto) ProtoMessage() {}
-func (m *GetDelegationTokenRequestProto) GetRenewer() string {
- if m != nil && m.Renewer != nil {
- return *m.Renewer
+func (x *GetDelegationTokenRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_Security_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetDelegationTokenRequestProto.ProtoReflect.Descriptor instead.
+func (*GetDelegationTokenRequestProto) Descriptor() ([]byte, []int) {
+ return file_Security_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *GetDelegationTokenRequestProto) GetRenewer() string {
+ if x != nil && x.Renewer != nil {
+ return *x.Renewer
}
return ""
}
type GetDelegationTokenResponseProto struct {
- Token *TokenProto `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Token *TokenProto `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"`
}
-func (m *GetDelegationTokenResponseProto) Reset() { *m = GetDelegationTokenResponseProto{} }
-func (m *GetDelegationTokenResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetDelegationTokenResponseProto) ProtoMessage() {}
-func (*GetDelegationTokenResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2} }
+func (x *GetDelegationTokenResponseProto) Reset() {
+ *x = GetDelegationTokenResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_Security_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetDelegationTokenResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *GetDelegationTokenResponseProto) GetToken() *TokenProto {
- if m != nil {
- return m.Token
+func (*GetDelegationTokenResponseProto) ProtoMessage() {}
+
+func (x *GetDelegationTokenResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_Security_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetDelegationTokenResponseProto.ProtoReflect.Descriptor instead.
+func (*GetDelegationTokenResponseProto) Descriptor() ([]byte, []int) {
+ return file_Security_proto_rawDescGZIP(), []int{4}
+}
+
+func (x *GetDelegationTokenResponseProto) GetToken() *TokenProto {
+ if x != nil {
+ return x.Token
}
return nil
}
type RenewDelegationTokenRequestProto struct {
- Token *TokenProto `protobuf:"bytes,1,req,name=token" json:"token,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Token *TokenProto `protobuf:"bytes,1,req,name=token" json:"token,omitempty"`
+}
+
+func (x *RenewDelegationTokenRequestProto) Reset() {
+ *x = RenewDelegationTokenRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_Security_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RenewDelegationTokenRequestProto) Reset() { *m = RenewDelegationTokenRequestProto{} }
-func (m *RenewDelegationTokenRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RenewDelegationTokenRequestProto) ProtoMessage() {}
+func (x *RenewDelegationTokenRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RenewDelegationTokenRequestProto) ProtoMessage() {}
+
+func (x *RenewDelegationTokenRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_Security_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RenewDelegationTokenRequestProto.ProtoReflect.Descriptor instead.
func (*RenewDelegationTokenRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor7, []int{3}
+ return file_Security_proto_rawDescGZIP(), []int{5}
}
-func (m *RenewDelegationTokenRequestProto) GetToken() *TokenProto {
- if m != nil {
- return m.Token
+func (x *RenewDelegationTokenRequestProto) GetToken() *TokenProto {
+ if x != nil {
+ return x.Token
}
return nil
}
type RenewDelegationTokenResponseProto struct {
- NewExpiryTime *uint64 `protobuf:"varint,1,req,name=newExpiryTime" json:"newExpiryTime,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ NewExpiryTime *uint64 `protobuf:"varint,1,req,name=newExpiryTime" json:"newExpiryTime,omitempty"`
}
-func (m *RenewDelegationTokenResponseProto) Reset() { *m = RenewDelegationTokenResponseProto{} }
-func (m *RenewDelegationTokenResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RenewDelegationTokenResponseProto) ProtoMessage() {}
+func (x *RenewDelegationTokenResponseProto) Reset() {
+ *x = RenewDelegationTokenResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_Security_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RenewDelegationTokenResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RenewDelegationTokenResponseProto) ProtoMessage() {}
+
+func (x *RenewDelegationTokenResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_Security_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RenewDelegationTokenResponseProto.ProtoReflect.Descriptor instead.
func (*RenewDelegationTokenResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor7, []int{4}
+ return file_Security_proto_rawDescGZIP(), []int{6}
}
-func (m *RenewDelegationTokenResponseProto) GetNewExpiryTime() uint64 {
- if m != nil && m.NewExpiryTime != nil {
- return *m.NewExpiryTime
+func (x *RenewDelegationTokenResponseProto) GetNewExpiryTime() uint64 {
+ if x != nil && x.NewExpiryTime != nil {
+ return *x.NewExpiryTime
}
return 0
}
type CancelDelegationTokenRequestProto struct {
- Token *TokenProto `protobuf:"bytes,1,req,name=token" json:"token,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Token *TokenProto `protobuf:"bytes,1,req,name=token" json:"token,omitempty"`
+}
+
+func (x *CancelDelegationTokenRequestProto) Reset() {
+ *x = CancelDelegationTokenRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_Security_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CancelDelegationTokenRequestProto) Reset() { *m = CancelDelegationTokenRequestProto{} }
-func (m *CancelDelegationTokenRequestProto) String() string { return proto.CompactTextString(m) }
-func (*CancelDelegationTokenRequestProto) ProtoMessage() {}
+func (x *CancelDelegationTokenRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CancelDelegationTokenRequestProto) ProtoMessage() {}
+
+func (x *CancelDelegationTokenRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_Security_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CancelDelegationTokenRequestProto.ProtoReflect.Descriptor instead.
func (*CancelDelegationTokenRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor7, []int{5}
+ return file_Security_proto_rawDescGZIP(), []int{7}
}
-func (m *CancelDelegationTokenRequestProto) GetToken() *TokenProto {
- if m != nil {
- return m.Token
+func (x *CancelDelegationTokenRequestProto) GetToken() *TokenProto {
+ if x != nil {
+ return x.Token
}
return nil
}
type CancelDelegationTokenResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *CancelDelegationTokenResponseProto) Reset() {
+ *x = CancelDelegationTokenResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_Security_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CancelDelegationTokenResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CancelDelegationTokenResponseProto) Reset() { *m = CancelDelegationTokenResponseProto{} }
-func (m *CancelDelegationTokenResponseProto) String() string { return proto.CompactTextString(m) }
-func (*CancelDelegationTokenResponseProto) ProtoMessage() {}
+func (*CancelDelegationTokenResponseProto) ProtoMessage() {}
+
+func (x *CancelDelegationTokenResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_Security_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CancelDelegationTokenResponseProto.ProtoReflect.Descriptor instead.
func (*CancelDelegationTokenResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor7, []int{6}
-}
-
-func init() {
- proto.RegisterType((*TokenProto)(nil), "hadoop.common.TokenProto")
- proto.RegisterType((*GetDelegationTokenRequestProto)(nil), "hadoop.common.GetDelegationTokenRequestProto")
- proto.RegisterType((*GetDelegationTokenResponseProto)(nil), "hadoop.common.GetDelegationTokenResponseProto")
- proto.RegisterType((*RenewDelegationTokenRequestProto)(nil), "hadoop.common.RenewDelegationTokenRequestProto")
- proto.RegisterType((*RenewDelegationTokenResponseProto)(nil), "hadoop.common.RenewDelegationTokenResponseProto")
- proto.RegisterType((*CancelDelegationTokenRequestProto)(nil), "hadoop.common.CancelDelegationTokenRequestProto")
- proto.RegisterType((*CancelDelegationTokenResponseProto)(nil), "hadoop.common.CancelDelegationTokenResponseProto")
-}
-
-func init() { proto.RegisterFile("Security.proto", fileDescriptor7) }
-
-var fileDescriptor7 = []byte{
- // 303 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xb1, 0x4e, 0xf3, 0x30,
- 0x10, 0xc7, 0xe5, 0x7c, 0xfd, 0x54, 0x7a, 0x50, 0x86, 0x4c, 0x86, 0xa1, 0xa4, 0x56, 0x87, 0x4e,
- 0x41, 0x62, 0x42, 0x8c, 0x05, 0x84, 0xd8, 0x90, 0xdb, 0x17, 0xb0, 0x92, 0xa3, 0xb5, 0xda, 0xd8,
- 0xc6, 0x76, 0x1b, 0xfa, 0x06, 0x3c, 0x06, 0x8f, 0x8a, 0xea, 0x90, 0x92, 0x48, 0x05, 0x31, 0xb0,
- 0xf9, 0xfe, 0xe7, 0xfb, 0xe9, 0x77, 0xd2, 0xc1, 0xe9, 0x14, 0xb3, 0xb5, 0x95, 0x7e, 0x9b, 0x1a,
- 0xab, 0xbd, 0x8e, 0xfb, 0x0b, 0x91, 0x6b, 0x6d, 0xd2, 0x4c, 0x17, 0x85, 0x56, 0x6c, 0x03, 0x30,
- 0xd3, 0x4b, 0x54, 0x4f, 0xa1, 0x39, 0x00, 0x90, 0x39, 0x2a, 0x2f, 0x9f, 0x25, 0x5a, 0x4a, 0x92,
- 0x68, 0x7c, 0xc2, 0x1b, 0x49, 0x7c, 0x0e, 0x47, 0x46, 0x38, 0x57, 0x6a, 0x9b, 0xd3, 0x28, 0x74,
- 0xf7, 0x75, 0x1c, 0x43, 0x67, 0x29, 0x55, 0x4e, 0xff, 0x25, 0xd1, 0xb8, 0xc7, 0xc3, 0x3b, 0xa6,
- 0xd0, 0x75, 0x68, 0x37, 0x32, 0x43, 0xda, 0x09, 0x71, 0x5d, 0xb2, 0x1b, 0x18, 0x3c, 0xa0, 0xbf,
- 0xc3, 0x15, 0xce, 0x85, 0x97, 0x5a, 0x05, 0x09, 0x8e, 0x2f, 0x6b, 0x74, 0xbe, 0x72, 0xa1, 0xd0,
- 0xb5, 0xa8, 0xb0, 0xfc, 0x14, 0xe9, 0xf1, 0xba, 0x64, 0x1c, 0x2e, 0x0e, 0xcd, 0x3a, 0xa3, 0x95,
- 0xc3, 0x6a, 0xf8, 0x12, 0xfe, 0xfb, 0x5d, 0x4a, 0x49, 0x42, 0xc6, 0xc7, 0x57, 0x67, 0x69, 0x6b,
- 0xeb, 0xf4, 0x6b, 0x65, 0x5e, 0xfd, 0x63, 0x53, 0x48, 0xf8, 0x0e, 0xff, 0x93, 0x51, 0x03, 0x1a,
- 0xfd, 0x0a, 0xfa, 0x08, 0xc3, 0xc3, 0xd0, 0xa6, 0xea, 0x08, 0xfa, 0x0a, 0xcb, 0xfb, 0x57, 0x23,
- 0xed, 0x76, 0x26, 0x0b, 0x0c, 0xf4, 0x0e, 0x6f, 0x87, 0x6c, 0x06, 0xc3, 0x5b, 0xa1, 0x32, 0x5c,
- 0xfd, 0xa9, 0xe0, 0x08, 0xd8, 0x37, 0xd4, 0x86, 0xe1, 0xe4, 0x1a, 0x12, 0x6d, 0xe7, 0xa9, 0x30,
- 0x22, 0x5b, 0x60, 0xcd, 0x74, 0xad, 0xb3, 0x9a, 0xec, 0xcf, 0x2c, 0x8c, 0xb8, 0x37, 0x42, 0xde,
- 0x09, 0xf9, 0x08, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x67, 0xa7, 0xeb, 0x7d, 0x02, 0x00, 0x00,
+ return file_Security_proto_rawDescGZIP(), []int{8}
+}
+
+var File_Security_proto protoreflect.FileDescriptor
+
+var file_Security_proto_rawDesc = []byte{
+ 0x0a, 0x0e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x0d, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22,
+ 0x76, 0x0a, 0x0a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x0a,
+ 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x0c, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x1a, 0x0a,
+ 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0c, 0x52,
+ 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e,
+ 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x18, 0x0a,
+ 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07,
+ 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x73, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x64, 0x65,
+ 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x4b, 0x56, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a,
+ 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c,
+ 0x69, 0x61, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
+ 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x74,
+ 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x8a, 0x01, 0x0a,
+ 0x10, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x39, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x21, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
+ 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x4b, 0x56, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x3b, 0x0a, 0x07,
+ 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x72,
+ 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x4b, 0x56, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x22, 0x3a, 0x0a, 0x1e, 0x47, 0x65, 0x74,
+ 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x72,
+ 0x65, 0x6e, 0x65, 0x77, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65,
+ 0x6e, 0x65, 0x77, 0x65, 0x72, 0x22, 0x52, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65,
+ 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2f, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65,
+ 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x53, 0x0a, 0x20, 0x52, 0x65, 0x6e,
+ 0x65, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65,
+ 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2f, 0x0a,
+ 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b,
+ 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x49,
+ 0x0a, 0x21, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79,
+ 0x54, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0d, 0x6e, 0x65, 0x77, 0x45,
+ 0x78, 0x70, 0x69, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x54, 0x0a, 0x21, 0x43, 0x61, 0x6e,
+ 0x63, 0x65, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b,
+ 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2f,
+ 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x19, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x6f,
+ 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
+ 0x24, 0x0a, 0x22, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x76, 0x0a, 0x20, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61,
+ 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72,
+ 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x0e, 0x53, 0x65, 0x63, 0x75, 0x72,
+ 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75,
+ 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f,
+ 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
+ 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_Security_proto_rawDescOnce sync.Once
+ file_Security_proto_rawDescData = file_Security_proto_rawDesc
+)
+
+func file_Security_proto_rawDescGZIP() []byte {
+ file_Security_proto_rawDescOnce.Do(func() {
+ file_Security_proto_rawDescData = protoimpl.X.CompressGZIP(file_Security_proto_rawDescData)
+ })
+ return file_Security_proto_rawDescData
+}
+
+var file_Security_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
+var file_Security_proto_goTypes = []interface{}{
+ (*TokenProto)(nil), // 0: hadoop.common.TokenProto
+ (*CredentialsKVProto)(nil), // 1: hadoop.common.CredentialsKVProto
+ (*CredentialsProto)(nil), // 2: hadoop.common.CredentialsProto
+ (*GetDelegationTokenRequestProto)(nil), // 3: hadoop.common.GetDelegationTokenRequestProto
+ (*GetDelegationTokenResponseProto)(nil), // 4: hadoop.common.GetDelegationTokenResponseProto
+ (*RenewDelegationTokenRequestProto)(nil), // 5: hadoop.common.RenewDelegationTokenRequestProto
+ (*RenewDelegationTokenResponseProto)(nil), // 6: hadoop.common.RenewDelegationTokenResponseProto
+ (*CancelDelegationTokenRequestProto)(nil), // 7: hadoop.common.CancelDelegationTokenRequestProto
+ (*CancelDelegationTokenResponseProto)(nil), // 8: hadoop.common.CancelDelegationTokenResponseProto
+}
+var file_Security_proto_depIdxs = []int32{
+ 0, // 0: hadoop.common.CredentialsKVProto.token:type_name -> hadoop.common.TokenProto
+ 1, // 1: hadoop.common.CredentialsProto.tokens:type_name -> hadoop.common.CredentialsKVProto
+ 1, // 2: hadoop.common.CredentialsProto.secrets:type_name -> hadoop.common.CredentialsKVProto
+ 0, // 3: hadoop.common.GetDelegationTokenResponseProto.token:type_name -> hadoop.common.TokenProto
+ 0, // 4: hadoop.common.RenewDelegationTokenRequestProto.token:type_name -> hadoop.common.TokenProto
+ 0, // 5: hadoop.common.CancelDelegationTokenRequestProto.token:type_name -> hadoop.common.TokenProto
+ 6, // [6:6] is the sub-list for method output_type
+ 6, // [6:6] is the sub-list for method input_type
+ 6, // [6:6] is the sub-list for extension type_name
+ 6, // [6:6] is the sub-list for extension extendee
+ 0, // [0:6] is the sub-list for field type_name
+}
+
+func init() { file_Security_proto_init() }
+func file_Security_proto_init() {
+ if File_Security_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_Security_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TokenProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_Security_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CredentialsKVProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_Security_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CredentialsProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_Security_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetDelegationTokenRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_Security_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetDelegationTokenResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_Security_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RenewDelegationTokenRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_Security_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RenewDelegationTokenResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_Security_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CancelDelegationTokenRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_Security_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CancelDelegationTokenResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_Security_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 9,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_Security_proto_goTypes,
+ DependencyIndexes: file_Security_proto_depIdxs,
+ MessageInfos: file_Security_proto_msgTypes,
+ }.Build()
+ File_Security_proto = out.File
+ file_Security_proto_rawDesc = nil
+ file_Security_proto_goTypes = nil
+ file_Security_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/Security.proto b/internal/protocol/hadoop_common/Security.proto
index 5ff571d..fa3fdff 100644
--- a/internal/protocol/hadoop_common/Security.proto
+++ b/internal/protocol/hadoop_common/Security.proto
@@ -21,11 +21,12 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.security.proto";
option java_outer_classname = "SecurityProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
/**
@@ -38,6 +39,17 @@ message TokenProto {
required string service = 4;
}
+message CredentialsKVProto {
+ required string alias = 1;
+ optional hadoop.common.TokenProto token = 2;
+ optional bytes secret = 3;
+}
+
+message CredentialsProto {
+ repeated hadoop.common.CredentialsKVProto tokens = 1;
+ repeated hadoop.common.CredentialsKVProto secrets = 2;
+}
+
message GetDelegationTokenRequestProto {
required string renewer = 1;
}
diff --git a/internal/protocol/hadoop_common/TraceAdmin.pb.go b/internal/protocol/hadoop_common/TraceAdmin.pb.go
index c7a68f3..9aa6918 100644
--- a/internal/protocol/hadoop_common/TraceAdmin.pb.go
+++ b/internal/protocol/hadoop_common/TraceAdmin.pb.go
@@ -1,199 +1,656 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: TraceAdmin.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
type ListSpanReceiversRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *ListSpanReceiversRequestProto) Reset() {
+ *x = ListSpanReceiversRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_TraceAdmin_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListSpanReceiversRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ListSpanReceiversRequestProto) Reset() { *m = ListSpanReceiversRequestProto{} }
-func (m *ListSpanReceiversRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ListSpanReceiversRequestProto) ProtoMessage() {}
-func (*ListSpanReceiversRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
+func (*ListSpanReceiversRequestProto) ProtoMessage() {}
+
+func (x *ListSpanReceiversRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_TraceAdmin_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListSpanReceiversRequestProto.ProtoReflect.Descriptor instead.
+func (*ListSpanReceiversRequestProto) Descriptor() ([]byte, []int) {
+ return file_TraceAdmin_proto_rawDescGZIP(), []int{0}
+}
type SpanReceiverListInfo struct {
- Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
- ClassName *string `protobuf:"bytes,2,req,name=className" json:"className,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
+ ClassName *string `protobuf:"bytes,2,req,name=className" json:"className,omitempty"`
}
-func (m *SpanReceiverListInfo) Reset() { *m = SpanReceiverListInfo{} }
-func (m *SpanReceiverListInfo) String() string { return proto.CompactTextString(m) }
-func (*SpanReceiverListInfo) ProtoMessage() {}
-func (*SpanReceiverListInfo) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
+func (x *SpanReceiverListInfo) Reset() {
+ *x = SpanReceiverListInfo{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_TraceAdmin_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SpanReceiverListInfo) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *SpanReceiverListInfo) GetId() int64 {
- if m != nil && m.Id != nil {
- return *m.Id
+func (*SpanReceiverListInfo) ProtoMessage() {}
+
+func (x *SpanReceiverListInfo) ProtoReflect() protoreflect.Message {
+ mi := &file_TraceAdmin_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SpanReceiverListInfo.ProtoReflect.Descriptor instead.
+func (*SpanReceiverListInfo) Descriptor() ([]byte, []int) {
+ return file_TraceAdmin_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *SpanReceiverListInfo) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
}
return 0
}
-func (m *SpanReceiverListInfo) GetClassName() string {
- if m != nil && m.ClassName != nil {
- return *m.ClassName
+func (x *SpanReceiverListInfo) GetClassName() string {
+ if x != nil && x.ClassName != nil {
+ return *x.ClassName
}
return ""
}
type ListSpanReceiversResponseProto struct {
- Descriptions []*SpanReceiverListInfo `protobuf:"bytes,1,rep,name=descriptions" json:"descriptions,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Descriptions []*SpanReceiverListInfo `protobuf:"bytes,1,rep,name=descriptions" json:"descriptions,omitempty"`
}
-func (m *ListSpanReceiversResponseProto) Reset() { *m = ListSpanReceiversResponseProto{} }
-func (m *ListSpanReceiversResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ListSpanReceiversResponseProto) ProtoMessage() {}
-func (*ListSpanReceiversResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{2} }
+func (x *ListSpanReceiversResponseProto) Reset() {
+ *x = ListSpanReceiversResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_TraceAdmin_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *ListSpanReceiversResponseProto) GetDescriptions() []*SpanReceiverListInfo {
- if m != nil {
- return m.Descriptions
+func (x *ListSpanReceiversResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListSpanReceiversResponseProto) ProtoMessage() {}
+
+func (x *ListSpanReceiversResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_TraceAdmin_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListSpanReceiversResponseProto.ProtoReflect.Descriptor instead.
+func (*ListSpanReceiversResponseProto) Descriptor() ([]byte, []int) {
+ return file_TraceAdmin_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *ListSpanReceiversResponseProto) GetDescriptions() []*SpanReceiverListInfo {
+ if x != nil {
+ return x.Descriptions
}
return nil
}
type ConfigPair struct {
- Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
- Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
+ Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
+}
+
+func (x *ConfigPair) Reset() {
+ *x = ConfigPair{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_TraceAdmin_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ConfigPair) Reset() { *m = ConfigPair{} }
-func (m *ConfigPair) String() string { return proto.CompactTextString(m) }
-func (*ConfigPair) ProtoMessage() {}
-func (*ConfigPair) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{3} }
+func (x *ConfigPair) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *ConfigPair) GetKey() string {
- if m != nil && m.Key != nil {
- return *m.Key
+func (*ConfigPair) ProtoMessage() {}
+
+func (x *ConfigPair) ProtoReflect() protoreflect.Message {
+ mi := &file_TraceAdmin_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ConfigPair.ProtoReflect.Descriptor instead.
+func (*ConfigPair) Descriptor() ([]byte, []int) {
+ return file_TraceAdmin_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *ConfigPair) GetKey() string {
+ if x != nil && x.Key != nil {
+ return *x.Key
}
return ""
}
-func (m *ConfigPair) GetValue() string {
- if m != nil && m.Value != nil {
- return *m.Value
+func (x *ConfigPair) GetValue() string {
+ if x != nil && x.Value != nil {
+ return *x.Value
}
return ""
}
type AddSpanReceiverRequestProto struct {
- ClassName *string `protobuf:"bytes,1,req,name=className" json:"className,omitempty"`
- Config []*ConfigPair `protobuf:"bytes,2,rep,name=config" json:"config,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ClassName *string `protobuf:"bytes,1,req,name=className" json:"className,omitempty"`
+ Config []*ConfigPair `protobuf:"bytes,2,rep,name=config" json:"config,omitempty"`
+}
+
+func (x *AddSpanReceiverRequestProto) Reset() {
+ *x = AddSpanReceiverRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_TraceAdmin_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AddSpanReceiverRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *AddSpanReceiverRequestProto) Reset() { *m = AddSpanReceiverRequestProto{} }
-func (m *AddSpanReceiverRequestProto) String() string { return proto.CompactTextString(m) }
-func (*AddSpanReceiverRequestProto) ProtoMessage() {}
-func (*AddSpanReceiverRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{4} }
+func (*AddSpanReceiverRequestProto) ProtoMessage() {}
-func (m *AddSpanReceiverRequestProto) GetClassName() string {
- if m != nil && m.ClassName != nil {
- return *m.ClassName
+func (x *AddSpanReceiverRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_TraceAdmin_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AddSpanReceiverRequestProto.ProtoReflect.Descriptor instead.
+func (*AddSpanReceiverRequestProto) Descriptor() ([]byte, []int) {
+ return file_TraceAdmin_proto_rawDescGZIP(), []int{4}
+}
+
+func (x *AddSpanReceiverRequestProto) GetClassName() string {
+ if x != nil && x.ClassName != nil {
+ return *x.ClassName
}
return ""
}
-func (m *AddSpanReceiverRequestProto) GetConfig() []*ConfigPair {
- if m != nil {
- return m.Config
+func (x *AddSpanReceiverRequestProto) GetConfig() []*ConfigPair {
+ if x != nil {
+ return x.Config
}
return nil
}
type AddSpanReceiverResponseProto struct {
- Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
+}
+
+func (x *AddSpanReceiverResponseProto) Reset() {
+ *x = AddSpanReceiverResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_TraceAdmin_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AddSpanReceiverResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AddSpanReceiverResponseProto) ProtoMessage() {}
+
+func (x *AddSpanReceiverResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_TraceAdmin_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *AddSpanReceiverResponseProto) Reset() { *m = AddSpanReceiverResponseProto{} }
-func (m *AddSpanReceiverResponseProto) String() string { return proto.CompactTextString(m) }
-func (*AddSpanReceiverResponseProto) ProtoMessage() {}
-func (*AddSpanReceiverResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{5} }
+// Deprecated: Use AddSpanReceiverResponseProto.ProtoReflect.Descriptor instead.
+func (*AddSpanReceiverResponseProto) Descriptor() ([]byte, []int) {
+ return file_TraceAdmin_proto_rawDescGZIP(), []int{5}
+}
-func (m *AddSpanReceiverResponseProto) GetId() int64 {
- if m != nil && m.Id != nil {
- return *m.Id
+func (x *AddSpanReceiverResponseProto) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
}
return 0
}
type RemoveSpanReceiverRequestProto struct {
- Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
}
-func (m *RemoveSpanReceiverRequestProto) Reset() { *m = RemoveSpanReceiverRequestProto{} }
-func (m *RemoveSpanReceiverRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveSpanReceiverRequestProto) ProtoMessage() {}
-func (*RemoveSpanReceiverRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{6} }
+func (x *RemoveSpanReceiverRequestProto) Reset() {
+ *x = RemoveSpanReceiverRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_TraceAdmin_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *RemoveSpanReceiverRequestProto) GetId() int64 {
- if m != nil && m.Id != nil {
- return *m.Id
+func (x *RemoveSpanReceiverRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveSpanReceiverRequestProto) ProtoMessage() {}
+
+func (x *RemoveSpanReceiverRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_TraceAdmin_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveSpanReceiverRequestProto.ProtoReflect.Descriptor instead.
+func (*RemoveSpanReceiverRequestProto) Descriptor() ([]byte, []int) {
+ return file_TraceAdmin_proto_rawDescGZIP(), []int{6}
+}
+
+func (x *RemoveSpanReceiverRequestProto) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
}
return 0
}
type RemoveSpanReceiverResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *RemoveSpanReceiverResponseProto) Reset() { *m = RemoveSpanReceiverResponseProto{} }
-func (m *RemoveSpanReceiverResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveSpanReceiverResponseProto) ProtoMessage() {}
-func (*RemoveSpanReceiverResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{7} }
-
-func init() {
- proto.RegisterType((*ListSpanReceiversRequestProto)(nil), "hadoop.common.ListSpanReceiversRequestProto")
- proto.RegisterType((*SpanReceiverListInfo)(nil), "hadoop.common.SpanReceiverListInfo")
- proto.RegisterType((*ListSpanReceiversResponseProto)(nil), "hadoop.common.ListSpanReceiversResponseProto")
- proto.RegisterType((*ConfigPair)(nil), "hadoop.common.ConfigPair")
- proto.RegisterType((*AddSpanReceiverRequestProto)(nil), "hadoop.common.AddSpanReceiverRequestProto")
- proto.RegisterType((*AddSpanReceiverResponseProto)(nil), "hadoop.common.AddSpanReceiverResponseProto")
- proto.RegisterType((*RemoveSpanReceiverRequestProto)(nil), "hadoop.common.RemoveSpanReceiverRequestProto")
- proto.RegisterType((*RemoveSpanReceiverResponseProto)(nil), "hadoop.common.RemoveSpanReceiverResponseProto")
-}
-
-func init() { proto.RegisterFile("TraceAdmin.proto", fileDescriptor5) }
-
-var fileDescriptor5 = []byte{
- // 385 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xef, 0x4e, 0xea, 0x30,
- 0x18, 0xc6, 0xb3, 0x91, 0x73, 0x12, 0xde, 0xc3, 0x39, 0x07, 0x1a, 0x3e, 0x0c, 0x44, 0xc0, 0xf9,
- 0x85, 0xf8, 0x67, 0x2a, 0xf1, 0x06, 0x40, 0x13, 0x63, 0x62, 0x0c, 0x29, 0xde, 0x40, 0xd3, 0x15,
- 0xa8, 0xb2, 0x76, 0xb6, 0x63, 0x89, 0x77, 0xe0, 0x65, 0x78, 0x75, 0x5e, 0x87, 0x61, 0x4a, 0xd6,
- 0x15, 0x04, 0xbf, 0xed, 0xcf, 0xf3, 0xf6, 0xf9, 0x3d, 0xcf, 0x5b, 0xa8, 0x3e, 0x28, 0x42, 0xd9,
- 0x20, 0x8c, 0xb8, 0x08, 0x62, 0x25, 0x13, 0x89, 0xfe, 0xce, 0x48, 0x28, 0x65, 0x1c, 0x50, 0x19,
- 0x45, 0x52, 0xf8, 0x1d, 0xd8, 0xbf, 0xe3, 0x3a, 0x19, 0xc7, 0x44, 0x60, 0x46, 0x19, 0x4f, 0x99,
- 0xd2, 0x98, 0x3d, 0x2f, 0x98, 0x4e, 0x46, 0x4b, 0xbd, 0x7f, 0x0d, 0x75, 0xf3, 0xe7, 0x52, 0x7c,
- 0x2b, 0x26, 0x12, 0xfd, 0x03, 0x97, 0x87, 0x9e, 0xd3, 0x75, 0x7b, 0x25, 0xec, 0xf2, 0x10, 0xb5,
- 0xa0, 0x4c, 0xe7, 0x44, 0xeb, 0x7b, 0x12, 0x31, 0xcf, 0xed, 0xba, 0xbd, 0x32, 0xce, 0x3f, 0xf8,
- 0x1c, 0xda, 0x1b, 0x6c, 0x74, 0x2c, 0x85, 0x66, 0x99, 0x0f, 0xba, 0x81, 0x4a, 0xc8, 0x34, 0x55,
- 0x3c, 0x4e, 0xb8, 0x14, 0xda, 0x73, 0xba, 0xa5, 0xde, 0x9f, 0xfe, 0x61, 0x50, 0xc0, 0x0d, 0x36,
- 0xa1, 0xe0, 0xc2, 0xa0, 0x7f, 0x09, 0x70, 0x25, 0xc5, 0x84, 0x4f, 0x47, 0x84, 0x2b, 0x54, 0x85,
- 0xd2, 0x13, 0x7b, 0xc9, 0x38, 0xcb, 0x78, 0xf9, 0x88, 0xea, 0xf0, 0x2b, 0x25, 0xf3, 0xc5, 0x0a,
- 0xf2, 0xf3, 0xc5, 0x17, 0xb0, 0x37, 0x08, 0x43, 0xf3, 0x78, 0xb3, 0x85, 0x62, 0x3a, 0xc7, 0x4a,
- 0x87, 0x2e, 0xe0, 0x37, 0xcd, 0x2c, 0x3d, 0x37, 0xa3, 0x6e, 0x58, 0xd4, 0x39, 0x0f, 0xfe, 0x12,
- 0xfa, 0x01, 0xb4, 0xd6, 0xfc, 0xcc, 0x3a, 0xac, 0x7a, 0xfd, 0x73, 0x68, 0x63, 0x16, 0xc9, 0x94,
- 0x7d, 0x8b, 0x68, 0x4f, 0x1c, 0x40, 0x67, 0xd3, 0x84, 0x61, 0xd2, 0x7f, 0x77, 0xa1, 0x96, 0x5f,
- 0x90, 0x31, 0x53, 0x29, 0xa7, 0x0c, 0xc5, 0x50, 0x9b, 0xdb, 0xbb, 0x42, 0x27, 0x56, 0xa4, 0xad,
- 0x97, 0xa6, 0x79, 0xba, 0x5b, 0x6d, 0x86, 0x7d, 0x84, 0xff, 0xa4, 0x58, 0x06, 0x3a, 0xb2, 0x4e,
- 0xd8, 0xb2, 0x9c, 0xe6, 0xf1, 0x2e, 0xad, 0xe9, 0xa5, 0x01, 0xa9, 0xb5, 0x5a, 0x90, 0x0d, 0xbc,
- 0xbd, 0xeb, 0x66, 0xf0, 0x03, 0xb9, 0x61, 0x3a, 0x3c, 0x83, 0x86, 0x54, 0xd3, 0x80, 0xc4, 0x84,
- 0xce, 0xd8, 0x6a, 0x36, 0x51, 0x84, 0x72, 0x31, 0x1d, 0x56, 0xf2, 0x15, 0x8c, 0x86, 0xaf, 0x8e,
- 0xf3, 0xe6, 0x38, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x09, 0x34, 0x4e, 0xb8, 0x03, 0x00,
- 0x00,
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RemoveSpanReceiverResponseProto) Reset() {
+ *x = RemoveSpanReceiverResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_TraceAdmin_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveSpanReceiverResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveSpanReceiverResponseProto) ProtoMessage() {}
+
+func (x *RemoveSpanReceiverResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_TraceAdmin_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveSpanReceiverResponseProto.ProtoReflect.Descriptor instead.
+func (*RemoveSpanReceiverResponseProto) Descriptor() ([]byte, []int) {
+ return file_TraceAdmin_proto_rawDescGZIP(), []int{7}
+}
+
+var File_TraceAdmin_proto protoreflect.FileDescriptor
+
+var file_TraceAdmin_proto_rawDesc = []byte{
+ 0x0a, 0x10, 0x54, 0x72, 0x61, 0x63, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x0d, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
+ 0x6e, 0x22, 0x1f, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x63,
+ 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x14, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76,
+ 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c,
+ 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x63,
+ 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x69, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74,
+ 0x53, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x47, 0x0a, 0x0c, 0x64, 0x65,
+ 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+ 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x4c, 0x69, 0x73,
+ 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x22, 0x34, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x61, 0x69,
+ 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03,
+ 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x6e, 0x0a, 0x1b, 0x41, 0x64, 0x64,
+ 0x53, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x73,
+ 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x61,
+ 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x61, 0x69,
+ 0x72, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x2e, 0x0a, 0x1c, 0x41, 0x64, 0x64,
+ 0x53, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x30, 0x0a, 0x1e, 0x52, 0x65, 0x6d,
+ 0x6f, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69,
+ 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x21, 0x0a, 0x1f, 0x52,
+ 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
+ 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xe6,
+ 0x02, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x63, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x72,
+ 0x76, 0x69, 0x63, 0x65, 0x12, 0x70, 0x0a, 0x11, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x70, 0x61, 0x6e,
+ 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x12, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x70,
+ 0x61, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x70, 0x61, 0x6e,
+ 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x6a, 0x0a, 0x0f, 0x61, 0x64, 0x64, 0x53, 0x70, 0x61,
+ 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x12, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x70, 0x61,
+ 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63,
+ 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x65, 0x63,
+ 0x65, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x73, 0x0a, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e,
+ 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x12, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53,
+ 0x70, 0x61, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x70,
+ 0x61, 0x6e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x6d, 0x0a, 0x19, 0x6f, 0x72, 0x67, 0x2e, 0x61,
+ 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x74, 0x72, 0x61,
+ 0x63, 0x69, 0x6e, 0x67, 0x42, 0x0c, 0x54, 0x72, 0x61, 0x63, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e,
+ 0x50, 0x42, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63,
+ 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32,
+ 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
+ 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+ 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_TraceAdmin_proto_rawDescOnce sync.Once
+ file_TraceAdmin_proto_rawDescData = file_TraceAdmin_proto_rawDesc
+)
+
+func file_TraceAdmin_proto_rawDescGZIP() []byte {
+ file_TraceAdmin_proto_rawDescOnce.Do(func() {
+ file_TraceAdmin_proto_rawDescData = protoimpl.X.CompressGZIP(file_TraceAdmin_proto_rawDescData)
+ })
+ return file_TraceAdmin_proto_rawDescData
+}
+
+var file_TraceAdmin_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
+var file_TraceAdmin_proto_goTypes = []interface{}{
+ (*ListSpanReceiversRequestProto)(nil), // 0: hadoop.common.ListSpanReceiversRequestProto
+ (*SpanReceiverListInfo)(nil), // 1: hadoop.common.SpanReceiverListInfo
+ (*ListSpanReceiversResponseProto)(nil), // 2: hadoop.common.ListSpanReceiversResponseProto
+ (*ConfigPair)(nil), // 3: hadoop.common.ConfigPair
+ (*AddSpanReceiverRequestProto)(nil), // 4: hadoop.common.AddSpanReceiverRequestProto
+ (*AddSpanReceiverResponseProto)(nil), // 5: hadoop.common.AddSpanReceiverResponseProto
+ (*RemoveSpanReceiverRequestProto)(nil), // 6: hadoop.common.RemoveSpanReceiverRequestProto
+ (*RemoveSpanReceiverResponseProto)(nil), // 7: hadoop.common.RemoveSpanReceiverResponseProto
+}
+var file_TraceAdmin_proto_depIdxs = []int32{
+ 1, // 0: hadoop.common.ListSpanReceiversResponseProto.descriptions:type_name -> hadoop.common.SpanReceiverListInfo
+ 3, // 1: hadoop.common.AddSpanReceiverRequestProto.config:type_name -> hadoop.common.ConfigPair
+ 0, // 2: hadoop.common.TraceAdminService.listSpanReceivers:input_type -> hadoop.common.ListSpanReceiversRequestProto
+ 4, // 3: hadoop.common.TraceAdminService.addSpanReceiver:input_type -> hadoop.common.AddSpanReceiverRequestProto
+ 6, // 4: hadoop.common.TraceAdminService.removeSpanReceiver:input_type -> hadoop.common.RemoveSpanReceiverRequestProto
+ 2, // 5: hadoop.common.TraceAdminService.listSpanReceivers:output_type -> hadoop.common.ListSpanReceiversResponseProto
+ 5, // 6: hadoop.common.TraceAdminService.addSpanReceiver:output_type -> hadoop.common.AddSpanReceiverResponseProto
+ 7, // 7: hadoop.common.TraceAdminService.removeSpanReceiver:output_type -> hadoop.common.RemoveSpanReceiverResponseProto
+ 5, // [5:8] is the sub-list for method output_type
+ 2, // [2:5] is the sub-list for method input_type
+ 2, // [2:2] is the sub-list for extension type_name
+ 2, // [2:2] is the sub-list for extension extendee
+ 0, // [0:2] is the sub-list for field type_name
+}
+
+func init() { file_TraceAdmin_proto_init() }
+func file_TraceAdmin_proto_init() {
+ if File_TraceAdmin_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_TraceAdmin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListSpanReceiversRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_TraceAdmin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SpanReceiverListInfo); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_TraceAdmin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListSpanReceiversResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_TraceAdmin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ConfigPair); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_TraceAdmin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AddSpanReceiverRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_TraceAdmin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AddSpanReceiverResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_TraceAdmin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveSpanReceiverRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_TraceAdmin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveSpanReceiverResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_TraceAdmin_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 8,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_TraceAdmin_proto_goTypes,
+ DependencyIndexes: file_TraceAdmin_proto_depIdxs,
+ MessageInfos: file_TraceAdmin_proto_msgTypes,
+ }.Build()
+ File_TraceAdmin_proto = out.File
+ file_TraceAdmin_proto_rawDesc = nil
+ file_TraceAdmin_proto_goTypes = nil
+ file_TraceAdmin_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/TraceAdmin.proto b/internal/protocol/hadoop_common/TraceAdmin.proto
index 52d2a90..14f6d5c 100644
--- a/internal/protocol/hadoop_common/TraceAdmin.proto
+++ b/internal/protocol/hadoop_common/TraceAdmin.proto
@@ -21,11 +21,12 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.tracing";
option java_outer_classname = "TraceAdminPB";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
message ListSpanReceiversRequestProto {
diff --git a/internal/protocol/hadoop_common/ZKFCProtocol.pb.go b/internal/protocol/hadoop_common/ZKFCProtocol.pb.go
index 97d2ac9..5a12fcf 100644
--- a/internal/protocol/hadoop_common/ZKFCProtocol.pb.go
+++ b/internal/protocol/hadoop_common/ZKFCProtocol.pb.go
@@ -1,85 +1,349 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: ZKFCProtocol.proto
package hadoop_common
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
type CedeActiveRequestProto struct {
- MillisToCede *uint32 `protobuf:"varint,1,req,name=millisToCede" json:"millisToCede,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ MillisToCede *uint32 `protobuf:"varint,1,req,name=millisToCede" json:"millisToCede,omitempty"`
+}
+
+func (x *CedeActiveRequestProto) Reset() {
+ *x = CedeActiveRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ZKFCProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CedeActiveRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CedeActiveRequestProto) Reset() { *m = CedeActiveRequestProto{} }
-func (m *CedeActiveRequestProto) String() string { return proto.CompactTextString(m) }
-func (*CedeActiveRequestProto) ProtoMessage() {}
-func (*CedeActiveRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
+func (*CedeActiveRequestProto) ProtoMessage() {}
-func (m *CedeActiveRequestProto) GetMillisToCede() uint32 {
- if m != nil && m.MillisToCede != nil {
- return *m.MillisToCede
+func (x *CedeActiveRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ZKFCProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CedeActiveRequestProto.ProtoReflect.Descriptor instead.
+func (*CedeActiveRequestProto) Descriptor() ([]byte, []int) {
+ return file_ZKFCProtocol_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *CedeActiveRequestProto) GetMillisToCede() uint32 {
+ if x != nil && x.MillisToCede != nil {
+ return *x.MillisToCede
}
return 0
}
type CedeActiveResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *CedeActiveResponseProto) Reset() { *m = CedeActiveResponseProto{} }
-func (m *CedeActiveResponseProto) String() string { return proto.CompactTextString(m) }
-func (*CedeActiveResponseProto) ProtoMessage() {}
-func (*CedeActiveResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
+func (x *CedeActiveResponseProto) Reset() {
+ *x = CedeActiveResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ZKFCProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CedeActiveResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CedeActiveResponseProto) ProtoMessage() {}
+
+func (x *CedeActiveResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ZKFCProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CedeActiveResponseProto.ProtoReflect.Descriptor instead.
+func (*CedeActiveResponseProto) Descriptor() ([]byte, []int) {
+ return file_ZKFCProtocol_proto_rawDescGZIP(), []int{1}
+}
type GracefulFailoverRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *GracefulFailoverRequestProto) Reset() { *m = GracefulFailoverRequestProto{} }
-func (m *GracefulFailoverRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GracefulFailoverRequestProto) ProtoMessage() {}
-func (*GracefulFailoverRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
+func (x *GracefulFailoverRequestProto) Reset() {
+ *x = GracefulFailoverRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ZKFCProtocol_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GracefulFailoverRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GracefulFailoverRequestProto) ProtoMessage() {}
+
+func (x *GracefulFailoverRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ZKFCProtocol_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GracefulFailoverRequestProto.ProtoReflect.Descriptor instead.
+func (*GracefulFailoverRequestProto) Descriptor() ([]byte, []int) {
+ return file_ZKFCProtocol_proto_rawDescGZIP(), []int{2}
+}
type GracefulFailoverResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *GracefulFailoverResponseProto) Reset() { *m = GracefulFailoverResponseProto{} }
-func (m *GracefulFailoverResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GracefulFailoverResponseProto) ProtoMessage() {}
-func (*GracefulFailoverResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
-
-func init() {
- proto.RegisterType((*CedeActiveRequestProto)(nil), "hadoop.common.CedeActiveRequestProto")
- proto.RegisterType((*CedeActiveResponseProto)(nil), "hadoop.common.CedeActiveResponseProto")
- proto.RegisterType((*GracefulFailoverRequestProto)(nil), "hadoop.common.GracefulFailoverRequestProto")
- proto.RegisterType((*GracefulFailoverResponseProto)(nil), "hadoop.common.GracefulFailoverResponseProto")
-}
-
-func init() { proto.RegisterFile("ZKFCProtocol.proto", fileDescriptor1) }
-
-var fileDescriptor1 = []byte{
- // 238 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x8a, 0xf2, 0x76, 0x73,
- 0x0e, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0xce, 0xcf, 0xd1, 0x2b, 0x00, 0x31, 0x84, 0x78, 0x33, 0x12,
- 0x53, 0xf2, 0xf3, 0x0b, 0xf4, 0x92, 0xf3, 0x73, 0x73, 0xf3, 0xf3, 0x94, 0x6c, 0xb8, 0xc4, 0x9c,
- 0x53, 0x53, 0x52, 0x1d, 0x93, 0x4b, 0x32, 0xcb, 0x52, 0x83, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b,
- 0xc0, 0x3a, 0x84, 0x94, 0xb8, 0x78, 0x72, 0x33, 0x73, 0x72, 0x32, 0x8b, 0x43, 0xf2, 0x41, 0x2a,
- 0x24, 0x18, 0x15, 0x98, 0x34, 0x78, 0x83, 0x50, 0xc4, 0x94, 0x24, 0xb9, 0xc4, 0x91, 0x75, 0x17,
- 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0x82, 0xb5, 0x2b, 0xc9, 0x71, 0xc9, 0xb8, 0x17, 0x25, 0x26, 0xa7,
- 0xa6, 0x95, 0xe6, 0xb8, 0x25, 0x66, 0xe6, 0xe4, 0x97, 0xa5, 0x16, 0x21, 0x1b, 0xaf, 0x24, 0xcf,
- 0x25, 0x8b, 0x29, 0x8f, 0x64, 0x80, 0xd1, 0x43, 0x46, 0x2e, 0x61, 0x64, 0xf7, 0x07, 0xa7, 0x16,
- 0x95, 0x65, 0x26, 0xa7, 0x0a, 0x45, 0x73, 0x71, 0x25, 0xc3, 0xed, 0x14, 0x52, 0xd5, 0x43, 0xf1,
- 0x8f, 0x1e, 0x76, 0xcf, 0x48, 0xa9, 0xe1, 0x51, 0x86, 0x64, 0xa9, 0x50, 0x2e, 0x97, 0x40, 0x3a,
- 0x9a, 0xab, 0x84, 0xb4, 0xd1, 0xf4, 0xe2, 0xf3, 0x96, 0x94, 0x0e, 0x41, 0xc5, 0x48, 0xd6, 0x39,
- 0x99, 0x71, 0x49, 0xe5, 0x17, 0xa5, 0xeb, 0x25, 0x16, 0x24, 0x26, 0x67, 0xa4, 0xc2, 0x74, 0x66,
- 0x24, 0x42, 0xa2, 0xca, 0x09, 0x25, 0xfa, 0xc0, 0x74, 0x71, 0x07, 0x23, 0xe3, 0x02, 0x46, 0x46,
- 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x73, 0xcc, 0xde, 0xd9, 0x01, 0x00, 0x00,
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *GracefulFailoverResponseProto) Reset() {
+ *x = GracefulFailoverResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ZKFCProtocol_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GracefulFailoverResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GracefulFailoverResponseProto) ProtoMessage() {}
+
+func (x *GracefulFailoverResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ZKFCProtocol_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GracefulFailoverResponseProto.ProtoReflect.Descriptor instead.
+func (*GracefulFailoverResponseProto) Descriptor() ([]byte, []int) {
+ return file_ZKFCProtocol_proto_rawDescGZIP(), []int{3}
+}
+
+var File_ZKFCProtocol_proto protoreflect.FileDescriptor
+
+var file_ZKFCProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x12, 0x5a, 0x4b, 0x46, 0x43, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x6f, 0x6e, 0x22, 0x3c, 0x0a, 0x16, 0x43, 0x65, 0x64, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a,
+ 0x0c, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x54, 0x6f, 0x43, 0x65, 0x64, 0x65, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x54, 0x6f, 0x43, 0x65, 0x64,
+ 0x65, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x65, 0x64, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x1c,
+ 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d,
+ 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xe1, 0x01,
+ 0x0a, 0x13, 0x5a, 0x4b, 0x46, 0x43, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x65,
+ 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x0a, 0x63, 0x65, 0x64, 0x65, 0x41, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x12, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x65, 0x64, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x65, 0x64, 0x65, 0x41,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x6d, 0x0a, 0x10, 0x67, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x46, 0x61,
+ 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x46,
+ 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x46, 0x61, 0x69, 0x6c,
+ 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x42, 0x74, 0x0a, 0x1a, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42,
+ 0x12, 0x5a, 0x4b, 0x46, 0x43, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x73, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
+ 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76,
+ 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
+ 0x6e, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_ZKFCProtocol_proto_rawDescOnce sync.Once
+ file_ZKFCProtocol_proto_rawDescData = file_ZKFCProtocol_proto_rawDesc
+)
+
+func file_ZKFCProtocol_proto_rawDescGZIP() []byte {
+ file_ZKFCProtocol_proto_rawDescOnce.Do(func() {
+ file_ZKFCProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_ZKFCProtocol_proto_rawDescData)
+ })
+ return file_ZKFCProtocol_proto_rawDescData
+}
+
+var file_ZKFCProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
+var file_ZKFCProtocol_proto_goTypes = []interface{}{
+ (*CedeActiveRequestProto)(nil), // 0: hadoop.common.CedeActiveRequestProto
+ (*CedeActiveResponseProto)(nil), // 1: hadoop.common.CedeActiveResponseProto
+ (*GracefulFailoverRequestProto)(nil), // 2: hadoop.common.GracefulFailoverRequestProto
+ (*GracefulFailoverResponseProto)(nil), // 3: hadoop.common.GracefulFailoverResponseProto
+}
+var file_ZKFCProtocol_proto_depIdxs = []int32{
+ 0, // 0: hadoop.common.ZKFCProtocolService.cedeActive:input_type -> hadoop.common.CedeActiveRequestProto
+ 2, // 1: hadoop.common.ZKFCProtocolService.gracefulFailover:input_type -> hadoop.common.GracefulFailoverRequestProto
+ 1, // 2: hadoop.common.ZKFCProtocolService.cedeActive:output_type -> hadoop.common.CedeActiveResponseProto
+ 3, // 3: hadoop.common.ZKFCProtocolService.gracefulFailover:output_type -> hadoop.common.GracefulFailoverResponseProto
+ 2, // [2:4] is the sub-list for method output_type
+ 0, // [0:2] is the sub-list for method input_type
+ 0, // [0:0] is the sub-list for extension type_name
+ 0, // [0:0] is the sub-list for extension extendee
+ 0, // [0:0] is the sub-list for field type_name
+}
+
+func init() { file_ZKFCProtocol_proto_init() }
+func file_ZKFCProtocol_proto_init() {
+ if File_ZKFCProtocol_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_ZKFCProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CedeActiveRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ZKFCProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CedeActiveResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ZKFCProtocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GracefulFailoverRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ZKFCProtocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GracefulFailoverResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_ZKFCProtocol_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 4,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_ZKFCProtocol_proto_goTypes,
+ DependencyIndexes: file_ZKFCProtocol_proto_depIdxs,
+ MessageInfos: file_ZKFCProtocol_proto_msgTypes,
+ }.Build()
+ File_ZKFCProtocol_proto = out.File
+ file_ZKFCProtocol_proto_rawDesc = nil
+ file_ZKFCProtocol_proto_goTypes = nil
+ file_ZKFCProtocol_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_common/ZKFCProtocol.proto b/internal/protocol/hadoop_common/ZKFCProtocol.proto
index a2b8dd1..784c24b 100644
--- a/internal/protocol/hadoop_common/ZKFCProtocol.proto
+++ b/internal/protocol/hadoop_common/ZKFCProtocol.proto
@@ -21,11 +21,12 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax = "proto2";
option java_package = "org.apache.hadoop.ha.proto";
option java_outer_classname = "ZKFCProtocolProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common";
package hadoop.common;
message CedeActiveRequestProto {
diff --git a/internal/protocol/hadoop_hdfs/AliasMapProtocol.pb.go b/internal/protocol/hadoop_hdfs/AliasMapProtocol.pb.go
new file mode 100644
index 0000000..71d7b85
--- /dev/null
+++ b/internal/protocol/hadoop_hdfs/AliasMapProtocol.pb.go
@@ -0,0 +1,725 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
+// source: AliasMapProtocol.proto
+
+package hadoop_hdfs
+
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
+
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
+
+type KeyValueProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Key *BlockProto `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
+ Value *ProvidedStorageLocationProto `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
+}
+
+func (x *KeyValueProto) Reset() {
+ *x = KeyValueProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_AliasMapProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *KeyValueProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*KeyValueProto) ProtoMessage() {}
+
+func (x *KeyValueProto) ProtoReflect() protoreflect.Message {
+ mi := &file_AliasMapProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use KeyValueProto.ProtoReflect.Descriptor instead.
+func (*KeyValueProto) Descriptor() ([]byte, []int) {
+ return file_AliasMapProtocol_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *KeyValueProto) GetKey() *BlockProto {
+ if x != nil {
+ return x.Key
+ }
+ return nil
+}
+
+func (x *KeyValueProto) GetValue() *ProvidedStorageLocationProto {
+ if x != nil {
+ return x.Value
+ }
+ return nil
+}
+
+type WriteRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ KeyValuePair *KeyValueProto `protobuf:"bytes,1,req,name=keyValuePair" json:"keyValuePair,omitempty"`
+}
+
+func (x *WriteRequestProto) Reset() {
+ *x = WriteRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_AliasMapProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *WriteRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*WriteRequestProto) ProtoMessage() {}
+
+func (x *WriteRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_AliasMapProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use WriteRequestProto.ProtoReflect.Descriptor instead.
+func (*WriteRequestProto) Descriptor() ([]byte, []int) {
+ return file_AliasMapProtocol_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *WriteRequestProto) GetKeyValuePair() *KeyValueProto {
+ if x != nil {
+ return x.KeyValuePair
+ }
+ return nil
+}
+
+type WriteResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *WriteResponseProto) Reset() {
+ *x = WriteResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_AliasMapProtocol_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *WriteResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*WriteResponseProto) ProtoMessage() {}
+
+func (x *WriteResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_AliasMapProtocol_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use WriteResponseProto.ProtoReflect.Descriptor instead.
+func (*WriteResponseProto) Descriptor() ([]byte, []int) {
+ return file_AliasMapProtocol_proto_rawDescGZIP(), []int{2}
+}
+
+type ReadRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Key *BlockProto `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
+}
+
+func (x *ReadRequestProto) Reset() {
+ *x = ReadRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_AliasMapProtocol_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ReadRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ReadRequestProto) ProtoMessage() {}
+
+func (x *ReadRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_AliasMapProtocol_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ReadRequestProto.ProtoReflect.Descriptor instead.
+func (*ReadRequestProto) Descriptor() ([]byte, []int) {
+ return file_AliasMapProtocol_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *ReadRequestProto) GetKey() *BlockProto {
+ if x != nil {
+ return x.Key
+ }
+ return nil
+}
+
+type ReadResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Value *ProvidedStorageLocationProto `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
+}
+
+func (x *ReadResponseProto) Reset() {
+ *x = ReadResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_AliasMapProtocol_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ReadResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ReadResponseProto) ProtoMessage() {}
+
+func (x *ReadResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_AliasMapProtocol_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ReadResponseProto.ProtoReflect.Descriptor instead.
+func (*ReadResponseProto) Descriptor() ([]byte, []int) {
+ return file_AliasMapProtocol_proto_rawDescGZIP(), []int{4}
+}
+
+func (x *ReadResponseProto) GetValue() *ProvidedStorageLocationProto {
+ if x != nil {
+ return x.Value
+ }
+ return nil
+}
+
+type ListRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Marker *BlockProto `protobuf:"bytes,1,opt,name=marker" json:"marker,omitempty"`
+}
+
+func (x *ListRequestProto) Reset() {
+ *x = ListRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_AliasMapProtocol_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListRequestProto) ProtoMessage() {}
+
+func (x *ListRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_AliasMapProtocol_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListRequestProto.ProtoReflect.Descriptor instead.
+func (*ListRequestProto) Descriptor() ([]byte, []int) {
+ return file_AliasMapProtocol_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *ListRequestProto) GetMarker() *BlockProto {
+ if x != nil {
+ return x.Marker
+ }
+ return nil
+}
+
+type ListResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ FileRegions []*KeyValueProto `protobuf:"bytes,1,rep,name=fileRegions" json:"fileRegions,omitempty"`
+ NextMarker *BlockProto `protobuf:"bytes,2,opt,name=nextMarker" json:"nextMarker,omitempty"`
+}
+
+func (x *ListResponseProto) Reset() {
+ *x = ListResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_AliasMapProtocol_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListResponseProto) ProtoMessage() {}
+
+func (x *ListResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_AliasMapProtocol_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListResponseProto.ProtoReflect.Descriptor instead.
+func (*ListResponseProto) Descriptor() ([]byte, []int) {
+ return file_AliasMapProtocol_proto_rawDescGZIP(), []int{6}
+}
+
+func (x *ListResponseProto) GetFileRegions() []*KeyValueProto {
+ if x != nil {
+ return x.FileRegions
+ }
+ return nil
+}
+
+func (x *ListResponseProto) GetNextMarker() *BlockProto {
+ if x != nil {
+ return x.NextMarker
+ }
+ return nil
+}
+
+type BlockPoolRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *BlockPoolRequestProto) Reset() {
+ *x = BlockPoolRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_AliasMapProtocol_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BlockPoolRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BlockPoolRequestProto) ProtoMessage() {}
+
+func (x *BlockPoolRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_AliasMapProtocol_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BlockPoolRequestProto.ProtoReflect.Descriptor instead.
+func (*BlockPoolRequestProto) Descriptor() ([]byte, []int) {
+ return file_AliasMapProtocol_proto_rawDescGZIP(), []int{7}
+}
+
+type BlockPoolResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BlockPoolId *string `protobuf:"bytes,1,req,name=blockPoolId" json:"blockPoolId,omitempty"`
+}
+
+func (x *BlockPoolResponseProto) Reset() {
+ *x = BlockPoolResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_AliasMapProtocol_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BlockPoolResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BlockPoolResponseProto) ProtoMessage() {}
+
+func (x *BlockPoolResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_AliasMapProtocol_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BlockPoolResponseProto.ProtoReflect.Descriptor instead.
+func (*BlockPoolResponseProto) Descriptor() ([]byte, []int) {
+ return file_AliasMapProtocol_proto_rawDescGZIP(), []int{8}
+}
+
+func (x *BlockPoolResponseProto) GetBlockPoolId() string {
+ if x != nil && x.BlockPoolId != nil {
+ return *x.BlockPoolId
+ }
+ return ""
+}
+
+var File_AliasMapProtocol_proto protoreflect.FileDescriptor
+
+var file_AliasMapProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x16, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4d, 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
+ 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x1a, 0x0a, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x22, 0x7b, 0x0a, 0x0d, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x29, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3f, 0x0a,
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69,
+ 0x64, 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x53,
+ 0x0a, 0x11, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x3e, 0x0a, 0x0c, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50,
+ 0x61, 0x69, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0c, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50,
+ 0x61, 0x69, 0x72, 0x22, 0x14, 0x0a, 0x12, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x10, 0x52, 0x65, 0x61,
+ 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x0a,
+ 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x54, 0x0a, 0x11, 0x52, 0x65, 0x61, 0x64,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3f, 0x0a,
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69,
+ 0x64, 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x43,
+ 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x2f, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x72, 0x22, 0x8a, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3c, 0x0a, 0x0b, 0x66, 0x69, 0x6c,
+ 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4b, 0x65, 0x79,
+ 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65,
+ 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x0a, 0x6e, 0x65, 0x78, 0x74, 0x4d,
+ 0x61, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x6e, 0x65, 0x78, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x72,
+ 0x22, 0x17, 0x0a, 0x15, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x16, 0x42, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c,
+ 0x49, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
+ 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x32, 0xcc, 0x02, 0x0a, 0x17, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4d,
+ 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
+ 0x65, 0x12, 0x48, 0x0a, 0x05, 0x77, 0x72, 0x69, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x45, 0x0a, 0x04, 0x72,
+ 0x65, 0x61, 0x64, 0x12, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x1a, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x45, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x59, 0x0a, 0x0e, 0x67, 0x65, 0x74,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x12, 0x22, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
+ 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
+ 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x81, 0x01, 0x0a, 0x25, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61,
+ 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x16,
+ 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4d, 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
+ 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66,
+ 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x68, 0x64,
+ 0x66, 0x73, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_AliasMapProtocol_proto_rawDescOnce sync.Once
+ file_AliasMapProtocol_proto_rawDescData = file_AliasMapProtocol_proto_rawDesc
+)
+
+func file_AliasMapProtocol_proto_rawDescGZIP() []byte {
+ file_AliasMapProtocol_proto_rawDescOnce.Do(func() {
+ file_AliasMapProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_AliasMapProtocol_proto_rawDescData)
+ })
+ return file_AliasMapProtocol_proto_rawDescData
+}
+
+var file_AliasMapProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
+var file_AliasMapProtocol_proto_goTypes = []interface{}{
+ (*KeyValueProto)(nil), // 0: hadoop.hdfs.KeyValueProto
+ (*WriteRequestProto)(nil), // 1: hadoop.hdfs.WriteRequestProto
+ (*WriteResponseProto)(nil), // 2: hadoop.hdfs.WriteResponseProto
+ (*ReadRequestProto)(nil), // 3: hadoop.hdfs.ReadRequestProto
+ (*ReadResponseProto)(nil), // 4: hadoop.hdfs.ReadResponseProto
+ (*ListRequestProto)(nil), // 5: hadoop.hdfs.ListRequestProto
+ (*ListResponseProto)(nil), // 6: hadoop.hdfs.ListResponseProto
+ (*BlockPoolRequestProto)(nil), // 7: hadoop.hdfs.BlockPoolRequestProto
+ (*BlockPoolResponseProto)(nil), // 8: hadoop.hdfs.BlockPoolResponseProto
+ (*BlockProto)(nil), // 9: hadoop.hdfs.BlockProto
+ (*ProvidedStorageLocationProto)(nil), // 10: hadoop.hdfs.ProvidedStorageLocationProto
+}
+var file_AliasMapProtocol_proto_depIdxs = []int32{
+ 9, // 0: hadoop.hdfs.KeyValueProto.key:type_name -> hadoop.hdfs.BlockProto
+ 10, // 1: hadoop.hdfs.KeyValueProto.value:type_name -> hadoop.hdfs.ProvidedStorageLocationProto
+ 0, // 2: hadoop.hdfs.WriteRequestProto.keyValuePair:type_name -> hadoop.hdfs.KeyValueProto
+ 9, // 3: hadoop.hdfs.ReadRequestProto.key:type_name -> hadoop.hdfs.BlockProto
+ 10, // 4: hadoop.hdfs.ReadResponseProto.value:type_name -> hadoop.hdfs.ProvidedStorageLocationProto
+ 9, // 5: hadoop.hdfs.ListRequestProto.marker:type_name -> hadoop.hdfs.BlockProto
+ 0, // 6: hadoop.hdfs.ListResponseProto.fileRegions:type_name -> hadoop.hdfs.KeyValueProto
+ 9, // 7: hadoop.hdfs.ListResponseProto.nextMarker:type_name -> hadoop.hdfs.BlockProto
+ 1, // 8: hadoop.hdfs.AliasMapProtocolService.write:input_type -> hadoop.hdfs.WriteRequestProto
+ 3, // 9: hadoop.hdfs.AliasMapProtocolService.read:input_type -> hadoop.hdfs.ReadRequestProto
+ 5, // 10: hadoop.hdfs.AliasMapProtocolService.list:input_type -> hadoop.hdfs.ListRequestProto
+ 7, // 11: hadoop.hdfs.AliasMapProtocolService.getBlockPoolId:input_type -> hadoop.hdfs.BlockPoolRequestProto
+ 2, // 12: hadoop.hdfs.AliasMapProtocolService.write:output_type -> hadoop.hdfs.WriteResponseProto
+ 4, // 13: hadoop.hdfs.AliasMapProtocolService.read:output_type -> hadoop.hdfs.ReadResponseProto
+ 6, // 14: hadoop.hdfs.AliasMapProtocolService.list:output_type -> hadoop.hdfs.ListResponseProto
+ 8, // 15: hadoop.hdfs.AliasMapProtocolService.getBlockPoolId:output_type -> hadoop.hdfs.BlockPoolResponseProto
+ 12, // [12:16] is the sub-list for method output_type
+ 8, // [8:12] is the sub-list for method input_type
+ 8, // [8:8] is the sub-list for extension type_name
+ 8, // [8:8] is the sub-list for extension extendee
+ 0, // [0:8] is the sub-list for field type_name
+}
+
+func init() { file_AliasMapProtocol_proto_init() }
+func file_AliasMapProtocol_proto_init() {
+ if File_AliasMapProtocol_proto != nil {
+ return
+ }
+ file_hdfs_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_AliasMapProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*KeyValueProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_AliasMapProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*WriteRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_AliasMapProtocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*WriteResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_AliasMapProtocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ReadRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_AliasMapProtocol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ReadResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_AliasMapProtocol_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_AliasMapProtocol_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_AliasMapProtocol_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BlockPoolRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_AliasMapProtocol_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BlockPoolResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_AliasMapProtocol_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 9,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_AliasMapProtocol_proto_goTypes,
+ DependencyIndexes: file_AliasMapProtocol_proto_depIdxs,
+ MessageInfos: file_AliasMapProtocol_proto_msgTypes,
+ }.Build()
+ File_AliasMapProtocol_proto = out.File
+ file_AliasMapProtocol_proto_rawDesc = nil
+ file_AliasMapProtocol_proto_goTypes = nil
+ file_AliasMapProtocol_proto_depIdxs = nil
+}
diff --git a/internal/protocol/hadoop_hdfs/AliasMapProtocol.proto b/internal/protocol/hadoop_hdfs/AliasMapProtocol.proto
new file mode 100644
index 0000000..42b1788
--- /dev/null
+++ b/internal/protocol/hadoop_hdfs/AliasMapProtocol.proto
@@ -0,0 +1,69 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+syntax = "proto2";
+option java_package = "org.apache.hadoop.hdfs.protocol.proto";
+option java_outer_classname = "AliasMapProtocolProtos";
+option java_generic_services = true;
+option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
+package hadoop.hdfs;
+
+import "hdfs.proto";
+
+message KeyValueProto {
+ optional BlockProto key = 1;
+ optional ProvidedStorageLocationProto value = 2;
+}
+
+message WriteRequestProto {
+ required KeyValueProto keyValuePair = 1;
+}
+
+message WriteResponseProto {
+}
+
+message ReadRequestProto {
+ required BlockProto key = 1;
+}
+
+message ReadResponseProto {
+ optional ProvidedStorageLocationProto value = 1;
+}
+
+message ListRequestProto {
+ optional BlockProto marker = 1;
+}
+
+message ListResponseProto {
+ repeated KeyValueProto fileRegions = 1;
+ optional BlockProto nextMarker = 2;
+}
+
+message BlockPoolRequestProto {
+}
+
+message BlockPoolResponseProto {
+ required string blockPoolId = 1;
+}
+
+service AliasMapProtocolService {
+ rpc write(WriteRequestProto) returns(WriteResponseProto);
+ rpc read(ReadRequestProto) returns(ReadResponseProto);
+ rpc list(ListRequestProto) returns(ListResponseProto);
+ rpc getBlockPoolId(BlockPoolRequestProto) returns(BlockPoolResponseProto);
+}
diff --git a/internal/protocol/hadoop_hdfs/ClientDatanodeProtocol.pb.go b/internal/protocol/hadoop_hdfs/ClientDatanodeProtocol.pb.go
index 6cd853c..e82acba 100644
--- a/internal/protocol/hadoop_hdfs/ClientDatanodeProtocol.pb.go
+++ b/internal/protocol/hadoop_hdfs/ClientDatanodeProtocol.pb.go
@@ -1,407 +1,2124 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: ClientDatanodeProtocol.proto
package hadoop_hdfs
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-import hadoop_common "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
+import (
+ hadoop_common "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// block - block for which visible length is requested
type GetReplicaVisibleLengthRequestProto struct {
- Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
}
-func (m *GetReplicaVisibleLengthRequestProto) Reset() { *m = GetReplicaVisibleLengthRequestProto{} }
-func (m *GetReplicaVisibleLengthRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetReplicaVisibleLengthRequestProto) ProtoMessage() {}
+func (x *GetReplicaVisibleLengthRequestProto) Reset() {
+ *x = GetReplicaVisibleLengthRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetReplicaVisibleLengthRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetReplicaVisibleLengthRequestProto) ProtoMessage() {}
+
+func (x *GetReplicaVisibleLengthRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetReplicaVisibleLengthRequestProto.ProtoReflect.Descriptor instead.
func (*GetReplicaVisibleLengthRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor6, []int{0}
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{0}
}
-func (m *GetReplicaVisibleLengthRequestProto) GetBlock() *ExtendedBlockProto {
- if m != nil {
- return m.Block
+func (x *GetReplicaVisibleLengthRequestProto) GetBlock() *ExtendedBlockProto {
+ if x != nil {
+ return x.Block
}
return nil
}
-// *
+//*
// length - visible length of the block
type GetReplicaVisibleLengthResponseProto struct {
- Length *uint64 `protobuf:"varint,1,req,name=length" json:"length,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Length *uint64 `protobuf:"varint,1,req,name=length" json:"length,omitempty"`
+}
+
+func (x *GetReplicaVisibleLengthResponseProto) Reset() {
+ *x = GetReplicaVisibleLengthResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetReplicaVisibleLengthResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetReplicaVisibleLengthResponseProto) ProtoMessage() {}
+
+func (x *GetReplicaVisibleLengthResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GetReplicaVisibleLengthResponseProto) Reset() { *m = GetReplicaVisibleLengthResponseProto{} }
-func (m *GetReplicaVisibleLengthResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetReplicaVisibleLengthResponseProto) ProtoMessage() {}
+// Deprecated: Use GetReplicaVisibleLengthResponseProto.ProtoReflect.Descriptor instead.
func (*GetReplicaVisibleLengthResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor6, []int{1}
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{1}
}
-func (m *GetReplicaVisibleLengthResponseProto) GetLength() uint64 {
- if m != nil && m.Length != nil {
- return *m.Length
+func (x *GetReplicaVisibleLengthResponseProto) GetLength() uint64 {
+ if x != nil && x.Length != nil {
+ return *x.Length
}
return 0
}
-// *
+//*
// void request
type RefreshNamenodesRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *RefreshNamenodesRequestProto) Reset() { *m = RefreshNamenodesRequestProto{} }
-func (m *RefreshNamenodesRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RefreshNamenodesRequestProto) ProtoMessage() {}
-func (*RefreshNamenodesRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{2} }
+func (x *RefreshNamenodesRequestProto) Reset() {
+ *x = RefreshNamenodesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RefreshNamenodesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RefreshNamenodesRequestProto) ProtoMessage() {}
+
+func (x *RefreshNamenodesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RefreshNamenodesRequestProto.ProtoReflect.Descriptor instead.
+func (*RefreshNamenodesRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{2}
+}
-// *
+//*
// void response
type RefreshNamenodesResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RefreshNamenodesResponseProto) Reset() {
+ *x = RefreshNamenodesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RefreshNamenodesResponseProto) Reset() { *m = RefreshNamenodesResponseProto{} }
-func (m *RefreshNamenodesResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RefreshNamenodesResponseProto) ProtoMessage() {}
-func (*RefreshNamenodesResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{3} }
+func (x *RefreshNamenodesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RefreshNamenodesResponseProto) ProtoMessage() {}
+
+func (x *RefreshNamenodesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RefreshNamenodesResponseProto.ProtoReflect.Descriptor instead.
+func (*RefreshNamenodesResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{3}
+}
-// *
+//*
// blockPool - block pool to be deleted
// force - if false, delete the block pool only if it is empty.
// if true, delete the block pool even if it has blocks.
type DeleteBlockPoolRequestProto struct {
- BlockPool *string `protobuf:"bytes,1,req,name=blockPool" json:"blockPool,omitempty"`
- Force *bool `protobuf:"varint,2,req,name=force" json:"force,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BlockPool *string `protobuf:"bytes,1,req,name=blockPool" json:"blockPool,omitempty"`
+ Force *bool `protobuf:"varint,2,req,name=force" json:"force,omitempty"`
+}
+
+func (x *DeleteBlockPoolRequestProto) Reset() {
+ *x = DeleteBlockPoolRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DeleteBlockPoolRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *DeleteBlockPoolRequestProto) Reset() { *m = DeleteBlockPoolRequestProto{} }
-func (m *DeleteBlockPoolRequestProto) String() string { return proto.CompactTextString(m) }
-func (*DeleteBlockPoolRequestProto) ProtoMessage() {}
-func (*DeleteBlockPoolRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{4} }
+func (*DeleteBlockPoolRequestProto) ProtoMessage() {}
-func (m *DeleteBlockPoolRequestProto) GetBlockPool() string {
- if m != nil && m.BlockPool != nil {
- return *m.BlockPool
+func (x *DeleteBlockPoolRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DeleteBlockPoolRequestProto.ProtoReflect.Descriptor instead.
+func (*DeleteBlockPoolRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{4}
+}
+
+func (x *DeleteBlockPoolRequestProto) GetBlockPool() string {
+ if x != nil && x.BlockPool != nil {
+ return *x.BlockPool
}
return ""
}
-func (m *DeleteBlockPoolRequestProto) GetForce() bool {
- if m != nil && m.Force != nil {
- return *m.Force
+func (x *DeleteBlockPoolRequestProto) GetForce() bool {
+ if x != nil && x.Force != nil {
+ return *x.Force
}
return false
}
-// *
+//*
// void response
type DeleteBlockPoolResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *DeleteBlockPoolResponseProto) Reset() { *m = DeleteBlockPoolResponseProto{} }
-func (m *DeleteBlockPoolResponseProto) String() string { return proto.CompactTextString(m) }
-func (*DeleteBlockPoolResponseProto) ProtoMessage() {}
-func (*DeleteBlockPoolResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{5} }
+func (x *DeleteBlockPoolResponseProto) Reset() {
+ *x = DeleteBlockPoolResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DeleteBlockPoolResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-// *
+func (*DeleteBlockPoolResponseProto) ProtoMessage() {}
+
+func (x *DeleteBlockPoolResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DeleteBlockPoolResponseProto.ProtoReflect.Descriptor instead.
+func (*DeleteBlockPoolResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{5}
+}
+
+//*
// Gets the file information where block and its metadata is stored
// block - block for which path information is being requested
// token - block token
//
// This message is deprecated in favor of file descriptor passing.
type GetBlockLocalPathInfoRequestProto struct {
- Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
- Token *hadoop_common.TokenProto `protobuf:"bytes,2,req,name=token" json:"token,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
+ Token *hadoop_common.TokenProto `protobuf:"bytes,2,req,name=token" json:"token,omitempty"`
+}
+
+func (x *GetBlockLocalPathInfoRequestProto) Reset() {
+ *x = GetBlockLocalPathInfoRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetBlockLocalPathInfoRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetBlockLocalPathInfoRequestProto) Reset() { *m = GetBlockLocalPathInfoRequestProto{} }
-func (m *GetBlockLocalPathInfoRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetBlockLocalPathInfoRequestProto) ProtoMessage() {}
+func (*GetBlockLocalPathInfoRequestProto) ProtoMessage() {}
+
+func (x *GetBlockLocalPathInfoRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetBlockLocalPathInfoRequestProto.ProtoReflect.Descriptor instead.
func (*GetBlockLocalPathInfoRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor6, []int{6}
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{6}
}
-func (m *GetBlockLocalPathInfoRequestProto) GetBlock() *ExtendedBlockProto {
- if m != nil {
- return m.Block
+func (x *GetBlockLocalPathInfoRequestProto) GetBlock() *ExtendedBlockProto {
+ if x != nil {
+ return x.Block
}
return nil
}
-func (m *GetBlockLocalPathInfoRequestProto) GetToken() *hadoop_common.TokenProto {
- if m != nil {
- return m.Token
+func (x *GetBlockLocalPathInfoRequestProto) GetToken() *hadoop_common.TokenProto {
+ if x != nil {
+ return x.Token
}
return nil
}
-// *
+//*
// block - block for which file path information is being returned
// localPath - file path where the block data is stored
// localMetaPath - file path where the block meta data is stored
//
// This message is deprecated in favor of file descriptor passing.
type GetBlockLocalPathInfoResponseProto struct {
- Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
- LocalPath *string `protobuf:"bytes,2,req,name=localPath" json:"localPath,omitempty"`
- LocalMetaPath *string `protobuf:"bytes,3,req,name=localMetaPath" json:"localMetaPath,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
+ LocalPath *string `protobuf:"bytes,2,req,name=localPath" json:"localPath,omitempty"`
+ LocalMetaPath *string `protobuf:"bytes,3,req,name=localMetaPath" json:"localMetaPath,omitempty"`
+}
+
+func (x *GetBlockLocalPathInfoResponseProto) Reset() {
+ *x = GetBlockLocalPathInfoResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetBlockLocalPathInfoResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetBlockLocalPathInfoResponseProto) ProtoMessage() {}
+
+func (x *GetBlockLocalPathInfoResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GetBlockLocalPathInfoResponseProto) Reset() { *m = GetBlockLocalPathInfoResponseProto{} }
-func (m *GetBlockLocalPathInfoResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetBlockLocalPathInfoResponseProto) ProtoMessage() {}
+// Deprecated: Use GetBlockLocalPathInfoResponseProto.ProtoReflect.Descriptor instead.
func (*GetBlockLocalPathInfoResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor6, []int{7}
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{7}
}
-func (m *GetBlockLocalPathInfoResponseProto) GetBlock() *ExtendedBlockProto {
- if m != nil {
- return m.Block
+func (x *GetBlockLocalPathInfoResponseProto) GetBlock() *ExtendedBlockProto {
+ if x != nil {
+ return x.Block
}
return nil
}
-func (m *GetBlockLocalPathInfoResponseProto) GetLocalPath() string {
- if m != nil && m.LocalPath != nil {
- return *m.LocalPath
+func (x *GetBlockLocalPathInfoResponseProto) GetLocalPath() string {
+ if x != nil && x.LocalPath != nil {
+ return *x.LocalPath
}
return ""
}
-func (m *GetBlockLocalPathInfoResponseProto) GetLocalMetaPath() string {
- if m != nil && m.LocalMetaPath != nil {
- return *m.LocalMetaPath
+func (x *GetBlockLocalPathInfoResponseProto) GetLocalMetaPath() string {
+ if x != nil && x.LocalMetaPath != nil {
+ return *x.LocalMetaPath
}
return ""
}
-// *
+//*
// forUpgrade - if true, clients are advised to wait for restart and quick
// upgrade restart is instrumented. Otherwise, datanode does
// the regular shutdown.
type ShutdownDatanodeRequestProto struct {
- ForUpgrade *bool `protobuf:"varint,1,req,name=forUpgrade" json:"forUpgrade,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ForUpgrade *bool `protobuf:"varint,1,req,name=forUpgrade" json:"forUpgrade,omitempty"`
}
-func (m *ShutdownDatanodeRequestProto) Reset() { *m = ShutdownDatanodeRequestProto{} }
-func (m *ShutdownDatanodeRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ShutdownDatanodeRequestProto) ProtoMessage() {}
-func (*ShutdownDatanodeRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{8} }
+func (x *ShutdownDatanodeRequestProto) Reset() {
+ *x = ShutdownDatanodeRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ShutdownDatanodeRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ShutdownDatanodeRequestProto) ProtoMessage() {}
+
+func (x *ShutdownDatanodeRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ShutdownDatanodeRequestProto.ProtoReflect.Descriptor instead.
+func (*ShutdownDatanodeRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{8}
+}
-func (m *ShutdownDatanodeRequestProto) GetForUpgrade() bool {
- if m != nil && m.ForUpgrade != nil {
- return *m.ForUpgrade
+func (x *ShutdownDatanodeRequestProto) GetForUpgrade() bool {
+ if x != nil && x.ForUpgrade != nil {
+ return *x.ForUpgrade
}
return false
}
type ShutdownDatanodeResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *ShutdownDatanodeResponseProto) Reset() { *m = ShutdownDatanodeResponseProto{} }
-func (m *ShutdownDatanodeResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ShutdownDatanodeResponseProto) ProtoMessage() {}
-func (*ShutdownDatanodeResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{9} }
+func (x *ShutdownDatanodeResponseProto) Reset() {
+ *x = ShutdownDatanodeResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-// * Tell datanode to evict active clients that are writing
+func (x *ShutdownDatanodeResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ShutdownDatanodeResponseProto) ProtoMessage() {}
+
+func (x *ShutdownDatanodeResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ShutdownDatanodeResponseProto.ProtoReflect.Descriptor instead.
+func (*ShutdownDatanodeResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{9}
+}
+
+//* Tell datanode to evict active clients that are writing
type EvictWritersRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *EvictWritersRequestProto) Reset() {
+ *x = EvictWritersRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *EvictWritersRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *EvictWritersRequestProto) Reset() { *m = EvictWritersRequestProto{} }
-func (m *EvictWritersRequestProto) String() string { return proto.CompactTextString(m) }
-func (*EvictWritersRequestProto) ProtoMessage() {}
-func (*EvictWritersRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{10} }
+func (*EvictWritersRequestProto) ProtoMessage() {}
+
+func (x *EvictWritersRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use EvictWritersRequestProto.ProtoReflect.Descriptor instead.
+func (*EvictWritersRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{10}
+}
type EvictWritersResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *EvictWritersResponseProto) Reset() {
+ *x = EvictWritersResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *EvictWritersResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *EvictWritersResponseProto) Reset() { *m = EvictWritersResponseProto{} }
-func (m *EvictWritersResponseProto) String() string { return proto.CompactTextString(m) }
-func (*EvictWritersResponseProto) ProtoMessage() {}
-func (*EvictWritersResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{11} }
+func (*EvictWritersResponseProto) ProtoMessage() {}
-// *
+func (x *EvictWritersResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use EvictWritersResponseProto.ProtoReflect.Descriptor instead.
+func (*EvictWritersResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{11}
+}
+
+//*
// Ping datanode for liveness and quick info
type GetDatanodeInfoRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *GetDatanodeInfoRequestProto) Reset() {
+ *x = GetDatanodeInfoRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetDatanodeInfoRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetDatanodeInfoRequestProto) ProtoMessage() {}
+
+func (x *GetDatanodeInfoRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[12]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GetDatanodeInfoRequestProto) Reset() { *m = GetDatanodeInfoRequestProto{} }
-func (m *GetDatanodeInfoRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetDatanodeInfoRequestProto) ProtoMessage() {}
-func (*GetDatanodeInfoRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{12} }
+// Deprecated: Use GetDatanodeInfoRequestProto.ProtoReflect.Descriptor instead.
+func (*GetDatanodeInfoRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{12}
+}
type GetDatanodeInfoResponseProto struct {
- LocalInfo *DatanodeLocalInfoProto `protobuf:"bytes,1,req,name=localInfo" json:"localInfo,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ LocalInfo *DatanodeLocalInfoProto `protobuf:"bytes,1,req,name=localInfo" json:"localInfo,omitempty"`
+}
+
+func (x *GetDatanodeInfoResponseProto) Reset() {
+ *x = GetDatanodeInfoResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetDatanodeInfoResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetDatanodeInfoResponseProto) ProtoMessage() {}
+
+func (x *GetDatanodeInfoResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[13]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GetDatanodeInfoResponseProto) Reset() { *m = GetDatanodeInfoResponseProto{} }
-func (m *GetDatanodeInfoResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetDatanodeInfoResponseProto) ProtoMessage() {}
-func (*GetDatanodeInfoResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{13} }
+// Deprecated: Use GetDatanodeInfoResponseProto.ProtoReflect.Descriptor instead.
+func (*GetDatanodeInfoResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{13}
+}
-func (m *GetDatanodeInfoResponseProto) GetLocalInfo() *DatanodeLocalInfoProto {
- if m != nil {
- return m.LocalInfo
+func (x *GetDatanodeInfoResponseProto) GetLocalInfo() *DatanodeLocalInfoProto {
+ if x != nil {
+ return x.LocalInfo
+ }
+ return nil
+}
+
+type GetVolumeReportRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *GetVolumeReportRequestProto) Reset() {
+ *x = GetVolumeReportRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetVolumeReportRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetVolumeReportRequestProto) ProtoMessage() {}
+
+func (x *GetVolumeReportRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[14]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetVolumeReportRequestProto.ProtoReflect.Descriptor instead.
+func (*GetVolumeReportRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{14}
+}
+
+type GetVolumeReportResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ VolumeInfo []*DatanodeVolumeInfoProto `protobuf:"bytes,1,rep,name=volumeInfo" json:"volumeInfo,omitempty"`
+}
+
+func (x *GetVolumeReportResponseProto) Reset() {
+ *x = GetVolumeReportResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetVolumeReportResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetVolumeReportResponseProto) ProtoMessage() {}
+
+func (x *GetVolumeReportResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[15]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetVolumeReportResponseProto.ProtoReflect.Descriptor instead.
+func (*GetVolumeReportResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{15}
+}
+
+func (x *GetVolumeReportResponseProto) GetVolumeInfo() []*DatanodeVolumeInfoProto {
+ if x != nil {
+ return x.VolumeInfo
}
return nil
}
type TriggerBlockReportRequestProto struct {
- Incremental *bool `protobuf:"varint,1,req,name=incremental" json:"incremental,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Incremental *bool `protobuf:"varint,1,req,name=incremental" json:"incremental,omitempty"`
+ NnAddress *string `protobuf:"bytes,2,opt,name=nnAddress" json:"nnAddress,omitempty"`
+}
+
+func (x *TriggerBlockReportRequestProto) Reset() {
+ *x = TriggerBlockReportRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[16]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TriggerBlockReportRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TriggerBlockReportRequestProto) ProtoMessage() {}
+
+func (x *TriggerBlockReportRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[16]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *TriggerBlockReportRequestProto) Reset() { *m = TriggerBlockReportRequestProto{} }
-func (m *TriggerBlockReportRequestProto) String() string { return proto.CompactTextString(m) }
-func (*TriggerBlockReportRequestProto) ProtoMessage() {}
-func (*TriggerBlockReportRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{14} }
+// Deprecated: Use TriggerBlockReportRequestProto.ProtoReflect.Descriptor instead.
+func (*TriggerBlockReportRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{16}
+}
-func (m *TriggerBlockReportRequestProto) GetIncremental() bool {
- if m != nil && m.Incremental != nil {
- return *m.Incremental
+func (x *TriggerBlockReportRequestProto) GetIncremental() bool {
+ if x != nil && x.Incremental != nil {
+ return *x.Incremental
}
return false
}
+func (x *TriggerBlockReportRequestProto) GetNnAddress() string {
+ if x != nil && x.NnAddress != nil {
+ return *x.NnAddress
+ }
+ return ""
+}
+
type TriggerBlockReportResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *TriggerBlockReportResponseProto) Reset() { *m = TriggerBlockReportResponseProto{} }
-func (m *TriggerBlockReportResponseProto) String() string { return proto.CompactTextString(m) }
-func (*TriggerBlockReportResponseProto) ProtoMessage() {}
+func (x *TriggerBlockReportResponseProto) Reset() {
+ *x = TriggerBlockReportResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[17]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TriggerBlockReportResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TriggerBlockReportResponseProto) ProtoMessage() {}
+
+func (x *TriggerBlockReportResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[17]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TriggerBlockReportResponseProto.ProtoReflect.Descriptor instead.
func (*TriggerBlockReportResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor6, []int{15}
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{17}
}
type GetBalancerBandwidthRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *GetBalancerBandwidthRequestProto) Reset() { *m = GetBalancerBandwidthRequestProto{} }
-func (m *GetBalancerBandwidthRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetBalancerBandwidthRequestProto) ProtoMessage() {}
+func (x *GetBalancerBandwidthRequestProto) Reset() {
+ *x = GetBalancerBandwidthRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[18]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetBalancerBandwidthRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetBalancerBandwidthRequestProto) ProtoMessage() {}
+
+func (x *GetBalancerBandwidthRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[18]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetBalancerBandwidthRequestProto.ProtoReflect.Descriptor instead.
func (*GetBalancerBandwidthRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor6, []int{16}
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{18}
}
-// *
+//*
// bandwidth - balancer bandwidth value of the datanode.
type GetBalancerBandwidthResponseProto struct {
- Bandwidth *uint64 `protobuf:"varint,1,req,name=bandwidth" json:"bandwidth,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Bandwidth *uint64 `protobuf:"varint,1,req,name=bandwidth" json:"bandwidth,omitempty"`
+}
+
+func (x *GetBalancerBandwidthResponseProto) Reset() {
+ *x = GetBalancerBandwidthResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[19]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetBalancerBandwidthResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetBalancerBandwidthResponseProto) Reset() { *m = GetBalancerBandwidthResponseProto{} }
-func (m *GetBalancerBandwidthResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetBalancerBandwidthResponseProto) ProtoMessage() {}
+func (*GetBalancerBandwidthResponseProto) ProtoMessage() {}
+
+func (x *GetBalancerBandwidthResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[19]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetBalancerBandwidthResponseProto.ProtoReflect.Descriptor instead.
func (*GetBalancerBandwidthResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor6, []int{17}
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{19}
+}
+
+func (x *GetBalancerBandwidthResponseProto) GetBandwidth() uint64 {
+ if x != nil && x.Bandwidth != nil {
+ return *x.Bandwidth
+ }
+ return 0
+}
+
+//*
+// This message allows a client to submit a disk
+// balancer plan to a data node.
+type SubmitDiskBalancerPlanRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ PlanID *string `protobuf:"bytes,1,req,name=planID" json:"planID,omitempty"` // A hash of the plan like SHA-1
+ Plan *string `protobuf:"bytes,2,req,name=plan" json:"plan,omitempty"` // Plan file data in Json format
+ PlanVersion *uint64 `protobuf:"varint,3,opt,name=planVersion" json:"planVersion,omitempty"` // Plan version number
+ IgnoreDateCheck *bool `protobuf:"varint,4,opt,name=ignoreDateCheck" json:"ignoreDateCheck,omitempty"` // Ignore date checks on this plan.
+ PlanFile *string `protobuf:"bytes,5,req,name=planFile" json:"planFile,omitempty"` // Plan file path
+}
+
+func (x *SubmitDiskBalancerPlanRequestProto) Reset() {
+ *x = SubmitDiskBalancerPlanRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[20]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SubmitDiskBalancerPlanRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SubmitDiskBalancerPlanRequestProto) ProtoMessage() {}
+
+func (x *SubmitDiskBalancerPlanRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[20]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SubmitDiskBalancerPlanRequestProto.ProtoReflect.Descriptor instead.
+func (*SubmitDiskBalancerPlanRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{20}
+}
+
+func (x *SubmitDiskBalancerPlanRequestProto) GetPlanID() string {
+ if x != nil && x.PlanID != nil {
+ return *x.PlanID
+ }
+ return ""
+}
+
+func (x *SubmitDiskBalancerPlanRequestProto) GetPlan() string {
+ if x != nil && x.Plan != nil {
+ return *x.Plan
+ }
+ return ""
+}
+
+func (x *SubmitDiskBalancerPlanRequestProto) GetPlanVersion() uint64 {
+ if x != nil && x.PlanVersion != nil {
+ return *x.PlanVersion
+ }
+ return 0
+}
+
+func (x *SubmitDiskBalancerPlanRequestProto) GetIgnoreDateCheck() bool {
+ if x != nil && x.IgnoreDateCheck != nil {
+ return *x.IgnoreDateCheck
+ }
+ return false
+}
+
+func (x *SubmitDiskBalancerPlanRequestProto) GetPlanFile() string {
+ if x != nil && x.PlanFile != nil {
+ return *x.PlanFile
+ }
+ return ""
+}
+
+//*
+// Response from the DataNode on Plan Submit request
+type SubmitDiskBalancerPlanResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *SubmitDiskBalancerPlanResponseProto) Reset() {
+ *x = SubmitDiskBalancerPlanResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[21]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SubmitDiskBalancerPlanResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SubmitDiskBalancerPlanResponseProto) ProtoMessage() {}
+
+func (x *SubmitDiskBalancerPlanResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[21]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SubmitDiskBalancerPlanResponseProto.ProtoReflect.Descriptor instead.
+func (*SubmitDiskBalancerPlanResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{21}
+}
+
+//*
+// This message describes a request to cancel an
+// outstanding disk balancer plan
+type CancelPlanRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ PlanID *string `protobuf:"bytes,1,req,name=planID" json:"planID,omitempty"`
+}
+
+func (x *CancelPlanRequestProto) Reset() {
+ *x = CancelPlanRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[22]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CancelPlanRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CancelPlanRequestProto) ProtoMessage() {}
+
+func (x *CancelPlanRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[22]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CancelPlanRequestProto.ProtoReflect.Descriptor instead.
+func (*CancelPlanRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{22}
+}
+
+func (x *CancelPlanRequestProto) GetPlanID() string {
+ if x != nil && x.PlanID != nil {
+ return *x.PlanID
+ }
+ return ""
+}
+
+//*
+// This is the response for the cancellation request
+type CancelPlanResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *GetBalancerBandwidthResponseProto) GetBandwidth() uint64 {
- if m != nil && m.Bandwidth != nil {
- return *m.Bandwidth
+func (x *CancelPlanResponseProto) Reset() {
+ *x = CancelPlanResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[23]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CancelPlanResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CancelPlanResponseProto) ProtoMessage() {}
+
+func (x *CancelPlanResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[23]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CancelPlanResponseProto.ProtoReflect.Descriptor instead.
+func (*CancelPlanResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{23}
+}
+
+//*
+// This message allows a client to query data node to see
+// if a disk balancer plan is executing and if so what is
+// the status.
+type QueryPlanStatusRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *QueryPlanStatusRequestProto) Reset() {
+ *x = QueryPlanStatusRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[24]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *QueryPlanStatusRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*QueryPlanStatusRequestProto) ProtoMessage() {}
+
+func (x *QueryPlanStatusRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[24]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use QueryPlanStatusRequestProto.ProtoReflect.Descriptor instead.
+func (*QueryPlanStatusRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{24}
+}
+
+//*
+// This message describes a plan if it is in progress
+type QueryPlanStatusResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *uint32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
+ PlanID *string `protobuf:"bytes,2,opt,name=planID" json:"planID,omitempty"`
+ CurrentStatus *string `protobuf:"bytes,3,opt,name=currentStatus" json:"currentStatus,omitempty"`
+ PlanFile *string `protobuf:"bytes,4,opt,name=planFile" json:"planFile,omitempty"`
+}
+
+func (x *QueryPlanStatusResponseProto) Reset() {
+ *x = QueryPlanStatusResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[25]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *QueryPlanStatusResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*QueryPlanStatusResponseProto) ProtoMessage() {}
+
+func (x *QueryPlanStatusResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[25]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use QueryPlanStatusResponseProto.ProtoReflect.Descriptor instead.
+func (*QueryPlanStatusResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{25}
+}
+
+func (x *QueryPlanStatusResponseProto) GetResult() uint32 {
+ if x != nil && x.Result != nil {
+ return *x.Result
}
return 0
}
-func init() {
- proto.RegisterType((*GetReplicaVisibleLengthRequestProto)(nil), "hadoop.hdfs.GetReplicaVisibleLengthRequestProto")
- proto.RegisterType((*GetReplicaVisibleLengthResponseProto)(nil), "hadoop.hdfs.GetReplicaVisibleLengthResponseProto")
- proto.RegisterType((*RefreshNamenodesRequestProto)(nil), "hadoop.hdfs.RefreshNamenodesRequestProto")
- proto.RegisterType((*RefreshNamenodesResponseProto)(nil), "hadoop.hdfs.RefreshNamenodesResponseProto")
- proto.RegisterType((*DeleteBlockPoolRequestProto)(nil), "hadoop.hdfs.DeleteBlockPoolRequestProto")
- proto.RegisterType((*DeleteBlockPoolResponseProto)(nil), "hadoop.hdfs.DeleteBlockPoolResponseProto")
- proto.RegisterType((*GetBlockLocalPathInfoRequestProto)(nil), "hadoop.hdfs.GetBlockLocalPathInfoRequestProto")
- proto.RegisterType((*GetBlockLocalPathInfoResponseProto)(nil), "hadoop.hdfs.GetBlockLocalPathInfoResponseProto")
- proto.RegisterType((*ShutdownDatanodeRequestProto)(nil), "hadoop.hdfs.ShutdownDatanodeRequestProto")
- proto.RegisterType((*ShutdownDatanodeResponseProto)(nil), "hadoop.hdfs.ShutdownDatanodeResponseProto")
- proto.RegisterType((*EvictWritersRequestProto)(nil), "hadoop.hdfs.EvictWritersRequestProto")
- proto.RegisterType((*EvictWritersResponseProto)(nil), "hadoop.hdfs.EvictWritersResponseProto")
- proto.RegisterType((*GetDatanodeInfoRequestProto)(nil), "hadoop.hdfs.GetDatanodeInfoRequestProto")
- proto.RegisterType((*GetDatanodeInfoResponseProto)(nil), "hadoop.hdfs.GetDatanodeInfoResponseProto")
- proto.RegisterType((*TriggerBlockReportRequestProto)(nil), "hadoop.hdfs.TriggerBlockReportRequestProto")
- proto.RegisterType((*TriggerBlockReportResponseProto)(nil), "hadoop.hdfs.TriggerBlockReportResponseProto")
- proto.RegisterType((*GetBalancerBandwidthRequestProto)(nil), "hadoop.hdfs.GetBalancerBandwidthRequestProto")
- proto.RegisterType((*GetBalancerBandwidthResponseProto)(nil), "hadoop.hdfs.GetBalancerBandwidthResponseProto")
-}
-
-func init() { proto.RegisterFile("ClientDatanodeProtocol.proto", fileDescriptor6) }
-
-var fileDescriptor6 = []byte{
- // 804 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4b, 0x6f, 0xdb, 0x46,
- 0x10, 0x06, 0xdd, 0xba, 0xb0, 0x46, 0x7d, 0x61, 0xe1, 0xb6, 0x32, 0x2d, 0xd9, 0x32, 0x6d, 0x17,
- 0x76, 0x1f, 0x74, 0x2b, 0xc0, 0x3d, 0x1a, 0xb0, 0x6a, 0xc3, 0x28, 0xaa, 0x16, 0x2e, 0xe5, 0x26,
- 0x97, 0xe4, 0xb0, 0x22, 0x47, 0xd4, 0xc2, 0x14, 0x97, 0x59, 0xae, 0x6c, 0xe7, 0x12, 0x20, 0xb7,
- 0x00, 0x41, 0x0e, 0xf9, 0x05, 0xc9, 0x4f, 0x0d, 0xb8, 0x92, 0xa2, 0x5d, 0x8a, 0xa2, 0x95, 0x20,
- 0x27, 0x91, 0x33, 0xdf, 0x3c, 0xf6, 0xdb, 0x99, 0x4f, 0x84, 0xfa, 0x9f, 0x11, 0xc3, 0x58, 0x9e,
- 0x51, 0x49, 0x63, 0x1e, 0xe0, 0xa5, 0xe0, 0x92, 0xfb, 0x3c, 0x72, 0x93, 0xec, 0x81, 0x54, 0x07,
- 0x34, 0xe0, 0x3c, 0x71, 0x07, 0x41, 0x3f, 0xb5, 0xbf, 0xee, 0xa2, 0x3f, 0x12, 0x4c, 0x3e, 0x1d,
- 0x3b, 0x6d, 0xc8, 0xac, 0x93, 0xe7, 0x86, 0x87, 0x3e, 0x8f, 0xfb, 0x2c, 0x1c, 0x09, 0x2a, 0x19,
- 0x8f, 0xcd, 0x3c, 0xce, 0x23, 0xd8, 0xbd, 0x40, 0xe9, 0x61, 0x12, 0x31, 0x9f, 0x3e, 0x60, 0x29,
- 0xeb, 0x45, 0xd8, 0xc1, 0x38, 0x94, 0x03, 0x0f, 0x9f, 0x8c, 0x30, 0x95, 0x0a, 0x4f, 0x8e, 0x61,
- 0xb5, 0x17, 0x71, 0xff, 0xba, 0x66, 0x35, 0x57, 0x0e, 0xaa, 0xad, 0x6d, 0x57, 0x2b, 0xef, 0x9e,
- 0xdf, 0x49, 0x8c, 0x03, 0x0c, 0xda, 0x19, 0x42, 0xe1, 0xbd, 0x31, 0xda, 0x39, 0x81, 0xbd, 0x85,
- 0xd9, 0xd3, 0x84, 0xc7, 0xe9, 0xf8, 0x58, 0xe4, 0x7b, 0xf8, 0x22, 0x52, 0x66, 0x95, 0xff, 0x73,
- 0x6f, 0xf2, 0xe6, 0x6c, 0x41, 0xdd, 0xc3, 0xbe, 0xc0, 0x74, 0xf0, 0x2f, 0x1d, 0x62, 0x46, 0x43,
- 0xaa, 0xb7, 0xe5, 0x6c, 0x43, 0x63, 0xde, 0xaf, 0x25, 0x76, 0xfe, 0x83, 0xcd, 0x33, 0x8c, 0x50,
- 0xe2, 0xb8, 0x37, 0xce, 0x23, 0xe3, 0x58, 0x75, 0xa8, 0xf4, 0xa6, 0x0e, 0x55, 0xba, 0xe2, 0xcd,
- 0x0c, 0x64, 0x1d, 0x56, 0xfb, 0x5c, 0xf8, 0x58, 0x5b, 0x69, 0xae, 0x1c, 0xac, 0x79, 0xe3, 0x97,
- 0xac, 0xa7, 0xb9, 0x94, 0x7a, 0xc9, 0x97, 0x16, 0xec, 0x5c, 0xa0, 0x54, 0xde, 0x0e, 0xf7, 0x69,
- 0x74, 0x49, 0xe5, 0xe0, 0xaf, 0xb8, 0xcf, 0x3f, 0x01, 0xa1, 0xe4, 0x08, 0x56, 0x25, 0xbf, 0xc6,
- 0x58, 0xb5, 0x54, 0x6d, 0x6d, 0x4c, 0xc3, 0x7c, 0x3e, 0x1c, 0xf2, 0xd8, 0xbd, 0xca, 0x7c, 0x93,
- 0x00, 0x85, 0x73, 0xde, 0x58, 0xe0, 0x2c, 0xe8, 0x46, 0xbf, 0x80, 0x8f, 0x6c, 0xa7, 0x0e, 0x95,
- 0x68, 0x9a, 0x54, 0xb5, 0x54, 0xf1, 0x66, 0x06, 0xb2, 0x07, 0x5f, 0xa9, 0x97, 0x7f, 0x50, 0x52,
- 0x85, 0xf8, 0x4c, 0x21, 0x4c, 0xa3, 0x73, 0x02, 0xf5, 0xee, 0x60, 0x24, 0x03, 0x7e, 0x1b, 0x4f,
- 0x67, 0xdd, 0x60, 0x6a, 0x0b, 0xa0, 0xcf, 0xc5, 0xff, 0x49, 0x28, 0x68, 0x80, 0xaa, 0xbf, 0x35,
- 0x4f, 0xb3, 0x64, 0x33, 0x30, 0x1f, 0xaf, 0x5f, 0x88, 0x0d, 0xb5, 0xf3, 0x1b, 0xe6, 0xcb, 0x87,
- 0x82, 0x49, 0x14, 0xe6, 0x00, 0x6d, 0xc2, 0x86, 0xe9, 0xd3, 0x03, 0x1b, 0xb0, 0x79, 0x81, 0xef,
- 0x17, 0x30, 0x7f, 0x85, 0x0e, 0x85, 0xfa, 0x9c, 0x5b, 0xe7, 0xf4, 0x74, 0x42, 0x4e, 0xe6, 0x99,
- 0xf0, 0xba, 0x6b, 0xf0, 0x3a, 0x0d, 0xed, 0x4c, 0x51, 0x63, 0x6e, 0x67, 0x51, 0x4e, 0x1b, 0xb6,
- 0xae, 0x04, 0x0b, 0x43, 0x14, 0x8a, 0x7b, 0x0f, 0x13, 0x2e, 0xa4, 0xc1, 0x4e, 0x13, 0xaa, 0x2c,
- 0xf6, 0x05, 0x0e, 0x31, 0x96, 0x34, 0x9a, 0xd0, 0xa3, 0x9b, 0x9c, 0x1d, 0xd8, 0x2e, 0xca, 0xa1,
- 0x1f, 0xd4, 0x81, 0x66, 0x36, 0x23, 0x34, 0xa2, 0xb1, 0x8f, 0xa2, 0x4d, 0xe3, 0xe0, 0x96, 0x05,
- 0xa6, 0x02, 0x38, 0xa7, 0xe3, 0xa9, 0x9e, 0xc7, 0xe8, 0x47, 0xce, 0xf6, 0x69, 0xea, 0x99, 0xac,
- 0xf2, 0xcc, 0xd0, 0x7a, 0x5d, 0x85, 0x46, 0xb1, 0xa8, 0x75, 0x51, 0xdc, 0x30, 0x1f, 0xc9, 0x33,
- 0xf8, 0x21, 0x2c, 0xd6, 0x0b, 0xf2, 0x9b, 0x41, 0xdd, 0x12, 0x9a, 0x65, 0xff, 0xbe, 0x5c, 0x84,
- 0xde, 0x3f, 0x83, 0x6f, 0x45, 0x4e, 0x4f, 0xc8, 0xa1, 0x91, 0xa6, 0x4c, 0x8e, 0xec, 0x9f, 0xee,
- 0x81, 0xea, 0xa5, 0xfa, 0xf0, 0x4d, 0x60, 0xca, 0x08, 0x39, 0x30, 0xa7, 0x63, 0xb1, 0x6e, 0xd9,
- 0x87, 0xe5, 0x48, 0xbd, 0xce, 0x1d, 0x7c, 0x17, 0x16, 0xed, 0x3f, 0x71, 0xf3, 0xf4, 0x94, 0x2b,
- 0x96, 0x7d, 0xb4, 0x0c, 0x3e, 0x47, 0x66, 0x9a, 0x5b, 0xcc, 0x1c, 0x99, 0x65, 0x7b, 0x9f, 0x23,
- 0xb3, 0x74, 0xc5, 0xc9, 0x63, 0xf8, 0x12, 0xb5, 0x35, 0x26, 0xfb, 0xa6, 0x7e, 0x2d, 0xd8, 0x7e,
- 0xfb, 0xc7, 0x12, 0x58, 0xee, 0xae, 0x42, 0x73, 0xd3, 0x73, 0x77, 0x55, 0x22, 0x13, 0xb9, 0xbb,
- 0x2a, 0x55, 0x8c, 0xe7, 0x16, 0xd4, 0xd4, 0xfc, 0x1b, 0xff, 0xd8, 0x5d, 0x49, 0xe5, 0x28, 0x25,
- 0x05, 0xe3, 0x5c, 0x00, 0x33, 0x4a, 0xb7, 0x96, 0x0c, 0xd1, 0x7b, 0x18, 0xc1, 0x7a, 0x2a, 0xa9,
- 0xc8, 0x43, 0xc9, 0xaf, 0xe6, 0x75, 0x14, 0x40, 0x8c, 0xd2, 0xee, 0x12, 0x70, 0xbd, 0xec, 0x2b,
- 0x0b, 0xea, 0x11, 0x4b, 0x75, 0x50, 0x2f, 0xca, 0x7c, 0x09, 0x0a, 0xc9, 0x30, 0x25, 0xc7, 0x46,
- 0xc2, 0x4e, 0x09, 0xd4, 0xe8, 0xe3, 0x8f, 0x0f, 0x08, 0xd3, 0xfb, 0xe1, 0x40, 0xe4, 0x9c, 0x6a,
- 0x92, 0x9f, 0x8d, 0x6c, 0xe5, 0xd2, 0x6c, 0xff, 0x72, 0x2f, 0x38, 0xc7, 0x7b, 0x58, 0xa0, 0xaf,
- 0x39, 0xde, 0xef, 0x93, 0x69, 0xdb, 0x5d, 0x02, 0xae, 0x95, 0x6d, 0xff, 0x0d, 0xfb, 0x5c, 0x84,
- 0x2e, 0x4d, 0xa8, 0x3f, 0x40, 0x23, 0x36, 0x31, 0x3e, 0x14, 0xdb, 0x0b, 0x3e, 0x47, 0xd5, 0x6f,
- 0xfa, 0xc2, 0xb2, 0xde, 0x5a, 0xd6, 0xbb, 0x00, 0x00, 0x00, 0xff, 0xff, 0x38, 0x38, 0x2f, 0xb6,
- 0xb3, 0x0a, 0x00, 0x00,
+func (x *QueryPlanStatusResponseProto) GetPlanID() string {
+ if x != nil && x.PlanID != nil {
+ return *x.PlanID
+ }
+ return ""
+}
+
+func (x *QueryPlanStatusResponseProto) GetCurrentStatus() string {
+ if x != nil && x.CurrentStatus != nil {
+ return *x.CurrentStatus
+ }
+ return ""
+}
+
+func (x *QueryPlanStatusResponseProto) GetPlanFile() string {
+ if x != nil && x.PlanFile != nil {
+ return *x.PlanFile
+ }
+ return ""
+}
+
+//*
+// This message sends a request to data node get a specific setting
+// that is used by disk balancer.
+type DiskBalancerSettingRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
+}
+
+func (x *DiskBalancerSettingRequestProto) Reset() {
+ *x = DiskBalancerSettingRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[26]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DiskBalancerSettingRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DiskBalancerSettingRequestProto) ProtoMessage() {}
+
+func (x *DiskBalancerSettingRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[26]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DiskBalancerSettingRequestProto.ProtoReflect.Descriptor instead.
+func (*DiskBalancerSettingRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{26}
+}
+
+func (x *DiskBalancerSettingRequestProto) GetKey() string {
+ if x != nil && x.Key != nil {
+ return *x.Key
+ }
+ return ""
+}
+
+//*
+// Response that describes the value of requested disk balancer setting.
+type DiskBalancerSettingResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"`
+}
+
+func (x *DiskBalancerSettingResponseProto) Reset() {
+ *x = DiskBalancerSettingResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DiskBalancerSettingResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DiskBalancerSettingResponseProto) ProtoMessage() {}
+
+func (x *DiskBalancerSettingResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientDatanodeProtocol_proto_msgTypes[27]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DiskBalancerSettingResponseProto.ProtoReflect.Descriptor instead.
+func (*DiskBalancerSettingResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientDatanodeProtocol_proto_rawDescGZIP(), []int{27}
+}
+
+func (x *DiskBalancerSettingResponseProto) GetValue() string {
+ if x != nil && x.Value != nil {
+ return *x.Value
+ }
+ return ""
+}
+
+var File_ClientDatanodeProtocol_proto protoreflect.FileDescriptor
+
+var file_ClientDatanodeProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x1c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x1a, 0x0e, 0x53, 0x65, 0x63,
+ 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70,
+ 0x6c, 0x69, 0x63, 0x61, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x4c, 0x65, 0x6e, 0x67, 0x74,
+ 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x35, 0x0a,
+ 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
+ 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x3e, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69,
+ 0x63, 0x61, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06,
+ 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x06, 0x6c, 0x65,
+ 0x6e, 0x67, 0x74, 0x68, 0x22, 0x1e, 0x0a, 0x1c, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e,
+ 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x1d, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e,
+ 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f,
+ 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f,
+ 0x6f, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28,
+ 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65,
+ 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e,
+ 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x35,
+ 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65,
+ 0x6e, 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05,
+ 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2f, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02,
+ 0x20, 0x02, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f,
+ 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9f, 0x01, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x35, 0x0a,
+ 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
+ 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74,
+ 0x68, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61,
+ 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x50,
+ 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
+ 0x4d, 0x65, 0x74, 0x61, 0x50, 0x61, 0x74, 0x68, 0x22, 0x3e, 0x0a, 0x1c, 0x53, 0x68, 0x75, 0x74,
+ 0x64, 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x55,
+ 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0a, 0x66, 0x6f,
+ 0x72, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x22, 0x1f, 0x0a, 0x1d, 0x53, 0x68, 0x75, 0x74,
+ 0x64, 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1a, 0x0a, 0x18, 0x45, 0x76, 0x69,
+ 0x63, 0x74, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x45, 0x76, 0x69, 0x63, 0x74, 0x57, 0x72,
+ 0x69, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64,
+ 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x22, 0x61, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65,
+ 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x41, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c,
+ 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
+ 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x1d, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
+ 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
+ 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x44, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66,
+ 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x56, 0x6f,
+ 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x76,
+ 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x60, 0x0a, 0x1e, 0x54, 0x72, 0x69,
+ 0x67, 0x67, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x69,
+ 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08,
+ 0x52, 0x0b, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x12, 0x1c, 0x0a,
+ 0x09, 0x6e, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x09, 0x6e, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x21, 0x0a, 0x1f, 0x54,
+ 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72,
+ 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22,
+ 0x0a, 0x20, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x42, 0x61, 0x6e,
+ 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
+ 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x61, 0x6e, 0x64, 0x77,
+ 0x69, 0x64, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x62, 0x61, 0x6e, 0x64,
+ 0x77, 0x69, 0x64, 0x74, 0x68, 0x22, 0xb8, 0x01, 0x0a, 0x22, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74,
+ 0x44, 0x69, 0x73, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x6e,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06,
+ 0x70, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6c,
+ 0x61, 0x6e, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x09, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x6e,
+ 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70,
+ 0x6c, 0x61, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x0f, 0x69, 0x67,
+ 0x6e, 0x6f, 0x72, 0x65, 0x44, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x44, 0x61, 0x74, 0x65, 0x43,
+ 0x68, 0x65, 0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x6e, 0x46, 0x69, 0x6c, 0x65,
+ 0x18, 0x05, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x6e, 0x46, 0x69, 0x6c, 0x65,
+ 0x22, 0x25, 0x0a, 0x23, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x42, 0x61,
+ 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x16, 0x43, 0x61, 0x6e, 0x63, 0x65,
+ 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x09, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x61, 0x6e,
+ 0x63, 0x65, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x6c, 0x61,
+ 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x6c, 0x61,
+ 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06,
+ 0x70, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6c,
+ 0x61, 0x6e, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53,
+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x75, 0x72,
+ 0x72, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c,
+ 0x61, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c,
+ 0x61, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x22, 0x33, 0x0a, 0x1f, 0x44, 0x69, 0x73, 0x6b, 0x42, 0x61,
+ 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x38, 0x0a, 0x20, 0x44,
+ 0x69, 0x73, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69,
+ 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x05,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0xc0, 0x0f, 0x0a, 0x1d, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
+ 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
+ 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7e, 0x0a, 0x17, 0x67, 0x65, 0x74, 0x52, 0x65,
+ 0x70, 0x6c, 0x69, 0x63, 0x61, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x4c, 0x65, 0x6e, 0x67,
+ 0x74, 0x68, 0x12, 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x56, 0x69, 0x73, 0x69, 0x62,
+ 0x6c, 0x65, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x56, 0x69, 0x73,
+ 0x69, 0x62, 0x6c, 0x65, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x69, 0x0a, 0x10, 0x72, 0x65, 0x66, 0x72, 0x65,
+ 0x73, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73,
+ 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e, 0x61, 0x6d, 0x65,
+ 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x66, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
+ 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
+ 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x65,
+ 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x78, 0x0a, 0x15, 0x67, 0x65,
+ 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x49,
+ 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50,
+ 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50,
+ 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x69, 0x0a, 0x10, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e,
+ 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x44,
+ 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f,
+ 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x5d, 0x0a, 0x0c, 0x65, 0x76, 0x69, 0x63, 0x74, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72, 0x73, 0x12,
+ 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x76,
+ 0x69, 0x63, 0x74, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x76, 0x69, 0x63, 0x74, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72,
+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x66,
+ 0x0a, 0x0f, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66,
+ 0x6f, 0x12, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74,
+ 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x66, 0x0a, 0x0f, 0x67, 0x65, 0x74, 0x56, 0x6f, 0x6c,
+ 0x75, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
+ 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72,
+ 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x81,
+ 0x01, 0x0a, 0x18, 0x67, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63,
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74,
+ 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74,
+ 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x75, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e,
+ 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65,
+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x63,
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x8d, 0x01, 0x0a, 0x1c, 0x6c, 0x69,
+ 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65,
+ 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x35, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63,
+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65,
+ 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x36, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x62,
+ 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x6f, 0x0a, 0x12, 0x74, 0x72, 0x69,
+ 0x67, 0x67, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12,
+ 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x54, 0x72,
+ 0x69, 0x67, 0x67, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67,
+ 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x75, 0x0a, 0x14, 0x67, 0x65,
+ 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64,
+ 0x74, 0x68, 0x12, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x64,
+ 0x77, 0x69, 0x64, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77,
+ 0x69, 0x64, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x7b, 0x0a, 0x16, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x42,
+ 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x2f, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74,
+ 0x44, 0x69, 0x73, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x6e,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69,
+ 0x74, 0x44, 0x69, 0x73, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6c, 0x61,
+ 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x63,
+ 0x0a, 0x16, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x44, 0x69, 0x73, 0x6b, 0x42, 0x61, 0x6c, 0x61,
+ 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x50, 0x6c, 0x61,
+ 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x6e, 0x63,
+ 0x65, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x6c, 0x0a, 0x15, 0x71, 0x75, 0x65, 0x72, 0x79, 0x44, 0x69, 0x73, 0x6b,
+ 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x28, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79,
+ 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x53, 0x74,
+ 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x75, 0x0a, 0x16, 0x67, 0x65, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x42, 0x61, 0x6c, 0x61,
+ 0x6e, 0x63, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x2c, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x42, 0x61,
+ 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x42, 0x61, 0x6c, 0x61,
+ 0x6e, 0x63, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x87, 0x01, 0x0a, 0x25, 0x6f, 0x72, 0x67,
+ 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x42, 0x1c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f,
+ 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73,
+ 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c,
+ 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69,
+ 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
+ 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x68, 0x64, 0x66, 0x73, 0x88, 0x01, 0x01, 0xa0,
+ 0x01, 0x01,
+}
+
+var (
+ file_ClientDatanodeProtocol_proto_rawDescOnce sync.Once
+ file_ClientDatanodeProtocol_proto_rawDescData = file_ClientDatanodeProtocol_proto_rawDesc
+)
+
+func file_ClientDatanodeProtocol_proto_rawDescGZIP() []byte {
+ file_ClientDatanodeProtocol_proto_rawDescOnce.Do(func() {
+ file_ClientDatanodeProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientDatanodeProtocol_proto_rawDescData)
+ })
+ return file_ClientDatanodeProtocol_proto_rawDescData
+}
+
+var file_ClientDatanodeProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
+var file_ClientDatanodeProtocol_proto_goTypes = []interface{}{
+ (*GetReplicaVisibleLengthRequestProto)(nil), // 0: hadoop.hdfs.GetReplicaVisibleLengthRequestProto
+ (*GetReplicaVisibleLengthResponseProto)(nil), // 1: hadoop.hdfs.GetReplicaVisibleLengthResponseProto
+ (*RefreshNamenodesRequestProto)(nil), // 2: hadoop.hdfs.RefreshNamenodesRequestProto
+ (*RefreshNamenodesResponseProto)(nil), // 3: hadoop.hdfs.RefreshNamenodesResponseProto
+ (*DeleteBlockPoolRequestProto)(nil), // 4: hadoop.hdfs.DeleteBlockPoolRequestProto
+ (*DeleteBlockPoolResponseProto)(nil), // 5: hadoop.hdfs.DeleteBlockPoolResponseProto
+ (*GetBlockLocalPathInfoRequestProto)(nil), // 6: hadoop.hdfs.GetBlockLocalPathInfoRequestProto
+ (*GetBlockLocalPathInfoResponseProto)(nil), // 7: hadoop.hdfs.GetBlockLocalPathInfoResponseProto
+ (*ShutdownDatanodeRequestProto)(nil), // 8: hadoop.hdfs.ShutdownDatanodeRequestProto
+ (*ShutdownDatanodeResponseProto)(nil), // 9: hadoop.hdfs.ShutdownDatanodeResponseProto
+ (*EvictWritersRequestProto)(nil), // 10: hadoop.hdfs.EvictWritersRequestProto
+ (*EvictWritersResponseProto)(nil), // 11: hadoop.hdfs.EvictWritersResponseProto
+ (*GetDatanodeInfoRequestProto)(nil), // 12: hadoop.hdfs.GetDatanodeInfoRequestProto
+ (*GetDatanodeInfoResponseProto)(nil), // 13: hadoop.hdfs.GetDatanodeInfoResponseProto
+ (*GetVolumeReportRequestProto)(nil), // 14: hadoop.hdfs.GetVolumeReportRequestProto
+ (*GetVolumeReportResponseProto)(nil), // 15: hadoop.hdfs.GetVolumeReportResponseProto
+ (*TriggerBlockReportRequestProto)(nil), // 16: hadoop.hdfs.TriggerBlockReportRequestProto
+ (*TriggerBlockReportResponseProto)(nil), // 17: hadoop.hdfs.TriggerBlockReportResponseProto
+ (*GetBalancerBandwidthRequestProto)(nil), // 18: hadoop.hdfs.GetBalancerBandwidthRequestProto
+ (*GetBalancerBandwidthResponseProto)(nil), // 19: hadoop.hdfs.GetBalancerBandwidthResponseProto
+ (*SubmitDiskBalancerPlanRequestProto)(nil), // 20: hadoop.hdfs.SubmitDiskBalancerPlanRequestProto
+ (*SubmitDiskBalancerPlanResponseProto)(nil), // 21: hadoop.hdfs.SubmitDiskBalancerPlanResponseProto
+ (*CancelPlanRequestProto)(nil), // 22: hadoop.hdfs.CancelPlanRequestProto
+ (*CancelPlanResponseProto)(nil), // 23: hadoop.hdfs.CancelPlanResponseProto
+ (*QueryPlanStatusRequestProto)(nil), // 24: hadoop.hdfs.QueryPlanStatusRequestProto
+ (*QueryPlanStatusResponseProto)(nil), // 25: hadoop.hdfs.QueryPlanStatusResponseProto
+ (*DiskBalancerSettingRequestProto)(nil), // 26: hadoop.hdfs.DiskBalancerSettingRequestProto
+ (*DiskBalancerSettingResponseProto)(nil), // 27: hadoop.hdfs.DiskBalancerSettingResponseProto
+ (*ExtendedBlockProto)(nil), // 28: hadoop.hdfs.ExtendedBlockProto
+ (*hadoop_common.TokenProto)(nil), // 29: hadoop.common.TokenProto
+ (*DatanodeLocalInfoProto)(nil), // 30: hadoop.hdfs.DatanodeLocalInfoProto
+ (*DatanodeVolumeInfoProto)(nil), // 31: hadoop.hdfs.DatanodeVolumeInfoProto
+ (*GetReconfigurationStatusRequestProto)(nil), // 32: hadoop.hdfs.GetReconfigurationStatusRequestProto
+ (*StartReconfigurationRequestProto)(nil), // 33: hadoop.hdfs.StartReconfigurationRequestProto
+ (*ListReconfigurablePropertiesRequestProto)(nil), // 34: hadoop.hdfs.ListReconfigurablePropertiesRequestProto
+ (*GetReconfigurationStatusResponseProto)(nil), // 35: hadoop.hdfs.GetReconfigurationStatusResponseProto
+ (*StartReconfigurationResponseProto)(nil), // 36: hadoop.hdfs.StartReconfigurationResponseProto
+ (*ListReconfigurablePropertiesResponseProto)(nil), // 37: hadoop.hdfs.ListReconfigurablePropertiesResponseProto
+}
+var file_ClientDatanodeProtocol_proto_depIdxs = []int32{
+ 28, // 0: hadoop.hdfs.GetReplicaVisibleLengthRequestProto.block:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 28, // 1: hadoop.hdfs.GetBlockLocalPathInfoRequestProto.block:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 29, // 2: hadoop.hdfs.GetBlockLocalPathInfoRequestProto.token:type_name -> hadoop.common.TokenProto
+ 28, // 3: hadoop.hdfs.GetBlockLocalPathInfoResponseProto.block:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 30, // 4: hadoop.hdfs.GetDatanodeInfoResponseProto.localInfo:type_name -> hadoop.hdfs.DatanodeLocalInfoProto
+ 31, // 5: hadoop.hdfs.GetVolumeReportResponseProto.volumeInfo:type_name -> hadoop.hdfs.DatanodeVolumeInfoProto
+ 0, // 6: hadoop.hdfs.ClientDatanodeProtocolService.getReplicaVisibleLength:input_type -> hadoop.hdfs.GetReplicaVisibleLengthRequestProto
+ 2, // 7: hadoop.hdfs.ClientDatanodeProtocolService.refreshNamenodes:input_type -> hadoop.hdfs.RefreshNamenodesRequestProto
+ 4, // 8: hadoop.hdfs.ClientDatanodeProtocolService.deleteBlockPool:input_type -> hadoop.hdfs.DeleteBlockPoolRequestProto
+ 6, // 9: hadoop.hdfs.ClientDatanodeProtocolService.getBlockLocalPathInfo:input_type -> hadoop.hdfs.GetBlockLocalPathInfoRequestProto
+ 8, // 10: hadoop.hdfs.ClientDatanodeProtocolService.shutdownDatanode:input_type -> hadoop.hdfs.ShutdownDatanodeRequestProto
+ 10, // 11: hadoop.hdfs.ClientDatanodeProtocolService.evictWriters:input_type -> hadoop.hdfs.EvictWritersRequestProto
+ 12, // 12: hadoop.hdfs.ClientDatanodeProtocolService.getDatanodeInfo:input_type -> hadoop.hdfs.GetDatanodeInfoRequestProto
+ 14, // 13: hadoop.hdfs.ClientDatanodeProtocolService.getVolumeReport:input_type -> hadoop.hdfs.GetVolumeReportRequestProto
+ 32, // 14: hadoop.hdfs.ClientDatanodeProtocolService.getReconfigurationStatus:input_type -> hadoop.hdfs.GetReconfigurationStatusRequestProto
+ 33, // 15: hadoop.hdfs.ClientDatanodeProtocolService.startReconfiguration:input_type -> hadoop.hdfs.StartReconfigurationRequestProto
+ 34, // 16: hadoop.hdfs.ClientDatanodeProtocolService.listReconfigurableProperties:input_type -> hadoop.hdfs.ListReconfigurablePropertiesRequestProto
+ 16, // 17: hadoop.hdfs.ClientDatanodeProtocolService.triggerBlockReport:input_type -> hadoop.hdfs.TriggerBlockReportRequestProto
+ 18, // 18: hadoop.hdfs.ClientDatanodeProtocolService.getBalancerBandwidth:input_type -> hadoop.hdfs.GetBalancerBandwidthRequestProto
+ 20, // 19: hadoop.hdfs.ClientDatanodeProtocolService.submitDiskBalancerPlan:input_type -> hadoop.hdfs.SubmitDiskBalancerPlanRequestProto
+ 22, // 20: hadoop.hdfs.ClientDatanodeProtocolService.cancelDiskBalancerPlan:input_type -> hadoop.hdfs.CancelPlanRequestProto
+ 24, // 21: hadoop.hdfs.ClientDatanodeProtocolService.queryDiskBalancerPlan:input_type -> hadoop.hdfs.QueryPlanStatusRequestProto
+ 26, // 22: hadoop.hdfs.ClientDatanodeProtocolService.getDiskBalancerSetting:input_type -> hadoop.hdfs.DiskBalancerSettingRequestProto
+ 1, // 23: hadoop.hdfs.ClientDatanodeProtocolService.getReplicaVisibleLength:output_type -> hadoop.hdfs.GetReplicaVisibleLengthResponseProto
+ 3, // 24: hadoop.hdfs.ClientDatanodeProtocolService.refreshNamenodes:output_type -> hadoop.hdfs.RefreshNamenodesResponseProto
+ 5, // 25: hadoop.hdfs.ClientDatanodeProtocolService.deleteBlockPool:output_type -> hadoop.hdfs.DeleteBlockPoolResponseProto
+ 7, // 26: hadoop.hdfs.ClientDatanodeProtocolService.getBlockLocalPathInfo:output_type -> hadoop.hdfs.GetBlockLocalPathInfoResponseProto
+ 9, // 27: hadoop.hdfs.ClientDatanodeProtocolService.shutdownDatanode:output_type -> hadoop.hdfs.ShutdownDatanodeResponseProto
+ 11, // 28: hadoop.hdfs.ClientDatanodeProtocolService.evictWriters:output_type -> hadoop.hdfs.EvictWritersResponseProto
+ 13, // 29: hadoop.hdfs.ClientDatanodeProtocolService.getDatanodeInfo:output_type -> hadoop.hdfs.GetDatanodeInfoResponseProto
+ 15, // 30: hadoop.hdfs.ClientDatanodeProtocolService.getVolumeReport:output_type -> hadoop.hdfs.GetVolumeReportResponseProto
+ 35, // 31: hadoop.hdfs.ClientDatanodeProtocolService.getReconfigurationStatus:output_type -> hadoop.hdfs.GetReconfigurationStatusResponseProto
+ 36, // 32: hadoop.hdfs.ClientDatanodeProtocolService.startReconfiguration:output_type -> hadoop.hdfs.StartReconfigurationResponseProto
+ 37, // 33: hadoop.hdfs.ClientDatanodeProtocolService.listReconfigurableProperties:output_type -> hadoop.hdfs.ListReconfigurablePropertiesResponseProto
+ 17, // 34: hadoop.hdfs.ClientDatanodeProtocolService.triggerBlockReport:output_type -> hadoop.hdfs.TriggerBlockReportResponseProto
+ 19, // 35: hadoop.hdfs.ClientDatanodeProtocolService.getBalancerBandwidth:output_type -> hadoop.hdfs.GetBalancerBandwidthResponseProto
+ 21, // 36: hadoop.hdfs.ClientDatanodeProtocolService.submitDiskBalancerPlan:output_type -> hadoop.hdfs.SubmitDiskBalancerPlanResponseProto
+ 23, // 37: hadoop.hdfs.ClientDatanodeProtocolService.cancelDiskBalancerPlan:output_type -> hadoop.hdfs.CancelPlanResponseProto
+ 25, // 38: hadoop.hdfs.ClientDatanodeProtocolService.queryDiskBalancerPlan:output_type -> hadoop.hdfs.QueryPlanStatusResponseProto
+ 27, // 39: hadoop.hdfs.ClientDatanodeProtocolService.getDiskBalancerSetting:output_type -> hadoop.hdfs.DiskBalancerSettingResponseProto
+ 23, // [23:40] is the sub-list for method output_type
+ 6, // [6:23] is the sub-list for method input_type
+ 6, // [6:6] is the sub-list for extension type_name
+ 6, // [6:6] is the sub-list for extension extendee
+ 0, // [0:6] is the sub-list for field type_name
+}
+
+func init() { file_ClientDatanodeProtocol_proto_init() }
+func file_ClientDatanodeProtocol_proto_init() {
+ if File_ClientDatanodeProtocol_proto != nil {
+ return
+ }
+ file_hdfs_proto_init()
+ file_ReconfigurationProtocol_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_ClientDatanodeProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetReplicaVisibleLengthRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetReplicaVisibleLengthResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshNamenodesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshNamenodesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DeleteBlockPoolRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DeleteBlockPoolResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetBlockLocalPathInfoRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetBlockLocalPathInfoResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ShutdownDatanodeRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ShutdownDatanodeResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*EvictWritersRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*EvictWritersResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetDatanodeInfoRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetDatanodeInfoResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetVolumeReportRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetVolumeReportResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TriggerBlockReportRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TriggerBlockReportResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetBalancerBandwidthRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetBalancerBandwidthResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SubmitDiskBalancerPlanRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SubmitDiskBalancerPlanResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CancelPlanRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CancelPlanResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*QueryPlanStatusRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*QueryPlanStatusResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DiskBalancerSettingRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientDatanodeProtocol_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DiskBalancerSettingResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_ClientDatanodeProtocol_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 28,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_ClientDatanodeProtocol_proto_goTypes,
+ DependencyIndexes: file_ClientDatanodeProtocol_proto_depIdxs,
+ MessageInfos: file_ClientDatanodeProtocol_proto_msgTypes,
+ }.Build()
+ File_ClientDatanodeProtocol_proto = out.File
+ file_ClientDatanodeProtocol_proto_rawDesc = nil
+ file_ClientDatanodeProtocol_proto_goTypes = nil
+ file_ClientDatanodeProtocol_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_hdfs/ClientDatanodeProtocol.proto b/internal/protocol/hadoop_hdfs/ClientDatanodeProtocol.proto
index e135df8..5fc8681 100644
--- a/internal/protocol/hadoop_hdfs/ClientDatanodeProtocol.proto
+++ b/internal/protocol/hadoop_hdfs/ClientDatanodeProtocol.proto
@@ -21,7 +21,7 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax="proto2";
// This file contains protocol buffers that are used throughout HDFS -- i.e.
// by the client, server, and data transfer protocols.
@@ -29,6 +29,7 @@ option java_package = "org.apache.hadoop.hdfs.protocol.proto";
option java_outer_classname = "ClientDatanodeProtocolProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
package hadoop.hdfs;
import "Security.proto";
@@ -131,9 +132,16 @@ message GetDatanodeInfoResponseProto {
required DatanodeLocalInfoProto localInfo = 1;
}
+message GetVolumeReportRequestProto {
+}
+
+message GetVolumeReportResponseProto {
+ repeated DatanodeVolumeInfoProto volumeInfo = 1;
+}
message TriggerBlockReportRequestProto {
required bool incremental = 1;
+ optional string nnAddress = 2;
}
message TriggerBlockReportResponseProto {
@@ -150,6 +158,72 @@ message GetBalancerBandwidthResponseProto {
}
/**
+ * This message allows a client to submit a disk
+ * balancer plan to a data node.
+ */
+message SubmitDiskBalancerPlanRequestProto {
+ required string planID = 1; // A hash of the plan like SHA-1
+ required string plan = 2; // Plan file data in Json format
+ optional uint64 planVersion = 3; // Plan version number
+ optional bool ignoreDateCheck = 4; // Ignore date checks on this plan.
+ required string planFile = 5; // Plan file path
+}
+
+/**
+ * Response from the DataNode on Plan Submit request
+ */
+message SubmitDiskBalancerPlanResponseProto {
+}
+
+/**
+ * This message describes a request to cancel an
+ * outstanding disk balancer plan
+ */
+message CancelPlanRequestProto {
+ required string planID = 1;
+}
+
+/**
+ * This is the response for the cancellation request
+ */
+message CancelPlanResponseProto {
+}
+
+
+/**
+ * This message allows a client to query data node to see
+ * if a disk balancer plan is executing and if so what is
+ * the status.
+ */
+message QueryPlanStatusRequestProto {
+}
+
+/**
+ * This message describes a plan if it is in progress
+ */
+message QueryPlanStatusResponseProto {
+ optional uint32 result = 1;
+ optional string planID = 2;
+ optional string currentStatus = 3;
+ optional string planFile = 4;
+}
+
+/**
+ * This message sends a request to data node get a specific setting
+ * that is used by disk balancer.
+ */
+message DiskBalancerSettingRequestProto {
+ required string key = 1;
+}
+
+/**
+ * Response that describes the value of requested disk balancer setting.
+ */
+message DiskBalancerSettingResponseProto {
+ required string value = 1;
+}
+
+/**
* Protocol used from client to the Datanode.
* See the request and response for details of rpc call.
*/
@@ -189,6 +263,9 @@ service ClientDatanodeProtocolService {
rpc getDatanodeInfo(GetDatanodeInfoRequestProto)
returns(GetDatanodeInfoResponseProto);
+ rpc getVolumeReport(GetVolumeReportRequestProto)
+ returns(GetVolumeReportResponseProto);
+
rpc getReconfigurationStatus(GetReconfigurationStatusRequestProto)
returns(GetReconfigurationStatusResponseProto);
@@ -207,4 +284,26 @@ service ClientDatanodeProtocolService {
*/
rpc getBalancerBandwidth(GetBalancerBandwidthRequestProto)
returns(GetBalancerBandwidthResponseProto);
+
+ /**
+ * Submit a disk balancer plan for execution
+ */
+ rpc submitDiskBalancerPlan(SubmitDiskBalancerPlanRequestProto)
+ returns (SubmitDiskBalancerPlanResponseProto);
+ /**
+ * Cancel an executing plan
+ */
+ rpc cancelDiskBalancerPlan(CancelPlanRequestProto)
+ returns (CancelPlanResponseProto);
+
+ /**
+ * Gets the status of an executing Plan
+ */
+ rpc queryDiskBalancerPlan(QueryPlanStatusRequestProto)
+ returns (QueryPlanStatusResponseProto);
+ /**
+ * Gets run-time settings of Disk Balancer.
+ */
+ rpc getDiskBalancerSetting(DiskBalancerSettingRequestProto)
+ returns(DiskBalancerSettingResponseProto);
}
diff --git a/internal/protocol/hadoop_hdfs/ClientNamenodeProtocol.pb.go b/internal/protocol/hadoop_hdfs/ClientNamenodeProtocol.pb.go
index 9d8a600..beb7e3f 100644
--- a/internal/protocol/hadoop_hdfs/ClientNamenodeProtocol.pb.go
+++ b/internal/protocol/hadoop_hdfs/ClientNamenodeProtocol.pb.go
@@ -1,100 +1,239 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: ClientNamenodeProtocol.proto
package hadoop_hdfs
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-import _ "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
+import (
+ hadoop_common "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
type CreateFlagProto int32
const (
- CreateFlagProto_CREATE CreateFlagProto = 1
- CreateFlagProto_OVERWRITE CreateFlagProto = 2
- CreateFlagProto_APPEND CreateFlagProto = 4
- CreateFlagProto_LAZY_PERSIST CreateFlagProto = 16
- CreateFlagProto_NEW_BLOCK CreateFlagProto = 32
+ CreateFlagProto_CREATE CreateFlagProto = 1 // Create a file
+ CreateFlagProto_OVERWRITE CreateFlagProto = 2 // Truncate/overwrite a file. Same as POSIX O_TRUNC
+ CreateFlagProto_APPEND CreateFlagProto = 4 // Append to a file
+ CreateFlagProto_LAZY_PERSIST CreateFlagProto = 16 // File with reduced durability guarantees.
+ CreateFlagProto_NEW_BLOCK CreateFlagProto = 32 // Write data to a new block when appending
+ CreateFlagProto_SHOULD_REPLICATE CreateFlagProto = 128 // Enforce to create a replicate file
)
-var CreateFlagProto_name = map[int32]string{
- 1: "CREATE",
- 2: "OVERWRITE",
- 4: "APPEND",
- 16: "LAZY_PERSIST",
- 32: "NEW_BLOCK",
-}
-var CreateFlagProto_value = map[string]int32{
- "CREATE": 1,
- "OVERWRITE": 2,
- "APPEND": 4,
- "LAZY_PERSIST": 16,
- "NEW_BLOCK": 32,
-}
+// Enum value maps for CreateFlagProto.
+var (
+ CreateFlagProto_name = map[int32]string{
+ 1: "CREATE",
+ 2: "OVERWRITE",
+ 4: "APPEND",
+ 16: "LAZY_PERSIST",
+ 32: "NEW_BLOCK",
+ 128: "SHOULD_REPLICATE",
+ }
+ CreateFlagProto_value = map[string]int32{
+ "CREATE": 1,
+ "OVERWRITE": 2,
+ "APPEND": 4,
+ "LAZY_PERSIST": 16,
+ "NEW_BLOCK": 32,
+ "SHOULD_REPLICATE": 128,
+ }
+)
func (x CreateFlagProto) Enum() *CreateFlagProto {
p := new(CreateFlagProto)
*p = x
return p
}
+
func (x CreateFlagProto) String() string {
- return proto.EnumName(CreateFlagProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
-func (x *CreateFlagProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(CreateFlagProto_value, data, "CreateFlagProto")
+
+func (CreateFlagProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_ClientNamenodeProtocol_proto_enumTypes[0].Descriptor()
+}
+
+func (CreateFlagProto) Type() protoreflect.EnumType {
+ return &file_ClientNamenodeProtocol_proto_enumTypes[0]
+}
+
+func (x CreateFlagProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *CreateFlagProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = CreateFlagProto(value)
+ *x = CreateFlagProto(num)
return nil
}
-func (CreateFlagProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
-type DatanodeReportTypeProto int32
+// Deprecated: Use CreateFlagProto.Descriptor instead.
+func (CreateFlagProto) EnumDescriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{0}
+}
+
+type AddBlockFlagProto int32
const (
- DatanodeReportTypeProto_ALL DatanodeReportTypeProto = 1
- DatanodeReportTypeProto_LIVE DatanodeReportTypeProto = 2
- DatanodeReportTypeProto_DEAD DatanodeReportTypeProto = 3
- DatanodeReportTypeProto_DECOMMISSIONING DatanodeReportTypeProto = 4
+ AddBlockFlagProto_NO_LOCAL_WRITE AddBlockFlagProto = 1 // avoid writing to local node.
+ AddBlockFlagProto_IGNORE_CLIENT_LOCALITY AddBlockFlagProto = 2 // write to a random node
+)
+
+// Enum value maps for AddBlockFlagProto.
+var (
+ AddBlockFlagProto_name = map[int32]string{
+ 1: "NO_LOCAL_WRITE",
+ 2: "IGNORE_CLIENT_LOCALITY",
+ }
+ AddBlockFlagProto_value = map[string]int32{
+ "NO_LOCAL_WRITE": 1,
+ "IGNORE_CLIENT_LOCALITY": 2,
+ }
)
-var DatanodeReportTypeProto_name = map[int32]string{
- 1: "ALL",
- 2: "LIVE",
- 3: "DEAD",
- 4: "DECOMMISSIONING",
+func (x AddBlockFlagProto) Enum() *AddBlockFlagProto {
+ p := new(AddBlockFlagProto)
+ *p = x
+ return p
}
-var DatanodeReportTypeProto_value = map[string]int32{
- "ALL": 1,
- "LIVE": 2,
- "DEAD": 3,
- "DECOMMISSIONING": 4,
+
+func (x AddBlockFlagProto) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
+func (AddBlockFlagProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_ClientNamenodeProtocol_proto_enumTypes[1].Descriptor()
+}
+
+func (AddBlockFlagProto) Type() protoreflect.EnumType {
+ return &file_ClientNamenodeProtocol_proto_enumTypes[1]
+}
+
+func (x AddBlockFlagProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *AddBlockFlagProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = AddBlockFlagProto(num)
+ return nil
+}
+
+// Deprecated: Use AddBlockFlagProto.Descriptor instead.
+func (AddBlockFlagProto) EnumDescriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{1}
+}
+
+type DatanodeReportTypeProto int32
+
+const (
+ DatanodeReportTypeProto_ALL DatanodeReportTypeProto = 1
+ DatanodeReportTypeProto_LIVE DatanodeReportTypeProto = 2
+ DatanodeReportTypeProto_DEAD DatanodeReportTypeProto = 3
+ DatanodeReportTypeProto_DECOMMISSIONING DatanodeReportTypeProto = 4
+ DatanodeReportTypeProto_ENTERING_MAINTENANCE DatanodeReportTypeProto = 5
+ DatanodeReportTypeProto_IN_MAINTENANCE DatanodeReportTypeProto = 6
+)
+
+// Enum value maps for DatanodeReportTypeProto.
+var (
+ DatanodeReportTypeProto_name = map[int32]string{
+ 1: "ALL",
+ 2: "LIVE",
+ 3: "DEAD",
+ 4: "DECOMMISSIONING",
+ 5: "ENTERING_MAINTENANCE",
+ 6: "IN_MAINTENANCE",
+ }
+ DatanodeReportTypeProto_value = map[string]int32{
+ "ALL": 1,
+ "LIVE": 2,
+ "DEAD": 3,
+ "DECOMMISSIONING": 4,
+ "ENTERING_MAINTENANCE": 5,
+ "IN_MAINTENANCE": 6,
+ }
+)
+
func (x DatanodeReportTypeProto) Enum() *DatanodeReportTypeProto {
p := new(DatanodeReportTypeProto)
*p = x
return p
}
+
func (x DatanodeReportTypeProto) String() string {
- return proto.EnumName(DatanodeReportTypeProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (DatanodeReportTypeProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_ClientNamenodeProtocol_proto_enumTypes[2].Descriptor()
+}
+
+func (DatanodeReportTypeProto) Type() protoreflect.EnumType {
+ return &file_ClientNamenodeProtocol_proto_enumTypes[2]
+}
+
+func (x DatanodeReportTypeProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
-func (x *DatanodeReportTypeProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(DatanodeReportTypeProto_value, data, "DatanodeReportTypeProto")
+
+// Deprecated: Do not use.
+func (x *DatanodeReportTypeProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = DatanodeReportTypeProto(value)
+ *x = DatanodeReportTypeProto(num)
return nil
}
-func (DatanodeReportTypeProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
+
+// Deprecated: Use DatanodeReportTypeProto.Descriptor instead.
+func (DatanodeReportTypeProto) EnumDescriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{2}
+}
type SafeModeActionProto int32
@@ -105,36 +244,58 @@ const (
SafeModeActionProto_SAFEMODE_FORCE_EXIT SafeModeActionProto = 4
)
-var SafeModeActionProto_name = map[int32]string{
- 1: "SAFEMODE_LEAVE",
- 2: "SAFEMODE_ENTER",
- 3: "SAFEMODE_GET",
- 4: "SAFEMODE_FORCE_EXIT",
-}
-var SafeModeActionProto_value = map[string]int32{
- "SAFEMODE_LEAVE": 1,
- "SAFEMODE_ENTER": 2,
- "SAFEMODE_GET": 3,
- "SAFEMODE_FORCE_EXIT": 4,
-}
+// Enum value maps for SafeModeActionProto.
+var (
+ SafeModeActionProto_name = map[int32]string{
+ 1: "SAFEMODE_LEAVE",
+ 2: "SAFEMODE_ENTER",
+ 3: "SAFEMODE_GET",
+ 4: "SAFEMODE_FORCE_EXIT",
+ }
+ SafeModeActionProto_value = map[string]int32{
+ "SAFEMODE_LEAVE": 1,
+ "SAFEMODE_ENTER": 2,
+ "SAFEMODE_GET": 3,
+ "SAFEMODE_FORCE_EXIT": 4,
+ }
+)
func (x SafeModeActionProto) Enum() *SafeModeActionProto {
p := new(SafeModeActionProto)
*p = x
return p
}
+
func (x SafeModeActionProto) String() string {
- return proto.EnumName(SafeModeActionProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (SafeModeActionProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_ClientNamenodeProtocol_proto_enumTypes[3].Descriptor()
+}
+
+func (SafeModeActionProto) Type() protoreflect.EnumType {
+ return &file_ClientNamenodeProtocol_proto_enumTypes[3]
}
-func (x *SafeModeActionProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(SafeModeActionProto_value, data, "SafeModeActionProto")
+
+func (x SafeModeActionProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *SafeModeActionProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = SafeModeActionProto(value)
+ *x = SafeModeActionProto(num)
return nil
}
-func (SafeModeActionProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{2} }
+
+// Deprecated: Use SafeModeActionProto.Descriptor instead.
+func (SafeModeActionProto) EnumDescriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{3}
+}
type RollingUpgradeActionProto int32
@@ -144,661 +305,1572 @@ const (
RollingUpgradeActionProto_FINALIZE RollingUpgradeActionProto = 3
)
-var RollingUpgradeActionProto_name = map[int32]string{
- 1: "QUERY",
- 2: "START",
- 3: "FINALIZE",
-}
-var RollingUpgradeActionProto_value = map[string]int32{
- "QUERY": 1,
- "START": 2,
- "FINALIZE": 3,
-}
+// Enum value maps for RollingUpgradeActionProto.
+var (
+ RollingUpgradeActionProto_name = map[int32]string{
+ 1: "QUERY",
+ 2: "START",
+ 3: "FINALIZE",
+ }
+ RollingUpgradeActionProto_value = map[string]int32{
+ "QUERY": 1,
+ "START": 2,
+ "FINALIZE": 3,
+ }
+)
func (x RollingUpgradeActionProto) Enum() *RollingUpgradeActionProto {
p := new(RollingUpgradeActionProto)
*p = x
return p
}
+
func (x RollingUpgradeActionProto) String() string {
- return proto.EnumName(RollingUpgradeActionProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (RollingUpgradeActionProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_ClientNamenodeProtocol_proto_enumTypes[4].Descriptor()
+}
+
+func (RollingUpgradeActionProto) Type() protoreflect.EnumType {
+ return &file_ClientNamenodeProtocol_proto_enumTypes[4]
+}
+
+func (x RollingUpgradeActionProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
-func (x *RollingUpgradeActionProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(RollingUpgradeActionProto_value, data, "RollingUpgradeActionProto")
+
+// Deprecated: Do not use.
+func (x *RollingUpgradeActionProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = RollingUpgradeActionProto(value)
+ *x = RollingUpgradeActionProto(num)
return nil
}
-func (RollingUpgradeActionProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{3} }
+
+// Deprecated: Use RollingUpgradeActionProto.Descriptor instead.
+func (RollingUpgradeActionProto) EnumDescriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{4}
+}
type CacheFlagProto int32
const (
- CacheFlagProto_FORCE CacheFlagProto = 1
+ CacheFlagProto_FORCE CacheFlagProto = 1 // Ignore pool resource limits
)
-var CacheFlagProto_name = map[int32]string{
- 1: "FORCE",
-}
-var CacheFlagProto_value = map[string]int32{
- "FORCE": 1,
-}
+// Enum value maps for CacheFlagProto.
+var (
+ CacheFlagProto_name = map[int32]string{
+ 1: "FORCE",
+ }
+ CacheFlagProto_value = map[string]int32{
+ "FORCE": 1,
+ }
+)
func (x CacheFlagProto) Enum() *CacheFlagProto {
p := new(CacheFlagProto)
*p = x
return p
}
+
func (x CacheFlagProto) String() string {
- return proto.EnumName(CacheFlagProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (CacheFlagProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_ClientNamenodeProtocol_proto_enumTypes[5].Descriptor()
+}
+
+func (CacheFlagProto) Type() protoreflect.EnumType {
+ return &file_ClientNamenodeProtocol_proto_enumTypes[5]
+}
+
+func (x CacheFlagProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *CacheFlagProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = CacheFlagProto(num)
+ return nil
+}
+
+// Deprecated: Use CacheFlagProto.Descriptor instead.
+func (CacheFlagProto) EnumDescriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{5}
+}
+
+type OpenFilesTypeProto int32
+
+const (
+ OpenFilesTypeProto_ALL_OPEN_FILES OpenFilesTypeProto = 1
+ OpenFilesTypeProto_BLOCKING_DECOMMISSION OpenFilesTypeProto = 2
+)
+
+// Enum value maps for OpenFilesTypeProto.
+var (
+ OpenFilesTypeProto_name = map[int32]string{
+ 1: "ALL_OPEN_FILES",
+ 2: "BLOCKING_DECOMMISSION",
+ }
+ OpenFilesTypeProto_value = map[string]int32{
+ "ALL_OPEN_FILES": 1,
+ "BLOCKING_DECOMMISSION": 2,
+ }
+)
+
+func (x OpenFilesTypeProto) Enum() *OpenFilesTypeProto {
+ p := new(OpenFilesTypeProto)
+ *p = x
+ return p
}
-func (x *CacheFlagProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(CacheFlagProto_value, data, "CacheFlagProto")
+
+func (x OpenFilesTypeProto) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (OpenFilesTypeProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_ClientNamenodeProtocol_proto_enumTypes[6].Descriptor()
+}
+
+func (OpenFilesTypeProto) Type() protoreflect.EnumType {
+ return &file_ClientNamenodeProtocol_proto_enumTypes[6]
+}
+
+func (x OpenFilesTypeProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *OpenFilesTypeProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = CacheFlagProto(value)
+ *x = OpenFilesTypeProto(num)
return nil
}
-func (CacheFlagProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor4, []int{4} }
+
+// Deprecated: Use OpenFilesTypeProto.Descriptor instead.
+func (OpenFilesTypeProto) EnumDescriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{6}
+}
type GetBlockLocationsRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- Offset *uint64 `protobuf:"varint,2,req,name=offset" json:"offset,omitempty"`
- Length *uint64 `protobuf:"varint,3,req,name=length" json:"length,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"` // file name
+ Offset *uint64 `protobuf:"varint,2,req,name=offset" json:"offset,omitempty"` // range start offset
+ Length *uint64 `protobuf:"varint,3,req,name=length" json:"length,omitempty"` // range length
+}
+
+func (x *GetBlockLocationsRequestProto) Reset() {
+ *x = GetBlockLocationsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetBlockLocationsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetBlockLocationsRequestProto) Reset() { *m = GetBlockLocationsRequestProto{} }
-func (m *GetBlockLocationsRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetBlockLocationsRequestProto) ProtoMessage() {}
-func (*GetBlockLocationsRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
+func (*GetBlockLocationsRequestProto) ProtoMessage() {}
-func (m *GetBlockLocationsRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *GetBlockLocationsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetBlockLocationsRequestProto.ProtoReflect.Descriptor instead.
+func (*GetBlockLocationsRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *GetBlockLocationsRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *GetBlockLocationsRequestProto) GetOffset() uint64 {
- if m != nil && m.Offset != nil {
- return *m.Offset
+func (x *GetBlockLocationsRequestProto) GetOffset() uint64 {
+ if x != nil && x.Offset != nil {
+ return *x.Offset
}
return 0
}
-func (m *GetBlockLocationsRequestProto) GetLength() uint64 {
- if m != nil && m.Length != nil {
- return *m.Length
+func (x *GetBlockLocationsRequestProto) GetLength() uint64 {
+ if x != nil && x.Length != nil {
+ return *x.Length
}
return 0
}
type GetBlockLocationsResponseProto struct {
- Locations *LocatedBlocksProto `protobuf:"bytes,1,opt,name=locations" json:"locations,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Locations *LocatedBlocksProto `protobuf:"bytes,1,opt,name=locations" json:"locations,omitempty"`
+}
+
+func (x *GetBlockLocationsResponseProto) Reset() {
+ *x = GetBlockLocationsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *GetBlockLocationsResponseProto) Reset() { *m = GetBlockLocationsResponseProto{} }
-func (m *GetBlockLocationsResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetBlockLocationsResponseProto) ProtoMessage() {}
-func (*GetBlockLocationsResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
+func (x *GetBlockLocationsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetBlockLocationsResponseProto) ProtoMessage() {}
-func (m *GetBlockLocationsResponseProto) GetLocations() *LocatedBlocksProto {
- if m != nil {
- return m.Locations
+func (x *GetBlockLocationsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetBlockLocationsResponseProto.ProtoReflect.Descriptor instead.
+func (*GetBlockLocationsResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *GetBlockLocationsResponseProto) GetLocations() *LocatedBlocksProto {
+ if x != nil {
+ return x.Locations
}
return nil
}
type GetServerDefaultsRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *GetServerDefaultsRequestProto) Reset() { *m = GetServerDefaultsRequestProto{} }
-func (m *GetServerDefaultsRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetServerDefaultsRequestProto) ProtoMessage() {}
-func (*GetServerDefaultsRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2} }
+func (x *GetServerDefaultsRequestProto) Reset() {
+ *x = GetServerDefaultsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetServerDefaultsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetServerDefaultsRequestProto) ProtoMessage() {}
+
+func (x *GetServerDefaultsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetServerDefaultsRequestProto.ProtoReflect.Descriptor instead.
+func (*GetServerDefaultsRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{2}
+}
type GetServerDefaultsResponseProto struct {
- ServerDefaults *FsServerDefaultsProto `protobuf:"bytes,1,req,name=serverDefaults" json:"serverDefaults,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ServerDefaults *FsServerDefaultsProto `protobuf:"bytes,1,req,name=serverDefaults" json:"serverDefaults,omitempty"`
}
-func (m *GetServerDefaultsResponseProto) Reset() { *m = GetServerDefaultsResponseProto{} }
-func (m *GetServerDefaultsResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetServerDefaultsResponseProto) ProtoMessage() {}
-func (*GetServerDefaultsResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{3} }
+func (x *GetServerDefaultsResponseProto) Reset() {
+ *x = GetServerDefaultsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetServerDefaultsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *GetServerDefaultsResponseProto) GetServerDefaults() *FsServerDefaultsProto {
- if m != nil {
- return m.ServerDefaults
+func (*GetServerDefaultsResponseProto) ProtoMessage() {}
+
+func (x *GetServerDefaultsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetServerDefaultsResponseProto.ProtoReflect.Descriptor instead.
+func (*GetServerDefaultsResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *GetServerDefaultsResponseProto) GetServerDefaults() *FsServerDefaultsProto {
+ if x != nil {
+ return x.ServerDefaults
}
return nil
}
type CreateRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
Masked *FsPermissionProto `protobuf:"bytes,2,req,name=masked" json:"masked,omitempty"`
ClientName *string `protobuf:"bytes,3,req,name=clientName" json:"clientName,omitempty"`
- CreateFlag *uint32 `protobuf:"varint,4,req,name=createFlag" json:"createFlag,omitempty"`
+ CreateFlag *uint32 `protobuf:"varint,4,req,name=createFlag" json:"createFlag,omitempty"` // bits set using CreateFlag
CreateParent *bool `protobuf:"varint,5,req,name=createParent" json:"createParent,omitempty"`
- Replication *uint32 `protobuf:"varint,6,req,name=replication" json:"replication,omitempty"`
+ Replication *uint32 `protobuf:"varint,6,req,name=replication" json:"replication,omitempty"` // Short: Only 16 bits used
BlockSize *uint64 `protobuf:"varint,7,req,name=blockSize" json:"blockSize,omitempty"`
CryptoProtocolVersion []CryptoProtocolVersionProto `protobuf:"varint,8,rep,name=cryptoProtocolVersion,enum=hadoop.hdfs.CryptoProtocolVersionProto" json:"cryptoProtocolVersion,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ Unmasked *FsPermissionProto `protobuf:"bytes,9,opt,name=unmasked" json:"unmasked,omitempty"`
+ EcPolicyName *string `protobuf:"bytes,10,opt,name=ecPolicyName" json:"ecPolicyName,omitempty"`
+ StoragePolicy *string `protobuf:"bytes,11,opt,name=storagePolicy" json:"storagePolicy,omitempty"`
}
-func (m *CreateRequestProto) Reset() { *m = CreateRequestProto{} }
-func (m *CreateRequestProto) String() string { return proto.CompactTextString(m) }
-func (*CreateRequestProto) ProtoMessage() {}
-func (*CreateRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{4} }
+func (x *CreateRequestProto) Reset() {
+ *x = CreateRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *CreateRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *CreateRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CreateRequestProto) ProtoMessage() {}
+
+func (x *CreateRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CreateRequestProto.ProtoReflect.Descriptor instead.
+func (*CreateRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{4}
+}
+
+func (x *CreateRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *CreateRequestProto) GetMasked() *FsPermissionProto {
- if m != nil {
- return m.Masked
+func (x *CreateRequestProto) GetMasked() *FsPermissionProto {
+ if x != nil {
+ return x.Masked
}
return nil
}
-func (m *CreateRequestProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *CreateRequestProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
-func (m *CreateRequestProto) GetCreateFlag() uint32 {
- if m != nil && m.CreateFlag != nil {
- return *m.CreateFlag
+func (x *CreateRequestProto) GetCreateFlag() uint32 {
+ if x != nil && x.CreateFlag != nil {
+ return *x.CreateFlag
}
return 0
}
-func (m *CreateRequestProto) GetCreateParent() bool {
- if m != nil && m.CreateParent != nil {
- return *m.CreateParent
+func (x *CreateRequestProto) GetCreateParent() bool {
+ if x != nil && x.CreateParent != nil {
+ return *x.CreateParent
}
return false
}
-func (m *CreateRequestProto) GetReplication() uint32 {
- if m != nil && m.Replication != nil {
- return *m.Replication
+func (x *CreateRequestProto) GetReplication() uint32 {
+ if x != nil && x.Replication != nil {
+ return *x.Replication
}
return 0
}
-func (m *CreateRequestProto) GetBlockSize() uint64 {
- if m != nil && m.BlockSize != nil {
- return *m.BlockSize
+func (x *CreateRequestProto) GetBlockSize() uint64 {
+ if x != nil && x.BlockSize != nil {
+ return *x.BlockSize
}
return 0
}
-func (m *CreateRequestProto) GetCryptoProtocolVersion() []CryptoProtocolVersionProto {
- if m != nil {
- return m.CryptoProtocolVersion
+func (x *CreateRequestProto) GetCryptoProtocolVersion() []CryptoProtocolVersionProto {
+ if x != nil {
+ return x.CryptoProtocolVersion
+ }
+ return nil
+}
+
+func (x *CreateRequestProto) GetUnmasked() *FsPermissionProto {
+ if x != nil {
+ return x.Unmasked
}
return nil
}
+func (x *CreateRequestProto) GetEcPolicyName() string {
+ if x != nil && x.EcPolicyName != nil {
+ return *x.EcPolicyName
+ }
+ return ""
+}
+
+func (x *CreateRequestProto) GetStoragePolicy() string {
+ if x != nil && x.StoragePolicy != nil {
+ return *x.StoragePolicy
+ }
+ return ""
+}
+
type CreateResponseProto struct {
- Fs *HdfsFileStatusProto `protobuf:"bytes,1,opt,name=fs" json:"fs,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Fs *HdfsFileStatusProto `protobuf:"bytes,1,opt,name=fs" json:"fs,omitempty"`
}
-func (m *CreateResponseProto) Reset() { *m = CreateResponseProto{} }
-func (m *CreateResponseProto) String() string { return proto.CompactTextString(m) }
-func (*CreateResponseProto) ProtoMessage() {}
-func (*CreateResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{5} }
+func (x *CreateResponseProto) Reset() {
+ *x = CreateResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CreateResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *CreateResponseProto) GetFs() *HdfsFileStatusProto {
- if m != nil {
- return m.Fs
+func (*CreateResponseProto) ProtoMessage() {}
+
+func (x *CreateResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CreateResponseProto.ProtoReflect.Descriptor instead.
+func (*CreateResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *CreateResponseProto) GetFs() *HdfsFileStatusProto {
+ if x != nil {
+ return x.Fs
}
return nil
}
type AppendRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
- Flag *uint32 `protobuf:"varint,3,opt,name=flag" json:"flag,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
+ Flag *uint32 `protobuf:"varint,3,opt,name=flag" json:"flag,omitempty"` // bits set using CreateFlag
}
-func (m *AppendRequestProto) Reset() { *m = AppendRequestProto{} }
-func (m *AppendRequestProto) String() string { return proto.CompactTextString(m) }
-func (*AppendRequestProto) ProtoMessage() {}
-func (*AppendRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{6} }
+func (x *AppendRequestProto) Reset() {
+ *x = AppendRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *AppendRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *AppendRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AppendRequestProto) ProtoMessage() {}
+
+func (x *AppendRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AppendRequestProto.ProtoReflect.Descriptor instead.
+func (*AppendRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{6}
+}
+
+func (x *AppendRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *AppendRequestProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *AppendRequestProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
-func (m *AppendRequestProto) GetFlag() uint32 {
- if m != nil && m.Flag != nil {
- return *m.Flag
+func (x *AppendRequestProto) GetFlag() uint32 {
+ if x != nil && x.Flag != nil {
+ return *x.Flag
}
return 0
}
type AppendResponseProto struct {
- Block *LocatedBlockProto `protobuf:"bytes,1,opt,name=block" json:"block,omitempty"`
- Stat *HdfsFileStatusProto `protobuf:"bytes,2,opt,name=stat" json:"stat,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *LocatedBlockProto `protobuf:"bytes,1,opt,name=block" json:"block,omitempty"`
+ Stat *HdfsFileStatusProto `protobuf:"bytes,2,opt,name=stat" json:"stat,omitempty"`
+}
+
+func (x *AppendResponseProto) Reset() {
+ *x = AppendResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *AppendResponseProto) Reset() { *m = AppendResponseProto{} }
-func (m *AppendResponseProto) String() string { return proto.CompactTextString(m) }
-func (*AppendResponseProto) ProtoMessage() {}
-func (*AppendResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{7} }
+func (x *AppendResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AppendResponseProto) ProtoMessage() {}
-func (m *AppendResponseProto) GetBlock() *LocatedBlockProto {
- if m != nil {
- return m.Block
+func (x *AppendResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AppendResponseProto.ProtoReflect.Descriptor instead.
+func (*AppendResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{7}
+}
+
+func (x *AppendResponseProto) GetBlock() *LocatedBlockProto {
+ if x != nil {
+ return x.Block
}
return nil
}
-func (m *AppendResponseProto) GetStat() *HdfsFileStatusProto {
- if m != nil {
- return m.Stat
+func (x *AppendResponseProto) GetStat() *HdfsFileStatusProto {
+ if x != nil {
+ return x.Stat
}
return nil
}
type SetReplicationRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- Replication *uint32 `protobuf:"varint,2,req,name=replication" json:"replication,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ Replication *uint32 `protobuf:"varint,2,req,name=replication" json:"replication,omitempty"` // Short: Only 16 bits used
+}
+
+func (x *SetReplicationRequestProto) Reset() {
+ *x = SetReplicationRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetReplicationRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetReplicationRequestProto) ProtoMessage() {}
+
+func (x *SetReplicationRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *SetReplicationRequestProto) Reset() { *m = SetReplicationRequestProto{} }
-func (m *SetReplicationRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SetReplicationRequestProto) ProtoMessage() {}
-func (*SetReplicationRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{8} }
+// Deprecated: Use SetReplicationRequestProto.ProtoReflect.Descriptor instead.
+func (*SetReplicationRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{8}
+}
-func (m *SetReplicationRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *SetReplicationRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *SetReplicationRequestProto) GetReplication() uint32 {
- if m != nil && m.Replication != nil {
- return *m.Replication
+func (x *SetReplicationRequestProto) GetReplication() uint32 {
+ if x != nil && x.Replication != nil {
+ return *x.Replication
}
return 0
}
type SetReplicationResponseProto struct {
- Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
}
-func (m *SetReplicationResponseProto) Reset() { *m = SetReplicationResponseProto{} }
-func (m *SetReplicationResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SetReplicationResponseProto) ProtoMessage() {}
-func (*SetReplicationResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{9} }
+func (x *SetReplicationResponseProto) Reset() {
+ *x = SetReplicationResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *SetReplicationResponseProto) GetResult() bool {
- if m != nil && m.Result != nil {
- return *m.Result
+func (x *SetReplicationResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetReplicationResponseProto) ProtoMessage() {}
+
+func (x *SetReplicationResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetReplicationResponseProto.ProtoReflect.Descriptor instead.
+func (*SetReplicationResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{9}
+}
+
+func (x *SetReplicationResponseProto) GetResult() bool {
+ if x != nil && x.Result != nil {
+ return *x.Result
}
return false
}
type SetStoragePolicyRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- PolicyName *string `protobuf:"bytes,2,req,name=policyName" json:"policyName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ PolicyName *string `protobuf:"bytes,2,req,name=policyName" json:"policyName,omitempty"`
+}
+
+func (x *SetStoragePolicyRequestProto) Reset() {
+ *x = SetStoragePolicyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetStoragePolicyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *SetStoragePolicyRequestProto) Reset() { *m = SetStoragePolicyRequestProto{} }
-func (m *SetStoragePolicyRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SetStoragePolicyRequestProto) ProtoMessage() {}
-func (*SetStoragePolicyRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{10} }
+func (*SetStoragePolicyRequestProto) ProtoMessage() {}
-func (m *SetStoragePolicyRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *SetStoragePolicyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetStoragePolicyRequestProto.ProtoReflect.Descriptor instead.
+func (*SetStoragePolicyRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{10}
+}
+
+func (x *SetStoragePolicyRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *SetStoragePolicyRequestProto) GetPolicyName() string {
- if m != nil && m.PolicyName != nil {
- return *m.PolicyName
+func (x *SetStoragePolicyRequestProto) GetPolicyName() string {
+ if x != nil && x.PolicyName != nil {
+ return *x.PolicyName
}
return ""
}
type SetStoragePolicyResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *SetStoragePolicyResponseProto) Reset() { *m = SetStoragePolicyResponseProto{} }
-func (m *SetStoragePolicyResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SetStoragePolicyResponseProto) ProtoMessage() {}
-func (*SetStoragePolicyResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{11} }
+func (x *SetStoragePolicyResponseProto) Reset() {
+ *x = SetStoragePolicyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetStoragePolicyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetStoragePolicyResponseProto) ProtoMessage() {}
+
+func (x *SetStoragePolicyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetStoragePolicyResponseProto.ProtoReflect.Descriptor instead.
+func (*SetStoragePolicyResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{11}
+}
type UnsetStoragePolicyRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
}
-func (m *UnsetStoragePolicyRequestProto) Reset() { *m = UnsetStoragePolicyRequestProto{} }
-func (m *UnsetStoragePolicyRequestProto) String() string { return proto.CompactTextString(m) }
-func (*UnsetStoragePolicyRequestProto) ProtoMessage() {}
-func (*UnsetStoragePolicyRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{12} }
+func (x *UnsetStoragePolicyRequestProto) Reset() {
+ *x = UnsetStoragePolicyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UnsetStoragePolicyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UnsetStoragePolicyRequestProto) ProtoMessage() {}
+
+func (x *UnsetStoragePolicyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[12]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UnsetStoragePolicyRequestProto.ProtoReflect.Descriptor instead.
+func (*UnsetStoragePolicyRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{12}
+}
-func (m *UnsetStoragePolicyRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *UnsetStoragePolicyRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
type UnsetStoragePolicyResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *UnsetStoragePolicyResponseProto) Reset() { *m = UnsetStoragePolicyResponseProto{} }
-func (m *UnsetStoragePolicyResponseProto) String() string { return proto.CompactTextString(m) }
-func (*UnsetStoragePolicyResponseProto) ProtoMessage() {}
+func (x *UnsetStoragePolicyResponseProto) Reset() {
+ *x = UnsetStoragePolicyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UnsetStoragePolicyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UnsetStoragePolicyResponseProto) ProtoMessage() {}
+
+func (x *UnsetStoragePolicyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[13]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UnsetStoragePolicyResponseProto.ProtoReflect.Descriptor instead.
func (*UnsetStoragePolicyResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{13}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{13}
}
type GetStoragePolicyRequestProto struct {
- Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
}
-func (m *GetStoragePolicyRequestProto) Reset() { *m = GetStoragePolicyRequestProto{} }
-func (m *GetStoragePolicyRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetStoragePolicyRequestProto) ProtoMessage() {}
-func (*GetStoragePolicyRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{14} }
+func (x *GetStoragePolicyRequestProto) Reset() {
+ *x = GetStoragePolicyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *GetStoragePolicyRequestProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *GetStoragePolicyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetStoragePolicyRequestProto) ProtoMessage() {}
+
+func (x *GetStoragePolicyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[14]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetStoragePolicyRequestProto.ProtoReflect.Descriptor instead.
+func (*GetStoragePolicyRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{14}
+}
+
+func (x *GetStoragePolicyRequestProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
type GetStoragePolicyResponseProto struct {
- StoragePolicy *BlockStoragePolicyProto `protobuf:"bytes,1,req,name=storagePolicy" json:"storagePolicy,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ StoragePolicy *BlockStoragePolicyProto `protobuf:"bytes,1,req,name=storagePolicy" json:"storagePolicy,omitempty"`
}
-func (m *GetStoragePolicyResponseProto) Reset() { *m = GetStoragePolicyResponseProto{} }
-func (m *GetStoragePolicyResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetStoragePolicyResponseProto) ProtoMessage() {}
-func (*GetStoragePolicyResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{15} }
+func (x *GetStoragePolicyResponseProto) Reset() {
+ *x = GetStoragePolicyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetStoragePolicyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *GetStoragePolicyResponseProto) GetStoragePolicy() *BlockStoragePolicyProto {
- if m != nil {
- return m.StoragePolicy
+func (*GetStoragePolicyResponseProto) ProtoMessage() {}
+
+func (x *GetStoragePolicyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[15]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetStoragePolicyResponseProto.ProtoReflect.Descriptor instead.
+func (*GetStoragePolicyResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{15}
+}
+
+func (x *GetStoragePolicyResponseProto) GetStoragePolicy() *BlockStoragePolicyProto {
+ if x != nil {
+ return x.StoragePolicy
}
return nil
}
type GetStoragePoliciesRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *GetStoragePoliciesRequestProto) Reset() { *m = GetStoragePoliciesRequestProto{} }
-func (m *GetStoragePoliciesRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetStoragePoliciesRequestProto) ProtoMessage() {}
-func (*GetStoragePoliciesRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{16} }
+func (x *GetStoragePoliciesRequestProto) Reset() {
+ *x = GetStoragePoliciesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[16]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetStoragePoliciesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetStoragePoliciesRequestProto) ProtoMessage() {}
+
+func (x *GetStoragePoliciesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[16]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetStoragePoliciesRequestProto.ProtoReflect.Descriptor instead.
+func (*GetStoragePoliciesRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{16}
+}
type GetStoragePoliciesResponseProto struct {
- Policies []*BlockStoragePolicyProto `protobuf:"bytes,1,rep,name=policies" json:"policies,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Policies []*BlockStoragePolicyProto `protobuf:"bytes,1,rep,name=policies" json:"policies,omitempty"`
}
-func (m *GetStoragePoliciesResponseProto) Reset() { *m = GetStoragePoliciesResponseProto{} }
-func (m *GetStoragePoliciesResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetStoragePoliciesResponseProto) ProtoMessage() {}
+func (x *GetStoragePoliciesResponseProto) Reset() {
+ *x = GetStoragePoliciesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[17]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetStoragePoliciesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetStoragePoliciesResponseProto) ProtoMessage() {}
+
+func (x *GetStoragePoliciesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[17]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetStoragePoliciesResponseProto.ProtoReflect.Descriptor instead.
func (*GetStoragePoliciesResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{17}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{17}
}
-func (m *GetStoragePoliciesResponseProto) GetPolicies() []*BlockStoragePolicyProto {
- if m != nil {
- return m.Policies
+func (x *GetStoragePoliciesResponseProto) GetPolicies() []*BlockStoragePolicyProto {
+ if x != nil {
+ return x.Policies
}
return nil
}
type SetPermissionRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- Permission *FsPermissionProto `protobuf:"bytes,2,req,name=permission" json:"permission,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ Permission *FsPermissionProto `protobuf:"bytes,2,req,name=permission" json:"permission,omitempty"`
+}
+
+func (x *SetPermissionRequestProto) Reset() {
+ *x = SetPermissionRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[18]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *SetPermissionRequestProto) Reset() { *m = SetPermissionRequestProto{} }
-func (m *SetPermissionRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SetPermissionRequestProto) ProtoMessage() {}
-func (*SetPermissionRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{18} }
+func (x *SetPermissionRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetPermissionRequestProto) ProtoMessage() {}
-func (m *SetPermissionRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *SetPermissionRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[18]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetPermissionRequestProto.ProtoReflect.Descriptor instead.
+func (*SetPermissionRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{18}
+}
+
+func (x *SetPermissionRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *SetPermissionRequestProto) GetPermission() *FsPermissionProto {
- if m != nil {
- return m.Permission
+func (x *SetPermissionRequestProto) GetPermission() *FsPermissionProto {
+ if x != nil {
+ return x.Permission
}
return nil
}
type SetPermissionResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *SetPermissionResponseProto) Reset() { *m = SetPermissionResponseProto{} }
-func (m *SetPermissionResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SetPermissionResponseProto) ProtoMessage() {}
-func (*SetPermissionResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{19} }
+func (x *SetPermissionResponseProto) Reset() {
+ *x = SetPermissionResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[19]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetPermissionResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetPermissionResponseProto) ProtoMessage() {}
+
+func (x *SetPermissionResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[19]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetPermissionResponseProto.ProtoReflect.Descriptor instead.
+func (*SetPermissionResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{19}
+}
type SetOwnerRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- Username *string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"`
- Groupname *string `protobuf:"bytes,3,opt,name=groupname" json:"groupname,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ Username *string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"`
+ Groupname *string `protobuf:"bytes,3,opt,name=groupname" json:"groupname,omitempty"`
+}
+
+func (x *SetOwnerRequestProto) Reset() {
+ *x = SetOwnerRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[20]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *SetOwnerRequestProto) Reset() { *m = SetOwnerRequestProto{} }
-func (m *SetOwnerRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SetOwnerRequestProto) ProtoMessage() {}
-func (*SetOwnerRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{20} }
+func (x *SetOwnerRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetOwnerRequestProto) ProtoMessage() {}
-func (m *SetOwnerRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *SetOwnerRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[20]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetOwnerRequestProto.ProtoReflect.Descriptor instead.
+func (*SetOwnerRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{20}
+}
+
+func (x *SetOwnerRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *SetOwnerRequestProto) GetUsername() string {
- if m != nil && m.Username != nil {
- return *m.Username
+func (x *SetOwnerRequestProto) GetUsername() string {
+ if x != nil && x.Username != nil {
+ return *x.Username
}
return ""
}
-func (m *SetOwnerRequestProto) GetGroupname() string {
- if m != nil && m.Groupname != nil {
- return *m.Groupname
+func (x *SetOwnerRequestProto) GetGroupname() string {
+ if x != nil && x.Groupname != nil {
+ return *x.Groupname
}
return ""
}
type SetOwnerResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *SetOwnerResponseProto) Reset() { *m = SetOwnerResponseProto{} }
-func (m *SetOwnerResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SetOwnerResponseProto) ProtoMessage() {}
-func (*SetOwnerResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{21} }
+func (x *SetOwnerResponseProto) Reset() {
+ *x = SetOwnerResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[21]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetOwnerResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetOwnerResponseProto) ProtoMessage() {}
+
+func (x *SetOwnerResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[21]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetOwnerResponseProto.ProtoReflect.Descriptor instead.
+func (*SetOwnerResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{21}
+}
type AbandonBlockRequestProto struct {
- B *ExtendedBlockProto `protobuf:"bytes,1,req,name=b" json:"b,omitempty"`
- Src *string `protobuf:"bytes,2,req,name=src" json:"src,omitempty"`
- Holder *string `protobuf:"bytes,3,req,name=holder" json:"holder,omitempty"`
- FileId *uint64 `protobuf:"varint,4,opt,name=fileId,def=0" json:"fileId,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ B *ExtendedBlockProto `protobuf:"bytes,1,req,name=b" json:"b,omitempty"`
+ Src *string `protobuf:"bytes,2,req,name=src" json:"src,omitempty"`
+ Holder *string `protobuf:"bytes,3,req,name=holder" json:"holder,omitempty"`
+ FileId *uint64 `protobuf:"varint,4,opt,name=fileId,def=0" json:"fileId,omitempty"` // default to GRANDFATHER_INODE_ID
}
-func (m *AbandonBlockRequestProto) Reset() { *m = AbandonBlockRequestProto{} }
-func (m *AbandonBlockRequestProto) String() string { return proto.CompactTextString(m) }
-func (*AbandonBlockRequestProto) ProtoMessage() {}
-func (*AbandonBlockRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{22} }
+// Default values for AbandonBlockRequestProto fields.
+const (
+ Default_AbandonBlockRequestProto_FileId = uint64(0)
+)
-const Default_AbandonBlockRequestProto_FileId uint64 = 0
+func (x *AbandonBlockRequestProto) Reset() {
+ *x = AbandonBlockRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[22]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *AbandonBlockRequestProto) GetB() *ExtendedBlockProto {
- if m != nil {
- return m.B
+func (x *AbandonBlockRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AbandonBlockRequestProto) ProtoMessage() {}
+
+func (x *AbandonBlockRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[22]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AbandonBlockRequestProto.ProtoReflect.Descriptor instead.
+func (*AbandonBlockRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{22}
+}
+
+func (x *AbandonBlockRequestProto) GetB() *ExtendedBlockProto {
+ if x != nil {
+ return x.B
}
return nil
}
-func (m *AbandonBlockRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *AbandonBlockRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *AbandonBlockRequestProto) GetHolder() string {
- if m != nil && m.Holder != nil {
- return *m.Holder
+func (x *AbandonBlockRequestProto) GetHolder() string {
+ if x != nil && x.Holder != nil {
+ return *x.Holder
}
return ""
}
-func (m *AbandonBlockRequestProto) GetFileId() uint64 {
- if m != nil && m.FileId != nil {
- return *m.FileId
+func (x *AbandonBlockRequestProto) GetFileId() uint64 {
+ if x != nil && x.FileId != nil {
+ return *x.FileId
}
return Default_AbandonBlockRequestProto_FileId
}
type AbandonBlockResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *AbandonBlockResponseProto) Reset() {
+ *x = AbandonBlockResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[23]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AbandonBlockResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *AbandonBlockResponseProto) Reset() { *m = AbandonBlockResponseProto{} }
-func (m *AbandonBlockResponseProto) String() string { return proto.CompactTextString(m) }
-func (*AbandonBlockResponseProto) ProtoMessage() {}
-func (*AbandonBlockResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{23} }
+func (*AbandonBlockResponseProto) ProtoMessage() {}
+
+func (x *AbandonBlockResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[23]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AbandonBlockResponseProto.ProtoReflect.Descriptor instead.
+func (*AbandonBlockResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{23}
+}
type AddBlockRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
- Previous *ExtendedBlockProto `protobuf:"bytes,3,opt,name=previous" json:"previous,omitempty"`
- ExcludeNodes []*DatanodeInfoProto `protobuf:"bytes,4,rep,name=excludeNodes" json:"excludeNodes,omitempty"`
- FileId *uint64 `protobuf:"varint,5,opt,name=fileId,def=0" json:"fileId,omitempty"`
- FavoredNodes []string `protobuf:"bytes,6,rep,name=favoredNodes" json:"favoredNodes,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
+ Previous *ExtendedBlockProto `protobuf:"bytes,3,opt,name=previous" json:"previous,omitempty"`
+ ExcludeNodes []*DatanodeInfoProto `protobuf:"bytes,4,rep,name=excludeNodes" json:"excludeNodes,omitempty"`
+ FileId *uint64 `protobuf:"varint,5,opt,name=fileId,def=0" json:"fileId,omitempty"` // default as a bogus id
+ FavoredNodes []string `protobuf:"bytes,6,rep,name=favoredNodes" json:"favoredNodes,omitempty"` //the set of datanodes to use for the block
+ Flags []AddBlockFlagProto `protobuf:"varint,7,rep,name=flags,enum=hadoop.hdfs.AddBlockFlagProto" json:"flags,omitempty"` // default to empty.
}
-func (m *AddBlockRequestProto) Reset() { *m = AddBlockRequestProto{} }
-func (m *AddBlockRequestProto) String() string { return proto.CompactTextString(m) }
-func (*AddBlockRequestProto) ProtoMessage() {}
-func (*AddBlockRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{24} }
+// Default values for AddBlockRequestProto fields.
+const (
+ Default_AddBlockRequestProto_FileId = uint64(0)
+)
+
+func (x *AddBlockRequestProto) Reset() {
+ *x = AddBlockRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[24]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AddBlockRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AddBlockRequestProto) ProtoMessage() {}
+
+func (x *AddBlockRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[24]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-const Default_AddBlockRequestProto_FileId uint64 = 0
+// Deprecated: Use AddBlockRequestProto.ProtoReflect.Descriptor instead.
+func (*AddBlockRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{24}
+}
-func (m *AddBlockRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *AddBlockRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *AddBlockRequestProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *AddBlockRequestProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
-func (m *AddBlockRequestProto) GetPrevious() *ExtendedBlockProto {
- if m != nil {
- return m.Previous
+func (x *AddBlockRequestProto) GetPrevious() *ExtendedBlockProto {
+ if x != nil {
+ return x.Previous
}
return nil
}
-func (m *AddBlockRequestProto) GetExcludeNodes() []*DatanodeInfoProto {
- if m != nil {
- return m.ExcludeNodes
+func (x *AddBlockRequestProto) GetExcludeNodes() []*DatanodeInfoProto {
+ if x != nil {
+ return x.ExcludeNodes
}
return nil
}
-func (m *AddBlockRequestProto) GetFileId() uint64 {
- if m != nil && m.FileId != nil {
- return *m.FileId
+func (x *AddBlockRequestProto) GetFileId() uint64 {
+ if x != nil && x.FileId != nil {
+ return *x.FileId
}
return Default_AddBlockRequestProto_FileId
}
-func (m *AddBlockRequestProto) GetFavoredNodes() []string {
- if m != nil {
- return m.FavoredNodes
+func (x *AddBlockRequestProto) GetFavoredNodes() []string {
+ if x != nil {
+ return x.FavoredNodes
+ }
+ return nil
+}
+
+func (x *AddBlockRequestProto) GetFlags() []AddBlockFlagProto {
+ if x != nil {
+ return x.Flags
}
return nil
}
type AddBlockResponseProto struct {
- Block *LocatedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *LocatedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
+}
+
+func (x *AddBlockResponseProto) Reset() {
+ *x = AddBlockResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[25]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AddBlockResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *AddBlockResponseProto) Reset() { *m = AddBlockResponseProto{} }
-func (m *AddBlockResponseProto) String() string { return proto.CompactTextString(m) }
-func (*AddBlockResponseProto) ProtoMessage() {}
-func (*AddBlockResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{25} }
+func (*AddBlockResponseProto) ProtoMessage() {}
-func (m *AddBlockResponseProto) GetBlock() *LocatedBlockProto {
- if m != nil {
- return m.Block
+func (x *AddBlockResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[25]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AddBlockResponseProto.ProtoReflect.Descriptor instead.
+func (*AddBlockResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{25}
+}
+
+func (x *AddBlockResponseProto) GetBlock() *LocatedBlockProto {
+ if x != nil {
+ return x.Block
}
return nil
}
type GetAdditionalDatanodeRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
Blk *ExtendedBlockProto `protobuf:"bytes,2,req,name=blk" json:"blk,omitempty"`
Existings []*DatanodeInfoProto `protobuf:"bytes,3,rep,name=existings" json:"existings,omitempty"`
@@ -806,656 +1878,1770 @@ type GetAdditionalDatanodeRequestProto struct {
NumAdditionalNodes *uint32 `protobuf:"varint,5,req,name=numAdditionalNodes" json:"numAdditionalNodes,omitempty"`
ClientName *string `protobuf:"bytes,6,req,name=clientName" json:"clientName,omitempty"`
ExistingStorageUuids []string `protobuf:"bytes,7,rep,name=existingStorageUuids" json:"existingStorageUuids,omitempty"`
- FileId *uint64 `protobuf:"varint,8,opt,name=fileId,def=0" json:"fileId,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ FileId *uint64 `protobuf:"varint,8,opt,name=fileId,def=0" json:"fileId,omitempty"` // default to GRANDFATHER_INODE_ID
}
-func (m *GetAdditionalDatanodeRequestProto) Reset() { *m = GetAdditionalDatanodeRequestProto{} }
-func (m *GetAdditionalDatanodeRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetAdditionalDatanodeRequestProto) ProtoMessage() {}
-func (*GetAdditionalDatanodeRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{26}
+// Default values for GetAdditionalDatanodeRequestProto fields.
+const (
+ Default_GetAdditionalDatanodeRequestProto_FileId = uint64(0)
+)
+
+func (x *GetAdditionalDatanodeRequestProto) Reset() {
+ *x = GetAdditionalDatanodeRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[26]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-const Default_GetAdditionalDatanodeRequestProto_FileId uint64 = 0
+func (x *GetAdditionalDatanodeRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetAdditionalDatanodeRequestProto) ProtoMessage() {}
-func (m *GetAdditionalDatanodeRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *GetAdditionalDatanodeRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[26]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetAdditionalDatanodeRequestProto.ProtoReflect.Descriptor instead.
+func (*GetAdditionalDatanodeRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{26}
+}
+
+func (x *GetAdditionalDatanodeRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *GetAdditionalDatanodeRequestProto) GetBlk() *ExtendedBlockProto {
- if m != nil {
- return m.Blk
+func (x *GetAdditionalDatanodeRequestProto) GetBlk() *ExtendedBlockProto {
+ if x != nil {
+ return x.Blk
}
return nil
}
-func (m *GetAdditionalDatanodeRequestProto) GetExistings() []*DatanodeInfoProto {
- if m != nil {
- return m.Existings
+func (x *GetAdditionalDatanodeRequestProto) GetExistings() []*DatanodeInfoProto {
+ if x != nil {
+ return x.Existings
}
return nil
}
-func (m *GetAdditionalDatanodeRequestProto) GetExcludes() []*DatanodeInfoProto {
- if m != nil {
- return m.Excludes
+func (x *GetAdditionalDatanodeRequestProto) GetExcludes() []*DatanodeInfoProto {
+ if x != nil {
+ return x.Excludes
}
return nil
}
-func (m *GetAdditionalDatanodeRequestProto) GetNumAdditionalNodes() uint32 {
- if m != nil && m.NumAdditionalNodes != nil {
- return *m.NumAdditionalNodes
+func (x *GetAdditionalDatanodeRequestProto) GetNumAdditionalNodes() uint32 {
+ if x != nil && x.NumAdditionalNodes != nil {
+ return *x.NumAdditionalNodes
}
return 0
}
-func (m *GetAdditionalDatanodeRequestProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *GetAdditionalDatanodeRequestProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
-func (m *GetAdditionalDatanodeRequestProto) GetExistingStorageUuids() []string {
- if m != nil {
- return m.ExistingStorageUuids
+func (x *GetAdditionalDatanodeRequestProto) GetExistingStorageUuids() []string {
+ if x != nil {
+ return x.ExistingStorageUuids
}
return nil
}
-func (m *GetAdditionalDatanodeRequestProto) GetFileId() uint64 {
- if m != nil && m.FileId != nil {
- return *m.FileId
+func (x *GetAdditionalDatanodeRequestProto) GetFileId() uint64 {
+ if x != nil && x.FileId != nil {
+ return *x.FileId
}
return Default_GetAdditionalDatanodeRequestProto_FileId
}
type GetAdditionalDatanodeResponseProto struct {
- Block *LocatedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *LocatedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
+}
+
+func (x *GetAdditionalDatanodeResponseProto) Reset() {
+ *x = GetAdditionalDatanodeResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *GetAdditionalDatanodeResponseProto) Reset() { *m = GetAdditionalDatanodeResponseProto{} }
-func (m *GetAdditionalDatanodeResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetAdditionalDatanodeResponseProto) ProtoMessage() {}
+func (x *GetAdditionalDatanodeResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetAdditionalDatanodeResponseProto) ProtoMessage() {}
+
+func (x *GetAdditionalDatanodeResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[27]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetAdditionalDatanodeResponseProto.ProtoReflect.Descriptor instead.
func (*GetAdditionalDatanodeResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{27}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{27}
}
-func (m *GetAdditionalDatanodeResponseProto) GetBlock() *LocatedBlockProto {
- if m != nil {
- return m.Block
+func (x *GetAdditionalDatanodeResponseProto) GetBlock() *LocatedBlockProto {
+ if x != nil {
+ return x.Block
}
return nil
}
type CompleteRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
- Last *ExtendedBlockProto `protobuf:"bytes,3,opt,name=last" json:"last,omitempty"`
- FileId *uint64 `protobuf:"varint,4,opt,name=fileId,def=0" json:"fileId,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
+ Last *ExtendedBlockProto `protobuf:"bytes,3,opt,name=last" json:"last,omitempty"`
+ FileId *uint64 `protobuf:"varint,4,opt,name=fileId,def=0" json:"fileId,omitempty"` // default to GRANDFATHER_INODE_ID
}
-func (m *CompleteRequestProto) Reset() { *m = CompleteRequestProto{} }
-func (m *CompleteRequestProto) String() string { return proto.CompactTextString(m) }
-func (*CompleteRequestProto) ProtoMessage() {}
-func (*CompleteRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{28} }
+// Default values for CompleteRequestProto fields.
+const (
+ Default_CompleteRequestProto_FileId = uint64(0)
+)
+
+func (x *CompleteRequestProto) Reset() {
+ *x = CompleteRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[28]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CompleteRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CompleteRequestProto) ProtoMessage() {}
+
+func (x *CompleteRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[28]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-const Default_CompleteRequestProto_FileId uint64 = 0
+// Deprecated: Use CompleteRequestProto.ProtoReflect.Descriptor instead.
+func (*CompleteRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{28}
+}
-func (m *CompleteRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *CompleteRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *CompleteRequestProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *CompleteRequestProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
-func (m *CompleteRequestProto) GetLast() *ExtendedBlockProto {
- if m != nil {
- return m.Last
+func (x *CompleteRequestProto) GetLast() *ExtendedBlockProto {
+ if x != nil {
+ return x.Last
}
return nil
}
-func (m *CompleteRequestProto) GetFileId() uint64 {
- if m != nil && m.FileId != nil {
- return *m.FileId
+func (x *CompleteRequestProto) GetFileId() uint64 {
+ if x != nil && x.FileId != nil {
+ return *x.FileId
}
return Default_CompleteRequestProto_FileId
}
type CompleteResponseProto struct {
- Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
}
-func (m *CompleteResponseProto) Reset() { *m = CompleteResponseProto{} }
-func (m *CompleteResponseProto) String() string { return proto.CompactTextString(m) }
-func (*CompleteResponseProto) ProtoMessage() {}
-func (*CompleteResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{29} }
+func (x *CompleteResponseProto) Reset() {
+ *x = CompleteResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[29]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *CompleteResponseProto) GetResult() bool {
- if m != nil && m.Result != nil {
- return *m.Result
+func (x *CompleteResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CompleteResponseProto) ProtoMessage() {}
+
+func (x *CompleteResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[29]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CompleteResponseProto.ProtoReflect.Descriptor instead.
+func (*CompleteResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{29}
+}
+
+func (x *CompleteResponseProto) GetResult() bool {
+ if x != nil && x.Result != nil {
+ return *x.Result
}
return false
}
type ReportBadBlocksRequestProto struct {
- Blocks []*LocatedBlockProto `protobuf:"bytes,1,rep,name=blocks" json:"blocks,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Blocks []*LocatedBlockProto `protobuf:"bytes,1,rep,name=blocks" json:"blocks,omitempty"`
}
-func (m *ReportBadBlocksRequestProto) Reset() { *m = ReportBadBlocksRequestProto{} }
-func (m *ReportBadBlocksRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ReportBadBlocksRequestProto) ProtoMessage() {}
-func (*ReportBadBlocksRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{30} }
+func (x *ReportBadBlocksRequestProto) Reset() {
+ *x = ReportBadBlocksRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[30]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *ReportBadBlocksRequestProto) GetBlocks() []*LocatedBlockProto {
- if m != nil {
- return m.Blocks
+func (x *ReportBadBlocksRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ReportBadBlocksRequestProto) ProtoMessage() {}
+
+func (x *ReportBadBlocksRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[30]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ReportBadBlocksRequestProto.ProtoReflect.Descriptor instead.
+func (*ReportBadBlocksRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{30}
+}
+
+func (x *ReportBadBlocksRequestProto) GetBlocks() []*LocatedBlockProto {
+ if x != nil {
+ return x.Blocks
}
return nil
}
type ReportBadBlocksResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *ReportBadBlocksResponseProto) Reset() { *m = ReportBadBlocksResponseProto{} }
-func (m *ReportBadBlocksResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ReportBadBlocksResponseProto) ProtoMessage() {}
-func (*ReportBadBlocksResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{31} }
+func (x *ReportBadBlocksResponseProto) Reset() {
+ *x = ReportBadBlocksResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[31]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ReportBadBlocksResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ReportBadBlocksResponseProto) ProtoMessage() {}
+
+func (x *ReportBadBlocksResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[31]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ReportBadBlocksResponseProto.ProtoReflect.Descriptor instead.
+func (*ReportBadBlocksResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{31}
+}
type ConcatRequestProto struct {
- Trg *string `protobuf:"bytes,1,req,name=trg" json:"trg,omitempty"`
- Srcs []string `protobuf:"bytes,2,rep,name=srcs" json:"srcs,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Trg *string `protobuf:"bytes,1,req,name=trg" json:"trg,omitempty"`
+ Srcs []string `protobuf:"bytes,2,rep,name=srcs" json:"srcs,omitempty"`
}
-func (m *ConcatRequestProto) Reset() { *m = ConcatRequestProto{} }
-func (m *ConcatRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ConcatRequestProto) ProtoMessage() {}
-func (*ConcatRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{32} }
+func (x *ConcatRequestProto) Reset() {
+ *x = ConcatRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[32]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ConcatRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *ConcatRequestProto) GetTrg() string {
- if m != nil && m.Trg != nil {
- return *m.Trg
+func (*ConcatRequestProto) ProtoMessage() {}
+
+func (x *ConcatRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[32]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ConcatRequestProto.ProtoReflect.Descriptor instead.
+func (*ConcatRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{32}
+}
+
+func (x *ConcatRequestProto) GetTrg() string {
+ if x != nil && x.Trg != nil {
+ return *x.Trg
}
return ""
}
-func (m *ConcatRequestProto) GetSrcs() []string {
- if m != nil {
- return m.Srcs
+func (x *ConcatRequestProto) GetSrcs() []string {
+ if x != nil {
+ return x.Srcs
}
return nil
}
type ConcatResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *ConcatResponseProto) Reset() {
+ *x = ConcatResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[33]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ConcatResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ConcatResponseProto) ProtoMessage() {}
+
+func (x *ConcatResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[33]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ConcatResponseProto) Reset() { *m = ConcatResponseProto{} }
-func (m *ConcatResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ConcatResponseProto) ProtoMessage() {}
-func (*ConcatResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{33} }
+// Deprecated: Use ConcatResponseProto.ProtoReflect.Descriptor instead.
+func (*ConcatResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{33}
+}
type TruncateRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- NewLength *uint64 `protobuf:"varint,2,req,name=newLength" json:"newLength,omitempty"`
- ClientName *string `protobuf:"bytes,3,req,name=clientName" json:"clientName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ NewLength *uint64 `protobuf:"varint,2,req,name=newLength" json:"newLength,omitempty"`
+ ClientName *string `protobuf:"bytes,3,req,name=clientName" json:"clientName,omitempty"`
}
-func (m *TruncateRequestProto) Reset() { *m = TruncateRequestProto{} }
-func (m *TruncateRequestProto) String() string { return proto.CompactTextString(m) }
-func (*TruncateRequestProto) ProtoMessage() {}
-func (*TruncateRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{34} }
+func (x *TruncateRequestProto) Reset() {
+ *x = TruncateRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[34]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TruncateRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *TruncateRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (*TruncateRequestProto) ProtoMessage() {}
+
+func (x *TruncateRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[34]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TruncateRequestProto.ProtoReflect.Descriptor instead.
+func (*TruncateRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{34}
+}
+
+func (x *TruncateRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *TruncateRequestProto) GetNewLength() uint64 {
- if m != nil && m.NewLength != nil {
- return *m.NewLength
+func (x *TruncateRequestProto) GetNewLength() uint64 {
+ if x != nil && x.NewLength != nil {
+ return *x.NewLength
}
return 0
}
-func (m *TruncateRequestProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *TruncateRequestProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
type TruncateResponseProto struct {
- Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
+}
+
+func (x *TruncateResponseProto) Reset() {
+ *x = TruncateResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[35]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *TruncateResponseProto) Reset() { *m = TruncateResponseProto{} }
-func (m *TruncateResponseProto) String() string { return proto.CompactTextString(m) }
-func (*TruncateResponseProto) ProtoMessage() {}
-func (*TruncateResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{35} }
+func (x *TruncateResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TruncateResponseProto) ProtoMessage() {}
+
+func (x *TruncateResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[35]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TruncateResponseProto.ProtoReflect.Descriptor instead.
+func (*TruncateResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{35}
+}
-func (m *TruncateResponseProto) GetResult() bool {
- if m != nil && m.Result != nil {
- return *m.Result
+func (x *TruncateResponseProto) GetResult() bool {
+ if x != nil && x.Result != nil {
+ return *x.Result
}
return false
}
type RenameRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- Dst *string `protobuf:"bytes,2,req,name=dst" json:"dst,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ Dst *string `protobuf:"bytes,2,req,name=dst" json:"dst,omitempty"`
+}
+
+func (x *RenameRequestProto) Reset() {
+ *x = RenameRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[36]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RenameRequestProto) Reset() { *m = RenameRequestProto{} }
-func (m *RenameRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RenameRequestProto) ProtoMessage() {}
-func (*RenameRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{36} }
+func (x *RenameRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RenameRequestProto) ProtoMessage() {}
-func (m *RenameRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *RenameRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[36]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RenameRequestProto.ProtoReflect.Descriptor instead.
+func (*RenameRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{36}
+}
+
+func (x *RenameRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *RenameRequestProto) GetDst() string {
- if m != nil && m.Dst != nil {
- return *m.Dst
+func (x *RenameRequestProto) GetDst() string {
+ if x != nil && x.Dst != nil {
+ return *x.Dst
}
return ""
}
type RenameResponseProto struct {
- Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
+}
+
+func (x *RenameResponseProto) Reset() {
+ *x = RenameResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[37]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RenameResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RenameResponseProto) Reset() { *m = RenameResponseProto{} }
-func (m *RenameResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RenameResponseProto) ProtoMessage() {}
-func (*RenameResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{37} }
+func (*RenameResponseProto) ProtoMessage() {}
-func (m *RenameResponseProto) GetResult() bool {
- if m != nil && m.Result != nil {
- return *m.Result
+func (x *RenameResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[37]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RenameResponseProto.ProtoReflect.Descriptor instead.
+func (*RenameResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{37}
+}
+
+func (x *RenameResponseProto) GetResult() bool {
+ if x != nil && x.Result != nil {
+ return *x.Result
}
return false
}
type Rename2RequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- Dst *string `protobuf:"bytes,2,req,name=dst" json:"dst,omitempty"`
- OverwriteDest *bool `protobuf:"varint,3,req,name=overwriteDest" json:"overwriteDest,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ Dst *string `protobuf:"bytes,2,req,name=dst" json:"dst,omitempty"`
+ OverwriteDest *bool `protobuf:"varint,3,req,name=overwriteDest" json:"overwriteDest,omitempty"`
+ MoveToTrash *bool `protobuf:"varint,4,opt,name=moveToTrash" json:"moveToTrash,omitempty"`
}
-func (m *Rename2RequestProto) Reset() { *m = Rename2RequestProto{} }
-func (m *Rename2RequestProto) String() string { return proto.CompactTextString(m) }
-func (*Rename2RequestProto) ProtoMessage() {}
-func (*Rename2RequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{38} }
+func (x *Rename2RequestProto) Reset() {
+ *x = Rename2RequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[38]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *Rename2RequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *Rename2RequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Rename2RequestProto) ProtoMessage() {}
+
+func (x *Rename2RequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[38]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use Rename2RequestProto.ProtoReflect.Descriptor instead.
+func (*Rename2RequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{38}
+}
+
+func (x *Rename2RequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *Rename2RequestProto) GetDst() string {
- if m != nil && m.Dst != nil {
- return *m.Dst
+func (x *Rename2RequestProto) GetDst() string {
+ if x != nil && x.Dst != nil {
+ return *x.Dst
}
return ""
}
-func (m *Rename2RequestProto) GetOverwriteDest() bool {
- if m != nil && m.OverwriteDest != nil {
- return *m.OverwriteDest
+func (x *Rename2RequestProto) GetOverwriteDest() bool {
+ if x != nil && x.OverwriteDest != nil {
+ return *x.OverwriteDest
+ }
+ return false
+}
+
+func (x *Rename2RequestProto) GetMoveToTrash() bool {
+ if x != nil && x.MoveToTrash != nil {
+ return *x.MoveToTrash
}
return false
}
type Rename2ResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *Rename2ResponseProto) Reset() {
+ *x = Rename2ResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[39]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *Rename2ResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *Rename2ResponseProto) Reset() { *m = Rename2ResponseProto{} }
-func (m *Rename2ResponseProto) String() string { return proto.CompactTextString(m) }
-func (*Rename2ResponseProto) ProtoMessage() {}
-func (*Rename2ResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{39} }
+func (*Rename2ResponseProto) ProtoMessage() {}
+
+func (x *Rename2ResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[39]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use Rename2ResponseProto.ProtoReflect.Descriptor instead.
+func (*Rename2ResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{39}
+}
type DeleteRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- Recursive *bool `protobuf:"varint,2,req,name=recursive" json:"recursive,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ Recursive *bool `protobuf:"varint,2,req,name=recursive" json:"recursive,omitempty"`
}
-func (m *DeleteRequestProto) Reset() { *m = DeleteRequestProto{} }
-func (m *DeleteRequestProto) String() string { return proto.CompactTextString(m) }
-func (*DeleteRequestProto) ProtoMessage() {}
-func (*DeleteRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{40} }
+func (x *DeleteRequestProto) Reset() {
+ *x = DeleteRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[40]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DeleteRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *DeleteRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (*DeleteRequestProto) ProtoMessage() {}
+
+func (x *DeleteRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[40]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DeleteRequestProto.ProtoReflect.Descriptor instead.
+func (*DeleteRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{40}
+}
+
+func (x *DeleteRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *DeleteRequestProto) GetRecursive() bool {
- if m != nil && m.Recursive != nil {
- return *m.Recursive
+func (x *DeleteRequestProto) GetRecursive() bool {
+ if x != nil && x.Recursive != nil {
+ return *x.Recursive
}
return false
}
type DeleteResponseProto struct {
- Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
+}
+
+func (x *DeleteResponseProto) Reset() {
+ *x = DeleteResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[41]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *DeleteResponseProto) Reset() { *m = DeleteResponseProto{} }
-func (m *DeleteResponseProto) String() string { return proto.CompactTextString(m) }
-func (*DeleteResponseProto) ProtoMessage() {}
-func (*DeleteResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{41} }
+func (x *DeleteResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DeleteResponseProto) ProtoMessage() {}
+
+func (x *DeleteResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[41]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DeleteResponseProto.ProtoReflect.Descriptor instead.
+func (*DeleteResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{41}
+}
-func (m *DeleteResponseProto) GetResult() bool {
- if m != nil && m.Result != nil {
- return *m.Result
+func (x *DeleteResponseProto) GetResult() bool {
+ if x != nil && x.Result != nil {
+ return *x.Result
}
return false
}
type MkdirsRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- Masked *FsPermissionProto `protobuf:"bytes,2,req,name=masked" json:"masked,omitempty"`
- CreateParent *bool `protobuf:"varint,3,req,name=createParent" json:"createParent,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ Masked *FsPermissionProto `protobuf:"bytes,2,req,name=masked" json:"masked,omitempty"`
+ CreateParent *bool `protobuf:"varint,3,req,name=createParent" json:"createParent,omitempty"`
+ Unmasked *FsPermissionProto `protobuf:"bytes,4,opt,name=unmasked" json:"unmasked,omitempty"`
+}
+
+func (x *MkdirsRequestProto) Reset() {
+ *x = MkdirsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[42]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *MkdirsRequestProto) Reset() { *m = MkdirsRequestProto{} }
-func (m *MkdirsRequestProto) String() string { return proto.CompactTextString(m) }
-func (*MkdirsRequestProto) ProtoMessage() {}
-func (*MkdirsRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{42} }
+func (x *MkdirsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*MkdirsRequestProto) ProtoMessage() {}
-func (m *MkdirsRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *MkdirsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[42]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use MkdirsRequestProto.ProtoReflect.Descriptor instead.
+func (*MkdirsRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{42}
+}
+
+func (x *MkdirsRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *MkdirsRequestProto) GetMasked() *FsPermissionProto {
- if m != nil {
- return m.Masked
+func (x *MkdirsRequestProto) GetMasked() *FsPermissionProto {
+ if x != nil {
+ return x.Masked
}
return nil
}
-func (m *MkdirsRequestProto) GetCreateParent() bool {
- if m != nil && m.CreateParent != nil {
- return *m.CreateParent
+func (x *MkdirsRequestProto) GetCreateParent() bool {
+ if x != nil && x.CreateParent != nil {
+ return *x.CreateParent
}
return false
}
+func (x *MkdirsRequestProto) GetUnmasked() *FsPermissionProto {
+ if x != nil {
+ return x.Unmasked
+ }
+ return nil
+}
+
type MkdirsResponseProto struct {
- Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
+}
+
+func (x *MkdirsResponseProto) Reset() {
+ *x = MkdirsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[43]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *MkdirsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*MkdirsResponseProto) ProtoMessage() {}
+
+func (x *MkdirsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[43]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *MkdirsResponseProto) Reset() { *m = MkdirsResponseProto{} }
-func (m *MkdirsResponseProto) String() string { return proto.CompactTextString(m) }
-func (*MkdirsResponseProto) ProtoMessage() {}
-func (*MkdirsResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{43} }
+// Deprecated: Use MkdirsResponseProto.ProtoReflect.Descriptor instead.
+func (*MkdirsResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{43}
+}
-func (m *MkdirsResponseProto) GetResult() bool {
- if m != nil && m.Result != nil {
- return *m.Result
+func (x *MkdirsResponseProto) GetResult() bool {
+ if x != nil && x.Result != nil {
+ return *x.Result
}
return false
}
type GetListingRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- StartAfter []byte `protobuf:"bytes,2,req,name=startAfter" json:"startAfter,omitempty"`
- NeedLocation *bool `protobuf:"varint,3,req,name=needLocation" json:"needLocation,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ StartAfter []byte `protobuf:"bytes,2,req,name=startAfter" json:"startAfter,omitempty"`
+ NeedLocation *bool `protobuf:"varint,3,req,name=needLocation" json:"needLocation,omitempty"`
}
-func (m *GetListingRequestProto) Reset() { *m = GetListingRequestProto{} }
-func (m *GetListingRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetListingRequestProto) ProtoMessage() {}
-func (*GetListingRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{44} }
+func (x *GetListingRequestProto) Reset() {
+ *x = GetListingRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[44]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *GetListingRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *GetListingRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetListingRequestProto) ProtoMessage() {}
+
+func (x *GetListingRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[44]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetListingRequestProto.ProtoReflect.Descriptor instead.
+func (*GetListingRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{44}
+}
+
+func (x *GetListingRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *GetListingRequestProto) GetStartAfter() []byte {
- if m != nil {
- return m.StartAfter
+func (x *GetListingRequestProto) GetStartAfter() []byte {
+ if x != nil {
+ return x.StartAfter
}
return nil
}
-func (m *GetListingRequestProto) GetNeedLocation() bool {
- if m != nil && m.NeedLocation != nil {
- return *m.NeedLocation
+func (x *GetListingRequestProto) GetNeedLocation() bool {
+ if x != nil && x.NeedLocation != nil {
+ return *x.NeedLocation
}
return false
}
type GetListingResponseProto struct {
- DirList *DirectoryListingProto `protobuf:"bytes,1,opt,name=dirList" json:"dirList,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ DirList *DirectoryListingProto `protobuf:"bytes,1,opt,name=dirList" json:"dirList,omitempty"`
+}
+
+func (x *GetListingResponseProto) Reset() {
+ *x = GetListingResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[45]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetListingResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetListingResponseProto) ProtoMessage() {}
+
+func (x *GetListingResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[45]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetListingResponseProto.ProtoReflect.Descriptor instead.
+func (*GetListingResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{45}
+}
+
+func (x *GetListingResponseProto) GetDirList() *DirectoryListingProto {
+ if x != nil {
+ return x.DirList
+ }
+ return nil
+}
+
+type GetBatchedListingRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Paths []string `protobuf:"bytes,1,rep,name=paths" json:"paths,omitempty"`
+ StartAfter []byte `protobuf:"bytes,2,req,name=startAfter" json:"startAfter,omitempty"`
+ NeedLocation *bool `protobuf:"varint,3,req,name=needLocation" json:"needLocation,omitempty"`
+}
+
+func (x *GetBatchedListingRequestProto) Reset() {
+ *x = GetBatchedListingRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[46]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetBatchedListingRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetBatchedListingRequestProto) ProtoMessage() {}
+
+func (x *GetBatchedListingRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[46]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetBatchedListingRequestProto.ProtoReflect.Descriptor instead.
+func (*GetBatchedListingRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{46}
+}
+
+func (x *GetBatchedListingRequestProto) GetPaths() []string {
+ if x != nil {
+ return x.Paths
+ }
+ return nil
+}
+
+func (x *GetBatchedListingRequestProto) GetStartAfter() []byte {
+ if x != nil {
+ return x.StartAfter
+ }
+ return nil
+}
+
+func (x *GetBatchedListingRequestProto) GetNeedLocation() bool {
+ if x != nil && x.NeedLocation != nil {
+ return *x.NeedLocation
+ }
+ return false
+}
+
+type GetBatchedListingResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Listings []*BatchedDirectoryListingProto `protobuf:"bytes,1,rep,name=listings" json:"listings,omitempty"`
+ HasMore *bool `protobuf:"varint,2,req,name=hasMore" json:"hasMore,omitempty"`
+ StartAfter []byte `protobuf:"bytes,3,req,name=startAfter" json:"startAfter,omitempty"`
+}
+
+func (x *GetBatchedListingResponseProto) Reset() {
+ *x = GetBatchedListingResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[47]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *GetListingResponseProto) Reset() { *m = GetListingResponseProto{} }
-func (m *GetListingResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetListingResponseProto) ProtoMessage() {}
-func (*GetListingResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{45} }
+func (x *GetBatchedListingResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetBatchedListingResponseProto) ProtoMessage() {}
-func (m *GetListingResponseProto) GetDirList() *DirectoryListingProto {
- if m != nil {
- return m.DirList
+func (x *GetBatchedListingResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[47]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetBatchedListingResponseProto.ProtoReflect.Descriptor instead.
+func (*GetBatchedListingResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{47}
+}
+
+func (x *GetBatchedListingResponseProto) GetListings() []*BatchedDirectoryListingProto {
+ if x != nil {
+ return x.Listings
+ }
+ return nil
+}
+
+func (x *GetBatchedListingResponseProto) GetHasMore() bool {
+ if x != nil && x.HasMore != nil {
+ return *x.HasMore
+ }
+ return false
+}
+
+func (x *GetBatchedListingResponseProto) GetStartAfter() []byte {
+ if x != nil {
+ return x.StartAfter
}
return nil
}
type GetSnapshottableDirListingRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *GetSnapshottableDirListingRequestProto) Reset() {
+ *x = GetSnapshottableDirListingRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[48]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *GetSnapshottableDirListingRequestProto) Reset() {
- *m = GetSnapshottableDirListingRequestProto{}
+func (x *GetSnapshottableDirListingRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetSnapshottableDirListingRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetSnapshottableDirListingRequestProto) ProtoMessage() {}
+
+func (*GetSnapshottableDirListingRequestProto) ProtoMessage() {}
+
+func (x *GetSnapshottableDirListingRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[48]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetSnapshottableDirListingRequestProto.ProtoReflect.Descriptor instead.
func (*GetSnapshottableDirListingRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{46}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{48}
}
type GetSnapshottableDirListingResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
SnapshottableDirList *SnapshottableDirectoryListingProto `protobuf:"bytes,1,opt,name=snapshottableDirList" json:"snapshottableDirList,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *GetSnapshottableDirListingResponseProto) Reset() {
- *m = GetSnapshottableDirListingResponseProto{}
+func (x *GetSnapshottableDirListingResponseProto) Reset() {
+ *x = GetSnapshottableDirListingResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[49]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *GetSnapshottableDirListingResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetSnapshottableDirListingResponseProto) ProtoMessage() {}
+
+func (x *GetSnapshottableDirListingResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetSnapshottableDirListingResponseProto) ProtoMessage() {}
+
+func (x *GetSnapshottableDirListingResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[49]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetSnapshottableDirListingResponseProto.ProtoReflect.Descriptor instead.
func (*GetSnapshottableDirListingResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{47}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{49}
}
-func (m *GetSnapshottableDirListingResponseProto) GetSnapshottableDirList() *SnapshottableDirectoryListingProto {
- if m != nil {
- return m.SnapshottableDirList
+func (x *GetSnapshottableDirListingResponseProto) GetSnapshottableDirList() *SnapshottableDirectoryListingProto {
+ if x != nil {
+ return x.SnapshottableDirList
}
return nil
}
type GetSnapshotDiffReportRequestProto struct {
- SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
- FromSnapshot *string `protobuf:"bytes,2,req,name=fromSnapshot" json:"fromSnapshot,omitempty"`
- ToSnapshot *string `protobuf:"bytes,3,req,name=toSnapshot" json:"toSnapshot,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
+ FromSnapshot *string `protobuf:"bytes,2,req,name=fromSnapshot" json:"fromSnapshot,omitempty"`
+ ToSnapshot *string `protobuf:"bytes,3,req,name=toSnapshot" json:"toSnapshot,omitempty"`
}
-func (m *GetSnapshotDiffReportRequestProto) Reset() { *m = GetSnapshotDiffReportRequestProto{} }
-func (m *GetSnapshotDiffReportRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetSnapshotDiffReportRequestProto) ProtoMessage() {}
+func (x *GetSnapshotDiffReportRequestProto) Reset() {
+ *x = GetSnapshotDiffReportRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[50]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetSnapshotDiffReportRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetSnapshotDiffReportRequestProto) ProtoMessage() {}
+
+func (x *GetSnapshotDiffReportRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[50]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetSnapshotDiffReportRequestProto.ProtoReflect.Descriptor instead.
func (*GetSnapshotDiffReportRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{48}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{50}
}
-func (m *GetSnapshotDiffReportRequestProto) GetSnapshotRoot() string {
- if m != nil && m.SnapshotRoot != nil {
- return *m.SnapshotRoot
+func (x *GetSnapshotDiffReportRequestProto) GetSnapshotRoot() string {
+ if x != nil && x.SnapshotRoot != nil {
+ return *x.SnapshotRoot
}
return ""
}
-func (m *GetSnapshotDiffReportRequestProto) GetFromSnapshot() string {
- if m != nil && m.FromSnapshot != nil {
- return *m.FromSnapshot
+func (x *GetSnapshotDiffReportRequestProto) GetFromSnapshot() string {
+ if x != nil && x.FromSnapshot != nil {
+ return *x.FromSnapshot
}
return ""
}
-func (m *GetSnapshotDiffReportRequestProto) GetToSnapshot() string {
- if m != nil && m.ToSnapshot != nil {
- return *m.ToSnapshot
+func (x *GetSnapshotDiffReportRequestProto) GetToSnapshot() string {
+ if x != nil && x.ToSnapshot != nil {
+ return *x.ToSnapshot
}
return ""
}
type GetSnapshotDiffReportResponseProto struct {
- DiffReport *SnapshotDiffReportProto `protobuf:"bytes,1,req,name=diffReport" json:"diffReport,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ DiffReport *SnapshotDiffReportProto `protobuf:"bytes,1,req,name=diffReport" json:"diffReport,omitempty"`
}
-func (m *GetSnapshotDiffReportResponseProto) Reset() { *m = GetSnapshotDiffReportResponseProto{} }
-func (m *GetSnapshotDiffReportResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetSnapshotDiffReportResponseProto) ProtoMessage() {}
+func (x *GetSnapshotDiffReportResponseProto) Reset() {
+ *x = GetSnapshotDiffReportResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[51]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetSnapshotDiffReportResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetSnapshotDiffReportResponseProto) ProtoMessage() {}
+
+func (x *GetSnapshotDiffReportResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[51]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetSnapshotDiffReportResponseProto.ProtoReflect.Descriptor instead.
func (*GetSnapshotDiffReportResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{49}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{51}
}
-func (m *GetSnapshotDiffReportResponseProto) GetDiffReport() *SnapshotDiffReportProto {
- if m != nil {
- return m.DiffReport
+func (x *GetSnapshotDiffReportResponseProto) GetDiffReport() *SnapshotDiffReportProto {
+ if x != nil {
+ return x.DiffReport
+ }
+ return nil
+}
+
+type GetSnapshotDiffReportListingRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
+ FromSnapshot *string `protobuf:"bytes,2,req,name=fromSnapshot" json:"fromSnapshot,omitempty"`
+ ToSnapshot *string `protobuf:"bytes,3,req,name=toSnapshot" json:"toSnapshot,omitempty"`
+ Cursor *SnapshotDiffReportCursorProto `protobuf:"bytes,4,opt,name=cursor" json:"cursor,omitempty"`
+}
+
+func (x *GetSnapshotDiffReportListingRequestProto) Reset() {
+ *x = GetSnapshotDiffReportListingRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[52]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetSnapshotDiffReportListingRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetSnapshotDiffReportListingRequestProto) ProtoMessage() {}
+
+func (x *GetSnapshotDiffReportListingRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[52]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetSnapshotDiffReportListingRequestProto.ProtoReflect.Descriptor instead.
+func (*GetSnapshotDiffReportListingRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{52}
+}
+
+func (x *GetSnapshotDiffReportListingRequestProto) GetSnapshotRoot() string {
+ if x != nil && x.SnapshotRoot != nil {
+ return *x.SnapshotRoot
+ }
+ return ""
+}
+
+func (x *GetSnapshotDiffReportListingRequestProto) GetFromSnapshot() string {
+ if x != nil && x.FromSnapshot != nil {
+ return *x.FromSnapshot
+ }
+ return ""
+}
+
+func (x *GetSnapshotDiffReportListingRequestProto) GetToSnapshot() string {
+ if x != nil && x.ToSnapshot != nil {
+ return *x.ToSnapshot
+ }
+ return ""
+}
+
+func (x *GetSnapshotDiffReportListingRequestProto) GetCursor() *SnapshotDiffReportCursorProto {
+ if x != nil {
+ return x.Cursor
+ }
+ return nil
+}
+
+type GetSnapshotDiffReportListingResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ DiffReport *SnapshotDiffReportListingProto `protobuf:"bytes,1,req,name=diffReport" json:"diffReport,omitempty"`
+}
+
+func (x *GetSnapshotDiffReportListingResponseProto) Reset() {
+ *x = GetSnapshotDiffReportListingResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[53]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetSnapshotDiffReportListingResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetSnapshotDiffReportListingResponseProto) ProtoMessage() {}
+
+func (x *GetSnapshotDiffReportListingResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[53]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetSnapshotDiffReportListingResponseProto.ProtoReflect.Descriptor instead.
+func (*GetSnapshotDiffReportListingResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{53}
+}
+
+func (x *GetSnapshotDiffReportListingResponseProto) GetDiffReport() *SnapshotDiffReportListingProto {
+ if x != nil {
+ return x.DiffReport
}
return nil
}
type RenewLeaseRequestProto struct {
- ClientName *string `protobuf:"bytes,1,req,name=clientName" json:"clientName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ClientName *string `protobuf:"bytes,1,req,name=clientName" json:"clientName,omitempty"`
}
-func (m *RenewLeaseRequestProto) Reset() { *m = RenewLeaseRequestProto{} }
-func (m *RenewLeaseRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RenewLeaseRequestProto) ProtoMessage() {}
-func (*RenewLeaseRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{50} }
+func (x *RenewLeaseRequestProto) Reset() {
+ *x = RenewLeaseRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[54]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RenewLeaseRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RenewLeaseRequestProto) ProtoMessage() {}
+
+func (x *RenewLeaseRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[54]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RenewLeaseRequestProto.ProtoReflect.Descriptor instead.
+func (*RenewLeaseRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{54}
+}
-func (m *RenewLeaseRequestProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *RenewLeaseRequestProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
type RenewLeaseResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *RenewLeaseResponseProto) Reset() { *m = RenewLeaseResponseProto{} }
-func (m *RenewLeaseResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RenewLeaseResponseProto) ProtoMessage() {}
-func (*RenewLeaseResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{51} }
+func (x *RenewLeaseResponseProto) Reset() {
+ *x = RenewLeaseResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[55]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RenewLeaseResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RenewLeaseResponseProto) ProtoMessage() {}
+
+func (x *RenewLeaseResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[55]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RenewLeaseResponseProto.ProtoReflect.Descriptor instead.
+func (*RenewLeaseResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{55}
+}
type RecoverLeaseRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
+}
+
+func (x *RecoverLeaseRequestProto) Reset() {
+ *x = RecoverLeaseRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[56]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RecoverLeaseRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RecoverLeaseRequestProto) Reset() { *m = RecoverLeaseRequestProto{} }
-func (m *RecoverLeaseRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RecoverLeaseRequestProto) ProtoMessage() {}
-func (*RecoverLeaseRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{52} }
+func (*RecoverLeaseRequestProto) ProtoMessage() {}
-func (m *RecoverLeaseRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *RecoverLeaseRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[56]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RecoverLeaseRequestProto.ProtoReflect.Descriptor instead.
+func (*RecoverLeaseRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{56}
+}
+
+func (x *RecoverLeaseRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *RecoverLeaseRequestProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *RecoverLeaseRequestProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
type RecoverLeaseResponseProto struct {
- Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
+}
+
+func (x *RecoverLeaseResponseProto) Reset() {
+ *x = RecoverLeaseResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[57]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RecoverLeaseResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RecoverLeaseResponseProto) Reset() { *m = RecoverLeaseResponseProto{} }
-func (m *RecoverLeaseResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RecoverLeaseResponseProto) ProtoMessage() {}
-func (*RecoverLeaseResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{53} }
+func (*RecoverLeaseResponseProto) ProtoMessage() {}
-func (m *RecoverLeaseResponseProto) GetResult() bool {
- if m != nil && m.Result != nil {
- return *m.Result
+func (x *RecoverLeaseResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[57]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RecoverLeaseResponseProto.ProtoReflect.Descriptor instead.
+func (*RecoverLeaseResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{57}
+}
+
+func (x *RecoverLeaseResponseProto) GetResult() bool {
+ if x != nil && x.Result != nil {
+ return *x.Result
}
return false
}
type GetFsStatusRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *GetFsStatusRequestProto) Reset() { *m = GetFsStatusRequestProto{} }
-func (m *GetFsStatusRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetFsStatusRequestProto) ProtoMessage() {}
-func (*GetFsStatusRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{54} }
+func (x *GetFsStatusRequestProto) Reset() {
+ *x = GetFsStatusRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[58]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetFsStatusRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetFsStatusRequestProto) ProtoMessage() {}
+
+func (x *GetFsStatusRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[58]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetFsStatusRequestProto.ProtoReflect.Descriptor instead.
+func (*GetFsStatusRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{58}
+}
type GetFsStatsResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Capacity *uint64 `protobuf:"varint,1,req,name=capacity" json:"capacity,omitempty"`
Used *uint64 `protobuf:"varint,2,req,name=used" json:"used,omitempty"`
Remaining *uint64 `protobuf:"varint,3,req,name=remaining" json:"remaining,omitempty"`
@@ -1465,2446 +3651,10000 @@ type GetFsStatsResponseProto struct {
MissingReplOneBlocks *uint64 `protobuf:"varint,7,opt,name=missing_repl_one_blocks,json=missingReplOneBlocks" json:"missing_repl_one_blocks,omitempty"`
BlocksInFuture *uint64 `protobuf:"varint,8,opt,name=blocks_in_future,json=blocksInFuture" json:"blocks_in_future,omitempty"`
PendingDeletionBlocks *uint64 `protobuf:"varint,9,opt,name=pending_deletion_blocks,json=pendingDeletionBlocks" json:"pending_deletion_blocks,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *GetFsStatsResponseProto) Reset() { *m = GetFsStatsResponseProto{} }
-func (m *GetFsStatsResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetFsStatsResponseProto) ProtoMessage() {}
-func (*GetFsStatsResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{55} }
+func (x *GetFsStatsResponseProto) Reset() {
+ *x = GetFsStatsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[59]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetFsStatsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetFsStatsResponseProto) ProtoMessage() {}
-func (m *GetFsStatsResponseProto) GetCapacity() uint64 {
- if m != nil && m.Capacity != nil {
- return *m.Capacity
+func (x *GetFsStatsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[59]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetFsStatsResponseProto.ProtoReflect.Descriptor instead.
+func (*GetFsStatsResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{59}
+}
+
+func (x *GetFsStatsResponseProto) GetCapacity() uint64 {
+ if x != nil && x.Capacity != nil {
+ return *x.Capacity
+ }
+ return 0
+}
+
+func (x *GetFsStatsResponseProto) GetUsed() uint64 {
+ if x != nil && x.Used != nil {
+ return *x.Used
}
return 0
}
-func (m *GetFsStatsResponseProto) GetUsed() uint64 {
- if m != nil && m.Used != nil {
- return *m.Used
+func (x *GetFsStatsResponseProto) GetRemaining() uint64 {
+ if x != nil && x.Remaining != nil {
+ return *x.Remaining
}
return 0
}
-func (m *GetFsStatsResponseProto) GetRemaining() uint64 {
- if m != nil && m.Remaining != nil {
- return *m.Remaining
+func (x *GetFsStatsResponseProto) GetUnderReplicated() uint64 {
+ if x != nil && x.UnderReplicated != nil {
+ return *x.UnderReplicated
}
return 0
}
-func (m *GetFsStatsResponseProto) GetUnderReplicated() uint64 {
- if m != nil && m.UnderReplicated != nil {
- return *m.UnderReplicated
+func (x *GetFsStatsResponseProto) GetCorruptBlocks() uint64 {
+ if x != nil && x.CorruptBlocks != nil {
+ return *x.CorruptBlocks
}
return 0
}
-func (m *GetFsStatsResponseProto) GetCorruptBlocks() uint64 {
- if m != nil && m.CorruptBlocks != nil {
- return *m.CorruptBlocks
+func (x *GetFsStatsResponseProto) GetMissingBlocks() uint64 {
+ if x != nil && x.MissingBlocks != nil {
+ return *x.MissingBlocks
}
return 0
}
-func (m *GetFsStatsResponseProto) GetMissingBlocks() uint64 {
- if m != nil && m.MissingBlocks != nil {
- return *m.MissingBlocks
+func (x *GetFsStatsResponseProto) GetMissingReplOneBlocks() uint64 {
+ if x != nil && x.MissingReplOneBlocks != nil {
+ return *x.MissingReplOneBlocks
}
return 0
}
-func (m *GetFsStatsResponseProto) GetMissingReplOneBlocks() uint64 {
- if m != nil && m.MissingReplOneBlocks != nil {
- return *m.MissingReplOneBlocks
+func (x *GetFsStatsResponseProto) GetBlocksInFuture() uint64 {
+ if x != nil && x.BlocksInFuture != nil {
+ return *x.BlocksInFuture
}
return 0
}
-func (m *GetFsStatsResponseProto) GetBlocksInFuture() uint64 {
- if m != nil && m.BlocksInFuture != nil {
- return *m.BlocksInFuture
+func (x *GetFsStatsResponseProto) GetPendingDeletionBlocks() uint64 {
+ if x != nil && x.PendingDeletionBlocks != nil {
+ return *x.PendingDeletionBlocks
}
return 0
}
-func (m *GetFsStatsResponseProto) GetPendingDeletionBlocks() uint64 {
- if m != nil && m.PendingDeletionBlocks != nil {
- return *m.PendingDeletionBlocks
+type GetFsReplicatedBlockStatsRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *GetFsReplicatedBlockStatsRequestProto) Reset() {
+ *x = GetFsReplicatedBlockStatsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[60]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetFsReplicatedBlockStatsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetFsReplicatedBlockStatsRequestProto) ProtoMessage() {}
+
+func (x *GetFsReplicatedBlockStatsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[60]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetFsReplicatedBlockStatsRequestProto.ProtoReflect.Descriptor instead.
+func (*GetFsReplicatedBlockStatsRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{60}
+}
+
+type GetFsReplicatedBlockStatsResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ LowRedundancy *uint64 `protobuf:"varint,1,req,name=low_redundancy,json=lowRedundancy" json:"low_redundancy,omitempty"`
+ CorruptBlocks *uint64 `protobuf:"varint,2,req,name=corrupt_blocks,json=corruptBlocks" json:"corrupt_blocks,omitempty"`
+ MissingBlocks *uint64 `protobuf:"varint,3,req,name=missing_blocks,json=missingBlocks" json:"missing_blocks,omitempty"`
+ MissingReplOneBlocks *uint64 `protobuf:"varint,4,req,name=missing_repl_one_blocks,json=missingReplOneBlocks" json:"missing_repl_one_blocks,omitempty"`
+ BlocksInFuture *uint64 `protobuf:"varint,5,req,name=blocks_in_future,json=blocksInFuture" json:"blocks_in_future,omitempty"`
+ PendingDeletionBlocks *uint64 `protobuf:"varint,6,req,name=pending_deletion_blocks,json=pendingDeletionBlocks" json:"pending_deletion_blocks,omitempty"`
+ HighestPrioLowRedundancyBlocks *uint64 `protobuf:"varint,7,opt,name=highest_prio_low_redundancy_blocks,json=highestPrioLowRedundancyBlocks" json:"highest_prio_low_redundancy_blocks,omitempty"`
+}
+
+func (x *GetFsReplicatedBlockStatsResponseProto) Reset() {
+ *x = GetFsReplicatedBlockStatsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[61]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetFsReplicatedBlockStatsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetFsReplicatedBlockStatsResponseProto) ProtoMessage() {}
+
+func (x *GetFsReplicatedBlockStatsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[61]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetFsReplicatedBlockStatsResponseProto.ProtoReflect.Descriptor instead.
+func (*GetFsReplicatedBlockStatsResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{61}
+}
+
+func (x *GetFsReplicatedBlockStatsResponseProto) GetLowRedundancy() uint64 {
+ if x != nil && x.LowRedundancy != nil {
+ return *x.LowRedundancy
+ }
+ return 0
+}
+
+func (x *GetFsReplicatedBlockStatsResponseProto) GetCorruptBlocks() uint64 {
+ if x != nil && x.CorruptBlocks != nil {
+ return *x.CorruptBlocks
+ }
+ return 0
+}
+
+func (x *GetFsReplicatedBlockStatsResponseProto) GetMissingBlocks() uint64 {
+ if x != nil && x.MissingBlocks != nil {
+ return *x.MissingBlocks
+ }
+ return 0
+}
+
+func (x *GetFsReplicatedBlockStatsResponseProto) GetMissingReplOneBlocks() uint64 {
+ if x != nil && x.MissingReplOneBlocks != nil {
+ return *x.MissingReplOneBlocks
+ }
+ return 0
+}
+
+func (x *GetFsReplicatedBlockStatsResponseProto) GetBlocksInFuture() uint64 {
+ if x != nil && x.BlocksInFuture != nil {
+ return *x.BlocksInFuture
+ }
+ return 0
+}
+
+func (x *GetFsReplicatedBlockStatsResponseProto) GetPendingDeletionBlocks() uint64 {
+ if x != nil && x.PendingDeletionBlocks != nil {
+ return *x.PendingDeletionBlocks
+ }
+ return 0
+}
+
+func (x *GetFsReplicatedBlockStatsResponseProto) GetHighestPrioLowRedundancyBlocks() uint64 {
+ if x != nil && x.HighestPrioLowRedundancyBlocks != nil {
+ return *x.HighestPrioLowRedundancyBlocks
+ }
+ return 0
+}
+
+type GetFsECBlockGroupStatsRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *GetFsECBlockGroupStatsRequestProto) Reset() {
+ *x = GetFsECBlockGroupStatsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[62]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetFsECBlockGroupStatsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetFsECBlockGroupStatsRequestProto) ProtoMessage() {}
+
+func (x *GetFsECBlockGroupStatsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[62]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetFsECBlockGroupStatsRequestProto.ProtoReflect.Descriptor instead.
+func (*GetFsECBlockGroupStatsRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{62}
+}
+
+type GetFsECBlockGroupStatsResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ LowRedundancy *uint64 `protobuf:"varint,1,req,name=low_redundancy,json=lowRedundancy" json:"low_redundancy,omitempty"`
+ CorruptBlocks *uint64 `protobuf:"varint,2,req,name=corrupt_blocks,json=corruptBlocks" json:"corrupt_blocks,omitempty"`
+ MissingBlocks *uint64 `protobuf:"varint,3,req,name=missing_blocks,json=missingBlocks" json:"missing_blocks,omitempty"`
+ BlocksInFuture *uint64 `protobuf:"varint,4,req,name=blocks_in_future,json=blocksInFuture" json:"blocks_in_future,omitempty"`
+ PendingDeletionBlocks *uint64 `protobuf:"varint,5,req,name=pending_deletion_blocks,json=pendingDeletionBlocks" json:"pending_deletion_blocks,omitempty"`
+ HighestPrioLowRedundancyBlocks *uint64 `protobuf:"varint,6,opt,name=highest_prio_low_redundancy_blocks,json=highestPrioLowRedundancyBlocks" json:"highest_prio_low_redundancy_blocks,omitempty"`
+}
+
+func (x *GetFsECBlockGroupStatsResponseProto) Reset() {
+ *x = GetFsECBlockGroupStatsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[63]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetFsECBlockGroupStatsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetFsECBlockGroupStatsResponseProto) ProtoMessage() {}
+
+func (x *GetFsECBlockGroupStatsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[63]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetFsECBlockGroupStatsResponseProto.ProtoReflect.Descriptor instead.
+func (*GetFsECBlockGroupStatsResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{63}
+}
+
+func (x *GetFsECBlockGroupStatsResponseProto) GetLowRedundancy() uint64 {
+ if x != nil && x.LowRedundancy != nil {
+ return *x.LowRedundancy
+ }
+ return 0
+}
+
+func (x *GetFsECBlockGroupStatsResponseProto) GetCorruptBlocks() uint64 {
+ if x != nil && x.CorruptBlocks != nil {
+ return *x.CorruptBlocks
+ }
+ return 0
+}
+
+func (x *GetFsECBlockGroupStatsResponseProto) GetMissingBlocks() uint64 {
+ if x != nil && x.MissingBlocks != nil {
+ return *x.MissingBlocks
+ }
+ return 0
+}
+
+func (x *GetFsECBlockGroupStatsResponseProto) GetBlocksInFuture() uint64 {
+ if x != nil && x.BlocksInFuture != nil {
+ return *x.BlocksInFuture
+ }
+ return 0
+}
+
+func (x *GetFsECBlockGroupStatsResponseProto) GetPendingDeletionBlocks() uint64 {
+ if x != nil && x.PendingDeletionBlocks != nil {
+ return *x.PendingDeletionBlocks
+ }
+ return 0
+}
+
+func (x *GetFsECBlockGroupStatsResponseProto) GetHighestPrioLowRedundancyBlocks() uint64 {
+ if x != nil && x.HighestPrioLowRedundancyBlocks != nil {
+ return *x.HighestPrioLowRedundancyBlocks
}
return 0
}
type GetDatanodeReportRequestProto struct {
- Type *DatanodeReportTypeProto `protobuf:"varint,1,req,name=type,enum=hadoop.hdfs.DatanodeReportTypeProto" json:"type,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Type *DatanodeReportTypeProto `protobuf:"varint,1,req,name=type,enum=hadoop.hdfs.DatanodeReportTypeProto" json:"type,omitempty"`
}
-func (m *GetDatanodeReportRequestProto) Reset() { *m = GetDatanodeReportRequestProto{} }
-func (m *GetDatanodeReportRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetDatanodeReportRequestProto) ProtoMessage() {}
-func (*GetDatanodeReportRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{56} }
+func (x *GetDatanodeReportRequestProto) Reset() {
+ *x = GetDatanodeReportRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[64]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *GetDatanodeReportRequestProto) GetType() DatanodeReportTypeProto {
- if m != nil && m.Type != nil {
- return *m.Type
+func (x *GetDatanodeReportRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetDatanodeReportRequestProto) ProtoMessage() {}
+
+func (x *GetDatanodeReportRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[64]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetDatanodeReportRequestProto.ProtoReflect.Descriptor instead.
+func (*GetDatanodeReportRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{64}
+}
+
+func (x *GetDatanodeReportRequestProto) GetType() DatanodeReportTypeProto {
+ if x != nil && x.Type != nil {
+ return *x.Type
}
return DatanodeReportTypeProto_ALL
}
type GetDatanodeReportResponseProto struct {
- Di []*DatanodeInfoProto `protobuf:"bytes,1,rep,name=di" json:"di,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Di []*DatanodeInfoProto `protobuf:"bytes,1,rep,name=di" json:"di,omitempty"`
}
-func (m *GetDatanodeReportResponseProto) Reset() { *m = GetDatanodeReportResponseProto{} }
-func (m *GetDatanodeReportResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetDatanodeReportResponseProto) ProtoMessage() {}
-func (*GetDatanodeReportResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{57} }
+func (x *GetDatanodeReportResponseProto) Reset() {
+ *x = GetDatanodeReportResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[65]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetDatanodeReportResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetDatanodeReportResponseProto) ProtoMessage() {}
-func (m *GetDatanodeReportResponseProto) GetDi() []*DatanodeInfoProto {
- if m != nil {
- return m.Di
+func (x *GetDatanodeReportResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[65]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetDatanodeReportResponseProto.ProtoReflect.Descriptor instead.
+func (*GetDatanodeReportResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{65}
+}
+
+func (x *GetDatanodeReportResponseProto) GetDi() []*DatanodeInfoProto {
+ if x != nil {
+ return x.Di
}
return nil
}
type GetDatanodeStorageReportRequestProto struct {
- Type *DatanodeReportTypeProto `protobuf:"varint,1,req,name=type,enum=hadoop.hdfs.DatanodeReportTypeProto" json:"type,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Type *DatanodeReportTypeProto `protobuf:"varint,1,req,name=type,enum=hadoop.hdfs.DatanodeReportTypeProto" json:"type,omitempty"`
+}
+
+func (x *GetDatanodeStorageReportRequestProto) Reset() {
+ *x = GetDatanodeStorageReportRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[66]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetDatanodeStorageReportRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetDatanodeStorageReportRequestProto) ProtoMessage() {}
+
+func (x *GetDatanodeStorageReportRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[66]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GetDatanodeStorageReportRequestProto) Reset() { *m = GetDatanodeStorageReportRequestProto{} }
-func (m *GetDatanodeStorageReportRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetDatanodeStorageReportRequestProto) ProtoMessage() {}
+// Deprecated: Use GetDatanodeStorageReportRequestProto.ProtoReflect.Descriptor instead.
func (*GetDatanodeStorageReportRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{58}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{66}
}
-func (m *GetDatanodeStorageReportRequestProto) GetType() DatanodeReportTypeProto {
- if m != nil && m.Type != nil {
- return *m.Type
+func (x *GetDatanodeStorageReportRequestProto) GetType() DatanodeReportTypeProto {
+ if x != nil && x.Type != nil {
+ return *x.Type
}
return DatanodeReportTypeProto_ALL
}
type DatanodeStorageReportProto struct {
- DatanodeInfo *DatanodeInfoProto `protobuf:"bytes,1,req,name=datanodeInfo" json:"datanodeInfo,omitempty"`
- StorageReports []*StorageReportProto `protobuf:"bytes,2,rep,name=storageReports" json:"storageReports,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ DatanodeInfo *DatanodeInfoProto `protobuf:"bytes,1,req,name=datanodeInfo" json:"datanodeInfo,omitempty"`
+ StorageReports []*StorageReportProto `protobuf:"bytes,2,rep,name=storageReports" json:"storageReports,omitempty"`
+}
+
+func (x *DatanodeStorageReportProto) Reset() {
+ *x = DatanodeStorageReportProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[67]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DatanodeStorageReportProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *DatanodeStorageReportProto) Reset() { *m = DatanodeStorageReportProto{} }
-func (m *DatanodeStorageReportProto) String() string { return proto.CompactTextString(m) }
-func (*DatanodeStorageReportProto) ProtoMessage() {}
-func (*DatanodeStorageReportProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{59} }
+func (*DatanodeStorageReportProto) ProtoMessage() {}
-func (m *DatanodeStorageReportProto) GetDatanodeInfo() *DatanodeInfoProto {
- if m != nil {
- return m.DatanodeInfo
+func (x *DatanodeStorageReportProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[67]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DatanodeStorageReportProto.ProtoReflect.Descriptor instead.
+func (*DatanodeStorageReportProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{67}
+}
+
+func (x *DatanodeStorageReportProto) GetDatanodeInfo() *DatanodeInfoProto {
+ if x != nil {
+ return x.DatanodeInfo
}
return nil
}
-func (m *DatanodeStorageReportProto) GetStorageReports() []*StorageReportProto {
- if m != nil {
- return m.StorageReports
+func (x *DatanodeStorageReportProto) GetStorageReports() []*StorageReportProto {
+ if x != nil {
+ return x.StorageReports
}
return nil
}
type GetDatanodeStorageReportResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
DatanodeStorageReports []*DatanodeStorageReportProto `protobuf:"bytes,1,rep,name=datanodeStorageReports" json:"datanodeStorageReports,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *GetDatanodeStorageReportResponseProto) Reset() { *m = GetDatanodeStorageReportResponseProto{} }
-func (m *GetDatanodeStorageReportResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetDatanodeStorageReportResponseProto) ProtoMessage() {}
+func (x *GetDatanodeStorageReportResponseProto) Reset() {
+ *x = GetDatanodeStorageReportResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[68]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetDatanodeStorageReportResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetDatanodeStorageReportResponseProto) ProtoMessage() {}
+
+func (x *GetDatanodeStorageReportResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[68]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetDatanodeStorageReportResponseProto.ProtoReflect.Descriptor instead.
func (*GetDatanodeStorageReportResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{60}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{68}
}
-func (m *GetDatanodeStorageReportResponseProto) GetDatanodeStorageReports() []*DatanodeStorageReportProto {
- if m != nil {
- return m.DatanodeStorageReports
+func (x *GetDatanodeStorageReportResponseProto) GetDatanodeStorageReports() []*DatanodeStorageReportProto {
+ if x != nil {
+ return x.DatanodeStorageReports
}
return nil
}
type GetPreferredBlockSizeRequestProto struct {
- Filename *string `protobuf:"bytes,1,req,name=filename" json:"filename,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Filename *string `protobuf:"bytes,1,req,name=filename" json:"filename,omitempty"`
+}
+
+func (x *GetPreferredBlockSizeRequestProto) Reset() {
+ *x = GetPreferredBlockSizeRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[69]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetPreferredBlockSizeRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetPreferredBlockSizeRequestProto) ProtoMessage() {}
+
+func (x *GetPreferredBlockSizeRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[69]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GetPreferredBlockSizeRequestProto) Reset() { *m = GetPreferredBlockSizeRequestProto{} }
-func (m *GetPreferredBlockSizeRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetPreferredBlockSizeRequestProto) ProtoMessage() {}
+// Deprecated: Use GetPreferredBlockSizeRequestProto.ProtoReflect.Descriptor instead.
func (*GetPreferredBlockSizeRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{61}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{69}
}
-func (m *GetPreferredBlockSizeRequestProto) GetFilename() string {
- if m != nil && m.Filename != nil {
- return *m.Filename
+func (x *GetPreferredBlockSizeRequestProto) GetFilename() string {
+ if x != nil && x.Filename != nil {
+ return *x.Filename
}
return ""
}
type GetPreferredBlockSizeResponseProto struct {
- Bsize *uint64 `protobuf:"varint,1,req,name=bsize" json:"bsize,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Bsize *uint64 `protobuf:"varint,1,req,name=bsize" json:"bsize,omitempty"`
}
-func (m *GetPreferredBlockSizeResponseProto) Reset() { *m = GetPreferredBlockSizeResponseProto{} }
-func (m *GetPreferredBlockSizeResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetPreferredBlockSizeResponseProto) ProtoMessage() {}
+func (x *GetPreferredBlockSizeResponseProto) Reset() {
+ *x = GetPreferredBlockSizeResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[70]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetPreferredBlockSizeResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetPreferredBlockSizeResponseProto) ProtoMessage() {}
+
+func (x *GetPreferredBlockSizeResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[70]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetPreferredBlockSizeResponseProto.ProtoReflect.Descriptor instead.
func (*GetPreferredBlockSizeResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{62}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{70}
}
-func (m *GetPreferredBlockSizeResponseProto) GetBsize() uint64 {
- if m != nil && m.Bsize != nil {
- return *m.Bsize
+func (x *GetPreferredBlockSizeResponseProto) GetBsize() uint64 {
+ if x != nil && x.Bsize != nil {
+ return *x.Bsize
}
return 0
}
type SetSafeModeRequestProto struct {
- Action *SafeModeActionProto `protobuf:"varint,1,req,name=action,enum=hadoop.hdfs.SafeModeActionProto" json:"action,omitempty"`
- Checked *bool `protobuf:"varint,2,opt,name=checked,def=0" json:"checked,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Action *SafeModeActionProto `protobuf:"varint,1,req,name=action,enum=hadoop.hdfs.SafeModeActionProto" json:"action,omitempty"`
+ Checked *bool `protobuf:"varint,2,opt,name=checked,def=0" json:"checked,omitempty"`
+}
+
+// Default values for SetSafeModeRequestProto fields.
+const (
+ Default_SetSafeModeRequestProto_Checked = bool(false)
+)
+
+func (x *SetSafeModeRequestProto) Reset() {
+ *x = SetSafeModeRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[71]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *SetSafeModeRequestProto) Reset() { *m = SetSafeModeRequestProto{} }
-func (m *SetSafeModeRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SetSafeModeRequestProto) ProtoMessage() {}
-func (*SetSafeModeRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{63} }
+func (x *SetSafeModeRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-const Default_SetSafeModeRequestProto_Checked bool = false
+func (*SetSafeModeRequestProto) ProtoMessage() {}
-func (m *SetSafeModeRequestProto) GetAction() SafeModeActionProto {
- if m != nil && m.Action != nil {
- return *m.Action
+func (x *SetSafeModeRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[71]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetSafeModeRequestProto.ProtoReflect.Descriptor instead.
+func (*SetSafeModeRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{71}
+}
+
+func (x *SetSafeModeRequestProto) GetAction() SafeModeActionProto {
+ if x != nil && x.Action != nil {
+ return *x.Action
}
return SafeModeActionProto_SAFEMODE_LEAVE
}
-func (m *SetSafeModeRequestProto) GetChecked() bool {
- if m != nil && m.Checked != nil {
- return *m.Checked
+func (x *SetSafeModeRequestProto) GetChecked() bool {
+ if x != nil && x.Checked != nil {
+ return *x.Checked
}
return Default_SetSafeModeRequestProto_Checked
}
type SetSafeModeResponseProto struct {
- Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
}
-func (m *SetSafeModeResponseProto) Reset() { *m = SetSafeModeResponseProto{} }
-func (m *SetSafeModeResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SetSafeModeResponseProto) ProtoMessage() {}
-func (*SetSafeModeResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{64} }
+func (x *SetSafeModeResponseProto) Reset() {
+ *x = SetSafeModeResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[72]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetSafeModeResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetSafeModeResponseProto) ProtoMessage() {}
+
+func (x *SetSafeModeResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[72]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetSafeModeResponseProto.ProtoReflect.Descriptor instead.
+func (*SetSafeModeResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{72}
+}
-func (m *SetSafeModeResponseProto) GetResult() bool {
- if m != nil && m.Result != nil {
- return *m.Result
+func (x *SetSafeModeResponseProto) GetResult() bool {
+ if x != nil && x.Result != nil {
+ return *x.Result
}
return false
}
type SaveNamespaceRequestProto struct {
- TimeWindow *uint64 `protobuf:"varint,1,opt,name=timeWindow,def=0" json:"timeWindow,omitempty"`
- TxGap *uint64 `protobuf:"varint,2,opt,name=txGap,def=0" json:"txGap,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ TimeWindow *uint64 `protobuf:"varint,1,opt,name=timeWindow,def=0" json:"timeWindow,omitempty"`
+ TxGap *uint64 `protobuf:"varint,2,opt,name=txGap,def=0" json:"txGap,omitempty"`
}
-func (m *SaveNamespaceRequestProto) Reset() { *m = SaveNamespaceRequestProto{} }
-func (m *SaveNamespaceRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SaveNamespaceRequestProto) ProtoMessage() {}
-func (*SaveNamespaceRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{65} }
+// Default values for SaveNamespaceRequestProto fields.
+const (
+ Default_SaveNamespaceRequestProto_TimeWindow = uint64(0)
+ Default_SaveNamespaceRequestProto_TxGap = uint64(0)
+)
-const Default_SaveNamespaceRequestProto_TimeWindow uint64 = 0
-const Default_SaveNamespaceRequestProto_TxGap uint64 = 0
+func (x *SaveNamespaceRequestProto) Reset() {
+ *x = SaveNamespaceRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[73]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *SaveNamespaceRequestProto) GetTimeWindow() uint64 {
- if m != nil && m.TimeWindow != nil {
- return *m.TimeWindow
+func (x *SaveNamespaceRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SaveNamespaceRequestProto) ProtoMessage() {}
+
+func (x *SaveNamespaceRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[73]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SaveNamespaceRequestProto.ProtoReflect.Descriptor instead.
+func (*SaveNamespaceRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{73}
+}
+
+func (x *SaveNamespaceRequestProto) GetTimeWindow() uint64 {
+ if x != nil && x.TimeWindow != nil {
+ return *x.TimeWindow
}
return Default_SaveNamespaceRequestProto_TimeWindow
}
-func (m *SaveNamespaceRequestProto) GetTxGap() uint64 {
- if m != nil && m.TxGap != nil {
- return *m.TxGap
+func (x *SaveNamespaceRequestProto) GetTxGap() uint64 {
+ if x != nil && x.TxGap != nil {
+ return *x.TxGap
}
return Default_SaveNamespaceRequestProto_TxGap
}
type SaveNamespaceResponseProto struct {
- Saved *bool `protobuf:"varint,1,opt,name=saved,def=1" json:"saved,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Saved *bool `protobuf:"varint,1,opt,name=saved,def=1" json:"saved,omitempty"`
+}
+
+// Default values for SaveNamespaceResponseProto fields.
+const (
+ Default_SaveNamespaceResponseProto_Saved = bool(true)
+)
+
+func (x *SaveNamespaceResponseProto) Reset() {
+ *x = SaveNamespaceResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[74]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SaveNamespaceResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *SaveNamespaceResponseProto) Reset() { *m = SaveNamespaceResponseProto{} }
-func (m *SaveNamespaceResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SaveNamespaceResponseProto) ProtoMessage() {}
-func (*SaveNamespaceResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{66} }
+func (*SaveNamespaceResponseProto) ProtoMessage() {}
-const Default_SaveNamespaceResponseProto_Saved bool = true
+func (x *SaveNamespaceResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[74]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SaveNamespaceResponseProto.ProtoReflect.Descriptor instead.
+func (*SaveNamespaceResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{74}
+}
-func (m *SaveNamespaceResponseProto) GetSaved() bool {
- if m != nil && m.Saved != nil {
- return *m.Saved
+func (x *SaveNamespaceResponseProto) GetSaved() bool {
+ if x != nil && x.Saved != nil {
+ return *x.Saved
}
return Default_SaveNamespaceResponseProto_Saved
}
type RollEditsRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RollEditsRequestProto) Reset() {
+ *x = RollEditsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[75]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RollEditsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RollEditsRequestProto) ProtoMessage() {}
+
+func (x *RollEditsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[75]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *RollEditsRequestProto) Reset() { *m = RollEditsRequestProto{} }
-func (m *RollEditsRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RollEditsRequestProto) ProtoMessage() {}
-func (*RollEditsRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{67} }
+// Deprecated: Use RollEditsRequestProto.ProtoReflect.Descriptor instead.
+func (*RollEditsRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{75}
+}
type RollEditsResponseProto struct {
- NewSegmentTxId *uint64 `protobuf:"varint,1,req,name=newSegmentTxId" json:"newSegmentTxId,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ NewSegmentTxId *uint64 `protobuf:"varint,1,req,name=newSegmentTxId" json:"newSegmentTxId,omitempty"`
+}
+
+func (x *RollEditsResponseProto) Reset() {
+ *x = RollEditsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[76]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RollEditsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RollEditsResponseProto) ProtoMessage() {}
+
+func (x *RollEditsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[76]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *RollEditsResponseProto) Reset() { *m = RollEditsResponseProto{} }
-func (m *RollEditsResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RollEditsResponseProto) ProtoMessage() {}
-func (*RollEditsResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{68} }
+// Deprecated: Use RollEditsResponseProto.ProtoReflect.Descriptor instead.
+func (*RollEditsResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{76}
+}
-func (m *RollEditsResponseProto) GetNewSegmentTxId() uint64 {
- if m != nil && m.NewSegmentTxId != nil {
- return *m.NewSegmentTxId
+func (x *RollEditsResponseProto) GetNewSegmentTxId() uint64 {
+ if x != nil && x.NewSegmentTxId != nil {
+ return *x.NewSegmentTxId
}
return 0
}
type RestoreFailedStorageRequestProto struct {
- Arg *string `protobuf:"bytes,1,req,name=arg" json:"arg,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Arg *string `protobuf:"bytes,1,req,name=arg" json:"arg,omitempty"`
}
-func (m *RestoreFailedStorageRequestProto) Reset() { *m = RestoreFailedStorageRequestProto{} }
-func (m *RestoreFailedStorageRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RestoreFailedStorageRequestProto) ProtoMessage() {}
+func (x *RestoreFailedStorageRequestProto) Reset() {
+ *x = RestoreFailedStorageRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[77]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RestoreFailedStorageRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RestoreFailedStorageRequestProto) ProtoMessage() {}
+
+func (x *RestoreFailedStorageRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[77]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RestoreFailedStorageRequestProto.ProtoReflect.Descriptor instead.
func (*RestoreFailedStorageRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{69}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{77}
}
-func (m *RestoreFailedStorageRequestProto) GetArg() string {
- if m != nil && m.Arg != nil {
- return *m.Arg
+func (x *RestoreFailedStorageRequestProto) GetArg() string {
+ if x != nil && x.Arg != nil {
+ return *x.Arg
}
return ""
}
type RestoreFailedStorageResponseProto struct {
- Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
+}
+
+func (x *RestoreFailedStorageResponseProto) Reset() {
+ *x = RestoreFailedStorageResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[78]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RestoreFailedStorageResponseProto) Reset() { *m = RestoreFailedStorageResponseProto{} }
-func (m *RestoreFailedStorageResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RestoreFailedStorageResponseProto) ProtoMessage() {}
+func (x *RestoreFailedStorageResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RestoreFailedStorageResponseProto) ProtoMessage() {}
+
+func (x *RestoreFailedStorageResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[78]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RestoreFailedStorageResponseProto.ProtoReflect.Descriptor instead.
func (*RestoreFailedStorageResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{70}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{78}
}
-func (m *RestoreFailedStorageResponseProto) GetResult() bool {
- if m != nil && m.Result != nil {
- return *m.Result
+func (x *RestoreFailedStorageResponseProto) GetResult() bool {
+ if x != nil && x.Result != nil {
+ return *x.Result
}
return false
}
type RefreshNodesRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *RefreshNodesRequestProto) Reset() { *m = RefreshNodesRequestProto{} }
-func (m *RefreshNodesRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RefreshNodesRequestProto) ProtoMessage() {}
-func (*RefreshNodesRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{71} }
+func (x *RefreshNodesRequestProto) Reset() {
+ *x = RefreshNodesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[79]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RefreshNodesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RefreshNodesRequestProto) ProtoMessage() {}
+
+func (x *RefreshNodesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[79]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RefreshNodesRequestProto.ProtoReflect.Descriptor instead.
+func (*RefreshNodesRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{79}
+}
type RefreshNodesResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RefreshNodesResponseProto) Reset() {
+ *x = RefreshNodesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[80]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RefreshNodesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RefreshNodesResponseProto) ProtoMessage() {}
+
+func (x *RefreshNodesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[80]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *RefreshNodesResponseProto) Reset() { *m = RefreshNodesResponseProto{} }
-func (m *RefreshNodesResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RefreshNodesResponseProto) ProtoMessage() {}
-func (*RefreshNodesResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{72} }
+// Deprecated: Use RefreshNodesResponseProto.ProtoReflect.Descriptor instead.
+func (*RefreshNodesResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{80}
+}
type FinalizeUpgradeRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *FinalizeUpgradeRequestProto) Reset() { *m = FinalizeUpgradeRequestProto{} }
-func (m *FinalizeUpgradeRequestProto) String() string { return proto.CompactTextString(m) }
-func (*FinalizeUpgradeRequestProto) ProtoMessage() {}
-func (*FinalizeUpgradeRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{73} }
+func (x *FinalizeUpgradeRequestProto) Reset() {
+ *x = FinalizeUpgradeRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[81]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FinalizeUpgradeRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FinalizeUpgradeRequestProto) ProtoMessage() {}
+
+func (x *FinalizeUpgradeRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[81]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FinalizeUpgradeRequestProto.ProtoReflect.Descriptor instead.
+func (*FinalizeUpgradeRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{81}
+}
type FinalizeUpgradeResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *FinalizeUpgradeResponseProto) Reset() {
+ *x = FinalizeUpgradeResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[82]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FinalizeUpgradeResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *FinalizeUpgradeResponseProto) Reset() { *m = FinalizeUpgradeResponseProto{} }
-func (m *FinalizeUpgradeResponseProto) String() string { return proto.CompactTextString(m) }
-func (*FinalizeUpgradeResponseProto) ProtoMessage() {}
-func (*FinalizeUpgradeResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{74} }
+func (*FinalizeUpgradeResponseProto) ProtoMessage() {}
+
+func (x *FinalizeUpgradeResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[82]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FinalizeUpgradeResponseProto.ProtoReflect.Descriptor instead.
+func (*FinalizeUpgradeResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{82}
+}
+
+type UpgradeStatusRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *UpgradeStatusRequestProto) Reset() {
+ *x = UpgradeStatusRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[83]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UpgradeStatusRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UpgradeStatusRequestProto) ProtoMessage() {}
+
+func (x *UpgradeStatusRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[83]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UpgradeStatusRequestProto.ProtoReflect.Descriptor instead.
+func (*UpgradeStatusRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{83}
+}
+
+type UpgradeStatusResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ UpgradeFinalized *bool `protobuf:"varint,1,req,name=upgradeFinalized" json:"upgradeFinalized,omitempty"`
+}
+
+func (x *UpgradeStatusResponseProto) Reset() {
+ *x = UpgradeStatusResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[84]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UpgradeStatusResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UpgradeStatusResponseProto) ProtoMessage() {}
+
+func (x *UpgradeStatusResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[84]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UpgradeStatusResponseProto.ProtoReflect.Descriptor instead.
+func (*UpgradeStatusResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{84}
+}
+
+func (x *UpgradeStatusResponseProto) GetUpgradeFinalized() bool {
+ if x != nil && x.UpgradeFinalized != nil {
+ return *x.UpgradeFinalized
+ }
+ return false
+}
type RollingUpgradeRequestProto struct {
- Action *RollingUpgradeActionProto `protobuf:"varint,1,req,name=action,enum=hadoop.hdfs.RollingUpgradeActionProto" json:"action,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Action *RollingUpgradeActionProto `protobuf:"varint,1,req,name=action,enum=hadoop.hdfs.RollingUpgradeActionProto" json:"action,omitempty"`
}
-func (m *RollingUpgradeRequestProto) Reset() { *m = RollingUpgradeRequestProto{} }
-func (m *RollingUpgradeRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RollingUpgradeRequestProto) ProtoMessage() {}
-func (*RollingUpgradeRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{75} }
+func (x *RollingUpgradeRequestProto) Reset() {
+ *x = RollingUpgradeRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[85]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *RollingUpgradeRequestProto) GetAction() RollingUpgradeActionProto {
- if m != nil && m.Action != nil {
- return *m.Action
+func (x *RollingUpgradeRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RollingUpgradeRequestProto) ProtoMessage() {}
+
+func (x *RollingUpgradeRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[85]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RollingUpgradeRequestProto.ProtoReflect.Descriptor instead.
+func (*RollingUpgradeRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{85}
+}
+
+func (x *RollingUpgradeRequestProto) GetAction() RollingUpgradeActionProto {
+ if x != nil && x.Action != nil {
+ return *x.Action
}
return RollingUpgradeActionProto_QUERY
}
type RollingUpgradeInfoProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Status *RollingUpgradeStatusProto `protobuf:"bytes,1,req,name=status" json:"status,omitempty"`
StartTime *uint64 `protobuf:"varint,2,req,name=startTime" json:"startTime,omitempty"`
FinalizeTime *uint64 `protobuf:"varint,3,req,name=finalizeTime" json:"finalizeTime,omitempty"`
CreatedRollbackImages *bool `protobuf:"varint,4,req,name=createdRollbackImages" json:"createdRollbackImages,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *RollingUpgradeInfoProto) Reset() { *m = RollingUpgradeInfoProto{} }
-func (m *RollingUpgradeInfoProto) String() string { return proto.CompactTextString(m) }
-func (*RollingUpgradeInfoProto) ProtoMessage() {}
-func (*RollingUpgradeInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{76} }
+func (x *RollingUpgradeInfoProto) Reset() {
+ *x = RollingUpgradeInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[86]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RollingUpgradeInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RollingUpgradeInfoProto) ProtoMessage() {}
-func (m *RollingUpgradeInfoProto) GetStatus() *RollingUpgradeStatusProto {
- if m != nil {
- return m.Status
+func (x *RollingUpgradeInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[86]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RollingUpgradeInfoProto.ProtoReflect.Descriptor instead.
+func (*RollingUpgradeInfoProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{86}
+}
+
+func (x *RollingUpgradeInfoProto) GetStatus() *RollingUpgradeStatusProto {
+ if x != nil {
+ return x.Status
}
return nil
}
-func (m *RollingUpgradeInfoProto) GetStartTime() uint64 {
- if m != nil && m.StartTime != nil {
- return *m.StartTime
+func (x *RollingUpgradeInfoProto) GetStartTime() uint64 {
+ if x != nil && x.StartTime != nil {
+ return *x.StartTime
}
return 0
}
-func (m *RollingUpgradeInfoProto) GetFinalizeTime() uint64 {
- if m != nil && m.FinalizeTime != nil {
- return *m.FinalizeTime
+func (x *RollingUpgradeInfoProto) GetFinalizeTime() uint64 {
+ if x != nil && x.FinalizeTime != nil {
+ return *x.FinalizeTime
}
return 0
}
-func (m *RollingUpgradeInfoProto) GetCreatedRollbackImages() bool {
- if m != nil && m.CreatedRollbackImages != nil {
- return *m.CreatedRollbackImages
+func (x *RollingUpgradeInfoProto) GetCreatedRollbackImages() bool {
+ if x != nil && x.CreatedRollbackImages != nil {
+ return *x.CreatedRollbackImages
}
return false
}
type RollingUpgradeResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
RollingUpgradeInfo *RollingUpgradeInfoProto `protobuf:"bytes,1,opt,name=rollingUpgradeInfo" json:"rollingUpgradeInfo,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *RollingUpgradeResponseProto) Reset() { *m = RollingUpgradeResponseProto{} }
-func (m *RollingUpgradeResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RollingUpgradeResponseProto) ProtoMessage() {}
-func (*RollingUpgradeResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{77} }
+func (x *RollingUpgradeResponseProto) Reset() {
+ *x = RollingUpgradeResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[87]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RollingUpgradeResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RollingUpgradeResponseProto) ProtoMessage() {}
+
+func (x *RollingUpgradeResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[87]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RollingUpgradeResponseProto.ProtoReflect.Descriptor instead.
+func (*RollingUpgradeResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{87}
+}
-func (m *RollingUpgradeResponseProto) GetRollingUpgradeInfo() *RollingUpgradeInfoProto {
- if m != nil {
- return m.RollingUpgradeInfo
+func (x *RollingUpgradeResponseProto) GetRollingUpgradeInfo() *RollingUpgradeInfoProto {
+ if x != nil {
+ return x.RollingUpgradeInfo
}
return nil
}
type ListCorruptFileBlocksRequestProto struct {
- Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
- Cookie *string `protobuf:"bytes,2,opt,name=cookie" json:"cookie,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
+ Cookie *string `protobuf:"bytes,2,opt,name=cookie" json:"cookie,omitempty"`
+}
+
+func (x *ListCorruptFileBlocksRequestProto) Reset() {
+ *x = ListCorruptFileBlocksRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[88]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListCorruptFileBlocksRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListCorruptFileBlocksRequestProto) ProtoMessage() {}
+
+func (x *ListCorruptFileBlocksRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[88]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ListCorruptFileBlocksRequestProto) Reset() { *m = ListCorruptFileBlocksRequestProto{} }
-func (m *ListCorruptFileBlocksRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ListCorruptFileBlocksRequestProto) ProtoMessage() {}
+// Deprecated: Use ListCorruptFileBlocksRequestProto.ProtoReflect.Descriptor instead.
func (*ListCorruptFileBlocksRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{78}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{88}
}
-func (m *ListCorruptFileBlocksRequestProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *ListCorruptFileBlocksRequestProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
-func (m *ListCorruptFileBlocksRequestProto) GetCookie() string {
- if m != nil && m.Cookie != nil {
- return *m.Cookie
+func (x *ListCorruptFileBlocksRequestProto) GetCookie() string {
+ if x != nil && x.Cookie != nil {
+ return *x.Cookie
}
return ""
}
type ListCorruptFileBlocksResponseProto struct {
- Corrupt *CorruptFileBlocksProto `protobuf:"bytes,1,req,name=corrupt" json:"corrupt,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Corrupt *CorruptFileBlocksProto `protobuf:"bytes,1,req,name=corrupt" json:"corrupt,omitempty"`
+}
+
+func (x *ListCorruptFileBlocksResponseProto) Reset() {
+ *x = ListCorruptFileBlocksResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[89]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ListCorruptFileBlocksResponseProto) Reset() { *m = ListCorruptFileBlocksResponseProto{} }
-func (m *ListCorruptFileBlocksResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ListCorruptFileBlocksResponseProto) ProtoMessage() {}
+func (x *ListCorruptFileBlocksResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListCorruptFileBlocksResponseProto) ProtoMessage() {}
+
+func (x *ListCorruptFileBlocksResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[89]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListCorruptFileBlocksResponseProto.ProtoReflect.Descriptor instead.
func (*ListCorruptFileBlocksResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{79}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{89}
}
-func (m *ListCorruptFileBlocksResponseProto) GetCorrupt() *CorruptFileBlocksProto {
- if m != nil {
- return m.Corrupt
+func (x *ListCorruptFileBlocksResponseProto) GetCorrupt() *CorruptFileBlocksProto {
+ if x != nil {
+ return x.Corrupt
}
return nil
}
type MetaSaveRequestProto struct {
- Filename *string `protobuf:"bytes,1,req,name=filename" json:"filename,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Filename *string `protobuf:"bytes,1,req,name=filename" json:"filename,omitempty"`
}
-func (m *MetaSaveRequestProto) Reset() { *m = MetaSaveRequestProto{} }
-func (m *MetaSaveRequestProto) String() string { return proto.CompactTextString(m) }
-func (*MetaSaveRequestProto) ProtoMessage() {}
-func (*MetaSaveRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{80} }
+func (x *MetaSaveRequestProto) Reset() {
+ *x = MetaSaveRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[90]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *MetaSaveRequestProto) GetFilename() string {
- if m != nil && m.Filename != nil {
- return *m.Filename
+func (x *MetaSaveRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*MetaSaveRequestProto) ProtoMessage() {}
+
+func (x *MetaSaveRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[90]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use MetaSaveRequestProto.ProtoReflect.Descriptor instead.
+func (*MetaSaveRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{90}
+}
+
+func (x *MetaSaveRequestProto) GetFilename() string {
+ if x != nil && x.Filename != nil {
+ return *x.Filename
}
return ""
}
type MetaSaveResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *MetaSaveResponseProto) Reset() { *m = MetaSaveResponseProto{} }
-func (m *MetaSaveResponseProto) String() string { return proto.CompactTextString(m) }
-func (*MetaSaveResponseProto) ProtoMessage() {}
-func (*MetaSaveResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{81} }
+func (x *MetaSaveResponseProto) Reset() {
+ *x = MetaSaveResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[91]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *MetaSaveResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*MetaSaveResponseProto) ProtoMessage() {}
+
+func (x *MetaSaveResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[91]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use MetaSaveResponseProto.ProtoReflect.Descriptor instead.
+func (*MetaSaveResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{91}
+}
type GetFileInfoRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
}
-func (m *GetFileInfoRequestProto) Reset() { *m = GetFileInfoRequestProto{} }
-func (m *GetFileInfoRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetFileInfoRequestProto) ProtoMessage() {}
-func (*GetFileInfoRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{82} }
+func (x *GetFileInfoRequestProto) Reset() {
+ *x = GetFileInfoRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[92]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetFileInfoRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetFileInfoRequestProto) ProtoMessage() {}
+
+func (x *GetFileInfoRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[92]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetFileInfoRequestProto.ProtoReflect.Descriptor instead.
+func (*GetFileInfoRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{92}
+}
-func (m *GetFileInfoRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *GetFileInfoRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
type GetFileInfoResponseProto struct {
- Fs *HdfsFileStatusProto `protobuf:"bytes,1,opt,name=fs" json:"fs,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Fs *HdfsFileStatusProto `protobuf:"bytes,1,opt,name=fs" json:"fs,omitempty"`
}
-func (m *GetFileInfoResponseProto) Reset() { *m = GetFileInfoResponseProto{} }
-func (m *GetFileInfoResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetFileInfoResponseProto) ProtoMessage() {}
-func (*GetFileInfoResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{83} }
+func (x *GetFileInfoResponseProto) Reset() {
+ *x = GetFileInfoResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[93]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetFileInfoResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *GetFileInfoResponseProto) GetFs() *HdfsFileStatusProto {
- if m != nil {
- return m.Fs
+func (*GetFileInfoResponseProto) ProtoMessage() {}
+
+func (x *GetFileInfoResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[93]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetFileInfoResponseProto.ProtoReflect.Descriptor instead.
+func (*GetFileInfoResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{93}
+}
+
+func (x *GetFileInfoResponseProto) GetFs() *HdfsFileStatusProto {
+ if x != nil {
+ return x.Fs
+ }
+ return nil
+}
+
+type GetLocatedFileInfoRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,opt,name=src" json:"src,omitempty"`
+ NeedBlockToken *bool `protobuf:"varint,2,opt,name=needBlockToken,def=0" json:"needBlockToken,omitempty"`
+}
+
+// Default values for GetLocatedFileInfoRequestProto fields.
+const (
+ Default_GetLocatedFileInfoRequestProto_NeedBlockToken = bool(false)
+)
+
+func (x *GetLocatedFileInfoRequestProto) Reset() {
+ *x = GetLocatedFileInfoRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[94]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetLocatedFileInfoRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetLocatedFileInfoRequestProto) ProtoMessage() {}
+
+func (x *GetLocatedFileInfoRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[94]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetLocatedFileInfoRequestProto.ProtoReflect.Descriptor instead.
+func (*GetLocatedFileInfoRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{94}
+}
+
+func (x *GetLocatedFileInfoRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
+ }
+ return ""
+}
+
+func (x *GetLocatedFileInfoRequestProto) GetNeedBlockToken() bool {
+ if x != nil && x.NeedBlockToken != nil {
+ return *x.NeedBlockToken
+ }
+ return Default_GetLocatedFileInfoRequestProto_NeedBlockToken
+}
+
+type GetLocatedFileInfoResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Fs *HdfsFileStatusProto `protobuf:"bytes,1,opt,name=fs" json:"fs,omitempty"`
+}
+
+func (x *GetLocatedFileInfoResponseProto) Reset() {
+ *x = GetLocatedFileInfoResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[95]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetLocatedFileInfoResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetLocatedFileInfoResponseProto) ProtoMessage() {}
+
+func (x *GetLocatedFileInfoResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[95]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetLocatedFileInfoResponseProto.ProtoReflect.Descriptor instead.
+func (*GetLocatedFileInfoResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{95}
+}
+
+func (x *GetLocatedFileInfoResponseProto) GetFs() *HdfsFileStatusProto {
+ if x != nil {
+ return x.Fs
}
return nil
}
type IsFileClosedRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
}
-func (m *IsFileClosedRequestProto) Reset() { *m = IsFileClosedRequestProto{} }
-func (m *IsFileClosedRequestProto) String() string { return proto.CompactTextString(m) }
-func (*IsFileClosedRequestProto) ProtoMessage() {}
-func (*IsFileClosedRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{84} }
+func (x *IsFileClosedRequestProto) Reset() {
+ *x = IsFileClosedRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[96]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *IsFileClosedRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *IsFileClosedRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*IsFileClosedRequestProto) ProtoMessage() {}
+
+func (x *IsFileClosedRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[96]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use IsFileClosedRequestProto.ProtoReflect.Descriptor instead.
+func (*IsFileClosedRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{96}
+}
+
+func (x *IsFileClosedRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
type IsFileClosedResponseProto struct {
- Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *bool `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
+}
+
+func (x *IsFileClosedResponseProto) Reset() {
+ *x = IsFileClosedResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[97]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *IsFileClosedResponseProto) Reset() { *m = IsFileClosedResponseProto{} }
-func (m *IsFileClosedResponseProto) String() string { return proto.CompactTextString(m) }
-func (*IsFileClosedResponseProto) ProtoMessage() {}
-func (*IsFileClosedResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{85} }
+func (x *IsFileClosedResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*IsFileClosedResponseProto) ProtoMessage() {}
-func (m *IsFileClosedResponseProto) GetResult() bool {
- if m != nil && m.Result != nil {
- return *m.Result
+func (x *IsFileClosedResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[97]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use IsFileClosedResponseProto.ProtoReflect.Descriptor instead.
+func (*IsFileClosedResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{97}
+}
+
+func (x *IsFileClosedResponseProto) GetResult() bool {
+ if x != nil && x.Result != nil {
+ return *x.Result
}
return false
}
type CacheDirectiveInfoProto struct {
- Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
- Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
- Replication *uint32 `protobuf:"varint,3,opt,name=replication" json:"replication,omitempty"`
- Pool *string `protobuf:"bytes,4,opt,name=pool" json:"pool,omitempty"`
- Expiration *CacheDirectiveInfoExpirationProto `protobuf:"bytes,5,opt,name=expiration" json:"expiration,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
+ Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
+ Replication *uint32 `protobuf:"varint,3,opt,name=replication" json:"replication,omitempty"`
+ Pool *string `protobuf:"bytes,4,opt,name=pool" json:"pool,omitempty"`
+ Expiration *CacheDirectiveInfoExpirationProto `protobuf:"bytes,5,opt,name=expiration" json:"expiration,omitempty"`
+}
+
+func (x *CacheDirectiveInfoProto) Reset() {
+ *x = CacheDirectiveInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[98]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CacheDirectiveInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CacheDirectiveInfoProto) ProtoMessage() {}
+
+func (x *CacheDirectiveInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[98]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *CacheDirectiveInfoProto) Reset() { *m = CacheDirectiveInfoProto{} }
-func (m *CacheDirectiveInfoProto) String() string { return proto.CompactTextString(m) }
-func (*CacheDirectiveInfoProto) ProtoMessage() {}
-func (*CacheDirectiveInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{86} }
+// Deprecated: Use CacheDirectiveInfoProto.ProtoReflect.Descriptor instead.
+func (*CacheDirectiveInfoProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{98}
+}
-func (m *CacheDirectiveInfoProto) GetId() int64 {
- if m != nil && m.Id != nil {
- return *m.Id
+func (x *CacheDirectiveInfoProto) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
}
return 0
}
-func (m *CacheDirectiveInfoProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *CacheDirectiveInfoProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
-func (m *CacheDirectiveInfoProto) GetReplication() uint32 {
- if m != nil && m.Replication != nil {
- return *m.Replication
+func (x *CacheDirectiveInfoProto) GetReplication() uint32 {
+ if x != nil && x.Replication != nil {
+ return *x.Replication
}
return 0
}
-func (m *CacheDirectiveInfoProto) GetPool() string {
- if m != nil && m.Pool != nil {
- return *m.Pool
+func (x *CacheDirectiveInfoProto) GetPool() string {
+ if x != nil && x.Pool != nil {
+ return *x.Pool
}
return ""
}
-func (m *CacheDirectiveInfoProto) GetExpiration() *CacheDirectiveInfoExpirationProto {
- if m != nil {
- return m.Expiration
+func (x *CacheDirectiveInfoProto) GetExpiration() *CacheDirectiveInfoExpirationProto {
+ if x != nil {
+ return x.Expiration
}
return nil
}
type CacheDirectiveInfoExpirationProto struct {
- Millis *int64 `protobuf:"varint,1,req,name=millis" json:"millis,omitempty"`
- IsRelative *bool `protobuf:"varint,2,req,name=isRelative" json:"isRelative,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Millis *int64 `protobuf:"varint,1,req,name=millis" json:"millis,omitempty"`
+ IsRelative *bool `protobuf:"varint,2,req,name=isRelative" json:"isRelative,omitempty"`
+}
+
+func (x *CacheDirectiveInfoExpirationProto) Reset() {
+ *x = CacheDirectiveInfoExpirationProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[99]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CacheDirectiveInfoExpirationProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CacheDirectiveInfoExpirationProto) ProtoMessage() {}
+
+func (x *CacheDirectiveInfoExpirationProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[99]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *CacheDirectiveInfoExpirationProto) Reset() { *m = CacheDirectiveInfoExpirationProto{} }
-func (m *CacheDirectiveInfoExpirationProto) String() string { return proto.CompactTextString(m) }
-func (*CacheDirectiveInfoExpirationProto) ProtoMessage() {}
+// Deprecated: Use CacheDirectiveInfoExpirationProto.ProtoReflect.Descriptor instead.
func (*CacheDirectiveInfoExpirationProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{87}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{99}
}
-func (m *CacheDirectiveInfoExpirationProto) GetMillis() int64 {
- if m != nil && m.Millis != nil {
- return *m.Millis
+func (x *CacheDirectiveInfoExpirationProto) GetMillis() int64 {
+ if x != nil && x.Millis != nil {
+ return *x.Millis
}
return 0
}
-func (m *CacheDirectiveInfoExpirationProto) GetIsRelative() bool {
- if m != nil && m.IsRelative != nil {
- return *m.IsRelative
+func (x *CacheDirectiveInfoExpirationProto) GetIsRelative() bool {
+ if x != nil && x.IsRelative != nil {
+ return *x.IsRelative
}
return false
}
type CacheDirectiveStatsProto struct {
- BytesNeeded *int64 `protobuf:"varint,1,req,name=bytesNeeded" json:"bytesNeeded,omitempty"`
- BytesCached *int64 `protobuf:"varint,2,req,name=bytesCached" json:"bytesCached,omitempty"`
- FilesNeeded *int64 `protobuf:"varint,3,req,name=filesNeeded" json:"filesNeeded,omitempty"`
- FilesCached *int64 `protobuf:"varint,4,req,name=filesCached" json:"filesCached,omitempty"`
- HasExpired *bool `protobuf:"varint,5,req,name=hasExpired" json:"hasExpired,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BytesNeeded *int64 `protobuf:"varint,1,req,name=bytesNeeded" json:"bytesNeeded,omitempty"`
+ BytesCached *int64 `protobuf:"varint,2,req,name=bytesCached" json:"bytesCached,omitempty"`
+ FilesNeeded *int64 `protobuf:"varint,3,req,name=filesNeeded" json:"filesNeeded,omitempty"`
+ FilesCached *int64 `protobuf:"varint,4,req,name=filesCached" json:"filesCached,omitempty"`
+ HasExpired *bool `protobuf:"varint,5,req,name=hasExpired" json:"hasExpired,omitempty"`
}
-func (m *CacheDirectiveStatsProto) Reset() { *m = CacheDirectiveStatsProto{} }
-func (m *CacheDirectiveStatsProto) String() string { return proto.CompactTextString(m) }
-func (*CacheDirectiveStatsProto) ProtoMessage() {}
-func (*CacheDirectiveStatsProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{88} }
+func (x *CacheDirectiveStatsProto) Reset() {
+ *x = CacheDirectiveStatsProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[100]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *CacheDirectiveStatsProto) GetBytesNeeded() int64 {
- if m != nil && m.BytesNeeded != nil {
- return *m.BytesNeeded
+func (x *CacheDirectiveStatsProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CacheDirectiveStatsProto) ProtoMessage() {}
+
+func (x *CacheDirectiveStatsProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[100]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CacheDirectiveStatsProto.ProtoReflect.Descriptor instead.
+func (*CacheDirectiveStatsProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{100}
+}
+
+func (x *CacheDirectiveStatsProto) GetBytesNeeded() int64 {
+ if x != nil && x.BytesNeeded != nil {
+ return *x.BytesNeeded
}
return 0
}
-func (m *CacheDirectiveStatsProto) GetBytesCached() int64 {
- if m != nil && m.BytesCached != nil {
- return *m.BytesCached
+func (x *CacheDirectiveStatsProto) GetBytesCached() int64 {
+ if x != nil && x.BytesCached != nil {
+ return *x.BytesCached
}
return 0
}
-func (m *CacheDirectiveStatsProto) GetFilesNeeded() int64 {
- if m != nil && m.FilesNeeded != nil {
- return *m.FilesNeeded
+func (x *CacheDirectiveStatsProto) GetFilesNeeded() int64 {
+ if x != nil && x.FilesNeeded != nil {
+ return *x.FilesNeeded
}
return 0
}
-func (m *CacheDirectiveStatsProto) GetFilesCached() int64 {
- if m != nil && m.FilesCached != nil {
- return *m.FilesCached
+func (x *CacheDirectiveStatsProto) GetFilesCached() int64 {
+ if x != nil && x.FilesCached != nil {
+ return *x.FilesCached
}
return 0
}
-func (m *CacheDirectiveStatsProto) GetHasExpired() bool {
- if m != nil && m.HasExpired != nil {
- return *m.HasExpired
+func (x *CacheDirectiveStatsProto) GetHasExpired() bool {
+ if x != nil && x.HasExpired != nil {
+ return *x.HasExpired
}
return false
}
type AddCacheDirectiveRequestProto struct {
- Info *CacheDirectiveInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
- CacheFlags *uint32 `protobuf:"varint,2,opt,name=cacheFlags" json:"cacheFlags,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Info *CacheDirectiveInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
+ CacheFlags *uint32 `protobuf:"varint,2,opt,name=cacheFlags" json:"cacheFlags,omitempty"` // bits set using CacheFlag
}
-func (m *AddCacheDirectiveRequestProto) Reset() { *m = AddCacheDirectiveRequestProto{} }
-func (m *AddCacheDirectiveRequestProto) String() string { return proto.CompactTextString(m) }
-func (*AddCacheDirectiveRequestProto) ProtoMessage() {}
-func (*AddCacheDirectiveRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{89} }
+func (x *AddCacheDirectiveRequestProto) Reset() {
+ *x = AddCacheDirectiveRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[101]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AddCacheDirectiveRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *AddCacheDirectiveRequestProto) GetInfo() *CacheDirectiveInfoProto {
- if m != nil {
- return m.Info
+func (*AddCacheDirectiveRequestProto) ProtoMessage() {}
+
+func (x *AddCacheDirectiveRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[101]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AddCacheDirectiveRequestProto.ProtoReflect.Descriptor instead.
+func (*AddCacheDirectiveRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{101}
+}
+
+func (x *AddCacheDirectiveRequestProto) GetInfo() *CacheDirectiveInfoProto {
+ if x != nil {
+ return x.Info
}
return nil
}
-func (m *AddCacheDirectiveRequestProto) GetCacheFlags() uint32 {
- if m != nil && m.CacheFlags != nil {
- return *m.CacheFlags
+func (x *AddCacheDirectiveRequestProto) GetCacheFlags() uint32 {
+ if x != nil && x.CacheFlags != nil {
+ return *x.CacheFlags
}
return 0
}
type AddCacheDirectiveResponseProto struct {
- Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
}
-func (m *AddCacheDirectiveResponseProto) Reset() { *m = AddCacheDirectiveResponseProto{} }
-func (m *AddCacheDirectiveResponseProto) String() string { return proto.CompactTextString(m) }
-func (*AddCacheDirectiveResponseProto) ProtoMessage() {}
-func (*AddCacheDirectiveResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{90} }
+func (x *AddCacheDirectiveResponseProto) Reset() {
+ *x = AddCacheDirectiveResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[102]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AddCacheDirectiveResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AddCacheDirectiveResponseProto) ProtoMessage() {}
+
+func (x *AddCacheDirectiveResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[102]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AddCacheDirectiveResponseProto.ProtoReflect.Descriptor instead.
+func (*AddCacheDirectiveResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{102}
+}
-func (m *AddCacheDirectiveResponseProto) GetId() int64 {
- if m != nil && m.Id != nil {
- return *m.Id
+func (x *AddCacheDirectiveResponseProto) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
}
return 0
}
type ModifyCacheDirectiveRequestProto struct {
- Info *CacheDirectiveInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
- CacheFlags *uint32 `protobuf:"varint,2,opt,name=cacheFlags" json:"cacheFlags,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Info *CacheDirectiveInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
+ CacheFlags *uint32 `protobuf:"varint,2,opt,name=cacheFlags" json:"cacheFlags,omitempty"` // bits set using CacheFlag
+}
+
+func (x *ModifyCacheDirectiveRequestProto) Reset() {
+ *x = ModifyCacheDirectiveRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[103]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ModifyCacheDirectiveRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ModifyCacheDirectiveRequestProto) ProtoMessage() {}
+
+func (x *ModifyCacheDirectiveRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[103]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ModifyCacheDirectiveRequestProto) Reset() { *m = ModifyCacheDirectiveRequestProto{} }
-func (m *ModifyCacheDirectiveRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ModifyCacheDirectiveRequestProto) ProtoMessage() {}
+// Deprecated: Use ModifyCacheDirectiveRequestProto.ProtoReflect.Descriptor instead.
func (*ModifyCacheDirectiveRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{91}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{103}
}
-func (m *ModifyCacheDirectiveRequestProto) GetInfo() *CacheDirectiveInfoProto {
- if m != nil {
- return m.Info
+func (x *ModifyCacheDirectiveRequestProto) GetInfo() *CacheDirectiveInfoProto {
+ if x != nil {
+ return x.Info
}
return nil
}
-func (m *ModifyCacheDirectiveRequestProto) GetCacheFlags() uint32 {
- if m != nil && m.CacheFlags != nil {
- return *m.CacheFlags
+func (x *ModifyCacheDirectiveRequestProto) GetCacheFlags() uint32 {
+ if x != nil && x.CacheFlags != nil {
+ return *x.CacheFlags
}
return 0
}
type ModifyCacheDirectiveResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *ModifyCacheDirectiveResponseProto) Reset() {
+ *x = ModifyCacheDirectiveResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[104]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ModifyCacheDirectiveResponseProto) Reset() { *m = ModifyCacheDirectiveResponseProto{} }
-func (m *ModifyCacheDirectiveResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ModifyCacheDirectiveResponseProto) ProtoMessage() {}
+func (x *ModifyCacheDirectiveResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ModifyCacheDirectiveResponseProto) ProtoMessage() {}
+
+func (x *ModifyCacheDirectiveResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[104]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ModifyCacheDirectiveResponseProto.ProtoReflect.Descriptor instead.
func (*ModifyCacheDirectiveResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{92}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{104}
}
type RemoveCacheDirectiveRequestProto struct {
- Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
+}
+
+func (x *RemoveCacheDirectiveRequestProto) Reset() {
+ *x = RemoveCacheDirectiveRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[105]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveCacheDirectiveRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RemoveCacheDirectiveRequestProto) Reset() { *m = RemoveCacheDirectiveRequestProto{} }
-func (m *RemoveCacheDirectiveRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveCacheDirectiveRequestProto) ProtoMessage() {}
+func (*RemoveCacheDirectiveRequestProto) ProtoMessage() {}
+
+func (x *RemoveCacheDirectiveRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[105]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveCacheDirectiveRequestProto.ProtoReflect.Descriptor instead.
func (*RemoveCacheDirectiveRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{93}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{105}
}
-func (m *RemoveCacheDirectiveRequestProto) GetId() int64 {
- if m != nil && m.Id != nil {
- return *m.Id
+func (x *RemoveCacheDirectiveRequestProto) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
}
return 0
}
type RemoveCacheDirectiveResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RemoveCacheDirectiveResponseProto) Reset() {
+ *x = RemoveCacheDirectiveResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[106]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveCacheDirectiveResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RemoveCacheDirectiveResponseProto) Reset() { *m = RemoveCacheDirectiveResponseProto{} }
-func (m *RemoveCacheDirectiveResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveCacheDirectiveResponseProto) ProtoMessage() {}
+func (*RemoveCacheDirectiveResponseProto) ProtoMessage() {}
+
+func (x *RemoveCacheDirectiveResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[106]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveCacheDirectiveResponseProto.ProtoReflect.Descriptor instead.
func (*RemoveCacheDirectiveResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{94}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{106}
}
type ListCacheDirectivesRequestProto struct {
- PrevId *int64 `protobuf:"varint,1,req,name=prevId" json:"prevId,omitempty"`
- Filter *CacheDirectiveInfoProto `protobuf:"bytes,2,req,name=filter" json:"filter,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ PrevId *int64 `protobuf:"varint,1,req,name=prevId" json:"prevId,omitempty"`
+ Filter *CacheDirectiveInfoProto `protobuf:"bytes,2,req,name=filter" json:"filter,omitempty"`
+}
+
+func (x *ListCacheDirectivesRequestProto) Reset() {
+ *x = ListCacheDirectivesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[107]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ListCacheDirectivesRequestProto) Reset() { *m = ListCacheDirectivesRequestProto{} }
-func (m *ListCacheDirectivesRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ListCacheDirectivesRequestProto) ProtoMessage() {}
+func (x *ListCacheDirectivesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListCacheDirectivesRequestProto) ProtoMessage() {}
+
+func (x *ListCacheDirectivesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[107]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListCacheDirectivesRequestProto.ProtoReflect.Descriptor instead.
func (*ListCacheDirectivesRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{95}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{107}
}
-func (m *ListCacheDirectivesRequestProto) GetPrevId() int64 {
- if m != nil && m.PrevId != nil {
- return *m.PrevId
+func (x *ListCacheDirectivesRequestProto) GetPrevId() int64 {
+ if x != nil && x.PrevId != nil {
+ return *x.PrevId
}
return 0
}
-func (m *ListCacheDirectivesRequestProto) GetFilter() *CacheDirectiveInfoProto {
- if m != nil {
- return m.Filter
+func (x *ListCacheDirectivesRequestProto) GetFilter() *CacheDirectiveInfoProto {
+ if x != nil {
+ return x.Filter
}
return nil
}
type CacheDirectiveEntryProto struct {
- Info *CacheDirectiveInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
- Stats *CacheDirectiveStatsProto `protobuf:"bytes,2,req,name=stats" json:"stats,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Info *CacheDirectiveInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
+ Stats *CacheDirectiveStatsProto `protobuf:"bytes,2,req,name=stats" json:"stats,omitempty"`
}
-func (m *CacheDirectiveEntryProto) Reset() { *m = CacheDirectiveEntryProto{} }
-func (m *CacheDirectiveEntryProto) String() string { return proto.CompactTextString(m) }
-func (*CacheDirectiveEntryProto) ProtoMessage() {}
-func (*CacheDirectiveEntryProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{96} }
+func (x *CacheDirectiveEntryProto) Reset() {
+ *x = CacheDirectiveEntryProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[108]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CacheDirectiveEntryProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CacheDirectiveEntryProto) ProtoMessage() {}
+
+func (x *CacheDirectiveEntryProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[108]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CacheDirectiveEntryProto.ProtoReflect.Descriptor instead.
+func (*CacheDirectiveEntryProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{108}
+}
-func (m *CacheDirectiveEntryProto) GetInfo() *CacheDirectiveInfoProto {
- if m != nil {
- return m.Info
+func (x *CacheDirectiveEntryProto) GetInfo() *CacheDirectiveInfoProto {
+ if x != nil {
+ return x.Info
}
return nil
}
-func (m *CacheDirectiveEntryProto) GetStats() *CacheDirectiveStatsProto {
- if m != nil {
- return m.Stats
+func (x *CacheDirectiveEntryProto) GetStats() *CacheDirectiveStatsProto {
+ if x != nil {
+ return x.Stats
}
return nil
}
type ListCacheDirectivesResponseProto struct {
- Elements []*CacheDirectiveEntryProto `protobuf:"bytes,1,rep,name=elements" json:"elements,omitempty"`
- HasMore *bool `protobuf:"varint,2,req,name=hasMore" json:"hasMore,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Elements []*CacheDirectiveEntryProto `protobuf:"bytes,1,rep,name=elements" json:"elements,omitempty"`
+ HasMore *bool `protobuf:"varint,2,req,name=hasMore" json:"hasMore,omitempty"`
}
-func (m *ListCacheDirectivesResponseProto) Reset() { *m = ListCacheDirectivesResponseProto{} }
-func (m *ListCacheDirectivesResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ListCacheDirectivesResponseProto) ProtoMessage() {}
+func (x *ListCacheDirectivesResponseProto) Reset() {
+ *x = ListCacheDirectivesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[109]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListCacheDirectivesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListCacheDirectivesResponseProto) ProtoMessage() {}
+
+func (x *ListCacheDirectivesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[109]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListCacheDirectivesResponseProto.ProtoReflect.Descriptor instead.
func (*ListCacheDirectivesResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{97}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{109}
}
-func (m *ListCacheDirectivesResponseProto) GetElements() []*CacheDirectiveEntryProto {
- if m != nil {
- return m.Elements
+func (x *ListCacheDirectivesResponseProto) GetElements() []*CacheDirectiveEntryProto {
+ if x != nil {
+ return x.Elements
}
return nil
}
-func (m *ListCacheDirectivesResponseProto) GetHasMore() bool {
- if m != nil && m.HasMore != nil {
- return *m.HasMore
+func (x *ListCacheDirectivesResponseProto) GetHasMore() bool {
+ if x != nil && x.HasMore != nil {
+ return *x.HasMore
}
return false
}
type CachePoolInfoProto struct {
- PoolName *string `protobuf:"bytes,1,opt,name=poolName" json:"poolName,omitempty"`
- OwnerName *string `protobuf:"bytes,2,opt,name=ownerName" json:"ownerName,omitempty"`
- GroupName *string `protobuf:"bytes,3,opt,name=groupName" json:"groupName,omitempty"`
- Mode *int32 `protobuf:"varint,4,opt,name=mode" json:"mode,omitempty"`
- Limit *int64 `protobuf:"varint,5,opt,name=limit" json:"limit,omitempty"`
- MaxRelativeExpiry *int64 `protobuf:"varint,6,opt,name=maxRelativeExpiry" json:"maxRelativeExpiry,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ PoolName *string `protobuf:"bytes,1,opt,name=poolName" json:"poolName,omitempty"`
+ OwnerName *string `protobuf:"bytes,2,opt,name=ownerName" json:"ownerName,omitempty"`
+ GroupName *string `protobuf:"bytes,3,opt,name=groupName" json:"groupName,omitempty"`
+ Mode *int32 `protobuf:"varint,4,opt,name=mode" json:"mode,omitempty"`
+ Limit *int64 `protobuf:"varint,5,opt,name=limit" json:"limit,omitempty"`
+ MaxRelativeExpiry *int64 `protobuf:"varint,6,opt,name=maxRelativeExpiry" json:"maxRelativeExpiry,omitempty"`
+ DefaultReplication *uint32 `protobuf:"varint,7,opt,name=defaultReplication,def=1" json:"defaultReplication,omitempty"`
+}
+
+// Default values for CachePoolInfoProto fields.
+const (
+ Default_CachePoolInfoProto_DefaultReplication = uint32(1)
+)
+
+func (x *CachePoolInfoProto) Reset() {
+ *x = CachePoolInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[110]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CachePoolInfoProto) Reset() { *m = CachePoolInfoProto{} }
-func (m *CachePoolInfoProto) String() string { return proto.CompactTextString(m) }
-func (*CachePoolInfoProto) ProtoMessage() {}
-func (*CachePoolInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{98} }
+func (x *CachePoolInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CachePoolInfoProto) ProtoMessage() {}
-func (m *CachePoolInfoProto) GetPoolName() string {
- if m != nil && m.PoolName != nil {
- return *m.PoolName
+func (x *CachePoolInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[110]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CachePoolInfoProto.ProtoReflect.Descriptor instead.
+func (*CachePoolInfoProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{110}
+}
+
+func (x *CachePoolInfoProto) GetPoolName() string {
+ if x != nil && x.PoolName != nil {
+ return *x.PoolName
}
return ""
}
-func (m *CachePoolInfoProto) GetOwnerName() string {
- if m != nil && m.OwnerName != nil {
- return *m.OwnerName
+func (x *CachePoolInfoProto) GetOwnerName() string {
+ if x != nil && x.OwnerName != nil {
+ return *x.OwnerName
}
return ""
}
-func (m *CachePoolInfoProto) GetGroupName() string {
- if m != nil && m.GroupName != nil {
- return *m.GroupName
+func (x *CachePoolInfoProto) GetGroupName() string {
+ if x != nil && x.GroupName != nil {
+ return *x.GroupName
}
return ""
}
-func (m *CachePoolInfoProto) GetMode() int32 {
- if m != nil && m.Mode != nil {
- return *m.Mode
+func (x *CachePoolInfoProto) GetMode() int32 {
+ if x != nil && x.Mode != nil {
+ return *x.Mode
}
return 0
}
-func (m *CachePoolInfoProto) GetLimit() int64 {
- if m != nil && m.Limit != nil {
- return *m.Limit
+func (x *CachePoolInfoProto) GetLimit() int64 {
+ if x != nil && x.Limit != nil {
+ return *x.Limit
}
return 0
}
-func (m *CachePoolInfoProto) GetMaxRelativeExpiry() int64 {
- if m != nil && m.MaxRelativeExpiry != nil {
- return *m.MaxRelativeExpiry
+func (x *CachePoolInfoProto) GetMaxRelativeExpiry() int64 {
+ if x != nil && x.MaxRelativeExpiry != nil {
+ return *x.MaxRelativeExpiry
}
return 0
}
+func (x *CachePoolInfoProto) GetDefaultReplication() uint32 {
+ if x != nil && x.DefaultReplication != nil {
+ return *x.DefaultReplication
+ }
+ return Default_CachePoolInfoProto_DefaultReplication
+}
+
type CachePoolStatsProto struct {
- BytesNeeded *int64 `protobuf:"varint,1,req,name=bytesNeeded" json:"bytesNeeded,omitempty"`
- BytesCached *int64 `protobuf:"varint,2,req,name=bytesCached" json:"bytesCached,omitempty"`
- BytesOverlimit *int64 `protobuf:"varint,3,req,name=bytesOverlimit" json:"bytesOverlimit,omitempty"`
- FilesNeeded *int64 `protobuf:"varint,4,req,name=filesNeeded" json:"filesNeeded,omitempty"`
- FilesCached *int64 `protobuf:"varint,5,req,name=filesCached" json:"filesCached,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BytesNeeded *int64 `protobuf:"varint,1,req,name=bytesNeeded" json:"bytesNeeded,omitempty"`
+ BytesCached *int64 `protobuf:"varint,2,req,name=bytesCached" json:"bytesCached,omitempty"`
+ BytesOverlimit *int64 `protobuf:"varint,3,req,name=bytesOverlimit" json:"bytesOverlimit,omitempty"`
+ FilesNeeded *int64 `protobuf:"varint,4,req,name=filesNeeded" json:"filesNeeded,omitempty"`
+ FilesCached *int64 `protobuf:"varint,5,req,name=filesCached" json:"filesCached,omitempty"`
+}
+
+func (x *CachePoolStatsProto) Reset() {
+ *x = CachePoolStatsProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[111]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CachePoolStatsProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CachePoolStatsProto) ProtoMessage() {}
+
+func (x *CachePoolStatsProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[111]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *CachePoolStatsProto) Reset() { *m = CachePoolStatsProto{} }
-func (m *CachePoolStatsProto) String() string { return proto.CompactTextString(m) }
-func (*CachePoolStatsProto) ProtoMessage() {}
-func (*CachePoolStatsProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{99} }
+// Deprecated: Use CachePoolStatsProto.ProtoReflect.Descriptor instead.
+func (*CachePoolStatsProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{111}
+}
-func (m *CachePoolStatsProto) GetBytesNeeded() int64 {
- if m != nil && m.BytesNeeded != nil {
- return *m.BytesNeeded
+func (x *CachePoolStatsProto) GetBytesNeeded() int64 {
+ if x != nil && x.BytesNeeded != nil {
+ return *x.BytesNeeded
}
return 0
}
-func (m *CachePoolStatsProto) GetBytesCached() int64 {
- if m != nil && m.BytesCached != nil {
- return *m.BytesCached
+func (x *CachePoolStatsProto) GetBytesCached() int64 {
+ if x != nil && x.BytesCached != nil {
+ return *x.BytesCached
}
return 0
}
-func (m *CachePoolStatsProto) GetBytesOverlimit() int64 {
- if m != nil && m.BytesOverlimit != nil {
- return *m.BytesOverlimit
+func (x *CachePoolStatsProto) GetBytesOverlimit() int64 {
+ if x != nil && x.BytesOverlimit != nil {
+ return *x.BytesOverlimit
}
return 0
}
-func (m *CachePoolStatsProto) GetFilesNeeded() int64 {
- if m != nil && m.FilesNeeded != nil {
- return *m.FilesNeeded
+func (x *CachePoolStatsProto) GetFilesNeeded() int64 {
+ if x != nil && x.FilesNeeded != nil {
+ return *x.FilesNeeded
}
return 0
}
-func (m *CachePoolStatsProto) GetFilesCached() int64 {
- if m != nil && m.FilesCached != nil {
- return *m.FilesCached
+func (x *CachePoolStatsProto) GetFilesCached() int64 {
+ if x != nil && x.FilesCached != nil {
+ return *x.FilesCached
}
return 0
}
type AddCachePoolRequestProto struct {
- Info *CachePoolInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Info *CachePoolInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
+}
+
+func (x *AddCachePoolRequestProto) Reset() {
+ *x = AddCachePoolRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[112]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AddCachePoolRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *AddCachePoolRequestProto) Reset() { *m = AddCachePoolRequestProto{} }
-func (m *AddCachePoolRequestProto) String() string { return proto.CompactTextString(m) }
-func (*AddCachePoolRequestProto) ProtoMessage() {}
-func (*AddCachePoolRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{100} }
+func (*AddCachePoolRequestProto) ProtoMessage() {}
-func (m *AddCachePoolRequestProto) GetInfo() *CachePoolInfoProto {
- if m != nil {
- return m.Info
+func (x *AddCachePoolRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[112]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AddCachePoolRequestProto.ProtoReflect.Descriptor instead.
+func (*AddCachePoolRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{112}
+}
+
+func (x *AddCachePoolRequestProto) GetInfo() *CachePoolInfoProto {
+ if x != nil {
+ return x.Info
}
return nil
}
type AddCachePoolResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *AddCachePoolResponseProto) Reset() { *m = AddCachePoolResponseProto{} }
-func (m *AddCachePoolResponseProto) String() string { return proto.CompactTextString(m) }
-func (*AddCachePoolResponseProto) ProtoMessage() {}
-func (*AddCachePoolResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{101} }
+func (x *AddCachePoolResponseProto) Reset() {
+ *x = AddCachePoolResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[113]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AddCachePoolResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AddCachePoolResponseProto) ProtoMessage() {}
+
+func (x *AddCachePoolResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[113]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AddCachePoolResponseProto.ProtoReflect.Descriptor instead.
+func (*AddCachePoolResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{113}
+}
type ModifyCachePoolRequestProto struct {
- Info *CachePoolInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Info *CachePoolInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
}
-func (m *ModifyCachePoolRequestProto) Reset() { *m = ModifyCachePoolRequestProto{} }
-func (m *ModifyCachePoolRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ModifyCachePoolRequestProto) ProtoMessage() {}
-func (*ModifyCachePoolRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{102} }
+func (x *ModifyCachePoolRequestProto) Reset() {
+ *x = ModifyCachePoolRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[114]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ModifyCachePoolRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ModifyCachePoolRequestProto) ProtoMessage() {}
-func (m *ModifyCachePoolRequestProto) GetInfo() *CachePoolInfoProto {
- if m != nil {
- return m.Info
+func (x *ModifyCachePoolRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[114]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ModifyCachePoolRequestProto.ProtoReflect.Descriptor instead.
+func (*ModifyCachePoolRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{114}
+}
+
+func (x *ModifyCachePoolRequestProto) GetInfo() *CachePoolInfoProto {
+ if x != nil {
+ return x.Info
}
return nil
}
type ModifyCachePoolResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *ModifyCachePoolResponseProto) Reset() { *m = ModifyCachePoolResponseProto{} }
-func (m *ModifyCachePoolResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ModifyCachePoolResponseProto) ProtoMessage() {}
-func (*ModifyCachePoolResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{103} }
+func (x *ModifyCachePoolResponseProto) Reset() {
+ *x = ModifyCachePoolResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[115]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ModifyCachePoolResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ModifyCachePoolResponseProto) ProtoMessage() {}
+
+func (x *ModifyCachePoolResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[115]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ModifyCachePoolResponseProto.ProtoReflect.Descriptor instead.
+func (*ModifyCachePoolResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{115}
+}
type RemoveCachePoolRequestProto struct {
- PoolName *string `protobuf:"bytes,1,req,name=poolName" json:"poolName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ PoolName *string `protobuf:"bytes,1,req,name=poolName" json:"poolName,omitempty"`
+}
+
+func (x *RemoveCachePoolRequestProto) Reset() {
+ *x = RemoveCachePoolRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[116]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveCachePoolRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RemoveCachePoolRequestProto) Reset() { *m = RemoveCachePoolRequestProto{} }
-func (m *RemoveCachePoolRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveCachePoolRequestProto) ProtoMessage() {}
-func (*RemoveCachePoolRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{104} }
+func (*RemoveCachePoolRequestProto) ProtoMessage() {}
-func (m *RemoveCachePoolRequestProto) GetPoolName() string {
- if m != nil && m.PoolName != nil {
- return *m.PoolName
+func (x *RemoveCachePoolRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[116]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveCachePoolRequestProto.ProtoReflect.Descriptor instead.
+func (*RemoveCachePoolRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{116}
+}
+
+func (x *RemoveCachePoolRequestProto) GetPoolName() string {
+ if x != nil && x.PoolName != nil {
+ return *x.PoolName
}
return ""
}
type RemoveCachePoolResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *RemoveCachePoolResponseProto) Reset() { *m = RemoveCachePoolResponseProto{} }
-func (m *RemoveCachePoolResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveCachePoolResponseProto) ProtoMessage() {}
-func (*RemoveCachePoolResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{105} }
+func (x *RemoveCachePoolResponseProto) Reset() {
+ *x = RemoveCachePoolResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[117]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveCachePoolResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveCachePoolResponseProto) ProtoMessage() {}
+
+func (x *RemoveCachePoolResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[117]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveCachePoolResponseProto.ProtoReflect.Descriptor instead.
+func (*RemoveCachePoolResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{117}
+}
type ListCachePoolsRequestProto struct {
- PrevPoolName *string `protobuf:"bytes,1,req,name=prevPoolName" json:"prevPoolName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ PrevPoolName *string `protobuf:"bytes,1,req,name=prevPoolName" json:"prevPoolName,omitempty"`
}
-func (m *ListCachePoolsRequestProto) Reset() { *m = ListCachePoolsRequestProto{} }
-func (m *ListCachePoolsRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ListCachePoolsRequestProto) ProtoMessage() {}
-func (*ListCachePoolsRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{106} }
+func (x *ListCachePoolsRequestProto) Reset() {
+ *x = ListCachePoolsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[118]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListCachePoolsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListCachePoolsRequestProto) ProtoMessage() {}
+
+func (x *ListCachePoolsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[118]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListCachePoolsRequestProto.ProtoReflect.Descriptor instead.
+func (*ListCachePoolsRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{118}
+}
-func (m *ListCachePoolsRequestProto) GetPrevPoolName() string {
- if m != nil && m.PrevPoolName != nil {
- return *m.PrevPoolName
+func (x *ListCachePoolsRequestProto) GetPrevPoolName() string {
+ if x != nil && x.PrevPoolName != nil {
+ return *x.PrevPoolName
}
return ""
}
type ListCachePoolsResponseProto struct {
- Entries []*CachePoolEntryProto `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
- HasMore *bool `protobuf:"varint,2,req,name=hasMore" json:"hasMore,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Entries []*CachePoolEntryProto `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
+ HasMore *bool `protobuf:"varint,2,req,name=hasMore" json:"hasMore,omitempty"`
+}
+
+func (x *ListCachePoolsResponseProto) Reset() {
+ *x = ListCachePoolsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[119]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListCachePoolsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListCachePoolsResponseProto) ProtoMessage() {}
+
+func (x *ListCachePoolsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[119]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ListCachePoolsResponseProto) Reset() { *m = ListCachePoolsResponseProto{} }
-func (m *ListCachePoolsResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ListCachePoolsResponseProto) ProtoMessage() {}
-func (*ListCachePoolsResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{107} }
+// Deprecated: Use ListCachePoolsResponseProto.ProtoReflect.Descriptor instead.
+func (*ListCachePoolsResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{119}
+}
-func (m *ListCachePoolsResponseProto) GetEntries() []*CachePoolEntryProto {
- if m != nil {
- return m.Entries
+func (x *ListCachePoolsResponseProto) GetEntries() []*CachePoolEntryProto {
+ if x != nil {
+ return x.Entries
}
return nil
}
-func (m *ListCachePoolsResponseProto) GetHasMore() bool {
- if m != nil && m.HasMore != nil {
- return *m.HasMore
+func (x *ListCachePoolsResponseProto) GetHasMore() bool {
+ if x != nil && x.HasMore != nil {
+ return *x.HasMore
}
return false
}
type CachePoolEntryProto struct {
- Info *CachePoolInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
- Stats *CachePoolStatsProto `protobuf:"bytes,2,req,name=stats" json:"stats,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Info *CachePoolInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
+ Stats *CachePoolStatsProto `protobuf:"bytes,2,req,name=stats" json:"stats,omitempty"`
+}
+
+func (x *CachePoolEntryProto) Reset() {
+ *x = CachePoolEntryProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[120]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CachePoolEntryProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CachePoolEntryProto) Reset() { *m = CachePoolEntryProto{} }
-func (m *CachePoolEntryProto) String() string { return proto.CompactTextString(m) }
-func (*CachePoolEntryProto) ProtoMessage() {}
-func (*CachePoolEntryProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{108} }
+func (*CachePoolEntryProto) ProtoMessage() {}
-func (m *CachePoolEntryProto) GetInfo() *CachePoolInfoProto {
- if m != nil {
- return m.Info
+func (x *CachePoolEntryProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[120]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CachePoolEntryProto.ProtoReflect.Descriptor instead.
+func (*CachePoolEntryProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{120}
+}
+
+func (x *CachePoolEntryProto) GetInfo() *CachePoolInfoProto {
+ if x != nil {
+ return x.Info
}
return nil
}
-func (m *CachePoolEntryProto) GetStats() *CachePoolStatsProto {
- if m != nil {
- return m.Stats
+func (x *CachePoolEntryProto) GetStats() *CachePoolStatsProto {
+ if x != nil {
+ return x.Stats
}
return nil
}
type GetFileLinkInfoRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+}
+
+func (x *GetFileLinkInfoRequestProto) Reset() {
+ *x = GetFileLinkInfoRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[121]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetFileLinkInfoRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetFileLinkInfoRequestProto) Reset() { *m = GetFileLinkInfoRequestProto{} }
-func (m *GetFileLinkInfoRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetFileLinkInfoRequestProto) ProtoMessage() {}
-func (*GetFileLinkInfoRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{109} }
+func (*GetFileLinkInfoRequestProto) ProtoMessage() {}
-func (m *GetFileLinkInfoRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *GetFileLinkInfoRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[121]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetFileLinkInfoRequestProto.ProtoReflect.Descriptor instead.
+func (*GetFileLinkInfoRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{121}
+}
+
+func (x *GetFileLinkInfoRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
type GetFileLinkInfoResponseProto struct {
- Fs *HdfsFileStatusProto `protobuf:"bytes,1,opt,name=fs" json:"fs,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Fs *HdfsFileStatusProto `protobuf:"bytes,1,opt,name=fs" json:"fs,omitempty"`
+}
+
+func (x *GetFileLinkInfoResponseProto) Reset() {
+ *x = GetFileLinkInfoResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[122]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetFileLinkInfoResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetFileLinkInfoResponseProto) ProtoMessage() {}
+
+func (x *GetFileLinkInfoResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[122]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GetFileLinkInfoResponseProto) Reset() { *m = GetFileLinkInfoResponseProto{} }
-func (m *GetFileLinkInfoResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetFileLinkInfoResponseProto) ProtoMessage() {}
-func (*GetFileLinkInfoResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{110} }
+// Deprecated: Use GetFileLinkInfoResponseProto.ProtoReflect.Descriptor instead.
+func (*GetFileLinkInfoResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{122}
+}
-func (m *GetFileLinkInfoResponseProto) GetFs() *HdfsFileStatusProto {
- if m != nil {
- return m.Fs
+func (x *GetFileLinkInfoResponseProto) GetFs() *HdfsFileStatusProto {
+ if x != nil {
+ return x.Fs
}
return nil
}
type GetContentSummaryRequestProto struct {
- Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
}
-func (m *GetContentSummaryRequestProto) Reset() { *m = GetContentSummaryRequestProto{} }
-func (m *GetContentSummaryRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetContentSummaryRequestProto) ProtoMessage() {}
-func (*GetContentSummaryRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{111} }
+func (x *GetContentSummaryRequestProto) Reset() {
+ *x = GetContentSummaryRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[123]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *GetContentSummaryRequestProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *GetContentSummaryRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetContentSummaryRequestProto) ProtoMessage() {}
+
+func (x *GetContentSummaryRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[123]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetContentSummaryRequestProto.ProtoReflect.Descriptor instead.
+func (*GetContentSummaryRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{123}
+}
+
+func (x *GetContentSummaryRequestProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
type GetContentSummaryResponseProto struct {
- Summary *ContentSummaryProto `protobuf:"bytes,1,req,name=summary" json:"summary,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Summary *ContentSummaryProto `protobuf:"bytes,1,req,name=summary" json:"summary,omitempty"`
+}
+
+func (x *GetContentSummaryResponseProto) Reset() {
+ *x = GetContentSummaryResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[124]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *GetContentSummaryResponseProto) Reset() { *m = GetContentSummaryResponseProto{} }
-func (m *GetContentSummaryResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetContentSummaryResponseProto) ProtoMessage() {}
+func (x *GetContentSummaryResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetContentSummaryResponseProto) ProtoMessage() {}
+
+func (x *GetContentSummaryResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[124]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetContentSummaryResponseProto.ProtoReflect.Descriptor instead.
func (*GetContentSummaryResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{112}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{124}
}
-func (m *GetContentSummaryResponseProto) GetSummary() *ContentSummaryProto {
- if m != nil {
- return m.Summary
+func (x *GetContentSummaryResponseProto) GetSummary() *ContentSummaryProto {
+ if x != nil {
+ return x.Summary
}
return nil
}
type GetQuotaUsageRequestProto struct {
- Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
+}
+
+func (x *GetQuotaUsageRequestProto) Reset() {
+ *x = GetQuotaUsageRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[125]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetQuotaUsageRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetQuotaUsageRequestProto) Reset() { *m = GetQuotaUsageRequestProto{} }
-func (m *GetQuotaUsageRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetQuotaUsageRequestProto) ProtoMessage() {}
-func (*GetQuotaUsageRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{113} }
+func (*GetQuotaUsageRequestProto) ProtoMessage() {}
-func (m *GetQuotaUsageRequestProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *GetQuotaUsageRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[125]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetQuotaUsageRequestProto.ProtoReflect.Descriptor instead.
+func (*GetQuotaUsageRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{125}
+}
+
+func (x *GetQuotaUsageRequestProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
type GetQuotaUsageResponseProto struct {
- Usage *QuotaUsageProto `protobuf:"bytes,1,req,name=usage" json:"usage,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Usage *QuotaUsageProto `protobuf:"bytes,1,req,name=usage" json:"usage,omitempty"`
}
-func (m *GetQuotaUsageResponseProto) Reset() { *m = GetQuotaUsageResponseProto{} }
-func (m *GetQuotaUsageResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetQuotaUsageResponseProto) ProtoMessage() {}
-func (*GetQuotaUsageResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{114} }
+func (x *GetQuotaUsageResponseProto) Reset() {
+ *x = GetQuotaUsageResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[126]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetQuotaUsageResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetQuotaUsageResponseProto) ProtoMessage() {}
-func (m *GetQuotaUsageResponseProto) GetUsage() *QuotaUsageProto {
- if m != nil {
- return m.Usage
+func (x *GetQuotaUsageResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[126]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetQuotaUsageResponseProto.ProtoReflect.Descriptor instead.
+func (*GetQuotaUsageResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{126}
+}
+
+func (x *GetQuotaUsageResponseProto) GetUsage() *QuotaUsageProto {
+ if x != nil {
+ return x.Usage
}
return nil
}
type SetQuotaRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
NamespaceQuota *uint64 `protobuf:"varint,2,req,name=namespaceQuota" json:"namespaceQuota,omitempty"`
StoragespaceQuota *uint64 `protobuf:"varint,3,req,name=storagespaceQuota" json:"storagespaceQuota,omitempty"`
StorageType *StorageTypeProto `protobuf:"varint,4,opt,name=storageType,enum=hadoop.hdfs.StorageTypeProto" json:"storageType,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *SetQuotaRequestProto) Reset() { *m = SetQuotaRequestProto{} }
-func (m *SetQuotaRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SetQuotaRequestProto) ProtoMessage() {}
-func (*SetQuotaRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{115} }
+func (x *SetQuotaRequestProto) Reset() {
+ *x = SetQuotaRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[127]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetQuotaRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetQuotaRequestProto) ProtoMessage() {}
-func (m *SetQuotaRequestProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *SetQuotaRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[127]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetQuotaRequestProto.ProtoReflect.Descriptor instead.
+func (*SetQuotaRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{127}
+}
+
+func (x *SetQuotaRequestProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
-func (m *SetQuotaRequestProto) GetNamespaceQuota() uint64 {
- if m != nil && m.NamespaceQuota != nil {
- return *m.NamespaceQuota
+func (x *SetQuotaRequestProto) GetNamespaceQuota() uint64 {
+ if x != nil && x.NamespaceQuota != nil {
+ return *x.NamespaceQuota
}
return 0
}
-func (m *SetQuotaRequestProto) GetStoragespaceQuota() uint64 {
- if m != nil && m.StoragespaceQuota != nil {
- return *m.StoragespaceQuota
+func (x *SetQuotaRequestProto) GetStoragespaceQuota() uint64 {
+ if x != nil && x.StoragespaceQuota != nil {
+ return *x.StoragespaceQuota
}
return 0
}
-func (m *SetQuotaRequestProto) GetStorageType() StorageTypeProto {
- if m != nil && m.StorageType != nil {
- return *m.StorageType
+func (x *SetQuotaRequestProto) GetStorageType() StorageTypeProto {
+ if x != nil && x.StorageType != nil {
+ return *x.StorageType
}
return StorageTypeProto_DISK
}
type SetQuotaResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *SetQuotaResponseProto) Reset() {
+ *x = SetQuotaResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[128]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetQuotaResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *SetQuotaResponseProto) Reset() { *m = SetQuotaResponseProto{} }
-func (m *SetQuotaResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SetQuotaResponseProto) ProtoMessage() {}
-func (*SetQuotaResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{116} }
+func (*SetQuotaResponseProto) ProtoMessage() {}
+
+func (x *SetQuotaResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[128]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetQuotaResponseProto.ProtoReflect.Descriptor instead.
+func (*SetQuotaResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{128}
+}
type FsyncRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- Client *string `protobuf:"bytes,2,req,name=client" json:"client,omitempty"`
- LastBlockLength *int64 `protobuf:"zigzag64,3,opt,name=lastBlockLength,def=-1" json:"lastBlockLength,omitempty"`
- FileId *uint64 `protobuf:"varint,4,opt,name=fileId,def=0" json:"fileId,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ Client *string `protobuf:"bytes,2,req,name=client" json:"client,omitempty"`
+ LastBlockLength *int64 `protobuf:"zigzag64,3,opt,name=lastBlockLength,def=-1" json:"lastBlockLength,omitempty"`
+ FileId *uint64 `protobuf:"varint,4,opt,name=fileId,def=0" json:"fileId,omitempty"` // default to GRANDFATHER_INODE_ID
+}
+
+// Default values for FsyncRequestProto fields.
+const (
+ Default_FsyncRequestProto_LastBlockLength = int64(-1)
+ Default_FsyncRequestProto_FileId = uint64(0)
+)
+
+func (x *FsyncRequestProto) Reset() {
+ *x = FsyncRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[129]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *FsyncRequestProto) Reset() { *m = FsyncRequestProto{} }
-func (m *FsyncRequestProto) String() string { return proto.CompactTextString(m) }
-func (*FsyncRequestProto) ProtoMessage() {}
-func (*FsyncRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{117} }
+func (x *FsyncRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-const Default_FsyncRequestProto_LastBlockLength int64 = -1
-const Default_FsyncRequestProto_FileId uint64 = 0
+func (*FsyncRequestProto) ProtoMessage() {}
-func (m *FsyncRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *FsyncRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[129]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FsyncRequestProto.ProtoReflect.Descriptor instead.
+func (*FsyncRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{129}
+}
+
+func (x *FsyncRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *FsyncRequestProto) GetClient() string {
- if m != nil && m.Client != nil {
- return *m.Client
+func (x *FsyncRequestProto) GetClient() string {
+ if x != nil && x.Client != nil {
+ return *x.Client
}
return ""
}
-func (m *FsyncRequestProto) GetLastBlockLength() int64 {
- if m != nil && m.LastBlockLength != nil {
- return *m.LastBlockLength
+func (x *FsyncRequestProto) GetLastBlockLength() int64 {
+ if x != nil && x.LastBlockLength != nil {
+ return *x.LastBlockLength
}
return Default_FsyncRequestProto_LastBlockLength
}
-func (m *FsyncRequestProto) GetFileId() uint64 {
- if m != nil && m.FileId != nil {
- return *m.FileId
+func (x *FsyncRequestProto) GetFileId() uint64 {
+ if x != nil && x.FileId != nil {
+ return *x.FileId
}
return Default_FsyncRequestProto_FileId
}
type FsyncResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *FsyncResponseProto) Reset() {
+ *x = FsyncResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[130]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *FsyncResponseProto) Reset() { *m = FsyncResponseProto{} }
-func (m *FsyncResponseProto) String() string { return proto.CompactTextString(m) }
-func (*FsyncResponseProto) ProtoMessage() {}
-func (*FsyncResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{118} }
+func (x *FsyncResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FsyncResponseProto) ProtoMessage() {}
+
+func (x *FsyncResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[130]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FsyncResponseProto.ProtoReflect.Descriptor instead.
+func (*FsyncResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{130}
+}
type SetTimesRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- Mtime *uint64 `protobuf:"varint,2,req,name=mtime" json:"mtime,omitempty"`
- Atime *uint64 `protobuf:"varint,3,req,name=atime" json:"atime,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ Mtime *uint64 `protobuf:"varint,2,req,name=mtime" json:"mtime,omitempty"`
+ Atime *uint64 `protobuf:"varint,3,req,name=atime" json:"atime,omitempty"`
+}
+
+func (x *SetTimesRequestProto) Reset() {
+ *x = SetTimesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[131]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetTimesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *SetTimesRequestProto) Reset() { *m = SetTimesRequestProto{} }
-func (m *SetTimesRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SetTimesRequestProto) ProtoMessage() {}
-func (*SetTimesRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{119} }
+func (*SetTimesRequestProto) ProtoMessage() {}
-func (m *SetTimesRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *SetTimesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[131]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetTimesRequestProto.ProtoReflect.Descriptor instead.
+func (*SetTimesRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{131}
+}
+
+func (x *SetTimesRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *SetTimesRequestProto) GetMtime() uint64 {
- if m != nil && m.Mtime != nil {
- return *m.Mtime
+func (x *SetTimesRequestProto) GetMtime() uint64 {
+ if x != nil && x.Mtime != nil {
+ return *x.Mtime
}
return 0
}
-func (m *SetTimesRequestProto) GetAtime() uint64 {
- if m != nil && m.Atime != nil {
- return *m.Atime
+func (x *SetTimesRequestProto) GetAtime() uint64 {
+ if x != nil && x.Atime != nil {
+ return *x.Atime
}
return 0
}
type SetTimesResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *SetTimesResponseProto) Reset() {
+ *x = SetTimesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[132]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *SetTimesResponseProto) Reset() { *m = SetTimesResponseProto{} }
-func (m *SetTimesResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SetTimesResponseProto) ProtoMessage() {}
-func (*SetTimesResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{120} }
+func (x *SetTimesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetTimesResponseProto) ProtoMessage() {}
+
+func (x *SetTimesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[132]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetTimesResponseProto.ProtoReflect.Descriptor instead.
+func (*SetTimesResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{132}
+}
type CreateSymlinkRequestProto struct {
- Target *string `protobuf:"bytes,1,req,name=target" json:"target,omitempty"`
- Link *string `protobuf:"bytes,2,req,name=link" json:"link,omitempty"`
- DirPerm *FsPermissionProto `protobuf:"bytes,3,req,name=dirPerm" json:"dirPerm,omitempty"`
- CreateParent *bool `protobuf:"varint,4,req,name=createParent" json:"createParent,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Target *string `protobuf:"bytes,1,req,name=target" json:"target,omitempty"`
+ Link *string `protobuf:"bytes,2,req,name=link" json:"link,omitempty"`
+ DirPerm *FsPermissionProto `protobuf:"bytes,3,req,name=dirPerm" json:"dirPerm,omitempty"`
+ CreateParent *bool `protobuf:"varint,4,req,name=createParent" json:"createParent,omitempty"`
+}
+
+func (x *CreateSymlinkRequestProto) Reset() {
+ *x = CreateSymlinkRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[133]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CreateSymlinkRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CreateSymlinkRequestProto) ProtoMessage() {}
+
+func (x *CreateSymlinkRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[133]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *CreateSymlinkRequestProto) Reset() { *m = CreateSymlinkRequestProto{} }
-func (m *CreateSymlinkRequestProto) String() string { return proto.CompactTextString(m) }
-func (*CreateSymlinkRequestProto) ProtoMessage() {}
-func (*CreateSymlinkRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{121} }
+// Deprecated: Use CreateSymlinkRequestProto.ProtoReflect.Descriptor instead.
+func (*CreateSymlinkRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{133}
+}
-func (m *CreateSymlinkRequestProto) GetTarget() string {
- if m != nil && m.Target != nil {
- return *m.Target
+func (x *CreateSymlinkRequestProto) GetTarget() string {
+ if x != nil && x.Target != nil {
+ return *x.Target
}
return ""
}
-func (m *CreateSymlinkRequestProto) GetLink() string {
- if m != nil && m.Link != nil {
- return *m.Link
+func (x *CreateSymlinkRequestProto) GetLink() string {
+ if x != nil && x.Link != nil {
+ return *x.Link
}
return ""
}
-func (m *CreateSymlinkRequestProto) GetDirPerm() *FsPermissionProto {
- if m != nil {
- return m.DirPerm
+func (x *CreateSymlinkRequestProto) GetDirPerm() *FsPermissionProto {
+ if x != nil {
+ return x.DirPerm
}
return nil
}
-func (m *CreateSymlinkRequestProto) GetCreateParent() bool {
- if m != nil && m.CreateParent != nil {
- return *m.CreateParent
+func (x *CreateSymlinkRequestProto) GetCreateParent() bool {
+ if x != nil && x.CreateParent != nil {
+ return *x.CreateParent
}
return false
}
type CreateSymlinkResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *CreateSymlinkResponseProto) Reset() { *m = CreateSymlinkResponseProto{} }
-func (m *CreateSymlinkResponseProto) String() string { return proto.CompactTextString(m) }
-func (*CreateSymlinkResponseProto) ProtoMessage() {}
-func (*CreateSymlinkResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{122} }
+func (x *CreateSymlinkResponseProto) Reset() {
+ *x = CreateSymlinkResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[134]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CreateSymlinkResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CreateSymlinkResponseProto) ProtoMessage() {}
+
+func (x *CreateSymlinkResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[134]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CreateSymlinkResponseProto.ProtoReflect.Descriptor instead.
+func (*CreateSymlinkResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{134}
+}
type GetLinkTargetRequestProto struct {
- Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
+}
+
+func (x *GetLinkTargetRequestProto) Reset() {
+ *x = GetLinkTargetRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[135]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetLinkTargetRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetLinkTargetRequestProto) Reset() { *m = GetLinkTargetRequestProto{} }
-func (m *GetLinkTargetRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetLinkTargetRequestProto) ProtoMessage() {}
-func (*GetLinkTargetRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{123} }
+func (*GetLinkTargetRequestProto) ProtoMessage() {}
-func (m *GetLinkTargetRequestProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *GetLinkTargetRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[135]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetLinkTargetRequestProto.ProtoReflect.Descriptor instead.
+func (*GetLinkTargetRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{135}
+}
+
+func (x *GetLinkTargetRequestProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
type GetLinkTargetResponseProto struct {
- TargetPath *string `protobuf:"bytes,1,opt,name=targetPath" json:"targetPath,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ TargetPath *string `protobuf:"bytes,1,opt,name=targetPath" json:"targetPath,omitempty"`
}
-func (m *GetLinkTargetResponseProto) Reset() { *m = GetLinkTargetResponseProto{} }
-func (m *GetLinkTargetResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetLinkTargetResponseProto) ProtoMessage() {}
-func (*GetLinkTargetResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{124} }
+func (x *GetLinkTargetResponseProto) Reset() {
+ *x = GetLinkTargetResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[136]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *GetLinkTargetResponseProto) GetTargetPath() string {
- if m != nil && m.TargetPath != nil {
- return *m.TargetPath
+func (x *GetLinkTargetResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetLinkTargetResponseProto) ProtoMessage() {}
+
+func (x *GetLinkTargetResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[136]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetLinkTargetResponseProto.ProtoReflect.Descriptor instead.
+func (*GetLinkTargetResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{136}
+}
+
+func (x *GetLinkTargetResponseProto) GetTargetPath() string {
+ if x != nil && x.TargetPath != nil {
+ return *x.TargetPath
}
return ""
}
type UpdateBlockForPipelineRequestProto struct {
- Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
- ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
+ ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
}
-func (m *UpdateBlockForPipelineRequestProto) Reset() { *m = UpdateBlockForPipelineRequestProto{} }
-func (m *UpdateBlockForPipelineRequestProto) String() string { return proto.CompactTextString(m) }
-func (*UpdateBlockForPipelineRequestProto) ProtoMessage() {}
+func (x *UpdateBlockForPipelineRequestProto) Reset() {
+ *x = UpdateBlockForPipelineRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[137]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UpdateBlockForPipelineRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UpdateBlockForPipelineRequestProto) ProtoMessage() {}
+
+func (x *UpdateBlockForPipelineRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[137]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UpdateBlockForPipelineRequestProto.ProtoReflect.Descriptor instead.
func (*UpdateBlockForPipelineRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{125}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{137}
}
-func (m *UpdateBlockForPipelineRequestProto) GetBlock() *ExtendedBlockProto {
- if m != nil {
- return m.Block
+func (x *UpdateBlockForPipelineRequestProto) GetBlock() *ExtendedBlockProto {
+ if x != nil {
+ return x.Block
}
return nil
}
-func (m *UpdateBlockForPipelineRequestProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *UpdateBlockForPipelineRequestProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
type UpdateBlockForPipelineResponseProto struct {
- Block *LocatedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *LocatedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
}
-func (m *UpdateBlockForPipelineResponseProto) Reset() { *m = UpdateBlockForPipelineResponseProto{} }
-func (m *UpdateBlockForPipelineResponseProto) String() string { return proto.CompactTextString(m) }
-func (*UpdateBlockForPipelineResponseProto) ProtoMessage() {}
+func (x *UpdateBlockForPipelineResponseProto) Reset() {
+ *x = UpdateBlockForPipelineResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[138]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UpdateBlockForPipelineResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UpdateBlockForPipelineResponseProto) ProtoMessage() {}
+
+func (x *UpdateBlockForPipelineResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[138]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UpdateBlockForPipelineResponseProto.ProtoReflect.Descriptor instead.
func (*UpdateBlockForPipelineResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{126}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{138}
}
-func (m *UpdateBlockForPipelineResponseProto) GetBlock() *LocatedBlockProto {
- if m != nil {
- return m.Block
+func (x *UpdateBlockForPipelineResponseProto) GetBlock() *LocatedBlockProto {
+ if x != nil {
+ return x.Block
}
return nil
}
type UpdatePipelineRequestProto struct {
- ClientName *string `protobuf:"bytes,1,req,name=clientName" json:"clientName,omitempty"`
- OldBlock *ExtendedBlockProto `protobuf:"bytes,2,req,name=oldBlock" json:"oldBlock,omitempty"`
- NewBlock *ExtendedBlockProto `protobuf:"bytes,3,req,name=newBlock" json:"newBlock,omitempty"`
- NewNodes []*DatanodeIDProto `protobuf:"bytes,4,rep,name=newNodes" json:"newNodes,omitempty"`
- StorageIDs []string `protobuf:"bytes,5,rep,name=storageIDs" json:"storageIDs,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ClientName *string `protobuf:"bytes,1,req,name=clientName" json:"clientName,omitempty"`
+ OldBlock *ExtendedBlockProto `protobuf:"bytes,2,req,name=oldBlock" json:"oldBlock,omitempty"`
+ NewBlock *ExtendedBlockProto `protobuf:"bytes,3,req,name=newBlock" json:"newBlock,omitempty"`
+ NewNodes []*DatanodeIDProto `protobuf:"bytes,4,rep,name=newNodes" json:"newNodes,omitempty"`
+ StorageIDs []string `protobuf:"bytes,5,rep,name=storageIDs" json:"storageIDs,omitempty"`
}
-func (m *UpdatePipelineRequestProto) Reset() { *m = UpdatePipelineRequestProto{} }
-func (m *UpdatePipelineRequestProto) String() string { return proto.CompactTextString(m) }
-func (*UpdatePipelineRequestProto) ProtoMessage() {}
-func (*UpdatePipelineRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{127} }
+func (x *UpdatePipelineRequestProto) Reset() {
+ *x = UpdatePipelineRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[139]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *UpdatePipelineRequestProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *UpdatePipelineRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UpdatePipelineRequestProto) ProtoMessage() {}
+
+func (x *UpdatePipelineRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[139]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UpdatePipelineRequestProto.ProtoReflect.Descriptor instead.
+func (*UpdatePipelineRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{139}
+}
+
+func (x *UpdatePipelineRequestProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
-func (m *UpdatePipelineRequestProto) GetOldBlock() *ExtendedBlockProto {
- if m != nil {
- return m.OldBlock
+func (x *UpdatePipelineRequestProto) GetOldBlock() *ExtendedBlockProto {
+ if x != nil {
+ return x.OldBlock
}
return nil
}
-func (m *UpdatePipelineRequestProto) GetNewBlock() *ExtendedBlockProto {
- if m != nil {
- return m.NewBlock
+func (x *UpdatePipelineRequestProto) GetNewBlock() *ExtendedBlockProto {
+ if x != nil {
+ return x.NewBlock
}
return nil
}
-func (m *UpdatePipelineRequestProto) GetNewNodes() []*DatanodeIDProto {
- if m != nil {
- return m.NewNodes
+func (x *UpdatePipelineRequestProto) GetNewNodes() []*DatanodeIDProto {
+ if x != nil {
+ return x.NewNodes
}
return nil
}
-func (m *UpdatePipelineRequestProto) GetStorageIDs() []string {
- if m != nil {
- return m.StorageIDs
+func (x *UpdatePipelineRequestProto) GetStorageIDs() []string {
+ if x != nil {
+ return x.StorageIDs
}
return nil
}
type UpdatePipelineResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *UpdatePipelineResponseProto) Reset() {
+ *x = UpdatePipelineResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[140]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UpdatePipelineResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *UpdatePipelineResponseProto) Reset() { *m = UpdatePipelineResponseProto{} }
-func (m *UpdatePipelineResponseProto) String() string { return proto.CompactTextString(m) }
-func (*UpdatePipelineResponseProto) ProtoMessage() {}
-func (*UpdatePipelineResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{128} }
+func (*UpdatePipelineResponseProto) ProtoMessage() {}
+
+func (x *UpdatePipelineResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[140]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UpdatePipelineResponseProto.ProtoReflect.Descriptor instead.
+func (*UpdatePipelineResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{140}
+}
type SetBalancerBandwidthRequestProto struct {
- Bandwidth *int64 `protobuf:"varint,1,req,name=bandwidth" json:"bandwidth,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Bandwidth *int64 `protobuf:"varint,1,req,name=bandwidth" json:"bandwidth,omitempty"`
+}
+
+func (x *SetBalancerBandwidthRequestProto) Reset() {
+ *x = SetBalancerBandwidthRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[141]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *SetBalancerBandwidthRequestProto) Reset() { *m = SetBalancerBandwidthRequestProto{} }
-func (m *SetBalancerBandwidthRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SetBalancerBandwidthRequestProto) ProtoMessage() {}
+func (x *SetBalancerBandwidthRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetBalancerBandwidthRequestProto) ProtoMessage() {}
+
+func (x *SetBalancerBandwidthRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[141]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetBalancerBandwidthRequestProto.ProtoReflect.Descriptor instead.
func (*SetBalancerBandwidthRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{129}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{141}
}
-func (m *SetBalancerBandwidthRequestProto) GetBandwidth() int64 {
- if m != nil && m.Bandwidth != nil {
- return *m.Bandwidth
+func (x *SetBalancerBandwidthRequestProto) GetBandwidth() int64 {
+ if x != nil && x.Bandwidth != nil {
+ return *x.Bandwidth
}
return 0
}
type SetBalancerBandwidthResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *SetBalancerBandwidthResponseProto) Reset() {
+ *x = SetBalancerBandwidthResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[142]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetBalancerBandwidthResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *SetBalancerBandwidthResponseProto) Reset() { *m = SetBalancerBandwidthResponseProto{} }
-func (m *SetBalancerBandwidthResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SetBalancerBandwidthResponseProto) ProtoMessage() {}
+func (*SetBalancerBandwidthResponseProto) ProtoMessage() {}
+
+func (x *SetBalancerBandwidthResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[142]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetBalancerBandwidthResponseProto.ProtoReflect.Descriptor instead.
func (*SetBalancerBandwidthResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{130}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{142}
}
type GetDataEncryptionKeyRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *GetDataEncryptionKeyRequestProto) Reset() { *m = GetDataEncryptionKeyRequestProto{} }
-func (m *GetDataEncryptionKeyRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetDataEncryptionKeyRequestProto) ProtoMessage() {}
+func (x *GetDataEncryptionKeyRequestProto) Reset() {
+ *x = GetDataEncryptionKeyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[143]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetDataEncryptionKeyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetDataEncryptionKeyRequestProto) ProtoMessage() {}
+
+func (x *GetDataEncryptionKeyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[143]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetDataEncryptionKeyRequestProto.ProtoReflect.Descriptor instead.
func (*GetDataEncryptionKeyRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{131}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{143}
}
type GetDataEncryptionKeyResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
DataEncryptionKey *DataEncryptionKeyProto `protobuf:"bytes,1,opt,name=dataEncryptionKey" json:"dataEncryptionKey,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *GetDataEncryptionKeyResponseProto) Reset() { *m = GetDataEncryptionKeyResponseProto{} }
-func (m *GetDataEncryptionKeyResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetDataEncryptionKeyResponseProto) ProtoMessage() {}
+func (x *GetDataEncryptionKeyResponseProto) Reset() {
+ *x = GetDataEncryptionKeyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[144]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetDataEncryptionKeyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetDataEncryptionKeyResponseProto) ProtoMessage() {}
+
+func (x *GetDataEncryptionKeyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[144]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetDataEncryptionKeyResponseProto.ProtoReflect.Descriptor instead.
func (*GetDataEncryptionKeyResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{132}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{144}
}
-func (m *GetDataEncryptionKeyResponseProto) GetDataEncryptionKey() *DataEncryptionKeyProto {
- if m != nil {
- return m.DataEncryptionKey
+func (x *GetDataEncryptionKeyResponseProto) GetDataEncryptionKey() *DataEncryptionKeyProto {
+ if x != nil {
+ return x.DataEncryptionKey
}
return nil
}
type CreateSnapshotRequestProto struct {
- SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
- SnapshotName *string `protobuf:"bytes,2,opt,name=snapshotName" json:"snapshotName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
+ SnapshotName *string `protobuf:"bytes,2,opt,name=snapshotName" json:"snapshotName,omitempty"`
+}
+
+func (x *CreateSnapshotRequestProto) Reset() {
+ *x = CreateSnapshotRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[145]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CreateSnapshotRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CreateSnapshotRequestProto) ProtoMessage() {}
+
+func (x *CreateSnapshotRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[145]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *CreateSnapshotRequestProto) Reset() { *m = CreateSnapshotRequestProto{} }
-func (m *CreateSnapshotRequestProto) String() string { return proto.CompactTextString(m) }
-func (*CreateSnapshotRequestProto) ProtoMessage() {}
-func (*CreateSnapshotRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{133} }
+// Deprecated: Use CreateSnapshotRequestProto.ProtoReflect.Descriptor instead.
+func (*CreateSnapshotRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{145}
+}
-func (m *CreateSnapshotRequestProto) GetSnapshotRoot() string {
- if m != nil && m.SnapshotRoot != nil {
- return *m.SnapshotRoot
+func (x *CreateSnapshotRequestProto) GetSnapshotRoot() string {
+ if x != nil && x.SnapshotRoot != nil {
+ return *x.SnapshotRoot
}
return ""
}
-func (m *CreateSnapshotRequestProto) GetSnapshotName() string {
- if m != nil && m.SnapshotName != nil {
- return *m.SnapshotName
+func (x *CreateSnapshotRequestProto) GetSnapshotName() string {
+ if x != nil && x.SnapshotName != nil {
+ return *x.SnapshotName
}
return ""
}
type CreateSnapshotResponseProto struct {
- SnapshotPath *string `protobuf:"bytes,1,req,name=snapshotPath" json:"snapshotPath,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SnapshotPath *string `protobuf:"bytes,1,req,name=snapshotPath" json:"snapshotPath,omitempty"`
+}
+
+func (x *CreateSnapshotResponseProto) Reset() {
+ *x = CreateSnapshotResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[146]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CreateSnapshotResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CreateSnapshotResponseProto) Reset() { *m = CreateSnapshotResponseProto{} }
-func (m *CreateSnapshotResponseProto) String() string { return proto.CompactTextString(m) }
-func (*CreateSnapshotResponseProto) ProtoMessage() {}
-func (*CreateSnapshotResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{134} }
+func (*CreateSnapshotResponseProto) ProtoMessage() {}
-func (m *CreateSnapshotResponseProto) GetSnapshotPath() string {
- if m != nil && m.SnapshotPath != nil {
- return *m.SnapshotPath
+func (x *CreateSnapshotResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[146]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CreateSnapshotResponseProto.ProtoReflect.Descriptor instead.
+func (*CreateSnapshotResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{146}
+}
+
+func (x *CreateSnapshotResponseProto) GetSnapshotPath() string {
+ if x != nil && x.SnapshotPath != nil {
+ return *x.SnapshotPath
}
return ""
}
type RenameSnapshotRequestProto struct {
- SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
- SnapshotOldName *string `protobuf:"bytes,2,req,name=snapshotOldName" json:"snapshotOldName,omitempty"`
- SnapshotNewName *string `protobuf:"bytes,3,req,name=snapshotNewName" json:"snapshotNewName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
+ SnapshotOldName *string `protobuf:"bytes,2,req,name=snapshotOldName" json:"snapshotOldName,omitempty"`
+ SnapshotNewName *string `protobuf:"bytes,3,req,name=snapshotNewName" json:"snapshotNewName,omitempty"`
+}
+
+func (x *RenameSnapshotRequestProto) Reset() {
+ *x = RenameSnapshotRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[147]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RenameSnapshotRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RenameSnapshotRequestProto) Reset() { *m = RenameSnapshotRequestProto{} }
-func (m *RenameSnapshotRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RenameSnapshotRequestProto) ProtoMessage() {}
-func (*RenameSnapshotRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{135} }
+func (*RenameSnapshotRequestProto) ProtoMessage() {}
-func (m *RenameSnapshotRequestProto) GetSnapshotRoot() string {
- if m != nil && m.SnapshotRoot != nil {
- return *m.SnapshotRoot
+func (x *RenameSnapshotRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[147]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RenameSnapshotRequestProto.ProtoReflect.Descriptor instead.
+func (*RenameSnapshotRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{147}
+}
+
+func (x *RenameSnapshotRequestProto) GetSnapshotRoot() string {
+ if x != nil && x.SnapshotRoot != nil {
+ return *x.SnapshotRoot
}
return ""
}
-func (m *RenameSnapshotRequestProto) GetSnapshotOldName() string {
- if m != nil && m.SnapshotOldName != nil {
- return *m.SnapshotOldName
+func (x *RenameSnapshotRequestProto) GetSnapshotOldName() string {
+ if x != nil && x.SnapshotOldName != nil {
+ return *x.SnapshotOldName
}
return ""
}
-func (m *RenameSnapshotRequestProto) GetSnapshotNewName() string {
- if m != nil && m.SnapshotNewName != nil {
- return *m.SnapshotNewName
+func (x *RenameSnapshotRequestProto) GetSnapshotNewName() string {
+ if x != nil && x.SnapshotNewName != nil {
+ return *x.SnapshotNewName
}
return ""
}
type RenameSnapshotResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RenameSnapshotResponseProto) Reset() {
+ *x = RenameSnapshotResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[148]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RenameSnapshotResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RenameSnapshotResponseProto) ProtoMessage() {}
+
+func (x *RenameSnapshotResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[148]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *RenameSnapshotResponseProto) Reset() { *m = RenameSnapshotResponseProto{} }
-func (m *RenameSnapshotResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RenameSnapshotResponseProto) ProtoMessage() {}
-func (*RenameSnapshotResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{136} }
+// Deprecated: Use RenameSnapshotResponseProto.ProtoReflect.Descriptor instead.
+func (*RenameSnapshotResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{148}
+}
type AllowSnapshotRequestProto struct {
- SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
}
-func (m *AllowSnapshotRequestProto) Reset() { *m = AllowSnapshotRequestProto{} }
-func (m *AllowSnapshotRequestProto) String() string { return proto.CompactTextString(m) }
-func (*AllowSnapshotRequestProto) ProtoMessage() {}
-func (*AllowSnapshotRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{137} }
+func (x *AllowSnapshotRequestProto) Reset() {
+ *x = AllowSnapshotRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[149]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *AllowSnapshotRequestProto) GetSnapshotRoot() string {
- if m != nil && m.SnapshotRoot != nil {
- return *m.SnapshotRoot
+func (x *AllowSnapshotRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AllowSnapshotRequestProto) ProtoMessage() {}
+
+func (x *AllowSnapshotRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[149]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AllowSnapshotRequestProto.ProtoReflect.Descriptor instead.
+func (*AllowSnapshotRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{149}
+}
+
+func (x *AllowSnapshotRequestProto) GetSnapshotRoot() string {
+ if x != nil && x.SnapshotRoot != nil {
+ return *x.SnapshotRoot
}
return ""
}
type AllowSnapshotResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *AllowSnapshotResponseProto) Reset() {
+ *x = AllowSnapshotResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[150]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AllowSnapshotResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *AllowSnapshotResponseProto) Reset() { *m = AllowSnapshotResponseProto{} }
-func (m *AllowSnapshotResponseProto) String() string { return proto.CompactTextString(m) }
-func (*AllowSnapshotResponseProto) ProtoMessage() {}
-func (*AllowSnapshotResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{138} }
+func (*AllowSnapshotResponseProto) ProtoMessage() {}
+
+func (x *AllowSnapshotResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[150]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AllowSnapshotResponseProto.ProtoReflect.Descriptor instead.
+func (*AllowSnapshotResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{150}
+}
type DisallowSnapshotRequestProto struct {
- SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
+}
+
+func (x *DisallowSnapshotRequestProto) Reset() {
+ *x = DisallowSnapshotRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[151]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *DisallowSnapshotRequestProto) Reset() { *m = DisallowSnapshotRequestProto{} }
-func (m *DisallowSnapshotRequestProto) String() string { return proto.CompactTextString(m) }
-func (*DisallowSnapshotRequestProto) ProtoMessage() {}
-func (*DisallowSnapshotRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{139} }
+func (x *DisallowSnapshotRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DisallowSnapshotRequestProto) ProtoMessage() {}
-func (m *DisallowSnapshotRequestProto) GetSnapshotRoot() string {
- if m != nil && m.SnapshotRoot != nil {
- return *m.SnapshotRoot
+func (x *DisallowSnapshotRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[151]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DisallowSnapshotRequestProto.ProtoReflect.Descriptor instead.
+func (*DisallowSnapshotRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{151}
+}
+
+func (x *DisallowSnapshotRequestProto) GetSnapshotRoot() string {
+ if x != nil && x.SnapshotRoot != nil {
+ return *x.SnapshotRoot
}
return ""
}
type DisallowSnapshotResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *DisallowSnapshotResponseProto) Reset() { *m = DisallowSnapshotResponseProto{} }
-func (m *DisallowSnapshotResponseProto) String() string { return proto.CompactTextString(m) }
-func (*DisallowSnapshotResponseProto) ProtoMessage() {}
-func (*DisallowSnapshotResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{140} }
+func (x *DisallowSnapshotResponseProto) Reset() {
+ *x = DisallowSnapshotResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[152]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DisallowSnapshotResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DisallowSnapshotResponseProto) ProtoMessage() {}
+
+func (x *DisallowSnapshotResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[152]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DisallowSnapshotResponseProto.ProtoReflect.Descriptor instead.
+func (*DisallowSnapshotResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{152}
+}
type DeleteSnapshotRequestProto struct {
- SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
- SnapshotName *string `protobuf:"bytes,2,req,name=snapshotName" json:"snapshotName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
+ SnapshotName *string `protobuf:"bytes,2,req,name=snapshotName" json:"snapshotName,omitempty"`
}
-func (m *DeleteSnapshotRequestProto) Reset() { *m = DeleteSnapshotRequestProto{} }
-func (m *DeleteSnapshotRequestProto) String() string { return proto.CompactTextString(m) }
-func (*DeleteSnapshotRequestProto) ProtoMessage() {}
-func (*DeleteSnapshotRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{141} }
+func (x *DeleteSnapshotRequestProto) Reset() {
+ *x = DeleteSnapshotRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[153]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DeleteSnapshotRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *DeleteSnapshotRequestProto) GetSnapshotRoot() string {
- if m != nil && m.SnapshotRoot != nil {
- return *m.SnapshotRoot
+func (*DeleteSnapshotRequestProto) ProtoMessage() {}
+
+func (x *DeleteSnapshotRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[153]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DeleteSnapshotRequestProto.ProtoReflect.Descriptor instead.
+func (*DeleteSnapshotRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{153}
+}
+
+func (x *DeleteSnapshotRequestProto) GetSnapshotRoot() string {
+ if x != nil && x.SnapshotRoot != nil {
+ return *x.SnapshotRoot
}
return ""
}
-func (m *DeleteSnapshotRequestProto) GetSnapshotName() string {
- if m != nil && m.SnapshotName != nil {
- return *m.SnapshotName
+func (x *DeleteSnapshotRequestProto) GetSnapshotName() string {
+ if x != nil && x.SnapshotName != nil {
+ return *x.SnapshotName
}
return ""
}
type DeleteSnapshotResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *DeleteSnapshotResponseProto) Reset() { *m = DeleteSnapshotResponseProto{} }
-func (m *DeleteSnapshotResponseProto) String() string { return proto.CompactTextString(m) }
-func (*DeleteSnapshotResponseProto) ProtoMessage() {}
-func (*DeleteSnapshotResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{142} }
+func (x *DeleteSnapshotResponseProto) Reset() {
+ *x = DeleteSnapshotResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[154]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DeleteSnapshotResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DeleteSnapshotResponseProto) ProtoMessage() {}
+
+func (x *DeleteSnapshotResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[154]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DeleteSnapshotResponseProto.ProtoReflect.Descriptor instead.
+func (*DeleteSnapshotResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{154}
+}
type CheckAccessRequestProto struct {
- Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
- Mode *AclEntryProto_FsActionProto `protobuf:"varint,2,req,name=mode,enum=hadoop.hdfs.AclEntryProto_FsActionProto" json:"mode,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
+ Mode *AclEntryProto_FsActionProto `protobuf:"varint,2,req,name=mode,enum=hadoop.hdfs.AclEntryProto_FsActionProto" json:"mode,omitempty"`
+}
+
+func (x *CheckAccessRequestProto) Reset() {
+ *x = CheckAccessRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[155]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CheckAccessRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CheckAccessRequestProto) Reset() { *m = CheckAccessRequestProto{} }
-func (m *CheckAccessRequestProto) String() string { return proto.CompactTextString(m) }
-func (*CheckAccessRequestProto) ProtoMessage() {}
-func (*CheckAccessRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{143} }
+func (*CheckAccessRequestProto) ProtoMessage() {}
-func (m *CheckAccessRequestProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *CheckAccessRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[155]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CheckAccessRequestProto.ProtoReflect.Descriptor instead.
+func (*CheckAccessRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{155}
+}
+
+func (x *CheckAccessRequestProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
-func (m *CheckAccessRequestProto) GetMode() AclEntryProto_FsActionProto {
- if m != nil && m.Mode != nil {
- return *m.Mode
+func (x *CheckAccessRequestProto) GetMode() AclEntryProto_FsActionProto {
+ if x != nil && x.Mode != nil {
+ return *x.Mode
}
return AclEntryProto_NONE
}
type CheckAccessResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *CheckAccessResponseProto) Reset() { *m = CheckAccessResponseProto{} }
-func (m *CheckAccessResponseProto) String() string { return proto.CompactTextString(m) }
-func (*CheckAccessResponseProto) ProtoMessage() {}
-func (*CheckAccessResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{144} }
+func (x *CheckAccessResponseProto) Reset() {
+ *x = CheckAccessResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[156]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CheckAccessResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CheckAccessResponseProto) ProtoMessage() {}
+
+func (x *CheckAccessResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[156]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CheckAccessResponseProto.ProtoReflect.Descriptor instead.
+func (*CheckAccessResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{156}
+}
type GetCurrentEditLogTxidRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *GetCurrentEditLogTxidRequestProto) Reset() { *m = GetCurrentEditLogTxidRequestProto{} }
-func (m *GetCurrentEditLogTxidRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetCurrentEditLogTxidRequestProto) ProtoMessage() {}
+func (x *GetCurrentEditLogTxidRequestProto) Reset() {
+ *x = GetCurrentEditLogTxidRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[157]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetCurrentEditLogTxidRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetCurrentEditLogTxidRequestProto) ProtoMessage() {}
+
+func (x *GetCurrentEditLogTxidRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[157]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetCurrentEditLogTxidRequestProto.ProtoReflect.Descriptor instead.
func (*GetCurrentEditLogTxidRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{145}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{157}
}
type GetCurrentEditLogTxidResponseProto struct {
- Txid *int64 `protobuf:"varint,1,req,name=txid" json:"txid,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Txid *int64 `protobuf:"varint,1,req,name=txid" json:"txid,omitempty"`
+}
+
+func (x *GetCurrentEditLogTxidResponseProto) Reset() {
+ *x = GetCurrentEditLogTxidResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[158]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetCurrentEditLogTxidResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetCurrentEditLogTxidResponseProto) ProtoMessage() {}
+
+func (x *GetCurrentEditLogTxidResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[158]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GetCurrentEditLogTxidResponseProto) Reset() { *m = GetCurrentEditLogTxidResponseProto{} }
-func (m *GetCurrentEditLogTxidResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetCurrentEditLogTxidResponseProto) ProtoMessage() {}
+// Deprecated: Use GetCurrentEditLogTxidResponseProto.ProtoReflect.Descriptor instead.
func (*GetCurrentEditLogTxidResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor4, []int{146}
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{158}
}
-func (m *GetCurrentEditLogTxidResponseProto) GetTxid() int64 {
- if m != nil && m.Txid != nil {
- return *m.Txid
+func (x *GetCurrentEditLogTxidResponseProto) GetTxid() int64 {
+ if x != nil && x.Txid != nil {
+ return *x.Txid
}
return 0
}
type GetEditsFromTxidRequestProto struct {
- Txid *int64 `protobuf:"varint,1,req,name=txid" json:"txid,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Txid *int64 `protobuf:"varint,1,req,name=txid" json:"txid,omitempty"`
}
-func (m *GetEditsFromTxidRequestProto) Reset() { *m = GetEditsFromTxidRequestProto{} }
-func (m *GetEditsFromTxidRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetEditsFromTxidRequestProto) ProtoMessage() {}
-func (*GetEditsFromTxidRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{147} }
+func (x *GetEditsFromTxidRequestProto) Reset() {
+ *x = GetEditsFromTxidRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[159]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *GetEditsFromTxidRequestProto) GetTxid() int64 {
- if m != nil && m.Txid != nil {
- return *m.Txid
+func (x *GetEditsFromTxidRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetEditsFromTxidRequestProto) ProtoMessage() {}
+
+func (x *GetEditsFromTxidRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[159]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetEditsFromTxidRequestProto.ProtoReflect.Descriptor instead.
+func (*GetEditsFromTxidRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{159}
+}
+
+func (x *GetEditsFromTxidRequestProto) GetTxid() int64 {
+ if x != nil && x.Txid != nil {
+ return *x.Txid
}
return 0
}
type GetEditsFromTxidResponseProto struct {
- EventsList *EventsListProto `protobuf:"bytes,1,req,name=eventsList" json:"eventsList,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *GetEditsFromTxidResponseProto) Reset() { *m = GetEditsFromTxidResponseProto{} }
-func (m *GetEditsFromTxidResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetEditsFromTxidResponseProto) ProtoMessage() {}
-func (*GetEditsFromTxidResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{148} }
-
-func (m *GetEditsFromTxidResponseProto) GetEventsList() *EventsListProto {
- if m != nil {
- return m.EventsList
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*GetBlockLocationsRequestProto)(nil), "hadoop.hdfs.GetBlockLocationsRequestProto")
- proto.RegisterType((*GetBlockLocationsResponseProto)(nil), "hadoop.hdfs.GetBlockLocationsResponseProto")
- proto.RegisterType((*GetServerDefaultsRequestProto)(nil), "hadoop.hdfs.GetServerDefaultsRequestProto")
- proto.RegisterType((*GetServerDefaultsResponseProto)(nil), "hadoop.hdfs.GetServerDefaultsResponseProto")
- proto.RegisterType((*CreateRequestProto)(nil), "hadoop.hdfs.CreateRequestProto")
- proto.RegisterType((*CreateResponseProto)(nil), "hadoop.hdfs.CreateResponseProto")
- proto.RegisterType((*AppendRequestProto)(nil), "hadoop.hdfs.AppendRequestProto")
- proto.RegisterType((*AppendResponseProto)(nil), "hadoop.hdfs.AppendResponseProto")
- proto.RegisterType((*SetReplicationRequestProto)(nil), "hadoop.hdfs.SetReplicationRequestProto")
- proto.RegisterType((*SetReplicationResponseProto)(nil), "hadoop.hdfs.SetReplicationResponseProto")
- proto.RegisterType((*SetStoragePolicyRequestProto)(nil), "hadoop.hdfs.SetStoragePolicyRequestProto")
- proto.RegisterType((*SetStoragePolicyResponseProto)(nil), "hadoop.hdfs.SetStoragePolicyResponseProto")
- proto.RegisterType((*UnsetStoragePolicyRequestProto)(nil), "hadoop.hdfs.UnsetStoragePolicyRequestProto")
- proto.RegisterType((*UnsetStoragePolicyResponseProto)(nil), "hadoop.hdfs.UnsetStoragePolicyResponseProto")
- proto.RegisterType((*GetStoragePolicyRequestProto)(nil), "hadoop.hdfs.GetStoragePolicyRequestProto")
- proto.RegisterType((*GetStoragePolicyResponseProto)(nil), "hadoop.hdfs.GetStoragePolicyResponseProto")
- proto.RegisterType((*GetStoragePoliciesRequestProto)(nil), "hadoop.hdfs.GetStoragePoliciesRequestProto")
- proto.RegisterType((*GetStoragePoliciesResponseProto)(nil), "hadoop.hdfs.GetStoragePoliciesResponseProto")
- proto.RegisterType((*SetPermissionRequestProto)(nil), "hadoop.hdfs.SetPermissionRequestProto")
- proto.RegisterType((*SetPermissionResponseProto)(nil), "hadoop.hdfs.SetPermissionResponseProto")
- proto.RegisterType((*SetOwnerRequestProto)(nil), "hadoop.hdfs.SetOwnerRequestProto")
- proto.RegisterType((*SetOwnerResponseProto)(nil), "hadoop.hdfs.SetOwnerResponseProto")
- proto.RegisterType((*AbandonBlockRequestProto)(nil), "hadoop.hdfs.AbandonBlockRequestProto")
- proto.RegisterType((*AbandonBlockResponseProto)(nil), "hadoop.hdfs.AbandonBlockResponseProto")
- proto.RegisterType((*AddBlockRequestProto)(nil), "hadoop.hdfs.AddBlockRequestProto")
- proto.RegisterType((*AddBlockResponseProto)(nil), "hadoop.hdfs.AddBlockResponseProto")
- proto.RegisterType((*GetAdditionalDatanodeRequestProto)(nil), "hadoop.hdfs.GetAdditionalDatanodeRequestProto")
- proto.RegisterType((*GetAdditionalDatanodeResponseProto)(nil), "hadoop.hdfs.GetAdditionalDatanodeResponseProto")
- proto.RegisterType((*CompleteRequestProto)(nil), "hadoop.hdfs.CompleteRequestProto")
- proto.RegisterType((*CompleteResponseProto)(nil), "hadoop.hdfs.CompleteResponseProto")
- proto.RegisterType((*ReportBadBlocksRequestProto)(nil), "hadoop.hdfs.ReportBadBlocksRequestProto")
- proto.RegisterType((*ReportBadBlocksResponseProto)(nil), "hadoop.hdfs.ReportBadBlocksResponseProto")
- proto.RegisterType((*ConcatRequestProto)(nil), "hadoop.hdfs.ConcatRequestProto")
- proto.RegisterType((*ConcatResponseProto)(nil), "hadoop.hdfs.ConcatResponseProto")
- proto.RegisterType((*TruncateRequestProto)(nil), "hadoop.hdfs.TruncateRequestProto")
- proto.RegisterType((*TruncateResponseProto)(nil), "hadoop.hdfs.TruncateResponseProto")
- proto.RegisterType((*RenameRequestProto)(nil), "hadoop.hdfs.RenameRequestProto")
- proto.RegisterType((*RenameResponseProto)(nil), "hadoop.hdfs.RenameResponseProto")
- proto.RegisterType((*Rename2RequestProto)(nil), "hadoop.hdfs.Rename2RequestProto")
- proto.RegisterType((*Rename2ResponseProto)(nil), "hadoop.hdfs.Rename2ResponseProto")
- proto.RegisterType((*DeleteRequestProto)(nil), "hadoop.hdfs.DeleteRequestProto")
- proto.RegisterType((*DeleteResponseProto)(nil), "hadoop.hdfs.DeleteResponseProto")
- proto.RegisterType((*MkdirsRequestProto)(nil), "hadoop.hdfs.MkdirsRequestProto")
- proto.RegisterType((*MkdirsResponseProto)(nil), "hadoop.hdfs.MkdirsResponseProto")
- proto.RegisterType((*GetListingRequestProto)(nil), "hadoop.hdfs.GetListingRequestProto")
- proto.RegisterType((*GetListingResponseProto)(nil), "hadoop.hdfs.GetListingResponseProto")
- proto.RegisterType((*GetSnapshottableDirListingRequestProto)(nil), "hadoop.hdfs.GetSnapshottableDirListingRequestProto")
- proto.RegisterType((*GetSnapshottableDirListingResponseProto)(nil), "hadoop.hdfs.GetSnapshottableDirListingResponseProto")
- proto.RegisterType((*GetSnapshotDiffReportRequestProto)(nil), "hadoop.hdfs.GetSnapshotDiffReportRequestProto")
- proto.RegisterType((*GetSnapshotDiffReportResponseProto)(nil), "hadoop.hdfs.GetSnapshotDiffReportResponseProto")
- proto.RegisterType((*RenewLeaseRequestProto)(nil), "hadoop.hdfs.RenewLeaseRequestProto")
- proto.RegisterType((*RenewLeaseResponseProto)(nil), "hadoop.hdfs.RenewLeaseResponseProto")
- proto.RegisterType((*RecoverLeaseRequestProto)(nil), "hadoop.hdfs.RecoverLeaseRequestProto")
- proto.RegisterType((*RecoverLeaseResponseProto)(nil), "hadoop.hdfs.RecoverLeaseResponseProto")
- proto.RegisterType((*GetFsStatusRequestProto)(nil), "hadoop.hdfs.GetFsStatusRequestProto")
- proto.RegisterType((*GetFsStatsResponseProto)(nil), "hadoop.hdfs.GetFsStatsResponseProto")
- proto.RegisterType((*GetDatanodeReportRequestProto)(nil), "hadoop.hdfs.GetDatanodeReportRequestProto")
- proto.RegisterType((*GetDatanodeReportResponseProto)(nil), "hadoop.hdfs.GetDatanodeReportResponseProto")
- proto.RegisterType((*GetDatanodeStorageReportRequestProto)(nil), "hadoop.hdfs.GetDatanodeStorageReportRequestProto")
- proto.RegisterType((*DatanodeStorageReportProto)(nil), "hadoop.hdfs.DatanodeStorageReportProto")
- proto.RegisterType((*GetDatanodeStorageReportResponseProto)(nil), "hadoop.hdfs.GetDatanodeStorageReportResponseProto")
- proto.RegisterType((*GetPreferredBlockSizeRequestProto)(nil), "hadoop.hdfs.GetPreferredBlockSizeRequestProto")
- proto.RegisterType((*GetPreferredBlockSizeResponseProto)(nil), "hadoop.hdfs.GetPreferredBlockSizeResponseProto")
- proto.RegisterType((*SetSafeModeRequestProto)(nil), "hadoop.hdfs.SetSafeModeRequestProto")
- proto.RegisterType((*SetSafeModeResponseProto)(nil), "hadoop.hdfs.SetSafeModeResponseProto")
- proto.RegisterType((*SaveNamespaceRequestProto)(nil), "hadoop.hdfs.SaveNamespaceRequestProto")
- proto.RegisterType((*SaveNamespaceResponseProto)(nil), "hadoop.hdfs.SaveNamespaceResponseProto")
- proto.RegisterType((*RollEditsRequestProto)(nil), "hadoop.hdfs.RollEditsRequestProto")
- proto.RegisterType((*RollEditsResponseProto)(nil), "hadoop.hdfs.RollEditsResponseProto")
- proto.RegisterType((*RestoreFailedStorageRequestProto)(nil), "hadoop.hdfs.RestoreFailedStorageRequestProto")
- proto.RegisterType((*RestoreFailedStorageResponseProto)(nil), "hadoop.hdfs.RestoreFailedStorageResponseProto")
- proto.RegisterType((*RefreshNodesRequestProto)(nil), "hadoop.hdfs.RefreshNodesRequestProto")
- proto.RegisterType((*RefreshNodesResponseProto)(nil), "hadoop.hdfs.RefreshNodesResponseProto")
- proto.RegisterType((*FinalizeUpgradeRequestProto)(nil), "hadoop.hdfs.FinalizeUpgradeRequestProto")
- proto.RegisterType((*FinalizeUpgradeResponseProto)(nil), "hadoop.hdfs.FinalizeUpgradeResponseProto")
- proto.RegisterType((*RollingUpgradeRequestProto)(nil), "hadoop.hdfs.RollingUpgradeRequestProto")
- proto.RegisterType((*RollingUpgradeInfoProto)(nil), "hadoop.hdfs.RollingUpgradeInfoProto")
- proto.RegisterType((*RollingUpgradeResponseProto)(nil), "hadoop.hdfs.RollingUpgradeResponseProto")
- proto.RegisterType((*ListCorruptFileBlocksRequestProto)(nil), "hadoop.hdfs.ListCorruptFileBlocksRequestProto")
- proto.RegisterType((*ListCorruptFileBlocksResponseProto)(nil), "hadoop.hdfs.ListCorruptFileBlocksResponseProto")
- proto.RegisterType((*MetaSaveRequestProto)(nil), "hadoop.hdfs.MetaSaveRequestProto")
- proto.RegisterType((*MetaSaveResponseProto)(nil), "hadoop.hdfs.MetaSaveResponseProto")
- proto.RegisterType((*GetFileInfoRequestProto)(nil), "hadoop.hdfs.GetFileInfoRequestProto")
- proto.RegisterType((*GetFileInfoResponseProto)(nil), "hadoop.hdfs.GetFileInfoResponseProto")
- proto.RegisterType((*IsFileClosedRequestProto)(nil), "hadoop.hdfs.IsFileClosedRequestProto")
- proto.RegisterType((*IsFileClosedResponseProto)(nil), "hadoop.hdfs.IsFileClosedResponseProto")
- proto.RegisterType((*CacheDirectiveInfoProto)(nil), "hadoop.hdfs.CacheDirectiveInfoProto")
- proto.RegisterType((*CacheDirectiveInfoExpirationProto)(nil), "hadoop.hdfs.CacheDirectiveInfoExpirationProto")
- proto.RegisterType((*CacheDirectiveStatsProto)(nil), "hadoop.hdfs.CacheDirectiveStatsProto")
- proto.RegisterType((*AddCacheDirectiveRequestProto)(nil), "hadoop.hdfs.AddCacheDirectiveRequestProto")
- proto.RegisterType((*AddCacheDirectiveResponseProto)(nil), "hadoop.hdfs.AddCacheDirectiveResponseProto")
- proto.RegisterType((*ModifyCacheDirectiveRequestProto)(nil), "hadoop.hdfs.ModifyCacheDirectiveRequestProto")
- proto.RegisterType((*ModifyCacheDirectiveResponseProto)(nil), "hadoop.hdfs.ModifyCacheDirectiveResponseProto")
- proto.RegisterType((*RemoveCacheDirectiveRequestProto)(nil), "hadoop.hdfs.RemoveCacheDirectiveRequestProto")
- proto.RegisterType((*RemoveCacheDirectiveResponseProto)(nil), "hadoop.hdfs.RemoveCacheDirectiveResponseProto")
- proto.RegisterType((*ListCacheDirectivesRequestProto)(nil), "hadoop.hdfs.ListCacheDirectivesRequestProto")
- proto.RegisterType((*CacheDirectiveEntryProto)(nil), "hadoop.hdfs.CacheDirectiveEntryProto")
- proto.RegisterType((*ListCacheDirectivesResponseProto)(nil), "hadoop.hdfs.ListCacheDirectivesResponseProto")
- proto.RegisterType((*CachePoolInfoProto)(nil), "hadoop.hdfs.CachePoolInfoProto")
- proto.RegisterType((*CachePoolStatsProto)(nil), "hadoop.hdfs.CachePoolStatsProto")
- proto.RegisterType((*AddCachePoolRequestProto)(nil), "hadoop.hdfs.AddCachePoolRequestProto")
- proto.RegisterType((*AddCachePoolResponseProto)(nil), "hadoop.hdfs.AddCachePoolResponseProto")
- proto.RegisterType((*ModifyCachePoolRequestProto)(nil), "hadoop.hdfs.ModifyCachePoolRequestProto")
- proto.RegisterType((*ModifyCachePoolResponseProto)(nil), "hadoop.hdfs.ModifyCachePoolResponseProto")
- proto.RegisterType((*RemoveCachePoolRequestProto)(nil), "hadoop.hdfs.RemoveCachePoolRequestProto")
- proto.RegisterType((*RemoveCachePoolResponseProto)(nil), "hadoop.hdfs.RemoveCachePoolResponseProto")
- proto.RegisterType((*ListCachePoolsRequestProto)(nil), "hadoop.hdfs.ListCachePoolsRequestProto")
- proto.RegisterType((*ListCachePoolsResponseProto)(nil), "hadoop.hdfs.ListCachePoolsResponseProto")
- proto.RegisterType((*CachePoolEntryProto)(nil), "hadoop.hdfs.CachePoolEntryProto")
- proto.RegisterType((*GetFileLinkInfoRequestProto)(nil), "hadoop.hdfs.GetFileLinkInfoRequestProto")
- proto.RegisterType((*GetFileLinkInfoResponseProto)(nil), "hadoop.hdfs.GetFileLinkInfoResponseProto")
- proto.RegisterType((*GetContentSummaryRequestProto)(nil), "hadoop.hdfs.GetContentSummaryRequestProto")
- proto.RegisterType((*GetContentSummaryResponseProto)(nil), "hadoop.hdfs.GetContentSummaryResponseProto")
- proto.RegisterType((*GetQuotaUsageRequestProto)(nil), "hadoop.hdfs.GetQuotaUsageRequestProto")
- proto.RegisterType((*GetQuotaUsageResponseProto)(nil), "hadoop.hdfs.GetQuotaUsageResponseProto")
- proto.RegisterType((*SetQuotaRequestProto)(nil), "hadoop.hdfs.SetQuotaRequestProto")
- proto.RegisterType((*SetQuotaResponseProto)(nil), "hadoop.hdfs.SetQuotaResponseProto")
- proto.RegisterType((*FsyncRequestProto)(nil), "hadoop.hdfs.FsyncRequestProto")
- proto.RegisterType((*FsyncResponseProto)(nil), "hadoop.hdfs.FsyncResponseProto")
- proto.RegisterType((*SetTimesRequestProto)(nil), "hadoop.hdfs.SetTimesRequestProto")
- proto.RegisterType((*SetTimesResponseProto)(nil), "hadoop.hdfs.SetTimesResponseProto")
- proto.RegisterType((*CreateSymlinkRequestProto)(nil), "hadoop.hdfs.CreateSymlinkRequestProto")
- proto.RegisterType((*CreateSymlinkResponseProto)(nil), "hadoop.hdfs.CreateSymlinkResponseProto")
- proto.RegisterType((*GetLinkTargetRequestProto)(nil), "hadoop.hdfs.GetLinkTargetRequestProto")
- proto.RegisterType((*GetLinkTargetResponseProto)(nil), "hadoop.hdfs.GetLinkTargetResponseProto")
- proto.RegisterType((*UpdateBlockForPipelineRequestProto)(nil), "hadoop.hdfs.UpdateBlockForPipelineRequestProto")
- proto.RegisterType((*UpdateBlockForPipelineResponseProto)(nil), "hadoop.hdfs.UpdateBlockForPipelineResponseProto")
- proto.RegisterType((*UpdatePipelineRequestProto)(nil), "hadoop.hdfs.UpdatePipelineRequestProto")
- proto.RegisterType((*UpdatePipelineResponseProto)(nil), "hadoop.hdfs.UpdatePipelineResponseProto")
- proto.RegisterType((*SetBalancerBandwidthRequestProto)(nil), "hadoop.hdfs.SetBalancerBandwidthRequestProto")
- proto.RegisterType((*SetBalancerBandwidthResponseProto)(nil), "hadoop.hdfs.SetBalancerBandwidthResponseProto")
- proto.RegisterType((*GetDataEncryptionKeyRequestProto)(nil), "hadoop.hdfs.GetDataEncryptionKeyRequestProto")
- proto.RegisterType((*GetDataEncryptionKeyResponseProto)(nil), "hadoop.hdfs.GetDataEncryptionKeyResponseProto")
- proto.RegisterType((*CreateSnapshotRequestProto)(nil), "hadoop.hdfs.CreateSnapshotRequestProto")
- proto.RegisterType((*CreateSnapshotResponseProto)(nil), "hadoop.hdfs.CreateSnapshotResponseProto")
- proto.RegisterType((*RenameSnapshotRequestProto)(nil), "hadoop.hdfs.RenameSnapshotRequestProto")
- proto.RegisterType((*RenameSnapshotResponseProto)(nil), "hadoop.hdfs.RenameSnapshotResponseProto")
- proto.RegisterType((*AllowSnapshotRequestProto)(nil), "hadoop.hdfs.AllowSnapshotRequestProto")
- proto.RegisterType((*AllowSnapshotResponseProto)(nil), "hadoop.hdfs.AllowSnapshotResponseProto")
- proto.RegisterType((*DisallowSnapshotRequestProto)(nil), "hadoop.hdfs.DisallowSnapshotRequestProto")
- proto.RegisterType((*DisallowSnapshotResponseProto)(nil), "hadoop.hdfs.DisallowSnapshotResponseProto")
- proto.RegisterType((*DeleteSnapshotRequestProto)(nil), "hadoop.hdfs.DeleteSnapshotRequestProto")
- proto.RegisterType((*DeleteSnapshotResponseProto)(nil), "hadoop.hdfs.DeleteSnapshotResponseProto")
- proto.RegisterType((*CheckAccessRequestProto)(nil), "hadoop.hdfs.CheckAccessRequestProto")
- proto.RegisterType((*CheckAccessResponseProto)(nil), "hadoop.hdfs.CheckAccessResponseProto")
- proto.RegisterType((*GetCurrentEditLogTxidRequestProto)(nil), "hadoop.hdfs.GetCurrentEditLogTxidRequestProto")
- proto.RegisterType((*GetCurrentEditLogTxidResponseProto)(nil), "hadoop.hdfs.GetCurrentEditLogTxidResponseProto")
- proto.RegisterType((*GetEditsFromTxidRequestProto)(nil), "hadoop.hdfs.GetEditsFromTxidRequestProto")
- proto.RegisterType((*GetEditsFromTxidResponseProto)(nil), "hadoop.hdfs.GetEditsFromTxidResponseProto")
- proto.RegisterEnum("hadoop.hdfs.CreateFlagProto", CreateFlagProto_name, CreateFlagProto_value)
- proto.RegisterEnum("hadoop.hdfs.DatanodeReportTypeProto", DatanodeReportTypeProto_name, DatanodeReportTypeProto_value)
- proto.RegisterEnum("hadoop.hdfs.SafeModeActionProto", SafeModeActionProto_name, SafeModeActionProto_value)
- proto.RegisterEnum("hadoop.hdfs.RollingUpgradeActionProto", RollingUpgradeActionProto_name, RollingUpgradeActionProto_value)
- proto.RegisterEnum("hadoop.hdfs.CacheFlagProto", CacheFlagProto_name, CacheFlagProto_value)
-}
-
-func init() { proto.RegisterFile("ClientNamenodeProtocol.proto", fileDescriptor4) }
-
-var fileDescriptor4 = []byte{
- // 5410 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5c, 0x5b, 0x73, 0xdc, 0x46,
- 0x76, 0xae, 0x19, 0x0e, 0x29, 0xf2, 0x48, 0xa2, 0xc6, 0x10, 0x29, 0x8e, 0x86, 0x94, 0x34, 0x82,
- 0x2e, 0xa6, 0xb5, 0x36, 0x65, 0xd3, 0x5e, 0x97, 0x22, 0x3b, 0xeb, 0x1d, 0x91, 0x43, 0x2e, 0x57,
- 0x14, 0x49, 0x63, 0x28, 0x6b, 0xad, 0x5d, 0x17, 0x17, 0x02, 0x7a, 0x86, 0x08, 0x31, 0xc0, 0x04,
- 0xc0, 0xf0, 0xe2, 0xdd, 0xaa, 0xd4, 0xee, 0x43, 0xe2, 0xaa, 0x54, 0xa5, 0x92, 0xaa, 0x3c, 0xe4,
- 0x31, 0x2f, 0x79, 0xc8, 0xcf, 0xc8, 0xed, 0x07, 0xe4, 0x27, 0xe4, 0x3d, 0x7f, 0x20, 0x6f, 0xa9,
- 0xbe, 0x60, 0xd0, 0x37, 0x00, 0x63, 0xcb, 0xa9, 0x3c, 0x71, 0x70, 0xfa, 0x9c, 0xd3, 0xa7, 0x6f,
- 0xa7, 0x4f, 0xf7, 0xf9, 0x9a, 0xb0, 0xb2, 0xe1, 0x7b, 0x28, 0x48, 0xf6, 0xec, 0x01, 0x0a, 0x42,
- 0x17, 0x1d, 0x44, 0x61, 0x12, 0x3a, 0xa1, 0xbf, 0x36, 0xc4, 0x3f, 0x8c, 0xcb, 0xc7, 0xb6, 0x1b,
- 0x86, 0xc3, 0xb5, 0x63, 0xb7, 0x17, 0x37, 0xe7, 0xbb, 0xc8, 0x19, 0x45, 0x5e, 0x72, 0x41, 0x0b,
- 0x9b, 0x80, 0xa9, 0xec, 0xf7, 0x9c, 0xed, 0x30, 0x99, 0xe6, 0xe5, 0x73, 0x3b, 0x49, 0x22, 0xf6,
- 0x51, 0x47, 0x81, 0x13, 0x5d, 0x0c, 0x13, 0x2f, 0x0c, 0x18, 0xe5, 0xaa, 0x17, 0x84, 0x89, 0xd7,
- 0x4b, 0x95, 0x5c, 0x47, 0x91, 0x1d, 0x8f, 0x22, 0xe4, 0x84, 0xae, 0x17, 0xf4, 0x29, 0xd1, 0xb4,
- 0xe1, 0xd6, 0x36, 0x4a, 0x9e, 0xf9, 0xa1, 0x73, 0xb2, 0x1b, 0x3a, 0x36, 0x96, 0x8e, 0x2d, 0xf4,
- 0xe7, 0x23, 0x14, 0x27, 0xc4, 0x40, 0xa3, 0x0e, 0x53, 0x71, 0xe4, 0x34, 0x2a, 0xad, 0xea, 0xea,
- 0x9c, 0x85, 0x7f, 0x1a, 0x37, 0x60, 0x26, 0xec, 0xf5, 0x62, 0x94, 0x34, 0xaa, 0xad, 0xea, 0x6a,
- 0xcd, 0x62, 0x5f, 0x98, 0xee, 0xa3, 0xa0, 0x9f, 0x1c, 0x37, 0xa6, 0x28, 0x9d, 0x7e, 0x99, 0x47,
- 0x70, 0x5b, 0x53, 0x45, 0x3c, 0x0c, 0x83, 0x98, 0x76, 0x82, 0xf1, 0xa7, 0x30, 0xe7, 0xa7, 0x25,
- 0x8d, 0x4a, 0xab, 0xb2, 0x7a, 0x79, 0xfd, 0xce, 0x1a, 0xd7, 0x1f, 0x6b, 0x44, 0x0e, 0xb9, 0x44,
- 0x47, 0x4c, 0x64, 0xac, 0x4c, 0xc2, 0xbc, 0x43, 0xda, 0xd0, 0x45, 0xd1, 0x29, 0x8a, 0x36, 0x51,
- 0xcf, 0x1e, 0xf9, 0x89, 0xd0, 0x06, 0xd3, 0x27, 0x16, 0xc8, 0x0c, 0xbc, 0x05, 0xbf, 0x84, 0xf9,
- 0x58, 0x28, 0x26, 0x0d, 0xbe, 0xbc, 0x6e, 0x0a, 0x66, 0x6c, 0xc5, 0xa2, 0x0e, 0x6a, 0x89, 0x24,
- 0x69, 0xfe, 0x57, 0x15, 0x8c, 0x8d, 0x08, 0xd9, 0x09, 0x2a, 0xe9, 0xc8, 0x4f, 0x61, 0x66, 0x60,
- 0xc7, 0x27, 0xc8, 0x25, 0x1d, 0x79, 0x79, 0xfd, 0xb6, 0x54, 0xd9, 0x01, 0x8a, 0x06, 0x5e, 0x1c,
- 0x7b, 0x61, 0x40, 0x2b, 0x62, 0xdc, 0xc6, 0x6d, 0x00, 0x67, 0x3c, 0x95, 0x48, 0x67, 0xcf, 0x59,
- 0x1c, 0x85, 0x94, 0x93, 0xfa, 0xb7, 0x7c, 0xbb, 0xdf, 0xa8, 0xb5, 0xaa, 0xab, 0x57, 0x2d, 0x8e,
- 0x62, 0x98, 0x70, 0x85, 0x7e, 0x1d, 0xd8, 0x11, 0x0a, 0x92, 0xc6, 0x74, 0xab, 0xba, 0x3a, 0x6b,
- 0x09, 0x34, 0xa3, 0x05, 0x97, 0x23, 0x34, 0xf4, 0x3d, 0xda, 0xc7, 0x8d, 0x19, 0xa2, 0x84, 0x27,
- 0x19, 0x2b, 0x30, 0xf7, 0x06, 0x8f, 0x47, 0xd7, 0xfb, 0x16, 0x35, 0x2e, 0x91, 0x11, 0xcf, 0x08,
- 0xc6, 0x37, 0xb0, 0x48, 0x66, 0x63, 0x98, 0x4e, 0xf3, 0xaf, 0x50, 0x84, 0x5b, 0xd2, 0x98, 0x6d,
- 0x4d, 0xad, 0xce, 0xaf, 0xbf, 0x2b, 0x34, 0x75, 0x43, 0xc7, 0x49, 0xdb, 0xac, 0xd7, 0x62, 0x6e,
- 0xc3, 0xf5, 0xb4, 0x8b, 0xf9, 0x61, 0xfc, 0x10, 0xaa, 0xbd, 0x74, 0x06, 0xb5, 0x84, 0x2a, 0x7e,
- 0xe1, 0xf6, 0xe2, 0x2d, 0xcf, 0x47, 0xdd, 0xc4, 0x4e, 0x46, 0x6c, 0xe0, 0xaa, 0xbd, 0xd8, 0x7c,
- 0x0d, 0x46, 0x7b, 0x38, 0x44, 0x81, 0x5b, 0x32, 0x56, 0x62, 0x9f, 0x57, 0x95, 0x3e, 0x37, 0xa0,
- 0xd6, 0xc3, 0xbd, 0x3d, 0xd5, 0xaa, 0xac, 0x5e, 0xb5, 0xc8, 0x6f, 0xf3, 0x0f, 0x15, 0xb8, 0x9e,
- 0x2a, 0xe7, 0xad, 0xfc, 0x04, 0xa6, 0x49, 0x47, 0x31, 0x43, 0x6f, 0xe7, 0x4e, 0x75, 0x6a, 0x26,
- 0x65, 0x36, 0x3e, 0x81, 0x5a, 0x9c, 0xd8, 0x78, 0xd1, 0x4d, 0xd6, 0x3a, 0xc2, 0x6d, 0x1e, 0x40,
- 0xb3, 0x8b, 0x12, 0x2b, 0x1b, 0xb7, 0x92, 0x76, 0x4a, 0xe3, 0x5e, 0x55, 0xc6, 0xdd, 0xfc, 0x29,
- 0x2c, 0xcb, 0x1a, 0xf9, 0xc6, 0xdd, 0x80, 0x99, 0x08, 0xc5, 0x23, 0x3f, 0x21, 0x5a, 0x67, 0x2d,
- 0xf6, 0x65, 0x1e, 0xc0, 0x4a, 0x17, 0x25, 0xdd, 0x24, 0x8c, 0xec, 0x3e, 0x3a, 0x08, 0x7d, 0xcf,
- 0xb9, 0x28, 0xef, 0xf2, 0x21, 0xe1, 0xe3, 0xbb, 0x3c, 0xa3, 0xe0, 0x65, 0xaf, 0x6a, 0xe4, 0x4c,
- 0x31, 0xd7, 0xe1, 0xf6, 0xcb, 0x20, 0xfe, 0x5e, 0x95, 0x9a, 0x77, 0xe1, 0x8e, 0x4e, 0x46, 0x54,
- 0xbb, 0xb2, 0x5d, 0xa4, 0xd4, 0x80, 0xda, 0xd0, 0x4e, 0x8e, 0x99, 0x56, 0xf2, 0xdb, 0x3c, 0xa1,
- 0x2e, 0x2a, 0x57, 0xa9, 0xf1, 0x4b, 0xb8, 0x1a, 0xf3, 0xa5, 0xcc, 0xff, 0xdc, 0x17, 0x86, 0x99,
- 0x4c, 0x0a, 0x41, 0x09, 0x1d, 0x6a, 0x51, 0xd4, 0x6c, 0x51, 0x77, 0xc7, 0xd1, 0x3c, 0x24, 0x3a,
- 0x44, 0x07, 0xee, 0xe8, 0x38, 0x78, 0x83, 0x7e, 0x0e, 0xb3, 0x43, 0x56, 0xd0, 0xa8, 0xb4, 0xa6,
- 0x26, 0xb6, 0x65, 0x2c, 0x65, 0x0e, 0xe0, 0x66, 0x17, 0x25, 0x99, 0x13, 0x2b, 0x19, 0xee, 0x9f,
- 0x01, 0x0c, 0xc7, 0xbc, 0x13, 0x7a, 0x44, 0x4e, 0xc2, 0x5c, 0x21, 0x33, 0x9d, 0xaf, 0x8e, 0x1f,
- 0xb4, 0x37, 0xb0, 0xd0, 0x45, 0xc9, 0xfe, 0x59, 0x80, 0xa2, 0x12, 0x3b, 0x9a, 0x30, 0x3b, 0x8a,
- 0x51, 0x14, 0xd0, 0x49, 0x57, 0x59, 0x9d, 0xb3, 0xc6, 0xdf, 0xd8, 0xe7, 0xf5, 0xa3, 0x70, 0x34,
- 0x0c, 0xa8, 0xe3, 0xc5, 0x85, 0x19, 0xc1, 0x5c, 0x82, 0xc5, 0xac, 0x0e, 0xbe, 0xf2, 0xbf, 0xa9,
- 0x40, 0xa3, 0xfd, 0xc6, 0x0e, 0xdc, 0x30, 0x20, 0xdd, 0x26, 0x58, 0xf0, 0x01, 0x54, 0xde, 0xb0,
- 0xd1, 0x16, 0x37, 0xbd, 0xce, 0x79, 0x82, 0x02, 0x57, 0x70, 0x05, 0x95, 0x37, 0xa9, 0xc1, 0x55,
- 0x61, 0x3f, 0x3e, 0x0e, 0x7d, 0x17, 0x45, 0x6c, 0x2b, 0x60, 0x5f, 0xc6, 0x4d, 0x98, 0xe9, 0x79,
- 0x3e, 0xda, 0x71, 0x1b, 0xb5, 0x56, 0x65, 0xb5, 0xf6, 0xb4, 0xf2, 0xa1, 0xc5, 0x08, 0xe6, 0x32,
- 0xdc, 0x14, 0xed, 0xe1, 0xad, 0xfd, 0xae, 0x0a, 0x0b, 0x6d, 0xd7, 0x55, 0x2d, 0xfd, 0xfe, 0x5e,
- 0xf1, 0x33, 0x98, 0x1d, 0x46, 0xe8, 0xd4, 0x0b, 0x47, 0x31, 0xe9, 0xae, 0x09, 0x9a, 0x38, 0x16,
- 0x30, 0x9e, 0xc1, 0x15, 0x74, 0xee, 0xf8, 0x23, 0x17, 0xed, 0x85, 0x2e, 0x8a, 0x1b, 0x35, 0x32,
- 0x0b, 0xc5, 0x29, 0xb1, 0x69, 0x27, 0x36, 0x0e, 0xa6, 0x76, 0x82, 0x1e, 0xdd, 0x23, 0x2c, 0x41,
- 0x86, 0xeb, 0x83, 0x69, 0xa9, 0x0f, 0xf0, 0x2e, 0xd8, 0xb3, 0x4f, 0xc3, 0x08, 0xb9, 0x54, 0xfd,
- 0x4c, 0x6b, 0x6a, 0x75, 0xce, 0x12, 0x68, 0xe6, 0x0b, 0x58, 0xcc, 0x7a, 0x22, 0xc7, 0x85, 0x57,
- 0x27, 0x76, 0xe1, 0xe6, 0x1f, 0xa6, 0xe0, 0xee, 0x36, 0x4a, 0xda, 0xae, 0xeb, 0x61, 0xc7, 0x69,
- 0xfb, 0xa9, 0xf9, 0x25, 0xdd, 0xfc, 0x11, 0x4c, 0xbd, 0xf1, 0x4f, 0xd8, 0x9a, 0x28, 0xed, 0x41,
- 0xcc, 0x6b, 0x7c, 0x0e, 0x73, 0xe8, 0xdc, 0x8b, 0x13, 0x2f, 0xe8, 0xe3, 0xae, 0x9f, 0xa4, 0xe7,
- 0x32, 0x01, 0xe3, 0x29, 0xcc, 0xb2, 0x6e, 0x9c, 0xb4, 0xdb, 0xc7, 0xfc, 0xc6, 0x1a, 0x18, 0xc1,
- 0x68, 0x90, 0xb5, 0x91, 0xf6, 0xee, 0x34, 0xd9, 0x48, 0x34, 0x25, 0xd2, 0x1c, 0x9a, 0x51, 0xe6,
- 0xd0, 0x3a, 0x2c, 0xa4, 0x86, 0x31, 0x77, 0xf3, 0x72, 0xe4, 0xb9, 0x71, 0xe3, 0x12, 0x19, 0x2f,
- 0x6d, 0x19, 0x37, 0xec, 0xb3, 0xf2, 0xd4, 0x7f, 0x0d, 0x66, 0xce, 0x10, 0xbc, 0xfd, 0xf8, 0xfe,
- 0x43, 0x05, 0x16, 0x36, 0xc2, 0xc1, 0xd0, 0x47, 0xa5, 0xb1, 0x5f, 0xd9, 0xca, 0xf9, 0x18, 0x6a,
- 0xbe, 0x1d, 0x27, 0x93, 0xae, 0x1a, 0xc2, 0x5c, 0xb4, 0xe2, 0x1f, 0xc3, 0x62, 0x66, 0xd9, 0x24,
- 0xfb, 0xf5, 0x4b, 0x58, 0xb6, 0xd0, 0x30, 0x8c, 0x92, 0x67, 0x36, 0x8b, 0xbb, 0x85, 0x16, 0x7d,
- 0x0a, 0x33, 0xa4, 0xcd, 0xe9, 0xe6, 0x50, 0xd6, 0x43, 0x8c, 0xdb, 0xbc, 0x0d, 0x2b, 0x8a, 0x5a,
- 0xde, 0xf9, 0x3c, 0x05, 0x63, 0x23, 0x0c, 0x1c, 0x3b, 0x91, 0xfb, 0x2f, 0x89, 0xfa, 0x69, 0xff,
- 0x25, 0x51, 0x1f, 0x6f, 0xb2, 0x71, 0xe4, 0xc4, 0x8d, 0x2a, 0x99, 0x05, 0xe4, 0xb7, 0xb9, 0x08,
- 0xd7, 0x53, 0x59, 0x5e, 0x65, 0x0f, 0x16, 0x0e, 0xa3, 0x11, 0xa6, 0x97, 0x0d, 0xca, 0x0a, 0xcc,
- 0x05, 0xe8, 0x6c, 0x97, 0x1e, 0x62, 0xe8, 0xe1, 0x26, 0x23, 0x94, 0x85, 0xdd, 0xb8, 0x8b, 0xb3,
- 0x7a, 0x26, 0xe9, 0xe2, 0x27, 0x60, 0x58, 0x08, 0xef, 0x1c, 0x25, 0x66, 0xd5, 0x61, 0xca, 0x8d,
- 0x93, 0xd4, 0xe5, 0xbb, 0x71, 0x62, 0x7e, 0x00, 0xd7, 0x53, 0xc9, 0x49, 0x2a, 0x3a, 0x4a, 0xd9,
- 0xd7, 0xbf, 0x6f, 0x4d, 0xc6, 0x7d, 0xb8, 0x1a, 0x9e, 0xa2, 0xe8, 0x2c, 0xf2, 0x12, 0xb4, 0x89,
- 0xc8, 0x84, 0xc4, 0x9a, 0x45, 0xa2, 0x79, 0x03, 0x16, 0xc6, 0x15, 0xf0, 0x5d, 0xbf, 0x09, 0xc6,
- 0x26, 0x9a, 0x60, 0x35, 0xac, 0xc0, 0x5c, 0x84, 0x4f, 0xbc, 0xb1, 0x77, 0x4a, 0x17, 0xc3, 0xac,
- 0x95, 0x11, 0x70, 0x6b, 0x53, 0x2d, 0x93, 0xb4, 0xf6, 0x8f, 0x15, 0x30, 0x5e, 0x9c, 0xb8, 0x5e,
- 0x14, 0xff, 0x1f, 0x9d, 0xbf, 0xe4, 0xf3, 0xd3, 0x94, 0x7a, 0x7e, 0xc2, 0x36, 0xa7, 0x36, 0x4c,
- 0x62, 0x73, 0x00, 0x37, 0xb6, 0x51, 0xb2, 0x4b, 0x5d, 0x59, 0xb9, 0xeb, 0x88, 0x13, 0x3b, 0x4a,
- 0xda, 0xbd, 0x04, 0x45, 0xc4, 0xf4, 0x2b, 0x16, 0x47, 0xc1, 0xe6, 0x05, 0x08, 0xb9, 0xe9, 0x59,
- 0x3b, 0x35, 0x8f, 0xa7, 0x99, 0xaf, 0x60, 0x89, 0xaf, 0x8f, 0x37, 0xf1, 0x73, 0xb8, 0xe4, 0x7a,
- 0x11, 0x2e, 0x62, 0xe7, 0x13, 0xf1, 0x0c, 0xbc, 0xe9, 0x45, 0xc8, 0x49, 0xc2, 0xe8, 0x82, 0x09,
- 0xd3, 0xae, 0x49, 0x45, 0xcc, 0x55, 0x78, 0x88, 0x23, 0xcb, 0xc0, 0x1e, 0xc6, 0xc7, 0x61, 0x92,
- 0xd8, 0x6f, 0x7c, 0xb4, 0x49, 0x8b, 0xa4, 0x86, 0xe1, 0xa0, 0xe8, 0xdd, 0x22, 0x56, 0xde, 0x26,
- 0x07, 0x16, 0x62, 0x0d, 0x1f, 0x33, 0xf0, 0xb1, 0x60, 0xa0, 0xac, 0x50, 0x63, 0xad, 0x56, 0x99,
- 0xf9, 0xd7, 0x15, 0xb2, 0x3b, 0xa7, 0xf2, 0x9b, 0x5e, 0xaf, 0x47, 0x5d, 0x95, 0x30, 0x1e, 0x26,
- 0x5c, 0x49, 0xa5, 0xad, 0x30, 0x4c, 0xd8, 0xc0, 0x08, 0x34, 0x12, 0x5a, 0x44, 0xe1, 0x20, 0xd5,
- 0xc4, 0xd6, 0x93, 0x40, 0xc3, 0xa3, 0x98, 0x84, 0x63, 0x0e, 0xe6, 0x4d, 0x32, 0x8a, 0xf9, 0x67,
- 0x64, 0x9f, 0xd2, 0x19, 0xc3, 0x77, 0xcc, 0x26, 0x80, 0x3b, 0x2e, 0xd2, 0x9e, 0x19, 0x54, 0x0d,
- 0x2c, 0x74, 0xce, 0xe4, 0xcc, 0x27, 0x70, 0xc3, 0x42, 0xc4, 0xd1, 0xd9, 0xb1, 0xb8, 0x54, 0x45,
- 0x9f, 0x57, 0x51, 0x7c, 0xde, 0x4d, 0x58, 0xe2, 0x25, 0xf9, 0xb5, 0xbf, 0x0b, 0x0d, 0x0b, 0x39,
- 0xd8, 0x4f, 0xa8, 0x6a, 0xbf, 0xf7, 0x7e, 0x68, 0x7e, 0x0c, 0x37, 0x45, 0x6d, 0x93, 0xac, 0xaa,
- 0x9b, 0x64, 0x96, 0x6f, 0xc5, 0xf4, 0x58, 0x2c, 0xcc, 0xbe, 0xff, 0xa9, 0x72, 0x65, 0xd2, 0x22,
- 0x6d, 0xc2, 0xac, 0x63, 0x0f, 0x6d, 0xc7, 0x4b, 0xe8, 0x31, 0xac, 0x66, 0x8d, 0xbf, 0xf1, 0xbe,
- 0x33, 0x8a, 0x99, 0xc7, 0xa8, 0x59, 0xe4, 0x37, 0xf5, 0x5e, 0x03, 0xdb, 0x0b, 0xbc, 0xa0, 0xcf,
- 0xee, 0xbe, 0x32, 0x82, 0xf1, 0x1e, 0xd4, 0x47, 0x81, 0x8b, 0xa2, 0xa3, 0xf4, 0x10, 0x8d, 0x5c,
- 0x72, 0x27, 0x53, 0xb3, 0xae, 0x11, 0xba, 0x35, 0x26, 0x1b, 0x0f, 0x60, 0xde, 0x09, 0xa3, 0x68,
- 0x34, 0x4c, 0x8e, 0xd8, 0xe6, 0x3a, 0x4d, 0x18, 0xaf, 0x32, 0x2a, 0xdd, 0x30, 0x31, 0x1b, 0xf1,
- 0x4b, 0x41, 0x3f, 0x65, 0x9b, 0xa1, 0x6c, 0x8c, 0xca, 0xd8, 0x7e, 0x0a, 0x4b, 0x29, 0x1b, 0xae,
- 0xfa, 0x28, 0x0c, 0x50, 0xca, 0x7f, 0x09, 0x87, 0x07, 0xd6, 0x02, 0x2b, 0xc6, 0x16, 0xec, 0x07,
- 0x88, 0x89, 0xad, 0x42, 0x9d, 0x72, 0x1d, 0x79, 0xc1, 0x51, 0x6f, 0x94, 0x8c, 0x22, 0x44, 0xa3,
- 0x28, 0x6b, 0x9e, 0xd2, 0x77, 0x82, 0x2d, 0x42, 0x35, 0x3e, 0x85, 0xa5, 0x21, 0x0a, 0x5c, 0x5c,
- 0x81, 0x8b, 0xfd, 0xb3, 0x17, 0x06, 0x69, 0x05, 0x73, 0x44, 0x60, 0x91, 0x15, 0x6f, 0xb2, 0x52,
- 0x5a, 0x83, 0xf9, 0x35, 0x39, 0x0c, 0x67, 0x81, 0x97, 0xb2, 0xc6, 0x9e, 0x40, 0x2d, 0xb9, 0x18,
- 0xd2, 0xf9, 0x36, 0x2f, 0xcd, 0x67, 0x51, 0xec, 0xf0, 0x62, 0x88, 0x58, 0x04, 0x84, 0x25, 0xcc,
- 0x03, 0x72, 0xf4, 0x95, 0x55, 0xf3, 0x83, 0xbb, 0x06, 0x55, 0xd7, 0xd3, 0x06, 0x2d, 0x6a, 0x50,
- 0x5b, 0x75, 0x3d, 0xf3, 0xb7, 0x70, 0x9f, 0xd3, 0xc8, 0xa2, 0xcc, 0x1f, 0xd5, 0xe6, 0x7f, 0xae,
- 0x40, 0x53, 0xab, 0x9f, 0x2a, 0x7e, 0x06, 0x57, 0x5c, 0xce, 0x32, 0x6d, 0x44, 0xaa, 0x39, 0x06,
- 0xf1, 0x32, 0xc6, 0x36, 0xcc, 0xc7, 0xbc, 0x66, 0x1a, 0x37, 0xc9, 0x71, 0xa5, 0x5a, 0xb9, 0x25,
- 0x89, 0x99, 0xdf, 0x55, 0xe0, 0x41, 0x7e, 0x77, 0xf0, 0xfd, 0x7c, 0x04, 0x37, 0x5c, 0x1d, 0x57,
- 0x1a, 0x30, 0xbe, 0xab, 0x6d, 0x80, 0xc6, 0x84, 0x1c, 0x35, 0xe6, 0x17, 0xc4, 0x5b, 0x1f, 0x44,
- 0xa8, 0x87, 0xa2, 0x88, 0xc5, 0x9a, 0x5d, 0xef, 0x5b, 0xd1, 0xd1, 0x34, 0x61, 0x16, 0x07, 0xc0,
- 0x41, 0xe6, 0xbd, 0xc6, 0xdf, 0xe6, 0x53, 0xe2, 0x61, 0x75, 0x0a, 0xf8, 0x76, 0x2c, 0xc0, 0xf4,
- 0x9b, 0xd8, 0xfb, 0x16, 0x31, 0x4f, 0x40, 0x3f, 0xcc, 0x04, 0x96, 0xba, 0x28, 0xe9, 0xda, 0x3d,
- 0xf4, 0x42, 0x3e, 0xbe, 0x3d, 0x81, 0x19, 0xdb, 0x21, 0x1b, 0x2f, 0x9d, 0x0a, 0xe2, 0x4d, 0x5d,
- 0x2a, 0xd2, 0x26, 0x2c, 0x2c, 0xae, 0xa0, 0xfc, 0xc6, 0x1d, 0xb8, 0xe4, 0x1c, 0x23, 0x87, 0x06,
- 0x24, 0x95, 0xd5, 0xd9, 0xa7, 0xd3, 0x3d, 0xdb, 0x8f, 0x91, 0x95, 0x52, 0xcd, 0x75, 0x68, 0x08,
- 0xb5, 0x4e, 0xe2, 0x03, 0x5f, 0xc1, 0xcd, 0xae, 0x7d, 0x8a, 0xb0, 0x13, 0x8d, 0x87, 0xb6, 0x23,
- 0xda, 0x7a, 0x17, 0x20, 0xf1, 0x06, 0xe8, 0x95, 0x17, 0xb8, 0xe1, 0x19, 0xd9, 0x4d, 0xc9, 0xa1,
- 0x81, 0x23, 0x1a, 0x4b, 0x30, 0x9d, 0x9c, 0x6f, 0xdb, 0x43, 0x62, 0x12, 0x29, 0xa5, 0xdf, 0xe6,
- 0x13, 0x68, 0x4a, 0x8a, 0x45, 0x1f, 0x3a, 0x1d, 0xdb, 0xa7, 0xc8, 0x25, 0x4a, 0x67, 0x9f, 0xd6,
- 0x92, 0x68, 0x84, 0x2c, 0x4a, 0x32, 0x97, 0x60, 0xd1, 0x0a, 0x7d, 0xbf, 0xe3, 0x7a, 0xd2, 0x3d,
- 0xfd, 0xcf, 0xe1, 0x06, 0x57, 0xc0, 0xab, 0x7b, 0x08, 0xf3, 0x01, 0x3a, 0xeb, 0xa2, 0xfe, 0x00,
- 0x05, 0xc9, 0xe1, 0xf9, 0x8e, 0xcb, 0x86, 0x43, 0xa2, 0x9a, 0x9f, 0x40, 0xcb, 0x42, 0x78, 0xce,
- 0xa2, 0x2d, 0xdb, 0xf3, 0x91, 0x3b, 0x9e, 0x33, 0xe2, 0xe6, 0x63, 0x67, 0x87, 0x09, 0x3b, 0xea,
- 0x9b, 0x9f, 0xc1, 0x5d, 0xbd, 0xd4, 0x24, 0x1d, 0xdc, 0xc4, 0xfb, 0x5c, 0x2f, 0x42, 0xf1, 0x31,
- 0x39, 0xcf, 0x0a, 0x0d, 0x5a, 0xc6, 0xbb, 0x16, 0x5f, 0xc6, 0x6f, 0x90, 0xb7, 0x60, 0x79, 0xcb,
- 0x0b, 0x6c, 0xdf, 0xfb, 0x16, 0xbd, 0x1c, 0xf6, 0x23, 0x5b, 0x9c, 0x47, 0xf8, 0xa4, 0xa4, 0x14,
- 0xf3, 0xe2, 0xbf, 0x81, 0x26, 0xee, 0x2c, 0x2f, 0xe8, 0x6b, 0xa4, 0x8d, 0x9f, 0x49, 0xb3, 0xf0,
- 0xa1, 0x30, 0x0b, 0x45, 0x41, 0xcd, 0x5c, 0x34, 0xff, 0xb3, 0x02, 0x4b, 0x22, 0xd7, 0xd8, 0xb7,
- 0x60, 0xdd, 0x31, 0xd9, 0x51, 0x99, 0x2f, 0x2a, 0xd2, 0xcd, 0xdf, 0x48, 0x33, 0x29, 0xbc, 0x5f,
- 0x92, 0x70, 0xf5, 0xd0, 0x63, 0x5b, 0x7d, 0xcd, 0xca, 0x08, 0x24, 0x78, 0x62, 0xed, 0x26, 0x0c,
- 0x74, 0x43, 0x15, 0x68, 0xc6, 0x27, 0xb0, 0x48, 0xa3, 0x6d, 0x17, 0xd7, 0xf6, 0xc6, 0x76, 0x4e,
- 0x76, 0x06, 0x76, 0x9f, 0x5c, 0x56, 0xe0, 0xa1, 0xd1, 0x17, 0x9a, 0x31, 0x2c, 0xcb, 0x3d, 0xc6,
- 0x0f, 0xf0, 0x21, 0x18, 0x91, 0xd2, 0x62, 0x16, 0x62, 0xde, 0x2f, 0x68, 0x62, 0xe6, 0x74, 0x35,
- 0xf2, 0xe6, 0x3e, 0xdc, 0xc5, 0xd1, 0xe5, 0x06, 0xdd, 0xc1, 0xb7, 0x3c, 0x1f, 0x69, 0x4e, 0xd3,
- 0x9a, 0x2b, 0x63, 0x3c, 0xdf, 0x9c, 0x30, 0x3c, 0xf1, 0xd2, 0x5b, 0x48, 0xf6, 0x65, 0x3a, 0x60,
- 0xe6, 0x28, 0x14, 0x53, 0x6a, 0x97, 0x58, 0xd0, 0xc0, 0x06, 0xe9, 0x9e, 0x98, 0x71, 0x91, 0xa5,
- 0x59, 0x18, 0xcf, 0x64, 0xcc, 0x75, 0x58, 0x78, 0x81, 0x12, 0x1b, 0x2f, 0xf0, 0x89, 0xfd, 0xe9,
- 0x12, 0x2c, 0x66, 0x32, 0xfc, 0x4c, 0xfd, 0x09, 0x0d, 0xb5, 0x3c, 0x9f, 0xf4, 0x48, 0xc9, 0x05,
- 0xfc, 0x2e, 0x34, 0x04, 0xe6, 0xb7, 0x4b, 0xef, 0xbc, 0x0f, 0x8d, 0x1d, 0x52, 0xb0, 0xe1, 0x87,
- 0x31, 0x2a, 0x49, 0xf2, 0xe0, 0x20, 0x53, 0xe4, 0x9e, 0x64, 0xfd, 0xff, 0x5b, 0x05, 0x96, 0x36,
- 0x6c, 0xe7, 0x98, 0x9d, 0x35, 0xbc, 0x53, 0x6e, 0xa5, 0xcc, 0x43, 0xd5, 0xa3, 0x2e, 0x70, 0xca,
- 0xaa, 0x7a, 0xee, 0x78, 0x9c, 0xe9, 0x88, 0xd2, 0x71, 0x96, 0x32, 0x2e, 0x34, 0x81, 0x24, 0x64,
- 0xda, 0xb0, 0x54, 0x18, 0xfa, 0xe4, 0x52, 0x07, 0x4b, 0x85, 0xa1, 0x6f, 0xec, 0x01, 0xa0, 0xf3,
- 0xa1, 0x17, 0x51, 0xa1, 0x69, 0xd2, 0x25, 0x6b, 0xe2, 0x10, 0x2b, 0x36, 0x75, 0xc6, 0x02, 0xec,
- 0x08, 0x90, 0x69, 0x30, 0x7f, 0x0d, 0x77, 0x4b, 0x05, 0x70, 0x17, 0x0c, 0x3c, 0xdf, 0xf7, 0xe8,
- 0xc2, 0x9f, 0xb2, 0xd8, 0x17, 0x0e, 0xde, 0xbd, 0xd8, 0x42, 0xbe, 0x9d, 0x64, 0xe7, 0x77, 0x8e,
- 0x62, 0xfe, 0x6b, 0x05, 0x1a, 0xa2, 0x76, 0x12, 0x75, 0x53, 0xa5, 0x2d, 0xb8, 0xfc, 0xe6, 0x22,
- 0x41, 0xf1, 0x1e, 0x42, 0x2e, 0x72, 0x99, 0x66, 0x9e, 0x34, 0xe6, 0x20, 0x2a, 0x68, 0xe8, 0x9d,
- 0x72, 0x50, 0x12, 0xe6, 0xc0, 0xd3, 0x30, 0xd5, 0x31, 0x45, 0x39, 0x38, 0xd2, 0x98, 0x83, 0xe9,
- 0xa8, 0x71, 0x1c, 0x4c, 0xc7, 0x6d, 0x80, 0x63, 0x3b, 0x26, 0x4d, 0x46, 0x2e, 0xcb, 0x89, 0x72,
- 0x14, 0xf3, 0x02, 0x6e, 0xb5, 0x5d, 0x57, 0x6c, 0x86, 0x1c, 0x01, 0x7a, 0x59, 0x80, 0x76, 0xbf,
- 0x64, 0x30, 0x58, 0x04, 0x88, 0x25, 0xc8, 0xe1, 0x07, 0x33, 0x6c, 0xf9, 0x76, 0x3f, 0x26, 0x93,
- 0xe3, 0xaa, 0xc5, 0x51, 0xcc, 0x0f, 0xe1, 0xb6, 0xa6, 0x6a, 0x7e, 0x72, 0xa6, 0x13, 0xad, 0x4a,
- 0x27, 0x9a, 0xf9, 0x7b, 0x68, 0xbd, 0x08, 0x5d, 0xaf, 0x77, 0xf1, 0xff, 0x62, 0xef, 0x3d, 0xb8,
- 0xab, 0xaf, 0x5d, 0x4c, 0xa3, 0xb5, 0x2c, 0x34, 0x08, 0x4f, 0x51, 0x81, 0x89, 0x72, 0xb3, 0xee,
- 0xe1, 0x8d, 0x5a, 0x27, 0xc3, 0x2b, 0x3e, 0x83, 0x3b, 0xc4, 0x41, 0x0a, 0x2c, 0xa2, 0xbf, 0xbd,
- 0x01, 0x33, 0xc3, 0x08, 0x9d, 0xee, 0xa4, 0xba, 0xd9, 0x97, 0xf1, 0x39, 0xb9, 0x40, 0x4d, 0xaf,
- 0x55, 0x26, 0xed, 0x14, 0x26, 0x63, 0xfe, 0x9d, 0x32, 0xcd, 0x3b, 0x41, 0x12, 0x5d, 0xbc, 0x6d,
- 0x6f, 0x7f, 0x06, 0xd3, 0x78, 0xe3, 0x8c, 0x99, 0x4d, 0x0f, 0x0a, 0x44, 0xb3, 0x65, 0x65, 0x51,
- 0x19, 0xf3, 0x2f, 0xa0, 0xa5, 0xed, 0x0c, 0x7e, 0xf2, 0xb4, 0x61, 0x16, 0xf9, 0x08, 0xc7, 0x50,
- 0x69, 0x70, 0x5e, 0x54, 0x47, 0xd6, 0x26, 0x6b, 0x2c, 0x66, 0x34, 0xe0, 0xd2, 0xb1, 0x1d, 0xbf,
- 0x08, 0xa3, 0x74, 0xf9, 0xa7, 0x9f, 0xe6, 0xbf, 0x57, 0xc0, 0x20, 0x0a, 0x0e, 0xc2, 0xd0, 0xcf,
- 0x3c, 0x63, 0x13, 0x66, 0xb1, 0x1f, 0x63, 0xd7, 0x0a, 0x24, 0xcb, 0x96, 0x7e, 0xe3, 0xf8, 0x20,
- 0x3c, 0x0b, 0x50, 0xb4, 0x97, 0xa5, 0xe0, 0x32, 0xc2, 0x38, 0x07, 0xb7, 0x27, 0xe7, 0xe0, 0xd2,
- 0x3c, 0xfc, 0x20, 0x74, 0x11, 0xf1, 0x95, 0xd3, 0x16, 0xf9, 0x8d, 0x43, 0x78, 0xdf, 0x1b, 0x78,
- 0x09, 0x71, 0x93, 0x53, 0x16, 0xfd, 0x30, 0xde, 0x87, 0x77, 0x06, 0xf6, 0x79, 0xea, 0xa3, 0xc8,
- 0x2a, 0xbf, 0x68, 0xcc, 0x10, 0x0e, 0xb5, 0xc0, 0xfc, 0x8f, 0x0a, 0x5c, 0x1f, 0x37, 0xe3, 0x47,
- 0xf6, 0x5e, 0x0f, 0x61, 0x9e, 0x7c, 0xee, 0x9f, 0xa2, 0x88, 0x1a, 0x4a, 0x1d, 0x98, 0x44, 0x95,
- 0xbd, 0x5c, 0xad, 0xd4, 0xcb, 0x4d, 0x2b, 0x5e, 0xce, 0xdc, 0x87, 0x46, 0xea, 0x4a, 0x70, 0x4b,
- 0x84, 0x55, 0xf1, 0xb1, 0x30, 0x45, 0xef, 0xa8, 0x73, 0x40, 0x18, 0x42, 0x3a, 0x3b, 0x49, 0x2a,
- 0x51, 0x50, 0xc8, 0x2f, 0x45, 0x0b, 0x96, 0x39, 0x47, 0xf0, 0xe3, 0x54, 0x78, 0x1b, 0x56, 0x14,
- 0x9d, 0x7c, 0x9d, 0x7f, 0x02, 0xcb, 0x9c, 0x8f, 0x50, 0xea, 0x14, 0x27, 0x5e, 0x95, 0x9f, 0x78,
- 0x34, 0x39, 0x21, 0x89, 0xf2, 0xaa, 0x7f, 0x0e, 0xcd, 0xf1, 0x62, 0xc2, 0xa5, 0xb1, 0x7c, 0x33,
- 0x88, 0xdd, 0xc8, 0x81, 0xa8, 0x5d, 0xa0, 0xe1, 0x10, 0x54, 0xd6, 0xc0, 0xaf, 0xc4, 0xa7, 0x70,
- 0x09, 0x05, 0x49, 0x94, 0xe5, 0xdc, 0x5b, 0xfa, 0x3e, 0xe1, 0xd6, 0x60, 0x2a, 0x50, 0xb0, 0x04,
- 0xff, 0xc8, 0xcf, 0x5d, 0xce, 0x25, 0xfd, 0x90, 0xee, 0x37, 0x3e, 0x15, 0xbd, 0x51, 0x8e, 0x81,
- 0xaa, 0x23, 0x7a, 0x0c, 0xcb, 0x2c, 0xae, 0xdb, 0xf5, 0x82, 0x93, 0x09, 0x02, 0xc1, 0x03, 0x02,
- 0xb3, 0x10, 0x05, 0xde, 0x2e, 0x18, 0xfc, 0x98, 0xdc, 0x3b, 0x6d, 0x84, 0x41, 0x82, 0x82, 0xa4,
- 0x3b, 0x1a, 0x0c, 0xec, 0xa8, 0x1c, 0xb9, 0xf1, 0x1b, 0x72, 0xa3, 0x24, 0x0b, 0x49, 0x83, 0x16,
- 0x53, 0x3a, 0xeb, 0x49, 0xa9, 0x4f, 0x04, 0x51, 0x36, 0x68, 0x4c, 0xc0, 0x7c, 0x0c, 0x37, 0xb7,
- 0x51, 0xf2, 0xe5, 0x28, 0x4c, 0xec, 0x97, 0xb1, 0x7c, 0x50, 0xd5, 0x99, 0x73, 0x00, 0x4d, 0x49,
- 0x80, 0x37, 0x65, 0x1d, 0xa6, 0x47, 0x98, 0xca, 0x0c, 0x59, 0x11, 0x0c, 0xc9, 0x84, 0xd8, 0xc0,
- 0x10, 0x56, 0xf3, 0x5f, 0x2a, 0x04, 0x1a, 0x41, 0x4a, 0x4b, 0x0f, 0x25, 0xf8, 0x1c, 0x9e, 0x1e,
- 0xf8, 0x89, 0x04, 0x3b, 0xbf, 0x49, 0x54, 0xec, 0x5c, 0xd9, 0xcd, 0x11, 0xc7, 0x4a, 0x4f, 0x72,
- 0x6a, 0x81, 0xf1, 0x05, 0x5c, 0x66, 0xc4, 0xc3, 0x8b, 0x21, 0xf5, 0xdd, 0xf3, 0xeb, 0xb7, 0x74,
- 0x77, 0x53, 0xd9, 0xdd, 0x19, 0x2f, 0xc1, 0x90, 0x17, 0xac, 0x09, 0xfc, 0x8a, 0xfd, 0xcb, 0x0a,
- 0xbc, 0xb3, 0x15, 0x5f, 0x04, 0x4e, 0x39, 0xa6, 0x91, 0x5e, 0x36, 0xb3, 0xab, 0x67, 0xf6, 0x65,
- 0xbc, 0x0f, 0xd7, 0x7c, 0x3b, 0x66, 0xe0, 0xc5, 0x14, 0xdc, 0x58, 0x59, 0x35, 0x9e, 0x56, 0x3f,
- 0xf8, 0xc8, 0x92, 0x8b, 0x8a, 0xf2, 0xaf, 0x0b, 0x60, 0x30, 0x3b, 0x78, 0xf3, 0x0e, 0x49, 0xd7,
- 0xe3, 0x23, 0x6d, 0x59, 0xae, 0x6a, 0x01, 0xa6, 0x07, 0x49, 0x76, 0x5e, 0xa6, 0x1f, 0x98, 0x6a,
- 0x27, 0xd9, 0x21, 0x99, 0x7e, 0xb0, 0xde, 0x60, 0x5a, 0xf9, 0xea, 0xfe, 0xa9, 0x02, 0x37, 0x29,
- 0x6c, 0xae, 0x7b, 0x31, 0xf0, 0xbd, 0xe0, 0x44, 0x0e, 0x8a, 0x12, 0x3b, 0xea, 0xa3, 0x34, 0xa7,
- 0xc1, 0xbe, 0xf0, 0x3c, 0xc0, 0xbc, 0xac, 0x67, 0xc8, 0x6f, 0xe3, 0x09, 0x49, 0x12, 0x1d, 0xa0,
- 0x68, 0x40, 0xaa, 0x2e, 0xcf, 0x9d, 0xa5, 0xec, 0x4a, 0xf2, 0xac, 0xa6, 0x49, 0x9e, 0xad, 0x40,
- 0x53, 0x32, 0x93, 0x6f, 0x05, 0x5d, 0x33, 0xd8, 0x29, 0x1c, 0x12, 0x03, 0x4b, 0xd7, 0xcc, 0xe7,
- 0x64, 0xcd, 0xf0, 0x02, 0xfc, 0x9a, 0xb9, 0x0d, 0x40, 0x1b, 0x7a, 0x40, 0xe5, 0x2a, 0x24, 0x11,
- 0x33, 0xa6, 0x98, 0xbf, 0x03, 0xf3, 0xe5, 0xd0, 0xb5, 0x13, 0x7a, 0x50, 0xde, 0x0a, 0xa3, 0x03,
- 0x6f, 0x88, 0x7c, 0x2f, 0x10, 0xd7, 0xea, 0x4f, 0x45, 0xc0, 0x40, 0x69, 0xc2, 0x9e, 0x81, 0xfa,
- 0xca, 0xd2, 0x1e, 0xbf, 0x86, 0x7b, 0x79, 0x95, 0xbf, 0x3d, 0x5c, 0xe1, 0x6f, 0xab, 0xd0, 0xa4,
- 0xda, 0xb5, 0x4d, 0x2a, 0xc9, 0xfd, 0x18, 0x9f, 0xc1, 0x6c, 0xe8, 0x53, 0xb5, 0x93, 0x42, 0x53,
- 0xc6, 0x02, 0x58, 0x38, 0x40, 0x67, 0x54, 0x78, 0x6a, 0x42, 0xe1, 0x54, 0xc0, 0x78, 0x42, 0x84,
- 0x79, 0x54, 0xd0, 0x8a, 0xfe, 0x3a, 0x7c, 0x33, 0x93, 0x1c, 0x83, 0x4d, 0x98, 0xdf, 0xd8, 0xd9,
- 0x8c, 0x1b, 0xd3, 0x04, 0x3c, 0xc0, 0x51, 0xcc, 0x5b, 0xb0, 0x2c, 0xf7, 0x88, 0x18, 0x00, 0xb4,
- 0xba, 0x28, 0x79, 0x66, 0xfb, 0x76, 0xe0, 0xa0, 0xe8, 0x99, 0x1d, 0xb8, 0x67, 0x9e, 0x9b, 0x1c,
- 0x0b, 0xdd, 0xb6, 0x02, 0x73, 0x6f, 0xd2, 0x02, 0x16, 0x0f, 0x66, 0x04, 0x7c, 0x82, 0xd1, 0x6b,
- 0xe0, 0xab, 0x31, 0xa1, 0xc5, 0x2e, 0xd9, 0x3b, 0x63, 0x4c, 0xf7, 0x73, 0x24, 0xec, 0x55, 0xe6,
- 0x29, 0xb9, 0xfe, 0xd6, 0xf0, 0xf0, 0xf3, 0xe2, 0x4b, 0x78, 0xc7, 0x95, 0x39, 0xd8, 0x96, 0x79,
- 0x4f, 0xe9, 0x31, 0x81, 0x8b, 0x76, 0x9c, 0x2a, 0x6d, 0xba, 0xe3, 0xb5, 0x99, 0x66, 0x3c, 0x7f,
- 0x40, 0x76, 0x34, 0xfd, 0xe6, 0x22, 0x7c, 0x81, 0x66, 0xb6, 0x61, 0x59, 0xae, 0x85, 0x6f, 0x17,
- 0xa7, 0xe2, 0x20, 0x5b, 0xed, 0x02, 0xcd, 0xfc, 0xfb, 0x0a, 0x34, 0x29, 0x28, 0xe1, 0x07, 0x5b,
- 0xba, 0x0a, 0xd7, 0xd2, 0xef, 0x7d, 0xdf, 0xe5, 0x96, 0xa8, 0x4c, 0xe6, 0x39, 0xf7, 0xd0, 0x19,
- 0x07, 0x10, 0x91, 0xc9, 0x78, 0x86, 0xc9, 0x56, 0xf1, 0x43, 0xff, 0x05, 0xdc, 0x6c, 0xfb, 0x7e,
- 0x78, 0xf6, 0x43, 0x6d, 0xc6, 0xbe, 0x53, 0x52, 0xc0, 0xab, 0x7f, 0x06, 0x2b, 0x9b, 0x5e, 0x6c,
- 0xbf, 0x55, 0x0d, 0x77, 0xe0, 0x96, 0xaa, 0x83, 0xaf, 0xc4, 0x85, 0x26, 0xc5, 0x6b, 0xfc, 0x88,
- 0x53, 0xa4, 0xaa, 0x4c, 0x91, 0x5b, 0xb0, 0x2c, 0xd7, 0xc2, 0x1b, 0x71, 0x02, 0x4b, 0x1b, 0xc7,
- 0xc8, 0x39, 0x69, 0x3b, 0x0e, 0x8a, 0xcb, 0x6f, 0x5b, 0x3f, 0x67, 0xe7, 0xc6, 0x2a, 0xb9, 0x2d,
- 0x5f, 0x15, 0x16, 0x47, 0xdb, 0xe1, 0xa2, 0xe6, 0xb5, 0xad, 0x98, 0xbf, 0x2f, 0x27, 0x52, 0x66,
- 0x13, 0x1a, 0x42, 0x65, 0xbc, 0x21, 0xf7, 0xc8, 0x42, 0xdd, 0x18, 0x45, 0x78, 0x6b, 0xeb, 0xb8,
- 0x5e, 0xb2, 0x1b, 0xf6, 0x0f, 0xcf, 0x3d, 0xe1, 0x2e, 0xd2, 0x7c, 0x42, 0x72, 0x51, 0x3a, 0x26,
- 0x7e, 0xda, 0x1b, 0x50, 0x4b, 0xce, 0xc7, 0x17, 0x22, 0xe4, 0x37, 0x43, 0x23, 0x93, 0x94, 0xc9,
- 0x56, 0x14, 0x0e, 0x64, 0xcd, 0x5a, 0x99, 0x6f, 0x48, 0x20, 0x2c, 0xc9, 0x88, 0x18, 0x10, 0x40,
- 0xa7, 0xf8, 0x60, 0xcf, 0x50, 0x16, 0x6a, 0x30, 0xd9, 0x19, 0x17, 0xa7, 0x77, 0x89, 0x63, 0xc2,
- 0xa3, 0xaf, 0xe1, 0xda, 0xc6, 0xf8, 0xb5, 0x01, 0x55, 0x08, 0x30, 0xb3, 0x61, 0x75, 0xda, 0x87,
- 0x9d, 0x7a, 0xc5, 0xb8, 0x0a, 0x73, 0xfb, 0x5f, 0x75, 0xac, 0x57, 0xd6, 0xce, 0x61, 0xa7, 0x5e,
- 0xc5, 0x45, 0xed, 0x83, 0x83, 0xce, 0xde, 0x66, 0xbd, 0x66, 0xd4, 0xe1, 0xca, 0x6e, 0xfb, 0xf5,
- 0xd7, 0x47, 0x07, 0x1d, 0xab, 0xbb, 0xd3, 0x3d, 0xac, 0xd7, 0x31, 0xf3, 0x5e, 0xe7, 0xd5, 0xd1,
- 0xb3, 0xdd, 0xfd, 0x8d, 0xe7, 0xf5, 0xd6, 0xa3, 0xe7, 0xb0, 0x94, 0x93, 0x4c, 0x35, 0x2e, 0xc1,
- 0x54, 0x7b, 0x77, 0xb7, 0x5e, 0x31, 0x66, 0xa1, 0xb6, 0xbb, 0xf3, 0x15, 0x56, 0x3d, 0x0b, 0xb5,
- 0xcd, 0x4e, 0x7b, 0xb3, 0x3e, 0x65, 0x5c, 0x87, 0x6b, 0x9b, 0x9d, 0x8d, 0xfd, 0x17, 0x2f, 0x76,
- 0xba, 0xdd, 0x9d, 0xfd, 0xbd, 0x9d, 0xbd, 0xed, 0x7a, 0xed, 0xd1, 0x31, 0x5c, 0xd7, 0xa4, 0xe3,
- 0x0c, 0x03, 0xe6, 0xbb, 0xed, 0xad, 0xce, 0x8b, 0xfd, 0xcd, 0xce, 0xd1, 0x6e, 0xa7, 0xfd, 0x15,
- 0xb6, 0x99, 0xa7, 0x75, 0xf6, 0x0e, 0x3b, 0x56, 0xbd, 0x8a, 0x8d, 0x1d, 0xd3, 0xb6, 0x3b, 0x87,
- 0xf5, 0x29, 0x63, 0x09, 0xae, 0x8f, 0x29, 0x5b, 0xfb, 0xd6, 0x46, 0xe7, 0xa8, 0xf3, 0xab, 0x9d,
- 0xc3, 0x7a, 0xed, 0xd1, 0x17, 0x70, 0x33, 0x37, 0xe5, 0x62, 0xcc, 0xc1, 0xf4, 0x97, 0x2f, 0x3b,
- 0xd6, 0xd7, 0xf5, 0x0a, 0xfe, 0xd9, 0x3d, 0x6c, 0x5b, 0x87, 0xf5, 0xaa, 0x71, 0x05, 0x66, 0xb7,
- 0x76, 0xf6, 0xda, 0xbb, 0x3b, 0xaf, 0x3b, 0xf5, 0xa9, 0x47, 0xcb, 0x30, 0xbf, 0x91, 0xde, 0xaf,
- 0x8d, 0xa5, 0x48, 0x15, 0xf5, 0xca, 0xfa, 0x7f, 0x6f, 0xc1, 0x0d, 0xfd, 0xdb, 0x22, 0xc3, 0x87,
- 0x77, 0xfa, 0xf2, 0xdb, 0x1b, 0xe3, 0x91, 0x30, 0x92, 0x85, 0xcf, 0x7f, 0x9a, 0x3f, 0x29, 0xe3,
- 0xe5, 0xa7, 0x0d, 0xad, 0x4d, 0x7c, 0x23, 0xa3, 0xd6, 0x96, 0xff, 0x50, 0x47, 0xad, 0xad, 0xe8,
- 0xcd, 0xce, 0x73, 0x98, 0xa1, 0x51, 0xa3, 0x21, 0x1d, 0x5d, 0x95, 0xb7, 0x37, 0xcd, 0x96, 0x96,
- 0x41, 0x52, 0x66, 0x93, 0xa7, 0x1a, 0x92, 0x32, 0xf5, 0x71, 0x88, 0xa4, 0x4c, 0xf7, 0xc0, 0xc3,
- 0x81, 0xf9, 0x58, 0x78, 0x22, 0x61, 0x88, 0xd9, 0xee, 0xfc, 0x17, 0x19, 0xcd, 0xd5, 0x42, 0x46,
- 0xbe, 0x12, 0x0f, 0xea, 0xf2, 0x3b, 0x05, 0xe3, 0x3d, 0x59, 0x3a, 0xf7, 0x95, 0x42, 0xf3, 0x51,
- 0x09, 0x2b, 0x5f, 0x55, 0x08, 0xc6, 0x48, 0x79, 0x14, 0x61, 0x88, 0x83, 0x55, 0xfc, 0xd2, 0xa2,
- 0xf9, 0x7e, 0x29, 0xb3, 0xd4, 0xb6, 0x7e, 0x71, 0xdb, 0xb6, 0x27, 0x6f, 0xdb, 0x76, 0x59, 0xdb,
- 0xfa, 0xca, 0x53, 0x08, 0xe3, 0x27, 0x45, 0x1a, 0xa4, 0xd7, 0x14, 0x52, 0xdb, 0xca, 0x1e, 0x56,
- 0xfc, 0x16, 0xae, 0xc6, 0xfc, 0x3b, 0x05, 0xe3, 0xa1, 0x3c, 0x12, 0xfa, 0x27, 0x13, 0xcd, 0x77,
- 0x8b, 0xf8, 0xc4, 0xa8, 0x6f, 0x36, 0x66, 0xef, 0x10, 0x8c, 0xbb, 0xb2, 0x90, 0xf2, 0x04, 0xa2,
- 0x69, 0xe6, 0xb0, 0xf0, 0x2a, 0xbf, 0x81, 0x2b, 0x36, 0xf7, 0x60, 0xc0, 0x10, 0x2f, 0x88, 0xf3,
- 0xde, 0x36, 0x34, 0x1f, 0x16, 0xb0, 0x49, 0x16, 0xdb, 0x0c, 0x67, 0x2f, 0x59, 0xac, 0x7b, 0x88,
- 0x20, 0x59, 0xac, 0x47, 0xe8, 0x9f, 0xc3, 0x62, 0x5f, 0x87, 0xf3, 0x36, 0xd6, 0xe4, 0xd1, 0x2a,
- 0x86, 0xe3, 0x37, 0x1f, 0x4f, 0xc2, 0x2f, 0x35, 0xc6, 0x61, 0x50, 0x6b, 0xa9, 0x31, 0x3a, 0x6c,
- 0xb8, 0xd4, 0x18, 0x3d, 0x48, 0xbb, 0x07, 0xd7, 0x22, 0x11, 0x35, 0x6d, 0x88, 0x8e, 0xa2, 0x00,
- 0xaa, 0xdd, 0x7c, 0xaf, 0x98, 0x53, 0x76, 0xa9, 0x04, 0x41, 0x2d, 0xbb, 0x54, 0x05, 0x92, 0xdd,
- 0x6c, 0x69, 0x19, 0xa4, 0x7e, 0x48, 0x18, 0x1e, 0x5a, 0xea, 0x07, 0x1d, 0x1c, 0x5b, 0xea, 0x07,
- 0x3d, 0x92, 0xfa, 0x39, 0xcc, 0x44, 0x24, 0x78, 0x96, 0xec, 0x53, 0x61, 0xd4, 0x92, 0x7d, 0x3a,
- 0xb4, 0xf4, 0x1e, 0x5c, 0xa2, 0xca, 0xd6, 0x0d, 0x1d, 0xb3, 0x80, 0x95, 0x6e, 0xde, 0xd5, 0x73,
- 0x48, 0xc6, 0x11, 0x18, 0x9c, 0x6c, 0x9c, 0x8a, 0x80, 0x96, 0x8c, 0xd3, 0x81, 0x9b, 0x9f, 0xc3,
- 0xcc, 0x80, 0xe0, 0x87, 0x25, 0x65, 0x2a, 0xb0, 0x59, 0x52, 0xa6, 0x43, 0x1d, 0xbf, 0x02, 0xe8,
- 0x8f, 0xd1, 0xbe, 0xc6, 0x3d, 0x79, 0x42, 0x6b, 0xd0, 0xb9, 0xcd, 0xfb, 0xb9, 0x4c, 0x92, 0xe2,
- 0x68, 0x0c, 0xff, 0x94, 0x14, 0xeb, 0x11, 0xa5, 0x92, 0xe2, 0x1c, 0xf0, 0x28, 0xf6, 0x37, 0x11,
- 0x07, 0xf7, 0x94, 0xfc, 0x4d, 0x1e, 0xae, 0x54, 0xf2, 0x37, 0xf9, 0x80, 0xd1, 0x5f, 0x91, 0x0e,
- 0x61, 0xe0, 0x4f, 0x43, 0x69, 0xab, 0x0e, 0x31, 0xda, 0xcc, 0xe1, 0xd2, 0x86, 0x40, 0x62, 0x8c,
- 0xaa, 0x86, 0x40, 0xf9, 0xd8, 0x47, 0x35, 0x04, 0x2a, 0x02, 0x33, 0xfe, 0xa1, 0x02, 0x8d, 0x7e,
- 0x0e, 0x1c, 0xcf, 0xf8, 0x28, 0x4f, 0x53, 0x2e, 0x88, 0xb1, 0xb9, 0x3e, 0xa1, 0x88, 0xea, 0x68,
- 0x55, 0x18, 0x9d, 0xea, 0x68, 0x8b, 0xb1, 0x7a, 0xaa, 0xa3, 0x2d, 0x83, 0xe6, 0xbd, 0x86, 0xcb,
- 0x71, 0x06, 0x87, 0x93, 0x86, 0x31, 0x07, 0x9e, 0xd7, 0x7c, 0x90, 0xcf, 0x25, 0xef, 0xd2, 0x3c,
- 0xba, 0x4d, 0xde, 0xa5, 0xf3, 0x20, 0x75, 0xf2, 0x2e, 0x9d, 0x8f, 0x90, 0x3b, 0x84, 0xb9, 0x28,
- 0x05, 0xbb, 0x19, 0xa6, 0x82, 0x2f, 0x52, 0xd0, 0x71, 0xcd, 0x7b, 0x79, 0x3c, 0xbc, 0xd6, 0x11,
- 0x2c, 0x44, 0x1a, 0x28, 0x9b, 0xf1, 0x81, 0xb4, 0x32, 0x8a, 0x31, 0x72, 0xcd, 0xb5, 0x09, 0xd8,
- 0x95, 0xf5, 0x9a, 0x01, 0xdd, 0x94, 0xf5, 0xaa, 0xc7, 0xc7, 0x29, 0xeb, 0x35, 0x07, 0x2a, 0x87,
- 0xf7, 0xbf, 0x9e, 0x88, 0x85, 0x93, 0xf6, 0xbf, 0x02, 0x20, 0x9d, 0xb4, 0xff, 0x15, 0x61, 0xea,
- 0x70, 0xe0, 0x2e, 0x42, 0xb8, 0xa4, 0xc0, 0x3d, 0x1f, 0x70, 0x27, 0x05, 0xee, 0x45, 0x38, 0xb3,
- 0x73, 0x58, 0xf4, 0x75, 0x00, 0x2e, 0x69, 0xc1, 0x94, 0xa2, 0xc6, 0xa4, 0x05, 0x33, 0x01, 0x28,
- 0xec, 0x4b, 0x98, 0x1d, 0x30, 0x84, 0x96, 0xb4, 0x23, 0xeb, 0xc0, 0x5e, 0xd2, 0x8e, 0xac, 0xc5,
- 0x76, 0xe1, 0x35, 0xd8, 0xcf, 0xe0, 0x5a, 0x1a, 0x57, 0xaa, 0x41, 0x7d, 0x49, 0x6b, 0x30, 0x17,
- 0xee, 0xe5, 0xc3, 0x3b, 0xb6, 0x0c, 0x7b, 0x91, 0x7c, 0x69, 0x21, 0x22, 0x47, 0xf2, 0xa5, 0x25,
- 0x10, 0x9a, 0x11, 0x2c, 0x0c, 0x34, 0xa0, 0x15, 0x69, 0xe5, 0x94, 0xa1, 0x6a, 0xa4, 0x95, 0x53,
- 0x0a, 0x83, 0xa1, 0x0b, 0x56, 0x85, 0xb4, 0x28, 0x0b, 0xb6, 0x18, 0x29, 0xa3, 0x2c, 0xd8, 0x12,
- 0x90, 0x8c, 0x11, 0xc1, 0x75, 0x5f, 0xc5, 0x85, 0x18, 0xef, 0xab, 0x53, 0x2a, 0x1f, 0x46, 0xd3,
- 0xfc, 0xa0, 0x9c, 0x5b, 0x3e, 0x44, 0x70, 0x50, 0x01, 0xf9, 0x10, 0x91, 0x03, 0x4b, 0x90, 0x0f,
- 0x11, 0x79, 0x60, 0x03, 0xec, 0x24, 0x06, 0x22, 0x30, 0x40, 0x72, 0x12, 0x05, 0x50, 0x04, 0xc9,
- 0x49, 0x14, 0x01, 0x0c, 0x68, 0x30, 0x2e, 0xa0, 0x04, 0x94, 0x60, 0x3c, 0x17, 0x7e, 0xa0, 0x04,
- 0xe3, 0xf9, 0x68, 0x03, 0xec, 0x8c, 0x7c, 0x01, 0x2b, 0x20, 0x39, 0xa3, 0x7c, 0x28, 0x82, 0xe4,
- 0x8c, 0x8a, 0x10, 0x07, 0x3d, 0xb8, 0xd6, 0x17, 0xb3, 0xec, 0x52, 0x63, 0x0a, 0x92, 0xf6, 0xcd,
- 0xf7, 0x8a, 0x39, 0xd5, 0xb8, 0x48, 0xcc, 0x85, 0xab, 0x71, 0x51, 0x7e, 0x6e, 0x5e, 0x8d, 0x8b,
- 0x8a, 0x52, 0xf2, 0xf4, 0x04, 0x4c, 0x93, 0xcb, 0xca, 0x09, 0x58, 0xc9, 0x74, 0xab, 0x27, 0x60,
- 0x35, 0x93, 0x6c, 0xfc, 0x02, 0xa6, 0x7b, 0xf1, 0x45, 0xe0, 0x18, 0x72, 0xa6, 0x53, 0x4a, 0x2e,
- 0x37, 0xef, 0xe8, 0xca, 0x55, 0xe3, 0x48, 0x7a, 0x56, 0x35, 0x4e, 0xc9, 0x05, 0xab, 0xc6, 0xa9,
- 0x89, 0x5d, 0x1c, 0xad, 0x38, 0x7c, 0xc2, 0x54, 0x8a, 0x56, 0x72, 0x73, 0xbe, 0xcd, 0x77, 0x8b,
- 0xf8, 0xa4, 0x1a, 0xfa, 0x7c, 0x0e, 0x55, 0xaa, 0x21, 0x37, 0x21, 0x2b, 0xd5, 0x50, 0x90, 0x87,
- 0xfd, 0x1d, 0xdc, 0x18, 0x69, 0x53, 0x9d, 0x86, 0xb8, 0xcf, 0x95, 0x27, 0x63, 0x9b, 0x1f, 0x4e,
- 0x24, 0x20, 0xad, 0xb5, 0x91, 0x90, 0xf7, 0x93, 0xd6, 0x5a, 0x7e, 0x9a, 0x54, 0x5a, 0x6b, 0x05,
- 0xd9, 0x43, 0x23, 0x26, 0x57, 0x4d, 0xf8, 0xb4, 0xd7, 0x27, 0xf7, 0x79, 0x87, 0xe1, 0x09, 0x0a,
- 0x32, 0x47, 0xef, 0x84, 0x83, 0x41, 0x18, 0x90, 0xa8, 0x5b, 0x64, 0xd1, 0x3b, 0xfa, 0x02, 0x76,
- 0xbe, 0xd2, 0x0b, 0xbc, 0xbf, 0x04, 0xe8, 0x4c, 0xae, 0xf6, 0xb1, 0xa4, 0xc7, 0xd2, 0x30, 0xe9,
- 0x3b, 0xb5, 0x50, 0x80, 0xaf, 0xfa, 0xf7, 0xb0, 0xe8, 0xd8, 0x81, 0x83, 0x7c, 0xb9, 0x6e, 0x59,
- 0xd5, 0x86, 0x8e, 0x4b, 0xa8, 0xfc, 0xa3, 0xc9, 0x24, 0xa4, 0x8d, 0x35, 0xd6, 0x64, 0x5a, 0xa5,
- 0x8d, 0xb5, 0x2c, 0x9d, 0x2b, 0x6d, 0xac, 0xa5, 0xb9, 0x5b, 0x5c, 0x6d, 0x5f, 0x93, 0x97, 0x95,
- 0xaa, 0x2d, 0x4b, 0xef, 0x36, 0xd7, 0x26, 0x60, 0x97, 0x26, 0xb0, 0x23, 0x24, 0x4c, 0x0d, 0xed,
- 0xd2, 0xd6, 0x24, 0xe4, 0xa4, 0x09, 0x5c, 0x94, 0x76, 0xc5, 0xe1, 0xb1, 0x90, 0xbb, 0x94, 0xc3,
- 0xe3, 0xdc, 0x74, 0xab, 0x1c, 0x1e, 0xe7, 0x67, 0x40, 0xb1, 0xa7, 0x11, 0x72, 0x8b, 0x92, 0xa7,
- 0xc9, 0xcd, 0x8e, 0x4a, 0x9e, 0x26, 0x3f, 0x09, 0x6a, 0x78, 0x50, 0x77, 0xa5, 0x04, 0xa6, 0x74,
- 0xbb, 0x5c, 0x94, 0x23, 0x95, 0x6e, 0x97, 0x0b, 0x53, 0xa1, 0xc6, 0x5f, 0x55, 0xa0, 0xd9, 0xcf,
- 0x7d, 0xe4, 0x6c, 0x7c, 0xac, 0xdc, 0x1c, 0x97, 0x3f, 0x9c, 0x6e, 0x7e, 0x32, 0xb1, 0x90, 0x34,
- 0x76, 0xae, 0x90, 0x2e, 0x95, 0xc6, 0x2e, 0x3f, 0x63, 0x2b, 0x8d, 0x5d, 0x41, 0xd2, 0x95, 0xdd,
- 0x05, 0xa8, 0x4f, 0x8e, 0xd5, 0xbb, 0x80, 0xe2, 0x57, 0xd6, 0xea, 0x5d, 0x40, 0xd9, 0x43, 0xe8,
- 0x6f, 0xe0, 0x8a, 0xc7, 0x3d, 0xdd, 0x90, 0x62, 0xcb, 0xbc, 0x37, 0x20, 0x52, 0x6c, 0x99, 0xff,
- 0xf8, 0xc3, 0x83, 0x3a, 0x8d, 0x2d, 0x59, 0x2e, 0xd8, 0x43, 0xb1, 0xa1, 0x0b, 0x19, 0xb3, 0xe2,
- 0x82, 0x29, 0xa3, 0xb2, 0x4a, 0x55, 0xd1, 0xf0, 0x32, 0xb7, 0x2a, 0x4b, 0x2a, 0x2e, 0xa8, 0x4a,
- 0x65, 0xd5, 0x56, 0xc5, 0x12, 0x6c, 0x6d, 0xc7, 0xd7, 0x56, 0x95, 0x15, 0x97, 0x56, 0xc5, 0xb3,
- 0xca, 0xb7, 0x1d, 0xa9, 0x2d, 0xf2, 0x6d, 0x47, 0x4a, 0x2f, 0xba, 0xed, 0xc8, 0x78, 0xa4, 0x5b,
- 0xd2, 0x18, 0x11, 0xb3, 0xef, 0xc8, 0x6e, 0x5a, 0xd6, 0xd7, 0xd2, 0x32, 0x48, 0x53, 0xa8, 0x4f,
- 0xc8, 0xf4, 0xf2, 0xcf, 0x50, 0x4e, 0xa9, 0xe3, 0xa2, 0x82, 0x29, 0x24, 0xb2, 0xa9, 0x61, 0xdf,
- 0xaf, 0xda, 0x49, 0xa2, 0xc9, 0xca, 0x10, 0x72, 0x71, 0xd8, 0xc7, 0x58, 0xa4, 0x4e, 0xed, 0xb3,
- 0x02, 0xf9, 0x0a, 0x69, 0x3b, 0xa5, 0x17, 0x74, 0x2a, 0xc7, 0x23, 0x5d, 0xea, 0xe2, 0x73, 0x07,
- 0x53, 0x7b, 0x4f, 0x39, 0x4a, 0x68, 0xf4, 0xde, 0xcf, 0x65, 0x92, 0xee, 0x0a, 0xe8, 0x1c, 0xa0,
- 0x9d, 0x70, 0x5f, 0x33, 0xc2, 0x6a, 0x3f, 0x3c, 0xc8, 0xe7, 0x92, 0x74, 0x3b, 0x19, 0x02, 0x43,
- 0xd2, 0x9d, 0x03, 0x04, 0x91, 0x74, 0xe7, 0x21, 0x38, 0xf0, 0x96, 0x4e, 0xf7, 0xd6, 0x6c, 0xff,
- 0x7d, 0x1d, 0x06, 0xf2, 0x11, 0x7d, 0x43, 0xc3, 0x52, 0xb0, 0xa5, 0xeb, 0xd9, 0x35, 0x47, 0x74,
- 0x91, 0x45, 0x77, 0x44, 0x97, 0x38, 0x4a, 0x8e, 0xe8, 0x0a, 0xb7, 0xba, 0x06, 0x3a, 0xaf, 0x71,
- 0xa0, 0x6c, 0x27, 0xc7, 0xea, 0x1a, 0x18, 0x17, 0x15, 0xaf, 0x01, 0x8e, 0x4d, 0x8a, 0xf1, 0x63,
- 0x94, 0x74, 0xe8, 0xff, 0x21, 0xdd, 0x20, 0xff, 0x87, 0x94, 0x65, 0x77, 0x1f, 0xcb, 0xd3, 0x5d,
- 0xc3, 0x54, 0x10, 0xe3, 0xe7, 0x09, 0xa8, 0x9b, 0x93, 0x8a, 0xb1, 0x51, 0x37, 0xa7, 0x62, 0xb0,
- 0x8e, 0xba, 0x39, 0x95, 0xe1, 0x76, 0x68, 0x3a, 0x5b, 0xc0, 0xdb, 0xa8, 0xe9, 0xec, 0x5c, 0x08,
- 0x8f, 0x9a, 0xce, 0x2e, 0x40, 0xee, 0xb0, 0x8c, 0x80, 0xda, 0x19, 0x78, 0x1b, 0x51, 0x32, 0x02,
- 0x5a, 0xb6, 0xe2, 0x8c, 0x40, 0x8e, 0x88, 0x34, 0xca, 0xfd, 0x49, 0x46, 0x79, 0xfb, 0xfb, 0x8e,
- 0xf2, 0xf6, 0x04, 0xa3, 0x4c, 0x0f, 0xaa, 0x19, 0xd6, 0x5d, 0x3d, 0xa8, 0xea, 0xd1, 0xf6, 0xea,
- 0x41, 0x35, 0x07, 0x64, 0xff, 0xec, 0x39, 0x3c, 0x08, 0xa3, 0xfe, 0x9a, 0x3d, 0xb4, 0x9d, 0x63,
- 0x24, 0x08, 0x0d, 0x85, 0x7f, 0xe9, 0xfb, 0x2c, 0xe7, 0x1f, 0xfe, 0x92, 0xbf, 0xf1, 0x77, 0x95,
- 0xca, 0x3f, 0x56, 0x2a, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x97, 0x20, 0x5c, 0x2c, 0x15, 0x58,
- 0x00, 0x00,
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ EventsList *EventsListProto `protobuf:"bytes,1,req,name=eventsList" json:"eventsList,omitempty"`
+}
+
+func (x *GetEditsFromTxidResponseProto) Reset() {
+ *x = GetEditsFromTxidResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[160]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetEditsFromTxidResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetEditsFromTxidResponseProto) ProtoMessage() {}
+
+func (x *GetEditsFromTxidResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[160]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetEditsFromTxidResponseProto.ProtoReflect.Descriptor instead.
+func (*GetEditsFromTxidResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{160}
+}
+
+func (x *GetEditsFromTxidResponseProto) GetEventsList() *EventsListProto {
+ if x != nil {
+ return x.EventsList
+ }
+ return nil
+}
+
+type ListOpenFilesRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
+ Types []OpenFilesTypeProto `protobuf:"varint,2,rep,name=types,enum=hadoop.hdfs.OpenFilesTypeProto" json:"types,omitempty"`
+ Path *string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
+}
+
+func (x *ListOpenFilesRequestProto) Reset() {
+ *x = ListOpenFilesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[161]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListOpenFilesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListOpenFilesRequestProto) ProtoMessage() {}
+
+func (x *ListOpenFilesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[161]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListOpenFilesRequestProto.ProtoReflect.Descriptor instead.
+func (*ListOpenFilesRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{161}
+}
+
+func (x *ListOpenFilesRequestProto) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
+ }
+ return 0
+}
+
+func (x *ListOpenFilesRequestProto) GetTypes() []OpenFilesTypeProto {
+ if x != nil {
+ return x.Types
+ }
+ return nil
+}
+
+func (x *ListOpenFilesRequestProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
+ }
+ return ""
+}
+
+type OpenFilesBatchResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
+ Path *string `protobuf:"bytes,2,req,name=path" json:"path,omitempty"`
+ ClientName *string `protobuf:"bytes,3,req,name=clientName" json:"clientName,omitempty"`
+ ClientMachine *string `protobuf:"bytes,4,req,name=clientMachine" json:"clientMachine,omitempty"`
+}
+
+func (x *OpenFilesBatchResponseProto) Reset() {
+ *x = OpenFilesBatchResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[162]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OpenFilesBatchResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OpenFilesBatchResponseProto) ProtoMessage() {}
+
+func (x *OpenFilesBatchResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[162]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OpenFilesBatchResponseProto.ProtoReflect.Descriptor instead.
+func (*OpenFilesBatchResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{162}
+}
+
+func (x *OpenFilesBatchResponseProto) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
+ }
+ return 0
+}
+
+func (x *OpenFilesBatchResponseProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
+ }
+ return ""
+}
+
+func (x *OpenFilesBatchResponseProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
+ }
+ return ""
+}
+
+func (x *OpenFilesBatchResponseProto) GetClientMachine() string {
+ if x != nil && x.ClientMachine != nil {
+ return *x.ClientMachine
+ }
+ return ""
+}
+
+type ListOpenFilesResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Entries []*OpenFilesBatchResponseProto `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
+ HasMore *bool `protobuf:"varint,2,req,name=hasMore" json:"hasMore,omitempty"`
+ Types []OpenFilesTypeProto `protobuf:"varint,3,rep,name=types,enum=hadoop.hdfs.OpenFilesTypeProto" json:"types,omitempty"`
+}
+
+func (x *ListOpenFilesResponseProto) Reset() {
+ *x = ListOpenFilesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[163]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListOpenFilesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListOpenFilesResponseProto) ProtoMessage() {}
+
+func (x *ListOpenFilesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[163]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListOpenFilesResponseProto.ProtoReflect.Descriptor instead.
+func (*ListOpenFilesResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{163}
+}
+
+func (x *ListOpenFilesResponseProto) GetEntries() []*OpenFilesBatchResponseProto {
+ if x != nil {
+ return x.Entries
+ }
+ return nil
+}
+
+func (x *ListOpenFilesResponseProto) GetHasMore() bool {
+ if x != nil && x.HasMore != nil {
+ return *x.HasMore
+ }
+ return false
+}
+
+func (x *ListOpenFilesResponseProto) GetTypes() []OpenFilesTypeProto {
+ if x != nil {
+ return x.Types
+ }
+ return nil
+}
+
+type MsyncRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *MsyncRequestProto) Reset() {
+ *x = MsyncRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[164]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *MsyncRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*MsyncRequestProto) ProtoMessage() {}
+
+func (x *MsyncRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[164]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use MsyncRequestProto.ProtoReflect.Descriptor instead.
+func (*MsyncRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{164}
+}
+
+type MsyncResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *MsyncResponseProto) Reset() {
+ *x = MsyncResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[165]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *MsyncResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*MsyncResponseProto) ProtoMessage() {}
+
+func (x *MsyncResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[165]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use MsyncResponseProto.ProtoReflect.Descriptor instead.
+func (*MsyncResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{165}
+}
+
+type SatisfyStoragePolicyRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+}
+
+func (x *SatisfyStoragePolicyRequestProto) Reset() {
+ *x = SatisfyStoragePolicyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[166]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SatisfyStoragePolicyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SatisfyStoragePolicyRequestProto) ProtoMessage() {}
+
+func (x *SatisfyStoragePolicyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[166]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SatisfyStoragePolicyRequestProto.ProtoReflect.Descriptor instead.
+func (*SatisfyStoragePolicyRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{166}
+}
+
+func (x *SatisfyStoragePolicyRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
+ }
+ return ""
+}
+
+type SatisfyStoragePolicyResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *SatisfyStoragePolicyResponseProto) Reset() {
+ *x = SatisfyStoragePolicyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[167]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SatisfyStoragePolicyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SatisfyStoragePolicyResponseProto) ProtoMessage() {}
+
+func (x *SatisfyStoragePolicyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[167]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SatisfyStoragePolicyResponseProto.ProtoReflect.Descriptor instead.
+func (*SatisfyStoragePolicyResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{167}
+}
+
+type HAServiceStateRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *HAServiceStateRequestProto) Reset() {
+ *x = HAServiceStateRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[168]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *HAServiceStateRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*HAServiceStateRequestProto) ProtoMessage() {}
+
+func (x *HAServiceStateRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[168]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use HAServiceStateRequestProto.ProtoReflect.Descriptor instead.
+func (*HAServiceStateRequestProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{168}
+}
+
+type HAServiceStateResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ State *hadoop_common.HAServiceStateProto `protobuf:"varint,1,req,name=state,enum=hadoop.common.HAServiceStateProto" json:"state,omitempty"`
+}
+
+func (x *HAServiceStateResponseProto) Reset() {
+ *x = HAServiceStateResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[169]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *HAServiceStateResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*HAServiceStateResponseProto) ProtoMessage() {}
+
+func (x *HAServiceStateResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ClientNamenodeProtocol_proto_msgTypes[169]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use HAServiceStateResponseProto.ProtoReflect.Descriptor instead.
+func (*HAServiceStateResponseProto) Descriptor() ([]byte, []int) {
+ return file_ClientNamenodeProtocol_proto_rawDescGZIP(), []int{169}
+}
+
+func (x *HAServiceStateResponseProto) GetState() hadoop_common.HAServiceStateProto {
+ if x != nil && x.State != nil {
+ return *x.State
+ }
+ return hadoop_common.HAServiceStateProto(0)
+}
+
+var File_ClientNamenodeProtocol_proto protoreflect.FileDescriptor
+
+var file_ClientNamenodeProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x1c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x1a, 0x0e, 0x53, 0x65, 0x63,
+ 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x09, 0x61, 0x63, 0x6c, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x1a, 0x0b, 0x78, 0x61, 0x74, 0x74, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
+ 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x0d, 0x69, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x1a, 0x13, 0x65, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x48, 0x41, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61,
+ 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72,
+ 0x63, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x02, 0x28,
+ 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e,
+ 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74,
+ 0x68, 0x22, 0x5f, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x3d, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x22, 0x1f, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44,
+ 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
+ 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x4a, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44,
+ 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x22, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73, 0x53, 0x65,
+ 0x72, 0x76, 0x65, 0x72, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
+ 0x73, 0x22, 0xe7, 0x03, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x36, 0x0a, 0x06, 0x6d, 0x61,
+ 0x73, 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69,
+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x73, 0x6b,
+ 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65,
+ 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61,
+ 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x61, 0x67,
+ 0x18, 0x04, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c,
+ 0x61, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x65,
+ 0x6e, 0x74, 0x18, 0x05, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
+ 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x70,
+ 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x5d, 0x0a, 0x15, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
+ 0x08, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
+ 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x15,
+ 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65,
+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x08, 0x75, 0x6e, 0x6d, 0x61, 0x73, 0x6b, 0x65,
+ 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
+ 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x75, 0x6e, 0x6d, 0x61, 0x73, 0x6b, 0x65,
+ 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d,
+ 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63,
+ 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
+ 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74,
+ 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x47, 0x0a, 0x13, 0x43,
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x30, 0x0a, 0x02, 0x66, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x48, 0x64, 0x66,
+ 0x73, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x02, 0x66, 0x73, 0x22, 0x5a, 0x0a, 0x12, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72,
+ 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x1e, 0x0a, 0x0a,
+ 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
+ 0x66, 0x6c, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67,
+ 0x22, 0x81, 0x01, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x34,
+ 0x0a, 0x04, 0x73, 0x74, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x48, 0x64, 0x66, 0x73, 0x46,
+ 0x69, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04,
+ 0x73, 0x74, 0x61, 0x74, 0x22, 0x50, 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69,
+ 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52,
+ 0x03, 0x73, 0x72, 0x63, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69,
+ 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70,
+ 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x50, 0x0a,
+ 0x1c, 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63,
+ 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a,
+ 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12,
+ 0x1e, 0x0a, 0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
+ 0x02, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22,
+ 0x1f, 0x0a, 0x1d, 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x22, 0x32, 0x0a, 0x1e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
+ 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52,
+ 0x03, 0x73, 0x72, 0x63, 0x22, 0x21, 0x0a, 0x1f, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x74, 0x6f,
+ 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x74,
+ 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x6b, 0x0a, 0x1d, 0x47,
+ 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x4a, 0x0a, 0x0d,
+ 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61,
+ 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x20, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x53,
+ 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x1f, 0x47, 0x65,
+ 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x40, 0x0a,
+ 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x22,
+ 0x6d, 0x0a, 0x19, 0x53, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03,
+ 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x3e,
+ 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x46, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x1c,
+ 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a, 0x14,
+ 0x53, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
+ 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
+ 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x6e, 0x61, 0x6d, 0x65, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x6e, 0x61, 0x6d, 0x65,
+ 0x22, 0x17, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x01, 0x0a, 0x18, 0x41, 0x62,
+ 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x0a, 0x01, 0x62, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x01, 0x62, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x6f, 0x6c, 0x64, 0x65,
+ 0x72, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12,
+ 0x19, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x3a,
+ 0x01, 0x30, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x41, 0x62,
+ 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x02, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73,
+ 0x72, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61,
+ 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x12,
+ 0x42, 0x0a, 0x0c, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18,
+ 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0c, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f,
+ 0x64, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20,
+ 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x22,
+ 0x0a, 0x0c, 0x66, 0x61, 0x76, 0x6f, 0x72, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x06,
+ 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x61, 0x76, 0x6f, 0x72, 0x65, 0x64, 0x4e, 0x6f, 0x64,
+ 0x65, 0x73, 0x12, 0x34, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
+ 0x0e, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x41, 0x64, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x6c, 0x61, 0x67, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x4d, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x34, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b,
+ 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c,
+ 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x81, 0x03, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x41,
+ 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64,
+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a,
+ 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12,
+ 0x31, 0x0a, 0x03, 0x62, 0x6c, 0x6b, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
+ 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x03, 0x62,
+ 0x6c, 0x6b, 0x12, 0x3c, 0x0a, 0x09, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18,
+ 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x73,
+ 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x08, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x12,
+ 0x6e, 0x75, 0x6d, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x6f, 0x64,
+ 0x65, 0x73, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x12, 0x6e, 0x75, 0x6d, 0x41, 0x64, 0x64,
+ 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a,
+ 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x14,
+ 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55,
+ 0x75, 0x69, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x65, 0x78, 0x69, 0x73,
+ 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x73,
+ 0x12, 0x19, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04,
+ 0x3a, 0x01, 0x30, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x5a, 0x0a, 0x22, 0x47,
+ 0x65, 0x74, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61,
+ 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x34, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b,
+ 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c,
+ 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x98, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70,
+ 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73,
+ 0x72, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61,
+ 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x6c, 0x61, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45,
+ 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x04, 0x6c, 0x61, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49,
+ 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65,
+ 0x49, 0x64, 0x22, 0x2f, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72,
+ 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73,
+ 0x75, 0x6c, 0x74, 0x22, 0x55, 0x0a, 0x1b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x61, 0x64,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x36, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x22, 0x1e, 0x0a, 0x1c, 0x52, 0x65,
+ 0x70, 0x6f, 0x72, 0x74, 0x42, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x12, 0x43, 0x6f,
+ 0x6e, 0x63, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x10, 0x0a, 0x03, 0x74, 0x72, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x74,
+ 0x72, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x72, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
+ 0x52, 0x04, 0x73, 0x72, 0x63, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x63, 0x61, 0x74,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a,
+ 0x14, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02,
+ 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x4c, 0x65,
+ 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x6e, 0x65, 0x77, 0x4c,
+ 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e,
+ 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e,
+ 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2f, 0x0a, 0x15, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74,
+ 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16,
+ 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x06,
+ 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x38, 0x0a, 0x12, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03,
+ 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x10,
+ 0x0a, 0x03, 0x64, 0x73, 0x74, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x64, 0x73, 0x74,
+ 0x22, 0x2d, 0x0a, 0x13, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c,
+ 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22,
+ 0x81, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x73, 0x74,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x64, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6f,
+ 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x44, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x02,
+ 0x28, 0x08, 0x52, 0x0d, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x44, 0x65, 0x73,
+ 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x54, 0x72, 0x61, 0x73, 0x68,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x54, 0x72,
+ 0x61, 0x73, 0x68, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x12, 0x44,
+ 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03,
+ 0x73, 0x72, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76,
+ 0x65, 0x22, 0x2d, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75,
+ 0x6c, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
+ 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x36, 0x0a, 0x06, 0x6d, 0x61, 0x73,
+ 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
+ 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x73, 0x6b, 0x65,
+ 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x65, 0x6e,
+ 0x74, 0x18, 0x03, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50,
+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x08, 0x75, 0x6e, 0x6d, 0x61, 0x73, 0x6b, 0x65,
+ 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
+ 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x75, 0x6e, 0x6d, 0x61, 0x73, 0x6b, 0x65,
+ 0x64, 0x22, 0x2d, 0x0a, 0x13, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75,
+ 0x6c, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
+ 0x22, 0x6e, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72,
+ 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x1e, 0x0a, 0x0a,
+ 0x73, 0x74, 0x61, 0x72, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0c,
+ 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c,
+ 0x6e, 0x65, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x02,
+ 0x28, 0x08, 0x52, 0x0c, 0x6e, 0x65, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x22, 0x57, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3c, 0x0a, 0x07, 0x64,
+ 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63,
+ 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x07, 0x64, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x79, 0x0a, 0x1d, 0x47, 0x65, 0x74,
+ 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61,
+ 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73,
+ 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x18, 0x02,
+ 0x20, 0x02, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72,
+ 0x12, 0x22, 0x0a, 0x0c, 0x6e, 0x65, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x18, 0x03, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0c, 0x6e, 0x65, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa1, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x74, 0x63,
+ 0x68, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x45, 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x69,
+ 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x44,
+ 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x18,
+ 0x0a, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52,
+ 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72,
+ 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74,
+ 0x61, 0x72, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x22, 0x28, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x53,
+ 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x4c,
+ 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x22, 0x8e, 0x01, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e,
+ 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x63,
+ 0x0a, 0x14, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44,
+ 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73,
+ 0x68, 0x6f, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72,
+ 0x79, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x14, 0x73,
+ 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x4c,
+ 0x69, 0x73, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73,
+ 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6e, 0x61,
+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52,
+ 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x22, 0x0a,
+ 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x02, 0x20,
+ 0x02, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
+ 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18,
+ 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
+ 0x74, 0x22, 0x6a, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
+ 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x44, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x52,
+ 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xd6, 0x01,
+ 0x0a, 0x28, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66,
+ 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6e,
+ 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x22,
+ 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x02,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
+ 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70,
+ 0x6f, 0x72, 0x74, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06,
+ 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x22, 0x78, 0x0a, 0x29, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61,
+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c,
+ 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x4b, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72,
+ 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69,
+ 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
+ 0x22, 0x38, 0x0a, 0x16, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c,
+ 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a,
+ 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65,
+ 0x6e, 0x65, 0x77, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x18, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72,
+ 0x4c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03,
+ 0x73, 0x72, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d,
+ 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e,
+ 0x61, 0x6d, 0x65, 0x22, 0x33, 0x0a, 0x19, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x4c, 0x65,
+ 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08,
+ 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x46,
+ 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x22, 0xf9, 0x02, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x46, 0x73, 0x53, 0x74, 0x61,
+ 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x04, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x75,
+ 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x12,
+ 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x02,
+ 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x29, 0x0a,
+ 0x10, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65,
+ 0x64, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0f, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65,
+ 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x72, 0x72,
+ 0x75, 0x70, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x02, 0x28, 0x04,
+ 0x52, 0x0d, 0x63, 0x6f, 0x72, 0x72, 0x75, 0x70, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12,
+ 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x73, 0x18, 0x06, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e,
+ 0x67, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x5f, 0x6f, 0x6e, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67,
+ 0x52, 0x65, 0x70, 0x6c, 0x4f, 0x6e, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x28, 0x0a,
+ 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x66, 0x75, 0x74, 0x75, 0x72,
+ 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x49,
+ 0x6e, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x70, 0x65, 0x6e, 0x64, 0x69,
+ 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x15, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e,
+ 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x22,
+ 0x27, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x46, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74,
+ 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x03, 0x0a, 0x26, 0x47, 0x65, 0x74,
+ 0x46, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x64, 0x75, 0x6e,
+ 0x64, 0x61, 0x6e, 0x63, 0x79, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0d, 0x6c, 0x6f, 0x77,
+ 0x52, 0x65, 0x64, 0x75, 0x6e, 0x64, 0x61, 0x6e, 0x63, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f,
+ 0x72, 0x72, 0x75, 0x70, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x04, 0x52, 0x0d, 0x63, 0x6f, 0x72, 0x72, 0x75, 0x70, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0d, 0x6d, 0x69, 0x73, 0x73, 0x69,
+ 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x6d, 0x69, 0x73, 0x73,
+ 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x5f, 0x6f, 0x6e, 0x65, 0x5f, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04, 0x52, 0x14, 0x6d, 0x69, 0x73, 0x73, 0x69,
+ 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x4f, 0x6e, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12,
+ 0x28, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x66, 0x75, 0x74,
+ 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x73, 0x49, 0x6e, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x70, 0x65, 0x6e,
+ 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x02, 0x28, 0x04, 0x52, 0x15, 0x70, 0x65, 0x6e, 0x64,
+ 0x69, 0x6e, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x73, 0x12, 0x4a, 0x0a, 0x22, 0x68, 0x69, 0x67, 0x68, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x69,
+ 0x6f, 0x5f, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x64, 0x75, 0x6e, 0x64, 0x61, 0x6e, 0x63, 0x79,
+ 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1e, 0x68,
+ 0x69, 0x67, 0x68, 0x65, 0x73, 0x74, 0x50, 0x72, 0x69, 0x6f, 0x4c, 0x6f, 0x77, 0x52, 0x65, 0x64,
+ 0x75, 0x6e, 0x64, 0x61, 0x6e, 0x63, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x22, 0x24, 0x0a,
+ 0x22, 0x47, 0x65, 0x74, 0x46, 0x73, 0x45, 0x43, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x22, 0xc8, 0x02, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x46, 0x73, 0x45, 0x43, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x6c,
+ 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x64, 0x75, 0x6e, 0x64, 0x61, 0x6e, 0x63, 0x79, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x04, 0x52, 0x0d, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x64, 0x75, 0x6e, 0x64, 0x61, 0x6e,
+ 0x63, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x72, 0x72, 0x75, 0x70, 0x74, 0x5f, 0x62, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x6f, 0x72, 0x72,
+ 0x75, 0x70, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x73,
+ 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x02, 0x28,
+ 0x04, 0x52, 0x0d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73,
+ 0x12, 0x28, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x66, 0x75,
+ 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x73, 0x49, 0x6e, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x70, 0x65,
+ 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x02, 0x28, 0x04, 0x52, 0x15, 0x70, 0x65, 0x6e,
+ 0x64, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x73, 0x12, 0x4a, 0x0a, 0x22, 0x68, 0x69, 0x67, 0x68, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x72,
+ 0x69, 0x6f, 0x5f, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x64, 0x75, 0x6e, 0x64, 0x61, 0x6e, 0x63,
+ 0x79, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1e,
+ 0x68, 0x69, 0x67, 0x68, 0x65, 0x73, 0x74, 0x50, 0x72, 0x69, 0x6f, 0x4c, 0x6f, 0x77, 0x52, 0x65,
+ 0x64, 0x75, 0x6e, 0x64, 0x61, 0x6e, 0x63, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x22, 0x59,
+ 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x70,
+ 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x24, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61,
+ 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x50, 0x0a, 0x1e, 0x47, 0x65, 0x74,
+ 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2e, 0x0a, 0x02, 0x64,
+ 0x69, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e,
+ 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x02, 0x64, 0x69, 0x22, 0x60, 0x0a, 0x24, 0x47,
+ 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x0e, 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79,
+ 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xa9, 0x01,
+ 0x0a, 0x1a, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x42, 0x0a, 0x0c,
+ 0x64, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x02,
+ 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f,
+ 0x12, 0x47, 0x0a, 0x0e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72,
+ 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65,
+ 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0e, 0x73, 0x74, 0x6f, 0x72, 0x61,
+ 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x22, 0x88, 0x01, 0x0a, 0x25, 0x47, 0x65,
+ 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
+ 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x5f, 0x0a, 0x16, 0x64, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x53,
+ 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x16, 0x64, 0x61,
+ 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70,
+ 0x6f, 0x72, 0x74, 0x73, 0x22, 0x3f, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x66, 0x65,
+ 0x72, 0x72, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c,
+ 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c,
+ 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x66,
+ 0x65, 0x72, 0x72, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x62,
+ 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05, 0x62, 0x73, 0x69, 0x7a,
+ 0x65, 0x22, 0x74, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x53, 0x61, 0x66, 0x65, 0x4d, 0x6f, 0x64, 0x65,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x0a, 0x06,
+ 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x61, 0x66, 0x65, 0x4d,
+ 0x6f, 0x64, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06,
+ 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x07, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65,
+ 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x07,
+ 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x22, 0x32, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x53, 0x61,
+ 0x66, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x57, 0x0a, 0x19, 0x53,
+ 0x61, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65,
+ 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52,
+ 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x17, 0x0a, 0x05, 0x74,
+ 0x78, 0x47, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x05, 0x74,
+ 0x78, 0x47, 0x61, 0x70, 0x22, 0x38, 0x0a, 0x1a, 0x53, 0x61, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65,
+ 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x05, 0x73, 0x61, 0x76, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, 0x52, 0x05, 0x73, 0x61, 0x76, 0x65, 0x64, 0x22, 0x17,
+ 0x0a, 0x15, 0x52, 0x6f, 0x6c, 0x6c, 0x45, 0x64, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x16, 0x52, 0x6f, 0x6c, 0x6c, 0x45,
+ 0x64, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x26, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x54,
+ 0x78, 0x49, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x53, 0x65,
+ 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x78, 0x49, 0x64, 0x22, 0x34, 0x0a, 0x20, 0x52, 0x65, 0x73,
+ 0x74, 0x6f, 0x72, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a,
+ 0x03, 0x61, 0x72, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x61, 0x72, 0x67, 0x22,
+ 0x3b, 0x0a, 0x21, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64,
+ 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x1a, 0x0a, 0x18,
+ 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x52, 0x65, 0x66, 0x72,
+ 0x65, 0x73, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a,
+ 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65,
+ 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x53,
+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x22, 0x48, 0x0a, 0x1a, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74,
+ 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x2a, 0x0a, 0x10, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69,
+ 0x7a, 0x65, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x10, 0x75, 0x70, 0x67, 0x72, 0x61,
+ 0x64, 0x65, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x22, 0x5c, 0x0a, 0x1a, 0x52,
+ 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3e, 0x0a, 0x06, 0x61, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55,
+ 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xd1, 0x01, 0x0a, 0x17, 0x52, 0x6f,
+ 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x67, 0x72, 0x61,
+ 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x73,
+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69,
+ 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54,
+ 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x54,
+ 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0c, 0x66, 0x69, 0x6e, 0x61, 0x6c,
+ 0x69, 0x7a, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x63, 0x72, 0x65, 0x61, 0x74,
+ 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73,
+ 0x18, 0x04, 0x20, 0x02, 0x28, 0x08, 0x52, 0x15, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x52,
+ 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x22, 0x73, 0x0a,
+ 0x1b, 0x52, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x54, 0x0a, 0x12,
+ 0x72, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x49, 0x6e,
+ 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55, 0x70,
+ 0x67, 0x72, 0x61, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x12,
+ 0x72, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x49, 0x6e,
+ 0x66, 0x6f, 0x22, 0x4f, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x72, 0x72, 0x75, 0x70,
+ 0x74, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x63,
+ 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6f,
+ 0x6b, 0x69, 0x65, 0x22, 0x63, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x72, 0x72, 0x75,
+ 0x70, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3d, 0x0a, 0x07, 0x63, 0x6f, 0x72,
+ 0x72, 0x75, 0x70, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x6f, 0x72, 0x72, 0x75, 0x70, 0x74,
+ 0x46, 0x69, 0x6c, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x07, 0x63, 0x6f, 0x72, 0x72, 0x75, 0x70, 0x74, 0x22, 0x32, 0x0a, 0x14, 0x4d, 0x65, 0x74, 0x61,
+ 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02,
+ 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15,
+ 0x4d, 0x65, 0x74, 0x61, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65,
+ 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73,
+ 0x72, 0x63, 0x22, 0x4c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66,
+ 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x30,
+ 0x0a, 0x02, 0x66, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x48, 0x64, 0x66, 0x73, 0x46, 0x69, 0x6c,
+ 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x02, 0x66, 0x73,
+ 0x22, 0x61, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69,
+ 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x03, 0x73, 0x72, 0x63, 0x12, 0x2d, 0x0a, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61,
+ 0x6c, 0x73, 0x65, 0x52, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x6f,
+ 0x6b, 0x65, 0x6e, 0x22, 0x53, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65,
+ 0x64, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x0a, 0x02, 0x66, 0x73, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x48, 0x64, 0x66, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x02, 0x66, 0x73, 0x22, 0x2c, 0x0a, 0x18, 0x49, 0x73, 0x46, 0x69,
+ 0x6c, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x22, 0x33, 0x0a, 0x19, 0x49, 0x73, 0x46, 0x69, 0x6c, 0x65,
+ 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xc3, 0x01, 0x0a, 0x17,
+ 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e,
+ 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x72,
+ 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d,
+ 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
+ 0x04, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, 0x6f,
+ 0x6c, 0x12, 0x4e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
+ 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x22, 0x5b, 0x0a, 0x21, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x12, 0x1e,
+ 0x0a, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x22, 0xc2,
+ 0x01, 0x0a, 0x18, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x62,
+ 0x79, 0x74, 0x65, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03,
+ 0x52, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x12, 0x20, 0x0a,
+ 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x03, 0x52, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x12,
+ 0x20, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x03,
+ 0x20, 0x02, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x65,
+ 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64,
+ 0x18, 0x04, 0x20, 0x02, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x43, 0x61, 0x63,
+ 0x68, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65,
+ 0x64, 0x18, 0x05, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x45, 0x78, 0x70, 0x69,
+ 0x72, 0x65, 0x64, 0x22, 0x79, 0x0a, 0x1d, 0x41, 0x64, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44,
+ 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x02,
+ 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49,
+ 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1e,
+ 0x0a, 0x0a, 0x63, 0x61, 0x63, 0x68, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x61, 0x63, 0x68, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x30,
+ 0x0a, 0x1e, 0x41, 0x64, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
+ 0x22, 0x7c, 0x0a, 0x20, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44,
+ 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x02,
+ 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49,
+ 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1e,
+ 0x0a, 0x0a, 0x63, 0x61, 0x63, 0x68, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x61, 0x63, 0x68, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x23,
+ 0x0a, 0x21, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72,
+ 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x20, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x61, 0x63,
+ 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x23, 0x0a, 0x21, 0x52, 0x65, 0x6d, 0x6f, 0x76,
+ 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x1f,
+ 0x4c, 0x69, 0x73, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x76, 0x49, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52,
+ 0x06, 0x70, 0x72, 0x65, 0x76, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65,
+ 0x72, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x66,
+ 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x91, 0x01, 0x0a, 0x18, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44,
+ 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x38, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b,
+ 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43,
+ 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x66,
+ 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x3b, 0x0a, 0x05,
+ 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44,
+ 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x7f, 0x0a, 0x20, 0x4c, 0x69, 0x73,
+ 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x73,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x41, 0x0a,
+ 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61,
+ 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x72,
+ 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73,
+ 0x12, 0x18, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28,
+ 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65, 0x22, 0xf7, 0x01, 0x0a, 0x12, 0x43,
+ 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a,
+ 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x67,
+ 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64,
+ 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a,
+ 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69,
+ 0x6d, 0x69, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69,
+ 0x76, 0x65, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11,
+ 0x6d, 0x61, 0x78, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x45, 0x78, 0x70, 0x69, 0x72,
+ 0x79, 0x12, 0x31, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x70, 0x6c,
+ 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x3a, 0x01, 0x31,
+ 0x52, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc5, 0x01, 0x0a, 0x13, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f,
+ 0x6f, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x0a, 0x0b,
+ 0x62, 0x79, 0x74, 0x65, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x03, 0x52, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x12, 0x20,
+ 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x18, 0x02, 0x20,
+ 0x02, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64,
+ 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x79, 0x74, 0x65, 0x73, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x69, 0x6d,
+ 0x69, 0x74, 0x18, 0x03, 0x20, 0x02, 0x28, 0x03, 0x52, 0x0e, 0x62, 0x79, 0x74, 0x65, 0x73, 0x4f,
+ 0x76, 0x65, 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65,
+ 0x73, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x04, 0x20, 0x02, 0x28, 0x03, 0x52, 0x0b, 0x66,
+ 0x69, 0x6c, 0x65, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x69,
+ 0x6c, 0x65, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x18, 0x05, 0x20, 0x02, 0x28, 0x03, 0x52,
+ 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x18,
+ 0x41, 0x64, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x33, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e,
+ 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x1b, 0x0a,
+ 0x19, 0x41, 0x64, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x1b, 0x4d, 0x6f,
+ 0x64, 0x69, 0x66, 0x79, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x33, 0x0a, 0x04, 0x69, 0x6e, 0x66,
+ 0x6f, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x49,
+ 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x1e,
+ 0x0a, 0x1c, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f,
+ 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39,
+ 0x0a, 0x1b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f,
+ 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a,
+ 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52,
+ 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x52, 0x65, 0x6d,
+ 0x6f, 0x76, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x1a, 0x4c, 0x69, 0x73,
+ 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x76, 0x50,
+ 0x6f, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x70,
+ 0x72, 0x65, 0x76, 0x50, 0x6f, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x73, 0x0a, 0x1b, 0x4c,
+ 0x69, 0x73, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3a, 0x0a, 0x07, 0x65, 0x6e,
+ 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50,
+ 0x6f, 0x6f, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x65,
+ 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72,
+ 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65,
+ 0x22, 0x82, 0x01, 0x0a, 0x13, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x45, 0x6e,
+ 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x33, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e,
+ 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a,
+ 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65,
+ 0x50, 0x6f, 0x6f, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05,
+ 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x2f, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65,
+ 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x22, 0x50, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c,
+ 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x0a, 0x02, 0x66, 0x73, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x48, 0x64, 0x66, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x02, 0x66, 0x73, 0x22, 0x33, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x43,
+ 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74,
+ 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x5c, 0x0a,
+ 0x1e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61,
+ 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x3a, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b,
+ 0x32, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43,
+ 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x2f, 0x0a, 0x19, 0x47,
+ 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x50, 0x0a, 0x1a,
+ 0x47, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x32, 0x0a, 0x05, 0x75, 0x73,
+ 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73, 0x61,
+ 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x22, 0xc1,
+ 0x01, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x0e, 0x6e,
+ 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x02, 0x20,
+ 0x02, 0x28, 0x04, 0x52, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x51, 0x75,
+ 0x6f, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x11, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, 0x70,
+ 0x61, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x11,
+ 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74,
+ 0x61, 0x12, 0x3f, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79,
+ 0x70, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x11,
+ 0x46, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03,
+ 0x73, 0x72, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,
+ 0x02, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6c,
+ 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x12, 0x3a, 0x02, 0x2d, 0x31, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x19, 0x0a, 0x06, 0x66, 0x69, 0x6c,
+ 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x06, 0x66, 0x69,
+ 0x6c, 0x65, 0x49, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x46, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x14, 0x53, 0x65,
+ 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52,
+ 0x03, 0x73, 0x72, 0x63, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20,
+ 0x02, 0x28, 0x04, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x74,
+ 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05, 0x61, 0x74, 0x69, 0x6d, 0x65,
+ 0x22, 0x17, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x19, 0x43, 0x72,
+ 0x65, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65,
+ 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12,
+ 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x6c,
+ 0x69, 0x6e, 0x6b, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x69, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x18, 0x03,
+ 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x46, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x64, 0x69, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x12, 0x22, 0x0a,
+ 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20,
+ 0x02, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x65, 0x6e,
+ 0x74, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x6c, 0x69,
+ 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22,
+ 0x2f, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04,
+ 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68,
+ 0x22, 0x3c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65,
+ 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e,
+ 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x7b,
+ 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x6f, 0x72,
+ 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x35, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
+ 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52,
+ 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x5b, 0x0a, 0x23, 0x55,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x50, 0x69, 0x70,
+ 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x34, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x90, 0x02, 0x0a, 0x1a, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e,
+ 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69,
+ 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3b, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x18, 0x03, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x12, 0x38, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73,
+ 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x44, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52,
+ 0x0a, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x44, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x55,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x20, 0x53, 0x65,
+ 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64,
+ 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c,
+ 0x0a, 0x09, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x03, 0x52, 0x09, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x22, 0x23, 0x0a, 0x21,
+ 0x53, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77,
+ 0x69, 0x64, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x22, 0x22, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x63, 0x72,
+ 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61,
+ 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x51, 0x0a, 0x11, 0x64, 0x61,
+ 0x74, 0x61, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61,
+ 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x22, 0x64, 0x0a,
+ 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x73,
+ 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x09, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12,
+ 0x22, 0x0a, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x4e,
+ 0x61, 0x6d, 0x65, 0x22, 0x41, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6e, 0x61,
+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x50, 0x61,
+ 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x94, 0x01, 0x0a, 0x1a, 0x52, 0x65, 0x6e, 0x61, 0x6d,
+ 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
+ 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6e, 0x61,
+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x6e, 0x61,
+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x4f, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x4f, 0x6c, 0x64, 0x4e,
+ 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x4e,
+ 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6e,
+ 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x4e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1d, 0x0a,
+ 0x1b, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x19,
+ 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6e, 0x61,
+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52,
+ 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x1c, 0x0a,
+ 0x1a, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x1c, 0x44,
+ 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x73,
+ 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x09, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x22,
+ 0x1f, 0x0a, 0x1d, 0x44, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x6e, 0x61, 0x70, 0x73,
+ 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x22, 0x64, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22,
+ 0x0a, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f,
+ 0x6f, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x4e, 0x61,
+ 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
+ 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x63,
+ 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04,
+ 0x70, 0x61, 0x74, 0x68, 0x12, 0x3c, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46,
+ 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x6d, 0x6f,
+ 0x64, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x63, 0x63, 0x65, 0x73,
+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x23,
+ 0x0a, 0x21, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x64, 0x69, 0x74,
+ 0x4c, 0x6f, 0x67, 0x54, 0x78, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e,
+ 0x74, 0x45, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x54, 0x78, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69,
+ 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x22, 0x32, 0x0a,
+ 0x1c, 0x47, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x78, 0x69,
+ 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a,
+ 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x04, 0x74, 0x78, 0x69,
+ 0x64, 0x22, 0x5d, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, 0x73, 0x46, 0x72, 0x6f,
+ 0x6d, 0x54, 0x78, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x3c, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74,
+ 0x22, 0x76, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x46, 0x69, 0x6c, 0x65,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a,
+ 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a,
+ 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x46,
+ 0x69, 0x6c, 0x65, 0x73, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x74,
+ 0x79, 0x70, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x87, 0x01, 0x0a, 0x1b, 0x4f, 0x70, 0x65,
+ 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1e, 0x0a, 0x0a,
+ 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d,
+ 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20,
+ 0x02, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69,
+ 0x6e, 0x65, 0x22, 0xb1, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x46,
+ 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x42, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x65, 0x6e,
+ 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65, 0x12,
+ 0x35, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4f, 0x70, 0x65,
+ 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x4d, 0x73, 0x79, 0x6e, 0x63, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x4d,
+ 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x22, 0x34, 0x0a, 0x20, 0x53, 0x61, 0x74, 0x69, 0x73, 0x66, 0x79, 0x53, 0x74, 0x6f, 0x72,
+ 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02,
+ 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x22, 0x23, 0x0a, 0x21, 0x53, 0x61, 0x74, 0x69, 0x73,
+ 0x66, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a,
+ 0x48, 0x41, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x1b, 0x48, 0x41,
+ 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x48, 0x41, 0x53, 0x65, 0x72, 0x76, 0x69,
+ 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x73, 0x74,
+ 0x61, 0x74, 0x65, 0x2a, 0x70, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x61,
+ 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45,
+ 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x56, 0x45, 0x52, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10,
+ 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44, 0x10, 0x04, 0x12, 0x10, 0x0a,
+ 0x0c, 0x4c, 0x41, 0x5a, 0x59, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x49, 0x53, 0x54, 0x10, 0x10, 0x12,
+ 0x0d, 0x0a, 0x09, 0x4e, 0x45, 0x57, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x20, 0x12, 0x15,
+ 0x0a, 0x10, 0x53, 0x48, 0x4f, 0x55, 0x4c, 0x44, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41,
+ 0x54, 0x45, 0x10, 0x80, 0x01, 0x2a, 0x43, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x46, 0x6c, 0x61, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x4f,
+ 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x01, 0x12, 0x1a,
+ 0x0a, 0x16, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f,
+ 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x02, 0x2a, 0x79, 0x0a, 0x17, 0x44, 0x61,
+ 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x08,
+ 0x0a, 0x04, 0x4c, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x45, 0x41, 0x44,
+ 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x45, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x53, 0x53, 0x49,
+ 0x4f, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x4e, 0x54, 0x45, 0x52,
+ 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x10,
+ 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41,
+ 0x4e, 0x43, 0x45, 0x10, 0x06, 0x2a, 0x68, 0x0a, 0x13, 0x53, 0x61, 0x66, 0x65, 0x4d, 0x6f, 0x64,
+ 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x0e,
+ 0x53, 0x41, 0x46, 0x45, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x4c, 0x45, 0x41, 0x56, 0x45, 0x10, 0x01,
+ 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x41, 0x46, 0x45, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x45, 0x4e, 0x54,
+ 0x45, 0x52, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x41, 0x46, 0x45, 0x4d, 0x4f, 0x44, 0x45,
+ 0x5f, 0x47, 0x45, 0x54, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x41, 0x46, 0x45, 0x4d, 0x4f,
+ 0x44, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x45, 0x58, 0x49, 0x54, 0x10, 0x04, 0x2a,
+ 0x3f, 0x0a, 0x19, 0x52, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64,
+ 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x0a, 0x05,
+ 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x54, 0x41, 0x52, 0x54,
+ 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x49, 0x4e, 0x41, 0x4c, 0x49, 0x5a, 0x45, 0x10, 0x03,
+ 0x2a, 0x1b, 0x0a, 0x0e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x10, 0x01, 0x2a, 0x43, 0x0a,
+ 0x12, 0x4f, 0x70, 0x65, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x4c, 0x4c, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x5f,
+ 0x46, 0x49, 0x4c, 0x45, 0x53, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x42, 0x4c, 0x4f, 0x43, 0x4b,
+ 0x49, 0x4e, 0x47, 0x5f, 0x44, 0x45, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e,
+ 0x10, 0x02, 0x32, 0xfc, 0x58, 0x0a, 0x16, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d,
+ 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x6c, 0x0a,
+ 0x11, 0x67, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x12, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x6c, 0x0a, 0x11, 0x67,
+ 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73,
+ 0x12, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47,
+ 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65,
+ 0x72, 0x76, 0x65, 0x72, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x4b, 0x0a, 0x06, 0x63, 0x72, 0x65,
+ 0x61, 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x4b, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64,
+ 0x12, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41,
+ 0x70, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x63, 0x0a, 0x0e, 0x73, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74,
+ 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x69, 0x0a, 0x10, 0x73, 0x65, 0x74, 0x53,
+ 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x29, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x74,
+ 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
+ 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x6f, 0x0a, 0x12, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72,
+ 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x74, 0x6f,
+ 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x69, 0x0a, 0x10, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61,
+ 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x6f, 0x0a, 0x12, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x1a, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63,
+ 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x60, 0x0a, 0x0d, 0x73, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
+ 0x6e, 0x12, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x53, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69,
+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x51, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x21,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74,
+ 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x22, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x53, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x5d, 0x0a, 0x0c, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x41, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x62, 0x61, 0x6e, 0x64,
+ 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x51, 0x0a, 0x08, 0x61, 0x64, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x12, 0x21, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41,
+ 0x64, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x41, 0x64, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x78, 0x0a, 0x15, 0x67, 0x65, 0x74, 0x41, 0x64,
+ 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65,
+ 0x12, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47,
+ 0x65, 0x74, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61,
+ 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x1a, 0x2f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47,
+ 0x65, 0x74, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61,
+ 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x51, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x21, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x70,
+ 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x1a, 0x22, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43,
+ 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x66, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x61,
+ 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x61, 0x64, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x4b, 0x0a, 0x06,
+ 0x63, 0x6f, 0x6e, 0x63, 0x61, 0x74, 0x12, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x51, 0x0a, 0x08, 0x74, 0x72, 0x75,
+ 0x6e, 0x63, 0x61, 0x74, 0x65, 0x12, 0x21, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x4b, 0x0a, 0x06,
+ 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x4e, 0x0a, 0x07, 0x72, 0x65, 0x6e,
+ 0x61, 0x6d, 0x65, 0x32, 0x12, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x4b, 0x0a, 0x06, 0x64, 0x65, 0x6c,
+ 0x65, 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x4b, 0x0a, 0x06, 0x6d, 0x6b, 0x64, 0x69, 0x72, 0x73,
+ 0x12, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4d,
+ 0x6b, 0x64, 0x69, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x57, 0x0a, 0x0a, 0x67, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e,
+ 0x67, 0x12, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x6c, 0x0a, 0x11,
+ 0x67, 0x65, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e,
+ 0x67, 0x12, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x47, 0x65, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e,
+ 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x42,
+ 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x57, 0x0a, 0x0a, 0x72, 0x65,
+ 0x6e, 0x65, 0x77, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x4c, 0x65, 0x61, 0x73,
+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6e, 0x65,
+ 0x77, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x5d, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x4c, 0x65,
+ 0x61, 0x73, 0x65, 0x12, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72,
+ 0x4c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x58, 0x0a, 0x0a, 0x67, 0x65, 0x74, 0x46, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73,
+ 0x12, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47,
+ 0x65, 0x74, 0x46, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x84, 0x01, 0x0a,
+ 0x19, 0x67, 0x65, 0x74, 0x46, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x32, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x73, 0x52, 0x65,
+ 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61,
+ 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74,
+ 0x46, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x7b, 0x0a, 0x16, 0x67, 0x65, 0x74, 0x46, 0x73, 0x45, 0x43, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2f, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x46,
+ 0x73, 0x45, 0x43, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74, 0x61,
+ 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74,
+ 0x46, 0x73, 0x45, 0x43, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x74,
+ 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x6c, 0x0a, 0x11, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x52,
+ 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x52,
+ 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72,
+ 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x81,
+ 0x01, 0x0a, 0x18, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74,
+ 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x31, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74,
+ 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f,
+ 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74,
+ 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52,
+ 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x78, 0x0a, 0x15, 0x67, 0x65, 0x74, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72,
+ 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2e, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65,
+ 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65,
+ 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x5a, 0x0a, 0x0b,
+ 0x73, 0x65, 0x74, 0x53, 0x61, 0x66, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x61, 0x66,
+ 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x53, 0x65, 0x74, 0x53, 0x61, 0x66, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x60, 0x0a, 0x0d, 0x73, 0x61, 0x76, 0x65,
+ 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65,
+ 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x53, 0x61, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x54, 0x0a, 0x09, 0x72, 0x6f,
+ 0x6c, 0x6c, 0x45, 0x64, 0x69, 0x74, 0x73, 0x12, 0x22, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x45, 0x64, 0x69, 0x74, 0x73, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x45, 0x64,
+ 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x75, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x65,
+ 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x61,
+ 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x61, 0x69,
+ 0x6c, 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x5d, 0x0a, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65,
+ 0x73, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x4e, 0x6f, 0x64,
+ 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x66,
+ 0x72, 0x65, 0x73, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x66, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69,
+ 0x7a, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65,
+ 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64,
+ 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x60,
+ 0x0a, 0x0d, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
+ 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x55, 0x70,
+ 0x67, 0x72, 0x61, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x53, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x63, 0x0a, 0x0e, 0x72, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x67, 0x72, 0x61,
+ 0x64, 0x65, 0x12, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x69, 0x6e,
+ 0x67, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x78, 0x0a, 0x15, 0x6c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x72,
+ 0x72, 0x75, 0x70, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x2e,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73,
+ 0x74, 0x43, 0x6f, 0x72, 0x72, 0x75, 0x70, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73,
+ 0x74, 0x43, 0x6f, 0x72, 0x72, 0x75, 0x70, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x51, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x53, 0x61, 0x76, 0x65, 0x12, 0x21, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x61,
+ 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4d, 0x65, 0x74,
+ 0x61, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x5a, 0x0a, 0x0b, 0x67, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66,
+ 0x6f, 0x12, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66,
+ 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x6f,
+ 0x0a, 0x12, 0x67, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65,
+ 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c,
+ 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e,
+ 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x6c, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x12, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x1a, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41,
+ 0x64, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x75, 0x0a,
+ 0x14, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44,
+ 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69,
+ 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x75, 0x0a, 0x14, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x61,
+ 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x2d, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76,
+ 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,
+ 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x72, 0x0a, 0x13, 0x6c,
+ 0x69, 0x73, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x1a, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c,
+ 0x69, 0x73, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x5d, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x12,
+ 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x64,
+ 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f,
+ 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x66,
+ 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f,
+ 0x6c, 0x12, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79,
+ 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x66, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65,
+ 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x61,
+ 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f,
+ 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x63,
+ 0x0a, 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x73,
+ 0x12, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c,
+ 0x69, 0x73, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x61, 0x63, 0x68,
+ 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x66, 0x0a, 0x0f, 0x67, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x4c, 0x69,
+ 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x6e, 0x6b,
+ 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x1a, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47,
+ 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x6c, 0x0a, 0x11, 0x67,
+ 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79,
+ 0x12, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47,
+ 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f,
+ 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x51, 0x0a, 0x08, 0x73, 0x65, 0x74,
+ 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x21, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x48, 0x0a, 0x05,
+ 0x66, 0x73, 0x79, 0x6e, 0x63, 0x12, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x51, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x54, 0x69, 0x6d,
+ 0x65, 0x73, 0x12, 0x21, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x53, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x60, 0x0a, 0x0d, 0x63, 0x72, 0x65,
+ 0x61, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x26, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53,
+ 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x1a, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x60, 0x0a, 0x0d, 0x67,
+ 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x26, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69,
+ 0x6e, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x7b, 0x0a,
+ 0x16, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x50,
+ 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x2f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x46, 0x6f, 0x72, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x63, 0x0a, 0x0e, 0x75, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x27, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69,
+ 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x73, 0x0a, 0x12, 0x67, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63,
+ 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f,
+ 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x79, 0x0a, 0x14, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x44, 0x65, 0x6c,
+ 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2f, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6e,
+ 0x65, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65,
+ 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65,
+ 0x6e, 0x65, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b,
+ 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x7c, 0x0a, 0x15, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x44,
+ 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65,
+ 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x75, 0x0a,
+ 0x14, 0x73, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x64,
+ 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x42,
+ 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x42, 0x61,
+ 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x75, 0x0a, 0x14, 0x67, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x45,
+ 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x2d, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61,
+ 0x74, 0x61, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74,
+ 0x61, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x63, 0x0a, 0x0e, 0x63,
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x27, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61,
+ 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73,
+ 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x63, 0x0a, 0x0e, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x12, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65,
+ 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x60, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x6e,
+ 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x6c, 0x6c,
+ 0x6f, 0x77, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x69, 0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x6c,
+ 0x6c, 0x6f, 0x77, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x29, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x6c, 0x6c,
+ 0x6f, 0x77, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x6e, 0x61,
+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x87, 0x01, 0x0a, 0x1a, 0x67, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e,
+ 0x67, 0x12, 0x33, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65,
+ 0x44, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
+ 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x63, 0x0a, 0x0e,
+ 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x27,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x65, 0x6c,
+ 0x65, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70,
+ 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x78, 0x0a, 0x15, 0x67, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
+ 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x2e, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70,
+ 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70,
+ 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x8d, 0x01, 0x0a, 0x1c,
+ 0x67, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52,
+ 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x35, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6e,
+ 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
+ 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66,
+ 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x5d, 0x0a, 0x0c, 0x69,
+ 0x73, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x25, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x49, 0x73, 0x46, 0x69, 0x6c, 0x65,
+ 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x1a, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x49, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x69, 0x0a, 0x10, 0x6d, 0x6f,
+ 0x64, 0x69, 0x66, 0x79, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x29,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4d, 0x6f, 0x64,
+ 0x69, 0x66, 0x79, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x41, 0x63,
+ 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x69, 0x0a, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41,
+ 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x63,
+ 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72,
+ 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x69, 0x0a, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c,
+ 0x74, 0x41, 0x63, 0x6c, 0x12, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
+ 0x41, 0x63, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
+ 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65,
+ 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x63, 0x6c, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x54, 0x0a, 0x09, 0x72,
+ 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x63, 0x6c, 0x12, 0x22, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x63, 0x6c,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76,
+ 0x65, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x4b, 0x0a, 0x06, 0x73, 0x65, 0x74, 0x41, 0x63, 0x6c, 0x12, 0x1f, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x63, 0x6c,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x63,
+ 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x5d,
+ 0x0a, 0x0c, 0x67, 0x65, 0x74, 0x41, 0x63, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74,
+ 0x41, 0x63, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x51, 0x0a,
+ 0x08, 0x73, 0x65, 0x74, 0x58, 0x41, 0x74, 0x74, 0x72, 0x12, 0x21, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x58, 0x41, 0x74, 0x74, 0x72,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x58, 0x41,
+ 0x74, 0x74, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x54, 0x0a, 0x09, 0x67, 0x65, 0x74, 0x58, 0x41, 0x74, 0x74, 0x72, 0x73, 0x12, 0x22, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x58,
+ 0x41, 0x74, 0x74, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x47, 0x65, 0x74, 0x58, 0x41, 0x74, 0x74, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x57, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x58, 0x41,
+ 0x74, 0x74, 0x72, 0x73, 0x12, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x58, 0x41, 0x74, 0x74, 0x72, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x58, 0x41, 0x74, 0x74,
+ 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x5a, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x58, 0x41, 0x74, 0x74, 0x72, 0x12, 0x24,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d,
+ 0x6f, 0x76, 0x65, 0x58, 0x41, 0x74, 0x74, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x58, 0x41, 0x74, 0x74, 0x72, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x5a, 0x0a, 0x0b, 0x63,
+ 0x68, 0x65, 0x63, 0x6b, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x24, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x63,
+ 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x1a, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43,
+ 0x68, 0x65, 0x63, 0x6b, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x75, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74,
+ 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a, 0x6f, 0x6e, 0x65, 0x12,
+ 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x72,
+ 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a, 0x6f,
+ 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x72, 0x65,
+ 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a, 0x6f, 0x6e,
+ 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x72,
+ 0x0a, 0x13, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x12, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x7e, 0x0a, 0x17, 0x72, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x45,
+ 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x30, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x65, 0x6e,
+ 0x63, 0x72, 0x79, 0x70, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a,
+ 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
+ 0x31, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65,
+ 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x5a, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x7b, 0x0a, 0x16, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72,
+ 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52,
+ 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74,
+ 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74,
+ 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x5d, 0x0a, 0x0c, 0x67, 0x65, 0x74, 0x45, 0x5a, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12,
+ 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65,
+ 0x74, 0x45, 0x5a, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x5a, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74,
+ 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x7b,
+ 0x0a, 0x16, 0x73, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69,
+ 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72,
+ 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75,
+ 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x81, 0x01, 0x0a, 0x18,
+ 0x75, 0x6e, 0x73, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69,
+ 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x31, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73,
+ 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x45,
+ 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x93, 0x01, 0x0a, 0x1e, 0x67, 0x65, 0x74, 0x45, 0x43, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67,
+ 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
+ 0x65, 0x73, 0x12, 0x37, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x47, 0x65, 0x74, 0x45, 0x43, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x52, 0x65,
+ 0x73, 0x75, 0x6c, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x38, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x43, 0x54,
+ 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x46, 0x6f, 0x72,
+ 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x78, 0x0a, 0x15, 0x67, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72,
+ 0x65, 0x6e, 0x74, 0x45, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x54, 0x78, 0x69, 0x64, 0x12, 0x2e,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74,
+ 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x54, 0x78,
+ 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74,
+ 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x45, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x54, 0x78,
+ 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x69, 0x0a, 0x10, 0x67, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54,
+ 0x78, 0x69, 0x64, 0x12, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x78,
+ 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74,
+ 0x45, 0x64, 0x69, 0x74, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x78, 0x69, 0x64, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x81, 0x01, 0x0a, 0x18, 0x67,
+ 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50,
+ 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x31, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65,
+ 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73,
+ 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x81,
+ 0x01, 0x0a, 0x18, 0x61, 0x64, 0x64, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64,
+ 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x31, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x45, 0x72, 0x61,
+ 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
+ 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x64, 0x64,
+ 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x84, 0x01, 0x0a, 0x19, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x45, 0x72, 0x61,
+ 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
+ 0x12, 0x32, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52,
+ 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69,
+ 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65,
+ 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x84, 0x01, 0x0a, 0x19, 0x65, 0x6e,
+ 0x61, 0x62, 0x6c, 0x65, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e,
+ 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x32, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x72, 0x61, 0x73,
+ 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
+ 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x87, 0x01, 0x0a, 0x1a, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x72, 0x61, 0x73,
+ 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12,
+ 0x33, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x69,
+ 0x73, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69,
+ 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72,
+ 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x7b, 0x0a, 0x16, 0x67, 0x65,
+ 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64,
+ 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f,
+ 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x7b, 0x0a, 0x16, 0x67, 0x65, 0x74, 0x45, 0x72,
+ 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x63,
+ 0x73, 0x12, 0x2f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x47, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67,
+ 0x43, 0x6f, 0x64, 0x65, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x1a, 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x47, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e,
+ 0x67, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x60, 0x0a, 0x0d, 0x67, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61,
+ 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73, 0x61, 0x67,
+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x51,
+ 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x60, 0x0a, 0x0d, 0x6c, 0x69, 0x73, 0x74, 0x4f, 0x70,
+ 0x65, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x46, 0x69,
+ 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
+ 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69,
+ 0x73, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x48, 0x0a, 0x05, 0x6d, 0x73, 0x79, 0x6e,
+ 0x63, 0x12, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x4d, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x4d, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x75, 0x0a, 0x14, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x79, 0x53, 0x74, 0x6f,
+ 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2d, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x61, 0x74, 0x69, 0x73, 0x66, 0x79,
+ 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x61, 0x74, 0x69, 0x73, 0x66, 0x79, 0x53,
+ 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x66, 0x0a, 0x11, 0x67, 0x65, 0x74,
+ 0x48, 0x41, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x48, 0x41, 0x53,
+ 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x48, 0x41, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53,
+ 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x42, 0x87, 0x01, 0x0a, 0x25, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x1c, 0x43, 0x6c, 0x69,
+ 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75,
+ 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f,
+ 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
+ 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x5f, 0x68, 0x64, 0x66, 0x73, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_ClientNamenodeProtocol_proto_rawDescOnce sync.Once
+ file_ClientNamenodeProtocol_proto_rawDescData = file_ClientNamenodeProtocol_proto_rawDesc
+)
+
+func file_ClientNamenodeProtocol_proto_rawDescGZIP() []byte {
+ file_ClientNamenodeProtocol_proto_rawDescOnce.Do(func() {
+ file_ClientNamenodeProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_ClientNamenodeProtocol_proto_rawDescData)
+ })
+ return file_ClientNamenodeProtocol_proto_rawDescData
+}
+
+var file_ClientNamenodeProtocol_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
+var file_ClientNamenodeProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 170)
+var file_ClientNamenodeProtocol_proto_goTypes = []interface{}{
+ (CreateFlagProto)(0), // 0: hadoop.hdfs.CreateFlagProto
+ (AddBlockFlagProto)(0), // 1: hadoop.hdfs.AddBlockFlagProto
+ (DatanodeReportTypeProto)(0), // 2: hadoop.hdfs.DatanodeReportTypeProto
+ (SafeModeActionProto)(0), // 3: hadoop.hdfs.SafeModeActionProto
+ (RollingUpgradeActionProto)(0), // 4: hadoop.hdfs.RollingUpgradeActionProto
+ (CacheFlagProto)(0), // 5: hadoop.hdfs.CacheFlagProto
+ (OpenFilesTypeProto)(0), // 6: hadoop.hdfs.OpenFilesTypeProto
+ (*GetBlockLocationsRequestProto)(nil), // 7: hadoop.hdfs.GetBlockLocationsRequestProto
+ (*GetBlockLocationsResponseProto)(nil), // 8: hadoop.hdfs.GetBlockLocationsResponseProto
+ (*GetServerDefaultsRequestProto)(nil), // 9: hadoop.hdfs.GetServerDefaultsRequestProto
+ (*GetServerDefaultsResponseProto)(nil), // 10: hadoop.hdfs.GetServerDefaultsResponseProto
+ (*CreateRequestProto)(nil), // 11: hadoop.hdfs.CreateRequestProto
+ (*CreateResponseProto)(nil), // 12: hadoop.hdfs.CreateResponseProto
+ (*AppendRequestProto)(nil), // 13: hadoop.hdfs.AppendRequestProto
+ (*AppendResponseProto)(nil), // 14: hadoop.hdfs.AppendResponseProto
+ (*SetReplicationRequestProto)(nil), // 15: hadoop.hdfs.SetReplicationRequestProto
+ (*SetReplicationResponseProto)(nil), // 16: hadoop.hdfs.SetReplicationResponseProto
+ (*SetStoragePolicyRequestProto)(nil), // 17: hadoop.hdfs.SetStoragePolicyRequestProto
+ (*SetStoragePolicyResponseProto)(nil), // 18: hadoop.hdfs.SetStoragePolicyResponseProto
+ (*UnsetStoragePolicyRequestProto)(nil), // 19: hadoop.hdfs.UnsetStoragePolicyRequestProto
+ (*UnsetStoragePolicyResponseProto)(nil), // 20: hadoop.hdfs.UnsetStoragePolicyResponseProto
+ (*GetStoragePolicyRequestProto)(nil), // 21: hadoop.hdfs.GetStoragePolicyRequestProto
+ (*GetStoragePolicyResponseProto)(nil), // 22: hadoop.hdfs.GetStoragePolicyResponseProto
+ (*GetStoragePoliciesRequestProto)(nil), // 23: hadoop.hdfs.GetStoragePoliciesRequestProto
+ (*GetStoragePoliciesResponseProto)(nil), // 24: hadoop.hdfs.GetStoragePoliciesResponseProto
+ (*SetPermissionRequestProto)(nil), // 25: hadoop.hdfs.SetPermissionRequestProto
+ (*SetPermissionResponseProto)(nil), // 26: hadoop.hdfs.SetPermissionResponseProto
+ (*SetOwnerRequestProto)(nil), // 27: hadoop.hdfs.SetOwnerRequestProto
+ (*SetOwnerResponseProto)(nil), // 28: hadoop.hdfs.SetOwnerResponseProto
+ (*AbandonBlockRequestProto)(nil), // 29: hadoop.hdfs.AbandonBlockRequestProto
+ (*AbandonBlockResponseProto)(nil), // 30: hadoop.hdfs.AbandonBlockResponseProto
+ (*AddBlockRequestProto)(nil), // 31: hadoop.hdfs.AddBlockRequestProto
+ (*AddBlockResponseProto)(nil), // 32: hadoop.hdfs.AddBlockResponseProto
+ (*GetAdditionalDatanodeRequestProto)(nil), // 33: hadoop.hdfs.GetAdditionalDatanodeRequestProto
+ (*GetAdditionalDatanodeResponseProto)(nil), // 34: hadoop.hdfs.GetAdditionalDatanodeResponseProto
+ (*CompleteRequestProto)(nil), // 35: hadoop.hdfs.CompleteRequestProto
+ (*CompleteResponseProto)(nil), // 36: hadoop.hdfs.CompleteResponseProto
+ (*ReportBadBlocksRequestProto)(nil), // 37: hadoop.hdfs.ReportBadBlocksRequestProto
+ (*ReportBadBlocksResponseProto)(nil), // 38: hadoop.hdfs.ReportBadBlocksResponseProto
+ (*ConcatRequestProto)(nil), // 39: hadoop.hdfs.ConcatRequestProto
+ (*ConcatResponseProto)(nil), // 40: hadoop.hdfs.ConcatResponseProto
+ (*TruncateRequestProto)(nil), // 41: hadoop.hdfs.TruncateRequestProto
+ (*TruncateResponseProto)(nil), // 42: hadoop.hdfs.TruncateResponseProto
+ (*RenameRequestProto)(nil), // 43: hadoop.hdfs.RenameRequestProto
+ (*RenameResponseProto)(nil), // 44: hadoop.hdfs.RenameResponseProto
+ (*Rename2RequestProto)(nil), // 45: hadoop.hdfs.Rename2RequestProto
+ (*Rename2ResponseProto)(nil), // 46: hadoop.hdfs.Rename2ResponseProto
+ (*DeleteRequestProto)(nil), // 47: hadoop.hdfs.DeleteRequestProto
+ (*DeleteResponseProto)(nil), // 48: hadoop.hdfs.DeleteResponseProto
+ (*MkdirsRequestProto)(nil), // 49: hadoop.hdfs.MkdirsRequestProto
+ (*MkdirsResponseProto)(nil), // 50: hadoop.hdfs.MkdirsResponseProto
+ (*GetListingRequestProto)(nil), // 51: hadoop.hdfs.GetListingRequestProto
+ (*GetListingResponseProto)(nil), // 52: hadoop.hdfs.GetListingResponseProto
+ (*GetBatchedListingRequestProto)(nil), // 53: hadoop.hdfs.GetBatchedListingRequestProto
+ (*GetBatchedListingResponseProto)(nil), // 54: hadoop.hdfs.GetBatchedListingResponseProto
+ (*GetSnapshottableDirListingRequestProto)(nil), // 55: hadoop.hdfs.GetSnapshottableDirListingRequestProto
+ (*GetSnapshottableDirListingResponseProto)(nil), // 56: hadoop.hdfs.GetSnapshottableDirListingResponseProto
+ (*GetSnapshotDiffReportRequestProto)(nil), // 57: hadoop.hdfs.GetSnapshotDiffReportRequestProto
+ (*GetSnapshotDiffReportResponseProto)(nil), // 58: hadoop.hdfs.GetSnapshotDiffReportResponseProto
+ (*GetSnapshotDiffReportListingRequestProto)(nil), // 59: hadoop.hdfs.GetSnapshotDiffReportListingRequestProto
+ (*GetSnapshotDiffReportListingResponseProto)(nil), // 60: hadoop.hdfs.GetSnapshotDiffReportListingResponseProto
+ (*RenewLeaseRequestProto)(nil), // 61: hadoop.hdfs.RenewLeaseRequestProto
+ (*RenewLeaseResponseProto)(nil), // 62: hadoop.hdfs.RenewLeaseResponseProto
+ (*RecoverLeaseRequestProto)(nil), // 63: hadoop.hdfs.RecoverLeaseRequestProto
+ (*RecoverLeaseResponseProto)(nil), // 64: hadoop.hdfs.RecoverLeaseResponseProto
+ (*GetFsStatusRequestProto)(nil), // 65: hadoop.hdfs.GetFsStatusRequestProto
+ (*GetFsStatsResponseProto)(nil), // 66: hadoop.hdfs.GetFsStatsResponseProto
+ (*GetFsReplicatedBlockStatsRequestProto)(nil), // 67: hadoop.hdfs.GetFsReplicatedBlockStatsRequestProto
+ (*GetFsReplicatedBlockStatsResponseProto)(nil), // 68: hadoop.hdfs.GetFsReplicatedBlockStatsResponseProto
+ (*GetFsECBlockGroupStatsRequestProto)(nil), // 69: hadoop.hdfs.GetFsECBlockGroupStatsRequestProto
+ (*GetFsECBlockGroupStatsResponseProto)(nil), // 70: hadoop.hdfs.GetFsECBlockGroupStatsResponseProto
+ (*GetDatanodeReportRequestProto)(nil), // 71: hadoop.hdfs.GetDatanodeReportRequestProto
+ (*GetDatanodeReportResponseProto)(nil), // 72: hadoop.hdfs.GetDatanodeReportResponseProto
+ (*GetDatanodeStorageReportRequestProto)(nil), // 73: hadoop.hdfs.GetDatanodeStorageReportRequestProto
+ (*DatanodeStorageReportProto)(nil), // 74: hadoop.hdfs.DatanodeStorageReportProto
+ (*GetDatanodeStorageReportResponseProto)(nil), // 75: hadoop.hdfs.GetDatanodeStorageReportResponseProto
+ (*GetPreferredBlockSizeRequestProto)(nil), // 76: hadoop.hdfs.GetPreferredBlockSizeRequestProto
+ (*GetPreferredBlockSizeResponseProto)(nil), // 77: hadoop.hdfs.GetPreferredBlockSizeResponseProto
+ (*SetSafeModeRequestProto)(nil), // 78: hadoop.hdfs.SetSafeModeRequestProto
+ (*SetSafeModeResponseProto)(nil), // 79: hadoop.hdfs.SetSafeModeResponseProto
+ (*SaveNamespaceRequestProto)(nil), // 80: hadoop.hdfs.SaveNamespaceRequestProto
+ (*SaveNamespaceResponseProto)(nil), // 81: hadoop.hdfs.SaveNamespaceResponseProto
+ (*RollEditsRequestProto)(nil), // 82: hadoop.hdfs.RollEditsRequestProto
+ (*RollEditsResponseProto)(nil), // 83: hadoop.hdfs.RollEditsResponseProto
+ (*RestoreFailedStorageRequestProto)(nil), // 84: hadoop.hdfs.RestoreFailedStorageRequestProto
+ (*RestoreFailedStorageResponseProto)(nil), // 85: hadoop.hdfs.RestoreFailedStorageResponseProto
+ (*RefreshNodesRequestProto)(nil), // 86: hadoop.hdfs.RefreshNodesRequestProto
+ (*RefreshNodesResponseProto)(nil), // 87: hadoop.hdfs.RefreshNodesResponseProto
+ (*FinalizeUpgradeRequestProto)(nil), // 88: hadoop.hdfs.FinalizeUpgradeRequestProto
+ (*FinalizeUpgradeResponseProto)(nil), // 89: hadoop.hdfs.FinalizeUpgradeResponseProto
+ (*UpgradeStatusRequestProto)(nil), // 90: hadoop.hdfs.UpgradeStatusRequestProto
+ (*UpgradeStatusResponseProto)(nil), // 91: hadoop.hdfs.UpgradeStatusResponseProto
+ (*RollingUpgradeRequestProto)(nil), // 92: hadoop.hdfs.RollingUpgradeRequestProto
+ (*RollingUpgradeInfoProto)(nil), // 93: hadoop.hdfs.RollingUpgradeInfoProto
+ (*RollingUpgradeResponseProto)(nil), // 94: hadoop.hdfs.RollingUpgradeResponseProto
+ (*ListCorruptFileBlocksRequestProto)(nil), // 95: hadoop.hdfs.ListCorruptFileBlocksRequestProto
+ (*ListCorruptFileBlocksResponseProto)(nil), // 96: hadoop.hdfs.ListCorruptFileBlocksResponseProto
+ (*MetaSaveRequestProto)(nil), // 97: hadoop.hdfs.MetaSaveRequestProto
+ (*MetaSaveResponseProto)(nil), // 98: hadoop.hdfs.MetaSaveResponseProto
+ (*GetFileInfoRequestProto)(nil), // 99: hadoop.hdfs.GetFileInfoRequestProto
+ (*GetFileInfoResponseProto)(nil), // 100: hadoop.hdfs.GetFileInfoResponseProto
+ (*GetLocatedFileInfoRequestProto)(nil), // 101: hadoop.hdfs.GetLocatedFileInfoRequestProto
+ (*GetLocatedFileInfoResponseProto)(nil), // 102: hadoop.hdfs.GetLocatedFileInfoResponseProto
+ (*IsFileClosedRequestProto)(nil), // 103: hadoop.hdfs.IsFileClosedRequestProto
+ (*IsFileClosedResponseProto)(nil), // 104: hadoop.hdfs.IsFileClosedResponseProto
+ (*CacheDirectiveInfoProto)(nil), // 105: hadoop.hdfs.CacheDirectiveInfoProto
+ (*CacheDirectiveInfoExpirationProto)(nil), // 106: hadoop.hdfs.CacheDirectiveInfoExpirationProto
+ (*CacheDirectiveStatsProto)(nil), // 107: hadoop.hdfs.CacheDirectiveStatsProto
+ (*AddCacheDirectiveRequestProto)(nil), // 108: hadoop.hdfs.AddCacheDirectiveRequestProto
+ (*AddCacheDirectiveResponseProto)(nil), // 109: hadoop.hdfs.AddCacheDirectiveResponseProto
+ (*ModifyCacheDirectiveRequestProto)(nil), // 110: hadoop.hdfs.ModifyCacheDirectiveRequestProto
+ (*ModifyCacheDirectiveResponseProto)(nil), // 111: hadoop.hdfs.ModifyCacheDirectiveResponseProto
+ (*RemoveCacheDirectiveRequestProto)(nil), // 112: hadoop.hdfs.RemoveCacheDirectiveRequestProto
+ (*RemoveCacheDirectiveResponseProto)(nil), // 113: hadoop.hdfs.RemoveCacheDirectiveResponseProto
+ (*ListCacheDirectivesRequestProto)(nil), // 114: hadoop.hdfs.ListCacheDirectivesRequestProto
+ (*CacheDirectiveEntryProto)(nil), // 115: hadoop.hdfs.CacheDirectiveEntryProto
+ (*ListCacheDirectivesResponseProto)(nil), // 116: hadoop.hdfs.ListCacheDirectivesResponseProto
+ (*CachePoolInfoProto)(nil), // 117: hadoop.hdfs.CachePoolInfoProto
+ (*CachePoolStatsProto)(nil), // 118: hadoop.hdfs.CachePoolStatsProto
+ (*AddCachePoolRequestProto)(nil), // 119: hadoop.hdfs.AddCachePoolRequestProto
+ (*AddCachePoolResponseProto)(nil), // 120: hadoop.hdfs.AddCachePoolResponseProto
+ (*ModifyCachePoolRequestProto)(nil), // 121: hadoop.hdfs.ModifyCachePoolRequestProto
+ (*ModifyCachePoolResponseProto)(nil), // 122: hadoop.hdfs.ModifyCachePoolResponseProto
+ (*RemoveCachePoolRequestProto)(nil), // 123: hadoop.hdfs.RemoveCachePoolRequestProto
+ (*RemoveCachePoolResponseProto)(nil), // 124: hadoop.hdfs.RemoveCachePoolResponseProto
+ (*ListCachePoolsRequestProto)(nil), // 125: hadoop.hdfs.ListCachePoolsRequestProto
+ (*ListCachePoolsResponseProto)(nil), // 126: hadoop.hdfs.ListCachePoolsResponseProto
+ (*CachePoolEntryProto)(nil), // 127: hadoop.hdfs.CachePoolEntryProto
+ (*GetFileLinkInfoRequestProto)(nil), // 128: hadoop.hdfs.GetFileLinkInfoRequestProto
+ (*GetFileLinkInfoResponseProto)(nil), // 129: hadoop.hdfs.GetFileLinkInfoResponseProto
+ (*GetContentSummaryRequestProto)(nil), // 130: hadoop.hdfs.GetContentSummaryRequestProto
+ (*GetContentSummaryResponseProto)(nil), // 131: hadoop.hdfs.GetContentSummaryResponseProto
+ (*GetQuotaUsageRequestProto)(nil), // 132: hadoop.hdfs.GetQuotaUsageRequestProto
+ (*GetQuotaUsageResponseProto)(nil), // 133: hadoop.hdfs.GetQuotaUsageResponseProto
+ (*SetQuotaRequestProto)(nil), // 134: hadoop.hdfs.SetQuotaRequestProto
+ (*SetQuotaResponseProto)(nil), // 135: hadoop.hdfs.SetQuotaResponseProto
+ (*FsyncRequestProto)(nil), // 136: hadoop.hdfs.FsyncRequestProto
+ (*FsyncResponseProto)(nil), // 137: hadoop.hdfs.FsyncResponseProto
+ (*SetTimesRequestProto)(nil), // 138: hadoop.hdfs.SetTimesRequestProto
+ (*SetTimesResponseProto)(nil), // 139: hadoop.hdfs.SetTimesResponseProto
+ (*CreateSymlinkRequestProto)(nil), // 140: hadoop.hdfs.CreateSymlinkRequestProto
+ (*CreateSymlinkResponseProto)(nil), // 141: hadoop.hdfs.CreateSymlinkResponseProto
+ (*GetLinkTargetRequestProto)(nil), // 142: hadoop.hdfs.GetLinkTargetRequestProto
+ (*GetLinkTargetResponseProto)(nil), // 143: hadoop.hdfs.GetLinkTargetResponseProto
+ (*UpdateBlockForPipelineRequestProto)(nil), // 144: hadoop.hdfs.UpdateBlockForPipelineRequestProto
+ (*UpdateBlockForPipelineResponseProto)(nil), // 145: hadoop.hdfs.UpdateBlockForPipelineResponseProto
+ (*UpdatePipelineRequestProto)(nil), // 146: hadoop.hdfs.UpdatePipelineRequestProto
+ (*UpdatePipelineResponseProto)(nil), // 147: hadoop.hdfs.UpdatePipelineResponseProto
+ (*SetBalancerBandwidthRequestProto)(nil), // 148: hadoop.hdfs.SetBalancerBandwidthRequestProto
+ (*SetBalancerBandwidthResponseProto)(nil), // 149: hadoop.hdfs.SetBalancerBandwidthResponseProto
+ (*GetDataEncryptionKeyRequestProto)(nil), // 150: hadoop.hdfs.GetDataEncryptionKeyRequestProto
+ (*GetDataEncryptionKeyResponseProto)(nil), // 151: hadoop.hdfs.GetDataEncryptionKeyResponseProto
+ (*CreateSnapshotRequestProto)(nil), // 152: hadoop.hdfs.CreateSnapshotRequestProto
+ (*CreateSnapshotResponseProto)(nil), // 153: hadoop.hdfs.CreateSnapshotResponseProto
+ (*RenameSnapshotRequestProto)(nil), // 154: hadoop.hdfs.RenameSnapshotRequestProto
+ (*RenameSnapshotResponseProto)(nil), // 155: hadoop.hdfs.RenameSnapshotResponseProto
+ (*AllowSnapshotRequestProto)(nil), // 156: hadoop.hdfs.AllowSnapshotRequestProto
+ (*AllowSnapshotResponseProto)(nil), // 157: hadoop.hdfs.AllowSnapshotResponseProto
+ (*DisallowSnapshotRequestProto)(nil), // 158: hadoop.hdfs.DisallowSnapshotRequestProto
+ (*DisallowSnapshotResponseProto)(nil), // 159: hadoop.hdfs.DisallowSnapshotResponseProto
+ (*DeleteSnapshotRequestProto)(nil), // 160: hadoop.hdfs.DeleteSnapshotRequestProto
+ (*DeleteSnapshotResponseProto)(nil), // 161: hadoop.hdfs.DeleteSnapshotResponseProto
+ (*CheckAccessRequestProto)(nil), // 162: hadoop.hdfs.CheckAccessRequestProto
+ (*CheckAccessResponseProto)(nil), // 163: hadoop.hdfs.CheckAccessResponseProto
+ (*GetCurrentEditLogTxidRequestProto)(nil), // 164: hadoop.hdfs.GetCurrentEditLogTxidRequestProto
+ (*GetCurrentEditLogTxidResponseProto)(nil), // 165: hadoop.hdfs.GetCurrentEditLogTxidResponseProto
+ (*GetEditsFromTxidRequestProto)(nil), // 166: hadoop.hdfs.GetEditsFromTxidRequestProto
+ (*GetEditsFromTxidResponseProto)(nil), // 167: hadoop.hdfs.GetEditsFromTxidResponseProto
+ (*ListOpenFilesRequestProto)(nil), // 168: hadoop.hdfs.ListOpenFilesRequestProto
+ (*OpenFilesBatchResponseProto)(nil), // 169: hadoop.hdfs.OpenFilesBatchResponseProto
+ (*ListOpenFilesResponseProto)(nil), // 170: hadoop.hdfs.ListOpenFilesResponseProto
+ (*MsyncRequestProto)(nil), // 171: hadoop.hdfs.MsyncRequestProto
+ (*MsyncResponseProto)(nil), // 172: hadoop.hdfs.MsyncResponseProto
+ (*SatisfyStoragePolicyRequestProto)(nil), // 173: hadoop.hdfs.SatisfyStoragePolicyRequestProto
+ (*SatisfyStoragePolicyResponseProto)(nil), // 174: hadoop.hdfs.SatisfyStoragePolicyResponseProto
+ (*HAServiceStateRequestProto)(nil), // 175: hadoop.hdfs.HAServiceStateRequestProto
+ (*HAServiceStateResponseProto)(nil), // 176: hadoop.hdfs.HAServiceStateResponseProto
+ (*LocatedBlocksProto)(nil), // 177: hadoop.hdfs.LocatedBlocksProto
+ (*FsServerDefaultsProto)(nil), // 178: hadoop.hdfs.FsServerDefaultsProto
+ (*FsPermissionProto)(nil), // 179: hadoop.hdfs.FsPermissionProto
+ (CryptoProtocolVersionProto)(0), // 180: hadoop.hdfs.CryptoProtocolVersionProto
+ (*HdfsFileStatusProto)(nil), // 181: hadoop.hdfs.HdfsFileStatusProto
+ (*LocatedBlockProto)(nil), // 182: hadoop.hdfs.LocatedBlockProto
+ (*BlockStoragePolicyProto)(nil), // 183: hadoop.hdfs.BlockStoragePolicyProto
+ (*ExtendedBlockProto)(nil), // 184: hadoop.hdfs.ExtendedBlockProto
+ (*DatanodeInfoProto)(nil), // 185: hadoop.hdfs.DatanodeInfoProto
+ (*DirectoryListingProto)(nil), // 186: hadoop.hdfs.DirectoryListingProto
+ (*BatchedDirectoryListingProto)(nil), // 187: hadoop.hdfs.BatchedDirectoryListingProto
+ (*SnapshottableDirectoryListingProto)(nil), // 188: hadoop.hdfs.SnapshottableDirectoryListingProto
+ (*SnapshotDiffReportProto)(nil), // 189: hadoop.hdfs.SnapshotDiffReportProto
+ (*SnapshotDiffReportCursorProto)(nil), // 190: hadoop.hdfs.SnapshotDiffReportCursorProto
+ (*SnapshotDiffReportListingProto)(nil), // 191: hadoop.hdfs.SnapshotDiffReportListingProto
+ (*StorageReportProto)(nil), // 192: hadoop.hdfs.StorageReportProto
+ (*RollingUpgradeStatusProto)(nil), // 193: hadoop.hdfs.RollingUpgradeStatusProto
+ (*CorruptFileBlocksProto)(nil), // 194: hadoop.hdfs.CorruptFileBlocksProto
+ (*ContentSummaryProto)(nil), // 195: hadoop.hdfs.ContentSummaryProto
+ (*QuotaUsageProto)(nil), // 196: hadoop.hdfs.QuotaUsageProto
+ (StorageTypeProto)(0), // 197: hadoop.hdfs.StorageTypeProto
+ (*DatanodeIDProto)(nil), // 198: hadoop.hdfs.DatanodeIDProto
+ (*DataEncryptionKeyProto)(nil), // 199: hadoop.hdfs.DataEncryptionKeyProto
+ (AclEntryProto_FsActionProto)(0), // 200: hadoop.hdfs.AclEntryProto.FsActionProto
+ (*EventsListProto)(nil), // 201: hadoop.hdfs.EventsListProto
+ (hadoop_common.HAServiceStateProto)(0), // 202: hadoop.common.HAServiceStateProto
+ (*hadoop_common.GetDelegationTokenRequestProto)(nil), // 203: hadoop.common.GetDelegationTokenRequestProto
+ (*hadoop_common.RenewDelegationTokenRequestProto)(nil), // 204: hadoop.common.RenewDelegationTokenRequestProto
+ (*hadoop_common.CancelDelegationTokenRequestProto)(nil), // 205: hadoop.common.CancelDelegationTokenRequestProto
+ (*ModifyAclEntriesRequestProto)(nil), // 206: hadoop.hdfs.ModifyAclEntriesRequestProto
+ (*RemoveAclEntriesRequestProto)(nil), // 207: hadoop.hdfs.RemoveAclEntriesRequestProto
+ (*RemoveDefaultAclRequestProto)(nil), // 208: hadoop.hdfs.RemoveDefaultAclRequestProto
+ (*RemoveAclRequestProto)(nil), // 209: hadoop.hdfs.RemoveAclRequestProto
+ (*SetAclRequestProto)(nil), // 210: hadoop.hdfs.SetAclRequestProto
+ (*GetAclStatusRequestProto)(nil), // 211: hadoop.hdfs.GetAclStatusRequestProto
+ (*SetXAttrRequestProto)(nil), // 212: hadoop.hdfs.SetXAttrRequestProto
+ (*GetXAttrsRequestProto)(nil), // 213: hadoop.hdfs.GetXAttrsRequestProto
+ (*ListXAttrsRequestProto)(nil), // 214: hadoop.hdfs.ListXAttrsRequestProto
+ (*RemoveXAttrRequestProto)(nil), // 215: hadoop.hdfs.RemoveXAttrRequestProto
+ (*CreateEncryptionZoneRequestProto)(nil), // 216: hadoop.hdfs.CreateEncryptionZoneRequestProto
+ (*ListEncryptionZonesRequestProto)(nil), // 217: hadoop.hdfs.ListEncryptionZonesRequestProto
+ (*ReencryptEncryptionZoneRequestProto)(nil), // 218: hadoop.hdfs.ReencryptEncryptionZoneRequestProto
+ (*ListReencryptionStatusRequestProto)(nil), // 219: hadoop.hdfs.ListReencryptionStatusRequestProto
+ (*GetEZForPathRequestProto)(nil), // 220: hadoop.hdfs.GetEZForPathRequestProto
+ (*SetErasureCodingPolicyRequestProto)(nil), // 221: hadoop.hdfs.SetErasureCodingPolicyRequestProto
+ (*UnsetErasureCodingPolicyRequestProto)(nil), // 222: hadoop.hdfs.UnsetErasureCodingPolicyRequestProto
+ (*GetECTopologyResultForPoliciesRequestProto)(nil), // 223: hadoop.hdfs.GetECTopologyResultForPoliciesRequestProto
+ (*GetErasureCodingPoliciesRequestProto)(nil), // 224: hadoop.hdfs.GetErasureCodingPoliciesRequestProto
+ (*AddErasureCodingPoliciesRequestProto)(nil), // 225: hadoop.hdfs.AddErasureCodingPoliciesRequestProto
+ (*RemoveErasureCodingPolicyRequestProto)(nil), // 226: hadoop.hdfs.RemoveErasureCodingPolicyRequestProto
+ (*EnableErasureCodingPolicyRequestProto)(nil), // 227: hadoop.hdfs.EnableErasureCodingPolicyRequestProto
+ (*DisableErasureCodingPolicyRequestProto)(nil), // 228: hadoop.hdfs.DisableErasureCodingPolicyRequestProto
+ (*GetErasureCodingPolicyRequestProto)(nil), // 229: hadoop.hdfs.GetErasureCodingPolicyRequestProto
+ (*GetErasureCodingCodecsRequestProto)(nil), // 230: hadoop.hdfs.GetErasureCodingCodecsRequestProto
+ (*hadoop_common.GetDelegationTokenResponseProto)(nil), // 231: hadoop.common.GetDelegationTokenResponseProto
+ (*hadoop_common.RenewDelegationTokenResponseProto)(nil), // 232: hadoop.common.RenewDelegationTokenResponseProto
+ (*hadoop_common.CancelDelegationTokenResponseProto)(nil), // 233: hadoop.common.CancelDelegationTokenResponseProto
+ (*ModifyAclEntriesResponseProto)(nil), // 234: hadoop.hdfs.ModifyAclEntriesResponseProto
+ (*RemoveAclEntriesResponseProto)(nil), // 235: hadoop.hdfs.RemoveAclEntriesResponseProto
+ (*RemoveDefaultAclResponseProto)(nil), // 236: hadoop.hdfs.RemoveDefaultAclResponseProto
+ (*RemoveAclResponseProto)(nil), // 237: hadoop.hdfs.RemoveAclResponseProto
+ (*SetAclResponseProto)(nil), // 238: hadoop.hdfs.SetAclResponseProto
+ (*GetAclStatusResponseProto)(nil), // 239: hadoop.hdfs.GetAclStatusResponseProto
+ (*SetXAttrResponseProto)(nil), // 240: hadoop.hdfs.SetXAttrResponseProto
+ (*GetXAttrsResponseProto)(nil), // 241: hadoop.hdfs.GetXAttrsResponseProto
+ (*ListXAttrsResponseProto)(nil), // 242: hadoop.hdfs.ListXAttrsResponseProto
+ (*RemoveXAttrResponseProto)(nil), // 243: hadoop.hdfs.RemoveXAttrResponseProto
+ (*CreateEncryptionZoneResponseProto)(nil), // 244: hadoop.hdfs.CreateEncryptionZoneResponseProto
+ (*ListEncryptionZonesResponseProto)(nil), // 245: hadoop.hdfs.ListEncryptionZonesResponseProto
+ (*ReencryptEncryptionZoneResponseProto)(nil), // 246: hadoop.hdfs.ReencryptEncryptionZoneResponseProto
+ (*ListReencryptionStatusResponseProto)(nil), // 247: hadoop.hdfs.ListReencryptionStatusResponseProto
+ (*GetEZForPathResponseProto)(nil), // 248: hadoop.hdfs.GetEZForPathResponseProto
+ (*SetErasureCodingPolicyResponseProto)(nil), // 249: hadoop.hdfs.SetErasureCodingPolicyResponseProto
+ (*UnsetErasureCodingPolicyResponseProto)(nil), // 250: hadoop.hdfs.UnsetErasureCodingPolicyResponseProto
+ (*GetECTopologyResultForPoliciesResponseProto)(nil), // 251: hadoop.hdfs.GetECTopologyResultForPoliciesResponseProto
+ (*GetErasureCodingPoliciesResponseProto)(nil), // 252: hadoop.hdfs.GetErasureCodingPoliciesResponseProto
+ (*AddErasureCodingPoliciesResponseProto)(nil), // 253: hadoop.hdfs.AddErasureCodingPoliciesResponseProto
+ (*RemoveErasureCodingPolicyResponseProto)(nil), // 254: hadoop.hdfs.RemoveErasureCodingPolicyResponseProto
+ (*EnableErasureCodingPolicyResponseProto)(nil), // 255: hadoop.hdfs.EnableErasureCodingPolicyResponseProto
+ (*DisableErasureCodingPolicyResponseProto)(nil), // 256: hadoop.hdfs.DisableErasureCodingPolicyResponseProto
+ (*GetErasureCodingPolicyResponseProto)(nil), // 257: hadoop.hdfs.GetErasureCodingPolicyResponseProto
+ (*GetErasureCodingCodecsResponseProto)(nil), // 258: hadoop.hdfs.GetErasureCodingCodecsResponseProto
+}
+var file_ClientNamenodeProtocol_proto_depIdxs = []int32{
+ 177, // 0: hadoop.hdfs.GetBlockLocationsResponseProto.locations:type_name -> hadoop.hdfs.LocatedBlocksProto
+ 178, // 1: hadoop.hdfs.GetServerDefaultsResponseProto.serverDefaults:type_name -> hadoop.hdfs.FsServerDefaultsProto
+ 179, // 2: hadoop.hdfs.CreateRequestProto.masked:type_name -> hadoop.hdfs.FsPermissionProto
+ 180, // 3: hadoop.hdfs.CreateRequestProto.cryptoProtocolVersion:type_name -> hadoop.hdfs.CryptoProtocolVersionProto
+ 179, // 4: hadoop.hdfs.CreateRequestProto.unmasked:type_name -> hadoop.hdfs.FsPermissionProto
+ 181, // 5: hadoop.hdfs.CreateResponseProto.fs:type_name -> hadoop.hdfs.HdfsFileStatusProto
+ 182, // 6: hadoop.hdfs.AppendResponseProto.block:type_name -> hadoop.hdfs.LocatedBlockProto
+ 181, // 7: hadoop.hdfs.AppendResponseProto.stat:type_name -> hadoop.hdfs.HdfsFileStatusProto
+ 183, // 8: hadoop.hdfs.GetStoragePolicyResponseProto.storagePolicy:type_name -> hadoop.hdfs.BlockStoragePolicyProto
+ 183, // 9: hadoop.hdfs.GetStoragePoliciesResponseProto.policies:type_name -> hadoop.hdfs.BlockStoragePolicyProto
+ 179, // 10: hadoop.hdfs.SetPermissionRequestProto.permission:type_name -> hadoop.hdfs.FsPermissionProto
+ 184, // 11: hadoop.hdfs.AbandonBlockRequestProto.b:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 184, // 12: hadoop.hdfs.AddBlockRequestProto.previous:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 185, // 13: hadoop.hdfs.AddBlockRequestProto.excludeNodes:type_name -> hadoop.hdfs.DatanodeInfoProto
+ 1, // 14: hadoop.hdfs.AddBlockRequestProto.flags:type_name -> hadoop.hdfs.AddBlockFlagProto
+ 182, // 15: hadoop.hdfs.AddBlockResponseProto.block:type_name -> hadoop.hdfs.LocatedBlockProto
+ 184, // 16: hadoop.hdfs.GetAdditionalDatanodeRequestProto.blk:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 185, // 17: hadoop.hdfs.GetAdditionalDatanodeRequestProto.existings:type_name -> hadoop.hdfs.DatanodeInfoProto
+ 185, // 18: hadoop.hdfs.GetAdditionalDatanodeRequestProto.excludes:type_name -> hadoop.hdfs.DatanodeInfoProto
+ 182, // 19: hadoop.hdfs.GetAdditionalDatanodeResponseProto.block:type_name -> hadoop.hdfs.LocatedBlockProto
+ 184, // 20: hadoop.hdfs.CompleteRequestProto.last:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 182, // 21: hadoop.hdfs.ReportBadBlocksRequestProto.blocks:type_name -> hadoop.hdfs.LocatedBlockProto
+ 179, // 22: hadoop.hdfs.MkdirsRequestProto.masked:type_name -> hadoop.hdfs.FsPermissionProto
+ 179, // 23: hadoop.hdfs.MkdirsRequestProto.unmasked:type_name -> hadoop.hdfs.FsPermissionProto
+ 186, // 24: hadoop.hdfs.GetListingResponseProto.dirList:type_name -> hadoop.hdfs.DirectoryListingProto
+ 187, // 25: hadoop.hdfs.GetBatchedListingResponseProto.listings:type_name -> hadoop.hdfs.BatchedDirectoryListingProto
+ 188, // 26: hadoop.hdfs.GetSnapshottableDirListingResponseProto.snapshottableDirList:type_name -> hadoop.hdfs.SnapshottableDirectoryListingProto
+ 189, // 27: hadoop.hdfs.GetSnapshotDiffReportResponseProto.diffReport:type_name -> hadoop.hdfs.SnapshotDiffReportProto
+ 190, // 28: hadoop.hdfs.GetSnapshotDiffReportListingRequestProto.cursor:type_name -> hadoop.hdfs.SnapshotDiffReportCursorProto
+ 191, // 29: hadoop.hdfs.GetSnapshotDiffReportListingResponseProto.diffReport:type_name -> hadoop.hdfs.SnapshotDiffReportListingProto
+ 2, // 30: hadoop.hdfs.GetDatanodeReportRequestProto.type:type_name -> hadoop.hdfs.DatanodeReportTypeProto
+ 185, // 31: hadoop.hdfs.GetDatanodeReportResponseProto.di:type_name -> hadoop.hdfs.DatanodeInfoProto
+ 2, // 32: hadoop.hdfs.GetDatanodeStorageReportRequestProto.type:type_name -> hadoop.hdfs.DatanodeReportTypeProto
+ 185, // 33: hadoop.hdfs.DatanodeStorageReportProto.datanodeInfo:type_name -> hadoop.hdfs.DatanodeInfoProto
+ 192, // 34: hadoop.hdfs.DatanodeStorageReportProto.storageReports:type_name -> hadoop.hdfs.StorageReportProto
+ 74, // 35: hadoop.hdfs.GetDatanodeStorageReportResponseProto.datanodeStorageReports:type_name -> hadoop.hdfs.DatanodeStorageReportProto
+ 3, // 36: hadoop.hdfs.SetSafeModeRequestProto.action:type_name -> hadoop.hdfs.SafeModeActionProto
+ 4, // 37: hadoop.hdfs.RollingUpgradeRequestProto.action:type_name -> hadoop.hdfs.RollingUpgradeActionProto
+ 193, // 38: hadoop.hdfs.RollingUpgradeInfoProto.status:type_name -> hadoop.hdfs.RollingUpgradeStatusProto
+ 93, // 39: hadoop.hdfs.RollingUpgradeResponseProto.rollingUpgradeInfo:type_name -> hadoop.hdfs.RollingUpgradeInfoProto
+ 194, // 40: hadoop.hdfs.ListCorruptFileBlocksResponseProto.corrupt:type_name -> hadoop.hdfs.CorruptFileBlocksProto
+ 181, // 41: hadoop.hdfs.GetFileInfoResponseProto.fs:type_name -> hadoop.hdfs.HdfsFileStatusProto
+ 181, // 42: hadoop.hdfs.GetLocatedFileInfoResponseProto.fs:type_name -> hadoop.hdfs.HdfsFileStatusProto
+ 106, // 43: hadoop.hdfs.CacheDirectiveInfoProto.expiration:type_name -> hadoop.hdfs.CacheDirectiveInfoExpirationProto
+ 105, // 44: hadoop.hdfs.AddCacheDirectiveRequestProto.info:type_name -> hadoop.hdfs.CacheDirectiveInfoProto
+ 105, // 45: hadoop.hdfs.ModifyCacheDirectiveRequestProto.info:type_name -> hadoop.hdfs.CacheDirectiveInfoProto
+ 105, // 46: hadoop.hdfs.ListCacheDirectivesRequestProto.filter:type_name -> hadoop.hdfs.CacheDirectiveInfoProto
+ 105, // 47: hadoop.hdfs.CacheDirectiveEntryProto.info:type_name -> hadoop.hdfs.CacheDirectiveInfoProto
+ 107, // 48: hadoop.hdfs.CacheDirectiveEntryProto.stats:type_name -> hadoop.hdfs.CacheDirectiveStatsProto
+ 115, // 49: hadoop.hdfs.ListCacheDirectivesResponseProto.elements:type_name -> hadoop.hdfs.CacheDirectiveEntryProto
+ 117, // 50: hadoop.hdfs.AddCachePoolRequestProto.info:type_name -> hadoop.hdfs.CachePoolInfoProto
+ 117, // 51: hadoop.hdfs.ModifyCachePoolRequestProto.info:type_name -> hadoop.hdfs.CachePoolInfoProto
+ 127, // 52: hadoop.hdfs.ListCachePoolsResponseProto.entries:type_name -> hadoop.hdfs.CachePoolEntryProto
+ 117, // 53: hadoop.hdfs.CachePoolEntryProto.info:type_name -> hadoop.hdfs.CachePoolInfoProto
+ 118, // 54: hadoop.hdfs.CachePoolEntryProto.stats:type_name -> hadoop.hdfs.CachePoolStatsProto
+ 181, // 55: hadoop.hdfs.GetFileLinkInfoResponseProto.fs:type_name -> hadoop.hdfs.HdfsFileStatusProto
+ 195, // 56: hadoop.hdfs.GetContentSummaryResponseProto.summary:type_name -> hadoop.hdfs.ContentSummaryProto
+ 196, // 57: hadoop.hdfs.GetQuotaUsageResponseProto.usage:type_name -> hadoop.hdfs.QuotaUsageProto
+ 197, // 58: hadoop.hdfs.SetQuotaRequestProto.storageType:type_name -> hadoop.hdfs.StorageTypeProto
+ 179, // 59: hadoop.hdfs.CreateSymlinkRequestProto.dirPerm:type_name -> hadoop.hdfs.FsPermissionProto
+ 184, // 60: hadoop.hdfs.UpdateBlockForPipelineRequestProto.block:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 182, // 61: hadoop.hdfs.UpdateBlockForPipelineResponseProto.block:type_name -> hadoop.hdfs.LocatedBlockProto
+ 184, // 62: hadoop.hdfs.UpdatePipelineRequestProto.oldBlock:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 184, // 63: hadoop.hdfs.UpdatePipelineRequestProto.newBlock:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 198, // 64: hadoop.hdfs.UpdatePipelineRequestProto.newNodes:type_name -> hadoop.hdfs.DatanodeIDProto
+ 199, // 65: hadoop.hdfs.GetDataEncryptionKeyResponseProto.dataEncryptionKey:type_name -> hadoop.hdfs.DataEncryptionKeyProto
+ 200, // 66: hadoop.hdfs.CheckAccessRequestProto.mode:type_name -> hadoop.hdfs.AclEntryProto.FsActionProto
+ 201, // 67: hadoop.hdfs.GetEditsFromTxidResponseProto.eventsList:type_name -> hadoop.hdfs.EventsListProto
+ 6, // 68: hadoop.hdfs.ListOpenFilesRequestProto.types:type_name -> hadoop.hdfs.OpenFilesTypeProto
+ 169, // 69: hadoop.hdfs.ListOpenFilesResponseProto.entries:type_name -> hadoop.hdfs.OpenFilesBatchResponseProto
+ 6, // 70: hadoop.hdfs.ListOpenFilesResponseProto.types:type_name -> hadoop.hdfs.OpenFilesTypeProto
+ 202, // 71: hadoop.hdfs.HAServiceStateResponseProto.state:type_name -> hadoop.common.HAServiceStateProto
+ 7, // 72: hadoop.hdfs.ClientNamenodeProtocol.getBlockLocations:input_type -> hadoop.hdfs.GetBlockLocationsRequestProto
+ 9, // 73: hadoop.hdfs.ClientNamenodeProtocol.getServerDefaults:input_type -> hadoop.hdfs.GetServerDefaultsRequestProto
+ 11, // 74: hadoop.hdfs.ClientNamenodeProtocol.create:input_type -> hadoop.hdfs.CreateRequestProto
+ 13, // 75: hadoop.hdfs.ClientNamenodeProtocol.append:input_type -> hadoop.hdfs.AppendRequestProto
+ 15, // 76: hadoop.hdfs.ClientNamenodeProtocol.setReplication:input_type -> hadoop.hdfs.SetReplicationRequestProto
+ 17, // 77: hadoop.hdfs.ClientNamenodeProtocol.setStoragePolicy:input_type -> hadoop.hdfs.SetStoragePolicyRequestProto
+ 19, // 78: hadoop.hdfs.ClientNamenodeProtocol.unsetStoragePolicy:input_type -> hadoop.hdfs.UnsetStoragePolicyRequestProto
+ 21, // 79: hadoop.hdfs.ClientNamenodeProtocol.getStoragePolicy:input_type -> hadoop.hdfs.GetStoragePolicyRequestProto
+ 23, // 80: hadoop.hdfs.ClientNamenodeProtocol.getStoragePolicies:input_type -> hadoop.hdfs.GetStoragePoliciesRequestProto
+ 25, // 81: hadoop.hdfs.ClientNamenodeProtocol.setPermission:input_type -> hadoop.hdfs.SetPermissionRequestProto
+ 27, // 82: hadoop.hdfs.ClientNamenodeProtocol.setOwner:input_type -> hadoop.hdfs.SetOwnerRequestProto
+ 29, // 83: hadoop.hdfs.ClientNamenodeProtocol.abandonBlock:input_type -> hadoop.hdfs.AbandonBlockRequestProto
+ 31, // 84: hadoop.hdfs.ClientNamenodeProtocol.addBlock:input_type -> hadoop.hdfs.AddBlockRequestProto
+ 33, // 85: hadoop.hdfs.ClientNamenodeProtocol.getAdditionalDatanode:input_type -> hadoop.hdfs.GetAdditionalDatanodeRequestProto
+ 35, // 86: hadoop.hdfs.ClientNamenodeProtocol.complete:input_type -> hadoop.hdfs.CompleteRequestProto
+ 37, // 87: hadoop.hdfs.ClientNamenodeProtocol.reportBadBlocks:input_type -> hadoop.hdfs.ReportBadBlocksRequestProto
+ 39, // 88: hadoop.hdfs.ClientNamenodeProtocol.concat:input_type -> hadoop.hdfs.ConcatRequestProto
+ 41, // 89: hadoop.hdfs.ClientNamenodeProtocol.truncate:input_type -> hadoop.hdfs.TruncateRequestProto
+ 43, // 90: hadoop.hdfs.ClientNamenodeProtocol.rename:input_type -> hadoop.hdfs.RenameRequestProto
+ 45, // 91: hadoop.hdfs.ClientNamenodeProtocol.rename2:input_type -> hadoop.hdfs.Rename2RequestProto
+ 47, // 92: hadoop.hdfs.ClientNamenodeProtocol.delete:input_type -> hadoop.hdfs.DeleteRequestProto
+ 49, // 93: hadoop.hdfs.ClientNamenodeProtocol.mkdirs:input_type -> hadoop.hdfs.MkdirsRequestProto
+ 51, // 94: hadoop.hdfs.ClientNamenodeProtocol.getListing:input_type -> hadoop.hdfs.GetListingRequestProto
+ 53, // 95: hadoop.hdfs.ClientNamenodeProtocol.getBatchedListing:input_type -> hadoop.hdfs.GetBatchedListingRequestProto
+ 61, // 96: hadoop.hdfs.ClientNamenodeProtocol.renewLease:input_type -> hadoop.hdfs.RenewLeaseRequestProto
+ 63, // 97: hadoop.hdfs.ClientNamenodeProtocol.recoverLease:input_type -> hadoop.hdfs.RecoverLeaseRequestProto
+ 65, // 98: hadoop.hdfs.ClientNamenodeProtocol.getFsStats:input_type -> hadoop.hdfs.GetFsStatusRequestProto
+ 67, // 99: hadoop.hdfs.ClientNamenodeProtocol.getFsReplicatedBlockStats:input_type -> hadoop.hdfs.GetFsReplicatedBlockStatsRequestProto
+ 69, // 100: hadoop.hdfs.ClientNamenodeProtocol.getFsECBlockGroupStats:input_type -> hadoop.hdfs.GetFsECBlockGroupStatsRequestProto
+ 71, // 101: hadoop.hdfs.ClientNamenodeProtocol.getDatanodeReport:input_type -> hadoop.hdfs.GetDatanodeReportRequestProto
+ 73, // 102: hadoop.hdfs.ClientNamenodeProtocol.getDatanodeStorageReport:input_type -> hadoop.hdfs.GetDatanodeStorageReportRequestProto
+ 76, // 103: hadoop.hdfs.ClientNamenodeProtocol.getPreferredBlockSize:input_type -> hadoop.hdfs.GetPreferredBlockSizeRequestProto
+ 78, // 104: hadoop.hdfs.ClientNamenodeProtocol.setSafeMode:input_type -> hadoop.hdfs.SetSafeModeRequestProto
+ 80, // 105: hadoop.hdfs.ClientNamenodeProtocol.saveNamespace:input_type -> hadoop.hdfs.SaveNamespaceRequestProto
+ 82, // 106: hadoop.hdfs.ClientNamenodeProtocol.rollEdits:input_type -> hadoop.hdfs.RollEditsRequestProto
+ 84, // 107: hadoop.hdfs.ClientNamenodeProtocol.restoreFailedStorage:input_type -> hadoop.hdfs.RestoreFailedStorageRequestProto
+ 86, // 108: hadoop.hdfs.ClientNamenodeProtocol.refreshNodes:input_type -> hadoop.hdfs.RefreshNodesRequestProto
+ 88, // 109: hadoop.hdfs.ClientNamenodeProtocol.finalizeUpgrade:input_type -> hadoop.hdfs.FinalizeUpgradeRequestProto
+ 90, // 110: hadoop.hdfs.ClientNamenodeProtocol.upgradeStatus:input_type -> hadoop.hdfs.UpgradeStatusRequestProto
+ 92, // 111: hadoop.hdfs.ClientNamenodeProtocol.rollingUpgrade:input_type -> hadoop.hdfs.RollingUpgradeRequestProto
+ 95, // 112: hadoop.hdfs.ClientNamenodeProtocol.listCorruptFileBlocks:input_type -> hadoop.hdfs.ListCorruptFileBlocksRequestProto
+ 97, // 113: hadoop.hdfs.ClientNamenodeProtocol.metaSave:input_type -> hadoop.hdfs.MetaSaveRequestProto
+ 99, // 114: hadoop.hdfs.ClientNamenodeProtocol.getFileInfo:input_type -> hadoop.hdfs.GetFileInfoRequestProto
+ 101, // 115: hadoop.hdfs.ClientNamenodeProtocol.getLocatedFileInfo:input_type -> hadoop.hdfs.GetLocatedFileInfoRequestProto
+ 108, // 116: hadoop.hdfs.ClientNamenodeProtocol.addCacheDirective:input_type -> hadoop.hdfs.AddCacheDirectiveRequestProto
+ 110, // 117: hadoop.hdfs.ClientNamenodeProtocol.modifyCacheDirective:input_type -> hadoop.hdfs.ModifyCacheDirectiveRequestProto
+ 112, // 118: hadoop.hdfs.ClientNamenodeProtocol.removeCacheDirective:input_type -> hadoop.hdfs.RemoveCacheDirectiveRequestProto
+ 114, // 119: hadoop.hdfs.ClientNamenodeProtocol.listCacheDirectives:input_type -> hadoop.hdfs.ListCacheDirectivesRequestProto
+ 119, // 120: hadoop.hdfs.ClientNamenodeProtocol.addCachePool:input_type -> hadoop.hdfs.AddCachePoolRequestProto
+ 121, // 121: hadoop.hdfs.ClientNamenodeProtocol.modifyCachePool:input_type -> hadoop.hdfs.ModifyCachePoolRequestProto
+ 123, // 122: hadoop.hdfs.ClientNamenodeProtocol.removeCachePool:input_type -> hadoop.hdfs.RemoveCachePoolRequestProto
+ 125, // 123: hadoop.hdfs.ClientNamenodeProtocol.listCachePools:input_type -> hadoop.hdfs.ListCachePoolsRequestProto
+ 128, // 124: hadoop.hdfs.ClientNamenodeProtocol.getFileLinkInfo:input_type -> hadoop.hdfs.GetFileLinkInfoRequestProto
+ 130, // 125: hadoop.hdfs.ClientNamenodeProtocol.getContentSummary:input_type -> hadoop.hdfs.GetContentSummaryRequestProto
+ 134, // 126: hadoop.hdfs.ClientNamenodeProtocol.setQuota:input_type -> hadoop.hdfs.SetQuotaRequestProto
+ 136, // 127: hadoop.hdfs.ClientNamenodeProtocol.fsync:input_type -> hadoop.hdfs.FsyncRequestProto
+ 138, // 128: hadoop.hdfs.ClientNamenodeProtocol.setTimes:input_type -> hadoop.hdfs.SetTimesRequestProto
+ 140, // 129: hadoop.hdfs.ClientNamenodeProtocol.createSymlink:input_type -> hadoop.hdfs.CreateSymlinkRequestProto
+ 142, // 130: hadoop.hdfs.ClientNamenodeProtocol.getLinkTarget:input_type -> hadoop.hdfs.GetLinkTargetRequestProto
+ 144, // 131: hadoop.hdfs.ClientNamenodeProtocol.updateBlockForPipeline:input_type -> hadoop.hdfs.UpdateBlockForPipelineRequestProto
+ 146, // 132: hadoop.hdfs.ClientNamenodeProtocol.updatePipeline:input_type -> hadoop.hdfs.UpdatePipelineRequestProto
+ 203, // 133: hadoop.hdfs.ClientNamenodeProtocol.getDelegationToken:input_type -> hadoop.common.GetDelegationTokenRequestProto
+ 204, // 134: hadoop.hdfs.ClientNamenodeProtocol.renewDelegationToken:input_type -> hadoop.common.RenewDelegationTokenRequestProto
+ 205, // 135: hadoop.hdfs.ClientNamenodeProtocol.cancelDelegationToken:input_type -> hadoop.common.CancelDelegationTokenRequestProto
+ 148, // 136: hadoop.hdfs.ClientNamenodeProtocol.setBalancerBandwidth:input_type -> hadoop.hdfs.SetBalancerBandwidthRequestProto
+ 150, // 137: hadoop.hdfs.ClientNamenodeProtocol.getDataEncryptionKey:input_type -> hadoop.hdfs.GetDataEncryptionKeyRequestProto
+ 152, // 138: hadoop.hdfs.ClientNamenodeProtocol.createSnapshot:input_type -> hadoop.hdfs.CreateSnapshotRequestProto
+ 154, // 139: hadoop.hdfs.ClientNamenodeProtocol.renameSnapshot:input_type -> hadoop.hdfs.RenameSnapshotRequestProto
+ 156, // 140: hadoop.hdfs.ClientNamenodeProtocol.allowSnapshot:input_type -> hadoop.hdfs.AllowSnapshotRequestProto
+ 158, // 141: hadoop.hdfs.ClientNamenodeProtocol.disallowSnapshot:input_type -> hadoop.hdfs.DisallowSnapshotRequestProto
+ 55, // 142: hadoop.hdfs.ClientNamenodeProtocol.getSnapshottableDirListing:input_type -> hadoop.hdfs.GetSnapshottableDirListingRequestProto
+ 160, // 143: hadoop.hdfs.ClientNamenodeProtocol.deleteSnapshot:input_type -> hadoop.hdfs.DeleteSnapshotRequestProto
+ 57, // 144: hadoop.hdfs.ClientNamenodeProtocol.getSnapshotDiffReport:input_type -> hadoop.hdfs.GetSnapshotDiffReportRequestProto
+ 59, // 145: hadoop.hdfs.ClientNamenodeProtocol.getSnapshotDiffReportListing:input_type -> hadoop.hdfs.GetSnapshotDiffReportListingRequestProto
+ 103, // 146: hadoop.hdfs.ClientNamenodeProtocol.isFileClosed:input_type -> hadoop.hdfs.IsFileClosedRequestProto
+ 206, // 147: hadoop.hdfs.ClientNamenodeProtocol.modifyAclEntries:input_type -> hadoop.hdfs.ModifyAclEntriesRequestProto
+ 207, // 148: hadoop.hdfs.ClientNamenodeProtocol.removeAclEntries:input_type -> hadoop.hdfs.RemoveAclEntriesRequestProto
+ 208, // 149: hadoop.hdfs.ClientNamenodeProtocol.removeDefaultAcl:input_type -> hadoop.hdfs.RemoveDefaultAclRequestProto
+ 209, // 150: hadoop.hdfs.ClientNamenodeProtocol.removeAcl:input_type -> hadoop.hdfs.RemoveAclRequestProto
+ 210, // 151: hadoop.hdfs.ClientNamenodeProtocol.setAcl:input_type -> hadoop.hdfs.SetAclRequestProto
+ 211, // 152: hadoop.hdfs.ClientNamenodeProtocol.getAclStatus:input_type -> hadoop.hdfs.GetAclStatusRequestProto
+ 212, // 153: hadoop.hdfs.ClientNamenodeProtocol.setXAttr:input_type -> hadoop.hdfs.SetXAttrRequestProto
+ 213, // 154: hadoop.hdfs.ClientNamenodeProtocol.getXAttrs:input_type -> hadoop.hdfs.GetXAttrsRequestProto
+ 214, // 155: hadoop.hdfs.ClientNamenodeProtocol.listXAttrs:input_type -> hadoop.hdfs.ListXAttrsRequestProto
+ 215, // 156: hadoop.hdfs.ClientNamenodeProtocol.removeXAttr:input_type -> hadoop.hdfs.RemoveXAttrRequestProto
+ 162, // 157: hadoop.hdfs.ClientNamenodeProtocol.checkAccess:input_type -> hadoop.hdfs.CheckAccessRequestProto
+ 216, // 158: hadoop.hdfs.ClientNamenodeProtocol.createEncryptionZone:input_type -> hadoop.hdfs.CreateEncryptionZoneRequestProto
+ 217, // 159: hadoop.hdfs.ClientNamenodeProtocol.listEncryptionZones:input_type -> hadoop.hdfs.ListEncryptionZonesRequestProto
+ 218, // 160: hadoop.hdfs.ClientNamenodeProtocol.reencryptEncryptionZone:input_type -> hadoop.hdfs.ReencryptEncryptionZoneRequestProto
+ 219, // 161: hadoop.hdfs.ClientNamenodeProtocol.listReencryptionStatus:input_type -> hadoop.hdfs.ListReencryptionStatusRequestProto
+ 220, // 162: hadoop.hdfs.ClientNamenodeProtocol.getEZForPath:input_type -> hadoop.hdfs.GetEZForPathRequestProto
+ 221, // 163: hadoop.hdfs.ClientNamenodeProtocol.setErasureCodingPolicy:input_type -> hadoop.hdfs.SetErasureCodingPolicyRequestProto
+ 222, // 164: hadoop.hdfs.ClientNamenodeProtocol.unsetErasureCodingPolicy:input_type -> hadoop.hdfs.UnsetErasureCodingPolicyRequestProto
+ 223, // 165: hadoop.hdfs.ClientNamenodeProtocol.getECTopologyResultForPolicies:input_type -> hadoop.hdfs.GetECTopologyResultForPoliciesRequestProto
+ 164, // 166: hadoop.hdfs.ClientNamenodeProtocol.getCurrentEditLogTxid:input_type -> hadoop.hdfs.GetCurrentEditLogTxidRequestProto
+ 166, // 167: hadoop.hdfs.ClientNamenodeProtocol.getEditsFromTxid:input_type -> hadoop.hdfs.GetEditsFromTxidRequestProto
+ 224, // 168: hadoop.hdfs.ClientNamenodeProtocol.getErasureCodingPolicies:input_type -> hadoop.hdfs.GetErasureCodingPoliciesRequestProto
+ 225, // 169: hadoop.hdfs.ClientNamenodeProtocol.addErasureCodingPolicies:input_type -> hadoop.hdfs.AddErasureCodingPoliciesRequestProto
+ 226, // 170: hadoop.hdfs.ClientNamenodeProtocol.removeErasureCodingPolicy:input_type -> hadoop.hdfs.RemoveErasureCodingPolicyRequestProto
+ 227, // 171: hadoop.hdfs.ClientNamenodeProtocol.enableErasureCodingPolicy:input_type -> hadoop.hdfs.EnableErasureCodingPolicyRequestProto
+ 228, // 172: hadoop.hdfs.ClientNamenodeProtocol.disableErasureCodingPolicy:input_type -> hadoop.hdfs.DisableErasureCodingPolicyRequestProto
+ 229, // 173: hadoop.hdfs.ClientNamenodeProtocol.getErasureCodingPolicy:input_type -> hadoop.hdfs.GetErasureCodingPolicyRequestProto
+ 230, // 174: hadoop.hdfs.ClientNamenodeProtocol.getErasureCodingCodecs:input_type -> hadoop.hdfs.GetErasureCodingCodecsRequestProto
+ 132, // 175: hadoop.hdfs.ClientNamenodeProtocol.getQuotaUsage:input_type -> hadoop.hdfs.GetQuotaUsageRequestProto
+ 168, // 176: hadoop.hdfs.ClientNamenodeProtocol.listOpenFiles:input_type -> hadoop.hdfs.ListOpenFilesRequestProto
+ 171, // 177: hadoop.hdfs.ClientNamenodeProtocol.msync:input_type -> hadoop.hdfs.MsyncRequestProto
+ 173, // 178: hadoop.hdfs.ClientNamenodeProtocol.satisfyStoragePolicy:input_type -> hadoop.hdfs.SatisfyStoragePolicyRequestProto
+ 175, // 179: hadoop.hdfs.ClientNamenodeProtocol.getHAServiceState:input_type -> hadoop.hdfs.HAServiceStateRequestProto
+ 8, // 180: hadoop.hdfs.ClientNamenodeProtocol.getBlockLocations:output_type -> hadoop.hdfs.GetBlockLocationsResponseProto
+ 10, // 181: hadoop.hdfs.ClientNamenodeProtocol.getServerDefaults:output_type -> hadoop.hdfs.GetServerDefaultsResponseProto
+ 12, // 182: hadoop.hdfs.ClientNamenodeProtocol.create:output_type -> hadoop.hdfs.CreateResponseProto
+ 14, // 183: hadoop.hdfs.ClientNamenodeProtocol.append:output_type -> hadoop.hdfs.AppendResponseProto
+ 16, // 184: hadoop.hdfs.ClientNamenodeProtocol.setReplication:output_type -> hadoop.hdfs.SetReplicationResponseProto
+ 18, // 185: hadoop.hdfs.ClientNamenodeProtocol.setStoragePolicy:output_type -> hadoop.hdfs.SetStoragePolicyResponseProto
+ 20, // 186: hadoop.hdfs.ClientNamenodeProtocol.unsetStoragePolicy:output_type -> hadoop.hdfs.UnsetStoragePolicyResponseProto
+ 22, // 187: hadoop.hdfs.ClientNamenodeProtocol.getStoragePolicy:output_type -> hadoop.hdfs.GetStoragePolicyResponseProto
+ 24, // 188: hadoop.hdfs.ClientNamenodeProtocol.getStoragePolicies:output_type -> hadoop.hdfs.GetStoragePoliciesResponseProto
+ 26, // 189: hadoop.hdfs.ClientNamenodeProtocol.setPermission:output_type -> hadoop.hdfs.SetPermissionResponseProto
+ 28, // 190: hadoop.hdfs.ClientNamenodeProtocol.setOwner:output_type -> hadoop.hdfs.SetOwnerResponseProto
+ 30, // 191: hadoop.hdfs.ClientNamenodeProtocol.abandonBlock:output_type -> hadoop.hdfs.AbandonBlockResponseProto
+ 32, // 192: hadoop.hdfs.ClientNamenodeProtocol.addBlock:output_type -> hadoop.hdfs.AddBlockResponseProto
+ 34, // 193: hadoop.hdfs.ClientNamenodeProtocol.getAdditionalDatanode:output_type -> hadoop.hdfs.GetAdditionalDatanodeResponseProto
+ 36, // 194: hadoop.hdfs.ClientNamenodeProtocol.complete:output_type -> hadoop.hdfs.CompleteResponseProto
+ 38, // 195: hadoop.hdfs.ClientNamenodeProtocol.reportBadBlocks:output_type -> hadoop.hdfs.ReportBadBlocksResponseProto
+ 40, // 196: hadoop.hdfs.ClientNamenodeProtocol.concat:output_type -> hadoop.hdfs.ConcatResponseProto
+ 42, // 197: hadoop.hdfs.ClientNamenodeProtocol.truncate:output_type -> hadoop.hdfs.TruncateResponseProto
+ 44, // 198: hadoop.hdfs.ClientNamenodeProtocol.rename:output_type -> hadoop.hdfs.RenameResponseProto
+ 46, // 199: hadoop.hdfs.ClientNamenodeProtocol.rename2:output_type -> hadoop.hdfs.Rename2ResponseProto
+ 48, // 200: hadoop.hdfs.ClientNamenodeProtocol.delete:output_type -> hadoop.hdfs.DeleteResponseProto
+ 50, // 201: hadoop.hdfs.ClientNamenodeProtocol.mkdirs:output_type -> hadoop.hdfs.MkdirsResponseProto
+ 52, // 202: hadoop.hdfs.ClientNamenodeProtocol.getListing:output_type -> hadoop.hdfs.GetListingResponseProto
+ 54, // 203: hadoop.hdfs.ClientNamenodeProtocol.getBatchedListing:output_type -> hadoop.hdfs.GetBatchedListingResponseProto
+ 62, // 204: hadoop.hdfs.ClientNamenodeProtocol.renewLease:output_type -> hadoop.hdfs.RenewLeaseResponseProto
+ 64, // 205: hadoop.hdfs.ClientNamenodeProtocol.recoverLease:output_type -> hadoop.hdfs.RecoverLeaseResponseProto
+ 66, // 206: hadoop.hdfs.ClientNamenodeProtocol.getFsStats:output_type -> hadoop.hdfs.GetFsStatsResponseProto
+ 68, // 207: hadoop.hdfs.ClientNamenodeProtocol.getFsReplicatedBlockStats:output_type -> hadoop.hdfs.GetFsReplicatedBlockStatsResponseProto
+ 70, // 208: hadoop.hdfs.ClientNamenodeProtocol.getFsECBlockGroupStats:output_type -> hadoop.hdfs.GetFsECBlockGroupStatsResponseProto
+ 72, // 209: hadoop.hdfs.ClientNamenodeProtocol.getDatanodeReport:output_type -> hadoop.hdfs.GetDatanodeReportResponseProto
+ 75, // 210: hadoop.hdfs.ClientNamenodeProtocol.getDatanodeStorageReport:output_type -> hadoop.hdfs.GetDatanodeStorageReportResponseProto
+ 77, // 211: hadoop.hdfs.ClientNamenodeProtocol.getPreferredBlockSize:output_type -> hadoop.hdfs.GetPreferredBlockSizeResponseProto
+ 79, // 212: hadoop.hdfs.ClientNamenodeProtocol.setSafeMode:output_type -> hadoop.hdfs.SetSafeModeResponseProto
+ 81, // 213: hadoop.hdfs.ClientNamenodeProtocol.saveNamespace:output_type -> hadoop.hdfs.SaveNamespaceResponseProto
+ 83, // 214: hadoop.hdfs.ClientNamenodeProtocol.rollEdits:output_type -> hadoop.hdfs.RollEditsResponseProto
+ 85, // 215: hadoop.hdfs.ClientNamenodeProtocol.restoreFailedStorage:output_type -> hadoop.hdfs.RestoreFailedStorageResponseProto
+ 87, // 216: hadoop.hdfs.ClientNamenodeProtocol.refreshNodes:output_type -> hadoop.hdfs.RefreshNodesResponseProto
+ 89, // 217: hadoop.hdfs.ClientNamenodeProtocol.finalizeUpgrade:output_type -> hadoop.hdfs.FinalizeUpgradeResponseProto
+ 91, // 218: hadoop.hdfs.ClientNamenodeProtocol.upgradeStatus:output_type -> hadoop.hdfs.UpgradeStatusResponseProto
+ 94, // 219: hadoop.hdfs.ClientNamenodeProtocol.rollingUpgrade:output_type -> hadoop.hdfs.RollingUpgradeResponseProto
+ 96, // 220: hadoop.hdfs.ClientNamenodeProtocol.listCorruptFileBlocks:output_type -> hadoop.hdfs.ListCorruptFileBlocksResponseProto
+ 98, // 221: hadoop.hdfs.ClientNamenodeProtocol.metaSave:output_type -> hadoop.hdfs.MetaSaveResponseProto
+ 100, // 222: hadoop.hdfs.ClientNamenodeProtocol.getFileInfo:output_type -> hadoop.hdfs.GetFileInfoResponseProto
+ 102, // 223: hadoop.hdfs.ClientNamenodeProtocol.getLocatedFileInfo:output_type -> hadoop.hdfs.GetLocatedFileInfoResponseProto
+ 109, // 224: hadoop.hdfs.ClientNamenodeProtocol.addCacheDirective:output_type -> hadoop.hdfs.AddCacheDirectiveResponseProto
+ 111, // 225: hadoop.hdfs.ClientNamenodeProtocol.modifyCacheDirective:output_type -> hadoop.hdfs.ModifyCacheDirectiveResponseProto
+ 113, // 226: hadoop.hdfs.ClientNamenodeProtocol.removeCacheDirective:output_type -> hadoop.hdfs.RemoveCacheDirectiveResponseProto
+ 116, // 227: hadoop.hdfs.ClientNamenodeProtocol.listCacheDirectives:output_type -> hadoop.hdfs.ListCacheDirectivesResponseProto
+ 120, // 228: hadoop.hdfs.ClientNamenodeProtocol.addCachePool:output_type -> hadoop.hdfs.AddCachePoolResponseProto
+ 122, // 229: hadoop.hdfs.ClientNamenodeProtocol.modifyCachePool:output_type -> hadoop.hdfs.ModifyCachePoolResponseProto
+ 124, // 230: hadoop.hdfs.ClientNamenodeProtocol.removeCachePool:output_type -> hadoop.hdfs.RemoveCachePoolResponseProto
+ 126, // 231: hadoop.hdfs.ClientNamenodeProtocol.listCachePools:output_type -> hadoop.hdfs.ListCachePoolsResponseProto
+ 129, // 232: hadoop.hdfs.ClientNamenodeProtocol.getFileLinkInfo:output_type -> hadoop.hdfs.GetFileLinkInfoResponseProto
+ 131, // 233: hadoop.hdfs.ClientNamenodeProtocol.getContentSummary:output_type -> hadoop.hdfs.GetContentSummaryResponseProto
+ 135, // 234: hadoop.hdfs.ClientNamenodeProtocol.setQuota:output_type -> hadoop.hdfs.SetQuotaResponseProto
+ 137, // 235: hadoop.hdfs.ClientNamenodeProtocol.fsync:output_type -> hadoop.hdfs.FsyncResponseProto
+ 139, // 236: hadoop.hdfs.ClientNamenodeProtocol.setTimes:output_type -> hadoop.hdfs.SetTimesResponseProto
+ 141, // 237: hadoop.hdfs.ClientNamenodeProtocol.createSymlink:output_type -> hadoop.hdfs.CreateSymlinkResponseProto
+ 143, // 238: hadoop.hdfs.ClientNamenodeProtocol.getLinkTarget:output_type -> hadoop.hdfs.GetLinkTargetResponseProto
+ 145, // 239: hadoop.hdfs.ClientNamenodeProtocol.updateBlockForPipeline:output_type -> hadoop.hdfs.UpdateBlockForPipelineResponseProto
+ 147, // 240: hadoop.hdfs.ClientNamenodeProtocol.updatePipeline:output_type -> hadoop.hdfs.UpdatePipelineResponseProto
+ 231, // 241: hadoop.hdfs.ClientNamenodeProtocol.getDelegationToken:output_type -> hadoop.common.GetDelegationTokenResponseProto
+ 232, // 242: hadoop.hdfs.ClientNamenodeProtocol.renewDelegationToken:output_type -> hadoop.common.RenewDelegationTokenResponseProto
+ 233, // 243: hadoop.hdfs.ClientNamenodeProtocol.cancelDelegationToken:output_type -> hadoop.common.CancelDelegationTokenResponseProto
+ 149, // 244: hadoop.hdfs.ClientNamenodeProtocol.setBalancerBandwidth:output_type -> hadoop.hdfs.SetBalancerBandwidthResponseProto
+ 151, // 245: hadoop.hdfs.ClientNamenodeProtocol.getDataEncryptionKey:output_type -> hadoop.hdfs.GetDataEncryptionKeyResponseProto
+ 153, // 246: hadoop.hdfs.ClientNamenodeProtocol.createSnapshot:output_type -> hadoop.hdfs.CreateSnapshotResponseProto
+ 155, // 247: hadoop.hdfs.ClientNamenodeProtocol.renameSnapshot:output_type -> hadoop.hdfs.RenameSnapshotResponseProto
+ 157, // 248: hadoop.hdfs.ClientNamenodeProtocol.allowSnapshot:output_type -> hadoop.hdfs.AllowSnapshotResponseProto
+ 159, // 249: hadoop.hdfs.ClientNamenodeProtocol.disallowSnapshot:output_type -> hadoop.hdfs.DisallowSnapshotResponseProto
+ 56, // 250: hadoop.hdfs.ClientNamenodeProtocol.getSnapshottableDirListing:output_type -> hadoop.hdfs.GetSnapshottableDirListingResponseProto
+ 161, // 251: hadoop.hdfs.ClientNamenodeProtocol.deleteSnapshot:output_type -> hadoop.hdfs.DeleteSnapshotResponseProto
+ 58, // 252: hadoop.hdfs.ClientNamenodeProtocol.getSnapshotDiffReport:output_type -> hadoop.hdfs.GetSnapshotDiffReportResponseProto
+ 60, // 253: hadoop.hdfs.ClientNamenodeProtocol.getSnapshotDiffReportListing:output_type -> hadoop.hdfs.GetSnapshotDiffReportListingResponseProto
+ 104, // 254: hadoop.hdfs.ClientNamenodeProtocol.isFileClosed:output_type -> hadoop.hdfs.IsFileClosedResponseProto
+ 234, // 255: hadoop.hdfs.ClientNamenodeProtocol.modifyAclEntries:output_type -> hadoop.hdfs.ModifyAclEntriesResponseProto
+ 235, // 256: hadoop.hdfs.ClientNamenodeProtocol.removeAclEntries:output_type -> hadoop.hdfs.RemoveAclEntriesResponseProto
+ 236, // 257: hadoop.hdfs.ClientNamenodeProtocol.removeDefaultAcl:output_type -> hadoop.hdfs.RemoveDefaultAclResponseProto
+ 237, // 258: hadoop.hdfs.ClientNamenodeProtocol.removeAcl:output_type -> hadoop.hdfs.RemoveAclResponseProto
+ 238, // 259: hadoop.hdfs.ClientNamenodeProtocol.setAcl:output_type -> hadoop.hdfs.SetAclResponseProto
+ 239, // 260: hadoop.hdfs.ClientNamenodeProtocol.getAclStatus:output_type -> hadoop.hdfs.GetAclStatusResponseProto
+ 240, // 261: hadoop.hdfs.ClientNamenodeProtocol.setXAttr:output_type -> hadoop.hdfs.SetXAttrResponseProto
+ 241, // 262: hadoop.hdfs.ClientNamenodeProtocol.getXAttrs:output_type -> hadoop.hdfs.GetXAttrsResponseProto
+ 242, // 263: hadoop.hdfs.ClientNamenodeProtocol.listXAttrs:output_type -> hadoop.hdfs.ListXAttrsResponseProto
+ 243, // 264: hadoop.hdfs.ClientNamenodeProtocol.removeXAttr:output_type -> hadoop.hdfs.RemoveXAttrResponseProto
+ 163, // 265: hadoop.hdfs.ClientNamenodeProtocol.checkAccess:output_type -> hadoop.hdfs.CheckAccessResponseProto
+ 244, // 266: hadoop.hdfs.ClientNamenodeProtocol.createEncryptionZone:output_type -> hadoop.hdfs.CreateEncryptionZoneResponseProto
+ 245, // 267: hadoop.hdfs.ClientNamenodeProtocol.listEncryptionZones:output_type -> hadoop.hdfs.ListEncryptionZonesResponseProto
+ 246, // 268: hadoop.hdfs.ClientNamenodeProtocol.reencryptEncryptionZone:output_type -> hadoop.hdfs.ReencryptEncryptionZoneResponseProto
+ 247, // 269: hadoop.hdfs.ClientNamenodeProtocol.listReencryptionStatus:output_type -> hadoop.hdfs.ListReencryptionStatusResponseProto
+ 248, // 270: hadoop.hdfs.ClientNamenodeProtocol.getEZForPath:output_type -> hadoop.hdfs.GetEZForPathResponseProto
+ 249, // 271: hadoop.hdfs.ClientNamenodeProtocol.setErasureCodingPolicy:output_type -> hadoop.hdfs.SetErasureCodingPolicyResponseProto
+ 250, // 272: hadoop.hdfs.ClientNamenodeProtocol.unsetErasureCodingPolicy:output_type -> hadoop.hdfs.UnsetErasureCodingPolicyResponseProto
+ 251, // 273: hadoop.hdfs.ClientNamenodeProtocol.getECTopologyResultForPolicies:output_type -> hadoop.hdfs.GetECTopologyResultForPoliciesResponseProto
+ 165, // 274: hadoop.hdfs.ClientNamenodeProtocol.getCurrentEditLogTxid:output_type -> hadoop.hdfs.GetCurrentEditLogTxidResponseProto
+ 167, // 275: hadoop.hdfs.ClientNamenodeProtocol.getEditsFromTxid:output_type -> hadoop.hdfs.GetEditsFromTxidResponseProto
+ 252, // 276: hadoop.hdfs.ClientNamenodeProtocol.getErasureCodingPolicies:output_type -> hadoop.hdfs.GetErasureCodingPoliciesResponseProto
+ 253, // 277: hadoop.hdfs.ClientNamenodeProtocol.addErasureCodingPolicies:output_type -> hadoop.hdfs.AddErasureCodingPoliciesResponseProto
+ 254, // 278: hadoop.hdfs.ClientNamenodeProtocol.removeErasureCodingPolicy:output_type -> hadoop.hdfs.RemoveErasureCodingPolicyResponseProto
+ 255, // 279: hadoop.hdfs.ClientNamenodeProtocol.enableErasureCodingPolicy:output_type -> hadoop.hdfs.EnableErasureCodingPolicyResponseProto
+ 256, // 280: hadoop.hdfs.ClientNamenodeProtocol.disableErasureCodingPolicy:output_type -> hadoop.hdfs.DisableErasureCodingPolicyResponseProto
+ 257, // 281: hadoop.hdfs.ClientNamenodeProtocol.getErasureCodingPolicy:output_type -> hadoop.hdfs.GetErasureCodingPolicyResponseProto
+ 258, // 282: hadoop.hdfs.ClientNamenodeProtocol.getErasureCodingCodecs:output_type -> hadoop.hdfs.GetErasureCodingCodecsResponseProto
+ 133, // 283: hadoop.hdfs.ClientNamenodeProtocol.getQuotaUsage:output_type -> hadoop.hdfs.GetQuotaUsageResponseProto
+ 170, // 284: hadoop.hdfs.ClientNamenodeProtocol.listOpenFiles:output_type -> hadoop.hdfs.ListOpenFilesResponseProto
+ 172, // 285: hadoop.hdfs.ClientNamenodeProtocol.msync:output_type -> hadoop.hdfs.MsyncResponseProto
+ 174, // 286: hadoop.hdfs.ClientNamenodeProtocol.satisfyStoragePolicy:output_type -> hadoop.hdfs.SatisfyStoragePolicyResponseProto
+ 176, // 287: hadoop.hdfs.ClientNamenodeProtocol.getHAServiceState:output_type -> hadoop.hdfs.HAServiceStateResponseProto
+ 180, // [180:288] is the sub-list for method output_type
+ 72, // [72:180] is the sub-list for method input_type
+ 72, // [72:72] is the sub-list for extension type_name
+ 72, // [72:72] is the sub-list for extension extendee
+ 0, // [0:72] is the sub-list for field type_name
+}
+
+func init() { file_ClientNamenodeProtocol_proto_init() }
+func file_ClientNamenodeProtocol_proto_init() {
+ if File_ClientNamenodeProtocol_proto != nil {
+ return
+ }
+ file_hdfs_proto_init()
+ file_acl_proto_init()
+ file_xattr_proto_init()
+ file_encryption_proto_init()
+ file_inotify_proto_init()
+ file_erasurecoding_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_ClientNamenodeProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetBlockLocationsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetBlockLocationsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetServerDefaultsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetServerDefaultsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AppendRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AppendResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetReplicationRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetReplicationResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetStoragePolicyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetStoragePolicyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UnsetStoragePolicyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UnsetStoragePolicyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetStoragePolicyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetStoragePolicyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetStoragePoliciesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetStoragePoliciesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetPermissionRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetPermissionResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetOwnerRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetOwnerResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AbandonBlockRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AbandonBlockResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AddBlockRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AddBlockResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetAdditionalDatanodeRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetAdditionalDatanodeResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CompleteRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CompleteResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ReportBadBlocksRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ReportBadBlocksResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ConcatRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ConcatResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TruncateRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TruncateResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RenameRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RenameResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Rename2RequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Rename2ResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DeleteRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DeleteResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*MkdirsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*MkdirsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetListingRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetListingResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetBatchedListingRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetBatchedListingResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetSnapshottableDirListingRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetSnapshottableDirListingResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetSnapshotDiffReportRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetSnapshotDiffReportResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetSnapshotDiffReportListingRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetSnapshotDiffReportListingResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RenewLeaseRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RenewLeaseResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RecoverLeaseRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RecoverLeaseResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetFsStatusRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetFsStatsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetFsReplicatedBlockStatsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetFsReplicatedBlockStatsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetFsECBlockGroupStatsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetFsECBlockGroupStatsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetDatanodeReportRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetDatanodeReportResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetDatanodeStorageReportRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DatanodeStorageReportProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetDatanodeStorageReportResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetPreferredBlockSizeRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetPreferredBlockSizeResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetSafeModeRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetSafeModeResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SaveNamespaceRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SaveNamespaceResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RollEditsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RollEditsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RestoreFailedStorageRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RestoreFailedStorageResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshNodesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RefreshNodesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FinalizeUpgradeRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FinalizeUpgradeResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpgradeStatusRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpgradeStatusResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RollingUpgradeRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RollingUpgradeInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RollingUpgradeResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListCorruptFileBlocksRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListCorruptFileBlocksResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*MetaSaveRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*MetaSaveResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetFileInfoRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetFileInfoResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetLocatedFileInfoRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetLocatedFileInfoResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*IsFileClosedRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*IsFileClosedResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CacheDirectiveInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CacheDirectiveInfoExpirationProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CacheDirectiveStatsProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AddCacheDirectiveRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AddCacheDirectiveResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ModifyCacheDirectiveRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ModifyCacheDirectiveResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveCacheDirectiveRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveCacheDirectiveResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListCacheDirectivesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CacheDirectiveEntryProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListCacheDirectivesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CachePoolInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CachePoolStatsProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AddCachePoolRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AddCachePoolResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ModifyCachePoolRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ModifyCachePoolResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveCachePoolRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveCachePoolResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListCachePoolsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListCachePoolsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CachePoolEntryProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetFileLinkInfoRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetFileLinkInfoResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetContentSummaryRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetContentSummaryResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetQuotaUsageRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetQuotaUsageResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetQuotaRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetQuotaResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FsyncRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FsyncResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetTimesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetTimesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateSymlinkRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateSymlinkResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetLinkTargetRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetLinkTargetResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdateBlockForPipelineRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdateBlockForPipelineResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdatePipelineRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdatePipelineResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetBalancerBandwidthRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetBalancerBandwidthResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetDataEncryptionKeyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetDataEncryptionKeyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateSnapshotRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateSnapshotResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RenameSnapshotRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RenameSnapshotResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AllowSnapshotRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AllowSnapshotResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DisallowSnapshotRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DisallowSnapshotResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DeleteSnapshotRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DeleteSnapshotResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CheckAccessRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CheckAccessResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetCurrentEditLogTxidRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetCurrentEditLogTxidResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetEditsFromTxidRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetEditsFromTxidResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListOpenFilesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpenFilesBatchResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListOpenFilesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*MsyncRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*MsyncResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SatisfyStoragePolicyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SatisfyStoragePolicyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*HAServiceStateRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ClientNamenodeProtocol_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*HAServiceStateResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_ClientNamenodeProtocol_proto_rawDesc,
+ NumEnums: 7,
+ NumMessages: 170,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_ClientNamenodeProtocol_proto_goTypes,
+ DependencyIndexes: file_ClientNamenodeProtocol_proto_depIdxs,
+ EnumInfos: file_ClientNamenodeProtocol_proto_enumTypes,
+ MessageInfos: file_ClientNamenodeProtocol_proto_msgTypes,
+ }.Build()
+ File_ClientNamenodeProtocol_proto = out.File
+ file_ClientNamenodeProtocol_proto_rawDesc = nil
+ file_ClientNamenodeProtocol_proto_goTypes = nil
+ file_ClientNamenodeProtocol_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_hdfs/ClientNamenodeProtocol.proto b/internal/protocol/hadoop_hdfs/ClientNamenodeProtocol.proto
index 30732ef..d9b32ff 100644
--- a/internal/protocol/hadoop_hdfs/ClientNamenodeProtocol.proto
+++ b/internal/protocol/hadoop_hdfs/ClientNamenodeProtocol.proto
@@ -21,11 +21,12 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax="proto2";
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
option java_outer_classname = "ClientNamenodeProtocolProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
package hadoop.hdfs;
import "Security.proto";
@@ -35,6 +36,7 @@ import "xattr.proto";
import "encryption.proto";
import "inotify.proto";
import "erasurecoding.proto";
+import "HAServiceProtocol.proto";
/**
* The ClientNamenodeProtocol Service defines the interface between a client
@@ -68,6 +70,7 @@ enum CreateFlagProto {
APPEND = 0x04; // Append to a file
LAZY_PERSIST = 0x10; // File with reduced durability guarantees.
NEW_BLOCK = 0x20; // Write data to a new block when appending
+ SHOULD_REPLICATE = 0x80; // Enforce to create a replicate file
}
message CreateRequestProto {
@@ -79,6 +82,9 @@ message CreateRequestProto {
required uint32 replication = 6; // Short: Only 16 bits used
required uint64 blockSize = 7;
repeated CryptoProtocolVersionProto cryptoProtocolVersion = 8;
+ optional FsPermissionProto unmasked = 9;
+ optional string ecPolicyName = 10;
+ optional string storagePolicy = 11;
}
message CreateResponseProto {
@@ -162,6 +168,11 @@ message AbandonBlockRequestProto {
message AbandonBlockResponseProto { // void response
}
+enum AddBlockFlagProto {
+ NO_LOCAL_WRITE = 1; // avoid writing to local node.
+ IGNORE_CLIENT_LOCALITY = 2; // write to a random node
+}
+
message AddBlockRequestProto {
required string src = 1;
required string clientName = 2;
@@ -169,6 +180,7 @@ message AddBlockRequestProto {
repeated DatanodeInfoProto excludeNodes = 4;
optional uint64 fileId = 5 [default = 0]; // default as a bogus id
repeated string favoredNodes = 6; //the set of datanodes to use for the block
+ repeated AddBlockFlagProto flags = 7; // default to empty.
}
message AddBlockResponseProto {
@@ -240,6 +252,7 @@ message Rename2RequestProto {
required string src = 1;
required string dst = 2;
required bool overwriteDest = 3;
+ optional bool moveToTrash = 4;
}
message Rename2ResponseProto { // void response
@@ -258,6 +271,7 @@ message MkdirsRequestProto {
required string src = 1;
required FsPermissionProto masked = 2;
required bool createParent = 3;
+ optional FsPermissionProto unmasked = 4;
}
message MkdirsResponseProto {
required bool result = 1;
@@ -272,6 +286,18 @@ message GetListingResponseProto {
optional DirectoryListingProto dirList = 1;
}
+message GetBatchedListingRequestProto {
+ repeated string paths = 1;
+ required bytes startAfter = 2;
+ required bool needLocation = 3;
+}
+
+message GetBatchedListingResponseProto {
+ repeated BatchedDirectoryListingProto listings = 1;
+ required bool hasMore = 2;
+ required bytes startAfter = 3;
+}
+
message GetSnapshottableDirListingRequestProto { // no input parameters
}
message GetSnapshottableDirListingResponseProto {
@@ -287,6 +313,16 @@ message GetSnapshotDiffReportResponseProto {
required SnapshotDiffReportProto diffReport = 1;
}
+message GetSnapshotDiffReportListingRequestProto {
+ required string snapshotRoot = 1;
+ required string fromSnapshot = 2;
+ required string toSnapshot = 3;
+ optional SnapshotDiffReportCursorProto cursor = 4;
+}
+
+message GetSnapshotDiffReportListingResponseProto {
+ required SnapshotDiffReportListingProto diffReport = 1;
+}
message RenewLeaseRequestProto {
required string clientName = 1;
}
@@ -317,11 +353,39 @@ message GetFsStatsResponseProto {
optional uint64 pending_deletion_blocks = 9;
}
+message GetFsReplicatedBlockStatsRequestProto { // no input paramters
+}
+
+message GetFsReplicatedBlockStatsResponseProto {
+ required uint64 low_redundancy = 1;
+ required uint64 corrupt_blocks = 2;
+ required uint64 missing_blocks = 3;
+ required uint64 missing_repl_one_blocks = 4;
+ required uint64 blocks_in_future = 5;
+ required uint64 pending_deletion_blocks = 6;
+ optional uint64 highest_prio_low_redundancy_blocks = 7;
+
+}
+
+message GetFsECBlockGroupStatsRequestProto { // no input paramters
+}
+
+message GetFsECBlockGroupStatsResponseProto {
+ required uint64 low_redundancy = 1;
+ required uint64 corrupt_blocks = 2;
+ required uint64 missing_blocks = 3;
+ required uint64 blocks_in_future = 4;
+ required uint64 pending_deletion_blocks = 5;
+ optional uint64 highest_prio_low_redundancy_blocks = 6;
+}
+
enum DatanodeReportTypeProto { // type of the datanode report
ALL = 1;
LIVE = 2;
DEAD = 3;
DECOMMISSIONING = 4;
+ ENTERING_MAINTENANCE = 5;
+ IN_MAINTENANCE = 6;
}
message GetDatanodeReportRequestProto {
@@ -405,6 +469,13 @@ message FinalizeUpgradeRequestProto { // no parameters
message FinalizeUpgradeResponseProto { // void response
}
+message UpgradeStatusRequestProto { // no parameters
+}
+
+message UpgradeStatusResponseProto {
+ required bool upgradeFinalized = 1;
+}
+
enum RollingUpgradeActionProto {
QUERY = 1;
START = 2;
@@ -425,7 +496,6 @@ message RollingUpgradeInfoProto {
message RollingUpgradeResponseProto {
optional RollingUpgradeInfoProto rollingUpgradeInfo= 1;
}
-
message ListCorruptFileBlocksRequestProto {
required string path = 1;
optional string cookie = 2;
@@ -450,6 +520,15 @@ message GetFileInfoResponseProto {
optional HdfsFileStatusProto fs = 1;
}
+message GetLocatedFileInfoRequestProto {
+ optional string src = 1;
+ optional bool needBlockToken = 2 [default = false];
+}
+
+message GetLocatedFileInfoResponseProto {
+ optional HdfsFileStatusProto fs = 1;
+}
+
message IsFileClosedRequestProto {
required string src = 1;
}
@@ -529,6 +608,7 @@ message CachePoolInfoProto {
optional int32 mode = 4;
optional int64 limit = 5;
optional int64 maxRelativeExpiry = 6;
+ optional uint32 defaultReplication = 7 [default=1];
}
message CachePoolStatsProto {
@@ -741,6 +821,51 @@ message GetEditsFromTxidResponseProto {
required EventsListProto eventsList = 1;
}
+enum OpenFilesTypeProto {
+ ALL_OPEN_FILES = 1;
+ BLOCKING_DECOMMISSION = 2;
+}
+
+message ListOpenFilesRequestProto {
+ required int64 id = 1;
+ repeated OpenFilesTypeProto types = 2;
+ optional string path = 3;
+}
+
+message OpenFilesBatchResponseProto {
+ required int64 id = 1;
+ required string path = 2;
+ required string clientName = 3;
+ required string clientMachine = 4;
+}
+
+message ListOpenFilesResponseProto {
+ repeated OpenFilesBatchResponseProto entries = 1;
+ required bool hasMore = 2;
+ repeated OpenFilesTypeProto types = 3;
+}
+
+message MsyncRequestProto {
+}
+
+message MsyncResponseProto {
+}
+
+message SatisfyStoragePolicyRequestProto {
+ required string src = 1;
+}
+
+message SatisfyStoragePolicyResponseProto {
+
+}
+
+message HAServiceStateRequestProto {
+}
+
+message HAServiceStateResponseProto {
+ required hadoop.common.HAServiceStateProto state = 1;
+}
+
service ClientNamenodeProtocol {
rpc getBlockLocations(GetBlockLocationsRequestProto)
returns(GetBlockLocationsResponseProto);
@@ -775,10 +900,15 @@ service ClientNamenodeProtocol {
rpc delete(DeleteRequestProto) returns(DeleteResponseProto);
rpc mkdirs(MkdirsRequestProto) returns(MkdirsResponseProto);
rpc getListing(GetListingRequestProto) returns(GetListingResponseProto);
+ rpc getBatchedListing (GetBatchedListingRequestProto) returns (GetBatchedListingResponseProto);
rpc renewLease(RenewLeaseRequestProto) returns(RenewLeaseResponseProto);
rpc recoverLease(RecoverLeaseRequestProto)
returns(RecoverLeaseResponseProto);
rpc getFsStats(GetFsStatusRequestProto) returns(GetFsStatsResponseProto);
+ rpc getFsReplicatedBlockStats(GetFsReplicatedBlockStatsRequestProto)
+ returns (GetFsReplicatedBlockStatsResponseProto);
+ rpc getFsECBlockGroupStats(GetFsECBlockGroupStatsRequestProto)
+ returns (GetFsECBlockGroupStatsResponseProto);
rpc getDatanodeReport(GetDatanodeReportRequestProto)
returns(GetDatanodeReportResponseProto);
rpc getDatanodeStorageReport(GetDatanodeStorageReportRequestProto)
@@ -796,12 +926,16 @@ service ClientNamenodeProtocol {
rpc refreshNodes(RefreshNodesRequestProto) returns(RefreshNodesResponseProto);
rpc finalizeUpgrade(FinalizeUpgradeRequestProto)
returns(FinalizeUpgradeResponseProto);
+ rpc upgradeStatus(UpgradeStatusRequestProto)
+ returns(UpgradeStatusResponseProto);
rpc rollingUpgrade(RollingUpgradeRequestProto)
returns(RollingUpgradeResponseProto);
rpc listCorruptFileBlocks(ListCorruptFileBlocksRequestProto)
returns(ListCorruptFileBlocksResponseProto);
rpc metaSave(MetaSaveRequestProto) returns(MetaSaveResponseProto);
rpc getFileInfo(GetFileInfoRequestProto) returns(GetFileInfoResponseProto);
+ rpc getLocatedFileInfo(GetLocatedFileInfoRequestProto)
+ returns(GetLocatedFileInfoResponseProto);
rpc addCacheDirective(AddCacheDirectiveRequestProto)
returns (AddCacheDirectiveResponseProto);
rpc modifyCacheDirective(ModifyCacheDirectiveRequestProto)
@@ -857,6 +991,8 @@ service ClientNamenodeProtocol {
returns(DeleteSnapshotResponseProto);
rpc getSnapshotDiffReport(GetSnapshotDiffReportRequestProto)
returns(GetSnapshotDiffReportResponseProto);
+ rpc getSnapshotDiffReportListing(GetSnapshotDiffReportListingRequestProto)
+ returns(GetSnapshotDiffReportListingResponseProto);
rpc isFileClosed(IsFileClosedRequestProto)
returns(IsFileClosedResponseProto);
rpc modifyAclEntries(ModifyAclEntriesRequestProto)
@@ -885,18 +1021,44 @@ service ClientNamenodeProtocol {
returns(CreateEncryptionZoneResponseProto);
rpc listEncryptionZones(ListEncryptionZonesRequestProto)
returns(ListEncryptionZonesResponseProto);
+ rpc reencryptEncryptionZone(ReencryptEncryptionZoneRequestProto)
+ returns(ReencryptEncryptionZoneResponseProto);
+ rpc listReencryptionStatus(ListReencryptionStatusRequestProto)
+ returns(ListReencryptionStatusResponseProto);
rpc getEZForPath(GetEZForPathRequestProto)
returns(GetEZForPathResponseProto);
rpc setErasureCodingPolicy(SetErasureCodingPolicyRequestProto)
returns(SetErasureCodingPolicyResponseProto);
+ rpc unsetErasureCodingPolicy(UnsetErasureCodingPolicyRequestProto)
+ returns(UnsetErasureCodingPolicyResponseProto);
+ rpc getECTopologyResultForPolicies(GetECTopologyResultForPoliciesRequestProto)
+ returns(GetECTopologyResultForPoliciesResponseProto);
rpc getCurrentEditLogTxid(GetCurrentEditLogTxidRequestProto)
returns(GetCurrentEditLogTxidResponseProto);
rpc getEditsFromTxid(GetEditsFromTxidRequestProto)
returns(GetEditsFromTxidResponseProto);
rpc getErasureCodingPolicies(GetErasureCodingPoliciesRequestProto)
returns(GetErasureCodingPoliciesResponseProto);
+ rpc addErasureCodingPolicies(AddErasureCodingPoliciesRequestProto)
+ returns(AddErasureCodingPoliciesResponseProto);
+ rpc removeErasureCodingPolicy(RemoveErasureCodingPolicyRequestProto)
+ returns(RemoveErasureCodingPolicyResponseProto);
+ rpc enableErasureCodingPolicy(EnableErasureCodingPolicyRequestProto)
+ returns(EnableErasureCodingPolicyResponseProto);
+ rpc disableErasureCodingPolicy(DisableErasureCodingPolicyRequestProto)
+ returns(DisableErasureCodingPolicyResponseProto);
rpc getErasureCodingPolicy(GetErasureCodingPolicyRequestProto)
returns(GetErasureCodingPolicyResponseProto);
+ rpc getErasureCodingCodecs(GetErasureCodingCodecsRequestProto)
+ returns(GetErasureCodingCodecsResponseProto);
rpc getQuotaUsage(GetQuotaUsageRequestProto)
returns(GetQuotaUsageResponseProto);
+ rpc listOpenFiles(ListOpenFilesRequestProto)
+ returns(ListOpenFilesResponseProto);
+ rpc msync(MsyncRequestProto)
+ returns(MsyncResponseProto);
+ rpc satisfyStoragePolicy(SatisfyStoragePolicyRequestProto)
+ returns(SatisfyStoragePolicyResponseProto);
+ rpc getHAServiceState(HAServiceStateRequestProto)
+ returns(HAServiceStateResponseProto);
}
diff --git a/internal/protocol/hadoop_hdfs/HAZKInfo.pb.go b/internal/protocol/hadoop_hdfs/HAZKInfo.pb.go
new file mode 100644
index 0000000..78bbb3a
--- /dev/null
+++ b/internal/protocol/hadoop_hdfs/HAZKInfo.pb.go
@@ -0,0 +1,211 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
+// source: HAZKInfo.proto
+
+package hadoop_hdfs
+
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
+
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
+
+type ActiveNodeInfo struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ NameserviceId *string `protobuf:"bytes,1,req,name=nameserviceId" json:"nameserviceId,omitempty"`
+ NamenodeId *string `protobuf:"bytes,2,req,name=namenodeId" json:"namenodeId,omitempty"`
+ Hostname *string `protobuf:"bytes,3,req,name=hostname" json:"hostname,omitempty"`
+ Port *int32 `protobuf:"varint,4,req,name=port" json:"port,omitempty"`
+ ZkfcPort *int32 `protobuf:"varint,5,req,name=zkfcPort" json:"zkfcPort,omitempty"`
+}
+
+func (x *ActiveNodeInfo) Reset() {
+ *x = ActiveNodeInfo{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HAZKInfo_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ActiveNodeInfo) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ActiveNodeInfo) ProtoMessage() {}
+
+func (x *ActiveNodeInfo) ProtoReflect() protoreflect.Message {
+ mi := &file_HAZKInfo_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ActiveNodeInfo.ProtoReflect.Descriptor instead.
+func (*ActiveNodeInfo) Descriptor() ([]byte, []int) {
+ return file_HAZKInfo_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *ActiveNodeInfo) GetNameserviceId() string {
+ if x != nil && x.NameserviceId != nil {
+ return *x.NameserviceId
+ }
+ return ""
+}
+
+func (x *ActiveNodeInfo) GetNamenodeId() string {
+ if x != nil && x.NamenodeId != nil {
+ return *x.NamenodeId
+ }
+ return ""
+}
+
+func (x *ActiveNodeInfo) GetHostname() string {
+ if x != nil && x.Hostname != nil {
+ return *x.Hostname
+ }
+ return ""
+}
+
+func (x *ActiveNodeInfo) GetPort() int32 {
+ if x != nil && x.Port != nil {
+ return *x.Port
+ }
+ return 0
+}
+
+func (x *ActiveNodeInfo) GetZkfcPort() int32 {
+ if x != nil && x.ZkfcPort != nil {
+ return *x.ZkfcPort
+ }
+ return 0
+}
+
+var File_HAZKInfo_proto protoreflect.FileDescriptor
+
+var file_HAZKInfo_proto_rawDesc = []byte{
+ 0x0a, 0x0e, 0x48, 0x41, 0x5a, 0x4b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x0b, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x22, 0xa2, 0x01,
+ 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f,
+ 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49,
+ 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x65, 0x72,
+ 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x6e, 0x6f,
+ 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65,
+ 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61,
+ 0x6d, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61,
+ 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x02, 0x28, 0x05,
+ 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x7a, 0x6b, 0x66, 0x63, 0x50, 0x6f,
+ 0x72, 0x74, 0x18, 0x05, 0x20, 0x02, 0x28, 0x05, 0x52, 0x08, 0x7a, 0x6b, 0x66, 0x63, 0x50, 0x6f,
+ 0x72, 0x74, 0x42, 0x7d, 0x0a, 0x2f, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x73, 0x65, 0x72,
+ 0x76, 0x65, 0x72, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x68, 0x61, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x0e, 0x48, 0x41, 0x5a, 0x4b, 0x49, 0x6e, 0x66, 0x6f, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
+ 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73,
+ 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x68, 0x64, 0x66,
+ 0x73,
+}
+
+var (
+ file_HAZKInfo_proto_rawDescOnce sync.Once
+ file_HAZKInfo_proto_rawDescData = file_HAZKInfo_proto_rawDesc
+)
+
+func file_HAZKInfo_proto_rawDescGZIP() []byte {
+ file_HAZKInfo_proto_rawDescOnce.Do(func() {
+ file_HAZKInfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_HAZKInfo_proto_rawDescData)
+ })
+ return file_HAZKInfo_proto_rawDescData
+}
+
+var file_HAZKInfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
+var file_HAZKInfo_proto_goTypes = []interface{}{
+ (*ActiveNodeInfo)(nil), // 0: hadoop.hdfs.ActiveNodeInfo
+}
+var file_HAZKInfo_proto_depIdxs = []int32{
+ 0, // [0:0] is the sub-list for method output_type
+ 0, // [0:0] is the sub-list for method input_type
+ 0, // [0:0] is the sub-list for extension type_name
+ 0, // [0:0] is the sub-list for extension extendee
+ 0, // [0:0] is the sub-list for field type_name
+}
+
+func init() { file_HAZKInfo_proto_init() }
+func file_HAZKInfo_proto_init() {
+ if File_HAZKInfo_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_HAZKInfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ActiveNodeInfo); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_HAZKInfo_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 1,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_HAZKInfo_proto_goTypes,
+ DependencyIndexes: file_HAZKInfo_proto_depIdxs,
+ MessageInfos: file_HAZKInfo_proto_msgTypes,
+ }.Build()
+ File_HAZKInfo_proto = out.File
+ file_HAZKInfo_proto_rawDesc = nil
+ file_HAZKInfo_proto_goTypes = nil
+ file_HAZKInfo_proto_depIdxs = nil
+}
diff --git a/internal/protocol/hadoop_hdfs/HAZKInfo.proto b/internal/protocol/hadoop_hdfs/HAZKInfo.proto
new file mode 100644
index 0000000..02de1a0
--- /dev/null
+++ b/internal/protocol/hadoop_hdfs/HAZKInfo.proto
@@ -0,0 +1,37 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * These .proto interfaces are private and stable.
+ * Please see http://wiki.apache.org/hadoop/Compatibility
+ * for what changes are allowed for a *stable* .proto interface.
+ */
+syntax = "proto2";
+option java_package = "org.apache.hadoop.hdfs.server.namenode.ha.proto";
+option java_outer_classname = "HAZKInfoProtos";
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
+package hadoop.hdfs;
+
+message ActiveNodeInfo {
+ required string nameserviceId = 1;
+ required string namenodeId = 2;
+
+ required string hostname = 3;
+ required int32 port = 4;
+ required int32 zkfcPort = 5;
+}
diff --git a/internal/protocol/hadoop_hdfs/HdfsServer.pb.go b/internal/protocol/hadoop_hdfs/HdfsServer.pb.go
new file mode 100644
index 0000000..77c96d2
--- /dev/null
+++ b/internal/protocol/hadoop_hdfs/HdfsServer.pb.go
@@ -0,0 +1,1883 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
+// This file contains protocol buffers that are used throughout HDFS -- i.e.
+// by the client, server, and data transfer protocols.
+
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
+// source: HdfsServer.proto
+
+package hadoop_hdfs
+
+import (
+ _ "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
+
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
+
+//*
+// State of a block replica at a datanode
+type ReplicaStateProto int32
+
+const (
+ ReplicaStateProto_FINALIZED ReplicaStateProto = 0 // State of a replica when it is not modified
+ ReplicaStateProto_RBW ReplicaStateProto = 1 // State of replica that is being written to
+ ReplicaStateProto_RWR ReplicaStateProto = 2 // State of replica that is waiting to be recovered
+ ReplicaStateProto_RUR ReplicaStateProto = 3 // State of replica that is under recovery
+ ReplicaStateProto_TEMPORARY ReplicaStateProto = 4 // State of replica that is created for replication
+)
+
+// Enum value maps for ReplicaStateProto.
+var (
+ ReplicaStateProto_name = map[int32]string{
+ 0: "FINALIZED",
+ 1: "RBW",
+ 2: "RWR",
+ 3: "RUR",
+ 4: "TEMPORARY",
+ }
+ ReplicaStateProto_value = map[string]int32{
+ "FINALIZED": 0,
+ "RBW": 1,
+ "RWR": 2,
+ "RUR": 3,
+ "TEMPORARY": 4,
+ }
+)
+
+func (x ReplicaStateProto) Enum() *ReplicaStateProto {
+ p := new(ReplicaStateProto)
+ *p = x
+ return p
+}
+
+func (x ReplicaStateProto) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (ReplicaStateProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_HdfsServer_proto_enumTypes[0].Descriptor()
+}
+
+func (ReplicaStateProto) Type() protoreflect.EnumType {
+ return &file_HdfsServer_proto_enumTypes[0]
+}
+
+func (x ReplicaStateProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *ReplicaStateProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = ReplicaStateProto(num)
+ return nil
+}
+
+// Deprecated: Use ReplicaStateProto.Descriptor instead.
+func (ReplicaStateProto) EnumDescriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{0}
+}
+
+type NamenodeCommandProto_Type int32
+
+const (
+ NamenodeCommandProto_NamenodeCommand NamenodeCommandProto_Type = 0 // Base command
+ NamenodeCommandProto_CheckPointCommand NamenodeCommandProto_Type = 1 // Check point command
+)
+
+// Enum value maps for NamenodeCommandProto_Type.
+var (
+ NamenodeCommandProto_Type_name = map[int32]string{
+ 0: "NamenodeCommand",
+ 1: "CheckPointCommand",
+ }
+ NamenodeCommandProto_Type_value = map[string]int32{
+ "NamenodeCommand": 0,
+ "CheckPointCommand": 1,
+ }
+)
+
+func (x NamenodeCommandProto_Type) Enum() *NamenodeCommandProto_Type {
+ p := new(NamenodeCommandProto_Type)
+ *p = x
+ return p
+}
+
+func (x NamenodeCommandProto_Type) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (NamenodeCommandProto_Type) Descriptor() protoreflect.EnumDescriptor {
+ return file_HdfsServer_proto_enumTypes[1].Descriptor()
+}
+
+func (NamenodeCommandProto_Type) Type() protoreflect.EnumType {
+ return &file_HdfsServer_proto_enumTypes[1]
+}
+
+func (x NamenodeCommandProto_Type) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *NamenodeCommandProto_Type) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = NamenodeCommandProto_Type(num)
+ return nil
+}
+
+// Deprecated: Use NamenodeCommandProto_Type.Descriptor instead.
+func (NamenodeCommandProto_Type) EnumDescriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{10, 0}
+}
+
+type NamenodeRegistrationProto_NamenodeRoleProto int32
+
+const (
+ NamenodeRegistrationProto_NAMENODE NamenodeRegistrationProto_NamenodeRoleProto = 1
+ NamenodeRegistrationProto_BACKUP NamenodeRegistrationProto_NamenodeRoleProto = 2
+ NamenodeRegistrationProto_CHECKPOINT NamenodeRegistrationProto_NamenodeRoleProto = 3
+)
+
+// Enum value maps for NamenodeRegistrationProto_NamenodeRoleProto.
+var (
+ NamenodeRegistrationProto_NamenodeRoleProto_name = map[int32]string{
+ 1: "NAMENODE",
+ 2: "BACKUP",
+ 3: "CHECKPOINT",
+ }
+ NamenodeRegistrationProto_NamenodeRoleProto_value = map[string]int32{
+ "NAMENODE": 1,
+ "BACKUP": 2,
+ "CHECKPOINT": 3,
+ }
+)
+
+func (x NamenodeRegistrationProto_NamenodeRoleProto) Enum() *NamenodeRegistrationProto_NamenodeRoleProto {
+ p := new(NamenodeRegistrationProto_NamenodeRoleProto)
+ *p = x
+ return p
+}
+
+func (x NamenodeRegistrationProto_NamenodeRoleProto) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (NamenodeRegistrationProto_NamenodeRoleProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_HdfsServer_proto_enumTypes[2].Descriptor()
+}
+
+func (NamenodeRegistrationProto_NamenodeRoleProto) Type() protoreflect.EnumType {
+ return &file_HdfsServer_proto_enumTypes[2]
+}
+
+func (x NamenodeRegistrationProto_NamenodeRoleProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *NamenodeRegistrationProto_NamenodeRoleProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = NamenodeRegistrationProto_NamenodeRoleProto(num)
+ return nil
+}
+
+// Deprecated: Use NamenodeRegistrationProto_NamenodeRoleProto.Descriptor instead.
+func (NamenodeRegistrationProto_NamenodeRoleProto) EnumDescriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{14, 0}
+}
+
+type NNHAStatusHeartbeatProto_State int32
+
+const (
+ NNHAStatusHeartbeatProto_ACTIVE NNHAStatusHeartbeatProto_State = 0
+ NNHAStatusHeartbeatProto_STANDBY NNHAStatusHeartbeatProto_State = 1
+ NNHAStatusHeartbeatProto_OBSERVER NNHAStatusHeartbeatProto_State = 2
+)
+
+// Enum value maps for NNHAStatusHeartbeatProto_State.
+var (
+ NNHAStatusHeartbeatProto_State_name = map[int32]string{
+ 0: "ACTIVE",
+ 1: "STANDBY",
+ 2: "OBSERVER",
+ }
+ NNHAStatusHeartbeatProto_State_value = map[string]int32{
+ "ACTIVE": 0,
+ "STANDBY": 1,
+ "OBSERVER": 2,
+ }
+)
+
+func (x NNHAStatusHeartbeatProto_State) Enum() *NNHAStatusHeartbeatProto_State {
+ p := new(NNHAStatusHeartbeatProto_State)
+ *p = x
+ return p
+}
+
+func (x NNHAStatusHeartbeatProto_State) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (NNHAStatusHeartbeatProto_State) Descriptor() protoreflect.EnumDescriptor {
+ return file_HdfsServer_proto_enumTypes[3].Descriptor()
+}
+
+func (NNHAStatusHeartbeatProto_State) Type() protoreflect.EnumType {
+ return &file_HdfsServer_proto_enumTypes[3]
+}
+
+func (x NNHAStatusHeartbeatProto_State) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *NNHAStatusHeartbeatProto_State) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = NNHAStatusHeartbeatProto_State(num)
+ return nil
+}
+
+// Deprecated: Use NNHAStatusHeartbeatProto_State.Descriptor instead.
+func (NNHAStatusHeartbeatProto_State) EnumDescriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{15, 0}
+}
+
+//*
+// Block access token information
+type BlockKeyProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ KeyId *uint32 `protobuf:"varint,1,req,name=keyId" json:"keyId,omitempty"` // Key identifier
+ ExpiryDate *uint64 `protobuf:"varint,2,req,name=expiryDate" json:"expiryDate,omitempty"` // Expiry time in milliseconds
+ KeyBytes []byte `protobuf:"bytes,3,opt,name=keyBytes" json:"keyBytes,omitempty"` // Key secret
+}
+
+func (x *BlockKeyProto) Reset() {
+ *x = BlockKeyProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BlockKeyProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BlockKeyProto) ProtoMessage() {}
+
+func (x *BlockKeyProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BlockKeyProto.ProtoReflect.Descriptor instead.
+func (*BlockKeyProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *BlockKeyProto) GetKeyId() uint32 {
+ if x != nil && x.KeyId != nil {
+ return *x.KeyId
+ }
+ return 0
+}
+
+func (x *BlockKeyProto) GetExpiryDate() uint64 {
+ if x != nil && x.ExpiryDate != nil {
+ return *x.ExpiryDate
+ }
+ return 0
+}
+
+func (x *BlockKeyProto) GetKeyBytes() []byte {
+ if x != nil {
+ return x.KeyBytes
+ }
+ return nil
+}
+
+//*
+// Current key and set of block keys at the namenode.
+type ExportedBlockKeysProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ IsBlockTokenEnabled *bool `protobuf:"varint,1,req,name=isBlockTokenEnabled" json:"isBlockTokenEnabled,omitempty"`
+ KeyUpdateInterval *uint64 `protobuf:"varint,2,req,name=keyUpdateInterval" json:"keyUpdateInterval,omitempty"`
+ TokenLifeTime *uint64 `protobuf:"varint,3,req,name=tokenLifeTime" json:"tokenLifeTime,omitempty"`
+ CurrentKey *BlockKeyProto `protobuf:"bytes,4,req,name=currentKey" json:"currentKey,omitempty"`
+ AllKeys []*BlockKeyProto `protobuf:"bytes,5,rep,name=allKeys" json:"allKeys,omitempty"`
+}
+
+func (x *ExportedBlockKeysProto) Reset() {
+ *x = ExportedBlockKeysProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ExportedBlockKeysProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ExportedBlockKeysProto) ProtoMessage() {}
+
+func (x *ExportedBlockKeysProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ExportedBlockKeysProto.ProtoReflect.Descriptor instead.
+func (*ExportedBlockKeysProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *ExportedBlockKeysProto) GetIsBlockTokenEnabled() bool {
+ if x != nil && x.IsBlockTokenEnabled != nil {
+ return *x.IsBlockTokenEnabled
+ }
+ return false
+}
+
+func (x *ExportedBlockKeysProto) GetKeyUpdateInterval() uint64 {
+ if x != nil && x.KeyUpdateInterval != nil {
+ return *x.KeyUpdateInterval
+ }
+ return 0
+}
+
+func (x *ExportedBlockKeysProto) GetTokenLifeTime() uint64 {
+ if x != nil && x.TokenLifeTime != nil {
+ return *x.TokenLifeTime
+ }
+ return 0
+}
+
+func (x *ExportedBlockKeysProto) GetCurrentKey() *BlockKeyProto {
+ if x != nil {
+ return x.CurrentKey
+ }
+ return nil
+}
+
+func (x *ExportedBlockKeysProto) GetAllKeys() []*BlockKeyProto {
+ if x != nil {
+ return x.AllKeys
+ }
+ return nil
+}
+
+//*
+// Block and datanodes where is it located
+type BlockWithLocationsProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *BlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"` // Block
+ DatanodeUuids []string `protobuf:"bytes,2,rep,name=datanodeUuids" json:"datanodeUuids,omitempty"` // Datanodes with replicas of the block
+ StorageUuids []string `protobuf:"bytes,3,rep,name=storageUuids" json:"storageUuids,omitempty"` // Storages with replicas of the block
+ StorageTypes []StorageTypeProto `protobuf:"varint,4,rep,name=storageTypes,enum=hadoop.hdfs.StorageTypeProto" json:"storageTypes,omitempty"`
+ Indices []byte `protobuf:"bytes,5,opt,name=indices" json:"indices,omitempty"`
+ DataBlockNum *uint32 `protobuf:"varint,6,opt,name=dataBlockNum" json:"dataBlockNum,omitempty"`
+ CellSize *uint32 `protobuf:"varint,7,opt,name=cellSize" json:"cellSize,omitempty"`
+}
+
+func (x *BlockWithLocationsProto) Reset() {
+ *x = BlockWithLocationsProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BlockWithLocationsProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BlockWithLocationsProto) ProtoMessage() {}
+
+func (x *BlockWithLocationsProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BlockWithLocationsProto.ProtoReflect.Descriptor instead.
+func (*BlockWithLocationsProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *BlockWithLocationsProto) GetBlock() *BlockProto {
+ if x != nil {
+ return x.Block
+ }
+ return nil
+}
+
+func (x *BlockWithLocationsProto) GetDatanodeUuids() []string {
+ if x != nil {
+ return x.DatanodeUuids
+ }
+ return nil
+}
+
+func (x *BlockWithLocationsProto) GetStorageUuids() []string {
+ if x != nil {
+ return x.StorageUuids
+ }
+ return nil
+}
+
+func (x *BlockWithLocationsProto) GetStorageTypes() []StorageTypeProto {
+ if x != nil {
+ return x.StorageTypes
+ }
+ return nil
+}
+
+func (x *BlockWithLocationsProto) GetIndices() []byte {
+ if x != nil {
+ return x.Indices
+ }
+ return nil
+}
+
+func (x *BlockWithLocationsProto) GetDataBlockNum() uint32 {
+ if x != nil && x.DataBlockNum != nil {
+ return *x.DataBlockNum
+ }
+ return 0
+}
+
+func (x *BlockWithLocationsProto) GetCellSize() uint32 {
+ if x != nil && x.CellSize != nil {
+ return *x.CellSize
+ }
+ return 0
+}
+
+//*
+// List of block with locations
+type BlocksWithLocationsProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Blocks []*BlockWithLocationsProto `protobuf:"bytes,1,rep,name=blocks" json:"blocks,omitempty"`
+}
+
+func (x *BlocksWithLocationsProto) Reset() {
+ *x = BlocksWithLocationsProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BlocksWithLocationsProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BlocksWithLocationsProto) ProtoMessage() {}
+
+func (x *BlocksWithLocationsProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BlocksWithLocationsProto.ProtoReflect.Descriptor instead.
+func (*BlocksWithLocationsProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *BlocksWithLocationsProto) GetBlocks() []*BlockWithLocationsProto {
+ if x != nil {
+ return x.Blocks
+ }
+ return nil
+}
+
+//*
+// Editlog information with available transactions
+type RemoteEditLogProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ StartTxId *uint64 `protobuf:"varint,1,req,name=startTxId" json:"startTxId,omitempty"` // Starting available edit log transaction
+ EndTxId *uint64 `protobuf:"varint,2,req,name=endTxId" json:"endTxId,omitempty"` // Ending available edit log transaction
+ IsInProgress *bool `protobuf:"varint,3,opt,name=isInProgress,def=0" json:"isInProgress,omitempty"`
+}
+
+// Default values for RemoteEditLogProto fields.
+const (
+ Default_RemoteEditLogProto_IsInProgress = bool(false)
+)
+
+func (x *RemoteEditLogProto) Reset() {
+ *x = RemoteEditLogProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoteEditLogProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoteEditLogProto) ProtoMessage() {}
+
+func (x *RemoteEditLogProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoteEditLogProto.ProtoReflect.Descriptor instead.
+func (*RemoteEditLogProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{4}
+}
+
+func (x *RemoteEditLogProto) GetStartTxId() uint64 {
+ if x != nil && x.StartTxId != nil {
+ return *x.StartTxId
+ }
+ return 0
+}
+
+func (x *RemoteEditLogProto) GetEndTxId() uint64 {
+ if x != nil && x.EndTxId != nil {
+ return *x.EndTxId
+ }
+ return 0
+}
+
+func (x *RemoteEditLogProto) GetIsInProgress() bool {
+ if x != nil && x.IsInProgress != nil {
+ return *x.IsInProgress
+ }
+ return Default_RemoteEditLogProto_IsInProgress
+}
+
+//*
+// Enumeration of editlogs available on a remote namenode
+type RemoteEditLogManifestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Logs []*RemoteEditLogProto `protobuf:"bytes,1,rep,name=logs" json:"logs,omitempty"`
+ CommittedTxnId *uint64 `protobuf:"varint,2,opt,name=committedTxnId" json:"committedTxnId,omitempty"`
+}
+
+func (x *RemoteEditLogManifestProto) Reset() {
+ *x = RemoteEditLogManifestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoteEditLogManifestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoteEditLogManifestProto) ProtoMessage() {}
+
+func (x *RemoteEditLogManifestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoteEditLogManifestProto.ProtoReflect.Descriptor instead.
+func (*RemoteEditLogManifestProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *RemoteEditLogManifestProto) GetLogs() []*RemoteEditLogProto {
+ if x != nil {
+ return x.Logs
+ }
+ return nil
+}
+
+func (x *RemoteEditLogManifestProto) GetCommittedTxnId() uint64 {
+ if x != nil && x.CommittedTxnId != nil {
+ return *x.CommittedTxnId
+ }
+ return 0
+}
+
+//*
+// Namespace information that describes namespace on a namenode
+type NamespaceInfoProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BuildVersion *string `protobuf:"bytes,1,req,name=buildVersion" json:"buildVersion,omitempty"` // Software revision version (e.g. an svn or git revision)
+ Unused *uint32 `protobuf:"varint,2,req,name=unused" json:"unused,omitempty"` // Retained for backward compatibility
+ BlockPoolID *string `protobuf:"bytes,3,req,name=blockPoolID" json:"blockPoolID,omitempty"` // block pool used by the namespace
+ StorageInfo *StorageInfoProto `protobuf:"bytes,4,req,name=storageInfo" json:"storageInfo,omitempty"` // Node information
+ SoftwareVersion *string `protobuf:"bytes,5,req,name=softwareVersion" json:"softwareVersion,omitempty"` // Software version number (e.g. 2.0.0)
+ Capabilities *uint64 `protobuf:"varint,6,opt,name=capabilities,def=0" json:"capabilities,omitempty"` // feature flags
+ State *NNHAStatusHeartbeatProto_State `protobuf:"varint,7,opt,name=state,enum=hadoop.hdfs.NNHAStatusHeartbeatProto_State" json:"state,omitempty"`
+}
+
+// Default values for NamespaceInfoProto fields.
+const (
+ Default_NamespaceInfoProto_Capabilities = uint64(0)
+)
+
+func (x *NamespaceInfoProto) Reset() {
+ *x = NamespaceInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *NamespaceInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*NamespaceInfoProto) ProtoMessage() {}
+
+func (x *NamespaceInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use NamespaceInfoProto.ProtoReflect.Descriptor instead.
+func (*NamespaceInfoProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{6}
+}
+
+func (x *NamespaceInfoProto) GetBuildVersion() string {
+ if x != nil && x.BuildVersion != nil {
+ return *x.BuildVersion
+ }
+ return ""
+}
+
+func (x *NamespaceInfoProto) GetUnused() uint32 {
+ if x != nil && x.Unused != nil {
+ return *x.Unused
+ }
+ return 0
+}
+
+func (x *NamespaceInfoProto) GetBlockPoolID() string {
+ if x != nil && x.BlockPoolID != nil {
+ return *x.BlockPoolID
+ }
+ return ""
+}
+
+func (x *NamespaceInfoProto) GetStorageInfo() *StorageInfoProto {
+ if x != nil {
+ return x.StorageInfo
+ }
+ return nil
+}
+
+func (x *NamespaceInfoProto) GetSoftwareVersion() string {
+ if x != nil && x.SoftwareVersion != nil {
+ return *x.SoftwareVersion
+ }
+ return ""
+}
+
+func (x *NamespaceInfoProto) GetCapabilities() uint64 {
+ if x != nil && x.Capabilities != nil {
+ return *x.Capabilities
+ }
+ return Default_NamespaceInfoProto_Capabilities
+}
+
+func (x *NamespaceInfoProto) GetState() NNHAStatusHeartbeatProto_State {
+ if x != nil && x.State != nil {
+ return *x.State
+ }
+ return NNHAStatusHeartbeatProto_ACTIVE
+}
+
+//*
+// Block that needs to be recovered with at a given location
+type RecoveringBlockProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ NewGenStamp *uint64 `protobuf:"varint,1,req,name=newGenStamp" json:"newGenStamp,omitempty"` // New genstamp post recovery
+ Block *LocatedBlockProto `protobuf:"bytes,2,req,name=block" json:"block,omitempty"` // Block to be recovered
+ TruncateBlock *BlockProto `protobuf:"bytes,3,opt,name=truncateBlock" json:"truncateBlock,omitempty"` // New block for recovery (truncate)
+ EcPolicy *ErasureCodingPolicyProto `protobuf:"bytes,4,opt,name=ecPolicy" json:"ecPolicy,omitempty"`
+ // block indices of striped internal blocks for each storage in LocatedBlock
+ BlockIndices []byte `protobuf:"bytes,5,opt,name=blockIndices" json:"blockIndices,omitempty"`
+}
+
+func (x *RecoveringBlockProto) Reset() {
+ *x = RecoveringBlockProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RecoveringBlockProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RecoveringBlockProto) ProtoMessage() {}
+
+func (x *RecoveringBlockProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RecoveringBlockProto.ProtoReflect.Descriptor instead.
+func (*RecoveringBlockProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{7}
+}
+
+func (x *RecoveringBlockProto) GetNewGenStamp() uint64 {
+ if x != nil && x.NewGenStamp != nil {
+ return *x.NewGenStamp
+ }
+ return 0
+}
+
+func (x *RecoveringBlockProto) GetBlock() *LocatedBlockProto {
+ if x != nil {
+ return x.Block
+ }
+ return nil
+}
+
+func (x *RecoveringBlockProto) GetTruncateBlock() *BlockProto {
+ if x != nil {
+ return x.TruncateBlock
+ }
+ return nil
+}
+
+func (x *RecoveringBlockProto) GetEcPolicy() *ErasureCodingPolicyProto {
+ if x != nil {
+ return x.EcPolicy
+ }
+ return nil
+}
+
+func (x *RecoveringBlockProto) GetBlockIndices() []byte {
+ if x != nil {
+ return x.BlockIndices
+ }
+ return nil
+}
+
+//*
+// Unique signature to identify checkpoint transactions.
+type CheckpointSignatureProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BlockPoolId *string `protobuf:"bytes,1,req,name=blockPoolId" json:"blockPoolId,omitempty"`
+ MostRecentCheckpointTxId *uint64 `protobuf:"varint,2,req,name=mostRecentCheckpointTxId" json:"mostRecentCheckpointTxId,omitempty"`
+ CurSegmentTxId *uint64 `protobuf:"varint,3,req,name=curSegmentTxId" json:"curSegmentTxId,omitempty"`
+ StorageInfo *StorageInfoProto `protobuf:"bytes,4,req,name=storageInfo" json:"storageInfo,omitempty"`
+}
+
+func (x *CheckpointSignatureProto) Reset() {
+ *x = CheckpointSignatureProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CheckpointSignatureProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CheckpointSignatureProto) ProtoMessage() {}
+
+func (x *CheckpointSignatureProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CheckpointSignatureProto.ProtoReflect.Descriptor instead.
+func (*CheckpointSignatureProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{8}
+}
+
+func (x *CheckpointSignatureProto) GetBlockPoolId() string {
+ if x != nil && x.BlockPoolId != nil {
+ return *x.BlockPoolId
+ }
+ return ""
+}
+
+func (x *CheckpointSignatureProto) GetMostRecentCheckpointTxId() uint64 {
+ if x != nil && x.MostRecentCheckpointTxId != nil {
+ return *x.MostRecentCheckpointTxId
+ }
+ return 0
+}
+
+func (x *CheckpointSignatureProto) GetCurSegmentTxId() uint64 {
+ if x != nil && x.CurSegmentTxId != nil {
+ return *x.CurSegmentTxId
+ }
+ return 0
+}
+
+func (x *CheckpointSignatureProto) GetStorageInfo() *StorageInfoProto {
+ if x != nil {
+ return x.StorageInfo
+ }
+ return nil
+}
+
+//*
+// Command returned from primary to checkpointing namenode.
+// This command has checkpoint signature that identifies
+// checkpoint transaction and is needed for further
+// communication related to checkpointing.
+type CheckpointCommandProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Unique signature to identify checkpoint transation
+ Signature *CheckpointSignatureProto `protobuf:"bytes,1,req,name=signature" json:"signature,omitempty"`
+ // If true, return transfer image to primary upon the completion of checkpoint
+ NeedToReturnImage *bool `protobuf:"varint,2,req,name=needToReturnImage" json:"needToReturnImage,omitempty"`
+}
+
+func (x *CheckpointCommandProto) Reset() {
+ *x = CheckpointCommandProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CheckpointCommandProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CheckpointCommandProto) ProtoMessage() {}
+
+func (x *CheckpointCommandProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CheckpointCommandProto.ProtoReflect.Descriptor instead.
+func (*CheckpointCommandProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{9}
+}
+
+func (x *CheckpointCommandProto) GetSignature() *CheckpointSignatureProto {
+ if x != nil {
+ return x.Signature
+ }
+ return nil
+}
+
+func (x *CheckpointCommandProto) GetNeedToReturnImage() bool {
+ if x != nil && x.NeedToReturnImage != nil {
+ return *x.NeedToReturnImage
+ }
+ return false
+}
+
+//*
+// Command sent from one namenode to another namenode.
+type NamenodeCommandProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Action *uint32 `protobuf:"varint,1,req,name=action" json:"action,omitempty"`
+ Type *NamenodeCommandProto_Type `protobuf:"varint,2,req,name=type,enum=hadoop.hdfs.NamenodeCommandProto_Type" json:"type,omitempty"`
+ CheckpointCmd *CheckpointCommandProto `protobuf:"bytes,3,opt,name=checkpointCmd" json:"checkpointCmd,omitempty"`
+}
+
+func (x *NamenodeCommandProto) Reset() {
+ *x = NamenodeCommandProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *NamenodeCommandProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*NamenodeCommandProto) ProtoMessage() {}
+
+func (x *NamenodeCommandProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use NamenodeCommandProto.ProtoReflect.Descriptor instead.
+func (*NamenodeCommandProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{10}
+}
+
+func (x *NamenodeCommandProto) GetAction() uint32 {
+ if x != nil && x.Action != nil {
+ return *x.Action
+ }
+ return 0
+}
+
+func (x *NamenodeCommandProto) GetType() NamenodeCommandProto_Type {
+ if x != nil && x.Type != nil {
+ return *x.Type
+ }
+ return NamenodeCommandProto_NamenodeCommand
+}
+
+func (x *NamenodeCommandProto) GetCheckpointCmd() *CheckpointCommandProto {
+ if x != nil {
+ return x.CheckpointCmd
+ }
+ return nil
+}
+
+//*
+// void request
+type VersionRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *VersionRequestProto) Reset() {
+ *x = VersionRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *VersionRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*VersionRequestProto) ProtoMessage() {}
+
+func (x *VersionRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use VersionRequestProto.ProtoReflect.Descriptor instead.
+func (*VersionRequestProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{11}
+}
+
+//*
+// Version response from namenode.
+type VersionResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Info *NamespaceInfoProto `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
+}
+
+func (x *VersionResponseProto) Reset() {
+ *x = VersionResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *VersionResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*VersionResponseProto) ProtoMessage() {}
+
+func (x *VersionResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[12]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use VersionResponseProto.ProtoReflect.Descriptor instead.
+func (*VersionResponseProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{12}
+}
+
+func (x *VersionResponseProto) GetInfo() *NamespaceInfoProto {
+ if x != nil {
+ return x.Info
+ }
+ return nil
+}
+
+//*
+// Common node information shared by all the nodes in the cluster
+type StorageInfoProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ LayoutVersion *uint32 `protobuf:"varint,1,req,name=layoutVersion" json:"layoutVersion,omitempty"` // Layout version of the file system
+ NamespceID *uint32 `protobuf:"varint,2,req,name=namespceID" json:"namespceID,omitempty"` // File system namespace ID
+ ClusterID *string `protobuf:"bytes,3,req,name=clusterID" json:"clusterID,omitempty"` // ID of the cluster
+ CTime *uint64 `protobuf:"varint,4,req,name=cTime" json:"cTime,omitempty"` // File system creation time
+}
+
+func (x *StorageInfoProto) Reset() {
+ *x = StorageInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *StorageInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*StorageInfoProto) ProtoMessage() {}
+
+func (x *StorageInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[13]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use StorageInfoProto.ProtoReflect.Descriptor instead.
+func (*StorageInfoProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{13}
+}
+
+func (x *StorageInfoProto) GetLayoutVersion() uint32 {
+ if x != nil && x.LayoutVersion != nil {
+ return *x.LayoutVersion
+ }
+ return 0
+}
+
+func (x *StorageInfoProto) GetNamespceID() uint32 {
+ if x != nil && x.NamespceID != nil {
+ return *x.NamespceID
+ }
+ return 0
+}
+
+func (x *StorageInfoProto) GetClusterID() string {
+ if x != nil && x.ClusterID != nil {
+ return *x.ClusterID
+ }
+ return ""
+}
+
+func (x *StorageInfoProto) GetCTime() uint64 {
+ if x != nil && x.CTime != nil {
+ return *x.CTime
+ }
+ return 0
+}
+
+//*
+// Information sent by a namenode to identify itself to the primary namenode.
+type NamenodeRegistrationProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ RpcAddress *string `protobuf:"bytes,1,req,name=rpcAddress" json:"rpcAddress,omitempty"` // host:port of the namenode RPC address
+ HttpAddress *string `protobuf:"bytes,2,req,name=httpAddress" json:"httpAddress,omitempty"` // host:port of the namenode http server
+ StorageInfo *StorageInfoProto `protobuf:"bytes,3,req,name=storageInfo" json:"storageInfo,omitempty"` // Node information
+ Role *NamenodeRegistrationProto_NamenodeRoleProto `protobuf:"varint,4,opt,name=role,enum=hadoop.hdfs.NamenodeRegistrationProto_NamenodeRoleProto,def=1" json:"role,omitempty"` // Namenode role
+}
+
+// Default values for NamenodeRegistrationProto fields.
+const (
+ Default_NamenodeRegistrationProto_Role = NamenodeRegistrationProto_NAMENODE
+)
+
+func (x *NamenodeRegistrationProto) Reset() {
+ *x = NamenodeRegistrationProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *NamenodeRegistrationProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*NamenodeRegistrationProto) ProtoMessage() {}
+
+func (x *NamenodeRegistrationProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[14]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use NamenodeRegistrationProto.ProtoReflect.Descriptor instead.
+func (*NamenodeRegistrationProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{14}
+}
+
+func (x *NamenodeRegistrationProto) GetRpcAddress() string {
+ if x != nil && x.RpcAddress != nil {
+ return *x.RpcAddress
+ }
+ return ""
+}
+
+func (x *NamenodeRegistrationProto) GetHttpAddress() string {
+ if x != nil && x.HttpAddress != nil {
+ return *x.HttpAddress
+ }
+ return ""
+}
+
+func (x *NamenodeRegistrationProto) GetStorageInfo() *StorageInfoProto {
+ if x != nil {
+ return x.StorageInfo
+ }
+ return nil
+}
+
+func (x *NamenodeRegistrationProto) GetRole() NamenodeRegistrationProto_NamenodeRoleProto {
+ if x != nil && x.Role != nil {
+ return *x.Role
+ }
+ return Default_NamenodeRegistrationProto_Role
+}
+
+//*
+// state - State the NN is in when returning response to the DN
+// txid - Highest transaction ID this NN has seen
+type NNHAStatusHeartbeatProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ State *NNHAStatusHeartbeatProto_State `protobuf:"varint,1,req,name=state,enum=hadoop.hdfs.NNHAStatusHeartbeatProto_State" json:"state,omitempty"`
+ Txid *uint64 `protobuf:"varint,2,req,name=txid" json:"txid,omitempty"`
+}
+
+func (x *NNHAStatusHeartbeatProto) Reset() {
+ *x = NNHAStatusHeartbeatProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_HdfsServer_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *NNHAStatusHeartbeatProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*NNHAStatusHeartbeatProto) ProtoMessage() {}
+
+func (x *NNHAStatusHeartbeatProto) ProtoReflect() protoreflect.Message {
+ mi := &file_HdfsServer_proto_msgTypes[15]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use NNHAStatusHeartbeatProto.ProtoReflect.Descriptor instead.
+func (*NNHAStatusHeartbeatProto) Descriptor() ([]byte, []int) {
+ return file_HdfsServer_proto_rawDescGZIP(), []int{15}
+}
+
+func (x *NNHAStatusHeartbeatProto) GetState() NNHAStatusHeartbeatProto_State {
+ if x != nil && x.State != nil {
+ return *x.State
+ }
+ return NNHAStatusHeartbeatProto_ACTIVE
+}
+
+func (x *NNHAStatusHeartbeatProto) GetTxid() uint64 {
+ if x != nil && x.Txid != nil {
+ return *x.Txid
+ }
+ return 0
+}
+
+var File_HdfsServer_proto protoreflect.FileDescriptor
+
+var file_HdfsServer_proto_rawDesc = []byte{
+ 0x0a, 0x10, 0x48, 0x64, 0x66, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x0b, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x1a,
+ 0x0a, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x48, 0x41, 0x53,
+ 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x0d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4b, 0x65, 0x79,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x0d, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x65,
+ 0x78, 0x70, 0x69, 0x72, 0x79, 0x44, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52,
+ 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6b,
+ 0x65, 0x79, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b,
+ 0x65, 0x79, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x90, 0x02, 0x0a, 0x16, 0x45, 0x78, 0x70, 0x6f,
+ 0x72, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4b, 0x65, 0x79, 0x73, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x30, 0x0a, 0x13, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x6f, 0x6b,
+ 0x65, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52,
+ 0x13, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x45, 0x6e, 0x61,
+ 0x62, 0x6c, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x6b, 0x65, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52,
+ 0x11, 0x6b, 0x65, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76,
+ 0x61, 0x6c, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x4c, 0x69, 0x66, 0x65, 0x54,
+ 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0d, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
+ 0x4c, 0x69, 0x66, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0a, 0x63, 0x75, 0x72, 0x72,
+ 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x4b, 0x65, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
+ 0x74, 0x4b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x07, 0x61, 0x6c, 0x6c, 0x4b, 0x65, 0x79, 0x73, 0x18,
+ 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4b, 0x65, 0x79, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x07, 0x61, 0x6c, 0x6c, 0x4b, 0x65, 0x79, 0x73, 0x22, 0xaf, 0x02, 0x0a, 0x17, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05,
+ 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64,
+ 0x65, 0x55, 0x75, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x61,
+ 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x55, 0x75, 0x69, 0x64, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x73,
+ 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
+ 0x09, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x73, 0x12,
+ 0x41, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18,
+ 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
+ 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20,
+ 0x01, 0x28, 0x0c, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c,
+ 0x64, 0x61, 0x74, 0x61, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01,
+ 0x28, 0x0d, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d,
+ 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x65, 0x6c, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01,
+ 0x28, 0x0d, 0x52, 0x08, 0x63, 0x65, 0x6c, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x58, 0x0a, 0x18,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3c, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68,
+ 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06,
+ 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x22, 0x77, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65,
+ 0x45, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x0a, 0x09,
+ 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x78, 0x49, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52,
+ 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x78, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e,
+ 0x64, 0x54, 0x78, 0x49, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x07, 0x65, 0x6e, 0x64,
+ 0x54, 0x78, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x0c, 0x69, 0x73, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67,
+ 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73,
+ 0x65, 0x52, 0x0c, 0x69, 0x73, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22,
+ 0x79, 0x0a, 0x1a, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x45, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67,
+ 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x33, 0x0a,
+ 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65,
+ 0x45, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x6c, 0x6f,
+ 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x54,
+ 0x78, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d,
+ 0x69, 0x74, 0x74, 0x65, 0x64, 0x54, 0x78, 0x6e, 0x49, 0x64, 0x22, 0xc7, 0x02, 0x0a, 0x12, 0x4e,
+ 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
+ 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x56, 0x65,
+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x6e, 0x75, 0x73, 0x65, 0x64, 0x18,
+ 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x06, 0x75, 0x6e, 0x75, 0x73, 0x65, 0x64, 0x12, 0x20, 0x0a,
+ 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x44, 0x18, 0x03, 0x20, 0x02,
+ 0x28, 0x09, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x44, 0x12,
+ 0x3f, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04,
+ 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f,
+ 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x56, 0x65, 0x72, 0x73,
+ 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x66, 0x74, 0x77,
+ 0x61, 0x72, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0c, 0x63, 0x61,
+ 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04,
+ 0x3a, 0x01, 0x30, 0x52, 0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65,
+ 0x73, 0x12, 0x41, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e,
+ 0x32, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4e,
+ 0x4e, 0x48, 0x41, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65,
+ 0x61, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73,
+ 0x74, 0x61, 0x74, 0x65, 0x22, 0x94, 0x02, 0x0a, 0x14, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72,
+ 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x0a,
+ 0x0b, 0x6e, 0x65, 0x77, 0x47, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x02,
+ 0x28, 0x04, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x47, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12,
+ 0x34, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1e,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x6f, 0x63,
+ 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05,
+ 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3d, 0x0a, 0x0d, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74,
+ 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0d, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x41, 0x0a, 0x08, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69,
+ 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65,
+ 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x22, 0xe1, 0x01, 0x0a, 0x18,
+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74,
+ 0x75, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0b, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x18, 0x6d, 0x6f,
+ 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69,
+ 0x6e, 0x74, 0x54, 0x78, 0x49, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x18, 0x6d, 0x6f,
+ 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69,
+ 0x6e, 0x74, 0x54, 0x78, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x53, 0x65, 0x67,
+ 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x78, 0x49, 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0e,
+ 0x63, 0x75, 0x72, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x78, 0x49, 0x64, 0x12, 0x3f,
+ 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20,
+ 0x02, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22,
+ 0x8b, 0x01, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f,
+ 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x43, 0x0a, 0x09, 0x73, 0x69,
+ 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x25, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63,
+ 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12,
+ 0x2c, 0x0a, 0x11, 0x6e, 0x65, 0x65, 0x64, 0x54, 0x6f, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x49,
+ 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x11, 0x6e, 0x65, 0x65, 0x64,
+ 0x54, 0x6f, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x22, 0xe9, 0x01,
+ 0x0a, 0x14, 0x4e, 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
+ 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a,
+ 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x6e,
+ 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
+ 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x63, 0x68,
+ 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6d, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
+ 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69,
+ 0x6e, 0x74, 0x43, 0x6d, 0x64, 0x22, 0x32, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a,
+ 0x0f, 0x4e, 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
+ 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x6f, 0x69, 0x6e, 0x74,
+ 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x01, 0x22, 0x15, 0x0a, 0x13, 0x56, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x22, 0x4b, 0x0a, 0x14, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x33, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e,
+ 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x8c, 0x01,
+ 0x0a, 0x10, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x56, 0x65, 0x72, 0x73,
+ 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0d, 0x6c, 0x61, 0x79, 0x6f, 0x75,
+ 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65,
+ 0x73, 0x70, 0x63, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x61,
+ 0x6d, 0x65, 0x73, 0x70, 0x63, 0x65, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73,
+ 0x74, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75,
+ 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x18,
+ 0x04, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xb5, 0x02, 0x0a,
+ 0x19, 0x4e, 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x70,
+ 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a,
+ 0x72, 0x70, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x74,
+ 0x74, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52,
+ 0x0b, 0x68, 0x74, 0x74, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x0b,
+ 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x02, 0x28,
+ 0x0b, 0x32, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x56, 0x0a,
+ 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x6e, 0x6f,
+ 0x64, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x6f, 0x6c, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x08, 0x4e, 0x41, 0x4d, 0x45, 0x4e, 0x4f, 0x44, 0x45, 0x52,
+ 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x3d, 0x0a, 0x11, 0x4e, 0x61, 0x6d, 0x65, 0x6e, 0x6f, 0x64,
+ 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x41,
+ 0x4d, 0x45, 0x4e, 0x4f, 0x44, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x41, 0x43, 0x4b,
+ 0x55, 0x50, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x50, 0x4f, 0x49,
+ 0x4e, 0x54, 0x10, 0x03, 0x22, 0xa1, 0x01, 0x0a, 0x18, 0x4e, 0x4e, 0x48, 0x41, 0x53, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x41, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e,
+ 0x32, 0x2b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4e,
+ 0x4e, 0x48, 0x41, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65,
+ 0x61, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73,
+ 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x04, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x22, 0x2e, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74,
+ 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a,
+ 0x07, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x42, 0x59, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x42,
+ 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x02, 0x2a, 0x4c, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6c,
+ 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x0a,
+ 0x09, 0x46, 0x49, 0x4e, 0x41, 0x4c, 0x49, 0x5a, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03,
+ 0x52, 0x42, 0x57, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x57, 0x52, 0x10, 0x02, 0x12, 0x07,
+ 0x0a, 0x03, 0x52, 0x55, 0x52, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x45, 0x4d, 0x50, 0x4f,
+ 0x52, 0x41, 0x52, 0x59, 0x10, 0x04, 0x42, 0x78, 0x0a, 0x25, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70,
+ 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42,
+ 0x10, 0x48, 0x64, 0x66, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x73, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f,
+ 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f,
+ 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
+ 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x68, 0x64, 0x66, 0x73, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_HdfsServer_proto_rawDescOnce sync.Once
+ file_HdfsServer_proto_rawDescData = file_HdfsServer_proto_rawDesc
+)
+
+func file_HdfsServer_proto_rawDescGZIP() []byte {
+ file_HdfsServer_proto_rawDescOnce.Do(func() {
+ file_HdfsServer_proto_rawDescData = protoimpl.X.CompressGZIP(file_HdfsServer_proto_rawDescData)
+ })
+ return file_HdfsServer_proto_rawDescData
+}
+
+var file_HdfsServer_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
+var file_HdfsServer_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
+var file_HdfsServer_proto_goTypes = []interface{}{
+ (ReplicaStateProto)(0), // 0: hadoop.hdfs.ReplicaStateProto
+ (NamenodeCommandProto_Type)(0), // 1: hadoop.hdfs.NamenodeCommandProto.Type
+ (NamenodeRegistrationProto_NamenodeRoleProto)(0), // 2: hadoop.hdfs.NamenodeRegistrationProto.NamenodeRoleProto
+ (NNHAStatusHeartbeatProto_State)(0), // 3: hadoop.hdfs.NNHAStatusHeartbeatProto.State
+ (*BlockKeyProto)(nil), // 4: hadoop.hdfs.BlockKeyProto
+ (*ExportedBlockKeysProto)(nil), // 5: hadoop.hdfs.ExportedBlockKeysProto
+ (*BlockWithLocationsProto)(nil), // 6: hadoop.hdfs.BlockWithLocationsProto
+ (*BlocksWithLocationsProto)(nil), // 7: hadoop.hdfs.BlocksWithLocationsProto
+ (*RemoteEditLogProto)(nil), // 8: hadoop.hdfs.RemoteEditLogProto
+ (*RemoteEditLogManifestProto)(nil), // 9: hadoop.hdfs.RemoteEditLogManifestProto
+ (*NamespaceInfoProto)(nil), // 10: hadoop.hdfs.NamespaceInfoProto
+ (*RecoveringBlockProto)(nil), // 11: hadoop.hdfs.RecoveringBlockProto
+ (*CheckpointSignatureProto)(nil), // 12: hadoop.hdfs.CheckpointSignatureProto
+ (*CheckpointCommandProto)(nil), // 13: hadoop.hdfs.CheckpointCommandProto
+ (*NamenodeCommandProto)(nil), // 14: hadoop.hdfs.NamenodeCommandProto
+ (*VersionRequestProto)(nil), // 15: hadoop.hdfs.VersionRequestProto
+ (*VersionResponseProto)(nil), // 16: hadoop.hdfs.VersionResponseProto
+ (*StorageInfoProto)(nil), // 17: hadoop.hdfs.StorageInfoProto
+ (*NamenodeRegistrationProto)(nil), // 18: hadoop.hdfs.NamenodeRegistrationProto
+ (*NNHAStatusHeartbeatProto)(nil), // 19: hadoop.hdfs.NNHAStatusHeartbeatProto
+ (*BlockProto)(nil), // 20: hadoop.hdfs.BlockProto
+ (StorageTypeProto)(0), // 21: hadoop.hdfs.StorageTypeProto
+ (*LocatedBlockProto)(nil), // 22: hadoop.hdfs.LocatedBlockProto
+ (*ErasureCodingPolicyProto)(nil), // 23: hadoop.hdfs.ErasureCodingPolicyProto
+}
+var file_HdfsServer_proto_depIdxs = []int32{
+ 4, // 0: hadoop.hdfs.ExportedBlockKeysProto.currentKey:type_name -> hadoop.hdfs.BlockKeyProto
+ 4, // 1: hadoop.hdfs.ExportedBlockKeysProto.allKeys:type_name -> hadoop.hdfs.BlockKeyProto
+ 20, // 2: hadoop.hdfs.BlockWithLocationsProto.block:type_name -> hadoop.hdfs.BlockProto
+ 21, // 3: hadoop.hdfs.BlockWithLocationsProto.storageTypes:type_name -> hadoop.hdfs.StorageTypeProto
+ 6, // 4: hadoop.hdfs.BlocksWithLocationsProto.blocks:type_name -> hadoop.hdfs.BlockWithLocationsProto
+ 8, // 5: hadoop.hdfs.RemoteEditLogManifestProto.logs:type_name -> hadoop.hdfs.RemoteEditLogProto
+ 17, // 6: hadoop.hdfs.NamespaceInfoProto.storageInfo:type_name -> hadoop.hdfs.StorageInfoProto
+ 3, // 7: hadoop.hdfs.NamespaceInfoProto.state:type_name -> hadoop.hdfs.NNHAStatusHeartbeatProto.State
+ 22, // 8: hadoop.hdfs.RecoveringBlockProto.block:type_name -> hadoop.hdfs.LocatedBlockProto
+ 20, // 9: hadoop.hdfs.RecoveringBlockProto.truncateBlock:type_name -> hadoop.hdfs.BlockProto
+ 23, // 10: hadoop.hdfs.RecoveringBlockProto.ecPolicy:type_name -> hadoop.hdfs.ErasureCodingPolicyProto
+ 17, // 11: hadoop.hdfs.CheckpointSignatureProto.storageInfo:type_name -> hadoop.hdfs.StorageInfoProto
+ 12, // 12: hadoop.hdfs.CheckpointCommandProto.signature:type_name -> hadoop.hdfs.CheckpointSignatureProto
+ 1, // 13: hadoop.hdfs.NamenodeCommandProto.type:type_name -> hadoop.hdfs.NamenodeCommandProto.Type
+ 13, // 14: hadoop.hdfs.NamenodeCommandProto.checkpointCmd:type_name -> hadoop.hdfs.CheckpointCommandProto
+ 10, // 15: hadoop.hdfs.VersionResponseProto.info:type_name -> hadoop.hdfs.NamespaceInfoProto
+ 17, // 16: hadoop.hdfs.NamenodeRegistrationProto.storageInfo:type_name -> hadoop.hdfs.StorageInfoProto
+ 2, // 17: hadoop.hdfs.NamenodeRegistrationProto.role:type_name -> hadoop.hdfs.NamenodeRegistrationProto.NamenodeRoleProto
+ 3, // 18: hadoop.hdfs.NNHAStatusHeartbeatProto.state:type_name -> hadoop.hdfs.NNHAStatusHeartbeatProto.State
+ 19, // [19:19] is the sub-list for method output_type
+ 19, // [19:19] is the sub-list for method input_type
+ 19, // [19:19] is the sub-list for extension type_name
+ 19, // [19:19] is the sub-list for extension extendee
+ 0, // [0:19] is the sub-list for field type_name
+}
+
+func init() { file_HdfsServer_proto_init() }
+func file_HdfsServer_proto_init() {
+ if File_HdfsServer_proto != nil {
+ return
+ }
+ file_hdfs_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_HdfsServer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BlockKeyProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ExportedBlockKeysProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BlockWithLocationsProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BlocksWithLocationsProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoteEditLogProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoteEditLogManifestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*NamespaceInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RecoveringBlockProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CheckpointSignatureProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CheckpointCommandProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*NamenodeCommandProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*VersionRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*VersionResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StorageInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*NamenodeRegistrationProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_HdfsServer_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*NNHAStatusHeartbeatProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_HdfsServer_proto_rawDesc,
+ NumEnums: 4,
+ NumMessages: 16,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_HdfsServer_proto_goTypes,
+ DependencyIndexes: file_HdfsServer_proto_depIdxs,
+ EnumInfos: file_HdfsServer_proto_enumTypes,
+ MessageInfos: file_HdfsServer_proto_msgTypes,
+ }.Build()
+ File_HdfsServer_proto = out.File
+ file_HdfsServer_proto_rawDesc = nil
+ file_HdfsServer_proto_goTypes = nil
+ file_HdfsServer_proto_depIdxs = nil
+}
diff --git a/internal/protocol/hadoop_hdfs/HdfsServer.proto b/internal/protocol/hadoop_hdfs/HdfsServer.proto
new file mode 100644
index 0000000..a0c481a
--- /dev/null
+++ b/internal/protocol/hadoop_hdfs/HdfsServer.proto
@@ -0,0 +1,220 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * These .proto interfaces are private and stable.
+ * Please see http://wiki.apache.org/hadoop/Compatibility
+ * for what changes are allowed for a *stable* .proto interface.
+ */
+
+// This file contains protocol buffers that are used throughout HDFS -- i.e.
+// by the client, server, and data transfer protocols.
+syntax = "proto2";
+
+option java_package = "org.apache.hadoop.hdfs.protocol.proto";
+option java_outer_classname = "HdfsServerProtos";
+option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
+package hadoop.hdfs;
+
+import "hdfs.proto";
+import "HAServiceProtocol.proto";
+
+/**
+ * Block access token information
+ */
+message BlockKeyProto {
+ required uint32 keyId = 1; // Key identifier
+ required uint64 expiryDate = 2; // Expiry time in milliseconds
+ optional bytes keyBytes = 3; // Key secret
+}
+
+/**
+ * Current key and set of block keys at the namenode.
+ */
+message ExportedBlockKeysProto {
+ required bool isBlockTokenEnabled = 1;
+ required uint64 keyUpdateInterval = 2;
+ required uint64 tokenLifeTime = 3;
+ required BlockKeyProto currentKey = 4;
+ repeated BlockKeyProto allKeys = 5;
+}
+
+/**
+ * Block and datanodes where is it located
+ */
+message BlockWithLocationsProto {
+ required BlockProto block = 1; // Block
+ repeated string datanodeUuids = 2; // Datanodes with replicas of the block
+ repeated string storageUuids = 3; // Storages with replicas of the block
+ repeated StorageTypeProto storageTypes = 4;
+
+ optional bytes indices = 5;
+ optional uint32 dataBlockNum = 6;
+ optional uint32 cellSize = 7;
+}
+
+/**
+ * List of block with locations
+ */
+message BlocksWithLocationsProto {
+ repeated BlockWithLocationsProto blocks = 1;
+}
+
+/**
+ * Editlog information with available transactions
+ */
+message RemoteEditLogProto {
+ required uint64 startTxId = 1; // Starting available edit log transaction
+ required uint64 endTxId = 2; // Ending available edit log transaction
+ optional bool isInProgress = 3 [default = false];
+}
+
+/**
+ * Enumeration of editlogs available on a remote namenode
+ */
+message RemoteEditLogManifestProto {
+ repeated RemoteEditLogProto logs = 1;
+ optional uint64 committedTxnId = 2;
+}
+
+/**
+ * Namespace information that describes namespace on a namenode
+ */
+message NamespaceInfoProto {
+ required string buildVersion = 1; // Software revision version (e.g. an svn or git revision)
+ required uint32 unused = 2; // Retained for backward compatibility
+ required string blockPoolID = 3; // block pool used by the namespace
+ required StorageInfoProto storageInfo = 4;// Node information
+ required string softwareVersion = 5; // Software version number (e.g. 2.0.0)
+ optional uint64 capabilities = 6 [default = 0]; // feature flags
+ optional NNHAStatusHeartbeatProto.State state = 7;
+}
+
+/**
+ * State of a block replica at a datanode
+ */
+enum ReplicaStateProto {
+ FINALIZED = 0; // State of a replica when it is not modified
+ RBW = 1; // State of replica that is being written to
+ RWR = 2; // State of replica that is waiting to be recovered
+ RUR = 3; // State of replica that is under recovery
+ TEMPORARY = 4; // State of replica that is created for replication
+}
+
+/**
+ * Block that needs to be recovered with at a given location
+ */
+message RecoveringBlockProto {
+ required uint64 newGenStamp = 1; // New genstamp post recovery
+ required LocatedBlockProto block = 2; // Block to be recovered
+ optional BlockProto truncateBlock = 3; // New block for recovery (truncate)
+
+ optional ErasureCodingPolicyProto ecPolicy = 4;
+ // block indices of striped internal blocks for each storage in LocatedBlock
+ optional bytes blockIndices = 5;
+}
+
+/**
+ * Unique signature to identify checkpoint transactions.
+ */
+message CheckpointSignatureProto {
+ required string blockPoolId = 1;
+ required uint64 mostRecentCheckpointTxId = 2;
+ required uint64 curSegmentTxId = 3;
+ required StorageInfoProto storageInfo = 4;
+}
+
+/**
+ * Command returned from primary to checkpointing namenode.
+ * This command has checkpoint signature that identifies
+ * checkpoint transaction and is needed for further
+ * communication related to checkpointing.
+ */
+message CheckpointCommandProto {
+ // Unique signature to identify checkpoint transation
+ required CheckpointSignatureProto signature = 1;
+
+ // If true, return transfer image to primary upon the completion of checkpoint
+ required bool needToReturnImage = 2;
+}
+
+/**
+ * Command sent from one namenode to another namenode.
+ */
+message NamenodeCommandProto {
+ enum Type {
+ NamenodeCommand = 0; // Base command
+ CheckPointCommand = 1; // Check point command
+ }
+ required uint32 action = 1;
+ required Type type = 2;
+ optional CheckpointCommandProto checkpointCmd = 3;
+}
+
+/**
+ * void request
+ */
+message VersionRequestProto {
+}
+
+/**
+ * Version response from namenode.
+ */
+message VersionResponseProto {
+ required NamespaceInfoProto info = 1;
+}
+
+/**
+ * Common node information shared by all the nodes in the cluster
+ */
+message StorageInfoProto {
+ required uint32 layoutVersion = 1; // Layout version of the file system
+ required uint32 namespceID = 2; // File system namespace ID
+ required string clusterID = 3; // ID of the cluster
+ required uint64 cTime = 4; // File system creation time
+}
+
+/**
+ * Information sent by a namenode to identify itself to the primary namenode.
+ */
+message NamenodeRegistrationProto {
+ required string rpcAddress = 1; // host:port of the namenode RPC address
+ required string httpAddress = 2; // host:port of the namenode http server
+ enum NamenodeRoleProto {
+ NAMENODE = 1;
+ BACKUP = 2;
+ CHECKPOINT = 3;
+ }
+ required StorageInfoProto storageInfo = 3; // Node information
+ optional NamenodeRoleProto role = 4 [default = NAMENODE]; // Namenode role
+}
+
+/**
+ * state - State the NN is in when returning response to the DN
+ * txid - Highest transaction ID this NN has seen
+ */
+message NNHAStatusHeartbeatProto {
+ enum State {
+ ACTIVE = 0;
+ STANDBY = 1;
+ OBSERVER = 2;
+ }
+ required State state = 1;
+ required uint64 txid = 2;
+}
diff --git a/internal/protocol/hadoop_hdfs/InterDatanodeProtocol.pb.go b/internal/protocol/hadoop_hdfs/InterDatanodeProtocol.pb.go
new file mode 100644
index 0000000..6cfb95d
--- /dev/null
+++ b/internal/protocol/hadoop_hdfs/InterDatanodeProtocol.pb.go
@@ -0,0 +1,476 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
+// This file contains protocol buffers that are used throughout HDFS -- i.e.
+// by the client, server, and data transfer protocols.
+
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
+// source: InterDatanodeProtocol.proto
+
+package hadoop_hdfs
+
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
+
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
+
+//*
+// Block with location information and new generation stamp
+// to be used for recovery.
+type InitReplicaRecoveryRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *RecoveringBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
+}
+
+func (x *InitReplicaRecoveryRequestProto) Reset() {
+ *x = InitReplicaRecoveryRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_InterDatanodeProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *InitReplicaRecoveryRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*InitReplicaRecoveryRequestProto) ProtoMessage() {}
+
+func (x *InitReplicaRecoveryRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_InterDatanodeProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use InitReplicaRecoveryRequestProto.ProtoReflect.Descriptor instead.
+func (*InitReplicaRecoveryRequestProto) Descriptor() ([]byte, []int) {
+ return file_InterDatanodeProtocol_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *InitReplicaRecoveryRequestProto) GetBlock() *RecoveringBlockProto {
+ if x != nil {
+ return x.Block
+ }
+ return nil
+}
+
+//*
+// Repica recovery information
+type InitReplicaRecoveryResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ReplicaFound *bool `protobuf:"varint,1,req,name=replicaFound" json:"replicaFound,omitempty"`
+ // The following entries are not set if there was no replica found.
+ State *ReplicaStateProto `protobuf:"varint,2,opt,name=state,enum=hadoop.hdfs.ReplicaStateProto" json:"state,omitempty"` // State of the replica
+ Block *BlockProto `protobuf:"bytes,3,opt,name=block" json:"block,omitempty"` // block information
+}
+
+func (x *InitReplicaRecoveryResponseProto) Reset() {
+ *x = InitReplicaRecoveryResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_InterDatanodeProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *InitReplicaRecoveryResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*InitReplicaRecoveryResponseProto) ProtoMessage() {}
+
+func (x *InitReplicaRecoveryResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_InterDatanodeProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use InitReplicaRecoveryResponseProto.ProtoReflect.Descriptor instead.
+func (*InitReplicaRecoveryResponseProto) Descriptor() ([]byte, []int) {
+ return file_InterDatanodeProtocol_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *InitReplicaRecoveryResponseProto) GetReplicaFound() bool {
+ if x != nil && x.ReplicaFound != nil {
+ return *x.ReplicaFound
+ }
+ return false
+}
+
+func (x *InitReplicaRecoveryResponseProto) GetState() ReplicaStateProto {
+ if x != nil && x.State != nil {
+ return *x.State
+ }
+ return ReplicaStateProto_FINALIZED
+}
+
+func (x *InitReplicaRecoveryResponseProto) GetBlock() *BlockProto {
+ if x != nil {
+ return x.Block
+ }
+ return nil
+}
+
+//*
+// Update replica with new generation stamp and length
+type UpdateReplicaUnderRecoveryRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"` // Block identifier
+ RecoveryId *uint64 `protobuf:"varint,2,req,name=recoveryId" json:"recoveryId,omitempty"` // New genstamp of the replica
+ NewLength *uint64 `protobuf:"varint,3,req,name=newLength" json:"newLength,omitempty"` // New length of the replica
+ // New blockId for copy (truncate), default is 0.
+ NewBlockId *uint64 `protobuf:"varint,4,opt,name=newBlockId,def=0" json:"newBlockId,omitempty"`
+}
+
+// Default values for UpdateReplicaUnderRecoveryRequestProto fields.
+const (
+ Default_UpdateReplicaUnderRecoveryRequestProto_NewBlockId = uint64(0)
+)
+
+func (x *UpdateReplicaUnderRecoveryRequestProto) Reset() {
+ *x = UpdateReplicaUnderRecoveryRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_InterDatanodeProtocol_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UpdateReplicaUnderRecoveryRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UpdateReplicaUnderRecoveryRequestProto) ProtoMessage() {}
+
+func (x *UpdateReplicaUnderRecoveryRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_InterDatanodeProtocol_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UpdateReplicaUnderRecoveryRequestProto.ProtoReflect.Descriptor instead.
+func (*UpdateReplicaUnderRecoveryRequestProto) Descriptor() ([]byte, []int) {
+ return file_InterDatanodeProtocol_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *UpdateReplicaUnderRecoveryRequestProto) GetBlock() *ExtendedBlockProto {
+ if x != nil {
+ return x.Block
+ }
+ return nil
+}
+
+func (x *UpdateReplicaUnderRecoveryRequestProto) GetRecoveryId() uint64 {
+ if x != nil && x.RecoveryId != nil {
+ return *x.RecoveryId
+ }
+ return 0
+}
+
+func (x *UpdateReplicaUnderRecoveryRequestProto) GetNewLength() uint64 {
+ if x != nil && x.NewLength != nil {
+ return *x.NewLength
+ }
+ return 0
+}
+
+func (x *UpdateReplicaUnderRecoveryRequestProto) GetNewBlockId() uint64 {
+ if x != nil && x.NewBlockId != nil {
+ return *x.NewBlockId
+ }
+ return Default_UpdateReplicaUnderRecoveryRequestProto_NewBlockId
+}
+
+//*
+// Response returns updated block information
+type UpdateReplicaUnderRecoveryResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ StorageUuid *string `protobuf:"bytes,1,opt,name=storageUuid" json:"storageUuid,omitempty"` // ID of the storage that stores replica
+}
+
+func (x *UpdateReplicaUnderRecoveryResponseProto) Reset() {
+ *x = UpdateReplicaUnderRecoveryResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_InterDatanodeProtocol_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UpdateReplicaUnderRecoveryResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UpdateReplicaUnderRecoveryResponseProto) ProtoMessage() {}
+
+func (x *UpdateReplicaUnderRecoveryResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_InterDatanodeProtocol_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UpdateReplicaUnderRecoveryResponseProto.ProtoReflect.Descriptor instead.
+func (*UpdateReplicaUnderRecoveryResponseProto) Descriptor() ([]byte, []int) {
+ return file_InterDatanodeProtocol_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *UpdateReplicaUnderRecoveryResponseProto) GetStorageUuid() string {
+ if x != nil && x.StorageUuid != nil {
+ return *x.StorageUuid
+ }
+ return ""
+}
+
+var File_InterDatanodeProtocol_proto protoreflect.FileDescriptor
+
+var file_InterDatanodeProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x1b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x1a, 0x0a, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x48, 0x64, 0x66, 0x73, 0x53, 0x65, 0x72, 0x76,
+ 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x1f, 0x49, 0x6e, 0x69, 0x74,
+ 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72,
+ 0x69, 0x6e, 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0xab, 0x01, 0x0a, 0x20, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70,
+ 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x70,
+ 0x6c, 0x69, 0x63, 0x61, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52,
+ 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x34, 0x0a,
+ 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69,
+ 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x73, 0x74,
+ 0x61, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x22, 0xc0, 0x01, 0x0a, 0x26, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70,
+ 0x6c, 0x69, 0x63, 0x61, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72,
+ 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x35, 0x0a,
+ 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
+ 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
+ 0x49, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65,
+ 0x72, 0x79, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x4c, 0x65, 0x6e, 0x67, 0x74,
+ 0x68, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x6e, 0x65, 0x77, 0x4c, 0x65, 0x6e, 0x67,
+ 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0a, 0x6e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x22, 0x4b, 0x0a, 0x27, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
+ 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x76,
+ 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75,
+ 0x69, 0x64, 0x32, 0x9c, 0x02, 0x0a, 0x1c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61,
+ 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76,
+ 0x69, 0x63, 0x65, 0x12, 0x72, 0x0a, 0x13, 0x69, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69,
+ 0x63, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, 0x2c, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70,
+ 0x6c, 0x69, 0x63, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69,
+ 0x63, 0x61, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x87, 0x01, 0x0a, 0x1a, 0x75, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65,
+ 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, 0x33, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69,
+ 0x63, 0x61, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f,
+ 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x42, 0x86, 0x01, 0x0a, 0x25, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x1b, 0x49, 0x6e, 0x74,
+ 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
+ 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68,
+ 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f,
+ 0x68, 0x64, 0x66, 0x73, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_InterDatanodeProtocol_proto_rawDescOnce sync.Once
+ file_InterDatanodeProtocol_proto_rawDescData = file_InterDatanodeProtocol_proto_rawDesc
+)
+
+func file_InterDatanodeProtocol_proto_rawDescGZIP() []byte {
+ file_InterDatanodeProtocol_proto_rawDescOnce.Do(func() {
+ file_InterDatanodeProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_InterDatanodeProtocol_proto_rawDescData)
+ })
+ return file_InterDatanodeProtocol_proto_rawDescData
+}
+
+var file_InterDatanodeProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
+var file_InterDatanodeProtocol_proto_goTypes = []interface{}{
+ (*InitReplicaRecoveryRequestProto)(nil), // 0: hadoop.hdfs.InitReplicaRecoveryRequestProto
+ (*InitReplicaRecoveryResponseProto)(nil), // 1: hadoop.hdfs.InitReplicaRecoveryResponseProto
+ (*UpdateReplicaUnderRecoveryRequestProto)(nil), // 2: hadoop.hdfs.UpdateReplicaUnderRecoveryRequestProto
+ (*UpdateReplicaUnderRecoveryResponseProto)(nil), // 3: hadoop.hdfs.UpdateReplicaUnderRecoveryResponseProto
+ (*RecoveringBlockProto)(nil), // 4: hadoop.hdfs.RecoveringBlockProto
+ (ReplicaStateProto)(0), // 5: hadoop.hdfs.ReplicaStateProto
+ (*BlockProto)(nil), // 6: hadoop.hdfs.BlockProto
+ (*ExtendedBlockProto)(nil), // 7: hadoop.hdfs.ExtendedBlockProto
+}
+var file_InterDatanodeProtocol_proto_depIdxs = []int32{
+ 4, // 0: hadoop.hdfs.InitReplicaRecoveryRequestProto.block:type_name -> hadoop.hdfs.RecoveringBlockProto
+ 5, // 1: hadoop.hdfs.InitReplicaRecoveryResponseProto.state:type_name -> hadoop.hdfs.ReplicaStateProto
+ 6, // 2: hadoop.hdfs.InitReplicaRecoveryResponseProto.block:type_name -> hadoop.hdfs.BlockProto
+ 7, // 3: hadoop.hdfs.UpdateReplicaUnderRecoveryRequestProto.block:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 0, // 4: hadoop.hdfs.InterDatanodeProtocolService.initReplicaRecovery:input_type -> hadoop.hdfs.InitReplicaRecoveryRequestProto
+ 2, // 5: hadoop.hdfs.InterDatanodeProtocolService.updateReplicaUnderRecovery:input_type -> hadoop.hdfs.UpdateReplicaUnderRecoveryRequestProto
+ 1, // 6: hadoop.hdfs.InterDatanodeProtocolService.initReplicaRecovery:output_type -> hadoop.hdfs.InitReplicaRecoveryResponseProto
+ 3, // 7: hadoop.hdfs.InterDatanodeProtocolService.updateReplicaUnderRecovery:output_type -> hadoop.hdfs.UpdateReplicaUnderRecoveryResponseProto
+ 6, // [6:8] is the sub-list for method output_type
+ 4, // [4:6] is the sub-list for method input_type
+ 4, // [4:4] is the sub-list for extension type_name
+ 4, // [4:4] is the sub-list for extension extendee
+ 0, // [0:4] is the sub-list for field type_name
+}
+
+func init() { file_InterDatanodeProtocol_proto_init() }
+func file_InterDatanodeProtocol_proto_init() {
+ if File_InterDatanodeProtocol_proto != nil {
+ return
+ }
+ file_hdfs_proto_init()
+ file_HdfsServer_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_InterDatanodeProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*InitReplicaRecoveryRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_InterDatanodeProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*InitReplicaRecoveryResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_InterDatanodeProtocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdateReplicaUnderRecoveryRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_InterDatanodeProtocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdateReplicaUnderRecoveryResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_InterDatanodeProtocol_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 4,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_InterDatanodeProtocol_proto_goTypes,
+ DependencyIndexes: file_InterDatanodeProtocol_proto_depIdxs,
+ MessageInfos: file_InterDatanodeProtocol_proto_msgTypes,
+ }.Build()
+ File_InterDatanodeProtocol_proto = out.File
+ file_InterDatanodeProtocol_proto_rawDesc = nil
+ file_InterDatanodeProtocol_proto_goTypes = nil
+ file_InterDatanodeProtocol_proto_depIdxs = nil
+}
diff --git a/internal/protocol/hadoop_hdfs/InterDatanodeProtocol.proto b/internal/protocol/hadoop_hdfs/InterDatanodeProtocol.proto
new file mode 100644
index 0000000..038f22a
--- /dev/null
+++ b/internal/protocol/hadoop_hdfs/InterDatanodeProtocol.proto
@@ -0,0 +1,92 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * These .proto interfaces are private and stable.
+ * Please see http://wiki.apache.org/hadoop/Compatibility
+ * for what changes are allowed for a *stable* .proto interface.
+ */
+
+// This file contains protocol buffers that are used throughout HDFS -- i.e.
+// by the client, server, and data transfer protocols.
+syntax = "proto2";
+option java_package = "org.apache.hadoop.hdfs.protocol.proto";
+option java_outer_classname = "InterDatanodeProtocolProtos";
+option java_generic_services = true;
+option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
+package hadoop.hdfs;
+
+import "hdfs.proto";
+import "HdfsServer.proto";
+
+/**
+ * Block with location information and new generation stamp
+ * to be used for recovery.
+ */
+message InitReplicaRecoveryRequestProto {
+ required RecoveringBlockProto block = 1;
+}
+
+/**
+ * Repica recovery information
+ */
+message InitReplicaRecoveryResponseProto {
+ required bool replicaFound = 1;
+
+ // The following entries are not set if there was no replica found.
+ optional ReplicaStateProto state = 2; // State of the replica
+ optional BlockProto block = 3; // block information
+}
+
+/**
+ * Update replica with new generation stamp and length
+ */
+message UpdateReplicaUnderRecoveryRequestProto {
+ required ExtendedBlockProto block = 1; // Block identifier
+ required uint64 recoveryId = 2; // New genstamp of the replica
+ required uint64 newLength = 3; // New length of the replica
+ // New blockId for copy (truncate), default is 0.
+ optional uint64 newBlockId = 4 [default = 0];
+}
+
+/**
+ * Response returns updated block information
+ */
+message UpdateReplicaUnderRecoveryResponseProto {
+ optional string storageUuid = 1; // ID of the storage that stores replica
+}
+
+/**
+ * Protocol used between datanodes for block recovery.
+ *
+ * See the request and response for details of rpc call.
+ */
+service InterDatanodeProtocolService {
+ /**
+ * Initialize recovery of a replica
+ */
+ rpc initReplicaRecovery(InitReplicaRecoveryRequestProto)
+ returns(InitReplicaRecoveryResponseProto);
+
+ /**
+ * Update a replica with new generation stamp and length
+ */
+ rpc updateReplicaUnderRecovery(UpdateReplicaUnderRecoveryRequestProto)
+ returns(UpdateReplicaUnderRecoveryResponseProto);
+}
diff --git a/internal/protocol/hadoop_hdfs/ReconfigurationProtocol.pb.go b/internal/protocol/hadoop_hdfs/ReconfigurationProtocol.pb.go
index 32301a0..3064abe 100644
--- a/internal/protocol/hadoop_hdfs/ReconfigurationProtocol.pb.go
+++ b/internal/protocol/hadoop_hdfs/ReconfigurationProtocol.pb.go
@@ -1,513 +1,601 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: ReconfigurationProtocol.proto
-/*
-Package hadoop_hdfs is a generated protocol buffer package.
-
-It is generated from these files:
- ReconfigurationProtocol.proto
- xattr.proto
- encryption.proto
- erasurecoding.proto
- ClientNamenodeProtocol.proto
- datatransfer.proto
- ClientDatanodeProtocol.proto
- inotify.proto
- hdfs.proto
- acl.proto
-
-It has these top-level messages:
- StartReconfigurationRequestProto
- StartReconfigurationResponseProto
- GetReconfigurationStatusRequestProto
- GetReconfigurationStatusConfigChangeProto
- GetReconfigurationStatusResponseProto
- ListReconfigurablePropertiesRequestProto
- ListReconfigurablePropertiesResponseProto
- XAttrProto
- SetXAttrRequestProto
- SetXAttrResponseProto
- GetXAttrsRequestProto
- GetXAttrsResponseProto
- ListXAttrsRequestProto
- ListXAttrsResponseProto
- RemoveXAttrRequestProto
- RemoveXAttrResponseProto
- CreateEncryptionZoneRequestProto
- CreateEncryptionZoneResponseProto
- ListEncryptionZonesRequestProto
- EncryptionZoneProto
- ListEncryptionZonesResponseProto
- GetEZForPathRequestProto
- GetEZForPathResponseProto
- SetErasureCodingPolicyRequestProto
- SetErasureCodingPolicyResponseProto
- GetErasureCodingPoliciesRequestProto
- GetErasureCodingPoliciesResponseProto
- GetErasureCodingPolicyRequestProto
- GetErasureCodingPolicyResponseProto
- BlockECReconstructionInfoProto
- GetBlockLocationsRequestProto
- GetBlockLocationsResponseProto
- GetServerDefaultsRequestProto
- GetServerDefaultsResponseProto
- CreateRequestProto
- CreateResponseProto
- AppendRequestProto
- AppendResponseProto
- SetReplicationRequestProto
- SetReplicationResponseProto
- SetStoragePolicyRequestProto
- SetStoragePolicyResponseProto
- UnsetStoragePolicyRequestProto
- UnsetStoragePolicyResponseProto
- GetStoragePolicyRequestProto
- GetStoragePolicyResponseProto
- GetStoragePoliciesRequestProto
- GetStoragePoliciesResponseProto
- SetPermissionRequestProto
- SetPermissionResponseProto
- SetOwnerRequestProto
- SetOwnerResponseProto
- AbandonBlockRequestProto
- AbandonBlockResponseProto
- AddBlockRequestProto
- AddBlockResponseProto
- GetAdditionalDatanodeRequestProto
- GetAdditionalDatanodeResponseProto
- CompleteRequestProto
- CompleteResponseProto
- ReportBadBlocksRequestProto
- ReportBadBlocksResponseProto
- ConcatRequestProto
- ConcatResponseProto
- TruncateRequestProto
- TruncateResponseProto
- RenameRequestProto
- RenameResponseProto
- Rename2RequestProto
- Rename2ResponseProto
- DeleteRequestProto
- DeleteResponseProto
- MkdirsRequestProto
- MkdirsResponseProto
- GetListingRequestProto
- GetListingResponseProto
- GetSnapshottableDirListingRequestProto
- GetSnapshottableDirListingResponseProto
- GetSnapshotDiffReportRequestProto
- GetSnapshotDiffReportResponseProto
- RenewLeaseRequestProto
- RenewLeaseResponseProto
- RecoverLeaseRequestProto
- RecoverLeaseResponseProto
- GetFsStatusRequestProto
- GetFsStatsResponseProto
- GetDatanodeReportRequestProto
- GetDatanodeReportResponseProto
- GetDatanodeStorageReportRequestProto
- DatanodeStorageReportProto
- GetDatanodeStorageReportResponseProto
- GetPreferredBlockSizeRequestProto
- GetPreferredBlockSizeResponseProto
- SetSafeModeRequestProto
- SetSafeModeResponseProto
- SaveNamespaceRequestProto
- SaveNamespaceResponseProto
- RollEditsRequestProto
- RollEditsResponseProto
- RestoreFailedStorageRequestProto
- RestoreFailedStorageResponseProto
- RefreshNodesRequestProto
- RefreshNodesResponseProto
- FinalizeUpgradeRequestProto
- FinalizeUpgradeResponseProto
- RollingUpgradeRequestProto
- RollingUpgradeInfoProto
- RollingUpgradeResponseProto
- ListCorruptFileBlocksRequestProto
- ListCorruptFileBlocksResponseProto
- MetaSaveRequestProto
- MetaSaveResponseProto
- GetFileInfoRequestProto
- GetFileInfoResponseProto
- IsFileClosedRequestProto
- IsFileClosedResponseProto
- CacheDirectiveInfoProto
- CacheDirectiveInfoExpirationProto
- CacheDirectiveStatsProto
- AddCacheDirectiveRequestProto
- AddCacheDirectiveResponseProto
- ModifyCacheDirectiveRequestProto
- ModifyCacheDirectiveResponseProto
- RemoveCacheDirectiveRequestProto
- RemoveCacheDirectiveResponseProto
- ListCacheDirectivesRequestProto
- CacheDirectiveEntryProto
- ListCacheDirectivesResponseProto
- CachePoolInfoProto
- CachePoolStatsProto
- AddCachePoolRequestProto
- AddCachePoolResponseProto
- ModifyCachePoolRequestProto
- ModifyCachePoolResponseProto
- RemoveCachePoolRequestProto
- RemoveCachePoolResponseProto
- ListCachePoolsRequestProto
- ListCachePoolsResponseProto
- CachePoolEntryProto
- GetFileLinkInfoRequestProto
- GetFileLinkInfoResponseProto
- GetContentSummaryRequestProto
- GetContentSummaryResponseProto
- GetQuotaUsageRequestProto
- GetQuotaUsageResponseProto
- SetQuotaRequestProto
- SetQuotaResponseProto
- FsyncRequestProto
- FsyncResponseProto
- SetTimesRequestProto
- SetTimesResponseProto
- CreateSymlinkRequestProto
- CreateSymlinkResponseProto
- GetLinkTargetRequestProto
- GetLinkTargetResponseProto
- UpdateBlockForPipelineRequestProto
- UpdateBlockForPipelineResponseProto
- UpdatePipelineRequestProto
- UpdatePipelineResponseProto
- SetBalancerBandwidthRequestProto
- SetBalancerBandwidthResponseProto
- GetDataEncryptionKeyRequestProto
- GetDataEncryptionKeyResponseProto
- CreateSnapshotRequestProto
- CreateSnapshotResponseProto
- RenameSnapshotRequestProto
- RenameSnapshotResponseProto
- AllowSnapshotRequestProto
- AllowSnapshotResponseProto
- DisallowSnapshotRequestProto
- DisallowSnapshotResponseProto
- DeleteSnapshotRequestProto
- DeleteSnapshotResponseProto
- CheckAccessRequestProto
- CheckAccessResponseProto
- GetCurrentEditLogTxidRequestProto
- GetCurrentEditLogTxidResponseProto
- GetEditsFromTxidRequestProto
- GetEditsFromTxidResponseProto
- DataTransferEncryptorMessageProto
- BaseHeaderProto
- DataTransferTraceInfoProto
- ClientOperationHeaderProto
- CachingStrategyProto
- OpReadBlockProto
- ChecksumProto
- OpWriteBlockProto
- OpTransferBlockProto
- OpReplaceBlockProto
- OpCopyBlockProto
- OpBlockChecksumProto
- OpBlockGroupChecksumProto
- ShortCircuitShmIdProto
- ShortCircuitShmSlotProto
- OpRequestShortCircuitAccessProto
- ReleaseShortCircuitAccessRequestProto
- ReleaseShortCircuitAccessResponseProto
- ShortCircuitShmRequestProto
- ShortCircuitShmResponseProto
- PacketHeaderProto
- PipelineAckProto
- ReadOpChecksumInfoProto
- BlockOpResponseProto
- ClientReadStatusProto
- DNTransferAckProto
- OpBlockChecksumResponseProto
- OpCustomProto
- GetReplicaVisibleLengthRequestProto
- GetReplicaVisibleLengthResponseProto
- RefreshNamenodesRequestProto
- RefreshNamenodesResponseProto
- DeleteBlockPoolRequestProto
- DeleteBlockPoolResponseProto
- GetBlockLocalPathInfoRequestProto
- GetBlockLocalPathInfoResponseProto
- ShutdownDatanodeRequestProto
- ShutdownDatanodeResponseProto
- EvictWritersRequestProto
- EvictWritersResponseProto
- GetDatanodeInfoRequestProto
- GetDatanodeInfoResponseProto
- TriggerBlockReportRequestProto
- TriggerBlockReportResponseProto
- GetBalancerBandwidthRequestProto
- GetBalancerBandwidthResponseProto
- EventProto
- EventBatchProto
- CreateEventProto
- CloseEventProto
- TruncateEventProto
- AppendEventProto
- RenameEventProto
- MetadataUpdateEventProto
- UnlinkEventProto
- EventsListProto
- ExtendedBlockProto
- DatanodeIDProto
- DatanodeLocalInfoProto
- DatanodeInfosProto
- DatanodeInfoProto
- DatanodeStorageProto
- StorageReportProto
- ContentSummaryProto
- QuotaUsageProto
- StorageTypeQuotaInfosProto
- StorageTypeQuotaInfoProto
- CorruptFileBlocksProto
- FsPermissionProto
- StorageTypesProto
- BlockStoragePolicyProto
- LocatedBlockProto
- DataEncryptionKeyProto
- FileEncryptionInfoProto
- PerFileEncryptionInfoProto
- ZoneEncryptionInfoProto
- CipherOptionProto
- LocatedBlocksProto
- ECSchemaOptionEntryProto
- ECSchemaProto
- ErasureCodingPolicyProto
- HdfsFileStatusProto
- FsServerDefaultsProto
- DirectoryListingProto
- SnapshottableDirectoryStatusProto
- SnapshottableDirectoryListingProto
- SnapshotDiffReportEntryProto
- SnapshotDiffReportProto
- BlockProto
- SnapshotInfoProto
- RollingUpgradeStatusProto
- StorageUuidsProto
- AclEntryProto
- AclStatusProto
- ModifyAclEntriesRequestProto
- ModifyAclEntriesResponseProto
- RemoveAclRequestProto
- RemoveAclResponseProto
- RemoveAclEntriesRequestProto
- RemoveAclEntriesResponseProto
- RemoveDefaultAclRequestProto
- RemoveDefaultAclResponseProto
- SetAclRequestProto
- SetAclResponseProto
- GetAclStatusRequestProto
- GetAclStatusResponseProto
-*/
package hadoop_hdfs
-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
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// * Asks NN/DN to reload configuration file.
+//* Asks NN/DN to reload configuration file.
type StartReconfigurationRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *StartReconfigurationRequestProto) Reset() {
+ *x = StartReconfigurationRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *StartReconfigurationRequestProto) Reset() { *m = StartReconfigurationRequestProto{} }
-func (m *StartReconfigurationRequestProto) String() string { return proto.CompactTextString(m) }
-func (*StartReconfigurationRequestProto) ProtoMessage() {}
+func (x *StartReconfigurationRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*StartReconfigurationRequestProto) ProtoMessage() {}
+
+func (x *StartReconfigurationRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use StartReconfigurationRequestProto.ProtoReflect.Descriptor instead.
func (*StartReconfigurationRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{0}
+ return file_ReconfigurationProtocol_proto_rawDescGZIP(), []int{0}
}
type StartReconfigurationResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *StartReconfigurationResponseProto) Reset() {
+ *x = StartReconfigurationResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *StartReconfigurationResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*StartReconfigurationResponseProto) ProtoMessage() {}
+
+func (x *StartReconfigurationResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *StartReconfigurationResponseProto) Reset() { *m = StartReconfigurationResponseProto{} }
-func (m *StartReconfigurationResponseProto) String() string { return proto.CompactTextString(m) }
-func (*StartReconfigurationResponseProto) ProtoMessage() {}
+// Deprecated: Use StartReconfigurationResponseProto.ProtoReflect.Descriptor instead.
func (*StartReconfigurationResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{1}
+ return file_ReconfigurationProtocol_proto_rawDescGZIP(), []int{1}
}
-// * Query the running status of reconfiguration process
+//* Query the running status of reconfiguration process
type GetReconfigurationStatusRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *GetReconfigurationStatusRequestProto) Reset() {
+ *x = GetReconfigurationStatusRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetReconfigurationStatusRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetReconfigurationStatusRequestProto) ProtoMessage() {}
+
+func (x *GetReconfigurationStatusRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GetReconfigurationStatusRequestProto) Reset() { *m = GetReconfigurationStatusRequestProto{} }
-func (m *GetReconfigurationStatusRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetReconfigurationStatusRequestProto) ProtoMessage() {}
+// Deprecated: Use GetReconfigurationStatusRequestProto.ProtoReflect.Descriptor instead.
func (*GetReconfigurationStatusRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{2}
+ return file_ReconfigurationProtocol_proto_rawDescGZIP(), []int{2}
}
type GetReconfigurationStatusConfigChangeProto struct {
- Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
- OldValue *string `protobuf:"bytes,2,req,name=oldValue" json:"oldValue,omitempty"`
- NewValue *string `protobuf:"bytes,3,opt,name=newValue" json:"newValue,omitempty"`
- ErrorMessage *string `protobuf:"bytes,4,opt,name=errorMessage" json:"errorMessage,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
+ OldValue *string `protobuf:"bytes,2,req,name=oldValue" json:"oldValue,omitempty"`
+ NewValue *string `protobuf:"bytes,3,opt,name=newValue" json:"newValue,omitempty"`
+ ErrorMessage *string `protobuf:"bytes,4,opt,name=errorMessage" json:"errorMessage,omitempty"` // It is empty if success.
}
-func (m *GetReconfigurationStatusConfigChangeProto) Reset() {
- *m = GetReconfigurationStatusConfigChangeProto{}
+func (x *GetReconfigurationStatusConfigChangeProto) Reset() {
+ *x = GetReconfigurationStatusConfigChangeProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *GetReconfigurationStatusConfigChangeProto) String() string { return proto.CompactTextString(m) }
-func (*GetReconfigurationStatusConfigChangeProto) ProtoMessage() {}
+
+func (x *GetReconfigurationStatusConfigChangeProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetReconfigurationStatusConfigChangeProto) ProtoMessage() {}
+
+func (x *GetReconfigurationStatusConfigChangeProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetReconfigurationStatusConfigChangeProto.ProtoReflect.Descriptor instead.
func (*GetReconfigurationStatusConfigChangeProto) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{3}
+ return file_ReconfigurationProtocol_proto_rawDescGZIP(), []int{3}
}
-func (m *GetReconfigurationStatusConfigChangeProto) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
+func (x *GetReconfigurationStatusConfigChangeProto) GetName() string {
+ if x != nil && x.Name != nil {
+ return *x.Name
}
return ""
}
-func (m *GetReconfigurationStatusConfigChangeProto) GetOldValue() string {
- if m != nil && m.OldValue != nil {
- return *m.OldValue
+func (x *GetReconfigurationStatusConfigChangeProto) GetOldValue() string {
+ if x != nil && x.OldValue != nil {
+ return *x.OldValue
}
return ""
}
-func (m *GetReconfigurationStatusConfigChangeProto) GetNewValue() string {
- if m != nil && m.NewValue != nil {
- return *m.NewValue
+func (x *GetReconfigurationStatusConfigChangeProto) GetNewValue() string {
+ if x != nil && x.NewValue != nil {
+ return *x.NewValue
}
return ""
}
-func (m *GetReconfigurationStatusConfigChangeProto) GetErrorMessage() string {
- if m != nil && m.ErrorMessage != nil {
- return *m.ErrorMessage
+func (x *GetReconfigurationStatusConfigChangeProto) GetErrorMessage() string {
+ if x != nil && x.ErrorMessage != nil {
+ return *x.ErrorMessage
}
return ""
}
type GetReconfigurationStatusResponseProto struct {
- StartTime *int64 `protobuf:"varint,1,req,name=startTime" json:"startTime,omitempty"`
- EndTime *int64 `protobuf:"varint,2,opt,name=endTime" json:"endTime,omitempty"`
- Changes []*GetReconfigurationStatusConfigChangeProto `protobuf:"bytes,3,rep,name=changes" json:"changes,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ StartTime *int64 `protobuf:"varint,1,req,name=startTime" json:"startTime,omitempty"`
+ EndTime *int64 `protobuf:"varint,2,opt,name=endTime" json:"endTime,omitempty"`
+ Changes []*GetReconfigurationStatusConfigChangeProto `protobuf:"bytes,3,rep,name=changes" json:"changes,omitempty"`
+}
+
+func (x *GetReconfigurationStatusResponseProto) Reset() {
+ *x = GetReconfigurationStatusResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetReconfigurationStatusResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetReconfigurationStatusResponseProto) ProtoMessage() {}
+
+func (x *GetReconfigurationStatusResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *GetReconfigurationStatusResponseProto) Reset() { *m = GetReconfigurationStatusResponseProto{} }
-func (m *GetReconfigurationStatusResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetReconfigurationStatusResponseProto) ProtoMessage() {}
+// Deprecated: Use GetReconfigurationStatusResponseProto.ProtoReflect.Descriptor instead.
func (*GetReconfigurationStatusResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{4}
+ return file_ReconfigurationProtocol_proto_rawDescGZIP(), []int{4}
}
-func (m *GetReconfigurationStatusResponseProto) GetStartTime() int64 {
- if m != nil && m.StartTime != nil {
- return *m.StartTime
+func (x *GetReconfigurationStatusResponseProto) GetStartTime() int64 {
+ if x != nil && x.StartTime != nil {
+ return *x.StartTime
}
return 0
}
-func (m *GetReconfigurationStatusResponseProto) GetEndTime() int64 {
- if m != nil && m.EndTime != nil {
- return *m.EndTime
+func (x *GetReconfigurationStatusResponseProto) GetEndTime() int64 {
+ if x != nil && x.EndTime != nil {
+ return *x.EndTime
}
return 0
}
-func (m *GetReconfigurationStatusResponseProto) GetChanges() []*GetReconfigurationStatusConfigChangeProto {
- if m != nil {
- return m.Changes
+func (x *GetReconfigurationStatusResponseProto) GetChanges() []*GetReconfigurationStatusConfigChangeProto {
+ if x != nil {
+ return x.Changes
}
return nil
}
-// * Query the reconfigurable properties on NN/DN.
+//* Query the reconfigurable properties on NN/DN.
type ListReconfigurablePropertiesRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *ListReconfigurablePropertiesRequestProto) Reset() {
- *m = ListReconfigurablePropertiesRequestProto{}
+func (x *ListReconfigurablePropertiesRequestProto) Reset() {
+ *x = ListReconfigurablePropertiesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListReconfigurablePropertiesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ListReconfigurablePropertiesRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ListReconfigurablePropertiesRequestProto) ProtoMessage() {}
+
+func (*ListReconfigurablePropertiesRequestProto) ProtoMessage() {}
+
+func (x *ListReconfigurablePropertiesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListReconfigurablePropertiesRequestProto.ProtoReflect.Descriptor instead.
func (*ListReconfigurablePropertiesRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{5}
+ return file_ReconfigurationProtocol_proto_rawDescGZIP(), []int{5}
}
type ListReconfigurablePropertiesResponseProto struct {
- Name []string `protobuf:"bytes,1,rep,name=name" json:"name,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Name []string `protobuf:"bytes,1,rep,name=name" json:"name,omitempty"`
}
-func (m *ListReconfigurablePropertiesResponseProto) Reset() {
- *m = ListReconfigurablePropertiesResponseProto{}
+func (x *ListReconfigurablePropertiesResponseProto) Reset() {
+ *x = ListReconfigurablePropertiesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListReconfigurablePropertiesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListReconfigurablePropertiesResponseProto) ProtoMessage() {}
+
+func (x *ListReconfigurablePropertiesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_ReconfigurationProtocol_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ListReconfigurablePropertiesResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ListReconfigurablePropertiesResponseProto) ProtoMessage() {}
+
+// Deprecated: Use ListReconfigurablePropertiesResponseProto.ProtoReflect.Descriptor instead.
func (*ListReconfigurablePropertiesResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{6}
+ return file_ReconfigurationProtocol_proto_rawDescGZIP(), []int{6}
}
-func (m *ListReconfigurablePropertiesResponseProto) GetName() []string {
- if m != nil {
- return m.Name
+func (x *ListReconfigurablePropertiesResponseProto) GetName() []string {
+ if x != nil {
+ return x.Name
}
return nil
}
-func init() {
- proto.RegisterType((*StartReconfigurationRequestProto)(nil), "hadoop.hdfs.StartReconfigurationRequestProto")
- proto.RegisterType((*StartReconfigurationResponseProto)(nil), "hadoop.hdfs.StartReconfigurationResponseProto")
- proto.RegisterType((*GetReconfigurationStatusRequestProto)(nil), "hadoop.hdfs.GetReconfigurationStatusRequestProto")
- proto.RegisterType((*GetReconfigurationStatusConfigChangeProto)(nil), "hadoop.hdfs.GetReconfigurationStatusConfigChangeProto")
- proto.RegisterType((*GetReconfigurationStatusResponseProto)(nil), "hadoop.hdfs.GetReconfigurationStatusResponseProto")
- proto.RegisterType((*ListReconfigurablePropertiesRequestProto)(nil), "hadoop.hdfs.ListReconfigurablePropertiesRequestProto")
- proto.RegisterType((*ListReconfigurablePropertiesResponseProto)(nil), "hadoop.hdfs.ListReconfigurablePropertiesResponseProto")
-}
-
-func init() { proto.RegisterFile("ReconfigurationProtocol.proto", fileDescriptor0) }
-
-var fileDescriptor0 = []byte{
- // 401 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xb1, 0x8e, 0xd3, 0x40,
- 0x10, 0xd5, 0xc6, 0x91, 0x42, 0x26, 0x54, 0x2b, 0x0a, 0xcb, 0x0a, 0xc8, 0x18, 0x82, 0x1c, 0x24,
- 0x2c, 0x11, 0x89, 0xb4, 0x48, 0x49, 0x41, 0x13, 0xa4, 0xc8, 0x41, 0xf4, 0x8b, 0x3d, 0xb1, 0x2d,
- 0x19, 0xaf, 0xd9, 0x5d, 0x43, 0x4d, 0x47, 0xc3, 0x17, 0x5c, 0x73, 0xfd, 0x55, 0xf7, 0x87, 0x27,
- 0x6f, 0xce, 0x97, 0x75, 0x14, 0xe7, 0x7c, 0x95, 0x77, 0x66, 0xde, 0x3c, 0xcf, 0x7b, 0x3b, 0x5a,
- 0x78, 0x19, 0x62, 0xc4, 0x8b, 0x7d, 0x96, 0x54, 0x82, 0xa9, 0x8c, 0x17, 0x5b, 0xc1, 0x15, 0x8f,
- 0x78, 0x1e, 0x94, 0xf5, 0x81, 0x4e, 0x52, 0x16, 0x73, 0x5e, 0x06, 0x69, 0xbc, 0x97, 0x9e, 0x07,
- 0xee, 0x4e, 0x31, 0xa1, 0x4e, 0x5a, 0x42, 0xfc, 0x55, 0xa1, 0x54, 0xba, 0xd3, 0x7b, 0x03, 0xaf,
- 0xcf, 0x63, 0x64, 0xc9, 0x0b, 0x89, 0x07, 0xd0, 0x3b, 0x78, 0xfb, 0x05, 0x4f, 0x21, 0x3b, 0xc5,
- 0x54, 0x25, 0x5b, 0x64, 0x57, 0x04, 0xe6, 0x5d, 0xc0, 0xb5, 0x4e, 0xad, 0x53, 0x56, 0x24, 0x07,
- 0x56, 0x4a, 0x61, 0x58, 0xb0, 0x9f, 0x68, 0x13, 0x77, 0xe0, 0x8f, 0x43, 0x7d, 0xa6, 0x0e, 0x3c,
- 0xe3, 0x79, 0xfc, 0x9d, 0xe5, 0x15, 0xda, 0x03, 0x9d, 0x7f, 0x88, 0xeb, 0x5a, 0x81, 0x7f, 0x0e,
- 0x35, 0xcb, 0x25, 0x75, 0xad, 0x89, 0xa9, 0x07, 0xcf, 0x51, 0x08, 0x2e, 0xbe, 0xa2, 0x94, 0x2c,
- 0x41, 0x7b, 0xa8, 0xeb, 0xad, 0x9c, 0x77, 0x4b, 0x60, 0xd6, 0x2d, 0xc3, 0xd0, 0x4b, 0xa7, 0x30,
- 0x96, 0xb5, 0x29, 0xdf, 0xb2, 0xfb, 0xf1, 0xac, 0xf0, 0x98, 0xa0, 0x36, 0x8c, 0xb0, 0x88, 0x75,
- 0x6d, 0xe0, 0x12, 0xdf, 0x0a, 0x9b, 0x90, 0x6e, 0x61, 0x14, 0x69, 0x81, 0xd2, 0xb6, 0x5c, 0xcb,
- 0x9f, 0x2c, 0x96, 0x81, 0x71, 0x1f, 0x41, 0x6f, 0x6b, 0xc2, 0x86, 0xc6, 0x7b, 0x0f, 0xfe, 0x26,
- 0x93, 0x66, 0xdb, 0x8f, 0xbc, 0xc6, 0x94, 0x28, 0x54, 0x86, 0x6d, 0xf7, 0x3f, 0xc3, 0xfc, 0x32,
- 0xd6, 0x94, 0x78, 0x34, 0xdf, 0x6a, 0xcc, 0x5f, 0xdc, 0x58, 0xf0, 0xaa, 0x63, 0xbd, 0x76, 0x28,
- 0x7e, 0x67, 0x11, 0xd2, 0xbf, 0x04, 0xec, 0xa4, 0x43, 0x06, 0xfd, 0xd8, 0x4b, 0xad, 0x39, 0xb3,
- 0xb3, 0xe8, 0xd9, 0x62, 0x8e, 0x5e, 0xc1, 0x0b, 0x79, 0x66, 0x65, 0xe9, 0x87, 0x16, 0xd7, 0x63,
- 0x9b, 0xef, 0x04, 0x3d, 0xe0, 0xe6, 0x6f, 0xff, 0x13, 0x98, 0xe6, 0x17, 0xfc, 0xa5, 0x9f, 0x5a,
- 0x84, 0x7d, 0xaf, 0xcd, 0x59, 0x3e, 0xa1, 0xcd, 0x98, 0x67, 0xb5, 0x81, 0x19, 0x17, 0x49, 0xc0,
- 0x4a, 0x16, 0xa5, 0xd8, 0xe2, 0x28, 0x5b, 0x6f, 0xc2, 0xaa, 0xeb, 0xc9, 0xd0, 0x5f, 0xf9, 0x8f,
- 0x90, 0x6b, 0x42, 0xee, 0x02, 0x00, 0x00, 0xff, 0xff, 0x93, 0x3f, 0x1a, 0x33, 0x58, 0x04, 0x00,
- 0x00,
+var File_ReconfigurationProtocol_proto protoreflect.FileDescriptor
+
+var file_ReconfigurationProtocol_proto_rawDesc = []byte{
+ 0x0a, 0x1d, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x0b, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x22, 0x22, 0x0a, 0x20,
+ 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x22, 0x23, 0x0a, 0x21, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f,
+ 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01,
+ 0x0a, 0x29, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
+ 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e,
+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
+ 0x1a, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28,
+ 0x09, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
+ 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e,
+ 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72,
+ 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65,
+ 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xb1, 0x01, 0x0a, 0x25,
+ 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69,
+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54,
+ 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x50, 0x0a,
+ 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74,
+ 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22,
+ 0x2a, 0x0a, 0x28, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
+ 0x72, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x29, 0x4c,
+ 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x62, 0x6c,
+ 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xab, 0x03, 0x0a,
+ 0x1e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
+ 0x81, 0x01, 0x0a, 0x18, 0x67, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
+ 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65,
+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
+ 0x32, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x47, 0x65,
+ 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x75, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x63, 0x6f,
+ 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52,
+ 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65,
+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x8d, 0x01, 0x0a, 0x1c, 0x6c,
+ 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x62, 0x6c,
+ 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x35, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x70,
+ 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x1a, 0x36, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
+ 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x88, 0x01, 0x0a, 0x25, 0x6f,
+ 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x1d, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x73, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
+ 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76,
+ 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x68, 0x64, 0x66, 0x73, 0x88,
+ 0x01, 0x01, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_ReconfigurationProtocol_proto_rawDescOnce sync.Once
+ file_ReconfigurationProtocol_proto_rawDescData = file_ReconfigurationProtocol_proto_rawDesc
+)
+
+func file_ReconfigurationProtocol_proto_rawDescGZIP() []byte {
+ file_ReconfigurationProtocol_proto_rawDescOnce.Do(func() {
+ file_ReconfigurationProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_ReconfigurationProtocol_proto_rawDescData)
+ })
+ return file_ReconfigurationProtocol_proto_rawDescData
+}
+
+var file_ReconfigurationProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
+var file_ReconfigurationProtocol_proto_goTypes = []interface{}{
+ (*StartReconfigurationRequestProto)(nil), // 0: hadoop.hdfs.StartReconfigurationRequestProto
+ (*StartReconfigurationResponseProto)(nil), // 1: hadoop.hdfs.StartReconfigurationResponseProto
+ (*GetReconfigurationStatusRequestProto)(nil), // 2: hadoop.hdfs.GetReconfigurationStatusRequestProto
+ (*GetReconfigurationStatusConfigChangeProto)(nil), // 3: hadoop.hdfs.GetReconfigurationStatusConfigChangeProto
+ (*GetReconfigurationStatusResponseProto)(nil), // 4: hadoop.hdfs.GetReconfigurationStatusResponseProto
+ (*ListReconfigurablePropertiesRequestProto)(nil), // 5: hadoop.hdfs.ListReconfigurablePropertiesRequestProto
+ (*ListReconfigurablePropertiesResponseProto)(nil), // 6: hadoop.hdfs.ListReconfigurablePropertiesResponseProto
+}
+var file_ReconfigurationProtocol_proto_depIdxs = []int32{
+ 3, // 0: hadoop.hdfs.GetReconfigurationStatusResponseProto.changes:type_name -> hadoop.hdfs.GetReconfigurationStatusConfigChangeProto
+ 2, // 1: hadoop.hdfs.ReconfigurationProtocolService.getReconfigurationStatus:input_type -> hadoop.hdfs.GetReconfigurationStatusRequestProto
+ 0, // 2: hadoop.hdfs.ReconfigurationProtocolService.startReconfiguration:input_type -> hadoop.hdfs.StartReconfigurationRequestProto
+ 5, // 3: hadoop.hdfs.ReconfigurationProtocolService.listReconfigurableProperties:input_type -> hadoop.hdfs.ListReconfigurablePropertiesRequestProto
+ 4, // 4: hadoop.hdfs.ReconfigurationProtocolService.getReconfigurationStatus:output_type -> hadoop.hdfs.GetReconfigurationStatusResponseProto
+ 1, // 5: hadoop.hdfs.ReconfigurationProtocolService.startReconfiguration:output_type -> hadoop.hdfs.StartReconfigurationResponseProto
+ 6, // 6: hadoop.hdfs.ReconfigurationProtocolService.listReconfigurableProperties:output_type -> hadoop.hdfs.ListReconfigurablePropertiesResponseProto
+ 4, // [4:7] is the sub-list for method output_type
+ 1, // [1:4] is the sub-list for method input_type
+ 1, // [1:1] is the sub-list for extension type_name
+ 1, // [1:1] is the sub-list for extension extendee
+ 0, // [0:1] is the sub-list for field type_name
+}
+
+func init() { file_ReconfigurationProtocol_proto_init() }
+func file_ReconfigurationProtocol_proto_init() {
+ if File_ReconfigurationProtocol_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_ReconfigurationProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StartReconfigurationRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ReconfigurationProtocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StartReconfigurationResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ReconfigurationProtocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetReconfigurationStatusRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ReconfigurationProtocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetReconfigurationStatusConfigChangeProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ReconfigurationProtocol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetReconfigurationStatusResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ReconfigurationProtocol_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListReconfigurablePropertiesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_ReconfigurationProtocol_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListReconfigurablePropertiesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_ReconfigurationProtocol_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 7,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_ReconfigurationProtocol_proto_goTypes,
+ DependencyIndexes: file_ReconfigurationProtocol_proto_depIdxs,
+ MessageInfos: file_ReconfigurationProtocol_proto_msgTypes,
+ }.Build()
+ File_ReconfigurationProtocol_proto = out.File
+ file_ReconfigurationProtocol_proto_rawDesc = nil
+ file_ReconfigurationProtocol_proto_goTypes = nil
+ file_ReconfigurationProtocol_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_hdfs/ReconfigurationProtocol.proto b/internal/protocol/hadoop_hdfs/ReconfigurationProtocol.proto
index 12a38b1..883e04d 100644
--- a/internal/protocol/hadoop_hdfs/ReconfigurationProtocol.proto
+++ b/internal/protocol/hadoop_hdfs/ReconfigurationProtocol.proto
@@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+syntax="proto2";
// This file contains protocol buffers that are used to reconfigure NameNode
// and DataNode by HDFS admin.
@@ -23,6 +23,7 @@ option java_package = "org.apache.hadoop.hdfs.protocol.proto";
option java_outer_classname = "ReconfigurationProtocolProtos";
option java_generic_services = true;
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
package hadoop.hdfs;
/** Asks NN/DN to reload configuration file. */
diff --git a/internal/protocol/hadoop_hdfs/acl.pb.go b/internal/protocol/hadoop_hdfs/acl.pb.go
index 5d766a3..fbea148 100644
--- a/internal/protocol/hadoop_hdfs/acl.pb.go
+++ b/internal/protocol/hadoop_hdfs/acl.pb.go
@@ -1,16 +1,41 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: acl.proto
package hadoop_hdfs
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
type AclEntryProto_AclEntryScopeProto int32
@@ -19,33 +44,53 @@ const (
AclEntryProto_DEFAULT AclEntryProto_AclEntryScopeProto = 1
)
-var AclEntryProto_AclEntryScopeProto_name = map[int32]string{
- 0: "ACCESS",
- 1: "DEFAULT",
-}
-var AclEntryProto_AclEntryScopeProto_value = map[string]int32{
- "ACCESS": 0,
- "DEFAULT": 1,
-}
+// Enum value maps for AclEntryProto_AclEntryScopeProto.
+var (
+ AclEntryProto_AclEntryScopeProto_name = map[int32]string{
+ 0: "ACCESS",
+ 1: "DEFAULT",
+ }
+ AclEntryProto_AclEntryScopeProto_value = map[string]int32{
+ "ACCESS": 0,
+ "DEFAULT": 1,
+ }
+)
func (x AclEntryProto_AclEntryScopeProto) Enum() *AclEntryProto_AclEntryScopeProto {
p := new(AclEntryProto_AclEntryScopeProto)
*p = x
return p
}
+
func (x AclEntryProto_AclEntryScopeProto) String() string {
- return proto.EnumName(AclEntryProto_AclEntryScopeProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (AclEntryProto_AclEntryScopeProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_acl_proto_enumTypes[0].Descriptor()
+}
+
+func (AclEntryProto_AclEntryScopeProto) Type() protoreflect.EnumType {
+ return &file_acl_proto_enumTypes[0]
}
-func (x *AclEntryProto_AclEntryScopeProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(AclEntryProto_AclEntryScopeProto_value, data, "AclEntryProto_AclEntryScopeProto")
+
+func (x AclEntryProto_AclEntryScopeProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *AclEntryProto_AclEntryScopeProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = AclEntryProto_AclEntryScopeProto(value)
+ *x = AclEntryProto_AclEntryScopeProto(num)
return nil
}
+
+// Deprecated: Use AclEntryProto_AclEntryScopeProto.Descriptor instead.
func (AclEntryProto_AclEntryScopeProto) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor9, []int{0, 0}
+ return file_acl_proto_rawDescGZIP(), []int{1, 0}
}
type AclEntryProto_AclEntryTypeProto int32
@@ -57,37 +102,57 @@ const (
AclEntryProto_OTHER AclEntryProto_AclEntryTypeProto = 3
)
-var AclEntryProto_AclEntryTypeProto_name = map[int32]string{
- 0: "USER",
- 1: "GROUP",
- 2: "MASK",
- 3: "OTHER",
-}
-var AclEntryProto_AclEntryTypeProto_value = map[string]int32{
- "USER": 0,
- "GROUP": 1,
- "MASK": 2,
- "OTHER": 3,
-}
+// Enum value maps for AclEntryProto_AclEntryTypeProto.
+var (
+ AclEntryProto_AclEntryTypeProto_name = map[int32]string{
+ 0: "USER",
+ 1: "GROUP",
+ 2: "MASK",
+ 3: "OTHER",
+ }
+ AclEntryProto_AclEntryTypeProto_value = map[string]int32{
+ "USER": 0,
+ "GROUP": 1,
+ "MASK": 2,
+ "OTHER": 3,
+ }
+)
func (x AclEntryProto_AclEntryTypeProto) Enum() *AclEntryProto_AclEntryTypeProto {
p := new(AclEntryProto_AclEntryTypeProto)
*p = x
return p
}
+
func (x AclEntryProto_AclEntryTypeProto) String() string {
- return proto.EnumName(AclEntryProto_AclEntryTypeProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (AclEntryProto_AclEntryTypeProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_acl_proto_enumTypes[1].Descriptor()
+}
+
+func (AclEntryProto_AclEntryTypeProto) Type() protoreflect.EnumType {
+ return &file_acl_proto_enumTypes[1]
}
-func (x *AclEntryProto_AclEntryTypeProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(AclEntryProto_AclEntryTypeProto_value, data, "AclEntryProto_AclEntryTypeProto")
+
+func (x AclEntryProto_AclEntryTypeProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *AclEntryProto_AclEntryTypeProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = AclEntryProto_AclEntryTypeProto(value)
+ *x = AclEntryProto_AclEntryTypeProto(num)
return nil
}
+
+// Deprecated: Use AclEntryProto_AclEntryTypeProto.Descriptor instead.
func (AclEntryProto_AclEntryTypeProto) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor9, []int{0, 1}
+ return file_acl_proto_rawDescGZIP(), []int{1, 1}
}
type AclEntryProto_FsActionProto int32
@@ -103,385 +168,1166 @@ const (
AclEntryProto_PERM_ALL AclEntryProto_FsActionProto = 7
)
-var AclEntryProto_FsActionProto_name = map[int32]string{
- 0: "NONE",
- 1: "EXECUTE",
- 2: "WRITE",
- 3: "WRITE_EXECUTE",
- 4: "READ",
- 5: "READ_EXECUTE",
- 6: "READ_WRITE",
- 7: "PERM_ALL",
-}
-var AclEntryProto_FsActionProto_value = map[string]int32{
- "NONE": 0,
- "EXECUTE": 1,
- "WRITE": 2,
- "WRITE_EXECUTE": 3,
- "READ": 4,
- "READ_EXECUTE": 5,
- "READ_WRITE": 6,
- "PERM_ALL": 7,
-}
+// Enum value maps for AclEntryProto_FsActionProto.
+var (
+ AclEntryProto_FsActionProto_name = map[int32]string{
+ 0: "NONE",
+ 1: "EXECUTE",
+ 2: "WRITE",
+ 3: "WRITE_EXECUTE",
+ 4: "READ",
+ 5: "READ_EXECUTE",
+ 6: "READ_WRITE",
+ 7: "PERM_ALL",
+ }
+ AclEntryProto_FsActionProto_value = map[string]int32{
+ "NONE": 0,
+ "EXECUTE": 1,
+ "WRITE": 2,
+ "WRITE_EXECUTE": 3,
+ "READ": 4,
+ "READ_EXECUTE": 5,
+ "READ_WRITE": 6,
+ "PERM_ALL": 7,
+ }
+)
func (x AclEntryProto_FsActionProto) Enum() *AclEntryProto_FsActionProto {
p := new(AclEntryProto_FsActionProto)
*p = x
return p
}
+
func (x AclEntryProto_FsActionProto) String() string {
- return proto.EnumName(AclEntryProto_FsActionProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (AclEntryProto_FsActionProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_acl_proto_enumTypes[2].Descriptor()
}
-func (x *AclEntryProto_FsActionProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(AclEntryProto_FsActionProto_value, data, "AclEntryProto_FsActionProto")
+
+func (AclEntryProto_FsActionProto) Type() protoreflect.EnumType {
+ return &file_acl_proto_enumTypes[2]
+}
+
+func (x AclEntryProto_FsActionProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *AclEntryProto_FsActionProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = AclEntryProto_FsActionProto(value)
+ *x = AclEntryProto_FsActionProto(num)
return nil
}
+
+// Deprecated: Use AclEntryProto_FsActionProto.Descriptor instead.
func (AclEntryProto_FsActionProto) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor9, []int{0, 2}
+ return file_acl_proto_rawDescGZIP(), []int{1, 2}
+}
+
+//*
+// File or Directory permision - same spec as posix
+type FsPermissionProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Perm *uint32 `protobuf:"varint,1,req,name=perm" json:"perm,omitempty"` // Actually a short - only 16bits used
+}
+
+func (x *FsPermissionProto) Reset() {
+ *x = FsPermissionProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FsPermissionProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FsPermissionProto) ProtoMessage() {}
+
+func (x *FsPermissionProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FsPermissionProto.ProtoReflect.Descriptor instead.
+func (*FsPermissionProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *FsPermissionProto) GetPerm() uint32 {
+ if x != nil && x.Perm != nil {
+ return *x.Perm
+ }
+ return 0
}
type AclEntryProto struct {
- Type *AclEntryProto_AclEntryTypeProto `protobuf:"varint,1,req,name=type,enum=hadoop.hdfs.AclEntryProto_AclEntryTypeProto" json:"type,omitempty"`
- Scope *AclEntryProto_AclEntryScopeProto `protobuf:"varint,2,req,name=scope,enum=hadoop.hdfs.AclEntryProto_AclEntryScopeProto" json:"scope,omitempty"`
- Permissions *AclEntryProto_FsActionProto `protobuf:"varint,3,req,name=permissions,enum=hadoop.hdfs.AclEntryProto_FsActionProto" json:"permissions,omitempty"`
- Name *string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Type *AclEntryProto_AclEntryTypeProto `protobuf:"varint,1,req,name=type,enum=hadoop.hdfs.AclEntryProto_AclEntryTypeProto" json:"type,omitempty"`
+ Scope *AclEntryProto_AclEntryScopeProto `protobuf:"varint,2,req,name=scope,enum=hadoop.hdfs.AclEntryProto_AclEntryScopeProto" json:"scope,omitempty"`
+ Permissions *AclEntryProto_FsActionProto `protobuf:"varint,3,req,name=permissions,enum=hadoop.hdfs.AclEntryProto_FsActionProto" json:"permissions,omitempty"`
+ Name *string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
+}
+
+func (x *AclEntryProto) Reset() {
+ *x = AclEntryProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AclEntryProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AclEntryProto) ProtoMessage() {}
+
+func (x *AclEntryProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *AclEntryProto) Reset() { *m = AclEntryProto{} }
-func (m *AclEntryProto) String() string { return proto.CompactTextString(m) }
-func (*AclEntryProto) ProtoMessage() {}
-func (*AclEntryProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
+// Deprecated: Use AclEntryProto.ProtoReflect.Descriptor instead.
+func (*AclEntryProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{1}
+}
-func (m *AclEntryProto) GetType() AclEntryProto_AclEntryTypeProto {
- if m != nil && m.Type != nil {
- return *m.Type
+func (x *AclEntryProto) GetType() AclEntryProto_AclEntryTypeProto {
+ if x != nil && x.Type != nil {
+ return *x.Type
}
return AclEntryProto_USER
}
-func (m *AclEntryProto) GetScope() AclEntryProto_AclEntryScopeProto {
- if m != nil && m.Scope != nil {
- return *m.Scope
+func (x *AclEntryProto) GetScope() AclEntryProto_AclEntryScopeProto {
+ if x != nil && x.Scope != nil {
+ return *x.Scope
}
return AclEntryProto_ACCESS
}
-func (m *AclEntryProto) GetPermissions() AclEntryProto_FsActionProto {
- if m != nil && m.Permissions != nil {
- return *m.Permissions
+func (x *AclEntryProto) GetPermissions() AclEntryProto_FsActionProto {
+ if x != nil && x.Permissions != nil {
+ return *x.Permissions
}
return AclEntryProto_NONE
}
-func (m *AclEntryProto) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
+func (x *AclEntryProto) GetName() string {
+ if x != nil && x.Name != nil {
+ return *x.Name
}
return ""
}
type AclStatusProto struct {
- Owner *string `protobuf:"bytes,1,req,name=owner" json:"owner,omitempty"`
- Group *string `protobuf:"bytes,2,req,name=group" json:"group,omitempty"`
- Sticky *bool `protobuf:"varint,3,req,name=sticky" json:"sticky,omitempty"`
- Entries []*AclEntryProto `protobuf:"bytes,4,rep,name=entries" json:"entries,omitempty"`
- Permission *FsPermissionProto `protobuf:"bytes,5,opt,name=permission" json:"permission,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Owner *string `protobuf:"bytes,1,req,name=owner" json:"owner,omitempty"`
+ Group *string `protobuf:"bytes,2,req,name=group" json:"group,omitempty"`
+ Sticky *bool `protobuf:"varint,3,req,name=sticky" json:"sticky,omitempty"`
+ Entries []*AclEntryProto `protobuf:"bytes,4,rep,name=entries" json:"entries,omitempty"`
+ Permission *FsPermissionProto `protobuf:"bytes,5,opt,name=permission" json:"permission,omitempty"`
+}
+
+func (x *AclStatusProto) Reset() {
+ *x = AclStatusProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AclStatusProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *AclStatusProto) Reset() { *m = AclStatusProto{} }
-func (m *AclStatusProto) String() string { return proto.CompactTextString(m) }
-func (*AclStatusProto) ProtoMessage() {}
-func (*AclStatusProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
+func (*AclStatusProto) ProtoMessage() {}
-func (m *AclStatusProto) GetOwner() string {
- if m != nil && m.Owner != nil {
- return *m.Owner
+func (x *AclStatusProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AclStatusProto.ProtoReflect.Descriptor instead.
+func (*AclStatusProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *AclStatusProto) GetOwner() string {
+ if x != nil && x.Owner != nil {
+ return *x.Owner
}
return ""
}
-func (m *AclStatusProto) GetGroup() string {
- if m != nil && m.Group != nil {
- return *m.Group
+func (x *AclStatusProto) GetGroup() string {
+ if x != nil && x.Group != nil {
+ return *x.Group
}
return ""
}
-func (m *AclStatusProto) GetSticky() bool {
- if m != nil && m.Sticky != nil {
- return *m.Sticky
+func (x *AclStatusProto) GetSticky() bool {
+ if x != nil && x.Sticky != nil {
+ return *x.Sticky
}
return false
}
-func (m *AclStatusProto) GetEntries() []*AclEntryProto {
- if m != nil {
- return m.Entries
+func (x *AclStatusProto) GetEntries() []*AclEntryProto {
+ if x != nil {
+ return x.Entries
}
return nil
}
-func (m *AclStatusProto) GetPermission() *FsPermissionProto {
- if m != nil {
- return m.Permission
+func (x *AclStatusProto) GetPermission() *FsPermissionProto {
+ if x != nil {
+ return x.Permission
}
return nil
}
type ModifyAclEntriesRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- AclSpec []*AclEntryProto `protobuf:"bytes,2,rep,name=aclSpec" json:"aclSpec,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ AclSpec []*AclEntryProto `protobuf:"bytes,2,rep,name=aclSpec" json:"aclSpec,omitempty"`
}
-func (m *ModifyAclEntriesRequestProto) Reset() { *m = ModifyAclEntriesRequestProto{} }
-func (m *ModifyAclEntriesRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ModifyAclEntriesRequestProto) ProtoMessage() {}
-func (*ModifyAclEntriesRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} }
+func (x *ModifyAclEntriesRequestProto) Reset() {
+ *x = ModifyAclEntriesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ModifyAclEntriesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ModifyAclEntriesRequestProto) ProtoMessage() {}
+
+func (x *ModifyAclEntriesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ModifyAclEntriesRequestProto.ProtoReflect.Descriptor instead.
+func (*ModifyAclEntriesRequestProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{3}
+}
-func (m *ModifyAclEntriesRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *ModifyAclEntriesRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *ModifyAclEntriesRequestProto) GetAclSpec() []*AclEntryProto {
- if m != nil {
- return m.AclSpec
+func (x *ModifyAclEntriesRequestProto) GetAclSpec() []*AclEntryProto {
+ if x != nil {
+ return x.AclSpec
}
return nil
}
type ModifyAclEntriesResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *ModifyAclEntriesResponseProto) Reset() { *m = ModifyAclEntriesResponseProto{} }
-func (m *ModifyAclEntriesResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ModifyAclEntriesResponseProto) ProtoMessage() {}
-func (*ModifyAclEntriesResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} }
+func (x *ModifyAclEntriesResponseProto) Reset() {
+ *x = ModifyAclEntriesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ModifyAclEntriesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ModifyAclEntriesResponseProto) ProtoMessage() {}
+
+func (x *ModifyAclEntriesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ModifyAclEntriesResponseProto.ProtoReflect.Descriptor instead.
+func (*ModifyAclEntriesResponseProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{4}
+}
type RemoveAclRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+}
+
+func (x *RemoveAclRequestProto) Reset() {
+ *x = RemoveAclRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveAclRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveAclRequestProto) ProtoMessage() {}
+
+func (x *RemoveAclRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *RemoveAclRequestProto) Reset() { *m = RemoveAclRequestProto{} }
-func (m *RemoveAclRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveAclRequestProto) ProtoMessage() {}
-func (*RemoveAclRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{4} }
+// Deprecated: Use RemoveAclRequestProto.ProtoReflect.Descriptor instead.
+func (*RemoveAclRequestProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{5}
+}
-func (m *RemoveAclRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *RemoveAclRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
type RemoveAclResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RemoveAclResponseProto) Reset() {
+ *x = RemoveAclResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RemoveAclResponseProto) Reset() { *m = RemoveAclResponseProto{} }
-func (m *RemoveAclResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveAclResponseProto) ProtoMessage() {}
-func (*RemoveAclResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{5} }
+func (x *RemoveAclResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveAclResponseProto) ProtoMessage() {}
+
+func (x *RemoveAclResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveAclResponseProto.ProtoReflect.Descriptor instead.
+func (*RemoveAclResponseProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{6}
+}
type RemoveAclEntriesRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- AclSpec []*AclEntryProto `protobuf:"bytes,2,rep,name=aclSpec" json:"aclSpec,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ AclSpec []*AclEntryProto `protobuf:"bytes,2,rep,name=aclSpec" json:"aclSpec,omitempty"`
+}
+
+func (x *RemoveAclEntriesRequestProto) Reset() {
+ *x = RemoveAclEntriesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveAclEntriesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveAclEntriesRequestProto) ProtoMessage() {}
+
+func (x *RemoveAclEntriesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *RemoveAclEntriesRequestProto) Reset() { *m = RemoveAclEntriesRequestProto{} }
-func (m *RemoveAclEntriesRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveAclEntriesRequestProto) ProtoMessage() {}
-func (*RemoveAclEntriesRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{6} }
+// Deprecated: Use RemoveAclEntriesRequestProto.ProtoReflect.Descriptor instead.
+func (*RemoveAclEntriesRequestProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{7}
+}
-func (m *RemoveAclEntriesRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *RemoveAclEntriesRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *RemoveAclEntriesRequestProto) GetAclSpec() []*AclEntryProto {
- if m != nil {
- return m.AclSpec
+func (x *RemoveAclEntriesRequestProto) GetAclSpec() []*AclEntryProto {
+ if x != nil {
+ return x.AclSpec
}
return nil
}
type RemoveAclEntriesResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *RemoveAclEntriesResponseProto) Reset() { *m = RemoveAclEntriesResponseProto{} }
-func (m *RemoveAclEntriesResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveAclEntriesResponseProto) ProtoMessage() {}
-func (*RemoveAclEntriesResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{7} }
+func (x *RemoveAclEntriesResponseProto) Reset() {
+ *x = RemoveAclEntriesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveAclEntriesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveAclEntriesResponseProto) ProtoMessage() {}
+
+func (x *RemoveAclEntriesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveAclEntriesResponseProto.ProtoReflect.Descriptor instead.
+func (*RemoveAclEntriesResponseProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{8}
+}
type RemoveDefaultAclRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
}
-func (m *RemoveDefaultAclRequestProto) Reset() { *m = RemoveDefaultAclRequestProto{} }
-func (m *RemoveDefaultAclRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveDefaultAclRequestProto) ProtoMessage() {}
-func (*RemoveDefaultAclRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{8} }
+func (x *RemoveDefaultAclRequestProto) Reset() {
+ *x = RemoveDefaultAclRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *RemoveDefaultAclRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *RemoveDefaultAclRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveDefaultAclRequestProto) ProtoMessage() {}
+
+func (x *RemoveDefaultAclRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveDefaultAclRequestProto.ProtoReflect.Descriptor instead.
+func (*RemoveDefaultAclRequestProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{9}
+}
+
+func (x *RemoveDefaultAclRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
type RemoveDefaultAclResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RemoveDefaultAclResponseProto) Reset() {
+ *x = RemoveDefaultAclResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveDefaultAclResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveDefaultAclResponseProto) ProtoMessage() {}
+
+func (x *RemoveDefaultAclResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *RemoveDefaultAclResponseProto) Reset() { *m = RemoveDefaultAclResponseProto{} }
-func (m *RemoveDefaultAclResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveDefaultAclResponseProto) ProtoMessage() {}
-func (*RemoveDefaultAclResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{9} }
+// Deprecated: Use RemoveDefaultAclResponseProto.ProtoReflect.Descriptor instead.
+func (*RemoveDefaultAclResponseProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{10}
+}
type SetAclRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- AclSpec []*AclEntryProto `protobuf:"bytes,2,rep,name=aclSpec" json:"aclSpec,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ AclSpec []*AclEntryProto `protobuf:"bytes,2,rep,name=aclSpec" json:"aclSpec,omitempty"`
+}
+
+func (x *SetAclRequestProto) Reset() {
+ *x = SetAclRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetAclRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *SetAclRequestProto) Reset() { *m = SetAclRequestProto{} }
-func (m *SetAclRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SetAclRequestProto) ProtoMessage() {}
-func (*SetAclRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{10} }
+func (*SetAclRequestProto) ProtoMessage() {}
-func (m *SetAclRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *SetAclRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetAclRequestProto.ProtoReflect.Descriptor instead.
+func (*SetAclRequestProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{11}
+}
+
+func (x *SetAclRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *SetAclRequestProto) GetAclSpec() []*AclEntryProto {
- if m != nil {
- return m.AclSpec
+func (x *SetAclRequestProto) GetAclSpec() []*AclEntryProto {
+ if x != nil {
+ return x.AclSpec
}
return nil
}
type SetAclResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *SetAclResponseProto) Reset() {
+ *x = SetAclResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetAclResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetAclResponseProto) ProtoMessage() {}
+
+func (x *SetAclResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[12]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *SetAclResponseProto) Reset() { *m = SetAclResponseProto{} }
-func (m *SetAclResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SetAclResponseProto) ProtoMessage() {}
-func (*SetAclResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{11} }
+// Deprecated: Use SetAclResponseProto.ProtoReflect.Descriptor instead.
+func (*SetAclResponseProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{12}
+}
type GetAclStatusRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+}
+
+func (x *GetAclStatusRequestProto) Reset() {
+ *x = GetAclStatusRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetAclStatusRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetAclStatusRequestProto) Reset() { *m = GetAclStatusRequestProto{} }
-func (m *GetAclStatusRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetAclStatusRequestProto) ProtoMessage() {}
-func (*GetAclStatusRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{12} }
+func (*GetAclStatusRequestProto) ProtoMessage() {}
-func (m *GetAclStatusRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *GetAclStatusRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[13]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetAclStatusRequestProto.ProtoReflect.Descriptor instead.
+func (*GetAclStatusRequestProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{13}
+}
+
+func (x *GetAclStatusRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
type GetAclStatusResponseProto struct {
- Result *AclStatusProto `protobuf:"bytes,1,req,name=result" json:"result,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Result *AclStatusProto `protobuf:"bytes,1,req,name=result" json:"result,omitempty"`
+}
+
+func (x *GetAclStatusResponseProto) Reset() {
+ *x = GetAclStatusResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_acl_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetAclStatusResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetAclStatusResponseProto) Reset() { *m = GetAclStatusResponseProto{} }
-func (m *GetAclStatusResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetAclStatusResponseProto) ProtoMessage() {}
-func (*GetAclStatusResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{13} }
+func (*GetAclStatusResponseProto) ProtoMessage() {}
-func (m *GetAclStatusResponseProto) GetResult() *AclStatusProto {
- if m != nil {
- return m.Result
+func (x *GetAclStatusResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_acl_proto_msgTypes[14]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetAclStatusResponseProto.ProtoReflect.Descriptor instead.
+func (*GetAclStatusResponseProto) Descriptor() ([]byte, []int) {
+ return file_acl_proto_rawDescGZIP(), []int{14}
+}
+
+func (x *GetAclStatusResponseProto) GetResult() *AclStatusProto {
+ if x != nil {
+ return x.Result
}
return nil
}
-func init() {
- proto.RegisterType((*AclEntryProto)(nil), "hadoop.hdfs.AclEntryProto")
- proto.RegisterType((*AclStatusProto)(nil), "hadoop.hdfs.AclStatusProto")
- proto.RegisterType((*ModifyAclEntriesRequestProto)(nil), "hadoop.hdfs.ModifyAclEntriesRequestProto")
- proto.RegisterType((*ModifyAclEntriesResponseProto)(nil), "hadoop.hdfs.ModifyAclEntriesResponseProto")
- proto.RegisterType((*RemoveAclRequestProto)(nil), "hadoop.hdfs.RemoveAclRequestProto")
- proto.RegisterType((*RemoveAclResponseProto)(nil), "hadoop.hdfs.RemoveAclResponseProto")
- proto.RegisterType((*RemoveAclEntriesRequestProto)(nil), "hadoop.hdfs.RemoveAclEntriesRequestProto")
- proto.RegisterType((*RemoveAclEntriesResponseProto)(nil), "hadoop.hdfs.RemoveAclEntriesResponseProto")
- proto.RegisterType((*RemoveDefaultAclRequestProto)(nil), "hadoop.hdfs.RemoveDefaultAclRequestProto")
- proto.RegisterType((*RemoveDefaultAclResponseProto)(nil), "hadoop.hdfs.RemoveDefaultAclResponseProto")
- proto.RegisterType((*SetAclRequestProto)(nil), "hadoop.hdfs.SetAclRequestProto")
- proto.RegisterType((*SetAclResponseProto)(nil), "hadoop.hdfs.SetAclResponseProto")
- proto.RegisterType((*GetAclStatusRequestProto)(nil), "hadoop.hdfs.GetAclStatusRequestProto")
- proto.RegisterType((*GetAclStatusResponseProto)(nil), "hadoop.hdfs.GetAclStatusResponseProto")
- proto.RegisterEnum("hadoop.hdfs.AclEntryProto_AclEntryScopeProto", AclEntryProto_AclEntryScopeProto_name, AclEntryProto_AclEntryScopeProto_value)
- proto.RegisterEnum("hadoop.hdfs.AclEntryProto_AclEntryTypeProto", AclEntryProto_AclEntryTypeProto_name, AclEntryProto_AclEntryTypeProto_value)
- proto.RegisterEnum("hadoop.hdfs.AclEntryProto_FsActionProto", AclEntryProto_FsActionProto_name, AclEntryProto_FsActionProto_value)
-}
-
-func init() { proto.RegisterFile("acl.proto", fileDescriptor9) }
-
-var fileDescriptor9 = []byte{
- // 605 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xdb, 0x6e, 0xd3, 0x40,
- 0x10, 0xad, 0x63, 0x27, 0xad, 0xc7, 0x6d, 0xb5, 0x5d, 0x68, 0x65, 0x4a, 0x81, 0xc8, 0x12, 0x52,
- 0x90, 0xda, 0x08, 0x05, 0x78, 0x04, 0xe1, 0xa6, 0xdb, 0x72, 0xe9, 0x25, 0x5a, 0x27, 0x82, 0x07,
- 0xa4, 0xca, 0xda, 0x6e, 0x5a, 0x0b, 0xd7, 0x6b, 0xbc, 0x0e, 0x28, 0x2f, 0x7c, 0x0b, 0xdf, 0xc3,
- 0x77, 0xf0, 0x21, 0xc8, 0xbb, 0x4e, 0x70, 0x88, 0x68, 0x10, 0x12, 0x2f, 0xd1, 0x5c, 0xce, 0x39,
- 0x73, 0x46, 0x13, 0x2f, 0xd8, 0x21, 0x8b, 0xdb, 0x69, 0x26, 0x72, 0x81, 0x9d, 0xab, 0xf0, 0x42,
- 0x88, 0xb4, 0x7d, 0x75, 0x31, 0x94, 0xdb, 0x50, 0xfc, 0xea, 0x86, 0xf7, 0xc3, 0x84, 0x35, 0x9f,
- 0xc5, 0x24, 0xc9, 0xb3, 0x71, 0x4f, 0x41, 0x5f, 0x82, 0x95, 0x8f, 0x53, 0xee, 0x1a, 0xcd, 0x5a,
- 0x6b, 0xbd, 0xb3, 0xdb, 0xae, 0x30, 0xdb, 0x33, 0xc8, 0x69, 0xd6, 0x1f, 0xa7, 0x5c, 0x55, 0xa8,
- 0x62, 0xe2, 0x2e, 0xd4, 0x25, 0x13, 0x29, 0x77, 0x6b, 0x4a, 0x62, 0xef, 0x2f, 0x24, 0x82, 0x02,
- 0xaf, 0x35, 0x34, 0x17, 0xbf, 0x01, 0x27, 0xe5, 0xd9, 0x75, 0x24, 0x65, 0x24, 0x12, 0xe9, 0x9a,
- 0x4a, 0xaa, 0x75, 0x83, 0xd4, 0xa1, 0xf4, 0x59, 0x1e, 0x89, 0x44, 0xab, 0x54, 0xc9, 0x18, 0x83,
- 0x95, 0x84, 0xd7, 0xdc, 0xb5, 0x9a, 0x46, 0xcb, 0xa6, 0x2a, 0xf6, 0xf6, 0x00, 0xcf, 0x0f, 0xc7,
- 0x00, 0x0d, 0xbf, 0xdb, 0x25, 0x41, 0x80, 0x96, 0xb0, 0x03, 0xcb, 0x07, 0xe4, 0xd0, 0x1f, 0x1c,
- 0xf7, 0x91, 0xe1, 0x3d, 0x87, 0x8d, 0xb9, 0x75, 0xf1, 0x0a, 0x58, 0x83, 0x80, 0x50, 0xb4, 0x84,
- 0x6d, 0xa8, 0x1f, 0xd1, 0xb3, 0x41, 0x0f, 0x19, 0x45, 0xf1, 0xc4, 0x0f, 0xde, 0xa2, 0x5a, 0x51,
- 0x3c, 0xeb, 0xbf, 0x22, 0x14, 0x99, 0xde, 0x57, 0x58, 0x9b, 0xf1, 0x57, 0xa0, 0x4e, 0xcf, 0x4e,
- 0x89, 0x1e, 0x43, 0xde, 0x93, 0xee, 0xa0, 0x4f, 0x90, 0x51, 0x50, 0xde, 0xd1, 0xd7, 0x7d, 0x82,
- 0x6a, 0x78, 0x03, 0xd6, 0x54, 0x78, 0x3e, 0xe9, 0x9a, 0x05, 0x89, 0x12, 0xff, 0x00, 0x59, 0x18,
- 0xc1, 0x6a, 0x11, 0x4d, 0x7b, 0x75, 0xbc, 0x0e, 0xa0, 0x2a, 0x9a, 0xde, 0xc0, 0xab, 0xb0, 0xd2,
- 0x23, 0xf4, 0xe4, 0xdc, 0x3f, 0x3e, 0x46, 0xcb, 0xde, 0x77, 0x03, 0xd6, 0x7d, 0x16, 0x07, 0x79,
- 0x98, 0x8f, 0xa4, 0x76, 0x70, 0x1b, 0xea, 0xe2, 0x4b, 0xc2, 0x33, 0x75, 0x68, 0x9b, 0xea, 0xa4,
- 0xa8, 0x5e, 0x66, 0x62, 0x94, 0xaa, 0xdb, 0xd9, 0x54, 0x27, 0x78, 0x0b, 0x1a, 0x32, 0x8f, 0xd8,
- 0xc7, 0xb1, 0xba, 0xc3, 0x0a, 0x2d, 0x33, 0xfc, 0x14, 0x96, 0x79, 0x92, 0x67, 0x11, 0x97, 0xae,
- 0xd5, 0x34, 0x5b, 0x4e, 0x67, 0xfb, 0xcf, 0x07, 0xa2, 0x13, 0x28, 0x7e, 0x01, 0xf0, 0xeb, 0x3a,
- 0x6e, 0xbd, 0x69, 0xb4, 0x9c, 0xce, 0xfd, 0x19, 0xe2, 0xa1, 0xec, 0x4d, 0x01, 0x9a, 0x5c, 0x61,
- 0x78, 0x43, 0xd8, 0x39, 0x11, 0x17, 0xd1, 0x70, 0x5c, 0xea, 0x47, 0x5c, 0x52, 0xfe, 0x69, 0xc4,
- 0x65, 0xae, 0x37, 0x43, 0x60, 0xca, 0x8c, 0x95, 0x7b, 0x15, 0x61, 0xe1, 0x33, 0x64, 0x71, 0x90,
- 0x72, 0xe6, 0xd6, 0x16, 0xfb, 0x2c, 0xa1, 0xde, 0x03, 0xb8, 0x37, 0x3f, 0x47, 0xa6, 0x22, 0x91,
- 0xfa, 0xfe, 0xde, 0x23, 0xd8, 0xa4, 0xfc, 0x5a, 0x7c, 0xe6, 0x3e, 0x8b, 0x6f, 0x76, 0xe0, 0xb9,
- 0xb0, 0x55, 0x81, 0x56, 0x45, 0x86, 0xb0, 0x33, 0xed, 0xfc, 0xe7, 0x6d, 0xe6, 0xe7, 0x54, 0x8d,
- 0x3c, 0x9e, 0x18, 0x39, 0xe0, 0xc3, 0x70, 0x14, 0xe7, 0x8b, 0x97, 0x9a, 0x4a, 0x56, 0x19, 0x55,
- 0xc9, 0x0f, 0x80, 0x03, 0xbe, 0x58, 0xe8, 0x1f, 0x37, 0xda, 0x84, 0x5b, 0x13, 0xf5, 0xea, 0xd0,
- 0x5d, 0x70, 0x8f, 0x54, 0x59, 0xff, 0xdb, 0x17, 0xec, 0xd0, 0x83, 0x3b, 0xb3, 0xe8, 0x8a, 0x14,
- 0x7e, 0x02, 0x8d, 0x8c, 0xcb, 0x51, 0x9c, 0x2b, 0x86, 0xd3, 0xb9, 0xfb, 0xbb, 0xad, 0xca, 0x07,
- 0x45, 0x4b, 0xe8, 0xfe, 0x33, 0x78, 0x28, 0xb2, 0xcb, 0x76, 0x98, 0x86, 0xec, 0x8a, 0xcf, 0x10,
- 0xd4, 0x93, 0xcb, 0x44, 0xf9, 0x28, 0xef, 0xdb, 0x3e, 0x8b, 0x15, 0x55, 0x7e, 0x33, 0x8c, 0x9f,
- 0x01, 0x00, 0x00, 0xff, 0xff, 0x5a, 0xf8, 0x89, 0x4e, 0xae, 0x05, 0x00, 0x00,
+var File_acl_proto protoreflect.FileDescriptor
+
+var file_acl_proto_rawDesc = []byte{
+ 0x0a, 0x09, 0x61, 0x63, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x22, 0x27, 0x0a, 0x11, 0x46, 0x73, 0x50, 0x65,
+ 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a,
+ 0x04, 0x70, 0x65, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x65, 0x72,
+ 0x6d, 0x22, 0xe4, 0x03, 0x0a, 0x0d, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x40, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x0e, 0x32, 0x2c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63,
+ 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02,
+ 0x20, 0x02, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x2e, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x4a, 0x0a, 0x0b, 0x70, 0x65,
+ 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0e, 0x32,
+ 0x28, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x63,
+ 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x73, 0x41, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69,
+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2d, 0x0a, 0x12, 0x41, 0x63,
+ 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,
+ 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x22, 0x3d, 0x0a, 0x11, 0x41, 0x63, 0x6c,
+ 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08,
+ 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x52, 0x4f, 0x55,
+ 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x02, 0x12, 0x09, 0x0a,
+ 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x03, 0x22, 0x7e, 0x0a, 0x0d, 0x46, 0x73, 0x41, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e,
+ 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x45, 0x10, 0x01,
+ 0x12, 0x09, 0x0a, 0x05, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x57,
+ 0x52, 0x49, 0x54, 0x45, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x45, 0x10, 0x03, 0x12, 0x08,
+ 0x0a, 0x04, 0x52, 0x45, 0x41, 0x44, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x41, 0x44,
+ 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x45, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45,
+ 0x41, 0x44, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x45,
+ 0x52, 0x4d, 0x5f, 0x41, 0x4c, 0x4c, 0x10, 0x07, 0x22, 0xca, 0x01, 0x0a, 0x0e, 0x41, 0x63, 0x6c,
+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x6f,
+ 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65,
+ 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x69, 0x63, 0x6b,
+ 0x79, 0x18, 0x03, 0x20, 0x02, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x69, 0x63, 0x6b, 0x79, 0x12,
+ 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x1a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41,
+ 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x65, 0x6e,
+ 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
+ 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
+ 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69,
+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x66, 0x0a, 0x1c, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x41,
+ 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02,
+ 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x34, 0x0a, 0x07, 0x61, 0x63, 0x6c, 0x53, 0x70,
+ 0x65, 0x63, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x61, 0x63, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x22, 0x1f, 0x0a,
+ 0x1d, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65,
+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29,
+ 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x6d,
+ 0x6f, 0x76, 0x65, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a, 0x1c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x63, 0x6c,
+ 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x34, 0x0a, 0x07, 0x61, 0x63, 0x6c, 0x53, 0x70, 0x65, 0x63,
+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x07, 0x61, 0x63, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x22, 0x1f, 0x0a, 0x1d, 0x52,
+ 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x30, 0x0a, 0x1c,
+ 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x63, 0x6c,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03,
+ 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x22, 0x1f,
+ 0x0a, 0x1d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x41,
+ 0x63, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22,
+ 0x5c, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02,
+ 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x34, 0x0a, 0x07, 0x61, 0x63, 0x6c, 0x53, 0x70,
+ 0x65, 0x63, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x61, 0x63, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x22, 0x15, 0x0a,
+ 0x13, 0x53, 0x65, 0x74, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x63, 0x6c, 0x53, 0x74,
+ 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73,
+ 0x72, 0x63, 0x22, 0x50, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x63, 0x6c, 0x53, 0x74, 0x61, 0x74,
+ 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x33, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32,
+ 0x1b, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x63,
+ 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x72, 0x65,
+ 0x73, 0x75, 0x6c, 0x74, 0x42, 0x71, 0x0a, 0x25, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63,
+ 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x09, 0x41,
+ 0x63, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68,
+ 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f,
+ 0x68, 0x64, 0x66, 0x73, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_acl_proto_rawDescOnce sync.Once
+ file_acl_proto_rawDescData = file_acl_proto_rawDesc
+)
+
+func file_acl_proto_rawDescGZIP() []byte {
+ file_acl_proto_rawDescOnce.Do(func() {
+ file_acl_proto_rawDescData = protoimpl.X.CompressGZIP(file_acl_proto_rawDescData)
+ })
+ return file_acl_proto_rawDescData
+}
+
+var file_acl_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
+var file_acl_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
+var file_acl_proto_goTypes = []interface{}{
+ (AclEntryProto_AclEntryScopeProto)(0), // 0: hadoop.hdfs.AclEntryProto.AclEntryScopeProto
+ (AclEntryProto_AclEntryTypeProto)(0), // 1: hadoop.hdfs.AclEntryProto.AclEntryTypeProto
+ (AclEntryProto_FsActionProto)(0), // 2: hadoop.hdfs.AclEntryProto.FsActionProto
+ (*FsPermissionProto)(nil), // 3: hadoop.hdfs.FsPermissionProto
+ (*AclEntryProto)(nil), // 4: hadoop.hdfs.AclEntryProto
+ (*AclStatusProto)(nil), // 5: hadoop.hdfs.AclStatusProto
+ (*ModifyAclEntriesRequestProto)(nil), // 6: hadoop.hdfs.ModifyAclEntriesRequestProto
+ (*ModifyAclEntriesResponseProto)(nil), // 7: hadoop.hdfs.ModifyAclEntriesResponseProto
+ (*RemoveAclRequestProto)(nil), // 8: hadoop.hdfs.RemoveAclRequestProto
+ (*RemoveAclResponseProto)(nil), // 9: hadoop.hdfs.RemoveAclResponseProto
+ (*RemoveAclEntriesRequestProto)(nil), // 10: hadoop.hdfs.RemoveAclEntriesRequestProto
+ (*RemoveAclEntriesResponseProto)(nil), // 11: hadoop.hdfs.RemoveAclEntriesResponseProto
+ (*RemoveDefaultAclRequestProto)(nil), // 12: hadoop.hdfs.RemoveDefaultAclRequestProto
+ (*RemoveDefaultAclResponseProto)(nil), // 13: hadoop.hdfs.RemoveDefaultAclResponseProto
+ (*SetAclRequestProto)(nil), // 14: hadoop.hdfs.SetAclRequestProto
+ (*SetAclResponseProto)(nil), // 15: hadoop.hdfs.SetAclResponseProto
+ (*GetAclStatusRequestProto)(nil), // 16: hadoop.hdfs.GetAclStatusRequestProto
+ (*GetAclStatusResponseProto)(nil), // 17: hadoop.hdfs.GetAclStatusResponseProto
+}
+var file_acl_proto_depIdxs = []int32{
+ 1, // 0: hadoop.hdfs.AclEntryProto.type:type_name -> hadoop.hdfs.AclEntryProto.AclEntryTypeProto
+ 0, // 1: hadoop.hdfs.AclEntryProto.scope:type_name -> hadoop.hdfs.AclEntryProto.AclEntryScopeProto
+ 2, // 2: hadoop.hdfs.AclEntryProto.permissions:type_name -> hadoop.hdfs.AclEntryProto.FsActionProto
+ 4, // 3: hadoop.hdfs.AclStatusProto.entries:type_name -> hadoop.hdfs.AclEntryProto
+ 3, // 4: hadoop.hdfs.AclStatusProto.permission:type_name -> hadoop.hdfs.FsPermissionProto
+ 4, // 5: hadoop.hdfs.ModifyAclEntriesRequestProto.aclSpec:type_name -> hadoop.hdfs.AclEntryProto
+ 4, // 6: hadoop.hdfs.RemoveAclEntriesRequestProto.aclSpec:type_name -> hadoop.hdfs.AclEntryProto
+ 4, // 7: hadoop.hdfs.SetAclRequestProto.aclSpec:type_name -> hadoop.hdfs.AclEntryProto
+ 5, // 8: hadoop.hdfs.GetAclStatusResponseProto.result:type_name -> hadoop.hdfs.AclStatusProto
+ 9, // [9:9] is the sub-list for method output_type
+ 9, // [9:9] is the sub-list for method input_type
+ 9, // [9:9] is the sub-list for extension type_name
+ 9, // [9:9] is the sub-list for extension extendee
+ 0, // [0:9] is the sub-list for field type_name
+}
+
+func init() { file_acl_proto_init() }
+func file_acl_proto_init() {
+ if File_acl_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_acl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FsPermissionProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AclEntryProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AclStatusProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ModifyAclEntriesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ModifyAclEntriesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveAclRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveAclResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveAclEntriesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveAclEntriesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveDefaultAclRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveDefaultAclResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetAclRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetAclResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetAclStatusRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_acl_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetAclStatusResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_acl_proto_rawDesc,
+ NumEnums: 3,
+ NumMessages: 15,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_acl_proto_goTypes,
+ DependencyIndexes: file_acl_proto_depIdxs,
+ EnumInfos: file_acl_proto_enumTypes,
+ MessageInfos: file_acl_proto_msgTypes,
+ }.Build()
+ File_acl_proto = out.File
+ file_acl_proto_rawDesc = nil
+ file_acl_proto_goTypes = nil
+ file_acl_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_hdfs/acl.proto b/internal/protocol/hadoop_hdfs/acl.proto
index bb7fdb0..af97848 100644
--- a/internal/protocol/hadoop_hdfs/acl.proto
+++ b/internal/protocol/hadoop_hdfs/acl.proto
@@ -15,13 +15,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+syntax="proto2";
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
option java_outer_classname = "AclProtos";
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
package hadoop.hdfs;
-import "hdfs.proto";
+/**
+ * File or Directory permision - same spec as posix
+ */
+message FsPermissionProto {
+ required uint32 perm = 1; // Actually a short - only 16bits used
+}
message AclEntryProto {
enum AclEntryScopeProto {
diff --git a/internal/protocol/hadoop_hdfs/datatransfer.pb.go b/internal/protocol/hadoop_hdfs/datatransfer.pb.go
index dc30b06..a78e053 100644
--- a/internal/protocol/hadoop_hdfs/datatransfer.pb.go
+++ b/internal/protocol/hadoop_hdfs/datatransfer.pb.go
@@ -1,17 +1,47 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: datatransfer.proto
package hadoop_hdfs
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-import hadoop_common "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
+import (
+ hadoop_common "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
// Status is a 4-bit enum
type Status int32
@@ -25,61 +55,86 @@ const (
Status_ERROR_ACCESS_TOKEN Status = 5
Status_CHECKSUM_OK Status = 6
Status_ERROR_UNSUPPORTED Status = 7
- Status_OOB_RESTART Status = 8
- Status_OOB_RESERVED1 Status = 9
- Status_OOB_RESERVED2 Status = 10
- Status_OOB_RESERVED3 Status = 11
+ Status_OOB_RESTART Status = 8 // Quick restart
+ Status_OOB_RESERVED1 Status = 9 // Reserved
+ Status_OOB_RESERVED2 Status = 10 // Reserved
+ Status_OOB_RESERVED3 Status = 11 // Reserved
Status_IN_PROGRESS Status = 12
+ Status_ERROR_BLOCK_PINNED Status = 13
)
-var Status_name = map[int32]string{
- 0: "SUCCESS",
- 1: "ERROR",
- 2: "ERROR_CHECKSUM",
- 3: "ERROR_INVALID",
- 4: "ERROR_EXISTS",
- 5: "ERROR_ACCESS_TOKEN",
- 6: "CHECKSUM_OK",
- 7: "ERROR_UNSUPPORTED",
- 8: "OOB_RESTART",
- 9: "OOB_RESERVED1",
- 10: "OOB_RESERVED2",
- 11: "OOB_RESERVED3",
- 12: "IN_PROGRESS",
-}
-var Status_value = map[string]int32{
- "SUCCESS": 0,
- "ERROR": 1,
- "ERROR_CHECKSUM": 2,
- "ERROR_INVALID": 3,
- "ERROR_EXISTS": 4,
- "ERROR_ACCESS_TOKEN": 5,
- "CHECKSUM_OK": 6,
- "ERROR_UNSUPPORTED": 7,
- "OOB_RESTART": 8,
- "OOB_RESERVED1": 9,
- "OOB_RESERVED2": 10,
- "OOB_RESERVED3": 11,
- "IN_PROGRESS": 12,
-}
+// Enum value maps for Status.
+var (
+ Status_name = map[int32]string{
+ 0: "SUCCESS",
+ 1: "ERROR",
+ 2: "ERROR_CHECKSUM",
+ 3: "ERROR_INVALID",
+ 4: "ERROR_EXISTS",
+ 5: "ERROR_ACCESS_TOKEN",
+ 6: "CHECKSUM_OK",
+ 7: "ERROR_UNSUPPORTED",
+ 8: "OOB_RESTART",
+ 9: "OOB_RESERVED1",
+ 10: "OOB_RESERVED2",
+ 11: "OOB_RESERVED3",
+ 12: "IN_PROGRESS",
+ 13: "ERROR_BLOCK_PINNED",
+ }
+ Status_value = map[string]int32{
+ "SUCCESS": 0,
+ "ERROR": 1,
+ "ERROR_CHECKSUM": 2,
+ "ERROR_INVALID": 3,
+ "ERROR_EXISTS": 4,
+ "ERROR_ACCESS_TOKEN": 5,
+ "CHECKSUM_OK": 6,
+ "ERROR_UNSUPPORTED": 7,
+ "OOB_RESTART": 8,
+ "OOB_RESERVED1": 9,
+ "OOB_RESERVED2": 10,
+ "OOB_RESERVED3": 11,
+ "IN_PROGRESS": 12,
+ "ERROR_BLOCK_PINNED": 13,
+ }
+)
func (x Status) Enum() *Status {
p := new(Status)
*p = x
return p
}
+
func (x Status) String() string {
- return proto.EnumName(Status_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (Status) Descriptor() protoreflect.EnumDescriptor {
+ return file_datatransfer_proto_enumTypes[0].Descriptor()
+}
+
+func (Status) Type() protoreflect.EnumType {
+ return &file_datatransfer_proto_enumTypes[0]
+}
+
+func (x Status) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
-func (x *Status) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Status_value, data, "Status")
+
+// Deprecated: Do not use.
+func (x *Status) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = Status(value)
+ *x = Status(num)
return nil
}
-func (Status) EnumDescriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
+
+// Deprecated: Use Status.Descriptor instead.
+func (Status) EnumDescriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{0}
+}
type ShortCircuitFdResponse int32
@@ -88,32 +143,54 @@ const (
ShortCircuitFdResponse_USE_RECEIPT_VERIFICATION ShortCircuitFdResponse = 1
)
-var ShortCircuitFdResponse_name = map[int32]string{
- 0: "DO_NOT_USE_RECEIPT_VERIFICATION",
- 1: "USE_RECEIPT_VERIFICATION",
-}
-var ShortCircuitFdResponse_value = map[string]int32{
- "DO_NOT_USE_RECEIPT_VERIFICATION": 0,
- "USE_RECEIPT_VERIFICATION": 1,
-}
+// Enum value maps for ShortCircuitFdResponse.
+var (
+ ShortCircuitFdResponse_name = map[int32]string{
+ 0: "DO_NOT_USE_RECEIPT_VERIFICATION",
+ 1: "USE_RECEIPT_VERIFICATION",
+ }
+ ShortCircuitFdResponse_value = map[string]int32{
+ "DO_NOT_USE_RECEIPT_VERIFICATION": 0,
+ "USE_RECEIPT_VERIFICATION": 1,
+ }
+)
func (x ShortCircuitFdResponse) Enum() *ShortCircuitFdResponse {
p := new(ShortCircuitFdResponse)
*p = x
return p
}
+
func (x ShortCircuitFdResponse) String() string {
- return proto.EnumName(ShortCircuitFdResponse_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (ShortCircuitFdResponse) Descriptor() protoreflect.EnumDescriptor {
+ return file_datatransfer_proto_enumTypes[1].Descriptor()
}
-func (x *ShortCircuitFdResponse) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(ShortCircuitFdResponse_value, data, "ShortCircuitFdResponse")
+
+func (ShortCircuitFdResponse) Type() protoreflect.EnumType {
+ return &file_datatransfer_proto_enumTypes[1]
+}
+
+func (x ShortCircuitFdResponse) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *ShortCircuitFdResponse) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = ShortCircuitFdResponse(value)
+ *x = ShortCircuitFdResponse(num)
return nil
}
-func (ShortCircuitFdResponse) EnumDescriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
+
+// Deprecated: Use ShortCircuitFdResponse.Descriptor instead.
+func (ShortCircuitFdResponse) EnumDescriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{1}
+}
type DataTransferEncryptorMessageProto_DataTransferEncryptorStatus int32
@@ -123,35 +200,55 @@ const (
DataTransferEncryptorMessageProto_ERROR DataTransferEncryptorMessageProto_DataTransferEncryptorStatus = 2
)
-var DataTransferEncryptorMessageProto_DataTransferEncryptorStatus_name = map[int32]string{
- 0: "SUCCESS",
- 1: "ERROR_UNKNOWN_KEY",
- 2: "ERROR",
-}
-var DataTransferEncryptorMessageProto_DataTransferEncryptorStatus_value = map[string]int32{
- "SUCCESS": 0,
- "ERROR_UNKNOWN_KEY": 1,
- "ERROR": 2,
-}
+// Enum value maps for DataTransferEncryptorMessageProto_DataTransferEncryptorStatus.
+var (
+ DataTransferEncryptorMessageProto_DataTransferEncryptorStatus_name = map[int32]string{
+ 0: "SUCCESS",
+ 1: "ERROR_UNKNOWN_KEY",
+ 2: "ERROR",
+ }
+ DataTransferEncryptorMessageProto_DataTransferEncryptorStatus_value = map[string]int32{
+ "SUCCESS": 0,
+ "ERROR_UNKNOWN_KEY": 1,
+ "ERROR": 2,
+ }
+)
func (x DataTransferEncryptorMessageProto_DataTransferEncryptorStatus) Enum() *DataTransferEncryptorMessageProto_DataTransferEncryptorStatus {
p := new(DataTransferEncryptorMessageProto_DataTransferEncryptorStatus)
*p = x
return p
}
+
func (x DataTransferEncryptorMessageProto_DataTransferEncryptorStatus) String() string {
- return proto.EnumName(DataTransferEncryptorMessageProto_DataTransferEncryptorStatus_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (DataTransferEncryptorMessageProto_DataTransferEncryptorStatus) Descriptor() protoreflect.EnumDescriptor {
+ return file_datatransfer_proto_enumTypes[2].Descriptor()
+}
+
+func (DataTransferEncryptorMessageProto_DataTransferEncryptorStatus) Type() protoreflect.EnumType {
+ return &file_datatransfer_proto_enumTypes[2]
}
-func (x *DataTransferEncryptorMessageProto_DataTransferEncryptorStatus) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(DataTransferEncryptorMessageProto_DataTransferEncryptorStatus_value, data, "DataTransferEncryptorMessageProto_DataTransferEncryptorStatus")
+
+func (x DataTransferEncryptorMessageProto_DataTransferEncryptorStatus) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *DataTransferEncryptorMessageProto_DataTransferEncryptorStatus) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = DataTransferEncryptorMessageProto_DataTransferEncryptorStatus(value)
+ *x = DataTransferEncryptorMessageProto_DataTransferEncryptorStatus(num)
return nil
}
+
+// Deprecated: Use DataTransferEncryptorMessageProto_DataTransferEncryptorStatus.Descriptor instead.
func (DataTransferEncryptorMessageProto_DataTransferEncryptorStatus) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor5, []int{0, 0}
+ return file_datatransfer_proto_rawDescGZIP(), []int{0, 0}
}
type OpWriteBlockProto_BlockConstructionStage int32
@@ -176,277 +273,575 @@ const (
OpWriteBlockProto_TRANSFER_FINALIZED OpWriteBlockProto_BlockConstructionStage = 8
)
-var OpWriteBlockProto_BlockConstructionStage_name = map[int32]string{
- 0: "PIPELINE_SETUP_APPEND",
- 1: "PIPELINE_SETUP_APPEND_RECOVERY",
- 2: "DATA_STREAMING",
- 3: "PIPELINE_SETUP_STREAMING_RECOVERY",
- 4: "PIPELINE_CLOSE",
- 5: "PIPELINE_CLOSE_RECOVERY",
- 6: "PIPELINE_SETUP_CREATE",
- 7: "TRANSFER_RBW",
- 8: "TRANSFER_FINALIZED",
-}
-var OpWriteBlockProto_BlockConstructionStage_value = map[string]int32{
- "PIPELINE_SETUP_APPEND": 0,
- "PIPELINE_SETUP_APPEND_RECOVERY": 1,
- "DATA_STREAMING": 2,
- "PIPELINE_SETUP_STREAMING_RECOVERY": 3,
- "PIPELINE_CLOSE": 4,
- "PIPELINE_CLOSE_RECOVERY": 5,
- "PIPELINE_SETUP_CREATE": 6,
- "TRANSFER_RBW": 7,
- "TRANSFER_FINALIZED": 8,
-}
+// Enum value maps for OpWriteBlockProto_BlockConstructionStage.
+var (
+ OpWriteBlockProto_BlockConstructionStage_name = map[int32]string{
+ 0: "PIPELINE_SETUP_APPEND",
+ 1: "PIPELINE_SETUP_APPEND_RECOVERY",
+ 2: "DATA_STREAMING",
+ 3: "PIPELINE_SETUP_STREAMING_RECOVERY",
+ 4: "PIPELINE_CLOSE",
+ 5: "PIPELINE_CLOSE_RECOVERY",
+ 6: "PIPELINE_SETUP_CREATE",
+ 7: "TRANSFER_RBW",
+ 8: "TRANSFER_FINALIZED",
+ }
+ OpWriteBlockProto_BlockConstructionStage_value = map[string]int32{
+ "PIPELINE_SETUP_APPEND": 0,
+ "PIPELINE_SETUP_APPEND_RECOVERY": 1,
+ "DATA_STREAMING": 2,
+ "PIPELINE_SETUP_STREAMING_RECOVERY": 3,
+ "PIPELINE_CLOSE": 4,
+ "PIPELINE_CLOSE_RECOVERY": 5,
+ "PIPELINE_SETUP_CREATE": 6,
+ "TRANSFER_RBW": 7,
+ "TRANSFER_FINALIZED": 8,
+ }
+)
func (x OpWriteBlockProto_BlockConstructionStage) Enum() *OpWriteBlockProto_BlockConstructionStage {
p := new(OpWriteBlockProto_BlockConstructionStage)
*p = x
return p
}
+
func (x OpWriteBlockProto_BlockConstructionStage) String() string {
- return proto.EnumName(OpWriteBlockProto_BlockConstructionStage_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (OpWriteBlockProto_BlockConstructionStage) Descriptor() protoreflect.EnumDescriptor {
+ return file_datatransfer_proto_enumTypes[3].Descriptor()
+}
+
+func (OpWriteBlockProto_BlockConstructionStage) Type() protoreflect.EnumType {
+ return &file_datatransfer_proto_enumTypes[3]
+}
+
+func (x OpWriteBlockProto_BlockConstructionStage) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
-func (x *OpWriteBlockProto_BlockConstructionStage) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(OpWriteBlockProto_BlockConstructionStage_value, data, "OpWriteBlockProto_BlockConstructionStage")
+
+// Deprecated: Do not use.
+func (x *OpWriteBlockProto_BlockConstructionStage) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = OpWriteBlockProto_BlockConstructionStage(value)
+ *x = OpWriteBlockProto_BlockConstructionStage(num)
return nil
}
+
+// Deprecated: Use OpWriteBlockProto_BlockConstructionStage.Descriptor instead.
func (OpWriteBlockProto_BlockConstructionStage) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor5, []int{7, 0}
+ return file_datatransfer_proto_rawDescGZIP(), []int{8, 0}
}
type DataTransferEncryptorMessageProto struct {
- Status *DataTransferEncryptorMessageProto_DataTransferEncryptorStatus `protobuf:"varint,1,req,name=status,enum=hadoop.hdfs.DataTransferEncryptorMessageProto_DataTransferEncryptorStatus" json:"status,omitempty"`
- Payload []byte `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"`
- Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
- CipherOption []*CipherOptionProto `protobuf:"bytes,4,rep,name=cipherOption" json:"cipherOption,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Status *DataTransferEncryptorMessageProto_DataTransferEncryptorStatus `protobuf:"varint,1,req,name=status,enum=hadoop.hdfs.DataTransferEncryptorMessageProto_DataTransferEncryptorStatus" json:"status,omitempty"`
+ Payload []byte `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"`
+ Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
+ CipherOption []*CipherOptionProto `protobuf:"bytes,4,rep,name=cipherOption" json:"cipherOption,omitempty"`
+ HandshakeSecret *HandshakeSecretProto `protobuf:"bytes,5,opt,name=handshakeSecret" json:"handshakeSecret,omitempty"`
+}
+
+func (x *DataTransferEncryptorMessageProto) Reset() {
+ *x = DataTransferEncryptorMessageProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *DataTransferEncryptorMessageProto) Reset() { *m = DataTransferEncryptorMessageProto{} }
-func (m *DataTransferEncryptorMessageProto) String() string { return proto.CompactTextString(m) }
-func (*DataTransferEncryptorMessageProto) ProtoMessage() {}
+func (x *DataTransferEncryptorMessageProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DataTransferEncryptorMessageProto) ProtoMessage() {}
+
+func (x *DataTransferEncryptorMessageProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DataTransferEncryptorMessageProto.ProtoReflect.Descriptor instead.
func (*DataTransferEncryptorMessageProto) Descriptor() ([]byte, []int) {
- return fileDescriptor5, []int{0}
+ return file_datatransfer_proto_rawDescGZIP(), []int{0}
}
-func (m *DataTransferEncryptorMessageProto) GetStatus() DataTransferEncryptorMessageProto_DataTransferEncryptorStatus {
- if m != nil && m.Status != nil {
- return *m.Status
+func (x *DataTransferEncryptorMessageProto) GetStatus() DataTransferEncryptorMessageProto_DataTransferEncryptorStatus {
+ if x != nil && x.Status != nil {
+ return *x.Status
}
return DataTransferEncryptorMessageProto_SUCCESS
}
-func (m *DataTransferEncryptorMessageProto) GetPayload() []byte {
- if m != nil {
- return m.Payload
+func (x *DataTransferEncryptorMessageProto) GetPayload() []byte {
+ if x != nil {
+ return x.Payload
}
return nil
}
-func (m *DataTransferEncryptorMessageProto) GetMessage() string {
- if m != nil && m.Message != nil {
- return *m.Message
+func (x *DataTransferEncryptorMessageProto) GetMessage() string {
+ if x != nil && x.Message != nil {
+ return *x.Message
}
return ""
}
-func (m *DataTransferEncryptorMessageProto) GetCipherOption() []*CipherOptionProto {
- if m != nil {
- return m.CipherOption
+func (x *DataTransferEncryptorMessageProto) GetCipherOption() []*CipherOptionProto {
+ if x != nil {
+ return x.CipherOption
+ }
+ return nil
+}
+
+func (x *DataTransferEncryptorMessageProto) GetHandshakeSecret() *HandshakeSecretProto {
+ if x != nil {
+ return x.HandshakeSecret
}
return nil
}
+type HandshakeSecretProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Secret []byte `protobuf:"bytes,1,req,name=secret" json:"secret,omitempty"`
+ Bpid *string `protobuf:"bytes,2,req,name=bpid" json:"bpid,omitempty"`
+}
+
+func (x *HandshakeSecretProto) Reset() {
+ *x = HandshakeSecretProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *HandshakeSecretProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*HandshakeSecretProto) ProtoMessage() {}
+
+func (x *HandshakeSecretProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use HandshakeSecretProto.ProtoReflect.Descriptor instead.
+func (*HandshakeSecretProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *HandshakeSecretProto) GetSecret() []byte {
+ if x != nil {
+ return x.Secret
+ }
+ return nil
+}
+
+func (x *HandshakeSecretProto) GetBpid() string {
+ if x != nil && x.Bpid != nil {
+ return *x.Bpid
+ }
+ return ""
+}
+
type BaseHeaderProto struct {
- Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
- Token *hadoop_common.TokenProto `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
- TraceInfo *DataTransferTraceInfoProto `protobuf:"bytes,3,opt,name=traceInfo" json:"traceInfo,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
+ Token *hadoop_common.TokenProto `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
+ TraceInfo *DataTransferTraceInfoProto `protobuf:"bytes,3,opt,name=traceInfo" json:"traceInfo,omitempty"`
}
-func (m *BaseHeaderProto) Reset() { *m = BaseHeaderProto{} }
-func (m *BaseHeaderProto) String() string { return proto.CompactTextString(m) }
-func (*BaseHeaderProto) ProtoMessage() {}
-func (*BaseHeaderProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
+func (x *BaseHeaderProto) Reset() {
+ *x = BaseHeaderProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *BaseHeaderProto) GetBlock() *ExtendedBlockProto {
- if m != nil {
- return m.Block
+func (x *BaseHeaderProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BaseHeaderProto) ProtoMessage() {}
+
+func (x *BaseHeaderProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BaseHeaderProto.ProtoReflect.Descriptor instead.
+func (*BaseHeaderProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *BaseHeaderProto) GetBlock() *ExtendedBlockProto {
+ if x != nil {
+ return x.Block
}
return nil
}
-func (m *BaseHeaderProto) GetToken() *hadoop_common.TokenProto {
- if m != nil {
- return m.Token
+func (x *BaseHeaderProto) GetToken() *hadoop_common.TokenProto {
+ if x != nil {
+ return x.Token
}
return nil
}
-func (m *BaseHeaderProto) GetTraceInfo() *DataTransferTraceInfoProto {
- if m != nil {
- return m.TraceInfo
+func (x *BaseHeaderProto) GetTraceInfo() *DataTransferTraceInfoProto {
+ if x != nil {
+ return x.TraceInfo
}
return nil
}
type DataTransferTraceInfoProto struct {
- TraceId *uint64 `protobuf:"varint,1,req,name=traceId" json:"traceId,omitempty"`
- ParentId *uint64 `protobuf:"varint,2,req,name=parentId" json:"parentId,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ TraceId *uint64 `protobuf:"varint,1,req,name=traceId" json:"traceId,omitempty"`
+ ParentId *uint64 `protobuf:"varint,2,req,name=parentId" json:"parentId,omitempty"`
+}
+
+func (x *DataTransferTraceInfoProto) Reset() {
+ *x = DataTransferTraceInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DataTransferTraceInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *DataTransferTraceInfoProto) Reset() { *m = DataTransferTraceInfoProto{} }
-func (m *DataTransferTraceInfoProto) String() string { return proto.CompactTextString(m) }
-func (*DataTransferTraceInfoProto) ProtoMessage() {}
-func (*DataTransferTraceInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{2} }
+func (*DataTransferTraceInfoProto) ProtoMessage() {}
-func (m *DataTransferTraceInfoProto) GetTraceId() uint64 {
- if m != nil && m.TraceId != nil {
- return *m.TraceId
+func (x *DataTransferTraceInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DataTransferTraceInfoProto.ProtoReflect.Descriptor instead.
+func (*DataTransferTraceInfoProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *DataTransferTraceInfoProto) GetTraceId() uint64 {
+ if x != nil && x.TraceId != nil {
+ return *x.TraceId
}
return 0
}
-func (m *DataTransferTraceInfoProto) GetParentId() uint64 {
- if m != nil && m.ParentId != nil {
- return *m.ParentId
+func (x *DataTransferTraceInfoProto) GetParentId() uint64 {
+ if x != nil && x.ParentId != nil {
+ return *x.ParentId
}
return 0
}
type ClientOperationHeaderProto struct {
- BaseHeader *BaseHeaderProto `protobuf:"bytes,1,req,name=baseHeader" json:"baseHeader,omitempty"`
- ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BaseHeader *BaseHeaderProto `protobuf:"bytes,1,req,name=baseHeader" json:"baseHeader,omitempty"`
+ ClientName *string `protobuf:"bytes,2,req,name=clientName" json:"clientName,omitempty"`
+}
+
+func (x *ClientOperationHeaderProto) Reset() {
+ *x = ClientOperationHeaderProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ClientOperationHeaderProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ClientOperationHeaderProto) ProtoMessage() {}
+
+func (x *ClientOperationHeaderProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ClientOperationHeaderProto) Reset() { *m = ClientOperationHeaderProto{} }
-func (m *ClientOperationHeaderProto) String() string { return proto.CompactTextString(m) }
-func (*ClientOperationHeaderProto) ProtoMessage() {}
-func (*ClientOperationHeaderProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{3} }
+// Deprecated: Use ClientOperationHeaderProto.ProtoReflect.Descriptor instead.
+func (*ClientOperationHeaderProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{4}
+}
-func (m *ClientOperationHeaderProto) GetBaseHeader() *BaseHeaderProto {
- if m != nil {
- return m.BaseHeader
+func (x *ClientOperationHeaderProto) GetBaseHeader() *BaseHeaderProto {
+ if x != nil {
+ return x.BaseHeader
}
return nil
}
-func (m *ClientOperationHeaderProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *ClientOperationHeaderProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
type CachingStrategyProto struct {
- DropBehind *bool `protobuf:"varint,1,opt,name=dropBehind" json:"dropBehind,omitempty"`
- Readahead *int64 `protobuf:"varint,2,opt,name=readahead" json:"readahead,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ DropBehind *bool `protobuf:"varint,1,opt,name=dropBehind" json:"dropBehind,omitempty"`
+ Readahead *int64 `protobuf:"varint,2,opt,name=readahead" json:"readahead,omitempty"`
+}
+
+func (x *CachingStrategyProto) Reset() {
+ *x = CachingStrategyProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CachingStrategyProto) Reset() { *m = CachingStrategyProto{} }
-func (m *CachingStrategyProto) String() string { return proto.CompactTextString(m) }
-func (*CachingStrategyProto) ProtoMessage() {}
-func (*CachingStrategyProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{4} }
+func (x *CachingStrategyProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CachingStrategyProto) ProtoMessage() {}
+
+func (x *CachingStrategyProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CachingStrategyProto.ProtoReflect.Descriptor instead.
+func (*CachingStrategyProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{5}
+}
-func (m *CachingStrategyProto) GetDropBehind() bool {
- if m != nil && m.DropBehind != nil {
- return *m.DropBehind
+func (x *CachingStrategyProto) GetDropBehind() bool {
+ if x != nil && x.DropBehind != nil {
+ return *x.DropBehind
}
return false
}
-func (m *CachingStrategyProto) GetReadahead() int64 {
- if m != nil && m.Readahead != nil {
- return *m.Readahead
+func (x *CachingStrategyProto) GetReadahead() int64 {
+ if x != nil && x.Readahead != nil {
+ return *x.Readahead
}
return 0
}
type OpReadBlockProto struct {
- Header *ClientOperationHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
- Offset *uint64 `protobuf:"varint,2,req,name=offset" json:"offset,omitempty"`
- Len *uint64 `protobuf:"varint,3,req,name=len" json:"len,omitempty"`
- SendChecksums *bool `protobuf:"varint,4,opt,name=sendChecksums,def=1" json:"sendChecksums,omitempty"`
- CachingStrategy *CachingStrategyProto `protobuf:"bytes,5,opt,name=cachingStrategy" json:"cachingStrategy,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Header *ClientOperationHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
+ Offset *uint64 `protobuf:"varint,2,req,name=offset" json:"offset,omitempty"`
+ Len *uint64 `protobuf:"varint,3,req,name=len" json:"len,omitempty"`
+ SendChecksums *bool `protobuf:"varint,4,opt,name=sendChecksums,def=1" json:"sendChecksums,omitempty"`
+ CachingStrategy *CachingStrategyProto `protobuf:"bytes,5,opt,name=cachingStrategy" json:"cachingStrategy,omitempty"`
+}
+
+// Default values for OpReadBlockProto fields.
+const (
+ Default_OpReadBlockProto_SendChecksums = bool(true)
+)
+
+func (x *OpReadBlockProto) Reset() {
+ *x = OpReadBlockProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *OpReadBlockProto) Reset() { *m = OpReadBlockProto{} }
-func (m *OpReadBlockProto) String() string { return proto.CompactTextString(m) }
-func (*OpReadBlockProto) ProtoMessage() {}
-func (*OpReadBlockProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{5} }
+func (x *OpReadBlockProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-const Default_OpReadBlockProto_SendChecksums bool = true
+func (*OpReadBlockProto) ProtoMessage() {}
-func (m *OpReadBlockProto) GetHeader() *ClientOperationHeaderProto {
- if m != nil {
- return m.Header
+func (x *OpReadBlockProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OpReadBlockProto.ProtoReflect.Descriptor instead.
+func (*OpReadBlockProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{6}
+}
+
+func (x *OpReadBlockProto) GetHeader() *ClientOperationHeaderProto {
+ if x != nil {
+ return x.Header
}
return nil
}
-func (m *OpReadBlockProto) GetOffset() uint64 {
- if m != nil && m.Offset != nil {
- return *m.Offset
+func (x *OpReadBlockProto) GetOffset() uint64 {
+ if x != nil && x.Offset != nil {
+ return *x.Offset
}
return 0
}
-func (m *OpReadBlockProto) GetLen() uint64 {
- if m != nil && m.Len != nil {
- return *m.Len
+func (x *OpReadBlockProto) GetLen() uint64 {
+ if x != nil && x.Len != nil {
+ return *x.Len
}
return 0
}
-func (m *OpReadBlockProto) GetSendChecksums() bool {
- if m != nil && m.SendChecksums != nil {
- return *m.SendChecksums
+func (x *OpReadBlockProto) GetSendChecksums() bool {
+ if x != nil && x.SendChecksums != nil {
+ return *x.SendChecksums
}
return Default_OpReadBlockProto_SendChecksums
}
-func (m *OpReadBlockProto) GetCachingStrategy() *CachingStrategyProto {
- if m != nil {
- return m.CachingStrategy
+func (x *OpReadBlockProto) GetCachingStrategy() *CachingStrategyProto {
+ if x != nil {
+ return x.CachingStrategy
}
return nil
}
type ChecksumProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Type *ChecksumTypeProto `protobuf:"varint,1,req,name=type,enum=hadoop.hdfs.ChecksumTypeProto" json:"type,omitempty"`
BytesPerChecksum *uint32 `protobuf:"varint,2,req,name=bytesPerChecksum" json:"bytesPerChecksum,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *ChecksumProto) Reset() { *m = ChecksumProto{} }
-func (m *ChecksumProto) String() string { return proto.CompactTextString(m) }
-func (*ChecksumProto) ProtoMessage() {}
-func (*ChecksumProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{6} }
+func (x *ChecksumProto) Reset() {
+ *x = ChecksumProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ChecksumProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *ChecksumProto) GetType() ChecksumTypeProto {
- if m != nil && m.Type != nil {
- return *m.Type
+func (*ChecksumProto) ProtoMessage() {}
+
+func (x *ChecksumProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ChecksumProto.ProtoReflect.Descriptor instead.
+func (*ChecksumProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{7}
+}
+
+func (x *ChecksumProto) GetType() ChecksumTypeProto {
+ if x != nil && x.Type != nil {
+ return *x.Type
}
return ChecksumTypeProto_CHECKSUM_NULL
}
-func (m *ChecksumProto) GetBytesPerChecksum() uint32 {
- if m != nil && m.BytesPerChecksum != nil {
- return *m.BytesPerChecksum
+func (x *ChecksumProto) GetBytesPerChecksum() uint32 {
+ if x != nil && x.BytesPerChecksum != nil {
+ return *x.BytesPerChecksum
}
return 0
}
type OpWriteBlockProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Header *ClientOperationHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
Targets []*DatanodeInfoProto `protobuf:"bytes,2,rep,name=targets" json:"targets,omitempty"`
Source *DatanodeInfoProto `protobuf:"bytes,3,opt,name=source" json:"source,omitempty"`
@@ -455,648 +850,1199 @@ type OpWriteBlockProto struct {
MinBytesRcvd *uint64 `protobuf:"varint,6,req,name=minBytesRcvd" json:"minBytesRcvd,omitempty"`
MaxBytesRcvd *uint64 `protobuf:"varint,7,req,name=maxBytesRcvd" json:"maxBytesRcvd,omitempty"`
LatestGenerationStamp *uint64 `protobuf:"varint,8,req,name=latestGenerationStamp" json:"latestGenerationStamp,omitempty"`
- // *
+ //*
// The requested checksum mechanism for this block write.
RequestedChecksum *ChecksumProto `protobuf:"bytes,9,req,name=requestedChecksum" json:"requestedChecksum,omitempty"`
CachingStrategy *CachingStrategyProto `protobuf:"bytes,10,opt,name=cachingStrategy" json:"cachingStrategy,omitempty"`
StorageType *StorageTypeProto `protobuf:"varint,11,opt,name=storageType,enum=hadoop.hdfs.StorageTypeProto,def=1" json:"storageType,omitempty"`
TargetStorageTypes []StorageTypeProto `protobuf:"varint,12,rep,name=targetStorageTypes,enum=hadoop.hdfs.StorageTypeProto" json:"targetStorageTypes,omitempty"`
- // *
+ //*
// Hint to the DataNode that the block can be allocated on transient
// storage i.e. memory and written to disk lazily. The DataNode is free
// to ignore this hint.
AllowLazyPersist *bool `protobuf:"varint,13,opt,name=allowLazyPersist,def=0" json:"allowLazyPersist,omitempty"`
- // whether to pin the block, so Balancer won't move it.
- Pinning *bool `protobuf:"varint,14,opt,name=pinning,def=0" json:"pinning,omitempty"`
- TargetPinnings []bool `protobuf:"varint,15,rep,name=targetPinnings" json:"targetPinnings,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ //whether to pin the block, so Balancer won't move it.
+ Pinning *bool `protobuf:"varint,14,opt,name=pinning,def=0" json:"pinning,omitempty"`
+ TargetPinnings []bool `protobuf:"varint,15,rep,name=targetPinnings" json:"targetPinnings,omitempty"`
+ StorageId *string `protobuf:"bytes,16,opt,name=storageId" json:"storageId,omitempty"`
+ TargetStorageIds []string `protobuf:"bytes,17,rep,name=targetStorageIds" json:"targetStorageIds,omitempty"`
+}
+
+// Default values for OpWriteBlockProto fields.
+const (
+ Default_OpWriteBlockProto_StorageType = StorageTypeProto_DISK
+ Default_OpWriteBlockProto_AllowLazyPersist = bool(false)
+ Default_OpWriteBlockProto_Pinning = bool(false)
+)
+
+func (x *OpWriteBlockProto) Reset() {
+ *x = OpWriteBlockProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *OpWriteBlockProto) Reset() { *m = OpWriteBlockProto{} }
-func (m *OpWriteBlockProto) String() string { return proto.CompactTextString(m) }
-func (*OpWriteBlockProto) ProtoMessage() {}
-func (*OpWriteBlockProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{7} }
+func (x *OpWriteBlockProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OpWriteBlockProto) ProtoMessage() {}
+
+func (x *OpWriteBlockProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-const Default_OpWriteBlockProto_StorageType StorageTypeProto = StorageTypeProto_DISK
-const Default_OpWriteBlockProto_AllowLazyPersist bool = false
-const Default_OpWriteBlockProto_Pinning bool = false
+// Deprecated: Use OpWriteBlockProto.ProtoReflect.Descriptor instead.
+func (*OpWriteBlockProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{8}
+}
-func (m *OpWriteBlockProto) GetHeader() *ClientOperationHeaderProto {
- if m != nil {
- return m.Header
+func (x *OpWriteBlockProto) GetHeader() *ClientOperationHeaderProto {
+ if x != nil {
+ return x.Header
}
return nil
}
-func (m *OpWriteBlockProto) GetTargets() []*DatanodeInfoProto {
- if m != nil {
- return m.Targets
+func (x *OpWriteBlockProto) GetTargets() []*DatanodeInfoProto {
+ if x != nil {
+ return x.Targets
}
return nil
}
-func (m *OpWriteBlockProto) GetSource() *DatanodeInfoProto {
- if m != nil {
- return m.Source
+func (x *OpWriteBlockProto) GetSource() *DatanodeInfoProto {
+ if x != nil {
+ return x.Source
}
return nil
}
-func (m *OpWriteBlockProto) GetStage() OpWriteBlockProto_BlockConstructionStage {
- if m != nil && m.Stage != nil {
- return *m.Stage
+func (x *OpWriteBlockProto) GetStage() OpWriteBlockProto_BlockConstructionStage {
+ if x != nil && x.Stage != nil {
+ return *x.Stage
}
return OpWriteBlockProto_PIPELINE_SETUP_APPEND
}
-func (m *OpWriteBlockProto) GetPipelineSize() uint32 {
- if m != nil && m.PipelineSize != nil {
- return *m.PipelineSize
+func (x *OpWriteBlockProto) GetPipelineSize() uint32 {
+ if x != nil && x.PipelineSize != nil {
+ return *x.PipelineSize
}
return 0
}
-func (m *OpWriteBlockProto) GetMinBytesRcvd() uint64 {
- if m != nil && m.MinBytesRcvd != nil {
- return *m.MinBytesRcvd
+func (x *OpWriteBlockProto) GetMinBytesRcvd() uint64 {
+ if x != nil && x.MinBytesRcvd != nil {
+ return *x.MinBytesRcvd
}
return 0
}
-func (m *OpWriteBlockProto) GetMaxBytesRcvd() uint64 {
- if m != nil && m.MaxBytesRcvd != nil {
- return *m.MaxBytesRcvd
+func (x *OpWriteBlockProto) GetMaxBytesRcvd() uint64 {
+ if x != nil && x.MaxBytesRcvd != nil {
+ return *x.MaxBytesRcvd
}
return 0
}
-func (m *OpWriteBlockProto) GetLatestGenerationStamp() uint64 {
- if m != nil && m.LatestGenerationStamp != nil {
- return *m.LatestGenerationStamp
+func (x *OpWriteBlockProto) GetLatestGenerationStamp() uint64 {
+ if x != nil && x.LatestGenerationStamp != nil {
+ return *x.LatestGenerationStamp
}
return 0
}
-func (m *OpWriteBlockProto) GetRequestedChecksum() *ChecksumProto {
- if m != nil {
- return m.RequestedChecksum
+func (x *OpWriteBlockProto) GetRequestedChecksum() *ChecksumProto {
+ if x != nil {
+ return x.RequestedChecksum
}
return nil
}
-func (m *OpWriteBlockProto) GetCachingStrategy() *CachingStrategyProto {
- if m != nil {
- return m.CachingStrategy
+func (x *OpWriteBlockProto) GetCachingStrategy() *CachingStrategyProto {
+ if x != nil {
+ return x.CachingStrategy
}
return nil
}
-func (m *OpWriteBlockProto) GetStorageType() StorageTypeProto {
- if m != nil && m.StorageType != nil {
- return *m.StorageType
+func (x *OpWriteBlockProto) GetStorageType() StorageTypeProto {
+ if x != nil && x.StorageType != nil {
+ return *x.StorageType
}
return Default_OpWriteBlockProto_StorageType
}
-func (m *OpWriteBlockProto) GetTargetStorageTypes() []StorageTypeProto {
- if m != nil {
- return m.TargetStorageTypes
+func (x *OpWriteBlockProto) GetTargetStorageTypes() []StorageTypeProto {
+ if x != nil {
+ return x.TargetStorageTypes
}
return nil
}
-func (m *OpWriteBlockProto) GetAllowLazyPersist() bool {
- if m != nil && m.AllowLazyPersist != nil {
- return *m.AllowLazyPersist
+func (x *OpWriteBlockProto) GetAllowLazyPersist() bool {
+ if x != nil && x.AllowLazyPersist != nil {
+ return *x.AllowLazyPersist
}
return Default_OpWriteBlockProto_AllowLazyPersist
}
-func (m *OpWriteBlockProto) GetPinning() bool {
- if m != nil && m.Pinning != nil {
- return *m.Pinning
+func (x *OpWriteBlockProto) GetPinning() bool {
+ if x != nil && x.Pinning != nil {
+ return *x.Pinning
}
return Default_OpWriteBlockProto_Pinning
}
-func (m *OpWriteBlockProto) GetTargetPinnings() []bool {
- if m != nil {
- return m.TargetPinnings
+func (x *OpWriteBlockProto) GetTargetPinnings() []bool {
+ if x != nil {
+ return x.TargetPinnings
+ }
+ return nil
+}
+
+func (x *OpWriteBlockProto) GetStorageId() string {
+ if x != nil && x.StorageId != nil {
+ return *x.StorageId
+ }
+ return ""
+}
+
+func (x *OpWriteBlockProto) GetTargetStorageIds() []string {
+ if x != nil {
+ return x.TargetStorageIds
}
return nil
}
type OpTransferBlockProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Header *ClientOperationHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
Targets []*DatanodeInfoProto `protobuf:"bytes,2,rep,name=targets" json:"targets,omitempty"`
TargetStorageTypes []StorageTypeProto `protobuf:"varint,3,rep,name=targetStorageTypes,enum=hadoop.hdfs.StorageTypeProto" json:"targetStorageTypes,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ TargetStorageIds []string `protobuf:"bytes,4,rep,name=targetStorageIds" json:"targetStorageIds,omitempty"`
+}
+
+func (x *OpTransferBlockProto) Reset() {
+ *x = OpTransferBlockProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OpTransferBlockProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *OpTransferBlockProto) Reset() { *m = OpTransferBlockProto{} }
-func (m *OpTransferBlockProto) String() string { return proto.CompactTextString(m) }
-func (*OpTransferBlockProto) ProtoMessage() {}
-func (*OpTransferBlockProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{8} }
+func (*OpTransferBlockProto) ProtoMessage() {}
-func (m *OpTransferBlockProto) GetHeader() *ClientOperationHeaderProto {
- if m != nil {
- return m.Header
+func (x *OpTransferBlockProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OpTransferBlockProto.ProtoReflect.Descriptor instead.
+func (*OpTransferBlockProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{9}
+}
+
+func (x *OpTransferBlockProto) GetHeader() *ClientOperationHeaderProto {
+ if x != nil {
+ return x.Header
}
return nil
}
-func (m *OpTransferBlockProto) GetTargets() []*DatanodeInfoProto {
- if m != nil {
- return m.Targets
+func (x *OpTransferBlockProto) GetTargets() []*DatanodeInfoProto {
+ if x != nil {
+ return x.Targets
}
return nil
}
-func (m *OpTransferBlockProto) GetTargetStorageTypes() []StorageTypeProto {
- if m != nil {
- return m.TargetStorageTypes
+func (x *OpTransferBlockProto) GetTargetStorageTypes() []StorageTypeProto {
+ if x != nil {
+ return x.TargetStorageTypes
+ }
+ return nil
+}
+
+func (x *OpTransferBlockProto) GetTargetStorageIds() []string {
+ if x != nil {
+ return x.TargetStorageIds
}
return nil
}
type OpReplaceBlockProto struct {
- Header *BaseHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
- DelHint *string `protobuf:"bytes,2,req,name=delHint" json:"delHint,omitempty"`
- Source *DatanodeInfoProto `protobuf:"bytes,3,req,name=source" json:"source,omitempty"`
- StorageType *StorageTypeProto `protobuf:"varint,4,opt,name=storageType,enum=hadoop.hdfs.StorageTypeProto,def=1" json:"storageType,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Header *BaseHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
+ DelHint *string `protobuf:"bytes,2,req,name=delHint" json:"delHint,omitempty"`
+ Source *DatanodeInfoProto `protobuf:"bytes,3,req,name=source" json:"source,omitempty"`
+ StorageType *StorageTypeProto `protobuf:"varint,4,opt,name=storageType,enum=hadoop.hdfs.StorageTypeProto,def=1" json:"storageType,omitempty"`
+ StorageId *string `protobuf:"bytes,5,opt,name=storageId" json:"storageId,omitempty"`
+}
+
+// Default values for OpReplaceBlockProto fields.
+const (
+ Default_OpReplaceBlockProto_StorageType = StorageTypeProto_DISK
+)
+
+func (x *OpReplaceBlockProto) Reset() {
+ *x = OpReplaceBlockProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *OpReplaceBlockProto) Reset() { *m = OpReplaceBlockProto{} }
-func (m *OpReplaceBlockProto) String() string { return proto.CompactTextString(m) }
-func (*OpReplaceBlockProto) ProtoMessage() {}
-func (*OpReplaceBlockProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{9} }
+func (x *OpReplaceBlockProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-const Default_OpReplaceBlockProto_StorageType StorageTypeProto = StorageTypeProto_DISK
+func (*OpReplaceBlockProto) ProtoMessage() {}
-func (m *OpReplaceBlockProto) GetHeader() *BaseHeaderProto {
- if m != nil {
- return m.Header
+func (x *OpReplaceBlockProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OpReplaceBlockProto.ProtoReflect.Descriptor instead.
+func (*OpReplaceBlockProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{10}
+}
+
+func (x *OpReplaceBlockProto) GetHeader() *BaseHeaderProto {
+ if x != nil {
+ return x.Header
}
return nil
}
-func (m *OpReplaceBlockProto) GetDelHint() string {
- if m != nil && m.DelHint != nil {
- return *m.DelHint
+func (x *OpReplaceBlockProto) GetDelHint() string {
+ if x != nil && x.DelHint != nil {
+ return *x.DelHint
}
return ""
}
-func (m *OpReplaceBlockProto) GetSource() *DatanodeInfoProto {
- if m != nil {
- return m.Source
+func (x *OpReplaceBlockProto) GetSource() *DatanodeInfoProto {
+ if x != nil {
+ return x.Source
}
return nil
}
-func (m *OpReplaceBlockProto) GetStorageType() StorageTypeProto {
- if m != nil && m.StorageType != nil {
- return *m.StorageType
+func (x *OpReplaceBlockProto) GetStorageType() StorageTypeProto {
+ if x != nil && x.StorageType != nil {
+ return *x.StorageType
}
return Default_OpReplaceBlockProto_StorageType
}
+func (x *OpReplaceBlockProto) GetStorageId() string {
+ if x != nil && x.StorageId != nil {
+ return *x.StorageId
+ }
+ return ""
+}
+
type OpCopyBlockProto struct {
- Header *BaseHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Header *BaseHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
+}
+
+func (x *OpCopyBlockProto) Reset() {
+ *x = OpCopyBlockProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *OpCopyBlockProto) Reset() { *m = OpCopyBlockProto{} }
-func (m *OpCopyBlockProto) String() string { return proto.CompactTextString(m) }
-func (*OpCopyBlockProto) ProtoMessage() {}
-func (*OpCopyBlockProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{10} }
+func (x *OpCopyBlockProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OpCopyBlockProto) ProtoMessage() {}
+
+func (x *OpCopyBlockProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OpCopyBlockProto.ProtoReflect.Descriptor instead.
+func (*OpCopyBlockProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{11}
+}
-func (m *OpCopyBlockProto) GetHeader() *BaseHeaderProto {
- if m != nil {
- return m.Header
+func (x *OpCopyBlockProto) GetHeader() *BaseHeaderProto {
+ if x != nil {
+ return x.Header
}
return nil
}
type OpBlockChecksumProto struct {
- Header *BaseHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Header *BaseHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
+ BlockChecksumOptions *BlockChecksumOptionsProto `protobuf:"bytes,2,opt,name=blockChecksumOptions" json:"blockChecksumOptions,omitempty"`
+}
+
+func (x *OpBlockChecksumProto) Reset() {
+ *x = OpBlockChecksumProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OpBlockChecksumProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OpBlockChecksumProto) ProtoMessage() {}
+
+func (x *OpBlockChecksumProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[12]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *OpBlockChecksumProto) Reset() { *m = OpBlockChecksumProto{} }
-func (m *OpBlockChecksumProto) String() string { return proto.CompactTextString(m) }
-func (*OpBlockChecksumProto) ProtoMessage() {}
-func (*OpBlockChecksumProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{11} }
+// Deprecated: Use OpBlockChecksumProto.ProtoReflect.Descriptor instead.
+func (*OpBlockChecksumProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{12}
+}
+
+func (x *OpBlockChecksumProto) GetHeader() *BaseHeaderProto {
+ if x != nil {
+ return x.Header
+ }
+ return nil
+}
-func (m *OpBlockChecksumProto) GetHeader() *BaseHeaderProto {
- if m != nil {
- return m.Header
+func (x *OpBlockChecksumProto) GetBlockChecksumOptions() *BlockChecksumOptionsProto {
+ if x != nil {
+ return x.BlockChecksumOptions
}
return nil
}
type OpBlockGroupChecksumProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Header *BaseHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
Datanodes *DatanodeInfosProto `protobuf:"bytes,2,req,name=datanodes" json:"datanodes,omitempty"`
// each internal block has a block token
- BlockTokens []*hadoop_common.TokenProto `protobuf:"bytes,3,rep,name=blockTokens" json:"blockTokens,omitempty"`
- EcPolicy *ErasureCodingPolicyProto `protobuf:"bytes,4,req,name=ecPolicy" json:"ecPolicy,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ BlockTokens []*hadoop_common.TokenProto `protobuf:"bytes,3,rep,name=blockTokens" json:"blockTokens,omitempty"`
+ EcPolicy *ErasureCodingPolicyProto `protobuf:"bytes,4,req,name=ecPolicy" json:"ecPolicy,omitempty"`
+ BlockIndices []uint32 `protobuf:"varint,5,rep,name=blockIndices" json:"blockIndices,omitempty"`
+ RequestedNumBytes *uint64 `protobuf:"varint,6,req,name=requestedNumBytes" json:"requestedNumBytes,omitempty"`
+ BlockChecksumOptions *BlockChecksumOptionsProto `protobuf:"bytes,7,opt,name=blockChecksumOptions" json:"blockChecksumOptions,omitempty"`
+}
+
+func (x *OpBlockGroupChecksumProto) Reset() {
+ *x = OpBlockGroupChecksumProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OpBlockGroupChecksumProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *OpBlockGroupChecksumProto) Reset() { *m = OpBlockGroupChecksumProto{} }
-func (m *OpBlockGroupChecksumProto) String() string { return proto.CompactTextString(m) }
-func (*OpBlockGroupChecksumProto) ProtoMessage() {}
-func (*OpBlockGroupChecksumProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{12} }
+func (*OpBlockGroupChecksumProto) ProtoMessage() {}
-func (m *OpBlockGroupChecksumProto) GetHeader() *BaseHeaderProto {
- if m != nil {
- return m.Header
+func (x *OpBlockGroupChecksumProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[13]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OpBlockGroupChecksumProto.ProtoReflect.Descriptor instead.
+func (*OpBlockGroupChecksumProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{13}
+}
+
+func (x *OpBlockGroupChecksumProto) GetHeader() *BaseHeaderProto {
+ if x != nil {
+ return x.Header
+ }
+ return nil
+}
+
+func (x *OpBlockGroupChecksumProto) GetDatanodes() *DatanodeInfosProto {
+ if x != nil {
+ return x.Datanodes
}
return nil
}
-func (m *OpBlockGroupChecksumProto) GetDatanodes() *DatanodeInfosProto {
- if m != nil {
- return m.Datanodes
+func (x *OpBlockGroupChecksumProto) GetBlockTokens() []*hadoop_common.TokenProto {
+ if x != nil {
+ return x.BlockTokens
}
return nil
}
-func (m *OpBlockGroupChecksumProto) GetBlockTokens() []*hadoop_common.TokenProto {
- if m != nil {
- return m.BlockTokens
+func (x *OpBlockGroupChecksumProto) GetEcPolicy() *ErasureCodingPolicyProto {
+ if x != nil {
+ return x.EcPolicy
}
return nil
}
-func (m *OpBlockGroupChecksumProto) GetEcPolicy() *ErasureCodingPolicyProto {
- if m != nil {
- return m.EcPolicy
+func (x *OpBlockGroupChecksumProto) GetBlockIndices() []uint32 {
+ if x != nil {
+ return x.BlockIndices
}
return nil
}
-// *
+func (x *OpBlockGroupChecksumProto) GetRequestedNumBytes() uint64 {
+ if x != nil && x.RequestedNumBytes != nil {
+ return *x.RequestedNumBytes
+ }
+ return 0
+}
+
+func (x *OpBlockGroupChecksumProto) GetBlockChecksumOptions() *BlockChecksumOptionsProto {
+ if x != nil {
+ return x.BlockChecksumOptions
+ }
+ return nil
+}
+
+//*
// An ID uniquely identifying a shared memory segment.
type ShortCircuitShmIdProto struct {
- Hi *int64 `protobuf:"varint,1,req,name=hi" json:"hi,omitempty"`
- Lo *int64 `protobuf:"varint,2,req,name=lo" json:"lo,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Hi *int64 `protobuf:"varint,1,req,name=hi" json:"hi,omitempty"`
+ Lo *int64 `protobuf:"varint,2,req,name=lo" json:"lo,omitempty"`
+}
+
+func (x *ShortCircuitShmIdProto) Reset() {
+ *x = ShortCircuitShmIdProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ShortCircuitShmIdProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ShortCircuitShmIdProto) ProtoMessage() {}
+
+func (x *ShortCircuitShmIdProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[14]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ShortCircuitShmIdProto) Reset() { *m = ShortCircuitShmIdProto{} }
-func (m *ShortCircuitShmIdProto) String() string { return proto.CompactTextString(m) }
-func (*ShortCircuitShmIdProto) ProtoMessage() {}
-func (*ShortCircuitShmIdProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{13} }
+// Deprecated: Use ShortCircuitShmIdProto.ProtoReflect.Descriptor instead.
+func (*ShortCircuitShmIdProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{14}
+}
-func (m *ShortCircuitShmIdProto) GetHi() int64 {
- if m != nil && m.Hi != nil {
- return *m.Hi
+func (x *ShortCircuitShmIdProto) GetHi() int64 {
+ if x != nil && x.Hi != nil {
+ return *x.Hi
}
return 0
}
-func (m *ShortCircuitShmIdProto) GetLo() int64 {
- if m != nil && m.Lo != nil {
- return *m.Lo
+func (x *ShortCircuitShmIdProto) GetLo() int64 {
+ if x != nil && x.Lo != nil {
+ return *x.Lo
}
return 0
}
-// *
+//*
// An ID uniquely identifying a slot within a shared memory segment.
type ShortCircuitShmSlotProto struct {
- ShmId *ShortCircuitShmIdProto `protobuf:"bytes,1,req,name=shmId" json:"shmId,omitempty"`
- SlotIdx *int32 `protobuf:"varint,2,req,name=slotIdx" json:"slotIdx,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ShmId *ShortCircuitShmIdProto `protobuf:"bytes,1,req,name=shmId" json:"shmId,omitempty"`
+ SlotIdx *int32 `protobuf:"varint,2,req,name=slotIdx" json:"slotIdx,omitempty"`
+}
+
+func (x *ShortCircuitShmSlotProto) Reset() {
+ *x = ShortCircuitShmSlotProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ShortCircuitShmSlotProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ShortCircuitShmSlotProto) Reset() { *m = ShortCircuitShmSlotProto{} }
-func (m *ShortCircuitShmSlotProto) String() string { return proto.CompactTextString(m) }
-func (*ShortCircuitShmSlotProto) ProtoMessage() {}
-func (*ShortCircuitShmSlotProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{14} }
+func (*ShortCircuitShmSlotProto) ProtoMessage() {}
-func (m *ShortCircuitShmSlotProto) GetShmId() *ShortCircuitShmIdProto {
- if m != nil {
- return m.ShmId
+func (x *ShortCircuitShmSlotProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[15]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ShortCircuitShmSlotProto.ProtoReflect.Descriptor instead.
+func (*ShortCircuitShmSlotProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{15}
+}
+
+func (x *ShortCircuitShmSlotProto) GetShmId() *ShortCircuitShmIdProto {
+ if x != nil {
+ return x.ShmId
}
return nil
}
-func (m *ShortCircuitShmSlotProto) GetSlotIdx() int32 {
- if m != nil && m.SlotIdx != nil {
- return *m.SlotIdx
+func (x *ShortCircuitShmSlotProto) GetSlotIdx() int32 {
+ if x != nil && x.SlotIdx != nil {
+ return *x.SlotIdx
}
return 0
}
type OpRequestShortCircuitAccessProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Header *BaseHeaderProto `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
- // * In order to get short-circuit access to block data, clients must set this
+ //* In order to get short-circuit access to block data, clients must set this
// to the highest version of the block data that they can understand.
// Currently 1 is the only version, but more versions may exist in the future
// if the on-disk format changes.
MaxVersion *uint32 `protobuf:"varint,2,req,name=maxVersion" json:"maxVersion,omitempty"`
- // *
+ //*
// The shared memory slot to use, if we are using one.
SlotId *ShortCircuitShmSlotProto `protobuf:"bytes,3,opt,name=slotId" json:"slotId,omitempty"`
- // *
+ //*
// True if the client supports verifying that the file descriptor has been
// sent successfully.
- SupportsReceiptVerification *bool `protobuf:"varint,4,opt,name=supportsReceiptVerification,def=0" json:"supportsReceiptVerification,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ SupportsReceiptVerification *bool `protobuf:"varint,4,opt,name=supportsReceiptVerification,def=0" json:"supportsReceiptVerification,omitempty"`
}
-func (m *OpRequestShortCircuitAccessProto) Reset() { *m = OpRequestShortCircuitAccessProto{} }
-func (m *OpRequestShortCircuitAccessProto) String() string { return proto.CompactTextString(m) }
-func (*OpRequestShortCircuitAccessProto) ProtoMessage() {}
-func (*OpRequestShortCircuitAccessProto) Descriptor() ([]byte, []int) {
- return fileDescriptor5, []int{15}
+// Default values for OpRequestShortCircuitAccessProto fields.
+const (
+ Default_OpRequestShortCircuitAccessProto_SupportsReceiptVerification = bool(false)
+)
+
+func (x *OpRequestShortCircuitAccessProto) Reset() {
+ *x = OpRequestShortCircuitAccessProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[16]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OpRequestShortCircuitAccessProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OpRequestShortCircuitAccessProto) ProtoMessage() {}
+
+func (x *OpRequestShortCircuitAccessProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[16]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-const Default_OpRequestShortCircuitAccessProto_SupportsReceiptVerification bool = false
+// Deprecated: Use OpRequestShortCircuitAccessProto.ProtoReflect.Descriptor instead.
+func (*OpRequestShortCircuitAccessProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{16}
+}
-func (m *OpRequestShortCircuitAccessProto) GetHeader() *BaseHeaderProto {
- if m != nil {
- return m.Header
+func (x *OpRequestShortCircuitAccessProto) GetHeader() *BaseHeaderProto {
+ if x != nil {
+ return x.Header
}
return nil
}
-func (m *OpRequestShortCircuitAccessProto) GetMaxVersion() uint32 {
- if m != nil && m.MaxVersion != nil {
- return *m.MaxVersion
+func (x *OpRequestShortCircuitAccessProto) GetMaxVersion() uint32 {
+ if x != nil && x.MaxVersion != nil {
+ return *x.MaxVersion
}
return 0
}
-func (m *OpRequestShortCircuitAccessProto) GetSlotId() *ShortCircuitShmSlotProto {
- if m != nil {
- return m.SlotId
+func (x *OpRequestShortCircuitAccessProto) GetSlotId() *ShortCircuitShmSlotProto {
+ if x != nil {
+ return x.SlotId
}
return nil
}
-func (m *OpRequestShortCircuitAccessProto) GetSupportsReceiptVerification() bool {
- if m != nil && m.SupportsReceiptVerification != nil {
- return *m.SupportsReceiptVerification
+func (x *OpRequestShortCircuitAccessProto) GetSupportsReceiptVerification() bool {
+ if x != nil && x.SupportsReceiptVerification != nil {
+ return *x.SupportsReceiptVerification
}
return Default_OpRequestShortCircuitAccessProto_SupportsReceiptVerification
}
type ReleaseShortCircuitAccessRequestProto struct {
- SlotId *ShortCircuitShmSlotProto `protobuf:"bytes,1,req,name=slotId" json:"slotId,omitempty"`
- TraceInfo *DataTransferTraceInfoProto `protobuf:"bytes,2,opt,name=traceInfo" json:"traceInfo,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SlotId *ShortCircuitShmSlotProto `protobuf:"bytes,1,req,name=slotId" json:"slotId,omitempty"`
+ TraceInfo *DataTransferTraceInfoProto `protobuf:"bytes,2,opt,name=traceInfo" json:"traceInfo,omitempty"`
}
-func (m *ReleaseShortCircuitAccessRequestProto) Reset() { *m = ReleaseShortCircuitAccessRequestProto{} }
-func (m *ReleaseShortCircuitAccessRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ReleaseShortCircuitAccessRequestProto) ProtoMessage() {}
+func (x *ReleaseShortCircuitAccessRequestProto) Reset() {
+ *x = ReleaseShortCircuitAccessRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[17]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ReleaseShortCircuitAccessRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ReleaseShortCircuitAccessRequestProto) ProtoMessage() {}
+
+func (x *ReleaseShortCircuitAccessRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[17]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ReleaseShortCircuitAccessRequestProto.ProtoReflect.Descriptor instead.
func (*ReleaseShortCircuitAccessRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor5, []int{16}
+ return file_datatransfer_proto_rawDescGZIP(), []int{17}
}
-func (m *ReleaseShortCircuitAccessRequestProto) GetSlotId() *ShortCircuitShmSlotProto {
- if m != nil {
- return m.SlotId
+func (x *ReleaseShortCircuitAccessRequestProto) GetSlotId() *ShortCircuitShmSlotProto {
+ if x != nil {
+ return x.SlotId
}
return nil
}
-func (m *ReleaseShortCircuitAccessRequestProto) GetTraceInfo() *DataTransferTraceInfoProto {
- if m != nil {
- return m.TraceInfo
+func (x *ReleaseShortCircuitAccessRequestProto) GetTraceInfo() *DataTransferTraceInfoProto {
+ if x != nil {
+ return x.TraceInfo
}
return nil
}
type ReleaseShortCircuitAccessResponseProto struct {
- Status *Status `protobuf:"varint,1,req,name=status,enum=hadoop.hdfs.Status" json:"status,omitempty"`
- Error *string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Status *Status `protobuf:"varint,1,req,name=status,enum=hadoop.hdfs.Status" json:"status,omitempty"`
+ Error *string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
}
-func (m *ReleaseShortCircuitAccessResponseProto) Reset() {
- *m = ReleaseShortCircuitAccessResponseProto{}
+func (x *ReleaseShortCircuitAccessResponseProto) Reset() {
+ *x = ReleaseShortCircuitAccessResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[18]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ReleaseShortCircuitAccessResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ReleaseShortCircuitAccessResponseProto) ProtoMessage() {}
+
+func (x *ReleaseShortCircuitAccessResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ReleaseShortCircuitAccessResponseProto) ProtoMessage() {}
+
+func (x *ReleaseShortCircuitAccessResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[18]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ReleaseShortCircuitAccessResponseProto.ProtoReflect.Descriptor instead.
func (*ReleaseShortCircuitAccessResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor5, []int{17}
+ return file_datatransfer_proto_rawDescGZIP(), []int{18}
}
-func (m *ReleaseShortCircuitAccessResponseProto) GetStatus() Status {
- if m != nil && m.Status != nil {
- return *m.Status
+func (x *ReleaseShortCircuitAccessResponseProto) GetStatus() Status {
+ if x != nil && x.Status != nil {
+ return *x.Status
}
return Status_SUCCESS
}
-func (m *ReleaseShortCircuitAccessResponseProto) GetError() string {
- if m != nil && m.Error != nil {
- return *m.Error
+func (x *ReleaseShortCircuitAccessResponseProto) GetError() string {
+ if x != nil && x.Error != nil {
+ return *x.Error
}
return ""
}
type ShortCircuitShmRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
// The name of the client requesting the shared memory segment. This is
// purely for logging / debugging purposes.
- ClientName *string `protobuf:"bytes,1,req,name=clientName" json:"clientName,omitempty"`
- TraceInfo *DataTransferTraceInfoProto `protobuf:"bytes,2,opt,name=traceInfo" json:"traceInfo,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ ClientName *string `protobuf:"bytes,1,req,name=clientName" json:"clientName,omitempty"`
+ TraceInfo *DataTransferTraceInfoProto `protobuf:"bytes,2,opt,name=traceInfo" json:"traceInfo,omitempty"`
+}
+
+func (x *ShortCircuitShmRequestProto) Reset() {
+ *x = ShortCircuitShmRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[19]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ShortCircuitShmRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ShortCircuitShmRequestProto) ProtoMessage() {}
+
+func (x *ShortCircuitShmRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[19]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ShortCircuitShmRequestProto) Reset() { *m = ShortCircuitShmRequestProto{} }
-func (m *ShortCircuitShmRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ShortCircuitShmRequestProto) ProtoMessage() {}
-func (*ShortCircuitShmRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{18} }
+// Deprecated: Use ShortCircuitShmRequestProto.ProtoReflect.Descriptor instead.
+func (*ShortCircuitShmRequestProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{19}
+}
-func (m *ShortCircuitShmRequestProto) GetClientName() string {
- if m != nil && m.ClientName != nil {
- return *m.ClientName
+func (x *ShortCircuitShmRequestProto) GetClientName() string {
+ if x != nil && x.ClientName != nil {
+ return *x.ClientName
}
return ""
}
-func (m *ShortCircuitShmRequestProto) GetTraceInfo() *DataTransferTraceInfoProto {
- if m != nil {
- return m.TraceInfo
+func (x *ShortCircuitShmRequestProto) GetTraceInfo() *DataTransferTraceInfoProto {
+ if x != nil {
+ return x.TraceInfo
}
return nil
}
type ShortCircuitShmResponseProto struct {
- Status *Status `protobuf:"varint,1,req,name=status,enum=hadoop.hdfs.Status" json:"status,omitempty"`
- Error *string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
- Id *ShortCircuitShmIdProto `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Status *Status `protobuf:"varint,1,req,name=status,enum=hadoop.hdfs.Status" json:"status,omitempty"`
+ Error *string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
+ Id *ShortCircuitShmIdProto `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
+}
+
+func (x *ShortCircuitShmResponseProto) Reset() {
+ *x = ShortCircuitShmResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[20]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ShortCircuitShmResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ShortCircuitShmResponseProto) Reset() { *m = ShortCircuitShmResponseProto{} }
-func (m *ShortCircuitShmResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ShortCircuitShmResponseProto) ProtoMessage() {}
-func (*ShortCircuitShmResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{19} }
+func (*ShortCircuitShmResponseProto) ProtoMessage() {}
-func (m *ShortCircuitShmResponseProto) GetStatus() Status {
- if m != nil && m.Status != nil {
- return *m.Status
+func (x *ShortCircuitShmResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[20]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ShortCircuitShmResponseProto.ProtoReflect.Descriptor instead.
+func (*ShortCircuitShmResponseProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{20}
+}
+
+func (x *ShortCircuitShmResponseProto) GetStatus() Status {
+ if x != nil && x.Status != nil {
+ return *x.Status
}
return Status_SUCCESS
}
-func (m *ShortCircuitShmResponseProto) GetError() string {
- if m != nil && m.Error != nil {
- return *m.Error
+func (x *ShortCircuitShmResponseProto) GetError() string {
+ if x != nil && x.Error != nil {
+ return *x.Error
}
return ""
}
-func (m *ShortCircuitShmResponseProto) GetId() *ShortCircuitShmIdProto {
- if m != nil {
- return m.Id
+func (x *ShortCircuitShmResponseProto) GetId() *ShortCircuitShmIdProto {
+ if x != nil {
+ return x.Id
}
return nil
}
type PacketHeaderProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
// All fields must be fixed-length!
OffsetInBlock *int64 `protobuf:"fixed64,1,req,name=offsetInBlock" json:"offsetInBlock,omitempty"`
Seqno *int64 `protobuf:"fixed64,2,req,name=seqno" json:"seqno,omitempty"`
LastPacketInBlock *bool `protobuf:"varint,3,req,name=lastPacketInBlock" json:"lastPacketInBlock,omitempty"`
DataLen *int32 `protobuf:"fixed32,4,req,name=dataLen" json:"dataLen,omitempty"`
SyncBlock *bool `protobuf:"varint,5,opt,name=syncBlock,def=0" json:"syncBlock,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *PacketHeaderProto) Reset() { *m = PacketHeaderProto{} }
-func (m *PacketHeaderProto) String() string { return proto.CompactTextString(m) }
-func (*PacketHeaderProto) ProtoMessage() {}
-func (*PacketHeaderProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{20} }
+// Default values for PacketHeaderProto fields.
+const (
+ Default_PacketHeaderProto_SyncBlock = bool(false)
+)
+
+func (x *PacketHeaderProto) Reset() {
+ *x = PacketHeaderProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[21]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PacketHeaderProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PacketHeaderProto) ProtoMessage() {}
-const Default_PacketHeaderProto_SyncBlock bool = false
+func (x *PacketHeaderProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[21]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PacketHeaderProto.ProtoReflect.Descriptor instead.
+func (*PacketHeaderProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{21}
+}
-func (m *PacketHeaderProto) GetOffsetInBlock() int64 {
- if m != nil && m.OffsetInBlock != nil {
- return *m.OffsetInBlock
+func (x *PacketHeaderProto) GetOffsetInBlock() int64 {
+ if x != nil && x.OffsetInBlock != nil {
+ return *x.OffsetInBlock
}
return 0
}
-func (m *PacketHeaderProto) GetSeqno() int64 {
- if m != nil && m.Seqno != nil {
- return *m.Seqno
+func (x *PacketHeaderProto) GetSeqno() int64 {
+ if x != nil && x.Seqno != nil {
+ return *x.Seqno
}
return 0
}
-func (m *PacketHeaderProto) GetLastPacketInBlock() bool {
- if m != nil && m.LastPacketInBlock != nil {
- return *m.LastPacketInBlock
+func (x *PacketHeaderProto) GetLastPacketInBlock() bool {
+ if x != nil && x.LastPacketInBlock != nil {
+ return *x.LastPacketInBlock
}
return false
}
-func (m *PacketHeaderProto) GetDataLen() int32 {
- if m != nil && m.DataLen != nil {
- return *m.DataLen
+func (x *PacketHeaderProto) GetDataLen() int32 {
+ if x != nil && x.DataLen != nil {
+ return *x.DataLen
}
return 0
}
-func (m *PacketHeaderProto) GetSyncBlock() bool {
- if m != nil && m.SyncBlock != nil {
- return *m.SyncBlock
+func (x *PacketHeaderProto) GetSyncBlock() bool {
+ if x != nil && x.SyncBlock != nil {
+ return *x.SyncBlock
}
return Default_PacketHeaderProto_SyncBlock
}
type PipelineAckProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Seqno *int64 `protobuf:"zigzag64,1,req,name=seqno" json:"seqno,omitempty"`
Reply []Status `protobuf:"varint,2,rep,name=reply,enum=hadoop.hdfs.Status" json:"reply,omitempty"`
DownstreamAckTimeNanos *uint64 `protobuf:"varint,3,opt,name=downstreamAckTimeNanos,def=0" json:"downstreamAckTimeNanos,omitempty"`
Flag []uint32 `protobuf:"varint,4,rep,packed,name=flag" json:"flag,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *PipelineAckProto) Reset() { *m = PipelineAckProto{} }
-func (m *PipelineAckProto) String() string { return proto.CompactTextString(m) }
-func (*PipelineAckProto) ProtoMessage() {}
-func (*PipelineAckProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{21} }
+// Default values for PipelineAckProto fields.
+const (
+ Default_PipelineAckProto_DownstreamAckTimeNanos = uint64(0)
+)
-const Default_PipelineAckProto_DownstreamAckTimeNanos uint64 = 0
+func (x *PipelineAckProto) Reset() {
+ *x = PipelineAckProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[22]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PipelineAckProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PipelineAckProto) ProtoMessage() {}
+
+func (x *PipelineAckProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[22]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PipelineAckProto.ProtoReflect.Descriptor instead.
+func (*PipelineAckProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{22}
+}
-func (m *PipelineAckProto) GetSeqno() int64 {
- if m != nil && m.Seqno != nil {
- return *m.Seqno
+func (x *PipelineAckProto) GetSeqno() int64 {
+ if x != nil && x.Seqno != nil {
+ return *x.Seqno
}
return 0
}
-func (m *PipelineAckProto) GetReply() []Status {
- if m != nil {
- return m.Reply
+func (x *PipelineAckProto) GetReply() []Status {
+ if x != nil {
+ return x.Reply
}
return nil
}
-func (m *PipelineAckProto) GetDownstreamAckTimeNanos() uint64 {
- if m != nil && m.DownstreamAckTimeNanos != nil {
- return *m.DownstreamAckTimeNanos
+func (x *PipelineAckProto) GetDownstreamAckTimeNanos() uint64 {
+ if x != nil && x.DownstreamAckTimeNanos != nil {
+ return *x.DownstreamAckTimeNanos
}
return Default_PipelineAckProto_DownstreamAckTimeNanos
}
-func (m *PipelineAckProto) GetFlag() []uint32 {
- if m != nil {
- return m.Flag
+func (x *PipelineAckProto) GetFlag() []uint32 {
+ if x != nil {
+ return x.Flag
}
return nil
}
-// *
+//*
// Sent as part of the BlockOpResponseProto
// for READ_BLOCK and COPY_BLOCK operations.
type ReadOpChecksumInfoProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Checksum *ChecksumProto `protobuf:"bytes,1,req,name=checksum" json:"checksum,omitempty"`
- // *
+ //*
// The offset into the block at which the first packet
// will start. This is necessary since reads will align
// backwards to a checksum chunk boundary.
- ChunkOffset *uint64 `protobuf:"varint,2,req,name=chunkOffset" json:"chunkOffset,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ ChunkOffset *uint64 `protobuf:"varint,2,req,name=chunkOffset" json:"chunkOffset,omitempty"`
}
-func (m *ReadOpChecksumInfoProto) Reset() { *m = ReadOpChecksumInfoProto{} }
-func (m *ReadOpChecksumInfoProto) String() string { return proto.CompactTextString(m) }
-func (*ReadOpChecksumInfoProto) ProtoMessage() {}
-func (*ReadOpChecksumInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{22} }
+func (x *ReadOpChecksumInfoProto) Reset() {
+ *x = ReadOpChecksumInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[23]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *ReadOpChecksumInfoProto) GetChecksum() *ChecksumProto {
- if m != nil {
- return m.Checksum
+func (x *ReadOpChecksumInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ReadOpChecksumInfoProto) ProtoMessage() {}
+
+func (x *ReadOpChecksumInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[23]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ReadOpChecksumInfoProto.ProtoReflect.Descriptor instead.
+func (*ReadOpChecksumInfoProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{23}
+}
+
+func (x *ReadOpChecksumInfoProto) GetChecksum() *ChecksumProto {
+ if x != nil {
+ return x.Checksum
}
return nil
}
-func (m *ReadOpChecksumInfoProto) GetChunkOffset() uint64 {
- if m != nil && m.ChunkOffset != nil {
- return *m.ChunkOffset
+func (x *ReadOpChecksumInfoProto) GetChunkOffset() uint64 {
+ if x != nil && x.ChunkOffset != nil {
+ return *x.ChunkOffset
}
return 0
}
type BlockOpResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Status *Status `protobuf:"varint,1,req,name=status,enum=hadoop.hdfs.Status" json:"status,omitempty"`
FirstBadLink *string `protobuf:"bytes,2,opt,name=firstBadLink" json:"firstBadLink,omitempty"`
ChecksumResponse *OpBlockChecksumResponseProto `protobuf:"bytes,3,opt,name=checksumResponse" json:"checksumResponse,omitempty"`
ReadOpChecksumInfo *ReadOpChecksumInfoProto `protobuf:"bytes,4,opt,name=readOpChecksumInfo" json:"readOpChecksumInfo,omitempty"`
- // * explanatory text which may be useful to log on the client side
+ //* explanatory text which may be useful to log on the client side
Message *string `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"`
- // * If the server chooses to agree to the request of a client for
+ //* If the server chooses to agree to the request of a client for
// short-circuit access, it will send a response message with the relevant
// file descriptors attached.
//
@@ -1104,316 +2050,1214 @@ type BlockOpResponseProto struct {
// specific version number of the block data that the client is about to
// read.
ShortCircuitAccessVersion *uint32 `protobuf:"varint,6,opt,name=shortCircuitAccessVersion" json:"shortCircuitAccessVersion,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *BlockOpResponseProto) Reset() { *m = BlockOpResponseProto{} }
-func (m *BlockOpResponseProto) String() string { return proto.CompactTextString(m) }
-func (*BlockOpResponseProto) ProtoMessage() {}
-func (*BlockOpResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{23} }
+func (x *BlockOpResponseProto) Reset() {
+ *x = BlockOpResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[24]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BlockOpResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BlockOpResponseProto) ProtoMessage() {}
-func (m *BlockOpResponseProto) GetStatus() Status {
- if m != nil && m.Status != nil {
- return *m.Status
+func (x *BlockOpResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[24]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BlockOpResponseProto.ProtoReflect.Descriptor instead.
+func (*BlockOpResponseProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{24}
+}
+
+func (x *BlockOpResponseProto) GetStatus() Status {
+ if x != nil && x.Status != nil {
+ return *x.Status
}
return Status_SUCCESS
}
-func (m *BlockOpResponseProto) GetFirstBadLink() string {
- if m != nil && m.FirstBadLink != nil {
- return *m.FirstBadLink
+func (x *BlockOpResponseProto) GetFirstBadLink() string {
+ if x != nil && x.FirstBadLink != nil {
+ return *x.FirstBadLink
}
return ""
}
-func (m *BlockOpResponseProto) GetChecksumResponse() *OpBlockChecksumResponseProto {
- if m != nil {
- return m.ChecksumResponse
+func (x *BlockOpResponseProto) GetChecksumResponse() *OpBlockChecksumResponseProto {
+ if x != nil {
+ return x.ChecksumResponse
}
return nil
}
-func (m *BlockOpResponseProto) GetReadOpChecksumInfo() *ReadOpChecksumInfoProto {
- if m != nil {
- return m.ReadOpChecksumInfo
+func (x *BlockOpResponseProto) GetReadOpChecksumInfo() *ReadOpChecksumInfoProto {
+ if x != nil {
+ return x.ReadOpChecksumInfo
}
return nil
}
-func (m *BlockOpResponseProto) GetMessage() string {
- if m != nil && m.Message != nil {
- return *m.Message
+func (x *BlockOpResponseProto) GetMessage() string {
+ if x != nil && x.Message != nil {
+ return *x.Message
}
return ""
}
-func (m *BlockOpResponseProto) GetShortCircuitAccessVersion() uint32 {
- if m != nil && m.ShortCircuitAccessVersion != nil {
- return *m.ShortCircuitAccessVersion
+func (x *BlockOpResponseProto) GetShortCircuitAccessVersion() uint32 {
+ if x != nil && x.ShortCircuitAccessVersion != nil {
+ return *x.ShortCircuitAccessVersion
}
return 0
}
-// *
+//*
// Message sent from the client to the DN after reading the entire
// read request.
type ClientReadStatusProto struct {
- Status *Status `protobuf:"varint,1,req,name=status,enum=hadoop.hdfs.Status" json:"status,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Status *Status `protobuf:"varint,1,req,name=status,enum=hadoop.hdfs.Status" json:"status,omitempty"`
+}
+
+func (x *ClientReadStatusProto) Reset() {
+ *x = ClientReadStatusProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[25]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ClientReadStatusProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ClientReadStatusProto) ProtoMessage() {}
+
+func (x *ClientReadStatusProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[25]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ClientReadStatusProto) Reset() { *m = ClientReadStatusProto{} }
-func (m *ClientReadStatusProto) String() string { return proto.CompactTextString(m) }
-func (*ClientReadStatusProto) ProtoMessage() {}
-func (*ClientReadStatusProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{24} }
+// Deprecated: Use ClientReadStatusProto.ProtoReflect.Descriptor instead.
+func (*ClientReadStatusProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{25}
+}
-func (m *ClientReadStatusProto) GetStatus() Status {
- if m != nil && m.Status != nil {
- return *m.Status
+func (x *ClientReadStatusProto) GetStatus() Status {
+ if x != nil && x.Status != nil {
+ return *x.Status
}
return Status_SUCCESS
}
type DNTransferAckProto struct {
- Status *Status `protobuf:"varint,1,req,name=status,enum=hadoop.hdfs.Status" json:"status,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Status *Status `protobuf:"varint,1,req,name=status,enum=hadoop.hdfs.Status" json:"status,omitempty"`
+}
+
+func (x *DNTransferAckProto) Reset() {
+ *x = DNTransferAckProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[26]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DNTransferAckProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *DNTransferAckProto) Reset() { *m = DNTransferAckProto{} }
-func (m *DNTransferAckProto) String() string { return proto.CompactTextString(m) }
-func (*DNTransferAckProto) ProtoMessage() {}
-func (*DNTransferAckProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{25} }
+func (*DNTransferAckProto) ProtoMessage() {}
-func (m *DNTransferAckProto) GetStatus() Status {
- if m != nil && m.Status != nil {
- return *m.Status
+func (x *DNTransferAckProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[26]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DNTransferAckProto.ProtoReflect.Descriptor instead.
+func (*DNTransferAckProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{26}
+}
+
+func (x *DNTransferAckProto) GetStatus() Status {
+ if x != nil && x.Status != nil {
+ return *x.Status
}
return Status_SUCCESS
}
type OpBlockChecksumResponseProto struct {
- BytesPerCrc *uint32 `protobuf:"varint,1,req,name=bytesPerCrc" json:"bytesPerCrc,omitempty"`
- CrcPerBlock *uint64 `protobuf:"varint,2,req,name=crcPerBlock" json:"crcPerBlock,omitempty"`
- Md5 []byte `protobuf:"bytes,3,req,name=md5" json:"md5,omitempty"`
- CrcType *ChecksumTypeProto `protobuf:"varint,4,opt,name=crcType,enum=hadoop.hdfs.ChecksumTypeProto" json:"crcType,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BytesPerCrc *uint32 `protobuf:"varint,1,req,name=bytesPerCrc" json:"bytesPerCrc,omitempty"`
+ CrcPerBlock *uint64 `protobuf:"varint,2,req,name=crcPerBlock" json:"crcPerBlock,omitempty"`
+ BlockChecksum []byte `protobuf:"bytes,3,req,name=blockChecksum" json:"blockChecksum,omitempty"`
+ CrcType *ChecksumTypeProto `protobuf:"varint,4,opt,name=crcType,enum=hadoop.hdfs.ChecksumTypeProto" json:"crcType,omitempty"`
+ BlockChecksumOptions *BlockChecksumOptionsProto `protobuf:"bytes,5,opt,name=blockChecksumOptions" json:"blockChecksumOptions,omitempty"`
}
-func (m *OpBlockChecksumResponseProto) Reset() { *m = OpBlockChecksumResponseProto{} }
-func (m *OpBlockChecksumResponseProto) String() string { return proto.CompactTextString(m) }
-func (*OpBlockChecksumResponseProto) ProtoMessage() {}
-func (*OpBlockChecksumResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{26} }
+func (x *OpBlockChecksumResponseProto) Reset() {
+ *x = OpBlockChecksumResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OpBlockChecksumResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OpBlockChecksumResponseProto) ProtoMessage() {}
+
+func (x *OpBlockChecksumResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[27]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OpBlockChecksumResponseProto.ProtoReflect.Descriptor instead.
+func (*OpBlockChecksumResponseProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{27}
+}
-func (m *OpBlockChecksumResponseProto) GetBytesPerCrc() uint32 {
- if m != nil && m.BytesPerCrc != nil {
- return *m.BytesPerCrc
+func (x *OpBlockChecksumResponseProto) GetBytesPerCrc() uint32 {
+ if x != nil && x.BytesPerCrc != nil {
+ return *x.BytesPerCrc
}
return 0
}
-func (m *OpBlockChecksumResponseProto) GetCrcPerBlock() uint64 {
- if m != nil && m.CrcPerBlock != nil {
- return *m.CrcPerBlock
+func (x *OpBlockChecksumResponseProto) GetCrcPerBlock() uint64 {
+ if x != nil && x.CrcPerBlock != nil {
+ return *x.CrcPerBlock
}
return 0
}
-func (m *OpBlockChecksumResponseProto) GetMd5() []byte {
- if m != nil {
- return m.Md5
+func (x *OpBlockChecksumResponseProto) GetBlockChecksum() []byte {
+ if x != nil {
+ return x.BlockChecksum
}
return nil
}
-func (m *OpBlockChecksumResponseProto) GetCrcType() ChecksumTypeProto {
- if m != nil && m.CrcType != nil {
- return *m.CrcType
+func (x *OpBlockChecksumResponseProto) GetCrcType() ChecksumTypeProto {
+ if x != nil && x.CrcType != nil {
+ return *x.CrcType
}
return ChecksumTypeProto_CHECKSUM_NULL
}
+func (x *OpBlockChecksumResponseProto) GetBlockChecksumOptions() *BlockChecksumOptionsProto {
+ if x != nil {
+ return x.BlockChecksumOptions
+ }
+ return nil
+}
+
type OpCustomProto struct {
- CustomId *string `protobuf:"bytes,1,req,name=customId" json:"customId,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ CustomId *string `protobuf:"bytes,1,req,name=customId" json:"customId,omitempty"`
}
-func (m *OpCustomProto) Reset() { *m = OpCustomProto{} }
-func (m *OpCustomProto) String() string { return proto.CompactTextString(m) }
-func (*OpCustomProto) ProtoMessage() {}
-func (*OpCustomProto) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{27} }
+func (x *OpCustomProto) Reset() {
+ *x = OpCustomProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_datatransfer_proto_msgTypes[28]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *OpCustomProto) GetCustomId() string {
- if m != nil && m.CustomId != nil {
- return *m.CustomId
+func (x *OpCustomProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OpCustomProto) ProtoMessage() {}
+
+func (x *OpCustomProto) ProtoReflect() protoreflect.Message {
+ mi := &file_datatransfer_proto_msgTypes[28]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OpCustomProto.ProtoReflect.Descriptor instead.
+func (*OpCustomProto) Descriptor() ([]byte, []int) {
+ return file_datatransfer_proto_rawDescGZIP(), []int{28}
+}
+
+func (x *OpCustomProto) GetCustomId() string {
+ if x != nil && x.CustomId != nil {
+ return *x.CustomId
}
return ""
}
-func init() {
- proto.RegisterType((*DataTransferEncryptorMessageProto)(nil), "hadoop.hdfs.DataTransferEncryptorMessageProto")
- proto.RegisterType((*BaseHeaderProto)(nil), "hadoop.hdfs.BaseHeaderProto")
- proto.RegisterType((*DataTransferTraceInfoProto)(nil), "hadoop.hdfs.DataTransferTraceInfoProto")
- proto.RegisterType((*ClientOperationHeaderProto)(nil), "hadoop.hdfs.ClientOperationHeaderProto")
- proto.RegisterType((*CachingStrategyProto)(nil), "hadoop.hdfs.CachingStrategyProto")
- proto.RegisterType((*OpReadBlockProto)(nil), "hadoop.hdfs.OpReadBlockProto")
- proto.RegisterType((*ChecksumProto)(nil), "hadoop.hdfs.ChecksumProto")
- proto.RegisterType((*OpWriteBlockProto)(nil), "hadoop.hdfs.OpWriteBlockProto")
- proto.RegisterType((*OpTransferBlockProto)(nil), "hadoop.hdfs.OpTransferBlockProto")
- proto.RegisterType((*OpReplaceBlockProto)(nil), "hadoop.hdfs.OpReplaceBlockProto")
- proto.RegisterType((*OpCopyBlockProto)(nil), "hadoop.hdfs.OpCopyBlockProto")
- proto.RegisterType((*OpBlockChecksumProto)(nil), "hadoop.hdfs.OpBlockChecksumProto")
- proto.RegisterType((*OpBlockGroupChecksumProto)(nil), "hadoop.hdfs.OpBlockGroupChecksumProto")
- proto.RegisterType((*ShortCircuitShmIdProto)(nil), "hadoop.hdfs.ShortCircuitShmIdProto")
- proto.RegisterType((*ShortCircuitShmSlotProto)(nil), "hadoop.hdfs.ShortCircuitShmSlotProto")
- proto.RegisterType((*OpRequestShortCircuitAccessProto)(nil), "hadoop.hdfs.OpRequestShortCircuitAccessProto")
- proto.RegisterType((*ReleaseShortCircuitAccessRequestProto)(nil), "hadoop.hdfs.ReleaseShortCircuitAccessRequestProto")
- proto.RegisterType((*ReleaseShortCircuitAccessResponseProto)(nil), "hadoop.hdfs.ReleaseShortCircuitAccessResponseProto")
- proto.RegisterType((*ShortCircuitShmRequestProto)(nil), "hadoop.hdfs.ShortCircuitShmRequestProto")
- proto.RegisterType((*ShortCircuitShmResponseProto)(nil), "hadoop.hdfs.ShortCircuitShmResponseProto")
- proto.RegisterType((*PacketHeaderProto)(nil), "hadoop.hdfs.PacketHeaderProto")
- proto.RegisterType((*PipelineAckProto)(nil), "hadoop.hdfs.PipelineAckProto")
- proto.RegisterType((*ReadOpChecksumInfoProto)(nil), "hadoop.hdfs.ReadOpChecksumInfoProto")
- proto.RegisterType((*BlockOpResponseProto)(nil), "hadoop.hdfs.BlockOpResponseProto")
- proto.RegisterType((*ClientReadStatusProto)(nil), "hadoop.hdfs.ClientReadStatusProto")
- proto.RegisterType((*DNTransferAckProto)(nil), "hadoop.hdfs.DNTransferAckProto")
- proto.RegisterType((*OpBlockChecksumResponseProto)(nil), "hadoop.hdfs.OpBlockChecksumResponseProto")
- proto.RegisterType((*OpCustomProto)(nil), "hadoop.hdfs.OpCustomProto")
- proto.RegisterEnum("hadoop.hdfs.Status", Status_name, Status_value)
- proto.RegisterEnum("hadoop.hdfs.ShortCircuitFdResponse", ShortCircuitFdResponse_name, ShortCircuitFdResponse_value)
- proto.RegisterEnum("hadoop.hdfs.DataTransferEncryptorMessageProto_DataTransferEncryptorStatus", DataTransferEncryptorMessageProto_DataTransferEncryptorStatus_name, DataTransferEncryptorMessageProto_DataTransferEncryptorStatus_value)
- proto.RegisterEnum("hadoop.hdfs.OpWriteBlockProto_BlockConstructionStage", OpWriteBlockProto_BlockConstructionStage_name, OpWriteBlockProto_BlockConstructionStage_value)
-}
-
-func init() { proto.RegisterFile("datatransfer.proto", fileDescriptor5) }
-
-var fileDescriptor5 = []byte{
- // 2039 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4b, 0x73, 0xdc, 0xc6,
- 0xf1, 0x17, 0xf6, 0x41, 0xee, 0xf6, 0x92, 0x14, 0x38, 0x96, 0x68, 0x88, 0xd2, 0x5f, 0xa2, 0x20,
- 0xcb, 0x7f, 0x5a, 0x4e, 0x31, 0x31, 0x6d, 0xb9, 0x6c, 0xc5, 0x4e, 0x6a, 0x1f, 0x90, 0xb4, 0x21,
- 0xb5, 0xd8, 0x1a, 0x2c, 0xa9, 0x3c, 0x0e, 0x5b, 0x23, 0x60, 0xc8, 0x45, 0x11, 0x0b, 0xc0, 0x98,
- 0xd9, 0x58, 0xab, 0x53, 0x0e, 0x39, 0xe4, 0x98, 0x53, 0xce, 0x39, 0xe5, 0x96, 0x7c, 0x82, 0x1c,
- 0xf2, 0x05, 0xf2, 0x1d, 0x72, 0xc8, 0x25, 0x55, 0x39, 0xa6, 0x72, 0x4e, 0xcd, 0x0c, 0xb0, 0x04,
- 0x96, 0x4b, 0x32, 0xa2, 0x75, 0xc8, 0x0d, 0xd3, 0xd3, 0xdd, 0xe8, 0xfe, 0x4d, 0x4f, 0x3f, 0x06,
- 0x90, 0x47, 0x38, 0xe1, 0x09, 0x09, 0xd9, 0x11, 0x4d, 0x76, 0xe2, 0x24, 0xe2, 0x11, 0x6a, 0x8c,
- 0x88, 0x17, 0x45, 0xf1, 0xce, 0xc8, 0x3b, 0x62, 0x9b, 0x6b, 0x0e, 0x75, 0x27, 0x89, 0xcf, 0xa7,
- 0x6a, 0x73, 0x13, 0x04, 0x55, 0x7d, 0x9b, 0x7f, 0x2d, 0xc1, 0xfd, 0x0e, 0xe1, 0x64, 0x90, 0xca,
- 0x5b, 0xa1, 0x9b, 0x4c, 0x63, 0x1e, 0x25, 0x2f, 0x28, 0x63, 0xe4, 0x98, 0xf6, 0xa5, 0xba, 0x57,
- 0xb0, 0xc4, 0x38, 0xe1, 0x13, 0x66, 0x68, 0x5b, 0xa5, 0xed, 0xb5, 0xdd, 0x9f, 0xec, 0xe4, 0xf4,
- 0xef, 0x5c, 0x2a, 0xbf, 0x98, 0xc3, 0x91, 0x1a, 0x71, 0xaa, 0x19, 0x19, 0xb0, 0x1c, 0x93, 0x69,
- 0x10, 0x11, 0xcf, 0x28, 0x6d, 0x69, 0xdb, 0x2b, 0x38, 0x5b, 0x8a, 0x9d, 0xb1, 0xd2, 0x66, 0x94,
- 0xb7, 0xb4, 0xed, 0x3a, 0xce, 0x96, 0xa8, 0x05, 0x2b, 0xae, 0x1f, 0x8f, 0x68, 0x62, 0xc7, 0xdc,
- 0x8f, 0x42, 0xa3, 0xb2, 0x55, 0xde, 0x6e, 0xec, 0xde, 0x2d, 0x58, 0xd7, 0xce, 0x31, 0x48, 0x6b,
- 0x70, 0x41, 0xc6, 0xdc, 0x87, 0xdb, 0x17, 0x98, 0x87, 0x1a, 0xb0, 0xec, 0x1c, 0xb4, 0xdb, 0x96,
- 0xe3, 0xe8, 0xd7, 0xd0, 0x4d, 0x58, 0xb7, 0x30, 0xb6, 0xf1, 0xf0, 0xa0, 0xb7, 0xd7, 0xb3, 0x5f,
- 0xf6, 0x86, 0x7b, 0xd6, 0xcf, 0x74, 0x0d, 0xd5, 0xa1, 0x2a, 0xc9, 0x7a, 0xc9, 0xfc, 0x8b, 0x06,
- 0xd7, 0x5b, 0x84, 0xd1, 0xe7, 0x94, 0x78, 0x34, 0x51, 0xe8, 0x3d, 0x86, 0xea, 0xab, 0x20, 0x72,
- 0x4f, 0x24, 0x78, 0x8d, 0xdd, 0x7b, 0x05, 0xf3, 0xac, 0xd7, 0x9c, 0x86, 0x1e, 0xf5, 0x5a, 0x82,
- 0x43, 0xd9, 0xa7, 0xb8, 0xd1, 0xf7, 0xa1, 0xca, 0xa3, 0x13, 0x1a, 0x4a, 0x38, 0x1a, 0xbb, 0xb7,
- 0x32, 0x31, 0x37, 0x1a, 0x8f, 0xa3, 0x70, 0x67, 0x20, 0xf6, 0x52, 0x01, 0xc9, 0x87, 0x2c, 0xa8,
- 0xf3, 0x84, 0xb8, 0xb4, 0x1b, 0x1e, 0x45, 0x12, 0xa9, 0xc6, 0xee, 0xff, 0x9f, 0x7b, 0x50, 0x83,
- 0x8c, 0x53, 0xa9, 0x38, 0x95, 0x34, 0x31, 0x6c, 0x9e, 0xcf, 0x28, 0x0e, 0x43, 0xb1, 0x7a, 0xd2,
- 0x9d, 0x0a, 0xce, 0x96, 0x68, 0x13, 0x6a, 0x31, 0x49, 0x68, 0xc8, 0xbb, 0xe2, 0x04, 0xc5, 0xd6,
- 0x6c, 0x6d, 0xbe, 0x81, 0xcd, 0x76, 0xe0, 0xd3, 0x90, 0xdb, 0x31, 0x4d, 0x88, 0xc0, 0x3d, 0x0f,
- 0xd0, 0x57, 0x00, 0xaf, 0x66, 0x98, 0xa5, 0x28, 0xdd, 0x29, 0x58, 0x3e, 0x07, 0x29, 0xce, 0xf1,
- 0xa3, 0xbb, 0x00, 0xae, 0xd4, 0xdd, 0x23, 0x63, 0x2a, 0xff, 0x5c, 0xc7, 0x39, 0x8a, 0x39, 0x80,
- 0x1b, 0x6d, 0xe2, 0x8e, 0xfc, 0xf0, 0xd8, 0xe1, 0x09, 0xe1, 0xf4, 0x78, 0xaa, 0xfe, 0x7a, 0x17,
- 0xc0, 0x4b, 0xa2, 0xb8, 0x45, 0x47, 0x7e, 0x28, 0x9c, 0xd1, 0xb6, 0x6b, 0x38, 0x47, 0x41, 0x77,
- 0xa0, 0x9e, 0x50, 0xe2, 0x91, 0x11, 0x4d, 0x43, 0xb2, 0x8c, 0x4f, 0x09, 0xe6, 0xbf, 0x35, 0xd0,
- 0xed, 0x18, 0x53, 0x92, 0x3b, 0x39, 0xf4, 0x63, 0x58, 0x1a, 0xe5, 0x9d, 0x28, 0xc2, 0x7f, 0x3e,
- 0x02, 0x38, 0x15, 0x43, 0x1b, 0xb0, 0x14, 0x1d, 0x1d, 0x31, 0xca, 0x53, 0x04, 0xd3, 0x15, 0xd2,
- 0xa1, 0x1c, 0xd0, 0xd0, 0x28, 0x4b, 0xa2, 0xf8, 0x44, 0x8f, 0x60, 0x95, 0xd1, 0xd0, 0x6b, 0x8f,
- 0xa8, 0x7b, 0xc2, 0x26, 0x63, 0x66, 0x54, 0x84, 0x03, 0x4f, 0x2a, 0x3c, 0x99, 0x50, 0x5c, 0xdc,
- 0x42, 0x7b, 0x70, 0xdd, 0x2d, 0x22, 0x60, 0x54, 0x65, 0x78, 0xdc, 0x2f, 0xda, 0xb7, 0x00, 0x25,
- 0x3c, 0x2f, 0x69, 0x46, 0xb0, 0x9a, 0x69, 0x56, 0x4e, 0xef, 0x42, 0x85, 0x4f, 0x63, 0x9a, 0xa6,
- 0x86, 0xb9, 0xcb, 0x97, 0x72, 0x0e, 0xa6, 0xb1, 0x4a, 0x05, 0x58, 0xf2, 0xa2, 0x47, 0xa0, 0xbf,
- 0x9a, 0x72, 0xca, 0xfa, 0x34, 0xc9, 0x58, 0xa4, 0xc7, 0xab, 0xf8, 0x0c, 0xdd, 0xfc, 0x47, 0x0d,
- 0xd6, 0xed, 0xf8, 0x65, 0xe2, 0x73, 0xfa, 0x2e, 0xa1, 0xfe, 0x02, 0x96, 0x39, 0x49, 0x8e, 0x29,
- 0x67, 0x46, 0x69, 0x41, 0xda, 0x10, 0x57, 0x20, 0x8c, 0xbc, 0xdc, 0x15, 0xc9, 0xd8, 0xd1, 0xe7,
- 0xb0, 0xc4, 0xa2, 0x49, 0xe2, 0xd2, 0xf4, 0x92, 0x5d, 0x26, 0x98, 0x72, 0xa3, 0x3d, 0xa8, 0x32,
- 0x2e, 0xb2, 0x58, 0x45, 0x22, 0xf5, 0xb8, 0x20, 0x76, 0xc6, 0xc3, 0x1d, 0xf9, 0xd9, 0x8e, 0x42,
- 0xc6, 0x93, 0x89, 0x2b, 0xbc, 0x70, 0x84, 0x30, 0x56, 0x3a, 0x90, 0x09, 0x2b, 0xb1, 0x1f, 0xd3,
- 0xc0, 0x0f, 0xa9, 0xe3, 0xbf, 0xa1, 0x46, 0x55, 0xa2, 0x57, 0xa0, 0x09, 0x9e, 0xb1, 0x1f, 0xb6,
- 0x04, 0xa0, 0xd8, 0xfd, 0xa5, 0x67, 0x2c, 0xc9, 0xf0, 0x29, 0xd0, 0x24, 0x0f, 0x79, 0x7d, 0xca,
- 0xb3, 0x9c, 0xf2, 0xe4, 0x68, 0xe8, 0x33, 0xb8, 0x19, 0x10, 0x4e, 0x19, 0x7f, 0x46, 0xc3, 0x14,
- 0x51, 0x87, 0x93, 0x71, 0x6c, 0xd4, 0x24, 0xf3, 0xe2, 0x4d, 0xf4, 0x1c, 0xd6, 0x13, 0xfa, 0xcd,
- 0x84, 0x32, 0x4e, 0x67, 0xb1, 0x68, 0xd4, 0xe5, 0x61, 0x6d, 0x2e, 0x0c, 0x12, 0x85, 0xd6, 0x59,
- 0xa1, 0x45, 0xf1, 0x0b, 0x57, 0x8d, 0x5f, 0x64, 0x41, 0x83, 0xf1, 0x28, 0x21, 0xc7, 0x54, 0x04,
- 0xa5, 0xd1, 0xd8, 0xd2, 0xb6, 0xd7, 0x76, 0xff, 0xaf, 0xa0, 0xc8, 0x39, 0xdd, 0x97, 0x4a, 0x9e,
- 0x54, 0x3a, 0x5d, 0x67, 0x0f, 0xe7, 0xe5, 0xd0, 0x0b, 0x40, 0x2a, 0x1e, 0x72, 0xcc, 0xcc, 0x58,
- 0xd9, 0x2a, 0x5f, 0xaa, 0x0d, 0x2f, 0x10, 0x44, 0x9f, 0x80, 0x4e, 0x82, 0x20, 0xfa, 0x76, 0x9f,
- 0xbc, 0x99, 0xf6, 0x69, 0xc2, 0x7c, 0xc6, 0x8d, 0x55, 0x79, 0xa3, 0xab, 0x47, 0x24, 0x60, 0x14,
- 0x9f, 0xd9, 0x46, 0xf7, 0x60, 0x39, 0xf6, 0xc3, 0xd0, 0x0f, 0x8f, 0x8d, 0xb5, 0x3c, 0x67, 0x46,
- 0x45, 0x1f, 0xc2, 0x9a, 0xfa, 0x53, 0x5f, 0x11, 0x98, 0x71, 0x7d, 0xab, 0xbc, 0x5d, 0xc3, 0x73,
- 0x54, 0xf3, 0x37, 0x25, 0xd8, 0x58, 0x1c, 0x6c, 0xe8, 0x16, 0xdc, 0xec, 0x77, 0xfb, 0xd6, 0x7e,
- 0xb7, 0x67, 0x0d, 0x1d, 0x6b, 0x70, 0xd0, 0x1f, 0x36, 0xfb, 0x7d, 0xab, 0xd7, 0xd1, 0xaf, 0x21,
- 0x13, 0xee, 0x2e, 0xdc, 0x1a, 0x62, 0xab, 0x6d, 0x1f, 0x5a, 0x58, 0x14, 0x46, 0x04, 0x6b, 0x9d,
- 0xe6, 0xa0, 0x39, 0x74, 0x06, 0xd8, 0x6a, 0xbe, 0xe8, 0xf6, 0x9e, 0xe9, 0x25, 0xf4, 0x10, 0xee,
- 0xcf, 0xc9, 0xcd, 0x76, 0x4f, 0x45, 0xcb, 0x42, 0x74, 0xc6, 0xd6, 0xde, 0xb7, 0x1d, 0x4b, 0xaf,
- 0xa0, 0xdb, 0xf0, 0x7e, 0x91, 0x76, 0x2a, 0x50, 0x5d, 0x60, 0x6a, 0x1b, 0x5b, 0xcd, 0x81, 0xa5,
- 0x2f, 0x21, 0x1d, 0x56, 0x06, 0xb8, 0xd9, 0x73, 0x9e, 0x5a, 0x78, 0x88, 0x5b, 0x2f, 0xf5, 0x65,
- 0xb4, 0x01, 0x68, 0x46, 0x79, 0xda, 0xed, 0x35, 0xf7, 0xbb, 0x3f, 0xb7, 0x3a, 0x7a, 0xcd, 0xfc,
- 0x9b, 0x06, 0x37, 0xec, 0x38, 0x2b, 0x7d, 0xff, 0x1b, 0xe9, 0x66, 0x71, 0xa4, 0x95, 0xaf, 0x18,
- 0x69, 0xe6, 0xdf, 0x35, 0x78, 0x4f, 0x14, 0xae, 0x38, 0x20, 0x6e, 0x3e, 0xa1, 0x7e, 0x36, 0xe7,
- 0xe1, 0xc5, 0x05, 0x38, 0x73, 0xcb, 0x80, 0x65, 0x8f, 0x06, 0xcf, 0xfd, 0x90, 0xa7, 0x95, 0x37,
- 0x5b, 0x16, 0xb2, 0x64, 0xe9, 0x2d, 0xb2, 0xe4, 0xdc, 0xfd, 0xac, 0x5c, 0xed, 0x7e, 0x9a, 0xcf,
- 0x45, 0x79, 0x6e, 0x47, 0xf1, 0xf4, 0xbb, 0xba, 0x68, 0xee, 0x8b, 0x90, 0x50, 0xf7, 0xa3, 0x50,
- 0xf7, 0xae, 0xa6, 0xed, 0xb7, 0x25, 0xb8, 0x95, 0xaa, 0x7b, 0x96, 0x44, 0x93, 0xf8, 0x1d, 0xe8,
- 0x44, 0x5f, 0x43, 0xdd, 0x4b, 0xf1, 0x64, 0xf2, 0x18, 0xe6, 0x9b, 0xcc, 0x3c, 0xda, 0x2c, 0x6d,
- 0xf8, 0x66, 0x12, 0xe8, 0x87, 0xd0, 0x90, 0x1d, 0xa7, 0xec, 0x28, 0x55, 0x64, 0x5d, 0xd8, 0x6e,
- 0xe6, 0xb9, 0x51, 0x13, 0x6a, 0xd4, 0xed, 0x47, 0x81, 0xef, 0x4e, 0x65, 0x5d, 0x6b, 0xec, 0x3e,
- 0x2c, 0xf6, 0xb7, 0x09, 0x61, 0x93, 0x84, 0xb6, 0x23, 0xcf, 0x0f, 0x8f, 0x15, 0x9f, 0xd2, 0x32,
- 0x13, 0x33, 0xbf, 0x80, 0x0d, 0x67, 0x14, 0x25, 0xbc, 0xed, 0x27, 0xee, 0xc4, 0xe7, 0xce, 0x68,
- 0xdc, 0xf5, 0x14, 0x1c, 0x6b, 0x50, 0x1a, 0xf9, 0x12, 0x8a, 0x32, 0x2e, 0x8d, 0x7c, 0xb1, 0x0e,
- 0x22, 0xe9, 0x61, 0x19, 0x97, 0x82, 0xc8, 0x8c, 0xc0, 0x98, 0x93, 0x74, 0x82, 0x88, 0x2b, 0xd9,
- 0x2f, 0xa1, 0xca, 0x84, 0xa6, 0x14, 0xc9, 0x07, 0xc5, 0x08, 0x5a, 0xf8, 0x3f, 0xac, 0x24, 0x44,
- 0x50, 0xb3, 0x20, 0xe2, 0x5d, 0xef, 0xb5, 0xfc, 0x57, 0x15, 0x67, 0x4b, 0xf3, 0x57, 0x25, 0xd8,
- 0x12, 0x97, 0x47, 0x56, 0xa8, 0xbc, 0x92, 0xa6, 0xeb, 0x52, 0xc6, 0xbe, 0xcb, 0x21, 0xde, 0x05,
- 0x18, 0x93, 0xd7, 0x87, 0x22, 0xb9, 0x47, 0x61, 0xda, 0x0c, 0xe5, 0x28, 0xe8, 0x6b, 0x58, 0x52,
- 0x56, 0xa4, 0x5d, 0xc7, 0xc3, 0x8b, 0x1c, 0x9a, 0xc1, 0x80, 0x53, 0x21, 0xf4, 0x0c, 0x6e, 0xb3,
- 0x49, 0x1c, 0x47, 0x09, 0x67, 0x98, 0xba, 0xd4, 0x8f, 0xf9, 0x21, 0x4d, 0xfc, 0x23, 0xdf, 0x25,
- 0xe9, 0xe4, 0x94, 0xab, 0x20, 0x17, 0x71, 0x9a, 0x7f, 0xd4, 0xe0, 0x21, 0xa6, 0x01, 0x25, 0x8c,
- 0x9e, 0x05, 0x20, 0x45, 0x46, 0xe1, 0x70, 0x6a, 0xb1, 0xb6, 0x20, 0x30, 0x2e, 0xb5, 0xb8, 0x30,
- 0xce, 0x94, 0xae, 0x3c, 0xce, 0x9c, 0xc0, 0x87, 0x17, 0x98, 0xcb, 0xe2, 0x28, 0x64, 0xe9, 0x94,
- 0xfb, 0xf1, 0xdc, 0x94, 0xfb, 0xde, 0x5c, 0xd2, 0x29, 0x8c, 0xab, 0x37, 0xa0, 0x4a, 0x93, 0x24,
- 0x4a, 0xa4, 0x65, 0x75, 0xac, 0x16, 0xe6, 0xaf, 0x35, 0xb8, 0x3d, 0xe7, 0x58, 0x01, 0x92, 0xe2,
- 0xac, 0xa2, 0xcd, 0xcf, 0x2a, 0xef, 0xca, 0xe7, 0xdf, 0x69, 0x70, 0xe7, 0x8c, 0x19, 0xef, 0xd6,
- 0x55, 0xf4, 0x29, 0x94, 0xfc, 0x2c, 0x16, 0xff, 0xab, 0xcb, 0x55, 0xf2, 0x3d, 0xf3, 0xcf, 0x1a,
- 0xac, 0xf7, 0x89, 0x7b, 0x42, 0x79, 0x7e, 0xfe, 0xfb, 0x00, 0x56, 0xd5, 0x9c, 0xd3, 0x0d, 0x5b,
- 0xb3, 0x41, 0x59, 0xc7, 0x45, 0xa2, 0x30, 0x83, 0xd1, 0x6f, 0x42, 0x75, 0xff, 0x75, 0xac, 0x16,
- 0xe8, 0x7b, 0xb0, 0x1e, 0x10, 0xc6, 0x95, 0xd2, 0x4c, 0x5e, 0x54, 0x9c, 0x1a, 0x3e, 0xbb, 0x21,
- 0xcb, 0x15, 0xe1, 0x64, 0x9f, 0x86, 0x32, 0x59, 0x5d, 0xc7, 0xd9, 0x12, 0x3d, 0x80, 0x3a, 0x9b,
- 0x86, 0xae, 0x92, 0xaf, 0xe6, 0x6f, 0xc3, 0x29, 0xdd, 0xfc, 0x83, 0x06, 0x7a, 0x3f, 0xed, 0xb0,
- 0x9b, 0x59, 0x55, 0x99, 0xd9, 0x25, 0xac, 0x46, 0x99, 0x5d, 0x1f, 0x41, 0x35, 0xa1, 0x71, 0x30,
- 0x95, 0xd5, 0xfe, 0x1c, 0x80, 0x15, 0x07, 0xfa, 0x12, 0x36, 0xbc, 0xe8, 0x5b, 0xd1, 0x7a, 0x51,
- 0x32, 0x6e, 0xba, 0x27, 0x03, 0x7f, 0x4c, 0x7b, 0x24, 0x8c, 0x98, 0x44, 0xb7, 0xf2, 0x44, 0xfb,
- 0x01, 0x3e, 0x87, 0x01, 0x6d, 0x40, 0xe5, 0x28, 0x20, 0xc7, 0xf2, 0xe1, 0x63, 0xb5, 0x55, 0xd2,
- 0x35, 0x2c, 0xd7, 0x26, 0x83, 0xf7, 0xc5, 0x68, 0x6a, 0xcf, 0xca, 0xcb, 0xe9, 0x00, 0xff, 0x39,
- 0xd4, 0xdc, 0xac, 0x1b, 0xd7, 0x2e, 0xed, 0xc6, 0x67, 0xbc, 0x68, 0x0b, 0x1a, 0xee, 0x68, 0x12,
- 0x9e, 0xd8, 0xf9, 0xf9, 0x34, 0x4f, 0x32, 0xff, 0x59, 0x82, 0x1b, 0x12, 0x27, 0x91, 0x21, 0xaf,
- 0x1c, 0x6d, 0x26, 0xac, 0x1c, 0xf9, 0x09, 0xe3, 0x2d, 0xe2, 0xed, 0xfb, 0xe1, 0x49, 0x1a, 0x74,
- 0x05, 0x1a, 0x3a, 0x00, 0x3d, 0xb3, 0x2b, 0xfb, 0x53, 0x1a, 0x89, 0x1f, 0xcd, 0x0d, 0x55, 0x85,
- 0xba, 0x5d, 0xb0, 0x0a, 0x9f, 0x51, 0x81, 0x06, 0x80, 0x92, 0x33, 0xa8, 0xc9, 0xd4, 0xd8, 0xd8,
- 0xfd, 0xa0, 0xa0, 0xf8, 0x1c, 0x70, 0xf1, 0x02, 0xf9, 0xfc, 0xf3, 0x55, 0xb5, 0xf8, 0x7c, 0xf5,
- 0x15, 0xdc, 0x62, 0x67, 0x72, 0x52, 0x56, 0x01, 0x96, 0xb6, 0xb4, 0xed, 0x55, 0x7c, 0x3e, 0x83,
- 0xd9, 0x81, 0x9b, 0xaa, 0xef, 0x14, 0xc6, 0x28, 0x10, 0xdf, 0x1e, 0x6e, 0xb3, 0x09, 0xa8, 0xd3,
- 0xcb, 0x32, 0xca, 0x2c, 0xa6, 0xdf, 0x4a, 0xc5, 0x9f, 0x34, 0xb8, 0x73, 0x11, 0xd2, 0x22, 0x74,
- 0x66, 0x53, 0x7d, 0xe2, 0x4a, 0x95, 0xab, 0x38, 0x4f, 0x92, 0xc1, 0x95, 0xb8, 0xfd, 0xb4, 0xe5,
- 0x9e, 0x05, 0xd7, 0x29, 0x09, 0xe9, 0x50, 0x1e, 0x7b, 0x8f, 0xe5, 0xcd, 0x5e, 0xc1, 0xe2, 0x53,
- 0x74, 0xd4, 0x6e, 0xe2, 0xe6, 0x9a, 0xc4, 0xcb, 0x9e, 0x1e, 0x32, 0x76, 0xf3, 0x63, 0x58, 0xb5,
- 0xe3, 0xf6, 0x84, 0xf1, 0x28, 0x6d, 0xbb, 0x36, 0xa1, 0xe6, 0xca, 0x65, 0x5a, 0xab, 0xea, 0x78,
- 0xb6, 0x7e, 0xf4, 0x2f, 0x0d, 0x96, 0x16, 0xbd, 0x05, 0xce, 0x1e, 0xfd, 0xe4, 0x98, 0xa3, 0x9e,
- 0x05, 0xdb, 0xcf, 0xad, 0xf6, 0x9e, 0x73, 0xf0, 0x42, 0x2f, 0xa1, 0x75, 0x58, 0x55, 0xb4, 0x6e,
- 0xef, 0xb0, 0xb9, 0xdf, 0xed, 0xe8, 0x65, 0x31, 0x86, 0x28, 0x92, 0xf5, 0xd3, 0xae, 0x33, 0x70,
- 0xf4, 0x8a, 0x18, 0x43, 0x14, 0xa5, 0x29, 0xb5, 0x0e, 0x07, 0xf6, 0x9e, 0xd5, 0xd3, 0xab, 0xe8,
- 0x3a, 0x34, 0x32, 0x55, 0x43, 0x7b, 0x4f, 0x5f, 0xca, 0x3f, 0x3c, 0x3a, 0x07, 0xfd, 0xbe, 0x8d,
- 0x07, 0x56, 0x47, 0x5f, 0x16, 0x7c, 0xb6, 0xdd, 0x1a, 0x62, 0xcb, 0x19, 0x34, 0xf1, 0x40, 0xaf,
- 0x89, 0xbf, 0xa6, 0x04, 0x0b, 0x1f, 0x5a, 0x9d, 0x4f, 0xf4, 0xfa, 0x3c, 0x69, 0x57, 0x87, 0x79,
- 0xd2, 0xa7, 0x7a, 0x43, 0x68, 0xea, 0xf6, 0x86, 0x7d, 0x6c, 0x3f, 0xc3, 0xc2, 0xbd, 0x95, 0x47,
- 0xbf, 0x28, 0x36, 0x65, 0x4f, 0xbd, 0xd9, 0x2d, 0x79, 0x00, 0xf7, 0x3a, 0xf6, 0xb0, 0x67, 0x0f,
- 0x86, 0x07, 0x6a, 0x02, 0xb3, 0xba, 0xfd, 0xc1, 0xf0, 0xd0, 0xc2, 0xdd, 0xa7, 0xdd, 0x76, 0x73,
- 0xd0, 0xb5, 0x7b, 0xfa, 0x35, 0x74, 0x07, 0x8c, 0x73, 0x77, 0xb5, 0xd6, 0x8f, 0xe0, 0x61, 0x94,
- 0x1c, 0xef, 0x90, 0x98, 0xb8, 0x23, 0x5a, 0x38, 0x35, 0xf9, 0x2a, 0xed, 0x46, 0x81, 0xfa, 0x68,
- 0xa1, 0x7c, 0xbd, 0x93, 0x67, 0xc5, 0x7e, 0xaf, 0x69, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0xfa,
- 0x1e, 0x11, 0x57, 0xf3, 0x16, 0x00, 0x00,
+var File_datatransfer_proto protoreflect.FileDescriptor
+
+var file_datatransfer_proto_rawDesc = []byte{
+ 0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x1a, 0x0e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x0a, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a, 0x03,
+ 0x0a, 0x21, 0x44, 0x61, 0x74, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x45, 0x6e,
+ 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x62, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x0e, 0x32, 0x4a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x45, 0x6e,
+ 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72,
+ 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
+ 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f,
+ 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61,
+ 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x42, 0x0a, 0x0c, 0x63,
+ 0x69, 0x70, 0x68, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x0c, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
+ 0x4b, 0x0a, 0x0f, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x53, 0x65, 0x63, 0x72,
+ 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x48, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65,
+ 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0f, 0x68, 0x61, 0x6e,
+ 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x4c, 0x0a, 0x1b,
+ 0x44, 0x61, 0x74, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x45, 0x6e, 0x63, 0x72,
+ 0x79, 0x70, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x53,
+ 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x52, 0x52, 0x4f,
+ 0x52, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x01, 0x12,
+ 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x22, 0x42, 0x0a, 0x14, 0x48, 0x61,
+ 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x02,
+ 0x28, 0x0c, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x70,
+ 0x69, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x62, 0x70, 0x69, 0x64, 0x22, 0xc0,
+ 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x35, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2f, 0x0a, 0x05, 0x74, 0x6f, 0x6b,
+ 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x45, 0x0a, 0x09, 0x74, 0x72,
+ 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61,
+ 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x72, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66,
+ 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66,
+ 0x6f, 0x22, 0x52, 0x0a, 0x1a, 0x44, 0x61, 0x74, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65,
+ 0x72, 0x54, 0x72, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x18, 0x0a, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04,
+ 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x7a, 0x0a, 0x1a, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4f,
+ 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x3c, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65,
+ 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65,
+ 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18,
+ 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d,
+ 0x65, 0x22, 0x54, 0x0a, 0x14, 0x43, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61,
+ 0x74, 0x65, 0x67, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x72, 0x6f,
+ 0x70, 0x42, 0x65, 0x68, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64,
+ 0x72, 0x6f, 0x70, 0x42, 0x65, 0x68, 0x69, 0x6e, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x61,
+ 0x64, 0x61, 0x68, 0x65, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65,
+ 0x61, 0x64, 0x61, 0x68, 0x65, 0x61, 0x64, 0x22, 0xf6, 0x01, 0x0a, 0x10, 0x4f, 0x70, 0x52, 0x65,
+ 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3f, 0x0a, 0x06,
+ 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e,
+ 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a,
+ 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x06, 0x6f,
+ 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x02,
+ 0x28, 0x04, 0x52, 0x03, 0x6c, 0x65, 0x6e, 0x12, 0x2a, 0x0a, 0x0d, 0x73, 0x65, 0x6e, 0x64, 0x43,
+ 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04,
+ 0x74, 0x72, 0x75, 0x65, 0x52, 0x0d, 0x73, 0x65, 0x6e, 0x64, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73,
+ 0x75, 0x6d, 0x73, 0x12, 0x4b, 0x0a, 0x0f, 0x63, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x53, 0x74,
+ 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x69,
+ 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x0f, 0x63, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
+ 0x22, 0x6f, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32,
+ 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x68,
+ 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x62, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65,
+ 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52,
+ 0x10, 0x62, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75,
+ 0x6d, 0x22, 0xb3, 0x09, 0x0a, 0x11, 0x4f, 0x70, 0x57, 0x72, 0x69, 0x74, 0x65, 0x42, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3f, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65,
+ 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x72,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67,
+ 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65,
+ 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65,
+ 0x74, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x05, 0x73, 0x74,
+ 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4f, 0x70, 0x57, 0x72, 0x69, 0x74, 0x65, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43,
+ 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65,
+ 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x69, 0x70, 0x65, 0x6c,
+ 0x69, 0x6e, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0c, 0x70,
+ 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d,
+ 0x69, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x63, 0x76, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28,
+ 0x04, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x63, 0x76, 0x64, 0x12,
+ 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x63, 0x76, 0x64, 0x18,
+ 0x07, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52,
+ 0x63, 0x76, 0x64, 0x12, 0x34, 0x0a, 0x15, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x47, 0x65, 0x6e,
+ 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x08, 0x20, 0x02,
+ 0x28, 0x04, 0x52, 0x15, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x48, 0x0a, 0x11, 0x72, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x09,
+ 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x43, 0x68, 0x65, 0x63, 0x6b,
+ 0x73, 0x75, 0x6d, 0x12, 0x4b, 0x0a, 0x0f, 0x63, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x53, 0x74,
+ 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x69,
+ 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x0f, 0x63, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
+ 0x12, 0x45, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18,
+ 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x04, 0x44, 0x49, 0x53, 0x4b, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72,
+ 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4d, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65,
+ 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0c, 0x20,
+ 0x03, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4c,
+ 0x61, 0x7a, 0x79, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08,
+ 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4c, 0x61,
+ 0x7a, 0x79, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x07, 0x70, 0x69, 0x6e,
+ 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73,
+ 0x65, 0x52, 0x07, 0x70, 0x69, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x61,
+ 0x72, 0x67, 0x65, 0x74, 0x50, 0x69, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0f, 0x20, 0x03,
+ 0x28, 0x08, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x69, 0x6e, 0x6e, 0x69, 0x6e,
+ 0x67, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18,
+ 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64,
+ 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x49, 0x64, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67,
+ 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64, 0x73, 0x22, 0x88, 0x02, 0x0a,
+ 0x16, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x49, 0x50, 0x45, 0x4c,
+ 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x45, 0x54, 0x55, 0x50, 0x5f, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44,
+ 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53,
+ 0x45, 0x54, 0x55, 0x50, 0x5f, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x43, 0x4f,
+ 0x56, 0x45, 0x52, 0x59, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x53,
+ 0x54, 0x52, 0x45, 0x41, 0x4d, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x49,
+ 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53, 0x45, 0x54, 0x55, 0x50, 0x5f, 0x53, 0x54, 0x52,
+ 0x45, 0x41, 0x4d, 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x59, 0x10,
+ 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x43, 0x4c,
+ 0x4f, 0x53, 0x45, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e,
+ 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x59,
+ 0x10, 0x05, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x53,
+ 0x45, 0x54, 0x55, 0x50, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x06, 0x12, 0x10, 0x0a,
+ 0x0c, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x52, 0x42, 0x57, 0x10, 0x07, 0x12,
+ 0x16, 0x0a, 0x12, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x46, 0x49, 0x4e, 0x41,
+ 0x4c, 0x49, 0x5a, 0x45, 0x44, 0x10, 0x08, 0x22, 0x8c, 0x02, 0x0a, 0x14, 0x4f, 0x70, 0x54, 0x72,
+ 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x3f, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b,
+ 0x32, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43,
+ 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65,
+ 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65,
+ 0x72, 0x12, 0x38, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x4d, 0x0a, 0x12, 0x74,
+ 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65,
+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74,
+ 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x61,
+ 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64, 0x73, 0x18, 0x04,
+ 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72,
+ 0x61, 0x67, 0x65, 0x49, 0x64, 0x73, 0x22, 0x82, 0x02, 0x0a, 0x13, 0x4f, 0x70, 0x52, 0x65, 0x70,
+ 0x6c, 0x61, 0x63, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34,
+ 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1c,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x61, 0x73,
+ 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x68, 0x65,
+ 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x48, 0x69, 0x6e, 0x74, 0x18,
+ 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x36,
+ 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1e,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74,
+ 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06,
+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x04, 0x44, 0x49, 0x53, 0x4b,
+ 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a,
+ 0x09, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x10, 0x4f,
+ 0x70, 0x43, 0x6f, 0x70, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x34, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32,
+ 0x1c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x61,
+ 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x68,
+ 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0xa8, 0x01, 0x0a, 0x14, 0x4f, 0x70, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34,
+ 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1c,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x61, 0x73,
+ 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x68, 0x65,
+ 0x61, 0x64, 0x65, 0x72, 0x12, 0x5a, 0x0a, 0x14, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x65,
+ 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x4f, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x14, 0x62, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x22, 0xbe, 0x03, 0x0a, 0x19, 0x4f, 0x70, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x47, 0x72, 0x6f, 0x75,
+ 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34,
+ 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1c,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42, 0x61, 0x73,
+ 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x68, 0x65,
+ 0x61, 0x64, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65,
+ 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e,
+ 0x66, 0x6f, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x6e, 0x6f,
+ 0x64, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65,
+ 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73,
+ 0x12, 0x41, 0x0a, 0x08, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x02,
+ 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65, 0x63, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x69,
+ 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x06, 0x20, 0x02,
+ 0x28, 0x04, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4e, 0x75, 0x6d,
+ 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x14, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68,
+ 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x4f,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x14, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x22, 0x38, 0x0a, 0x16, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69,
+ 0x74, 0x53, 0x68, 0x6d, 0x49, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x68,
+ 0x69, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x02, 0x68, 0x69, 0x12, 0x0e, 0x0a, 0x02, 0x6c,
+ 0x6f, 0x18, 0x02, 0x20, 0x02, 0x28, 0x03, 0x52, 0x02, 0x6c, 0x6f, 0x22, 0x6f, 0x0a, 0x18, 0x53,
+ 0x68, 0x6f, 0x72, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x53, 0x68, 0x6d, 0x53, 0x6c,
+ 0x6f, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x39, 0x0a, 0x05, 0x73, 0x68, 0x6d, 0x49, 0x64,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69,
+ 0x74, 0x53, 0x68, 0x6d, 0x49, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x73, 0x68, 0x6d,
+ 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6c, 0x6f, 0x74, 0x49, 0x64, 0x78, 0x18, 0x02, 0x20,
+ 0x02, 0x28, 0x05, 0x52, 0x07, 0x73, 0x6c, 0x6f, 0x74, 0x49, 0x64, 0x78, 0x22, 0x80, 0x02, 0x0a,
+ 0x20, 0x4f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x43,
+ 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x0b, 0x32, 0x1c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x42, 0x61, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x56, 0x65,
+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x78,
+ 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x06, 0x73, 0x6c, 0x6f, 0x74, 0x49,
+ 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75,
+ 0x69, 0x74, 0x53, 0x68, 0x6d, 0x53, 0x6c, 0x6f, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06,
+ 0x73, 0x6c, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x1b, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72,
+ 0x74, 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c,
+ 0x73, 0x65, 0x52, 0x1b, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x52, 0x65, 0x63, 0x65,
+ 0x69, 0x70, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
+ 0xad, 0x01, 0x0a, 0x25, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74,
+ 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3d, 0x0a, 0x06, 0x73, 0x6c, 0x6f,
+ 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x43, 0x69, 0x72,
+ 0x63, 0x75, 0x69, 0x74, 0x53, 0x68, 0x6d, 0x53, 0x6c, 0x6f, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x06, 0x73, 0x6c, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x63,
+ 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x72,
+ 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x72, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22,
+ 0x6b, 0x0a, 0x26, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x43,
+ 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06,
+ 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x84, 0x01, 0x0a,
+ 0x1b, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x53, 0x68, 0x6d,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x0a, 0x0a,
+ 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x09,
+ 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61,
+ 0x74, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x72, 0x61, 0x63, 0x65, 0x49,
+ 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49,
+ 0x6e, 0x66, 0x6f, 0x22, 0x96, 0x01, 0x0a, 0x1c, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x43, 0x69, 0x72,
+ 0x63, 0x75, 0x69, 0x74, 0x53, 0x68, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x33, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x53, 0x68,
+ 0x6d, 0x49, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x02, 0x69, 0x64, 0x22, 0xbc, 0x01, 0x0a,
+ 0x11, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0d, 0x6f, 0x66, 0x66, 0x73, 0x65,
+ 0x74, 0x49, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x65, 0x71, 0x6e,
+ 0x6f, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x05, 0x73, 0x65, 0x71, 0x6e, 0x6f, 0x12, 0x2c,
+ 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x02, 0x28, 0x08, 0x52, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x50,
+ 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07,
+ 0x64, 0x61, 0x74, 0x61, 0x4c, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0f, 0x52, 0x07, 0x64,
+ 0x61, 0x74, 0x61, 0x4c, 0x65, 0x6e, 0x12, 0x23, 0x0a, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65,
+ 0x52, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0xa6, 0x01, 0x0a, 0x10,
+ 0x50, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x41, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x14, 0x0a, 0x05, 0x73, 0x65, 0x71, 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x02, 0x28, 0x12, 0x52,
+ 0x05, 0x73, 0x65, 0x71, 0x6e, 0x6f, 0x12, 0x29, 0x0a, 0x05, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x18,
+ 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x72, 0x65, 0x70, 0x6c,
+ 0x79, 0x12, 0x39, 0x0a, 0x16, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41,
+ 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x04, 0x3a, 0x01, 0x30, 0x52, 0x16, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d,
+ 0x41, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x12, 0x16, 0x0a, 0x04,
+ 0x66, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04,
+ 0x66, 0x6c, 0x61, 0x67, 0x22, 0x73, 0x0a, 0x17, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x43, 0x68,
+ 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x36, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x63,
+ 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x68, 0x75, 0x6e, 0x6b,
+ 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0b, 0x63, 0x68,
+ 0x75, 0x6e, 0x6b, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0xec, 0x02, 0x0a, 0x14, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x02,
+ 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
+ 0x22, 0x0a, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x42, 0x61, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x42, 0x61, 0x64, 0x4c,
+ 0x69, 0x6e, 0x6b, 0x12, 0x55, 0x0a, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4f, 0x70, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73,
+ 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x12, 0x72, 0x65,
+ 0x61, 0x64, 0x4f, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x49, 0x6e, 0x66, 0x6f,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b,
+ 0x73, 0x75, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x12, 0x72, 0x65,
+ 0x61, 0x64, 0x4f, 0x70, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x49, 0x6e, 0x66, 0x6f,
+ 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x19, 0x73, 0x68,
+ 0x6f, 0x72, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
+ 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, 0x73,
+ 0x68, 0x6f, 0x72, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73,
+ 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x44, 0x0a, 0x15, 0x43, 0x6c, 0x69, 0x65,
+ 0x6e, 0x74, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x0e, 0x32, 0x13, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x41,
+ 0x0a, 0x12, 0x44, 0x4e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x63, 0x6b, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
+ 0x73, 0x22, 0x9e, 0x02, 0x0a, 0x1c, 0x4f, 0x70, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x65,
+ 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65, 0x72, 0x43, 0x72,
+ 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65,
+ 0x72, 0x43, 0x72, 0x63, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x72, 0x63, 0x50, 0x65, 0x72, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0b, 0x63, 0x72, 0x63, 0x50, 0x65,
+ 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x43,
+ 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x0d, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x38, 0x0a, 0x07,
+ 0x63, 0x72, 0x63, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63,
+ 0x6b, 0x73, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x63,
+ 0x72, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5a, 0x0a, 0x14, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x43,
+ 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d,
+ 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x14, 0x62, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x22, 0x2b, 0x0a, 0x0d, 0x4f, 0x70, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x49, 0x64, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x49, 0x64, 0x2a,
+ 0x8c, 0x02, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55,
+ 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52,
+ 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x48, 0x45, 0x43,
+ 0x4b, 0x53, 0x55, 0x4d, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f,
+ 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x52, 0x52,
+ 0x4f, 0x52, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x45,
+ 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x4f, 0x4b, 0x45,
+ 0x4e, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x53, 0x55, 0x4d, 0x5f,
+ 0x4f, 0x4b, 0x10, 0x06, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x55, 0x4e,
+ 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0f, 0x0a, 0x0b, 0x4f,
+ 0x4f, 0x42, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x08, 0x12, 0x11, 0x0a, 0x0d,
+ 0x4f, 0x4f, 0x42, 0x5f, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x44, 0x31, 0x10, 0x09, 0x12,
+ 0x11, 0x0a, 0x0d, 0x4f, 0x4f, 0x42, 0x5f, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x44, 0x32,
+ 0x10, 0x0a, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x4f, 0x42, 0x5f, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56,
+ 0x45, 0x44, 0x33, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47,
+ 0x52, 0x45, 0x53, 0x53, 0x10, 0x0c, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f,
+ 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x50, 0x49, 0x4e, 0x4e, 0x45, 0x44, 0x10, 0x0d, 0x2a, 0x5b,
+ 0x0a, 0x16, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x46, 0x64,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x44, 0x4f, 0x5f, 0x4e,
+ 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x50, 0x54, 0x5f, 0x56,
+ 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x1c, 0x0a,
+ 0x18, 0x55, 0x53, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x50, 0x54, 0x5f, 0x56, 0x45, 0x52,
+ 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x42, 0x7a, 0x0a, 0x25, 0x6f,
+ 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x12, 0x44, 0x61, 0x74, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66,
+ 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68,
+ 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f,
+ 0x68, 0x64, 0x66, 0x73, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_datatransfer_proto_rawDescOnce sync.Once
+ file_datatransfer_proto_rawDescData = file_datatransfer_proto_rawDesc
+)
+
+func file_datatransfer_proto_rawDescGZIP() []byte {
+ file_datatransfer_proto_rawDescOnce.Do(func() {
+ file_datatransfer_proto_rawDescData = protoimpl.X.CompressGZIP(file_datatransfer_proto_rawDescData)
+ })
+ return file_datatransfer_proto_rawDescData
+}
+
+var file_datatransfer_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
+var file_datatransfer_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
+var file_datatransfer_proto_goTypes = []interface{}{
+ (Status)(0), // 0: hadoop.hdfs.Status
+ (ShortCircuitFdResponse)(0), // 1: hadoop.hdfs.ShortCircuitFdResponse
+ (DataTransferEncryptorMessageProto_DataTransferEncryptorStatus)(0), // 2: hadoop.hdfs.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus
+ (OpWriteBlockProto_BlockConstructionStage)(0), // 3: hadoop.hdfs.OpWriteBlockProto.BlockConstructionStage
+ (*DataTransferEncryptorMessageProto)(nil), // 4: hadoop.hdfs.DataTransferEncryptorMessageProto
+ (*HandshakeSecretProto)(nil), // 5: hadoop.hdfs.HandshakeSecretProto
+ (*BaseHeaderProto)(nil), // 6: hadoop.hdfs.BaseHeaderProto
+ (*DataTransferTraceInfoProto)(nil), // 7: hadoop.hdfs.DataTransferTraceInfoProto
+ (*ClientOperationHeaderProto)(nil), // 8: hadoop.hdfs.ClientOperationHeaderProto
+ (*CachingStrategyProto)(nil), // 9: hadoop.hdfs.CachingStrategyProto
+ (*OpReadBlockProto)(nil), // 10: hadoop.hdfs.OpReadBlockProto
+ (*ChecksumProto)(nil), // 11: hadoop.hdfs.ChecksumProto
+ (*OpWriteBlockProto)(nil), // 12: hadoop.hdfs.OpWriteBlockProto
+ (*OpTransferBlockProto)(nil), // 13: hadoop.hdfs.OpTransferBlockProto
+ (*OpReplaceBlockProto)(nil), // 14: hadoop.hdfs.OpReplaceBlockProto
+ (*OpCopyBlockProto)(nil), // 15: hadoop.hdfs.OpCopyBlockProto
+ (*OpBlockChecksumProto)(nil), // 16: hadoop.hdfs.OpBlockChecksumProto
+ (*OpBlockGroupChecksumProto)(nil), // 17: hadoop.hdfs.OpBlockGroupChecksumProto
+ (*ShortCircuitShmIdProto)(nil), // 18: hadoop.hdfs.ShortCircuitShmIdProto
+ (*ShortCircuitShmSlotProto)(nil), // 19: hadoop.hdfs.ShortCircuitShmSlotProto
+ (*OpRequestShortCircuitAccessProto)(nil), // 20: hadoop.hdfs.OpRequestShortCircuitAccessProto
+ (*ReleaseShortCircuitAccessRequestProto)(nil), // 21: hadoop.hdfs.ReleaseShortCircuitAccessRequestProto
+ (*ReleaseShortCircuitAccessResponseProto)(nil), // 22: hadoop.hdfs.ReleaseShortCircuitAccessResponseProto
+ (*ShortCircuitShmRequestProto)(nil), // 23: hadoop.hdfs.ShortCircuitShmRequestProto
+ (*ShortCircuitShmResponseProto)(nil), // 24: hadoop.hdfs.ShortCircuitShmResponseProto
+ (*PacketHeaderProto)(nil), // 25: hadoop.hdfs.PacketHeaderProto
+ (*PipelineAckProto)(nil), // 26: hadoop.hdfs.PipelineAckProto
+ (*ReadOpChecksumInfoProto)(nil), // 27: hadoop.hdfs.ReadOpChecksumInfoProto
+ (*BlockOpResponseProto)(nil), // 28: hadoop.hdfs.BlockOpResponseProto
+ (*ClientReadStatusProto)(nil), // 29: hadoop.hdfs.ClientReadStatusProto
+ (*DNTransferAckProto)(nil), // 30: hadoop.hdfs.DNTransferAckProto
+ (*OpBlockChecksumResponseProto)(nil), // 31: hadoop.hdfs.OpBlockChecksumResponseProto
+ (*OpCustomProto)(nil), // 32: hadoop.hdfs.OpCustomProto
+ (*CipherOptionProto)(nil), // 33: hadoop.hdfs.CipherOptionProto
+ (*ExtendedBlockProto)(nil), // 34: hadoop.hdfs.ExtendedBlockProto
+ (*hadoop_common.TokenProto)(nil), // 35: hadoop.common.TokenProto
+ (ChecksumTypeProto)(0), // 36: hadoop.hdfs.ChecksumTypeProto
+ (*DatanodeInfoProto)(nil), // 37: hadoop.hdfs.DatanodeInfoProto
+ (StorageTypeProto)(0), // 38: hadoop.hdfs.StorageTypeProto
+ (*BlockChecksumOptionsProto)(nil), // 39: hadoop.hdfs.BlockChecksumOptionsProto
+ (*DatanodeInfosProto)(nil), // 40: hadoop.hdfs.DatanodeInfosProto
+ (*ErasureCodingPolicyProto)(nil), // 41: hadoop.hdfs.ErasureCodingPolicyProto
+}
+var file_datatransfer_proto_depIdxs = []int32{
+ 2, // 0: hadoop.hdfs.DataTransferEncryptorMessageProto.status:type_name -> hadoop.hdfs.DataTransferEncryptorMessageProto.DataTransferEncryptorStatus
+ 33, // 1: hadoop.hdfs.DataTransferEncryptorMessageProto.cipherOption:type_name -> hadoop.hdfs.CipherOptionProto
+ 5, // 2: hadoop.hdfs.DataTransferEncryptorMessageProto.handshakeSecret:type_name -> hadoop.hdfs.HandshakeSecretProto
+ 34, // 3: hadoop.hdfs.BaseHeaderProto.block:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 35, // 4: hadoop.hdfs.BaseHeaderProto.token:type_name -> hadoop.common.TokenProto
+ 7, // 5: hadoop.hdfs.BaseHeaderProto.traceInfo:type_name -> hadoop.hdfs.DataTransferTraceInfoProto
+ 6, // 6: hadoop.hdfs.ClientOperationHeaderProto.baseHeader:type_name -> hadoop.hdfs.BaseHeaderProto
+ 8, // 7: hadoop.hdfs.OpReadBlockProto.header:type_name -> hadoop.hdfs.ClientOperationHeaderProto
+ 9, // 8: hadoop.hdfs.OpReadBlockProto.cachingStrategy:type_name -> hadoop.hdfs.CachingStrategyProto
+ 36, // 9: hadoop.hdfs.ChecksumProto.type:type_name -> hadoop.hdfs.ChecksumTypeProto
+ 8, // 10: hadoop.hdfs.OpWriteBlockProto.header:type_name -> hadoop.hdfs.ClientOperationHeaderProto
+ 37, // 11: hadoop.hdfs.OpWriteBlockProto.targets:type_name -> hadoop.hdfs.DatanodeInfoProto
+ 37, // 12: hadoop.hdfs.OpWriteBlockProto.source:type_name -> hadoop.hdfs.DatanodeInfoProto
+ 3, // 13: hadoop.hdfs.OpWriteBlockProto.stage:type_name -> hadoop.hdfs.OpWriteBlockProto.BlockConstructionStage
+ 11, // 14: hadoop.hdfs.OpWriteBlockProto.requestedChecksum:type_name -> hadoop.hdfs.ChecksumProto
+ 9, // 15: hadoop.hdfs.OpWriteBlockProto.cachingStrategy:type_name -> hadoop.hdfs.CachingStrategyProto
+ 38, // 16: hadoop.hdfs.OpWriteBlockProto.storageType:type_name -> hadoop.hdfs.StorageTypeProto
+ 38, // 17: hadoop.hdfs.OpWriteBlockProto.targetStorageTypes:type_name -> hadoop.hdfs.StorageTypeProto
+ 8, // 18: hadoop.hdfs.OpTransferBlockProto.header:type_name -> hadoop.hdfs.ClientOperationHeaderProto
+ 37, // 19: hadoop.hdfs.OpTransferBlockProto.targets:type_name -> hadoop.hdfs.DatanodeInfoProto
+ 38, // 20: hadoop.hdfs.OpTransferBlockProto.targetStorageTypes:type_name -> hadoop.hdfs.StorageTypeProto
+ 6, // 21: hadoop.hdfs.OpReplaceBlockProto.header:type_name -> hadoop.hdfs.BaseHeaderProto
+ 37, // 22: hadoop.hdfs.OpReplaceBlockProto.source:type_name -> hadoop.hdfs.DatanodeInfoProto
+ 38, // 23: hadoop.hdfs.OpReplaceBlockProto.storageType:type_name -> hadoop.hdfs.StorageTypeProto
+ 6, // 24: hadoop.hdfs.OpCopyBlockProto.header:type_name -> hadoop.hdfs.BaseHeaderProto
+ 6, // 25: hadoop.hdfs.OpBlockChecksumProto.header:type_name -> hadoop.hdfs.BaseHeaderProto
+ 39, // 26: hadoop.hdfs.OpBlockChecksumProto.blockChecksumOptions:type_name -> hadoop.hdfs.BlockChecksumOptionsProto
+ 6, // 27: hadoop.hdfs.OpBlockGroupChecksumProto.header:type_name -> hadoop.hdfs.BaseHeaderProto
+ 40, // 28: hadoop.hdfs.OpBlockGroupChecksumProto.datanodes:type_name -> hadoop.hdfs.DatanodeInfosProto
+ 35, // 29: hadoop.hdfs.OpBlockGroupChecksumProto.blockTokens:type_name -> hadoop.common.TokenProto
+ 41, // 30: hadoop.hdfs.OpBlockGroupChecksumProto.ecPolicy:type_name -> hadoop.hdfs.ErasureCodingPolicyProto
+ 39, // 31: hadoop.hdfs.OpBlockGroupChecksumProto.blockChecksumOptions:type_name -> hadoop.hdfs.BlockChecksumOptionsProto
+ 18, // 32: hadoop.hdfs.ShortCircuitShmSlotProto.shmId:type_name -> hadoop.hdfs.ShortCircuitShmIdProto
+ 6, // 33: hadoop.hdfs.OpRequestShortCircuitAccessProto.header:type_name -> hadoop.hdfs.BaseHeaderProto
+ 19, // 34: hadoop.hdfs.OpRequestShortCircuitAccessProto.slotId:type_name -> hadoop.hdfs.ShortCircuitShmSlotProto
+ 19, // 35: hadoop.hdfs.ReleaseShortCircuitAccessRequestProto.slotId:type_name -> hadoop.hdfs.ShortCircuitShmSlotProto
+ 7, // 36: hadoop.hdfs.ReleaseShortCircuitAccessRequestProto.traceInfo:type_name -> hadoop.hdfs.DataTransferTraceInfoProto
+ 0, // 37: hadoop.hdfs.ReleaseShortCircuitAccessResponseProto.status:type_name -> hadoop.hdfs.Status
+ 7, // 38: hadoop.hdfs.ShortCircuitShmRequestProto.traceInfo:type_name -> hadoop.hdfs.DataTransferTraceInfoProto
+ 0, // 39: hadoop.hdfs.ShortCircuitShmResponseProto.status:type_name -> hadoop.hdfs.Status
+ 18, // 40: hadoop.hdfs.ShortCircuitShmResponseProto.id:type_name -> hadoop.hdfs.ShortCircuitShmIdProto
+ 0, // 41: hadoop.hdfs.PipelineAckProto.reply:type_name -> hadoop.hdfs.Status
+ 11, // 42: hadoop.hdfs.ReadOpChecksumInfoProto.checksum:type_name -> hadoop.hdfs.ChecksumProto
+ 0, // 43: hadoop.hdfs.BlockOpResponseProto.status:type_name -> hadoop.hdfs.Status
+ 31, // 44: hadoop.hdfs.BlockOpResponseProto.checksumResponse:type_name -> hadoop.hdfs.OpBlockChecksumResponseProto
+ 27, // 45: hadoop.hdfs.BlockOpResponseProto.readOpChecksumInfo:type_name -> hadoop.hdfs.ReadOpChecksumInfoProto
+ 0, // 46: hadoop.hdfs.ClientReadStatusProto.status:type_name -> hadoop.hdfs.Status
+ 0, // 47: hadoop.hdfs.DNTransferAckProto.status:type_name -> hadoop.hdfs.Status
+ 36, // 48: hadoop.hdfs.OpBlockChecksumResponseProto.crcType:type_name -> hadoop.hdfs.ChecksumTypeProto
+ 39, // 49: hadoop.hdfs.OpBlockChecksumResponseProto.blockChecksumOptions:type_name -> hadoop.hdfs.BlockChecksumOptionsProto
+ 50, // [50:50] is the sub-list for method output_type
+ 50, // [50:50] is the sub-list for method input_type
+ 50, // [50:50] is the sub-list for extension type_name
+ 50, // [50:50] is the sub-list for extension extendee
+ 0, // [0:50] is the sub-list for field type_name
+}
+
+func init() { file_datatransfer_proto_init() }
+func file_datatransfer_proto_init() {
+ if File_datatransfer_proto != nil {
+ return
+ }
+ file_hdfs_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_datatransfer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DataTransferEncryptorMessageProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*HandshakeSecretProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BaseHeaderProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DataTransferTraceInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ClientOperationHeaderProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CachingStrategyProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpReadBlockProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ChecksumProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpWriteBlockProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpTransferBlockProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpReplaceBlockProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpCopyBlockProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpBlockChecksumProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpBlockGroupChecksumProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ShortCircuitShmIdProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ShortCircuitShmSlotProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpRequestShortCircuitAccessProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ReleaseShortCircuitAccessRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ReleaseShortCircuitAccessResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ShortCircuitShmRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ShortCircuitShmResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PacketHeaderProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PipelineAckProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ReadOpChecksumInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BlockOpResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ClientReadStatusProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DNTransferAckProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpBlockChecksumResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_datatransfer_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpCustomProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_datatransfer_proto_rawDesc,
+ NumEnums: 4,
+ NumMessages: 29,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_datatransfer_proto_goTypes,
+ DependencyIndexes: file_datatransfer_proto_depIdxs,
+ EnumInfos: file_datatransfer_proto_enumTypes,
+ MessageInfos: file_datatransfer_proto_msgTypes,
+ }.Build()
+ File_datatransfer_proto = out.File
+ file_datatransfer_proto_rawDesc = nil
+ file_datatransfer_proto_goTypes = nil
+ file_datatransfer_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_hdfs/datatransfer.proto b/internal/protocol/hadoop_hdfs/datatransfer.proto
index 522ee06..bcd24ef 100644
--- a/internal/protocol/hadoop_hdfs/datatransfer.proto
+++ b/internal/protocol/hadoop_hdfs/datatransfer.proto
@@ -21,13 +21,14 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax="proto2";
// This file contains protocol buffers that are used to transfer data
// to and from the datanode, as well as between datanodes.
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
option java_outer_classname = "DataTransferProtos";
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
package hadoop.hdfs;
import "Security.proto";
@@ -43,6 +44,12 @@ message DataTransferEncryptorMessageProto {
optional bytes payload = 2;
optional string message = 3;
repeated CipherOptionProto cipherOption = 4;
+ optional HandshakeSecretProto handshakeSecret = 5;
+}
+
+message HandshakeSecretProto {
+ required bytes secret = 1;
+ required string bpid = 2;
}
message BaseHeaderProto {
@@ -125,12 +132,15 @@ message OpWriteBlockProto {
//whether to pin the block, so Balancer won't move it.
optional bool pinning = 14 [default = false];
repeated bool targetPinnings = 15;
+ optional string storageId = 16;
+ repeated string targetStorageIds = 17;
}
message OpTransferBlockProto {
required ClientOperationHeaderProto header = 1;
repeated DatanodeInfoProto targets = 2;
repeated StorageTypeProto targetStorageTypes = 3;
+ repeated string targetStorageIds = 4;
}
message OpReplaceBlockProto {
@@ -138,14 +148,16 @@ message OpReplaceBlockProto {
required string delHint = 2;
required DatanodeInfoProto source = 3;
optional StorageTypeProto storageType = 4 [default = DISK];
+ optional string storageId = 5;
}
message OpCopyBlockProto {
required BaseHeaderProto header = 1;
}
-message OpBlockChecksumProto {
+message OpBlockChecksumProto {
required BaseHeaderProto header = 1;
+ optional BlockChecksumOptionsProto blockChecksumOptions = 2;
}
message OpBlockGroupChecksumProto {
@@ -154,6 +166,9 @@ message OpBlockGroupChecksumProto {
// each internal block has a block token
repeated hadoop.common.TokenProto blockTokens = 3;
required ErasureCodingPolicyProto ecPolicy = 4;
+ repeated uint32 blockIndices = 5;
+ required uint64 requestedNumBytes = 6;
+ optional BlockChecksumOptionsProto blockChecksumOptions = 7;
}
/**
@@ -241,6 +256,7 @@ enum Status {
OOB_RESERVED2 = 10; // Reserved
OOB_RESERVED3 = 11; // Reserved
IN_PROGRESS = 12;
+ ERROR_BLOCK_PINNED = 13;
}
enum ShortCircuitFdResponse {
@@ -306,8 +322,9 @@ message DNTransferAckProto {
message OpBlockChecksumResponseProto {
required uint32 bytesPerCrc = 1;
required uint64 crcPerBlock = 2;
- required bytes md5 = 3;
+ required bytes blockChecksum = 3;
optional ChecksumTypeProto crcType = 4;
+ optional BlockChecksumOptionsProto blockChecksumOptions = 5;
}
message OpCustomProto {
diff --git a/internal/protocol/hadoop_hdfs/editlog.pb.go b/internal/protocol/hadoop_hdfs/editlog.pb.go
new file mode 100644
index 0000000..ccf786f
--- /dev/null
+++ b/internal/protocol/hadoop_hdfs/editlog.pb.go
@@ -0,0 +1,257 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
+// source: editlog.proto
+
+package hadoop_hdfs
+
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
+
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
+
+type AclEditLogProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ Entries []*AclEntryProto `protobuf:"bytes,2,rep,name=entries" json:"entries,omitempty"`
+}
+
+func (x *AclEditLogProto) Reset() {
+ *x = AclEditLogProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_editlog_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AclEditLogProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AclEditLogProto) ProtoMessage() {}
+
+func (x *AclEditLogProto) ProtoReflect() protoreflect.Message {
+ mi := &file_editlog_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AclEditLogProto.ProtoReflect.Descriptor instead.
+func (*AclEditLogProto) Descriptor() ([]byte, []int) {
+ return file_editlog_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *AclEditLogProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
+ }
+ return ""
+}
+
+func (x *AclEditLogProto) GetEntries() []*AclEntryProto {
+ if x != nil {
+ return x.Entries
+ }
+ return nil
+}
+
+type XAttrEditLogProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,opt,name=src" json:"src,omitempty"`
+ XAttrs []*XAttrProto `protobuf:"bytes,2,rep,name=xAttrs" json:"xAttrs,omitempty"`
+}
+
+func (x *XAttrEditLogProto) Reset() {
+ *x = XAttrEditLogProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_editlog_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *XAttrEditLogProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*XAttrEditLogProto) ProtoMessage() {}
+
+func (x *XAttrEditLogProto) ProtoReflect() protoreflect.Message {
+ mi := &file_editlog_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use XAttrEditLogProto.ProtoReflect.Descriptor instead.
+func (*XAttrEditLogProto) Descriptor() ([]byte, []int) {
+ return file_editlog_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *XAttrEditLogProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
+ }
+ return ""
+}
+
+func (x *XAttrEditLogProto) GetXAttrs() []*XAttrProto {
+ if x != nil {
+ return x.XAttrs
+ }
+ return nil
+}
+
+var File_editlog_proto protoreflect.FileDescriptor
+
+var file_editlog_proto_rawDesc = []byte{
+ 0x0a, 0x0d, 0x65, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x0b, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x1a, 0x09, 0x61, 0x63,
+ 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x78, 0x61, 0x74, 0x74, 0x72, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x0f, 0x41, 0x63, 0x6c, 0x45, 0x64, 0x69, 0x74, 0x4c,
+ 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x74,
+ 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72,
+ 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22,
+ 0x56, 0x0a, 0x11, 0x58, 0x41, 0x74, 0x74, 0x72, 0x45, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x2f, 0x0a, 0x06, 0x78, 0x41, 0x74, 0x74, 0x72, 0x73,
+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x58, 0x41, 0x74, 0x74, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x06, 0x78, 0x41, 0x74, 0x74, 0x72, 0x73, 0x42, 0x75, 0x0a, 0x25, 0x6f, 0x72, 0x67, 0x2e, 0x61,
+ 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x42, 0x0d, 0x45, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a,
+ 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69,
+ 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e,
+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x68, 0x64, 0x66, 0x73, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_editlog_proto_rawDescOnce sync.Once
+ file_editlog_proto_rawDescData = file_editlog_proto_rawDesc
+)
+
+func file_editlog_proto_rawDescGZIP() []byte {
+ file_editlog_proto_rawDescOnce.Do(func() {
+ file_editlog_proto_rawDescData = protoimpl.X.CompressGZIP(file_editlog_proto_rawDescData)
+ })
+ return file_editlog_proto_rawDescData
+}
+
+var file_editlog_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
+var file_editlog_proto_goTypes = []interface{}{
+ (*AclEditLogProto)(nil), // 0: hadoop.hdfs.AclEditLogProto
+ (*XAttrEditLogProto)(nil), // 1: hadoop.hdfs.XAttrEditLogProto
+ (*AclEntryProto)(nil), // 2: hadoop.hdfs.AclEntryProto
+ (*XAttrProto)(nil), // 3: hadoop.hdfs.XAttrProto
+}
+var file_editlog_proto_depIdxs = []int32{
+ 2, // 0: hadoop.hdfs.AclEditLogProto.entries:type_name -> hadoop.hdfs.AclEntryProto
+ 3, // 1: hadoop.hdfs.XAttrEditLogProto.xAttrs:type_name -> hadoop.hdfs.XAttrProto
+ 2, // [2:2] is the sub-list for method output_type
+ 2, // [2:2] is the sub-list for method input_type
+ 2, // [2:2] is the sub-list for extension type_name
+ 2, // [2:2] is the sub-list for extension extendee
+ 0, // [0:2] is the sub-list for field type_name
+}
+
+func init() { file_editlog_proto_init() }
+func file_editlog_proto_init() {
+ if File_editlog_proto != nil {
+ return
+ }
+ file_acl_proto_init()
+ file_xattr_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_editlog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AclEditLogProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_editlog_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*XAttrEditLogProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_editlog_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 2,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_editlog_proto_goTypes,
+ DependencyIndexes: file_editlog_proto_depIdxs,
+ MessageInfos: file_editlog_proto_msgTypes,
+ }.Build()
+ File_editlog_proto = out.File
+ file_editlog_proto_rawDesc = nil
+ file_editlog_proto_goTypes = nil
+ file_editlog_proto_depIdxs = nil
+}
diff --git a/internal/protocol/hadoop_hdfs/editlog.proto b/internal/protocol/hadoop_hdfs/editlog.proto
new file mode 100644
index 0000000..d61c95f
--- /dev/null
+++ b/internal/protocol/hadoop_hdfs/editlog.proto
@@ -0,0 +1,36 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+syntax = "proto2";
+option java_package = "org.apache.hadoop.hdfs.protocol.proto";
+option java_outer_classname = "EditLogProtos";
+option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
+package hadoop.hdfs;
+
+import "acl.proto";
+import "xattr.proto";
+
+message AclEditLogProto {
+ required string src = 1;
+ repeated AclEntryProto entries = 2;
+}
+
+message XAttrEditLogProto {
+ optional string src = 1;
+ repeated XAttrProto xAttrs = 2;
+}
diff --git a/internal/protocol/hadoop_hdfs/encryption.pb.go b/internal/protocol/hadoop_hdfs/encryption.pb.go
index 0e265eb..76918c7 100644
--- a/internal/protocol/hadoop_hdfs/encryption.pb.go
+++ b/internal/protocol/hadoop_hdfs/encryption.pb.go
@@ -1,217 +1,1171 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: encryption.proto
package hadoop_hdfs
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
+
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
+
+type ReencryptActionProto int32
+
+const (
+ ReencryptActionProto_CANCEL_REENCRYPT ReencryptActionProto = 1
+ ReencryptActionProto_START_REENCRYPT ReencryptActionProto = 2
+)
+
+// Enum value maps for ReencryptActionProto.
+var (
+ ReencryptActionProto_name = map[int32]string{
+ 1: "CANCEL_REENCRYPT",
+ 2: "START_REENCRYPT",
+ }
+ ReencryptActionProto_value = map[string]int32{
+ "CANCEL_REENCRYPT": 1,
+ "START_REENCRYPT": 2,
+ }
+)
+
+func (x ReencryptActionProto) Enum() *ReencryptActionProto {
+ p := new(ReencryptActionProto)
+ *p = x
+ return p
+}
+
+func (x ReencryptActionProto) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (ReencryptActionProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_encryption_proto_enumTypes[0].Descriptor()
+}
+
+func (ReencryptActionProto) Type() protoreflect.EnumType {
+ return &file_encryption_proto_enumTypes[0]
+}
+
+func (x ReencryptActionProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *ReencryptActionProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = ReencryptActionProto(num)
+ return nil
+}
+
+// Deprecated: Use ReencryptActionProto.Descriptor instead.
+func (ReencryptActionProto) EnumDescriptor() ([]byte, []int) {
+ return file_encryption_proto_rawDescGZIP(), []int{0}
+}
+
+type ReencryptionStateProto int32
+
+const (
+ ReencryptionStateProto_SUBMITTED ReencryptionStateProto = 1
+ ReencryptionStateProto_PROCESSING ReencryptionStateProto = 2
+ ReencryptionStateProto_COMPLETED ReencryptionStateProto = 3
+)
+
+// Enum value maps for ReencryptionStateProto.
+var (
+ ReencryptionStateProto_name = map[int32]string{
+ 1: "SUBMITTED",
+ 2: "PROCESSING",
+ 3: "COMPLETED",
+ }
+ ReencryptionStateProto_value = map[string]int32{
+ "SUBMITTED": 1,
+ "PROCESSING": 2,
+ "COMPLETED": 3,
+ }
+)
+
+func (x ReencryptionStateProto) Enum() *ReencryptionStateProto {
+ p := new(ReencryptionStateProto)
+ *p = x
+ return p
+}
+
+func (x ReencryptionStateProto) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (ReencryptionStateProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_encryption_proto_enumTypes[1].Descriptor()
+}
+
+func (ReencryptionStateProto) Type() protoreflect.EnumType {
+ return &file_encryption_proto_enumTypes[1]
+}
+
+func (x ReencryptionStateProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *ReencryptionStateProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = ReencryptionStateProto(num)
+ return nil
+}
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+// Deprecated: Use ReencryptionStateProto.Descriptor instead.
+func (ReencryptionStateProto) EnumDescriptor() ([]byte, []int) {
+ return file_encryption_proto_rawDescGZIP(), []int{1}
+}
type CreateEncryptionZoneRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- KeyName *string `protobuf:"bytes,2,opt,name=keyName" json:"keyName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ KeyName *string `protobuf:"bytes,2,opt,name=keyName" json:"keyName,omitempty"`
+}
+
+func (x *CreateEncryptionZoneRequestProto) Reset() {
+ *x = CreateEncryptionZoneRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CreateEncryptionZoneRequestProto) Reset() { *m = CreateEncryptionZoneRequestProto{} }
-func (m *CreateEncryptionZoneRequestProto) String() string { return proto.CompactTextString(m) }
-func (*CreateEncryptionZoneRequestProto) ProtoMessage() {}
+func (x *CreateEncryptionZoneRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CreateEncryptionZoneRequestProto) ProtoMessage() {}
+
+func (x *CreateEncryptionZoneRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CreateEncryptionZoneRequestProto.ProtoReflect.Descriptor instead.
func (*CreateEncryptionZoneRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor2, []int{0}
+ return file_encryption_proto_rawDescGZIP(), []int{0}
}
-func (m *CreateEncryptionZoneRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *CreateEncryptionZoneRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *CreateEncryptionZoneRequestProto) GetKeyName() string {
- if m != nil && m.KeyName != nil {
- return *m.KeyName
+func (x *CreateEncryptionZoneRequestProto) GetKeyName() string {
+ if x != nil && x.KeyName != nil {
+ return *x.KeyName
}
return ""
}
type CreateEncryptionZoneResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *CreateEncryptionZoneResponseProto) Reset() {
+ *x = CreateEncryptionZoneResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CreateEncryptionZoneResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CreateEncryptionZoneResponseProto) ProtoMessage() {}
+
+func (x *CreateEncryptionZoneResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *CreateEncryptionZoneResponseProto) Reset() { *m = CreateEncryptionZoneResponseProto{} }
-func (m *CreateEncryptionZoneResponseProto) String() string { return proto.CompactTextString(m) }
-func (*CreateEncryptionZoneResponseProto) ProtoMessage() {}
+// Deprecated: Use CreateEncryptionZoneResponseProto.ProtoReflect.Descriptor instead.
func (*CreateEncryptionZoneResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor2, []int{1}
+ return file_encryption_proto_rawDescGZIP(), []int{1}
}
type ListEncryptionZonesRequestProto struct {
- Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
}
-func (m *ListEncryptionZonesRequestProto) Reset() { *m = ListEncryptionZonesRequestProto{} }
-func (m *ListEncryptionZonesRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ListEncryptionZonesRequestProto) ProtoMessage() {}
-func (*ListEncryptionZonesRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
+func (x *ListEncryptionZonesRequestProto) Reset() {
+ *x = ListEncryptionZonesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListEncryptionZonesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListEncryptionZonesRequestProto) ProtoMessage() {}
+
+func (x *ListEncryptionZonesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-func (m *ListEncryptionZonesRequestProto) GetId() int64 {
- if m != nil && m.Id != nil {
- return *m.Id
+// Deprecated: Use ListEncryptionZonesRequestProto.ProtoReflect.Descriptor instead.
+func (*ListEncryptionZonesRequestProto) Descriptor() ([]byte, []int) {
+ return file_encryption_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *ListEncryptionZonesRequestProto) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
}
return 0
}
type EncryptionZoneProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
Path *string `protobuf:"bytes,2,req,name=path" json:"path,omitempty"`
Suite *CipherSuiteProto `protobuf:"varint,3,req,name=suite,enum=hadoop.hdfs.CipherSuiteProto" json:"suite,omitempty"`
CryptoProtocolVersion *CryptoProtocolVersionProto `protobuf:"varint,4,req,name=cryptoProtocolVersion,enum=hadoop.hdfs.CryptoProtocolVersionProto" json:"cryptoProtocolVersion,omitempty"`
KeyName *string `protobuf:"bytes,5,req,name=keyName" json:"keyName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *EncryptionZoneProto) Reset() { *m = EncryptionZoneProto{} }
-func (m *EncryptionZoneProto) String() string { return proto.CompactTextString(m) }
-func (*EncryptionZoneProto) ProtoMessage() {}
-func (*EncryptionZoneProto) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
+func (x *EncryptionZoneProto) Reset() {
+ *x = EncryptionZoneProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *EncryptionZoneProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*EncryptionZoneProto) ProtoMessage() {}
-func (m *EncryptionZoneProto) GetId() int64 {
- if m != nil && m.Id != nil {
- return *m.Id
+func (x *EncryptionZoneProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use EncryptionZoneProto.ProtoReflect.Descriptor instead.
+func (*EncryptionZoneProto) Descriptor() ([]byte, []int) {
+ return file_encryption_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *EncryptionZoneProto) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
}
return 0
}
-func (m *EncryptionZoneProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *EncryptionZoneProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
-func (m *EncryptionZoneProto) GetSuite() CipherSuiteProto {
- if m != nil && m.Suite != nil {
- return *m.Suite
+func (x *EncryptionZoneProto) GetSuite() CipherSuiteProto {
+ if x != nil && x.Suite != nil {
+ return *x.Suite
}
return CipherSuiteProto_UNKNOWN
}
-func (m *EncryptionZoneProto) GetCryptoProtocolVersion() CryptoProtocolVersionProto {
- if m != nil && m.CryptoProtocolVersion != nil {
- return *m.CryptoProtocolVersion
+func (x *EncryptionZoneProto) GetCryptoProtocolVersion() CryptoProtocolVersionProto {
+ if x != nil && x.CryptoProtocolVersion != nil {
+ return *x.CryptoProtocolVersion
}
return CryptoProtocolVersionProto_UNKNOWN_PROTOCOL_VERSION
}
-func (m *EncryptionZoneProto) GetKeyName() string {
- if m != nil && m.KeyName != nil {
- return *m.KeyName
+func (x *EncryptionZoneProto) GetKeyName() string {
+ if x != nil && x.KeyName != nil {
+ return *x.KeyName
}
return ""
}
type ListEncryptionZonesResponseProto struct {
- Zones []*EncryptionZoneProto `protobuf:"bytes,1,rep,name=zones" json:"zones,omitempty"`
- HasMore *bool `protobuf:"varint,2,req,name=hasMore" json:"hasMore,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Zones []*EncryptionZoneProto `protobuf:"bytes,1,rep,name=zones" json:"zones,omitempty"`
+ HasMore *bool `protobuf:"varint,2,req,name=hasMore" json:"hasMore,omitempty"`
+}
+
+func (x *ListEncryptionZonesResponseProto) Reset() {
+ *x = ListEncryptionZonesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListEncryptionZonesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListEncryptionZonesResponseProto) ProtoMessage() {}
+
+func (x *ListEncryptionZonesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ListEncryptionZonesResponseProto) Reset() { *m = ListEncryptionZonesResponseProto{} }
-func (m *ListEncryptionZonesResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ListEncryptionZonesResponseProto) ProtoMessage() {}
+// Deprecated: Use ListEncryptionZonesResponseProto.ProtoReflect.Descriptor instead.
func (*ListEncryptionZonesResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor2, []int{4}
+ return file_encryption_proto_rawDescGZIP(), []int{4}
}
-func (m *ListEncryptionZonesResponseProto) GetZones() []*EncryptionZoneProto {
- if m != nil {
- return m.Zones
+func (x *ListEncryptionZonesResponseProto) GetZones() []*EncryptionZoneProto {
+ if x != nil {
+ return x.Zones
}
return nil
}
-func (m *ListEncryptionZonesResponseProto) GetHasMore() bool {
- if m != nil && m.HasMore != nil {
- return *m.HasMore
+func (x *ListEncryptionZonesResponseProto) GetHasMore() bool {
+ if x != nil && x.HasMore != nil {
+ return *x.HasMore
+ }
+ return false
+}
+
+type ReencryptEncryptionZoneRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Action *ReencryptActionProto `protobuf:"varint,1,req,name=action,enum=hadoop.hdfs.ReencryptActionProto" json:"action,omitempty"`
+ Zone *string `protobuf:"bytes,2,req,name=zone" json:"zone,omitempty"`
+}
+
+func (x *ReencryptEncryptionZoneRequestProto) Reset() {
+ *x = ReencryptEncryptionZoneRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ReencryptEncryptionZoneRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ReencryptEncryptionZoneRequestProto) ProtoMessage() {}
+
+func (x *ReencryptEncryptionZoneRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ReencryptEncryptionZoneRequestProto.ProtoReflect.Descriptor instead.
+func (*ReencryptEncryptionZoneRequestProto) Descriptor() ([]byte, []int) {
+ return file_encryption_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *ReencryptEncryptionZoneRequestProto) GetAction() ReencryptActionProto {
+ if x != nil && x.Action != nil {
+ return *x.Action
+ }
+ return ReencryptActionProto_CANCEL_REENCRYPT
+}
+
+func (x *ReencryptEncryptionZoneRequestProto) GetZone() string {
+ if x != nil && x.Zone != nil {
+ return *x.Zone
+ }
+ return ""
+}
+
+type ReencryptEncryptionZoneResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *ReencryptEncryptionZoneResponseProto) Reset() {
+ *x = ReencryptEncryptionZoneResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ReencryptEncryptionZoneResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ReencryptEncryptionZoneResponseProto) ProtoMessage() {}
+
+func (x *ReencryptEncryptionZoneResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ReencryptEncryptionZoneResponseProto.ProtoReflect.Descriptor instead.
+func (*ReencryptEncryptionZoneResponseProto) Descriptor() ([]byte, []int) {
+ return file_encryption_proto_rawDescGZIP(), []int{6}
+}
+
+type ListReencryptionStatusRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
+}
+
+func (x *ListReencryptionStatusRequestProto) Reset() {
+ *x = ListReencryptionStatusRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListReencryptionStatusRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListReencryptionStatusRequestProto) ProtoMessage() {}
+
+func (x *ListReencryptionStatusRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListReencryptionStatusRequestProto.ProtoReflect.Descriptor instead.
+func (*ListReencryptionStatusRequestProto) Descriptor() ([]byte, []int) {
+ return file_encryption_proto_rawDescGZIP(), []int{7}
+}
+
+func (x *ListReencryptionStatusRequestProto) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
+ }
+ return 0
+}
+
+type ZoneReencryptionStatusProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
+ Path *string `protobuf:"bytes,2,req,name=path" json:"path,omitempty"`
+ State *ReencryptionStateProto `protobuf:"varint,3,req,name=state,enum=hadoop.hdfs.ReencryptionStateProto" json:"state,omitempty"`
+ EzKeyVersionName *string `protobuf:"bytes,4,req,name=ezKeyVersionName" json:"ezKeyVersionName,omitempty"`
+ SubmissionTime *int64 `protobuf:"varint,5,req,name=submissionTime" json:"submissionTime,omitempty"`
+ Canceled *bool `protobuf:"varint,6,req,name=canceled" json:"canceled,omitempty"`
+ NumReencrypted *int64 `protobuf:"varint,7,req,name=numReencrypted" json:"numReencrypted,omitempty"`
+ NumFailures *int64 `protobuf:"varint,8,req,name=numFailures" json:"numFailures,omitempty"`
+ CompletionTime *int64 `protobuf:"varint,9,opt,name=completionTime" json:"completionTime,omitempty"`
+ LastFile *string `protobuf:"bytes,10,opt,name=lastFile" json:"lastFile,omitempty"`
+}
+
+func (x *ZoneReencryptionStatusProto) Reset() {
+ *x = ZoneReencryptionStatusProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ZoneReencryptionStatusProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ZoneReencryptionStatusProto) ProtoMessage() {}
+
+func (x *ZoneReencryptionStatusProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ZoneReencryptionStatusProto.ProtoReflect.Descriptor instead.
+func (*ZoneReencryptionStatusProto) Descriptor() ([]byte, []int) {
+ return file_encryption_proto_rawDescGZIP(), []int{8}
+}
+
+func (x *ZoneReencryptionStatusProto) GetId() int64 {
+ if x != nil && x.Id != nil {
+ return *x.Id
+ }
+ return 0
+}
+
+func (x *ZoneReencryptionStatusProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
+ }
+ return ""
+}
+
+func (x *ZoneReencryptionStatusProto) GetState() ReencryptionStateProto {
+ if x != nil && x.State != nil {
+ return *x.State
+ }
+ return ReencryptionStateProto_SUBMITTED
+}
+
+func (x *ZoneReencryptionStatusProto) GetEzKeyVersionName() string {
+ if x != nil && x.EzKeyVersionName != nil {
+ return *x.EzKeyVersionName
+ }
+ return ""
+}
+
+func (x *ZoneReencryptionStatusProto) GetSubmissionTime() int64 {
+ if x != nil && x.SubmissionTime != nil {
+ return *x.SubmissionTime
+ }
+ return 0
+}
+
+func (x *ZoneReencryptionStatusProto) GetCanceled() bool {
+ if x != nil && x.Canceled != nil {
+ return *x.Canceled
+ }
+ return false
+}
+
+func (x *ZoneReencryptionStatusProto) GetNumReencrypted() int64 {
+ if x != nil && x.NumReencrypted != nil {
+ return *x.NumReencrypted
+ }
+ return 0
+}
+
+func (x *ZoneReencryptionStatusProto) GetNumFailures() int64 {
+ if x != nil && x.NumFailures != nil {
+ return *x.NumFailures
+ }
+ return 0
+}
+
+func (x *ZoneReencryptionStatusProto) GetCompletionTime() int64 {
+ if x != nil && x.CompletionTime != nil {
+ return *x.CompletionTime
+ }
+ return 0
+}
+
+func (x *ZoneReencryptionStatusProto) GetLastFile() string {
+ if x != nil && x.LastFile != nil {
+ return *x.LastFile
+ }
+ return ""
+}
+
+type ListReencryptionStatusResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Statuses []*ZoneReencryptionStatusProto `protobuf:"bytes,1,rep,name=statuses" json:"statuses,omitempty"`
+ HasMore *bool `protobuf:"varint,2,req,name=hasMore" json:"hasMore,omitempty"`
+}
+
+func (x *ListReencryptionStatusResponseProto) Reset() {
+ *x = ListReencryptionStatusResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListReencryptionStatusResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListReencryptionStatusResponseProto) ProtoMessage() {}
+
+func (x *ListReencryptionStatusResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListReencryptionStatusResponseProto.ProtoReflect.Descriptor instead.
+func (*ListReencryptionStatusResponseProto) Descriptor() ([]byte, []int) {
+ return file_encryption_proto_rawDescGZIP(), []int{9}
+}
+
+func (x *ListReencryptionStatusResponseProto) GetStatuses() []*ZoneReencryptionStatusProto {
+ if x != nil {
+ return x.Statuses
+ }
+ return nil
+}
+
+func (x *ListReencryptionStatusResponseProto) GetHasMore() bool {
+ if x != nil && x.HasMore != nil {
+ return *x.HasMore
}
return false
}
type GetEZForPathRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
}
-func (m *GetEZForPathRequestProto) Reset() { *m = GetEZForPathRequestProto{} }
-func (m *GetEZForPathRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetEZForPathRequestProto) ProtoMessage() {}
-func (*GetEZForPathRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
+func (x *GetEZForPathRequestProto) Reset() {
+ *x = GetEZForPathRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetEZForPathRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetEZForPathRequestProto) ProtoMessage() {}
+
+func (x *GetEZForPathRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetEZForPathRequestProto.ProtoReflect.Descriptor instead.
+func (*GetEZForPathRequestProto) Descriptor() ([]byte, []int) {
+ return file_encryption_proto_rawDescGZIP(), []int{10}
+}
-func (m *GetEZForPathRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *GetEZForPathRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
type GetEZForPathResponseProto struct {
- Zone *EncryptionZoneProto `protobuf:"bytes,1,opt,name=zone" json:"zone,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Zone *EncryptionZoneProto `protobuf:"bytes,1,opt,name=zone" json:"zone,omitempty"`
+}
+
+func (x *GetEZForPathResponseProto) Reset() {
+ *x = GetEZForPathResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_encryption_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetEZForPathResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetEZForPathResponseProto) Reset() { *m = GetEZForPathResponseProto{} }
-func (m *GetEZForPathResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetEZForPathResponseProto) ProtoMessage() {}
-func (*GetEZForPathResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
+func (*GetEZForPathResponseProto) ProtoMessage() {}
-func (m *GetEZForPathResponseProto) GetZone() *EncryptionZoneProto {
- if m != nil {
- return m.Zone
+func (x *GetEZForPathResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_encryption_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetEZForPathResponseProto.ProtoReflect.Descriptor instead.
+func (*GetEZForPathResponseProto) Descriptor() ([]byte, []int) {
+ return file_encryption_proto_rawDescGZIP(), []int{11}
+}
+
+func (x *GetEZForPathResponseProto) GetZone() *EncryptionZoneProto {
+ if x != nil {
+ return x.Zone
}
return nil
}
-func init() {
- proto.RegisterType((*CreateEncryptionZoneRequestProto)(nil), "hadoop.hdfs.CreateEncryptionZoneRequestProto")
- proto.RegisterType((*CreateEncryptionZoneResponseProto)(nil), "hadoop.hdfs.CreateEncryptionZoneResponseProto")
- proto.RegisterType((*ListEncryptionZonesRequestProto)(nil), "hadoop.hdfs.ListEncryptionZonesRequestProto")
- proto.RegisterType((*EncryptionZoneProto)(nil), "hadoop.hdfs.EncryptionZoneProto")
- proto.RegisterType((*ListEncryptionZonesResponseProto)(nil), "hadoop.hdfs.ListEncryptionZonesResponseProto")
- proto.RegisterType((*GetEZForPathRequestProto)(nil), "hadoop.hdfs.GetEZForPathRequestProto")
- proto.RegisterType((*GetEZForPathResponseProto)(nil), "hadoop.hdfs.GetEZForPathResponseProto")
-}
-
-func init() { proto.RegisterFile("encryption.proto", fileDescriptor2) }
-
-var fileDescriptor2 = []byte{
- // 361 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x41, 0x4b, 0xeb, 0x40,
- 0x14, 0x85, 0x99, 0xa4, 0xe5, 0xbd, 0xde, 0x42, 0x29, 0x79, 0x14, 0xe6, 0x3d, 0x78, 0x38, 0x46,
- 0xc4, 0x2c, 0x24, 0x60, 0x15, 0xf7, 0xb6, 0x54, 0x37, 0x5a, 0x6a, 0x04, 0x17, 0x05, 0x17, 0x43,
- 0x72, 0x35, 0x41, 0xcd, 0x8c, 0x33, 0xd3, 0x45, 0xfd, 0x35, 0xfe, 0x3b, 0xff, 0x86, 0x64, 0x62,
- 0x4b, 0x46, 0x82, 0xb8, 0x09, 0x77, 0x66, 0xce, 0x3d, 0xe7, 0xf0, 0x05, 0x86, 0x58, 0xa6, 0x6a,
- 0x2d, 0x4d, 0x21, 0xca, 0x58, 0x2a, 0x61, 0x44, 0xd0, 0xcf, 0x79, 0x26, 0x84, 0x8c, 0xf3, 0xec,
- 0x5e, 0xff, 0x83, 0xea, 0x5b, 0x3f, 0x84, 0x73, 0x60, 0x53, 0x85, 0xdc, 0xe0, 0x6c, 0xbb, 0xb2,
- 0x14, 0x25, 0x26, 0xf8, 0xb2, 0x42, 0x6d, 0x16, 0x76, 0x79, 0x08, 0xbe, 0x56, 0x29, 0x25, 0xcc,
- 0x8b, 0x7a, 0x49, 0x35, 0x06, 0x14, 0x7e, 0x3d, 0xe2, 0x7a, 0xce, 0x9f, 0x91, 0x7a, 0x8c, 0x44,
- 0xbd, 0x64, 0x73, 0x0c, 0xf7, 0x60, 0xb7, 0xdd, 0x4f, 0x4b, 0x51, 0x6a, 0xb4, 0x86, 0xe1, 0x11,
- 0xec, 0x5c, 0x16, 0xda, 0xb8, 0x12, 0xed, 0x64, 0x0e, 0xc0, 0x2b, 0x32, 0x1b, 0xe9, 0x27, 0x5e,
- 0x91, 0x85, 0xef, 0x04, 0xfe, 0xb8, 0xfa, 0x56, 0x5d, 0x10, 0x40, 0x47, 0x72, 0x93, 0x53, 0xcf,
- 0x96, 0xb5, 0x73, 0x70, 0x0c, 0x5d, 0xbd, 0x2a, 0x0c, 0x52, 0x9f, 0x79, 0xd1, 0x60, 0xfc, 0x3f,
- 0x6e, 0xc0, 0x88, 0xa7, 0x85, 0xcc, 0x51, 0xdd, 0x54, 0xef, 0xd6, 0x31, 0xa9, 0xb5, 0xc1, 0x1d,
- 0x8c, 0x6c, 0x9a, 0xb0, 0xb7, 0xa9, 0x78, 0xba, 0x45, 0xa5, 0x0b, 0x51, 0xd2, 0x8e, 0x35, 0x39,
- 0x70, 0x4d, 0xda, 0x94, 0xb5, 0x5d, 0xbb, 0x4b, 0x93, 0x60, 0xd7, 0x56, 0xdd, 0x12, 0x34, 0xc0,
- 0x5a, 0xe1, 0x34, 0x00, 0x06, 0xa7, 0xd0, 0x7d, 0xad, 0x6e, 0x29, 0x61, 0x7e, 0xd4, 0x1f, 0x33,
- 0xa7, 0x4c, 0x0b, 0xa6, 0xa4, 0x96, 0x57, 0xa9, 0x39, 0xd7, 0x57, 0x42, 0xa1, 0x05, 0xf4, 0x3b,
- 0xd9, 0x1c, 0xc3, 0x43, 0xa0, 0x17, 0x68, 0x66, 0xcb, 0x73, 0xa1, 0x16, 0xdc, 0xe4, 0xdf, 0xff,
- 0xff, 0xf0, 0x1a, 0xfe, 0xba, 0xea, 0x66, 0xb9, 0x13, 0xe8, 0x54, 0x69, 0x94, 0x30, 0xf2, 0xa3,
- 0x6e, 0x56, 0x3d, 0x39, 0x83, 0x7d, 0xa1, 0x1e, 0x62, 0x2e, 0x79, 0x9a, 0xa3, 0xb3, 0x23, 0x3f,
- 0xd1, 0xd5, 0xc3, 0x64, 0xf4, 0x85, 0x8c, 0x35, 0xd1, 0x6f, 0x84, 0x7c, 0x04, 0x00, 0x00, 0xff,
- 0xff, 0x8a, 0xb2, 0xc6, 0x30, 0xf7, 0x02, 0x00, 0x00,
+var File_encryption_proto protoreflect.FileDescriptor
+
+var file_encryption_proto_rawDesc = []byte{
+ 0x0a, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x0b, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x1a,
+ 0x0a, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x20, 0x43,
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a,
+ 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72,
+ 0x63, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x23, 0x0a, 0x21, 0x43,
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a,
+ 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x22, 0x31, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52,
+ 0x02, 0x69, 0x64, 0x22, 0xe7, 0x01, 0x0a, 0x13, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5a, 0x6f, 0x6e, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69,
+ 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70,
+ 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12,
+ 0x33, 0x0a, 0x05, 0x73, 0x75, 0x69, 0x74, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x1d,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x69, 0x70,
+ 0x68, 0x65, 0x72, 0x53, 0x75, 0x69, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x73,
+ 0x75, 0x69, 0x74, 0x65, 0x12, 0x5d, 0x0a, 0x15, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20,
+ 0x02, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
+ 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x15, 0x63, 0x72,
+ 0x79, 0x70, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73,
+ 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x74, 0x0a,
+ 0x20, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a,
+ 0x6f, 0x6e, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x36, 0x0a, 0x05, 0x7a, 0x6f, 0x6e, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45,
+ 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a, 0x6f, 0x6e, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x05, 0x7a, 0x6f, 0x6e, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x61, 0x73,
+ 0x4d, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x4d,
+ 0x6f, 0x72, 0x65, 0x22, 0x74, 0x0a, 0x23, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74,
+ 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a, 0x6f, 0x6e, 0x65, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x39, 0x0a, 0x06, 0x61, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79,
+ 0x70, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x61,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20,
+ 0x02, 0x28, 0x09, 0x52, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x26, 0x0a, 0x24, 0x52, 0x65, 0x65,
+ 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x5a, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x22, 0x34, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0xfa, 0x02, 0x0a, 0x1b, 0x5a, 0x6f, 0x6e, 0x65,
+ 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74,
+ 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
+ 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x39, 0x0a, 0x05, 0x73,
+ 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x65, 0x7a, 0x4b, 0x65, 0x79, 0x56,
+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x10, 0x65, 0x7a, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61,
+ 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
+ 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x02, 0x28, 0x03, 0x52, 0x0e, 0x73, 0x75, 0x62, 0x6d,
+ 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61,
+ 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x08, 0x52, 0x08, 0x63, 0x61,
+ 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x65,
+ 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x02, 0x28, 0x03, 0x52, 0x0e,
+ 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x12, 0x20,
+ 0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x08, 0x20,
+ 0x02, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73,
+ 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69,
+ 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65,
+ 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74,
+ 0x46, 0x69, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74,
+ 0x46, 0x69, 0x6c, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x65,
+ 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x44, 0x0a, 0x08,
+ 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x5a, 0x6f, 0x6e,
+ 0x65, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
+ 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20,
+ 0x02, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x4d, 0x6f, 0x72, 0x65, 0x22, 0x2c, 0x0a, 0x18,
+ 0x47, 0x65, 0x74, 0x45, 0x5a, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x22, 0x51, 0x0a, 0x19, 0x47, 0x65,
+ 0x74, 0x45, 0x5a, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x0a, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a, 0x6f,
+ 0x6e, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x2a, 0x41, 0x0a,
+ 0x14, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x5f,
+ 0x52, 0x45, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53,
+ 0x54, 0x41, 0x52, 0x54, 0x5f, 0x52, 0x45, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x10, 0x02,
+ 0x2a, 0x46, 0x0a, 0x16, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55,
+ 0x42, 0x4d, 0x49, 0x54, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f,
+ 0x43, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d,
+ 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 0x42, 0x7d, 0x0a, 0x25, 0x6f, 0x72, 0x67, 0x2e,
+ 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x42, 0x15, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5a, 0x6f, 0x6e,
+ 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68,
+ 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f,
+ 0x68, 0x64, 0x66, 0x73, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_encryption_proto_rawDescOnce sync.Once
+ file_encryption_proto_rawDescData = file_encryption_proto_rawDesc
+)
+
+func file_encryption_proto_rawDescGZIP() []byte {
+ file_encryption_proto_rawDescOnce.Do(func() {
+ file_encryption_proto_rawDescData = protoimpl.X.CompressGZIP(file_encryption_proto_rawDescData)
+ })
+ return file_encryption_proto_rawDescData
+}
+
+var file_encryption_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
+var file_encryption_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
+var file_encryption_proto_goTypes = []interface{}{
+ (ReencryptActionProto)(0), // 0: hadoop.hdfs.ReencryptActionProto
+ (ReencryptionStateProto)(0), // 1: hadoop.hdfs.ReencryptionStateProto
+ (*CreateEncryptionZoneRequestProto)(nil), // 2: hadoop.hdfs.CreateEncryptionZoneRequestProto
+ (*CreateEncryptionZoneResponseProto)(nil), // 3: hadoop.hdfs.CreateEncryptionZoneResponseProto
+ (*ListEncryptionZonesRequestProto)(nil), // 4: hadoop.hdfs.ListEncryptionZonesRequestProto
+ (*EncryptionZoneProto)(nil), // 5: hadoop.hdfs.EncryptionZoneProto
+ (*ListEncryptionZonesResponseProto)(nil), // 6: hadoop.hdfs.ListEncryptionZonesResponseProto
+ (*ReencryptEncryptionZoneRequestProto)(nil), // 7: hadoop.hdfs.ReencryptEncryptionZoneRequestProto
+ (*ReencryptEncryptionZoneResponseProto)(nil), // 8: hadoop.hdfs.ReencryptEncryptionZoneResponseProto
+ (*ListReencryptionStatusRequestProto)(nil), // 9: hadoop.hdfs.ListReencryptionStatusRequestProto
+ (*ZoneReencryptionStatusProto)(nil), // 10: hadoop.hdfs.ZoneReencryptionStatusProto
+ (*ListReencryptionStatusResponseProto)(nil), // 11: hadoop.hdfs.ListReencryptionStatusResponseProto
+ (*GetEZForPathRequestProto)(nil), // 12: hadoop.hdfs.GetEZForPathRequestProto
+ (*GetEZForPathResponseProto)(nil), // 13: hadoop.hdfs.GetEZForPathResponseProto
+ (CipherSuiteProto)(0), // 14: hadoop.hdfs.CipherSuiteProto
+ (CryptoProtocolVersionProto)(0), // 15: hadoop.hdfs.CryptoProtocolVersionProto
+}
+var file_encryption_proto_depIdxs = []int32{
+ 14, // 0: hadoop.hdfs.EncryptionZoneProto.suite:type_name -> hadoop.hdfs.CipherSuiteProto
+ 15, // 1: hadoop.hdfs.EncryptionZoneProto.cryptoProtocolVersion:type_name -> hadoop.hdfs.CryptoProtocolVersionProto
+ 5, // 2: hadoop.hdfs.ListEncryptionZonesResponseProto.zones:type_name -> hadoop.hdfs.EncryptionZoneProto
+ 0, // 3: hadoop.hdfs.ReencryptEncryptionZoneRequestProto.action:type_name -> hadoop.hdfs.ReencryptActionProto
+ 1, // 4: hadoop.hdfs.ZoneReencryptionStatusProto.state:type_name -> hadoop.hdfs.ReencryptionStateProto
+ 10, // 5: hadoop.hdfs.ListReencryptionStatusResponseProto.statuses:type_name -> hadoop.hdfs.ZoneReencryptionStatusProto
+ 5, // 6: hadoop.hdfs.GetEZForPathResponseProto.zone:type_name -> hadoop.hdfs.EncryptionZoneProto
+ 7, // [7:7] is the sub-list for method output_type
+ 7, // [7:7] is the sub-list for method input_type
+ 7, // [7:7] is the sub-list for extension type_name
+ 7, // [7:7] is the sub-list for extension extendee
+ 0, // [0:7] is the sub-list for field type_name
+}
+
+func init() { file_encryption_proto_init() }
+func file_encryption_proto_init() {
+ if File_encryption_proto != nil {
+ return
+ }
+ file_hdfs_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_encryption_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateEncryptionZoneRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_encryption_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateEncryptionZoneResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_encryption_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListEncryptionZonesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_encryption_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*EncryptionZoneProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_encryption_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListEncryptionZonesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_encryption_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ReencryptEncryptionZoneRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_encryption_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ReencryptEncryptionZoneResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_encryption_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListReencryptionStatusRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_encryption_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ZoneReencryptionStatusProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_encryption_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListReencryptionStatusResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_encryption_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetEZForPathRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_encryption_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetEZForPathResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_encryption_proto_rawDesc,
+ NumEnums: 2,
+ NumMessages: 12,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_encryption_proto_goTypes,
+ DependencyIndexes: file_encryption_proto_depIdxs,
+ EnumInfos: file_encryption_proto_enumTypes,
+ MessageInfos: file_encryption_proto_msgTypes,
+ }.Build()
+ File_encryption_proto = out.File
+ file_encryption_proto_rawDesc = nil
+ file_encryption_proto_goTypes = nil
+ file_encryption_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_hdfs/encryption.proto b/internal/protocol/hadoop_hdfs/encryption.proto
index 68b2f3a..b4a689e 100644
--- a/internal/protocol/hadoop_hdfs/encryption.proto
+++ b/internal/protocol/hadoop_hdfs/encryption.proto
@@ -21,7 +21,7 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax="proto2";
// This file contains protocol buffers that are used throughout HDFS -- i.e.
// by the client, server, and data transfer protocols.
@@ -29,6 +29,7 @@
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
option java_outer_classname = "EncryptionZonesProtos";
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
package hadoop.hdfs;
import "hdfs.proto";
@@ -58,6 +59,47 @@ message ListEncryptionZonesResponseProto {
required bool hasMore = 2;
}
+enum ReencryptActionProto {
+ CANCEL_REENCRYPT = 1;
+ START_REENCRYPT = 2;
+}
+
+message ReencryptEncryptionZoneRequestProto {
+ required ReencryptActionProto action = 1;
+ required string zone = 2;
+}
+
+message ReencryptEncryptionZoneResponseProto {
+}
+
+message ListReencryptionStatusRequestProto {
+ required int64 id = 1;
+}
+
+enum ReencryptionStateProto {
+ SUBMITTED = 1;
+ PROCESSING = 2;
+ COMPLETED = 3;
+}
+
+message ZoneReencryptionStatusProto {
+ required int64 id = 1;
+ required string path = 2;
+ required ReencryptionStateProto state = 3;
+ required string ezKeyVersionName = 4;
+ required int64 submissionTime = 5;
+ required bool canceled = 6;
+ required int64 numReencrypted = 7;
+ required int64 numFailures = 8;
+ optional int64 completionTime = 9;
+ optional string lastFile = 10;
+}
+
+message ListReencryptionStatusResponseProto {
+ repeated ZoneReencryptionStatusProto statuses = 1;
+ required bool hasMore = 2;
+}
+
message GetEZForPathRequestProto {
required string src = 1;
}
diff --git a/internal/protocol/hadoop_hdfs/erasurecoding.pb.go b/internal/protocol/hadoop_hdfs/erasurecoding.pb.go
index 3d91d8b..a339bcb 100644
--- a/internal/protocol/hadoop_hdfs/erasurecoding.pb.go
+++ b/internal/protocol/hadoop_hdfs/erasurecoding.pb.go
@@ -1,126 +1,934 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: erasurecoding.proto
package hadoop_hdfs
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
type SetErasureCodingPolicyRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- EcPolicy *ErasureCodingPolicyProto `protobuf:"bytes,2,opt,name=ecPolicy" json:"ecPolicy,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ EcPolicyName *string `protobuf:"bytes,2,opt,name=ecPolicyName" json:"ecPolicyName,omitempty"`
+}
+
+func (x *SetErasureCodingPolicyRequestProto) Reset() {
+ *x = SetErasureCodingPolicyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetErasureCodingPolicyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetErasureCodingPolicyRequestProto) ProtoMessage() {}
+
+func (x *SetErasureCodingPolicyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *SetErasureCodingPolicyRequestProto) Reset() { *m = SetErasureCodingPolicyRequestProto{} }
-func (m *SetErasureCodingPolicyRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SetErasureCodingPolicyRequestProto) ProtoMessage() {}
+// Deprecated: Use SetErasureCodingPolicyRequestProto.ProtoReflect.Descriptor instead.
func (*SetErasureCodingPolicyRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor3, []int{0}
+ return file_erasurecoding_proto_rawDescGZIP(), []int{0}
}
-func (m *SetErasureCodingPolicyRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *SetErasureCodingPolicyRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *SetErasureCodingPolicyRequestProto) GetEcPolicy() *ErasureCodingPolicyProto {
- if m != nil {
- return m.EcPolicy
+func (x *SetErasureCodingPolicyRequestProto) GetEcPolicyName() string {
+ if x != nil && x.EcPolicyName != nil {
+ return *x.EcPolicyName
}
- return nil
+ return ""
}
type SetErasureCodingPolicyResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *SetErasureCodingPolicyResponseProto) Reset() {
+ *x = SetErasureCodingPolicyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetErasureCodingPolicyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetErasureCodingPolicyResponseProto) ProtoMessage() {}
+
+func (x *SetErasureCodingPolicyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *SetErasureCodingPolicyResponseProto) Reset() { *m = SetErasureCodingPolicyResponseProto{} }
-func (m *SetErasureCodingPolicyResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SetErasureCodingPolicyResponseProto) ProtoMessage() {}
+// Deprecated: Use SetErasureCodingPolicyResponseProto.ProtoReflect.Descriptor instead.
func (*SetErasureCodingPolicyResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor3, []int{1}
+ return file_erasurecoding_proto_rawDescGZIP(), []int{1}
}
type GetErasureCodingPoliciesRequestProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *GetErasureCodingPoliciesRequestProto) Reset() {
+ *x = GetErasureCodingPoliciesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetErasureCodingPoliciesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *GetErasureCodingPoliciesRequestProto) Reset() { *m = GetErasureCodingPoliciesRequestProto{} }
-func (m *GetErasureCodingPoliciesRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetErasureCodingPoliciesRequestProto) ProtoMessage() {}
+func (*GetErasureCodingPoliciesRequestProto) ProtoMessage() {}
+
+func (x *GetErasureCodingPoliciesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetErasureCodingPoliciesRequestProto.ProtoReflect.Descriptor instead.
func (*GetErasureCodingPoliciesRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor3, []int{2}
+ return file_erasurecoding_proto_rawDescGZIP(), []int{2}
}
type GetErasureCodingPoliciesResponseProto struct {
- EcPolicies []*ErasureCodingPolicyProto `protobuf:"bytes,1,rep,name=ecPolicies" json:"ecPolicies,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ EcPolicies []*ErasureCodingPolicyProto `protobuf:"bytes,1,rep,name=ecPolicies" json:"ecPolicies,omitempty"`
}
-func (m *GetErasureCodingPoliciesResponseProto) Reset() { *m = GetErasureCodingPoliciesResponseProto{} }
-func (m *GetErasureCodingPoliciesResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetErasureCodingPoliciesResponseProto) ProtoMessage() {}
+func (x *GetErasureCodingPoliciesResponseProto) Reset() {
+ *x = GetErasureCodingPoliciesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetErasureCodingPoliciesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetErasureCodingPoliciesResponseProto) ProtoMessage() {}
+
+func (x *GetErasureCodingPoliciesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetErasureCodingPoliciesResponseProto.ProtoReflect.Descriptor instead.
func (*GetErasureCodingPoliciesResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor3, []int{3}
+ return file_erasurecoding_proto_rawDescGZIP(), []int{3}
}
-func (m *GetErasureCodingPoliciesResponseProto) GetEcPolicies() []*ErasureCodingPolicyProto {
- if m != nil {
- return m.EcPolicies
+func (x *GetErasureCodingPoliciesResponseProto) GetEcPolicies() []*ErasureCodingPolicyProto {
+ if x != nil {
+ return x.EcPolicies
+ }
+ return nil
+}
+
+type GetErasureCodingCodecsRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *GetErasureCodingCodecsRequestProto) Reset() {
+ *x = GetErasureCodingCodecsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetErasureCodingCodecsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetErasureCodingCodecsRequestProto) ProtoMessage() {}
+
+func (x *GetErasureCodingCodecsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetErasureCodingCodecsRequestProto.ProtoReflect.Descriptor instead.
+func (*GetErasureCodingCodecsRequestProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{4}
+}
+
+type GetErasureCodingCodecsResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Codec []*CodecProto `protobuf:"bytes,1,rep,name=codec" json:"codec,omitempty"`
+}
+
+func (x *GetErasureCodingCodecsResponseProto) Reset() {
+ *x = GetErasureCodingCodecsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetErasureCodingCodecsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetErasureCodingCodecsResponseProto) ProtoMessage() {}
+
+func (x *GetErasureCodingCodecsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetErasureCodingCodecsResponseProto.ProtoReflect.Descriptor instead.
+func (*GetErasureCodingCodecsResponseProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *GetErasureCodingCodecsResponseProto) GetCodec() []*CodecProto {
+ if x != nil {
+ return x.Codec
}
return nil
}
type GetErasureCodingPolicyRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"` // path to get the policy info
}
-func (m *GetErasureCodingPolicyRequestProto) Reset() { *m = GetErasureCodingPolicyRequestProto{} }
-func (m *GetErasureCodingPolicyRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetErasureCodingPolicyRequestProto) ProtoMessage() {}
+func (x *GetErasureCodingPolicyRequestProto) Reset() {
+ *x = GetErasureCodingPolicyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetErasureCodingPolicyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetErasureCodingPolicyRequestProto) ProtoMessage() {}
+
+func (x *GetErasureCodingPolicyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetErasureCodingPolicyRequestProto.ProtoReflect.Descriptor instead.
func (*GetErasureCodingPolicyRequestProto) Descriptor() ([]byte, []int) {
- return fileDescriptor3, []int{4}
+ return file_erasurecoding_proto_rawDescGZIP(), []int{6}
}
-func (m *GetErasureCodingPolicyRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *GetErasureCodingPolicyRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
type GetErasureCodingPolicyResponseProto struct {
- EcPolicy *ErasureCodingPolicyProto `protobuf:"bytes,1,opt,name=ecPolicy" json:"ecPolicy,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ EcPolicy *ErasureCodingPolicyProto `protobuf:"bytes,1,opt,name=ecPolicy" json:"ecPolicy,omitempty"`
}
-func (m *GetErasureCodingPolicyResponseProto) Reset() { *m = GetErasureCodingPolicyResponseProto{} }
-func (m *GetErasureCodingPolicyResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetErasureCodingPolicyResponseProto) ProtoMessage() {}
+func (x *GetErasureCodingPolicyResponseProto) Reset() {
+ *x = GetErasureCodingPolicyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetErasureCodingPolicyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetErasureCodingPolicyResponseProto) ProtoMessage() {}
+
+func (x *GetErasureCodingPolicyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetErasureCodingPolicyResponseProto.ProtoReflect.Descriptor instead.
func (*GetErasureCodingPolicyResponseProto) Descriptor() ([]byte, []int) {
- return fileDescriptor3, []int{5}
+ return file_erasurecoding_proto_rawDescGZIP(), []int{7}
+}
+
+func (x *GetErasureCodingPolicyResponseProto) GetEcPolicy() *ErasureCodingPolicyProto {
+ if x != nil {
+ return x.EcPolicy
+ }
+ return nil
+}
+
+type AddErasureCodingPoliciesRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ EcPolicies []*ErasureCodingPolicyProto `protobuf:"bytes,1,rep,name=ecPolicies" json:"ecPolicies,omitempty"`
+}
+
+func (x *AddErasureCodingPoliciesRequestProto) Reset() {
+ *x = AddErasureCodingPoliciesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AddErasureCodingPoliciesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AddErasureCodingPoliciesRequestProto) ProtoMessage() {}
+
+func (x *AddErasureCodingPoliciesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AddErasureCodingPoliciesRequestProto.ProtoReflect.Descriptor instead.
+func (*AddErasureCodingPoliciesRequestProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{8}
+}
+
+func (x *AddErasureCodingPoliciesRequestProto) GetEcPolicies() []*ErasureCodingPolicyProto {
+ if x != nil {
+ return x.EcPolicies
+ }
+ return nil
+}
+
+type AddErasureCodingPoliciesResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Responses []*AddErasureCodingPolicyResponseProto `protobuf:"bytes,1,rep,name=responses" json:"responses,omitempty"`
+}
+
+func (x *AddErasureCodingPoliciesResponseProto) Reset() {
+ *x = AddErasureCodingPoliciesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AddErasureCodingPoliciesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AddErasureCodingPoliciesResponseProto) ProtoMessage() {}
+
+func (x *AddErasureCodingPoliciesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AddErasureCodingPoliciesResponseProto.ProtoReflect.Descriptor instead.
+func (*AddErasureCodingPoliciesResponseProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{9}
+}
+
+func (x *AddErasureCodingPoliciesResponseProto) GetResponses() []*AddErasureCodingPolicyResponseProto {
+ if x != nil {
+ return x.Responses
+ }
+ return nil
+}
+
+type RemoveErasureCodingPolicyRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ EcPolicyName *string `protobuf:"bytes,1,req,name=ecPolicyName" json:"ecPolicyName,omitempty"`
+}
+
+func (x *RemoveErasureCodingPolicyRequestProto) Reset() {
+ *x = RemoveErasureCodingPolicyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveErasureCodingPolicyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveErasureCodingPolicyRequestProto) ProtoMessage() {}
+
+func (x *RemoveErasureCodingPolicyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveErasureCodingPolicyRequestProto.ProtoReflect.Descriptor instead.
+func (*RemoveErasureCodingPolicyRequestProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{10}
+}
+
+func (x *RemoveErasureCodingPolicyRequestProto) GetEcPolicyName() string {
+ if x != nil && x.EcPolicyName != nil {
+ return *x.EcPolicyName
+ }
+ return ""
+}
+
+type RemoveErasureCodingPolicyResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RemoveErasureCodingPolicyResponseProto) Reset() {
+ *x = RemoveErasureCodingPolicyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveErasureCodingPolicyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveErasureCodingPolicyResponseProto) ProtoMessage() {}
+
+func (x *RemoveErasureCodingPolicyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveErasureCodingPolicyResponseProto.ProtoReflect.Descriptor instead.
+func (*RemoveErasureCodingPolicyResponseProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{11}
+}
+
+type EnableErasureCodingPolicyRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ EcPolicyName *string `protobuf:"bytes,1,req,name=ecPolicyName" json:"ecPolicyName,omitempty"`
}
-func (m *GetErasureCodingPolicyResponseProto) GetEcPolicy() *ErasureCodingPolicyProto {
- if m != nil {
- return m.EcPolicy
+func (x *EnableErasureCodingPolicyRequestProto) Reset() {
+ *x = EnableErasureCodingPolicyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *EnableErasureCodingPolicyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*EnableErasureCodingPolicyRequestProto) ProtoMessage() {}
+
+func (x *EnableErasureCodingPolicyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[12]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use EnableErasureCodingPolicyRequestProto.ProtoReflect.Descriptor instead.
+func (*EnableErasureCodingPolicyRequestProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{12}
+}
+
+func (x *EnableErasureCodingPolicyRequestProto) GetEcPolicyName() string {
+ if x != nil && x.EcPolicyName != nil {
+ return *x.EcPolicyName
+ }
+ return ""
+}
+
+type EnableErasureCodingPolicyResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *EnableErasureCodingPolicyResponseProto) Reset() {
+ *x = EnableErasureCodingPolicyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *EnableErasureCodingPolicyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*EnableErasureCodingPolicyResponseProto) ProtoMessage() {}
+
+func (x *EnableErasureCodingPolicyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[13]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use EnableErasureCodingPolicyResponseProto.ProtoReflect.Descriptor instead.
+func (*EnableErasureCodingPolicyResponseProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{13}
+}
+
+type DisableErasureCodingPolicyRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ EcPolicyName *string `protobuf:"bytes,1,req,name=ecPolicyName" json:"ecPolicyName,omitempty"`
+}
+
+func (x *DisableErasureCodingPolicyRequestProto) Reset() {
+ *x = DisableErasureCodingPolicyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DisableErasureCodingPolicyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DisableErasureCodingPolicyRequestProto) ProtoMessage() {}
+
+func (x *DisableErasureCodingPolicyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[14]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DisableErasureCodingPolicyRequestProto.ProtoReflect.Descriptor instead.
+func (*DisableErasureCodingPolicyRequestProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{14}
+}
+
+func (x *DisableErasureCodingPolicyRequestProto) GetEcPolicyName() string {
+ if x != nil && x.EcPolicyName != nil {
+ return *x.EcPolicyName
+ }
+ return ""
+}
+
+type DisableErasureCodingPolicyResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *DisableErasureCodingPolicyResponseProto) Reset() {
+ *x = DisableErasureCodingPolicyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DisableErasureCodingPolicyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DisableErasureCodingPolicyResponseProto) ProtoMessage() {}
+
+func (x *DisableErasureCodingPolicyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[15]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DisableErasureCodingPolicyResponseProto.ProtoReflect.Descriptor instead.
+func (*DisableErasureCodingPolicyResponseProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{15}
+}
+
+type UnsetErasureCodingPolicyRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+}
+
+func (x *UnsetErasureCodingPolicyRequestProto) Reset() {
+ *x = UnsetErasureCodingPolicyRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[16]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UnsetErasureCodingPolicyRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UnsetErasureCodingPolicyRequestProto) ProtoMessage() {}
+
+func (x *UnsetErasureCodingPolicyRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[16]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UnsetErasureCodingPolicyRequestProto.ProtoReflect.Descriptor instead.
+func (*UnsetErasureCodingPolicyRequestProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{16}
+}
+
+func (x *UnsetErasureCodingPolicyRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
+ }
+ return ""
+}
+
+type UnsetErasureCodingPolicyResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *UnsetErasureCodingPolicyResponseProto) Reset() {
+ *x = UnsetErasureCodingPolicyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[17]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *UnsetErasureCodingPolicyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UnsetErasureCodingPolicyResponseProto) ProtoMessage() {}
+
+func (x *UnsetErasureCodingPolicyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[17]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UnsetErasureCodingPolicyResponseProto.ProtoReflect.Descriptor instead.
+func (*UnsetErasureCodingPolicyResponseProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{17}
+}
+
+type GetECTopologyResultForPoliciesRequestProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Policies []string `protobuf:"bytes,1,rep,name=policies" json:"policies,omitempty"`
+}
+
+func (x *GetECTopologyResultForPoliciesRequestProto) Reset() {
+ *x = GetECTopologyResultForPoliciesRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[18]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetECTopologyResultForPoliciesRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetECTopologyResultForPoliciesRequestProto) ProtoMessage() {}
+
+func (x *GetECTopologyResultForPoliciesRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[18]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetECTopologyResultForPoliciesRequestProto.ProtoReflect.Descriptor instead.
+func (*GetECTopologyResultForPoliciesRequestProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{18}
+}
+
+func (x *GetECTopologyResultForPoliciesRequestProto) GetPolicies() []string {
+ if x != nil {
+ return x.Policies
}
return nil
}
-// *
+type GetECTopologyResultForPoliciesResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Response *ECTopologyVerifierResultProto `protobuf:"bytes,1,req,name=response" json:"response,omitempty"`
+}
+
+func (x *GetECTopologyResultForPoliciesResponseProto) Reset() {
+ *x = GetECTopologyResultForPoliciesResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[19]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetECTopologyResultForPoliciesResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetECTopologyResultForPoliciesResponseProto) ProtoMessage() {}
+
+func (x *GetECTopologyResultForPoliciesResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[19]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetECTopologyResultForPoliciesResponseProto.ProtoReflect.Descriptor instead.
+func (*GetECTopologyResultForPoliciesResponseProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{19}
+}
+
+func (x *GetECTopologyResultForPoliciesResponseProto) GetResponse() *ECTopologyVerifierResultProto {
+ if x != nil {
+ return x.Response
+ }
+ return nil
+}
+
+//*
// Block erasure coding reconstruction info
type BlockECReconstructionInfoProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Block *ExtendedBlockProto `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
SourceDnInfos *DatanodeInfosProto `protobuf:"bytes,2,req,name=sourceDnInfos" json:"sourceDnInfos,omitempty"`
TargetDnInfos *DatanodeInfosProto `protobuf:"bytes,3,req,name=targetDnInfos" json:"targetDnInfos,omitempty"`
@@ -128,101 +936,640 @@ type BlockECReconstructionInfoProto struct {
TargetStorageTypes *StorageTypesProto `protobuf:"bytes,5,req,name=targetStorageTypes" json:"targetStorageTypes,omitempty"`
LiveBlockIndices []byte `protobuf:"bytes,6,req,name=liveBlockIndices" json:"liveBlockIndices,omitempty"`
EcPolicy *ErasureCodingPolicyProto `protobuf:"bytes,7,req,name=ecPolicy" json:"ecPolicy,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *BlockECReconstructionInfoProto) Reset() { *m = BlockECReconstructionInfoProto{} }
-func (m *BlockECReconstructionInfoProto) String() string { return proto.CompactTextString(m) }
-func (*BlockECReconstructionInfoProto) ProtoMessage() {}
-func (*BlockECReconstructionInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{6} }
+func (x *BlockECReconstructionInfoProto) Reset() {
+ *x = BlockECReconstructionInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[20]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *BlockECReconstructionInfoProto) GetBlock() *ExtendedBlockProto {
- if m != nil {
- return m.Block
+func (x *BlockECReconstructionInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BlockECReconstructionInfoProto) ProtoMessage() {}
+
+func (x *BlockECReconstructionInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[20]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BlockECReconstructionInfoProto.ProtoReflect.Descriptor instead.
+func (*BlockECReconstructionInfoProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{20}
+}
+
+func (x *BlockECReconstructionInfoProto) GetBlock() *ExtendedBlockProto {
+ if x != nil {
+ return x.Block
}
return nil
}
-func (m *BlockECReconstructionInfoProto) GetSourceDnInfos() *DatanodeInfosProto {
- if m != nil {
- return m.SourceDnInfos
+func (x *BlockECReconstructionInfoProto) GetSourceDnInfos() *DatanodeInfosProto {
+ if x != nil {
+ return x.SourceDnInfos
}
return nil
}
-func (m *BlockECReconstructionInfoProto) GetTargetDnInfos() *DatanodeInfosProto {
- if m != nil {
- return m.TargetDnInfos
+func (x *BlockECReconstructionInfoProto) GetTargetDnInfos() *DatanodeInfosProto {
+ if x != nil {
+ return x.TargetDnInfos
}
return nil
}
-func (m *BlockECReconstructionInfoProto) GetTargetStorageUuids() *StorageUuidsProto {
- if m != nil {
- return m.TargetStorageUuids
+func (x *BlockECReconstructionInfoProto) GetTargetStorageUuids() *StorageUuidsProto {
+ if x != nil {
+ return x.TargetStorageUuids
}
return nil
}
-func (m *BlockECReconstructionInfoProto) GetTargetStorageTypes() *StorageTypesProto {
- if m != nil {
- return m.TargetStorageTypes
+func (x *BlockECReconstructionInfoProto) GetTargetStorageTypes() *StorageTypesProto {
+ if x != nil {
+ return x.TargetStorageTypes
}
return nil
}
-func (m *BlockECReconstructionInfoProto) GetLiveBlockIndices() []byte {
- if m != nil {
- return m.LiveBlockIndices
+func (x *BlockECReconstructionInfoProto) GetLiveBlockIndices() []byte {
+ if x != nil {
+ return x.LiveBlockIndices
}
return nil
}
-func (m *BlockECReconstructionInfoProto) GetEcPolicy() *ErasureCodingPolicyProto {
- if m != nil {
- return m.EcPolicy
+func (x *BlockECReconstructionInfoProto) GetEcPolicy() *ErasureCodingPolicyProto {
+ if x != nil {
+ return x.EcPolicy
}
return nil
}
-func init() {
- proto.RegisterType((*SetErasureCodingPolicyRequestProto)(nil), "hadoop.hdfs.SetErasureCodingPolicyRequestProto")
- proto.RegisterType((*SetErasureCodingPolicyResponseProto)(nil), "hadoop.hdfs.SetErasureCodingPolicyResponseProto")
- proto.RegisterType((*GetErasureCodingPoliciesRequestProto)(nil), "hadoop.hdfs.GetErasureCodingPoliciesRequestProto")
- proto.RegisterType((*GetErasureCodingPoliciesResponseProto)(nil), "hadoop.hdfs.GetErasureCodingPoliciesResponseProto")
- proto.RegisterType((*GetErasureCodingPolicyRequestProto)(nil), "hadoop.hdfs.GetErasureCodingPolicyRequestProto")
- proto.RegisterType((*GetErasureCodingPolicyResponseProto)(nil), "hadoop.hdfs.GetErasureCodingPolicyResponseProto")
- proto.RegisterType((*BlockECReconstructionInfoProto)(nil), "hadoop.hdfs.BlockECReconstructionInfoProto")
-}
-
-func init() { proto.RegisterFile("erasurecoding.proto", fileDescriptor3) }
-
-var fileDescriptor3 = []byte{
- // 404 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xcf, 0x6e, 0xd4, 0x30,
- 0x10, 0x87, 0x95, 0x5d, 0xca, 0x9f, 0x59, 0x90, 0xaa, 0xf4, 0x12, 0x71, 0x28, 0x91, 0x4b, 0xd0,
- 0x8a, 0x43, 0x0e, 0x95, 0xe0, 0x8a, 0xd8, 0x36, 0x5a, 0xf5, 0x82, 0xaa, 0x14, 0x1e, 0xc0, 0xd8,
- 0xd3, 0xc4, 0x22, 0xf2, 0x04, 0xdb, 0x41, 0xec, 0xdb, 0xf0, 0x90, 0x3c, 0x00, 0x8a, 0x0d, 0x28,
- 0x56, 0xb3, 0xa2, 0xec, 0x65, 0x65, 0x8d, 0x7f, 0xdf, 0x37, 0xb3, 0x63, 0x05, 0x4e, 0xd0, 0x70,
- 0x3b, 0x18, 0x14, 0x24, 0x95, 0x6e, 0xca, 0xde, 0x90, 0xa3, 0x74, 0xd5, 0x72, 0x49, 0xd4, 0x97,
- 0xad, 0xbc, 0xb5, 0xcf, 0x61, 0xfc, 0x0d, 0x17, 0x6c, 0x07, 0xec, 0x06, 0x5d, 0x15, 0x90, 0x0b,
- 0x8f, 0x5c, 0x53, 0xa7, 0xc4, 0xae, 0xc6, 0xaf, 0x03, 0x5a, 0x77, 0xed, 0xf1, 0x63, 0x58, 0x5a,
- 0x23, 0xb2, 0x24, 0x5f, 0xac, 0x9f, 0xd4, 0xe3, 0x31, 0x7d, 0x0f, 0x8f, 0x51, 0x84, 0x64, 0xb6,
- 0xc8, 0x93, 0xf5, 0xea, 0xbc, 0x28, 0x27, 0x3d, 0xca, 0x19, 0xa3, 0x57, 0xd5, 0x7f, 0x31, 0x56,
- 0xc0, 0xd9, 0xbe, 0xd6, 0xb6, 0x27, 0x6d, 0xd1, 0x03, 0xec, 0x15, 0xbc, 0xdc, 0xce, 0xc5, 0x14,
- 0xda, 0xe9, 0x8c, 0x4c, 0x43, 0xb1, 0x3f, 0x37, 0x11, 0xa6, 0x15, 0xc0, 0xef, 0x19, 0x14, 0xda,
- 0x2c, 0xc9, 0x97, 0xf7, 0x1f, 0x7e, 0x02, 0xb2, 0xb7, 0xc0, 0xb6, 0x07, 0x6c, 0x8e, 0xb5, 0x70,
- 0xb6, 0xfd, 0xf7, 0xdf, 0x8e, 0x16, 0x9c, 0x1c, 0xb6, 0xe0, 0x9f, 0x4b, 0x38, 0xdd, 0x74, 0x24,
- 0xbe, 0x54, 0x17, 0x35, 0x0a, 0xd2, 0xd6, 0x99, 0x41, 0x38, 0x45, 0xfa, 0x4a, 0xdf, 0x52, 0xe8,
- 0xf2, 0x06, 0x8e, 0x3e, 0x8f, 0x09, 0x3f, 0xe0, 0xea, 0xfc, 0x45, 0xdc, 0xe2, 0xbb, 0x43, 0x2d,
- 0x51, 0x7a, 0x47, 0x90, 0x87, 0x74, 0x5a, 0xc1, 0x33, 0x4b, 0x83, 0x11, 0x78, 0xe9, 0x5d, 0x36,
- 0x5b, 0xcc, 0xe0, 0x97, 0xdc, 0x71, 0x4d, 0x12, 0x7d, 0x22, 0xe0, 0x31, 0x35, 0x6a, 0x1c, 0x37,
- 0x0d, 0xba, 0x3f, 0x9a, 0xe5, 0x3d, 0x35, 0x11, 0x95, 0x7e, 0x80, 0x34, 0x14, 0x6e, 0x1c, 0x19,
- 0xde, 0xe0, 0xa7, 0x41, 0x49, 0x9b, 0x3d, 0xf0, 0xae, 0xd3, 0xc8, 0x35, 0x0d, 0x04, 0xd5, 0x0c,
- 0x79, 0xc7, 0xf7, 0x71, 0xd7, 0xa3, 0xcd, 0x8e, 0xf6, 0xfb, 0x7c, 0x60, 0xce, 0xe7, 0x2f, 0xd2,
- 0xd7, 0x70, 0xdc, 0xa9, 0x6f, 0xe8, 0xd7, 0x78, 0xa5, 0xa5, 0x12, 0x68, 0xb3, 0x87, 0xf9, 0x62,
- 0xfd, 0xb4, 0xbe, 0x53, 0x8f, 0x9e, 0xfd, 0x91, 0xef, 0xf8, 0xbf, 0xcf, 0xbe, 0x79, 0x07, 0x05,
- 0x99, 0xa6, 0xe4, 0x3d, 0x17, 0x2d, 0x46, 0xb0, 0xff, 0xe4, 0x05, 0x75, 0xe1, 0xb0, 0x39, 0x89,
- 0x65, 0x63, 0xcd, 0xfe, 0x48, 0x92, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x01, 0xdd, 0x67, 0x30,
- 0x42, 0x04, 0x00, 0x00,
+//*
+// Codec and it's corresponding coders
+type CodecProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Codec *string `protobuf:"bytes,1,req,name=codec" json:"codec,omitempty"`
+ Coders *string `protobuf:"bytes,2,req,name=coders" json:"coders,omitempty"`
+}
+
+func (x *CodecProto) Reset() {
+ *x = CodecProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_erasurecoding_proto_msgTypes[21]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CodecProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CodecProto) ProtoMessage() {}
+
+func (x *CodecProto) ProtoReflect() protoreflect.Message {
+ mi := &file_erasurecoding_proto_msgTypes[21]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CodecProto.ProtoReflect.Descriptor instead.
+func (*CodecProto) Descriptor() ([]byte, []int) {
+ return file_erasurecoding_proto_rawDescGZIP(), []int{21}
+}
+
+func (x *CodecProto) GetCodec() string {
+ if x != nil && x.Codec != nil {
+ return *x.Codec
+ }
+ return ""
+}
+
+func (x *CodecProto) GetCoders() string {
+ if x != nil && x.Coders != nil {
+ return *x.Coders
+ }
+ return ""
+}
+
+var File_erasurecoding_proto protoreflect.FileDescriptor
+
+var file_erasurecoding_proto_rawDesc = []byte{
+ 0x0a, 0x13, 0x65, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x1a, 0x0a, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a,
+ 0x0a, 0x22, 0x53, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69,
+ 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x63,
+ 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x25, 0x0a, 0x23, 0x53, 0x65,
+ 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x22, 0x26, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43,
+ 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x25, 0x47, 0x65, 0x74,
+ 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x45, 0x0a, 0x0a, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
+ 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69,
+ 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x65,
+ 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x22, 0x24, 0x0a, 0x22, 0x47, 0x65, 0x74,
+ 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x64,
+ 0x65, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22,
+ 0x54, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64,
+ 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18,
+ 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05,
+ 0x63, 0x6f, 0x64, 0x65, 0x63, 0x22, 0x36, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73,
+ 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73,
+ 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x22, 0x68, 0x0a,
+ 0x23, 0x47, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e,
+ 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x41, 0x0a, 0x08, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69,
+ 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65,
+ 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x6d, 0x0a, 0x24, 0x41, 0x64, 0x64, 0x45, 0x72,
+ 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63,
+ 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x45, 0x0a, 0x0a, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50,
+ 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x65, 0x63, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x22, 0x77, 0x0a, 0x25, 0x41, 0x64, 0x64, 0x45, 0x72, 0x61,
+ 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
+ 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x4e, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x41, 0x64, 0x64, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e,
+ 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x22,
+ 0x4b, 0x0a, 0x25, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65,
+ 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x63, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c,
+ 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x28, 0x0a, 0x26,
+ 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64,
+ 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x25, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
+ 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x22, 0x0a, 0x0c, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e,
+ 0x61, 0x6d, 0x65, 0x22, 0x28, 0x0a, 0x26, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x72, 0x61,
+ 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a,
+ 0x26, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43,
+ 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x63, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x65,
+ 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x29, 0x0a, 0x27, 0x44,
+ 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64,
+ 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a, 0x24, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x45,
+ 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10,
+ 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63,
+ 0x22, 0x27, 0x0a, 0x25, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65,
+ 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x2a, 0x47, 0x65, 0x74,
+ 0x45, 0x43, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
+ 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63,
+ 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63,
+ 0x69, 0x65, 0x73, 0x22, 0x75, 0x0a, 0x2b, 0x47, 0x65, 0x74, 0x45, 0x43, 0x54, 0x6f, 0x70, 0x6f,
+ 0x6c, 0x6f, 0x67, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x46, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x45, 0x43, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x56, 0x65, 0x72,
+ 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf4, 0x03, 0x0a, 0x1e, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x43, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x35, 0x0a,
+ 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
+ 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x45, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x6e,
+ 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f,
+ 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0d, 0x73, 0x6f,
+ 0x75, 0x72, 0x63, 0x65, 0x44, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x74,
+ 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x02,
+ 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x6e, 0x49, 0x6e, 0x66,
+ 0x6f, 0x73, 0x12, 0x4e, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72,
+ 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1e,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f,
+ 0x72, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x12,
+ 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69,
+ 0x64, 0x73, 0x12, 0x4e, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72,
+ 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1e,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f,
+ 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x12,
+ 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
+ 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x6c, 0x69, 0x76, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49,
+ 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x10, 0x6c, 0x69,
+ 0x76, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, 0x41,
+ 0x0a, 0x08, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x02, 0x28, 0x0b,
+ 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45,
+ 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63,
+ 0x79, 0x22, 0x3a, 0x0a, 0x0a, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x05,
+ 0x63, 0x6f, 0x64, 0x65, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x73, 0x18,
+ 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x73, 0x42, 0x7b, 0x0a,
+ 0x25, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x13, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43,
+ 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3a, 0x67, 0x69, 0x74,
+ 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61, 0x72,
+ 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
+ 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x5f, 0x68, 0x64, 0x66, 0x73, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_erasurecoding_proto_rawDescOnce sync.Once
+ file_erasurecoding_proto_rawDescData = file_erasurecoding_proto_rawDesc
+)
+
+func file_erasurecoding_proto_rawDescGZIP() []byte {
+ file_erasurecoding_proto_rawDescOnce.Do(func() {
+ file_erasurecoding_proto_rawDescData = protoimpl.X.CompressGZIP(file_erasurecoding_proto_rawDescData)
+ })
+ return file_erasurecoding_proto_rawDescData
+}
+
+var file_erasurecoding_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
+var file_erasurecoding_proto_goTypes = []interface{}{
+ (*SetErasureCodingPolicyRequestProto)(nil), // 0: hadoop.hdfs.SetErasureCodingPolicyRequestProto
+ (*SetErasureCodingPolicyResponseProto)(nil), // 1: hadoop.hdfs.SetErasureCodingPolicyResponseProto
+ (*GetErasureCodingPoliciesRequestProto)(nil), // 2: hadoop.hdfs.GetErasureCodingPoliciesRequestProto
+ (*GetErasureCodingPoliciesResponseProto)(nil), // 3: hadoop.hdfs.GetErasureCodingPoliciesResponseProto
+ (*GetErasureCodingCodecsRequestProto)(nil), // 4: hadoop.hdfs.GetErasureCodingCodecsRequestProto
+ (*GetErasureCodingCodecsResponseProto)(nil), // 5: hadoop.hdfs.GetErasureCodingCodecsResponseProto
+ (*GetErasureCodingPolicyRequestProto)(nil), // 6: hadoop.hdfs.GetErasureCodingPolicyRequestProto
+ (*GetErasureCodingPolicyResponseProto)(nil), // 7: hadoop.hdfs.GetErasureCodingPolicyResponseProto
+ (*AddErasureCodingPoliciesRequestProto)(nil), // 8: hadoop.hdfs.AddErasureCodingPoliciesRequestProto
+ (*AddErasureCodingPoliciesResponseProto)(nil), // 9: hadoop.hdfs.AddErasureCodingPoliciesResponseProto
+ (*RemoveErasureCodingPolicyRequestProto)(nil), // 10: hadoop.hdfs.RemoveErasureCodingPolicyRequestProto
+ (*RemoveErasureCodingPolicyResponseProto)(nil), // 11: hadoop.hdfs.RemoveErasureCodingPolicyResponseProto
+ (*EnableErasureCodingPolicyRequestProto)(nil), // 12: hadoop.hdfs.EnableErasureCodingPolicyRequestProto
+ (*EnableErasureCodingPolicyResponseProto)(nil), // 13: hadoop.hdfs.EnableErasureCodingPolicyResponseProto
+ (*DisableErasureCodingPolicyRequestProto)(nil), // 14: hadoop.hdfs.DisableErasureCodingPolicyRequestProto
+ (*DisableErasureCodingPolicyResponseProto)(nil), // 15: hadoop.hdfs.DisableErasureCodingPolicyResponseProto
+ (*UnsetErasureCodingPolicyRequestProto)(nil), // 16: hadoop.hdfs.UnsetErasureCodingPolicyRequestProto
+ (*UnsetErasureCodingPolicyResponseProto)(nil), // 17: hadoop.hdfs.UnsetErasureCodingPolicyResponseProto
+ (*GetECTopologyResultForPoliciesRequestProto)(nil), // 18: hadoop.hdfs.GetECTopologyResultForPoliciesRequestProto
+ (*GetECTopologyResultForPoliciesResponseProto)(nil), // 19: hadoop.hdfs.GetECTopologyResultForPoliciesResponseProto
+ (*BlockECReconstructionInfoProto)(nil), // 20: hadoop.hdfs.BlockECReconstructionInfoProto
+ (*CodecProto)(nil), // 21: hadoop.hdfs.CodecProto
+ (*ErasureCodingPolicyProto)(nil), // 22: hadoop.hdfs.ErasureCodingPolicyProto
+ (*AddErasureCodingPolicyResponseProto)(nil), // 23: hadoop.hdfs.AddErasureCodingPolicyResponseProto
+ (*ECTopologyVerifierResultProto)(nil), // 24: hadoop.hdfs.ECTopologyVerifierResultProto
+ (*ExtendedBlockProto)(nil), // 25: hadoop.hdfs.ExtendedBlockProto
+ (*DatanodeInfosProto)(nil), // 26: hadoop.hdfs.DatanodeInfosProto
+ (*StorageUuidsProto)(nil), // 27: hadoop.hdfs.StorageUuidsProto
+ (*StorageTypesProto)(nil), // 28: hadoop.hdfs.StorageTypesProto
+}
+var file_erasurecoding_proto_depIdxs = []int32{
+ 22, // 0: hadoop.hdfs.GetErasureCodingPoliciesResponseProto.ecPolicies:type_name -> hadoop.hdfs.ErasureCodingPolicyProto
+ 21, // 1: hadoop.hdfs.GetErasureCodingCodecsResponseProto.codec:type_name -> hadoop.hdfs.CodecProto
+ 22, // 2: hadoop.hdfs.GetErasureCodingPolicyResponseProto.ecPolicy:type_name -> hadoop.hdfs.ErasureCodingPolicyProto
+ 22, // 3: hadoop.hdfs.AddErasureCodingPoliciesRequestProto.ecPolicies:type_name -> hadoop.hdfs.ErasureCodingPolicyProto
+ 23, // 4: hadoop.hdfs.AddErasureCodingPoliciesResponseProto.responses:type_name -> hadoop.hdfs.AddErasureCodingPolicyResponseProto
+ 24, // 5: hadoop.hdfs.GetECTopologyResultForPoliciesResponseProto.response:type_name -> hadoop.hdfs.ECTopologyVerifierResultProto
+ 25, // 6: hadoop.hdfs.BlockECReconstructionInfoProto.block:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 26, // 7: hadoop.hdfs.BlockECReconstructionInfoProto.sourceDnInfos:type_name -> hadoop.hdfs.DatanodeInfosProto
+ 26, // 8: hadoop.hdfs.BlockECReconstructionInfoProto.targetDnInfos:type_name -> hadoop.hdfs.DatanodeInfosProto
+ 27, // 9: hadoop.hdfs.BlockECReconstructionInfoProto.targetStorageUuids:type_name -> hadoop.hdfs.StorageUuidsProto
+ 28, // 10: hadoop.hdfs.BlockECReconstructionInfoProto.targetStorageTypes:type_name -> hadoop.hdfs.StorageTypesProto
+ 22, // 11: hadoop.hdfs.BlockECReconstructionInfoProto.ecPolicy:type_name -> hadoop.hdfs.ErasureCodingPolicyProto
+ 12, // [12:12] is the sub-list for method output_type
+ 12, // [12:12] is the sub-list for method input_type
+ 12, // [12:12] is the sub-list for extension type_name
+ 12, // [12:12] is the sub-list for extension extendee
+ 0, // [0:12] is the sub-list for field type_name
+}
+
+func init() { file_erasurecoding_proto_init() }
+func file_erasurecoding_proto_init() {
+ if File_erasurecoding_proto != nil {
+ return
+ }
+ file_hdfs_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_erasurecoding_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetErasureCodingPolicyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetErasureCodingPolicyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetErasureCodingPoliciesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetErasureCodingPoliciesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetErasureCodingCodecsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetErasureCodingCodecsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetErasureCodingPolicyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetErasureCodingPolicyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AddErasureCodingPoliciesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AddErasureCodingPoliciesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveErasureCodingPolicyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveErasureCodingPolicyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*EnableErasureCodingPolicyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*EnableErasureCodingPolicyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DisableErasureCodingPolicyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DisableErasureCodingPolicyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UnsetErasureCodingPolicyRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UnsetErasureCodingPolicyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetECTopologyResultForPoliciesRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetECTopologyResultForPoliciesResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BlockECReconstructionInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_erasurecoding_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CodecProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_erasurecoding_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 22,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_erasurecoding_proto_goTypes,
+ DependencyIndexes: file_erasurecoding_proto_depIdxs,
+ MessageInfos: file_erasurecoding_proto_msgTypes,
+ }.Build()
+ File_erasurecoding_proto = out.File
+ file_erasurecoding_proto_rawDesc = nil
+ file_erasurecoding_proto_goTypes = nil
+ file_erasurecoding_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_hdfs/erasurecoding.proto b/internal/protocol/hadoop_hdfs/erasurecoding.proto
index 4bb44fb..15a1751 100644
--- a/internal/protocol/hadoop_hdfs/erasurecoding.proto
+++ b/internal/protocol/hadoop_hdfs/erasurecoding.proto
@@ -15,17 +15,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+syntax="proto2";
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
option java_outer_classname = "ErasureCodingProtos";
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
package hadoop.hdfs;
import "hdfs.proto";
message SetErasureCodingPolicyRequestProto {
required string src = 1;
- optional ErasureCodingPolicyProto ecPolicy = 2;
+ optional string ecPolicyName = 2;
}
message SetErasureCodingPolicyResponseProto {
@@ -38,6 +39,13 @@ message GetErasureCodingPoliciesResponseProto {
repeated ErasureCodingPolicyProto ecPolicies = 1;
}
+message GetErasureCodingCodecsRequestProto { // void request
+}
+
+message GetErasureCodingCodecsResponseProto {
+ repeated CodecProto codec = 1;
+}
+
message GetErasureCodingPolicyRequestProto {
required string src = 1; // path to get the policy info
}
@@ -46,6 +54,50 @@ message GetErasureCodingPolicyResponseProto {
optional ErasureCodingPolicyProto ecPolicy = 1;
}
+message AddErasureCodingPoliciesRequestProto {
+ repeated ErasureCodingPolicyProto ecPolicies = 1;
+}
+
+message AddErasureCodingPoliciesResponseProto {
+ repeated AddErasureCodingPolicyResponseProto responses = 1;
+}
+
+message RemoveErasureCodingPolicyRequestProto {
+ required string ecPolicyName = 1;
+}
+
+message RemoveErasureCodingPolicyResponseProto {
+}
+
+message EnableErasureCodingPolicyRequestProto {
+ required string ecPolicyName = 1;
+}
+
+message EnableErasureCodingPolicyResponseProto {
+}
+
+message DisableErasureCodingPolicyRequestProto {
+ required string ecPolicyName = 1;
+}
+
+message DisableErasureCodingPolicyResponseProto {
+}
+
+message UnsetErasureCodingPolicyRequestProto {
+ required string src = 1;
+}
+
+message UnsetErasureCodingPolicyResponseProto {
+}
+
+message GetECTopologyResultForPoliciesRequestProto {
+ repeated string policies = 1;
+}
+
+message GetECTopologyResultForPoliciesResponseProto {
+ required ECTopologyVerifierResultProto response = 1;
+}
+
/**
* Block erasure coding reconstruction info
*/
@@ -58,3 +110,11 @@ message BlockECReconstructionInfoProto {
required bytes liveBlockIndices = 6;
required ErasureCodingPolicyProto ecPolicy = 7;
}
+
+/**
+ * Codec and it's corresponding coders
+ */
+message CodecProto {
+ required string codec = 1;
+ required string coders = 2;
+}
diff --git a/internal/protocol/hadoop_hdfs/hdfs.pb.go b/internal/protocol/hadoop_hdfs/hdfs.pb.go
index 478d6e3..2af9757 100644
--- a/internal/protocol/hadoop_hdfs/hdfs.pb.go
+++ b/internal/protocol/hadoop_hdfs/hdfs.pb.go
@@ -1,19 +1,49 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: hdfs.proto
package hadoop_hdfs
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-import hadoop_common "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
+import (
+ hadoop_common "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
-// *
+//*
// Types of recognized storage media.
type StorageTypeProto int32
@@ -22,40 +52,123 @@ const (
StorageTypeProto_SSD StorageTypeProto = 2
StorageTypeProto_ARCHIVE StorageTypeProto = 3
StorageTypeProto_RAM_DISK StorageTypeProto = 4
+ StorageTypeProto_PROVIDED StorageTypeProto = 5
)
-var StorageTypeProto_name = map[int32]string{
- 1: "DISK",
- 2: "SSD",
- 3: "ARCHIVE",
- 4: "RAM_DISK",
-}
-var StorageTypeProto_value = map[string]int32{
- "DISK": 1,
- "SSD": 2,
- "ARCHIVE": 3,
- "RAM_DISK": 4,
-}
+// Enum value maps for StorageTypeProto.
+var (
+ StorageTypeProto_name = map[int32]string{
+ 1: "DISK",
+ 2: "SSD",
+ 3: "ARCHIVE",
+ 4: "RAM_DISK",
+ 5: "PROVIDED",
+ }
+ StorageTypeProto_value = map[string]int32{
+ "DISK": 1,
+ "SSD": 2,
+ "ARCHIVE": 3,
+ "RAM_DISK": 4,
+ "PROVIDED": 5,
+ }
+)
func (x StorageTypeProto) Enum() *StorageTypeProto {
p := new(StorageTypeProto)
*p = x
return p
}
+
func (x StorageTypeProto) String() string {
- return proto.EnumName(StorageTypeProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
-func (x *StorageTypeProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(StorageTypeProto_value, data, "StorageTypeProto")
+
+func (StorageTypeProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[0].Descriptor()
+}
+
+func (StorageTypeProto) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[0]
+}
+
+func (x StorageTypeProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *StorageTypeProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = StorageTypeProto(value)
+ *x = StorageTypeProto(num)
return nil
}
-func (StorageTypeProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
-// *
+// Deprecated: Use StorageTypeProto.Descriptor instead.
+func (StorageTypeProto) EnumDescriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{0}
+}
+
+//*
+// Types of recognized blocks.
+type BlockTypeProto int32
+
+const (
+ BlockTypeProto_CONTIGUOUS BlockTypeProto = 0
+ BlockTypeProto_STRIPED BlockTypeProto = 1
+)
+
+// Enum value maps for BlockTypeProto.
+var (
+ BlockTypeProto_name = map[int32]string{
+ 0: "CONTIGUOUS",
+ 1: "STRIPED",
+ }
+ BlockTypeProto_value = map[string]int32{
+ "CONTIGUOUS": 0,
+ "STRIPED": 1,
+ }
+)
+
+func (x BlockTypeProto) Enum() *BlockTypeProto {
+ p := new(BlockTypeProto)
+ *p = x
+ return p
+}
+
+func (x BlockTypeProto) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (BlockTypeProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[1].Descriptor()
+}
+
+func (BlockTypeProto) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[1]
+}
+
+func (x BlockTypeProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *BlockTypeProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = BlockTypeProto(num)
+ return nil
+}
+
+// Deprecated: Use BlockTypeProto.Descriptor instead.
+func (BlockTypeProto) EnumDescriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{1}
+}
+
+//*
// Cipher suite.
type CipherSuiteProto int32
@@ -64,34 +177,56 @@ const (
CipherSuiteProto_AES_CTR_NOPADDING CipherSuiteProto = 2
)
-var CipherSuiteProto_name = map[int32]string{
- 1: "UNKNOWN",
- 2: "AES_CTR_NOPADDING",
-}
-var CipherSuiteProto_value = map[string]int32{
- "UNKNOWN": 1,
- "AES_CTR_NOPADDING": 2,
-}
+// Enum value maps for CipherSuiteProto.
+var (
+ CipherSuiteProto_name = map[int32]string{
+ 1: "UNKNOWN",
+ 2: "AES_CTR_NOPADDING",
+ }
+ CipherSuiteProto_value = map[string]int32{
+ "UNKNOWN": 1,
+ "AES_CTR_NOPADDING": 2,
+ }
+)
func (x CipherSuiteProto) Enum() *CipherSuiteProto {
p := new(CipherSuiteProto)
*p = x
return p
}
+
func (x CipherSuiteProto) String() string {
- return proto.EnumName(CipherSuiteProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
-func (x *CipherSuiteProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(CipherSuiteProto_value, data, "CipherSuiteProto")
+
+func (CipherSuiteProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[2].Descriptor()
+}
+
+func (CipherSuiteProto) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[2]
+}
+
+func (x CipherSuiteProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *CipherSuiteProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = CipherSuiteProto(value)
+ *x = CipherSuiteProto(num)
return nil
}
-func (CipherSuiteProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor8, []int{1} }
-// *
+// Deprecated: Use CipherSuiteProto.Descriptor instead.
+func (CipherSuiteProto) EnumDescriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{2}
+}
+
+//*
// Crypto protocol version used to access encrypted files.
type CryptoProtocolVersionProto int32
@@ -100,34 +235,117 @@ const (
CryptoProtocolVersionProto_ENCRYPTION_ZONES CryptoProtocolVersionProto = 2
)
-var CryptoProtocolVersionProto_name = map[int32]string{
- 1: "UNKNOWN_PROTOCOL_VERSION",
- 2: "ENCRYPTION_ZONES",
-}
-var CryptoProtocolVersionProto_value = map[string]int32{
- "UNKNOWN_PROTOCOL_VERSION": 1,
- "ENCRYPTION_ZONES": 2,
-}
+// Enum value maps for CryptoProtocolVersionProto.
+var (
+ CryptoProtocolVersionProto_name = map[int32]string{
+ 1: "UNKNOWN_PROTOCOL_VERSION",
+ 2: "ENCRYPTION_ZONES",
+ }
+ CryptoProtocolVersionProto_value = map[string]int32{
+ "UNKNOWN_PROTOCOL_VERSION": 1,
+ "ENCRYPTION_ZONES": 2,
+ }
+)
func (x CryptoProtocolVersionProto) Enum() *CryptoProtocolVersionProto {
p := new(CryptoProtocolVersionProto)
*p = x
return p
}
+
func (x CryptoProtocolVersionProto) String() string {
- return proto.EnumName(CryptoProtocolVersionProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (CryptoProtocolVersionProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[3].Descriptor()
}
-func (x *CryptoProtocolVersionProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(CryptoProtocolVersionProto_value, data, "CryptoProtocolVersionProto")
+
+func (CryptoProtocolVersionProto) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[3]
+}
+
+func (x CryptoProtocolVersionProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *CryptoProtocolVersionProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = CryptoProtocolVersionProto(num)
+ return nil
+}
+
+// Deprecated: Use CryptoProtocolVersionProto.Descriptor instead.
+func (CryptoProtocolVersionProto) EnumDescriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{3}
+}
+
+//*
+// EC policy state.
+type ErasureCodingPolicyState int32
+
+const (
+ ErasureCodingPolicyState_DISABLED ErasureCodingPolicyState = 1
+ ErasureCodingPolicyState_ENABLED ErasureCodingPolicyState = 2
+ ErasureCodingPolicyState_REMOVED ErasureCodingPolicyState = 3
+)
+
+// Enum value maps for ErasureCodingPolicyState.
+var (
+ ErasureCodingPolicyState_name = map[int32]string{
+ 1: "DISABLED",
+ 2: "ENABLED",
+ 3: "REMOVED",
+ }
+ ErasureCodingPolicyState_value = map[string]int32{
+ "DISABLED": 1,
+ "ENABLED": 2,
+ "REMOVED": 3,
+ }
+)
+
+func (x ErasureCodingPolicyState) Enum() *ErasureCodingPolicyState {
+ p := new(ErasureCodingPolicyState)
+ *p = x
+ return p
+}
+
+func (x ErasureCodingPolicyState) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (ErasureCodingPolicyState) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[4].Descriptor()
+}
+
+func (ErasureCodingPolicyState) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[4]
+}
+
+func (x ErasureCodingPolicyState) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *ErasureCodingPolicyState) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = CryptoProtocolVersionProto(value)
+ *x = ErasureCodingPolicyState(num)
return nil
}
-func (CryptoProtocolVersionProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor8, []int{2} }
-// *
+// Deprecated: Use ErasureCodingPolicyState.Descriptor instead.
+func (ErasureCodingPolicyState) EnumDescriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{4}
+}
+
+//*
// Checksum algorithms/types used in HDFS
// Make sure this enum's integer values match enum values' id properties defined
// in org.apache.hadoop.util.DataChecksum.Type
@@ -139,34 +357,176 @@ const (
ChecksumTypeProto_CHECKSUM_CRC32C ChecksumTypeProto = 2
)
-var ChecksumTypeProto_name = map[int32]string{
- 0: "CHECKSUM_NULL",
- 1: "CHECKSUM_CRC32",
- 2: "CHECKSUM_CRC32C",
-}
-var ChecksumTypeProto_value = map[string]int32{
- "CHECKSUM_NULL": 0,
- "CHECKSUM_CRC32": 1,
- "CHECKSUM_CRC32C": 2,
-}
+// Enum value maps for ChecksumTypeProto.
+var (
+ ChecksumTypeProto_name = map[int32]string{
+ 0: "CHECKSUM_NULL",
+ 1: "CHECKSUM_CRC32",
+ 2: "CHECKSUM_CRC32C",
+ }
+ ChecksumTypeProto_value = map[string]int32{
+ "CHECKSUM_NULL": 0,
+ "CHECKSUM_CRC32": 1,
+ "CHECKSUM_CRC32C": 2,
+ }
+)
func (x ChecksumTypeProto) Enum() *ChecksumTypeProto {
p := new(ChecksumTypeProto)
*p = x
return p
}
+
func (x ChecksumTypeProto) String() string {
- return proto.EnumName(ChecksumTypeProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (ChecksumTypeProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[5].Descriptor()
+}
+
+func (ChecksumTypeProto) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[5]
+}
+
+func (x ChecksumTypeProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
-func (x *ChecksumTypeProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(ChecksumTypeProto_value, data, "ChecksumTypeProto")
+
+// Deprecated: Do not use.
+func (x *ChecksumTypeProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = ChecksumTypeProto(value)
+ *x = ChecksumTypeProto(num)
return nil
}
-func (ChecksumTypeProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor8, []int{3} }
+
+// Deprecated: Use ChecksumTypeProto.Descriptor instead.
+func (ChecksumTypeProto) EnumDescriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{5}
+}
+
+type BlockChecksumTypeProto int32
+
+const (
+ BlockChecksumTypeProto_MD5CRC BlockChecksumTypeProto = 1 // BlockChecksum obtained by taking the MD5 digest of chunk CRCs
+ BlockChecksumTypeProto_COMPOSITE_CRC BlockChecksumTypeProto = 2 // Chunk-independent CRC, optionally striped
+)
+
+// Enum value maps for BlockChecksumTypeProto.
+var (
+ BlockChecksumTypeProto_name = map[int32]string{
+ 1: "MD5CRC",
+ 2: "COMPOSITE_CRC",
+ }
+ BlockChecksumTypeProto_value = map[string]int32{
+ "MD5CRC": 1,
+ "COMPOSITE_CRC": 2,
+ }
+)
+
+func (x BlockChecksumTypeProto) Enum() *BlockChecksumTypeProto {
+ p := new(BlockChecksumTypeProto)
+ *p = x
+ return p
+}
+
+func (x BlockChecksumTypeProto) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (BlockChecksumTypeProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[6].Descriptor()
+}
+
+func (BlockChecksumTypeProto) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[6]
+}
+
+func (x BlockChecksumTypeProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *BlockChecksumTypeProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = BlockChecksumTypeProto(num)
+ return nil
+}
+
+// Deprecated: Use BlockChecksumTypeProto.Descriptor instead.
+func (BlockChecksumTypeProto) EnumDescriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{6}
+}
+
+//*
+// File access permissions mode.
+type AccessModeProto int32
+
+const (
+ AccessModeProto_READ AccessModeProto = 1
+ AccessModeProto_WRITE AccessModeProto = 2
+ AccessModeProto_COPY AccessModeProto = 3
+ AccessModeProto_REPLACE AccessModeProto = 4
+)
+
+// Enum value maps for AccessModeProto.
+var (
+ AccessModeProto_name = map[int32]string{
+ 1: "READ",
+ 2: "WRITE",
+ 3: "COPY",
+ 4: "REPLACE",
+ }
+ AccessModeProto_value = map[string]int32{
+ "READ": 1,
+ "WRITE": 2,
+ "COPY": 3,
+ "REPLACE": 4,
+ }
+)
+
+func (x AccessModeProto) Enum() *AccessModeProto {
+ p := new(AccessModeProto)
+ *p = x
+ return p
+}
+
+func (x AccessModeProto) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (AccessModeProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[7].Descriptor()
+}
+
+func (AccessModeProto) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[7]
+}
+
+func (x AccessModeProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *AccessModeProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = AccessModeProto(num)
+ return nil
+}
+
+// Deprecated: Use AccessModeProto.Descriptor instead.
+func (AccessModeProto) EnumDescriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{7}
+}
type DatanodeInfoProto_AdminState int32
@@ -174,37 +534,63 @@ const (
DatanodeInfoProto_NORMAL DatanodeInfoProto_AdminState = 0
DatanodeInfoProto_DECOMMISSION_INPROGRESS DatanodeInfoProto_AdminState = 1
DatanodeInfoProto_DECOMMISSIONED DatanodeInfoProto_AdminState = 2
+ DatanodeInfoProto_ENTERING_MAINTENANCE DatanodeInfoProto_AdminState = 3
+ DatanodeInfoProto_IN_MAINTENANCE DatanodeInfoProto_AdminState = 4
)
-var DatanodeInfoProto_AdminState_name = map[int32]string{
- 0: "NORMAL",
- 1: "DECOMMISSION_INPROGRESS",
- 2: "DECOMMISSIONED",
-}
-var DatanodeInfoProto_AdminState_value = map[string]int32{
- "NORMAL": 0,
- "DECOMMISSION_INPROGRESS": 1,
- "DECOMMISSIONED": 2,
-}
+// Enum value maps for DatanodeInfoProto_AdminState.
+var (
+ DatanodeInfoProto_AdminState_name = map[int32]string{
+ 0: "NORMAL",
+ 1: "DECOMMISSION_INPROGRESS",
+ 2: "DECOMMISSIONED",
+ 3: "ENTERING_MAINTENANCE",
+ 4: "IN_MAINTENANCE",
+ }
+ DatanodeInfoProto_AdminState_value = map[string]int32{
+ "NORMAL": 0,
+ "DECOMMISSION_INPROGRESS": 1,
+ "DECOMMISSIONED": 2,
+ "ENTERING_MAINTENANCE": 3,
+ "IN_MAINTENANCE": 4,
+ }
+)
func (x DatanodeInfoProto_AdminState) Enum() *DatanodeInfoProto_AdminState {
p := new(DatanodeInfoProto_AdminState)
*p = x
return p
}
+
func (x DatanodeInfoProto_AdminState) String() string {
- return proto.EnumName(DatanodeInfoProto_AdminState_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
-func (x *DatanodeInfoProto_AdminState) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(DatanodeInfoProto_AdminState_value, data, "DatanodeInfoProto_AdminState")
+
+func (DatanodeInfoProto_AdminState) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[8].Descriptor()
+}
+
+func (DatanodeInfoProto_AdminState) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[8]
+}
+
+func (x DatanodeInfoProto_AdminState) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *DatanodeInfoProto_AdminState) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = DatanodeInfoProto_AdminState(value)
+ *x = DatanodeInfoProto_AdminState(num)
return nil
}
+
+// Deprecated: Use DatanodeInfoProto_AdminState.Descriptor instead.
func (DatanodeInfoProto_AdminState) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor8, []int{4, 0}
+ return file_hdfs_proto_rawDescGZIP(), []int{6, 0}
}
type DatanodeStorageProto_StorageState int32
@@ -214,33 +600,53 @@ const (
DatanodeStorageProto_READ_ONLY_SHARED DatanodeStorageProto_StorageState = 1
)
-var DatanodeStorageProto_StorageState_name = map[int32]string{
- 0: "NORMAL",
- 1: "READ_ONLY_SHARED",
-}
-var DatanodeStorageProto_StorageState_value = map[string]int32{
- "NORMAL": 0,
- "READ_ONLY_SHARED": 1,
-}
+// Enum value maps for DatanodeStorageProto_StorageState.
+var (
+ DatanodeStorageProto_StorageState_name = map[int32]string{
+ 0: "NORMAL",
+ 1: "READ_ONLY_SHARED",
+ }
+ DatanodeStorageProto_StorageState_value = map[string]int32{
+ "NORMAL": 0,
+ "READ_ONLY_SHARED": 1,
+ }
+)
func (x DatanodeStorageProto_StorageState) Enum() *DatanodeStorageProto_StorageState {
p := new(DatanodeStorageProto_StorageState)
*p = x
return p
}
+
func (x DatanodeStorageProto_StorageState) String() string {
- return proto.EnumName(DatanodeStorageProto_StorageState_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (DatanodeStorageProto_StorageState) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[9].Descriptor()
}
-func (x *DatanodeStorageProto_StorageState) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(DatanodeStorageProto_StorageState_value, data, "DatanodeStorageProto_StorageState")
+
+func (DatanodeStorageProto_StorageState) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[9]
+}
+
+func (x DatanodeStorageProto_StorageState) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *DatanodeStorageProto_StorageState) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = DatanodeStorageProto_StorageState(value)
+ *x = DatanodeStorageProto_StorageState(num)
return nil
}
+
+// Deprecated: Use DatanodeStorageProto_StorageState.Descriptor instead.
func (DatanodeStorageProto_StorageState) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor8, []int{5, 0}
+ return file_hdfs_proto_rawDescGZIP(), []int{7, 0}
}
type HdfsFileStatusProto_FileType int32
@@ -251,683 +657,1413 @@ const (
HdfsFileStatusProto_IS_SYMLINK HdfsFileStatusProto_FileType = 3
)
-var HdfsFileStatusProto_FileType_name = map[int32]string{
- 1: "IS_DIR",
- 2: "IS_FILE",
- 3: "IS_SYMLINK",
-}
-var HdfsFileStatusProto_FileType_value = map[string]int32{
- "IS_DIR": 1,
- "IS_FILE": 2,
- "IS_SYMLINK": 3,
-}
+// Enum value maps for HdfsFileStatusProto_FileType.
+var (
+ HdfsFileStatusProto_FileType_name = map[int32]string{
+ 1: "IS_DIR",
+ 2: "IS_FILE",
+ 3: "IS_SYMLINK",
+ }
+ HdfsFileStatusProto_FileType_value = map[string]int32{
+ "IS_DIR": 1,
+ "IS_FILE": 2,
+ "IS_SYMLINK": 3,
+ }
+)
func (x HdfsFileStatusProto_FileType) Enum() *HdfsFileStatusProto_FileType {
p := new(HdfsFileStatusProto_FileType)
*p = x
return p
}
+
func (x HdfsFileStatusProto_FileType) String() string {
- return proto.EnumName(HdfsFileStatusProto_FileType_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (HdfsFileStatusProto_FileType) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[10].Descriptor()
+}
+
+func (HdfsFileStatusProto_FileType) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[10]
+}
+
+func (x HdfsFileStatusProto_FileType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
-func (x *HdfsFileStatusProto_FileType) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(HdfsFileStatusProto_FileType_value, data, "HdfsFileStatusProto_FileType")
+
+// Deprecated: Do not use.
+func (x *HdfsFileStatusProto_FileType) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = HdfsFileStatusProto_FileType(value)
+ *x = HdfsFileStatusProto_FileType(num)
return nil
}
+
+// Deprecated: Use HdfsFileStatusProto_FileType.Descriptor instead.
func (HdfsFileStatusProto_FileType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor8, []int{25, 0}
+ return file_hdfs_proto_rawDescGZIP(), []int{31, 0}
+}
+
+type HdfsFileStatusProto_Flags int32
+
+const (
+ HdfsFileStatusProto_HAS_ACL HdfsFileStatusProto_Flags = 1 // has ACLs
+ HdfsFileStatusProto_HAS_CRYPT HdfsFileStatusProto_Flags = 2 // encrypted
+ HdfsFileStatusProto_HAS_EC HdfsFileStatusProto_Flags = 4 // erasure coded
+ HdfsFileStatusProto_SNAPSHOT_ENABLED HdfsFileStatusProto_Flags = 8 // SNAPSHOT ENABLED
+)
+
+// Enum value maps for HdfsFileStatusProto_Flags.
+var (
+ HdfsFileStatusProto_Flags_name = map[int32]string{
+ 1: "HAS_ACL",
+ 2: "HAS_CRYPT",
+ 4: "HAS_EC",
+ 8: "SNAPSHOT_ENABLED",
+ }
+ HdfsFileStatusProto_Flags_value = map[string]int32{
+ "HAS_ACL": 1,
+ "HAS_CRYPT": 2,
+ "HAS_EC": 4,
+ "SNAPSHOT_ENABLED": 8,
+ }
+)
+
+func (x HdfsFileStatusProto_Flags) Enum() *HdfsFileStatusProto_Flags {
+ p := new(HdfsFileStatusProto_Flags)
+ *p = x
+ return p
+}
+
+func (x HdfsFileStatusProto_Flags) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (HdfsFileStatusProto_Flags) Descriptor() protoreflect.EnumDescriptor {
+ return file_hdfs_proto_enumTypes[11].Descriptor()
}
-// *
+func (HdfsFileStatusProto_Flags) Type() protoreflect.EnumType {
+ return &file_hdfs_proto_enumTypes[11]
+}
+
+func (x HdfsFileStatusProto_Flags) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *HdfsFileStatusProto_Flags) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = HdfsFileStatusProto_Flags(num)
+ return nil
+}
+
+// Deprecated: Use HdfsFileStatusProto_Flags.Descriptor instead.
+func (HdfsFileStatusProto_Flags) EnumDescriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{31, 1}
+}
+
+//*
// Extended block idenfies a block
type ExtendedBlockProto struct {
- PoolId *string `protobuf:"bytes,1,req,name=poolId" json:"poolId,omitempty"`
- BlockId *uint64 `protobuf:"varint,2,req,name=blockId" json:"blockId,omitempty"`
- GenerationStamp *uint64 `protobuf:"varint,3,req,name=generationStamp" json:"generationStamp,omitempty"`
- NumBytes *uint64 `protobuf:"varint,4,opt,name=numBytes,def=0" json:"numBytes,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ PoolId *string `protobuf:"bytes,1,req,name=poolId" json:"poolId,omitempty"` // Block pool id - globally unique across clusters
+ BlockId *uint64 `protobuf:"varint,2,req,name=blockId" json:"blockId,omitempty"` // the local id within a pool
+ GenerationStamp *uint64 `protobuf:"varint,3,req,name=generationStamp" json:"generationStamp,omitempty"`
+ NumBytes *uint64 `protobuf:"varint,4,opt,name=numBytes,def=0" json:"numBytes,omitempty"` // len does not belong in ebid
+}
+
+// Default values for ExtendedBlockProto fields.
+const (
+ Default_ExtendedBlockProto_NumBytes = uint64(0)
+)
+
+func (x *ExtendedBlockProto) Reset() {
+ *x = ExtendedBlockProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ExtendedBlockProto) Reset() { *m = ExtendedBlockProto{} }
-func (m *ExtendedBlockProto) String() string { return proto.CompactTextString(m) }
-func (*ExtendedBlockProto) ProtoMessage() {}
-func (*ExtendedBlockProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
+func (x *ExtendedBlockProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-const Default_ExtendedBlockProto_NumBytes uint64 = 0
+func (*ExtendedBlockProto) ProtoMessage() {}
-func (m *ExtendedBlockProto) GetPoolId() string {
- if m != nil && m.PoolId != nil {
- return *m.PoolId
+func (x *ExtendedBlockProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ExtendedBlockProto.ProtoReflect.Descriptor instead.
+func (*ExtendedBlockProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *ExtendedBlockProto) GetPoolId() string {
+ if x != nil && x.PoolId != nil {
+ return *x.PoolId
}
return ""
}
-func (m *ExtendedBlockProto) GetBlockId() uint64 {
- if m != nil && m.BlockId != nil {
- return *m.BlockId
+func (x *ExtendedBlockProto) GetBlockId() uint64 {
+ if x != nil && x.BlockId != nil {
+ return *x.BlockId
}
return 0
}
-func (m *ExtendedBlockProto) GetGenerationStamp() uint64 {
- if m != nil && m.GenerationStamp != nil {
- return *m.GenerationStamp
+func (x *ExtendedBlockProto) GetGenerationStamp() uint64 {
+ if x != nil && x.GenerationStamp != nil {
+ return *x.GenerationStamp
}
return 0
}
-func (m *ExtendedBlockProto) GetNumBytes() uint64 {
- if m != nil && m.NumBytes != nil {
- return *m.NumBytes
+func (x *ExtendedBlockProto) GetNumBytes() uint64 {
+ if x != nil && x.NumBytes != nil {
+ return *x.NumBytes
}
return Default_ExtendedBlockProto_NumBytes
}
-// *
+type ProvidedStorageLocationProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
+ Offset *int64 `protobuf:"varint,2,req,name=offset" json:"offset,omitempty"`
+ Length *int64 `protobuf:"varint,3,req,name=length" json:"length,omitempty"`
+ Nonce []byte `protobuf:"bytes,4,req,name=nonce" json:"nonce,omitempty"`
+}
+
+func (x *ProvidedStorageLocationProto) Reset() {
+ *x = ProvidedStorageLocationProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ProvidedStorageLocationProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ProvidedStorageLocationProto) ProtoMessage() {}
+
+func (x *ProvidedStorageLocationProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ProvidedStorageLocationProto.ProtoReflect.Descriptor instead.
+func (*ProvidedStorageLocationProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *ProvidedStorageLocationProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
+ }
+ return ""
+}
+
+func (x *ProvidedStorageLocationProto) GetOffset() int64 {
+ if x != nil && x.Offset != nil {
+ return *x.Offset
+ }
+ return 0
+}
+
+func (x *ProvidedStorageLocationProto) GetLength() int64 {
+ if x != nil && x.Length != nil {
+ return *x.Length
+ }
+ return 0
+}
+
+func (x *ProvidedStorageLocationProto) GetNonce() []byte {
+ if x != nil {
+ return x.Nonce
+ }
+ return nil
+}
+
+//*
// Identifies a Datanode
type DatanodeIDProto struct {
- IpAddr *string `protobuf:"bytes,1,req,name=ipAddr" json:"ipAddr,omitempty"`
- HostName *string `protobuf:"bytes,2,req,name=hostName" json:"hostName,omitempty"`
- DatanodeUuid *string `protobuf:"bytes,3,req,name=datanodeUuid" json:"datanodeUuid,omitempty"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ IpAddr *string `protobuf:"bytes,1,req,name=ipAddr" json:"ipAddr,omitempty"` // IP address
+ HostName *string `protobuf:"bytes,2,req,name=hostName" json:"hostName,omitempty"` // hostname
+ DatanodeUuid *string `protobuf:"bytes,3,req,name=datanodeUuid" json:"datanodeUuid,omitempty"` // UUID assigned to the Datanode. For
// upgraded clusters this is the same
// as the original StorageID of the
// Datanode.
- XferPort *uint32 `protobuf:"varint,4,req,name=xferPort" json:"xferPort,omitempty"`
- InfoPort *uint32 `protobuf:"varint,5,req,name=infoPort" json:"infoPort,omitempty"`
- IpcPort *uint32 `protobuf:"varint,6,req,name=ipcPort" json:"ipcPort,omitempty"`
- InfoSecurePort *uint32 `protobuf:"varint,7,opt,name=infoSecurePort,def=0" json:"infoSecurePort,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ XferPort *uint32 `protobuf:"varint,4,req,name=xferPort" json:"xferPort,omitempty"` // data streaming port
+ InfoPort *uint32 `protobuf:"varint,5,req,name=infoPort" json:"infoPort,omitempty"` // datanode http port
+ IpcPort *uint32 `protobuf:"varint,6,req,name=ipcPort" json:"ipcPort,omitempty"` // ipc server port
+ InfoSecurePort *uint32 `protobuf:"varint,7,opt,name=infoSecurePort,def=0" json:"infoSecurePort,omitempty"` // datanode https port
+}
+
+// Default values for DatanodeIDProto fields.
+const (
+ Default_DatanodeIDProto_InfoSecurePort = uint32(0)
+)
+
+func (x *DatanodeIDProto) Reset() {
+ *x = DatanodeIDProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *DatanodeIDProto) Reset() { *m = DatanodeIDProto{} }
-func (m *DatanodeIDProto) String() string { return proto.CompactTextString(m) }
-func (*DatanodeIDProto) ProtoMessage() {}
-func (*DatanodeIDProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} }
+func (x *DatanodeIDProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-const Default_DatanodeIDProto_InfoSecurePort uint32 = 0
+func (*DatanodeIDProto) ProtoMessage() {}
-func (m *DatanodeIDProto) GetIpAddr() string {
- if m != nil && m.IpAddr != nil {
- return *m.IpAddr
+func (x *DatanodeIDProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DatanodeIDProto.ProtoReflect.Descriptor instead.
+func (*DatanodeIDProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *DatanodeIDProto) GetIpAddr() string {
+ if x != nil && x.IpAddr != nil {
+ return *x.IpAddr
}
return ""
}
-func (m *DatanodeIDProto) GetHostName() string {
- if m != nil && m.HostName != nil {
- return *m.HostName
+func (x *DatanodeIDProto) GetHostName() string {
+ if x != nil && x.HostName != nil {
+ return *x.HostName
}
return ""
}
-func (m *DatanodeIDProto) GetDatanodeUuid() string {
- if m != nil && m.DatanodeUuid != nil {
- return *m.DatanodeUuid
+func (x *DatanodeIDProto) GetDatanodeUuid() string {
+ if x != nil && x.DatanodeUuid != nil {
+ return *x.DatanodeUuid
}
return ""
}
-func (m *DatanodeIDProto) GetXferPort() uint32 {
- if m != nil && m.XferPort != nil {
- return *m.XferPort
+func (x *DatanodeIDProto) GetXferPort() uint32 {
+ if x != nil && x.XferPort != nil {
+ return *x.XferPort
}
return 0
}
-func (m *DatanodeIDProto) GetInfoPort() uint32 {
- if m != nil && m.InfoPort != nil {
- return *m.InfoPort
+func (x *DatanodeIDProto) GetInfoPort() uint32 {
+ if x != nil && x.InfoPort != nil {
+ return *x.InfoPort
}
return 0
}
-func (m *DatanodeIDProto) GetIpcPort() uint32 {
- if m != nil && m.IpcPort != nil {
- return *m.IpcPort
+func (x *DatanodeIDProto) GetIpcPort() uint32 {
+ if x != nil && x.IpcPort != nil {
+ return *x.IpcPort
}
return 0
}
-func (m *DatanodeIDProto) GetInfoSecurePort() uint32 {
- if m != nil && m.InfoSecurePort != nil {
- return *m.InfoSecurePort
+func (x *DatanodeIDProto) GetInfoSecurePort() uint32 {
+ if x != nil && x.InfoSecurePort != nil {
+ return *x.InfoSecurePort
}
return Default_DatanodeIDProto_InfoSecurePort
}
-// *
+//*
// Datanode local information
type DatanodeLocalInfoProto struct {
- SoftwareVersion *string `protobuf:"bytes,1,req,name=softwareVersion" json:"softwareVersion,omitempty"`
- ConfigVersion *string `protobuf:"bytes,2,req,name=configVersion" json:"configVersion,omitempty"`
- Uptime *uint64 `protobuf:"varint,3,req,name=uptime" json:"uptime,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SoftwareVersion *string `protobuf:"bytes,1,req,name=softwareVersion" json:"softwareVersion,omitempty"`
+ ConfigVersion *string `protobuf:"bytes,2,req,name=configVersion" json:"configVersion,omitempty"`
+ Uptime *uint64 `protobuf:"varint,3,req,name=uptime" json:"uptime,omitempty"`
}
-func (m *DatanodeLocalInfoProto) Reset() { *m = DatanodeLocalInfoProto{} }
-func (m *DatanodeLocalInfoProto) String() string { return proto.CompactTextString(m) }
-func (*DatanodeLocalInfoProto) ProtoMessage() {}
-func (*DatanodeLocalInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{2} }
+func (x *DatanodeLocalInfoProto) Reset() {
+ *x = DatanodeLocalInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DatanodeLocalInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *DatanodeLocalInfoProto) GetSoftwareVersion() string {
- if m != nil && m.SoftwareVersion != nil {
- return *m.SoftwareVersion
+func (*DatanodeLocalInfoProto) ProtoMessage() {}
+
+func (x *DatanodeLocalInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DatanodeLocalInfoProto.ProtoReflect.Descriptor instead.
+func (*DatanodeLocalInfoProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *DatanodeLocalInfoProto) GetSoftwareVersion() string {
+ if x != nil && x.SoftwareVersion != nil {
+ return *x.SoftwareVersion
}
return ""
}
-func (m *DatanodeLocalInfoProto) GetConfigVersion() string {
- if m != nil && m.ConfigVersion != nil {
- return *m.ConfigVersion
+func (x *DatanodeLocalInfoProto) GetConfigVersion() string {
+ if x != nil && x.ConfigVersion != nil {
+ return *x.ConfigVersion
}
return ""
}
-func (m *DatanodeLocalInfoProto) GetUptime() uint64 {
- if m != nil && m.Uptime != nil {
- return *m.Uptime
+func (x *DatanodeLocalInfoProto) GetUptime() uint64 {
+ if x != nil && x.Uptime != nil {
+ return *x.Uptime
}
return 0
}
-// *
+//*
+// Datanode volume information
+type DatanodeVolumeInfoProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
+ StorageType *StorageTypeProto `protobuf:"varint,2,req,name=storageType,enum=hadoop.hdfs.StorageTypeProto" json:"storageType,omitempty"`
+ UsedSpace *uint64 `protobuf:"varint,3,req,name=usedSpace" json:"usedSpace,omitempty"`
+ FreeSpace *uint64 `protobuf:"varint,4,req,name=freeSpace" json:"freeSpace,omitempty"`
+ ReservedSpace *uint64 `protobuf:"varint,5,req,name=reservedSpace" json:"reservedSpace,omitempty"`
+ ReservedSpaceForReplicas *uint64 `protobuf:"varint,6,req,name=reservedSpaceForReplicas" json:"reservedSpaceForReplicas,omitempty"`
+ NumBlocks *uint64 `protobuf:"varint,7,req,name=numBlocks" json:"numBlocks,omitempty"`
+}
+
+func (x *DatanodeVolumeInfoProto) Reset() {
+ *x = DatanodeVolumeInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DatanodeVolumeInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DatanodeVolumeInfoProto) ProtoMessage() {}
+
+func (x *DatanodeVolumeInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DatanodeVolumeInfoProto.ProtoReflect.Descriptor instead.
+func (*DatanodeVolumeInfoProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{4}
+}
+
+func (x *DatanodeVolumeInfoProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
+ }
+ return ""
+}
+
+func (x *DatanodeVolumeInfoProto) GetStorageType() StorageTypeProto {
+ if x != nil && x.StorageType != nil {
+ return *x.StorageType
+ }
+ return StorageTypeProto_DISK
+}
+
+func (x *DatanodeVolumeInfoProto) GetUsedSpace() uint64 {
+ if x != nil && x.UsedSpace != nil {
+ return *x.UsedSpace
+ }
+ return 0
+}
+
+func (x *DatanodeVolumeInfoProto) GetFreeSpace() uint64 {
+ if x != nil && x.FreeSpace != nil {
+ return *x.FreeSpace
+ }
+ return 0
+}
+
+func (x *DatanodeVolumeInfoProto) GetReservedSpace() uint64 {
+ if x != nil && x.ReservedSpace != nil {
+ return *x.ReservedSpace
+ }
+ return 0
+}
+
+func (x *DatanodeVolumeInfoProto) GetReservedSpaceForReplicas() uint64 {
+ if x != nil && x.ReservedSpaceForReplicas != nil {
+ return *x.ReservedSpaceForReplicas
+ }
+ return 0
+}
+
+func (x *DatanodeVolumeInfoProto) GetNumBlocks() uint64 {
+ if x != nil && x.NumBlocks != nil {
+ return *x.NumBlocks
+ }
+ return 0
+}
+
+//*
// DatanodeInfo array
type DatanodeInfosProto struct {
- Datanodes []*DatanodeInfoProto `protobuf:"bytes,1,rep,name=datanodes" json:"datanodes,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Datanodes []*DatanodeInfoProto `protobuf:"bytes,1,rep,name=datanodes" json:"datanodes,omitempty"`
+}
+
+func (x *DatanodeInfosProto) Reset() {
+ *x = DatanodeInfosProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DatanodeInfosProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *DatanodeInfosProto) Reset() { *m = DatanodeInfosProto{} }
-func (m *DatanodeInfosProto) String() string { return proto.CompactTextString(m) }
-func (*DatanodeInfosProto) ProtoMessage() {}
-func (*DatanodeInfosProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{3} }
+func (*DatanodeInfosProto) ProtoMessage() {}
-func (m *DatanodeInfosProto) GetDatanodes() []*DatanodeInfoProto {
- if m != nil {
- return m.Datanodes
+func (x *DatanodeInfosProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DatanodeInfosProto.ProtoReflect.Descriptor instead.
+func (*DatanodeInfosProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *DatanodeInfosProto) GetDatanodes() []*DatanodeInfoProto {
+ if x != nil {
+ return x.Datanodes
}
return nil
}
-// *
+//*
// The status of a Datanode
type DatanodeInfoProto struct {
- Id *DatanodeIDProto `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
- Capacity *uint64 `protobuf:"varint,2,opt,name=capacity,def=0" json:"capacity,omitempty"`
- DfsUsed *uint64 `protobuf:"varint,3,opt,name=dfsUsed,def=0" json:"dfsUsed,omitempty"`
- Remaining *uint64 `protobuf:"varint,4,opt,name=remaining,def=0" json:"remaining,omitempty"`
- BlockPoolUsed *uint64 `protobuf:"varint,5,opt,name=blockPoolUsed,def=0" json:"blockPoolUsed,omitempty"`
- LastUpdate *uint64 `protobuf:"varint,6,opt,name=lastUpdate,def=0" json:"lastUpdate,omitempty"`
- XceiverCount *uint32 `protobuf:"varint,7,opt,name=xceiverCount,def=0" json:"xceiverCount,omitempty"`
- Location *string `protobuf:"bytes,8,opt,name=location" json:"location,omitempty"`
- AdminState *DatanodeInfoProto_AdminState `protobuf:"varint,10,opt,name=adminState,enum=hadoop.hdfs.DatanodeInfoProto_AdminState,def=0" json:"adminState,omitempty"`
- CacheCapacity *uint64 `protobuf:"varint,11,opt,name=cacheCapacity,def=0" json:"cacheCapacity,omitempty"`
- CacheUsed *uint64 `protobuf:"varint,12,opt,name=cacheUsed,def=0" json:"cacheUsed,omitempty"`
- LastUpdateMonotonic *uint64 `protobuf:"varint,13,opt,name=lastUpdateMonotonic,def=0" json:"lastUpdateMonotonic,omitempty"`
- UpgradeDomain *string `protobuf:"bytes,14,opt,name=upgradeDomain" json:"upgradeDomain,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *DatanodeInfoProto) Reset() { *m = DatanodeInfoProto{} }
-func (m *DatanodeInfoProto) String() string { return proto.CompactTextString(m) }
-func (*DatanodeInfoProto) ProtoMessage() {}
-func (*DatanodeInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{4} }
-
-const Default_DatanodeInfoProto_Capacity uint64 = 0
-const Default_DatanodeInfoProto_DfsUsed uint64 = 0
-const Default_DatanodeInfoProto_Remaining uint64 = 0
-const Default_DatanodeInfoProto_BlockPoolUsed uint64 = 0
-const Default_DatanodeInfoProto_LastUpdate uint64 = 0
-const Default_DatanodeInfoProto_XceiverCount uint32 = 0
-const Default_DatanodeInfoProto_AdminState DatanodeInfoProto_AdminState = DatanodeInfoProto_NORMAL
-const Default_DatanodeInfoProto_CacheCapacity uint64 = 0
-const Default_DatanodeInfoProto_CacheUsed uint64 = 0
-const Default_DatanodeInfoProto_LastUpdateMonotonic uint64 = 0
-
-func (m *DatanodeInfoProto) GetId() *DatanodeIDProto {
- if m != nil {
- return m.Id
- }
- return nil
-}
-
-func (m *DatanodeInfoProto) GetCapacity() uint64 {
- if m != nil && m.Capacity != nil {
- return *m.Capacity
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Id *DatanodeIDProto `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
+ Capacity *uint64 `protobuf:"varint,2,opt,name=capacity,def=0" json:"capacity,omitempty"`
+ DfsUsed *uint64 `protobuf:"varint,3,opt,name=dfsUsed,def=0" json:"dfsUsed,omitempty"`
+ Remaining *uint64 `protobuf:"varint,4,opt,name=remaining,def=0" json:"remaining,omitempty"`
+ BlockPoolUsed *uint64 `protobuf:"varint,5,opt,name=blockPoolUsed,def=0" json:"blockPoolUsed,omitempty"`
+ LastUpdate *uint64 `protobuf:"varint,6,opt,name=lastUpdate,def=0" json:"lastUpdate,omitempty"`
+ XceiverCount *uint32 `protobuf:"varint,7,opt,name=xceiverCount,def=0" json:"xceiverCount,omitempty"`
+ Location *string `protobuf:"bytes,8,opt,name=location" json:"location,omitempty"`
+ NonDfsUsed *uint64 `protobuf:"varint,9,opt,name=nonDfsUsed" json:"nonDfsUsed,omitempty"`
+ AdminState *DatanodeInfoProto_AdminState `protobuf:"varint,10,opt,name=adminState,enum=hadoop.hdfs.DatanodeInfoProto_AdminState,def=0" json:"adminState,omitempty"`
+ CacheCapacity *uint64 `protobuf:"varint,11,opt,name=cacheCapacity,def=0" json:"cacheCapacity,omitempty"`
+ CacheUsed *uint64 `protobuf:"varint,12,opt,name=cacheUsed,def=0" json:"cacheUsed,omitempty"`
+ LastUpdateMonotonic *uint64 `protobuf:"varint,13,opt,name=lastUpdateMonotonic,def=0" json:"lastUpdateMonotonic,omitempty"`
+ UpgradeDomain *string `protobuf:"bytes,14,opt,name=upgradeDomain" json:"upgradeDomain,omitempty"`
+ LastBlockReportTime *uint64 `protobuf:"varint,15,opt,name=lastBlockReportTime,def=0" json:"lastBlockReportTime,omitempty"`
+ LastBlockReportMonotonic *uint64 `protobuf:"varint,16,opt,name=lastBlockReportMonotonic,def=0" json:"lastBlockReportMonotonic,omitempty"`
+ NumBlocks *uint32 `protobuf:"varint,17,opt,name=numBlocks,def=0" json:"numBlocks,omitempty"`
+}
+
+// Default values for DatanodeInfoProto fields.
+const (
+ Default_DatanodeInfoProto_Capacity = uint64(0)
+ Default_DatanodeInfoProto_DfsUsed = uint64(0)
+ Default_DatanodeInfoProto_Remaining = uint64(0)
+ Default_DatanodeInfoProto_BlockPoolUsed = uint64(0)
+ Default_DatanodeInfoProto_LastUpdate = uint64(0)
+ Default_DatanodeInfoProto_XceiverCount = uint32(0)
+ Default_DatanodeInfoProto_AdminState = DatanodeInfoProto_NORMAL
+ Default_DatanodeInfoProto_CacheCapacity = uint64(0)
+ Default_DatanodeInfoProto_CacheUsed = uint64(0)
+ Default_DatanodeInfoProto_LastUpdateMonotonic = uint64(0)
+ Default_DatanodeInfoProto_LastBlockReportTime = uint64(0)
+ Default_DatanodeInfoProto_LastBlockReportMonotonic = uint64(0)
+ Default_DatanodeInfoProto_NumBlocks = uint32(0)
+)
+
+func (x *DatanodeInfoProto) Reset() {
+ *x = DatanodeInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DatanodeInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DatanodeInfoProto) ProtoMessage() {}
+
+func (x *DatanodeInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DatanodeInfoProto.ProtoReflect.Descriptor instead.
+func (*DatanodeInfoProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{6}
+}
+
+func (x *DatanodeInfoProto) GetId() *DatanodeIDProto {
+ if x != nil {
+ return x.Id
+ }
+ return nil
+}
+
+func (x *DatanodeInfoProto) GetCapacity() uint64 {
+ if x != nil && x.Capacity != nil {
+ return *x.Capacity
}
return Default_DatanodeInfoProto_Capacity
}
-func (m *DatanodeInfoProto) GetDfsUsed() uint64 {
- if m != nil && m.DfsUsed != nil {
- return *m.DfsUsed
+func (x *DatanodeInfoProto) GetDfsUsed() uint64 {
+ if x != nil && x.DfsUsed != nil {
+ return *x.DfsUsed
}
return Default_DatanodeInfoProto_DfsUsed
}
-func (m *DatanodeInfoProto) GetRemaining() uint64 {
- if m != nil && m.Remaining != nil {
- return *m.Remaining
+func (x *DatanodeInfoProto) GetRemaining() uint64 {
+ if x != nil && x.Remaining != nil {
+ return *x.Remaining
}
return Default_DatanodeInfoProto_Remaining
}
-func (m *DatanodeInfoProto) GetBlockPoolUsed() uint64 {
- if m != nil && m.BlockPoolUsed != nil {
- return *m.BlockPoolUsed
+func (x *DatanodeInfoProto) GetBlockPoolUsed() uint64 {
+ if x != nil && x.BlockPoolUsed != nil {
+ return *x.BlockPoolUsed
}
return Default_DatanodeInfoProto_BlockPoolUsed
}
-func (m *DatanodeInfoProto) GetLastUpdate() uint64 {
- if m != nil && m.LastUpdate != nil {
- return *m.LastUpdate
+func (x *DatanodeInfoProto) GetLastUpdate() uint64 {
+ if x != nil && x.LastUpdate != nil {
+ return *x.LastUpdate
}
return Default_DatanodeInfoProto_LastUpdate
}
-func (m *DatanodeInfoProto) GetXceiverCount() uint32 {
- if m != nil && m.XceiverCount != nil {
- return *m.XceiverCount
+func (x *DatanodeInfoProto) GetXceiverCount() uint32 {
+ if x != nil && x.XceiverCount != nil {
+ return *x.XceiverCount
}
return Default_DatanodeInfoProto_XceiverCount
}
-func (m *DatanodeInfoProto) GetLocation() string {
- if m != nil && m.Location != nil {
- return *m.Location
+func (x *DatanodeInfoProto) GetLocation() string {
+ if x != nil && x.Location != nil {
+ return *x.Location
}
return ""
}
-func (m *DatanodeInfoProto) GetAdminState() DatanodeInfoProto_AdminState {
- if m != nil && m.AdminState != nil {
- return *m.AdminState
+func (x *DatanodeInfoProto) GetNonDfsUsed() uint64 {
+ if x != nil && x.NonDfsUsed != nil {
+ return *x.NonDfsUsed
+ }
+ return 0
+}
+
+func (x *DatanodeInfoProto) GetAdminState() DatanodeInfoProto_AdminState {
+ if x != nil && x.AdminState != nil {
+ return *x.AdminState
}
return Default_DatanodeInfoProto_AdminState
}
-func (m *DatanodeInfoProto) GetCacheCapacity() uint64 {
- if m != nil && m.CacheCapacity != nil {
- return *m.CacheCapacity
+func (x *DatanodeInfoProto) GetCacheCapacity() uint64 {
+ if x != nil && x.CacheCapacity != nil {
+ return *x.CacheCapacity
}
return Default_DatanodeInfoProto_CacheCapacity
}
-func (m *DatanodeInfoProto) GetCacheUsed() uint64 {
- if m != nil && m.CacheUsed != nil {
- return *m.CacheUsed
+func (x *DatanodeInfoProto) GetCacheUsed() uint64 {
+ if x != nil && x.CacheUsed != nil {
+ return *x.CacheUsed
}
return Default_DatanodeInfoProto_CacheUsed
}
-func (m *DatanodeInfoProto) GetLastUpdateMonotonic() uint64 {
- if m != nil && m.LastUpdateMonotonic != nil {
- return *m.LastUpdateMonotonic
+func (x *DatanodeInfoProto) GetLastUpdateMonotonic() uint64 {
+ if x != nil && x.LastUpdateMonotonic != nil {
+ return *x.LastUpdateMonotonic
}
return Default_DatanodeInfoProto_LastUpdateMonotonic
}
-func (m *DatanodeInfoProto) GetUpgradeDomain() string {
- if m != nil && m.UpgradeDomain != nil {
- return *m.UpgradeDomain
+func (x *DatanodeInfoProto) GetUpgradeDomain() string {
+ if x != nil && x.UpgradeDomain != nil {
+ return *x.UpgradeDomain
}
return ""
}
-// *
+func (x *DatanodeInfoProto) GetLastBlockReportTime() uint64 {
+ if x != nil && x.LastBlockReportTime != nil {
+ return *x.LastBlockReportTime
+ }
+ return Default_DatanodeInfoProto_LastBlockReportTime
+}
+
+func (x *DatanodeInfoProto) GetLastBlockReportMonotonic() uint64 {
+ if x != nil && x.LastBlockReportMonotonic != nil {
+ return *x.LastBlockReportMonotonic
+ }
+ return Default_DatanodeInfoProto_LastBlockReportMonotonic
+}
+
+func (x *DatanodeInfoProto) GetNumBlocks() uint32 {
+ if x != nil && x.NumBlocks != nil {
+ return *x.NumBlocks
+ }
+ return Default_DatanodeInfoProto_NumBlocks
+}
+
+//*
// Represents a storage available on the datanode
type DatanodeStorageProto struct {
- StorageUuid *string `protobuf:"bytes,1,req,name=storageUuid" json:"storageUuid,omitempty"`
- State *DatanodeStorageProto_StorageState `protobuf:"varint,2,opt,name=state,enum=hadoop.hdfs.DatanodeStorageProto_StorageState,def=0" json:"state,omitempty"`
- StorageType *StorageTypeProto `protobuf:"varint,3,opt,name=storageType,enum=hadoop.hdfs.StorageTypeProto,def=1" json:"storageType,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ StorageUuid *string `protobuf:"bytes,1,req,name=storageUuid" json:"storageUuid,omitempty"`
+ State *DatanodeStorageProto_StorageState `protobuf:"varint,2,opt,name=state,enum=hadoop.hdfs.DatanodeStorageProto_StorageState,def=0" json:"state,omitempty"`
+ StorageType *StorageTypeProto `protobuf:"varint,3,opt,name=storageType,enum=hadoop.hdfs.StorageTypeProto,def=1" json:"storageType,omitempty"`
+}
+
+// Default values for DatanodeStorageProto fields.
+const (
+ Default_DatanodeStorageProto_State = DatanodeStorageProto_NORMAL
+ Default_DatanodeStorageProto_StorageType = StorageTypeProto_DISK
+)
+
+func (x *DatanodeStorageProto) Reset() {
+ *x = DatanodeStorageProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DatanodeStorageProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *DatanodeStorageProto) Reset() { *m = DatanodeStorageProto{} }
-func (m *DatanodeStorageProto) String() string { return proto.CompactTextString(m) }
-func (*DatanodeStorageProto) ProtoMessage() {}
-func (*DatanodeStorageProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{5} }
+func (*DatanodeStorageProto) ProtoMessage() {}
-const Default_DatanodeStorageProto_State DatanodeStorageProto_StorageState = DatanodeStorageProto_NORMAL
-const Default_DatanodeStorageProto_StorageType StorageTypeProto = StorageTypeProto_DISK
+func (x *DatanodeStorageProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-func (m *DatanodeStorageProto) GetStorageUuid() string {
- if m != nil && m.StorageUuid != nil {
- return *m.StorageUuid
+// Deprecated: Use DatanodeStorageProto.ProtoReflect.Descriptor instead.
+func (*DatanodeStorageProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{7}
+}
+
+func (x *DatanodeStorageProto) GetStorageUuid() string {
+ if x != nil && x.StorageUuid != nil {
+ return *x.StorageUuid
}
return ""
}
-func (m *DatanodeStorageProto) GetState() DatanodeStorageProto_StorageState {
- if m != nil && m.State != nil {
- return *m.State
+func (x *DatanodeStorageProto) GetState() DatanodeStorageProto_StorageState {
+ if x != nil && x.State != nil {
+ return *x.State
}
return Default_DatanodeStorageProto_State
}
-func (m *DatanodeStorageProto) GetStorageType() StorageTypeProto {
- if m != nil && m.StorageType != nil {
- return *m.StorageType
+func (x *DatanodeStorageProto) GetStorageType() StorageTypeProto {
+ if x != nil && x.StorageType != nil {
+ return *x.StorageType
}
return Default_DatanodeStorageProto_StorageType
}
type StorageReportProto struct {
- StorageUuid *string `protobuf:"bytes,1,req,name=storageUuid" json:"storageUuid,omitempty"`
- Failed *bool `protobuf:"varint,2,opt,name=failed,def=0" json:"failed,omitempty"`
- Capacity *uint64 `protobuf:"varint,3,opt,name=capacity,def=0" json:"capacity,omitempty"`
- DfsUsed *uint64 `protobuf:"varint,4,opt,name=dfsUsed,def=0" json:"dfsUsed,omitempty"`
- Remaining *uint64 `protobuf:"varint,5,opt,name=remaining,def=0" json:"remaining,omitempty"`
- BlockPoolUsed *uint64 `protobuf:"varint,6,opt,name=blockPoolUsed,def=0" json:"blockPoolUsed,omitempty"`
- Storage *DatanodeStorageProto `protobuf:"bytes,7,opt,name=storage" json:"storage,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *StorageReportProto) Reset() { *m = StorageReportProto{} }
-func (m *StorageReportProto) String() string { return proto.CompactTextString(m) }
-func (*StorageReportProto) ProtoMessage() {}
-func (*StorageReportProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{6} }
-
-const Default_StorageReportProto_Failed bool = false
-const Default_StorageReportProto_Capacity uint64 = 0
-const Default_StorageReportProto_DfsUsed uint64 = 0
-const Default_StorageReportProto_Remaining uint64 = 0
-const Default_StorageReportProto_BlockPoolUsed uint64 = 0
-
-func (m *StorageReportProto) GetStorageUuid() string {
- if m != nil && m.StorageUuid != nil {
- return *m.StorageUuid
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Deprecated: Do not use.
+ StorageUuid *string `protobuf:"bytes,1,req,name=storageUuid" json:"storageUuid,omitempty"`
+ Failed *bool `protobuf:"varint,2,opt,name=failed,def=0" json:"failed,omitempty"`
+ Capacity *uint64 `protobuf:"varint,3,opt,name=capacity,def=0" json:"capacity,omitempty"`
+ DfsUsed *uint64 `protobuf:"varint,4,opt,name=dfsUsed,def=0" json:"dfsUsed,omitempty"`
+ Remaining *uint64 `protobuf:"varint,5,opt,name=remaining,def=0" json:"remaining,omitempty"`
+ BlockPoolUsed *uint64 `protobuf:"varint,6,opt,name=blockPoolUsed,def=0" json:"blockPoolUsed,omitempty"`
+ Storage *DatanodeStorageProto `protobuf:"bytes,7,opt,name=storage" json:"storage,omitempty"` // supersedes StorageUuid
+ NonDfsUsed *uint64 `protobuf:"varint,8,opt,name=nonDfsUsed" json:"nonDfsUsed,omitempty"`
+}
+
+// Default values for StorageReportProto fields.
+const (
+ Default_StorageReportProto_Failed = bool(false)
+ Default_StorageReportProto_Capacity = uint64(0)
+ Default_StorageReportProto_DfsUsed = uint64(0)
+ Default_StorageReportProto_Remaining = uint64(0)
+ Default_StorageReportProto_BlockPoolUsed = uint64(0)
+)
+
+func (x *StorageReportProto) Reset() {
+ *x = StorageReportProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *StorageReportProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*StorageReportProto) ProtoMessage() {}
+
+func (x *StorageReportProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use StorageReportProto.ProtoReflect.Descriptor instead.
+func (*StorageReportProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{8}
+}
+
+// Deprecated: Do not use.
+func (x *StorageReportProto) GetStorageUuid() string {
+ if x != nil && x.StorageUuid != nil {
+ return *x.StorageUuid
}
return ""
}
-func (m *StorageReportProto) GetFailed() bool {
- if m != nil && m.Failed != nil {
- return *m.Failed
+func (x *StorageReportProto) GetFailed() bool {
+ if x != nil && x.Failed != nil {
+ return *x.Failed
}
return Default_StorageReportProto_Failed
}
-func (m *StorageReportProto) GetCapacity() uint64 {
- if m != nil && m.Capacity != nil {
- return *m.Capacity
+func (x *StorageReportProto) GetCapacity() uint64 {
+ if x != nil && x.Capacity != nil {
+ return *x.Capacity
}
return Default_StorageReportProto_Capacity
}
-func (m *StorageReportProto) GetDfsUsed() uint64 {
- if m != nil && m.DfsUsed != nil {
- return *m.DfsUsed
+func (x *StorageReportProto) GetDfsUsed() uint64 {
+ if x != nil && x.DfsUsed != nil {
+ return *x.DfsUsed
}
return Default_StorageReportProto_DfsUsed
}
-func (m *StorageReportProto) GetRemaining() uint64 {
- if m != nil && m.Remaining != nil {
- return *m.Remaining
+func (x *StorageReportProto) GetRemaining() uint64 {
+ if x != nil && x.Remaining != nil {
+ return *x.Remaining
}
return Default_StorageReportProto_Remaining
}
-func (m *StorageReportProto) GetBlockPoolUsed() uint64 {
- if m != nil && m.BlockPoolUsed != nil {
- return *m.BlockPoolUsed
+func (x *StorageReportProto) GetBlockPoolUsed() uint64 {
+ if x != nil && x.BlockPoolUsed != nil {
+ return *x.BlockPoolUsed
}
return Default_StorageReportProto_BlockPoolUsed
}
-func (m *StorageReportProto) GetStorage() *DatanodeStorageProto {
- if m != nil {
- return m.Storage
+func (x *StorageReportProto) GetStorage() *DatanodeStorageProto {
+ if x != nil {
+ return x.Storage
}
return nil
}
-// *
+func (x *StorageReportProto) GetNonDfsUsed() uint64 {
+ if x != nil && x.NonDfsUsed != nil {
+ return *x.NonDfsUsed
+ }
+ return 0
+}
+
+//*
// Summary of a file or directory
type ContentSummaryProto struct {
- Length *uint64 `protobuf:"varint,1,req,name=length" json:"length,omitempty"`
- FileCount *uint64 `protobuf:"varint,2,req,name=fileCount" json:"fileCount,omitempty"`
- DirectoryCount *uint64 `protobuf:"varint,3,req,name=directoryCount" json:"directoryCount,omitempty"`
- Quota *uint64 `protobuf:"varint,4,req,name=quota" json:"quota,omitempty"`
- SpaceConsumed *uint64 `protobuf:"varint,5,req,name=spaceConsumed" json:"spaceConsumed,omitempty"`
- SpaceQuota *uint64 `protobuf:"varint,6,req,name=spaceQuota" json:"spaceQuota,omitempty"`
- TypeQuotaInfos *StorageTypeQuotaInfosProto `protobuf:"bytes,7,opt,name=typeQuotaInfos" json:"typeQuotaInfos,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Length *uint64 `protobuf:"varint,1,req,name=length" json:"length,omitempty"`
+ FileCount *uint64 `protobuf:"varint,2,req,name=fileCount" json:"fileCount,omitempty"`
+ DirectoryCount *uint64 `protobuf:"varint,3,req,name=directoryCount" json:"directoryCount,omitempty"`
+ Quota *uint64 `protobuf:"varint,4,req,name=quota" json:"quota,omitempty"`
+ SpaceConsumed *uint64 `protobuf:"varint,5,req,name=spaceConsumed" json:"spaceConsumed,omitempty"`
+ SpaceQuota *uint64 `protobuf:"varint,6,req,name=spaceQuota" json:"spaceQuota,omitempty"`
+ TypeQuotaInfos *StorageTypeQuotaInfosProto `protobuf:"bytes,7,opt,name=typeQuotaInfos" json:"typeQuotaInfos,omitempty"`
+ SnapshotLength *uint64 `protobuf:"varint,8,opt,name=snapshotLength" json:"snapshotLength,omitempty"`
+ SnapshotFileCount *uint64 `protobuf:"varint,9,opt,name=snapshotFileCount" json:"snapshotFileCount,omitempty"`
+ SnapshotDirectoryCount *uint64 `protobuf:"varint,10,opt,name=snapshotDirectoryCount" json:"snapshotDirectoryCount,omitempty"`
+ SnapshotSpaceConsumed *uint64 `protobuf:"varint,11,opt,name=snapshotSpaceConsumed" json:"snapshotSpaceConsumed,omitempty"`
+ ErasureCodingPolicy *string `protobuf:"bytes,12,opt,name=erasureCodingPolicy" json:"erasureCodingPolicy,omitempty"`
}
-func (m *ContentSummaryProto) Reset() { *m = ContentSummaryProto{} }
-func (m *ContentSummaryProto) String() string { return proto.CompactTextString(m) }
-func (*ContentSummaryProto) ProtoMessage() {}
-func (*ContentSummaryProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{7} }
+func (x *ContentSummaryProto) Reset() {
+ *x = ContentSummaryProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ContentSummaryProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *ContentSummaryProto) GetLength() uint64 {
- if m != nil && m.Length != nil {
- return *m.Length
+func (*ContentSummaryProto) ProtoMessage() {}
+
+func (x *ContentSummaryProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ContentSummaryProto.ProtoReflect.Descriptor instead.
+func (*ContentSummaryProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{9}
+}
+
+func (x *ContentSummaryProto) GetLength() uint64 {
+ if x != nil && x.Length != nil {
+ return *x.Length
}
return 0
}
-func (m *ContentSummaryProto) GetFileCount() uint64 {
- if m != nil && m.FileCount != nil {
- return *m.FileCount
+func (x *ContentSummaryProto) GetFileCount() uint64 {
+ if x != nil && x.FileCount != nil {
+ return *x.FileCount
}
return 0
}
-func (m *ContentSummaryProto) GetDirectoryCount() uint64 {
- if m != nil && m.DirectoryCount != nil {
- return *m.DirectoryCount
+func (x *ContentSummaryProto) GetDirectoryCount() uint64 {
+ if x != nil && x.DirectoryCount != nil {
+ return *x.DirectoryCount
}
return 0
}
-func (m *ContentSummaryProto) GetQuota() uint64 {
- if m != nil && m.Quota != nil {
- return *m.Quota
+func (x *ContentSummaryProto) GetQuota() uint64 {
+ if x != nil && x.Quota != nil {
+ return *x.Quota
}
return 0
}
-func (m *ContentSummaryProto) GetSpaceConsumed() uint64 {
- if m != nil && m.SpaceConsumed != nil {
- return *m.SpaceConsumed
+func (x *ContentSummaryProto) GetSpaceConsumed() uint64 {
+ if x != nil && x.SpaceConsumed != nil {
+ return *x.SpaceConsumed
}
return 0
}
-func (m *ContentSummaryProto) GetSpaceQuota() uint64 {
- if m != nil && m.SpaceQuota != nil {
- return *m.SpaceQuota
+func (x *ContentSummaryProto) GetSpaceQuota() uint64 {
+ if x != nil && x.SpaceQuota != nil {
+ return *x.SpaceQuota
}
return 0
}
-func (m *ContentSummaryProto) GetTypeQuotaInfos() *StorageTypeQuotaInfosProto {
- if m != nil {
- return m.TypeQuotaInfos
+func (x *ContentSummaryProto) GetTypeQuotaInfos() *StorageTypeQuotaInfosProto {
+ if x != nil {
+ return x.TypeQuotaInfos
}
return nil
}
-// *
+func (x *ContentSummaryProto) GetSnapshotLength() uint64 {
+ if x != nil && x.SnapshotLength != nil {
+ return *x.SnapshotLength
+ }
+ return 0
+}
+
+func (x *ContentSummaryProto) GetSnapshotFileCount() uint64 {
+ if x != nil && x.SnapshotFileCount != nil {
+ return *x.SnapshotFileCount
+ }
+ return 0
+}
+
+func (x *ContentSummaryProto) GetSnapshotDirectoryCount() uint64 {
+ if x != nil && x.SnapshotDirectoryCount != nil {
+ return *x.SnapshotDirectoryCount
+ }
+ return 0
+}
+
+func (x *ContentSummaryProto) GetSnapshotSpaceConsumed() uint64 {
+ if x != nil && x.SnapshotSpaceConsumed != nil {
+ return *x.SnapshotSpaceConsumed
+ }
+ return 0
+}
+
+func (x *ContentSummaryProto) GetErasureCodingPolicy() string {
+ if x != nil && x.ErasureCodingPolicy != nil {
+ return *x.ErasureCodingPolicy
+ }
+ return ""
+}
+
+//*
// Summary of quota usage of a directory
type QuotaUsageProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
FileAndDirectoryCount *uint64 `protobuf:"varint,1,req,name=fileAndDirectoryCount" json:"fileAndDirectoryCount,omitempty"`
Quota *uint64 `protobuf:"varint,2,req,name=quota" json:"quota,omitempty"`
SpaceConsumed *uint64 `protobuf:"varint,3,req,name=spaceConsumed" json:"spaceConsumed,omitempty"`
SpaceQuota *uint64 `protobuf:"varint,4,req,name=spaceQuota" json:"spaceQuota,omitempty"`
TypeQuotaInfos *StorageTypeQuotaInfosProto `protobuf:"bytes,5,opt,name=typeQuotaInfos" json:"typeQuotaInfos,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *QuotaUsageProto) Reset() { *m = QuotaUsageProto{} }
-func (m *QuotaUsageProto) String() string { return proto.CompactTextString(m) }
-func (*QuotaUsageProto) ProtoMessage() {}
-func (*QuotaUsageProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{8} }
+func (x *QuotaUsageProto) Reset() {
+ *x = QuotaUsageProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *QuotaUsageProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*QuotaUsageProto) ProtoMessage() {}
+
+func (x *QuotaUsageProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use QuotaUsageProto.ProtoReflect.Descriptor instead.
+func (*QuotaUsageProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{10}
+}
-func (m *QuotaUsageProto) GetFileAndDirectoryCount() uint64 {
- if m != nil && m.FileAndDirectoryCount != nil {
- return *m.FileAndDirectoryCount
+func (x *QuotaUsageProto) GetFileAndDirectoryCount() uint64 {
+ if x != nil && x.FileAndDirectoryCount != nil {
+ return *x.FileAndDirectoryCount
}
return 0
}
-func (m *QuotaUsageProto) GetQuota() uint64 {
- if m != nil && m.Quota != nil {
- return *m.Quota
+func (x *QuotaUsageProto) GetQuota() uint64 {
+ if x != nil && x.Quota != nil {
+ return *x.Quota
}
return 0
}
-func (m *QuotaUsageProto) GetSpaceConsumed() uint64 {
- if m != nil && m.SpaceConsumed != nil {
- return *m.SpaceConsumed
+func (x *QuotaUsageProto) GetSpaceConsumed() uint64 {
+ if x != nil && x.SpaceConsumed != nil {
+ return *x.SpaceConsumed
}
return 0
}
-func (m *QuotaUsageProto) GetSpaceQuota() uint64 {
- if m != nil && m.SpaceQuota != nil {
- return *m.SpaceQuota
+func (x *QuotaUsageProto) GetSpaceQuota() uint64 {
+ if x != nil && x.SpaceQuota != nil {
+ return *x.SpaceQuota
}
return 0
}
-func (m *QuotaUsageProto) GetTypeQuotaInfos() *StorageTypeQuotaInfosProto {
- if m != nil {
- return m.TypeQuotaInfos
+func (x *QuotaUsageProto) GetTypeQuotaInfos() *StorageTypeQuotaInfosProto {
+ if x != nil {
+ return x.TypeQuotaInfos
}
return nil
}
-// *
+//*
// Storage type quota and usage information of a file or directory
type StorageTypeQuotaInfosProto struct {
- TypeQuotaInfo []*StorageTypeQuotaInfoProto `protobuf:"bytes,1,rep,name=typeQuotaInfo" json:"typeQuotaInfo,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ TypeQuotaInfo []*StorageTypeQuotaInfoProto `protobuf:"bytes,1,rep,name=typeQuotaInfo" json:"typeQuotaInfo,omitempty"`
+}
+
+func (x *StorageTypeQuotaInfosProto) Reset() {
+ *x = StorageTypeQuotaInfosProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *StorageTypeQuotaInfosProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*StorageTypeQuotaInfosProto) ProtoMessage() {}
+
+func (x *StorageTypeQuotaInfosProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *StorageTypeQuotaInfosProto) Reset() { *m = StorageTypeQuotaInfosProto{} }
-func (m *StorageTypeQuotaInfosProto) String() string { return proto.CompactTextString(m) }
-func (*StorageTypeQuotaInfosProto) ProtoMessage() {}
-func (*StorageTypeQuotaInfosProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{9} }
+// Deprecated: Use StorageTypeQuotaInfosProto.ProtoReflect.Descriptor instead.
+func (*StorageTypeQuotaInfosProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{11}
+}
-func (m *StorageTypeQuotaInfosProto) GetTypeQuotaInfo() []*StorageTypeQuotaInfoProto {
- if m != nil {
- return m.TypeQuotaInfo
+func (x *StorageTypeQuotaInfosProto) GetTypeQuotaInfo() []*StorageTypeQuotaInfoProto {
+ if x != nil {
+ return x.TypeQuotaInfo
}
return nil
}
type StorageTypeQuotaInfoProto struct {
- Type *StorageTypeProto `protobuf:"varint,1,req,name=type,enum=hadoop.hdfs.StorageTypeProto" json:"type,omitempty"`
- Quota *uint64 `protobuf:"varint,2,req,name=quota" json:"quota,omitempty"`
- Consumed *uint64 `protobuf:"varint,3,req,name=consumed" json:"consumed,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Type *StorageTypeProto `protobuf:"varint,1,opt,name=type,enum=hadoop.hdfs.StorageTypeProto,def=1" json:"type,omitempty"`
+ Quota *uint64 `protobuf:"varint,2,req,name=quota" json:"quota,omitempty"`
+ Consumed *uint64 `protobuf:"varint,3,req,name=consumed" json:"consumed,omitempty"`
}
-func (m *StorageTypeQuotaInfoProto) Reset() { *m = StorageTypeQuotaInfoProto{} }
-func (m *StorageTypeQuotaInfoProto) String() string { return proto.CompactTextString(m) }
-func (*StorageTypeQuotaInfoProto) ProtoMessage() {}
-func (*StorageTypeQuotaInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{10} }
+// Default values for StorageTypeQuotaInfoProto fields.
+const (
+ Default_StorageTypeQuotaInfoProto_Type = StorageTypeProto_DISK
+)
-func (m *StorageTypeQuotaInfoProto) GetType() StorageTypeProto {
- if m != nil && m.Type != nil {
- return *m.Type
+func (x *StorageTypeQuotaInfoProto) Reset() {
+ *x = StorageTypeQuotaInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return StorageTypeProto_DISK
}
-func (m *StorageTypeQuotaInfoProto) GetQuota() uint64 {
- if m != nil && m.Quota != nil {
- return *m.Quota
+func (x *StorageTypeQuotaInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*StorageTypeQuotaInfoProto) ProtoMessage() {}
+
+func (x *StorageTypeQuotaInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[12]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use StorageTypeQuotaInfoProto.ProtoReflect.Descriptor instead.
+func (*StorageTypeQuotaInfoProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{12}
+}
+
+func (x *StorageTypeQuotaInfoProto) GetType() StorageTypeProto {
+ if x != nil && x.Type != nil {
+ return *x.Type
+ }
+ return Default_StorageTypeQuotaInfoProto_Type
+}
+
+func (x *StorageTypeQuotaInfoProto) GetQuota() uint64 {
+ if x != nil && x.Quota != nil {
+ return *x.Quota
}
return 0
}
-func (m *StorageTypeQuotaInfoProto) GetConsumed() uint64 {
- if m != nil && m.Consumed != nil {
- return *m.Consumed
+func (x *StorageTypeQuotaInfoProto) GetConsumed() uint64 {
+ if x != nil && x.Consumed != nil {
+ return *x.Consumed
}
return 0
}
-// *
+//*
// Contains a list of paths corresponding to corrupt files and a cookie
// used for iterative calls to NameNode.listCorruptFileBlocks.
//
type CorruptFileBlocksProto struct {
- Files []string `protobuf:"bytes,1,rep,name=files" json:"files,omitempty"`
- Cookie *string `protobuf:"bytes,2,req,name=cookie" json:"cookie,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *CorruptFileBlocksProto) Reset() { *m = CorruptFileBlocksProto{} }
-func (m *CorruptFileBlocksProto) String() string { return proto.CompactTextString(m) }
-func (*CorruptFileBlocksProto) ProtoMessage() {}
-func (*CorruptFileBlocksProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{11} }
+ Files []string `protobuf:"bytes,1,rep,name=files" json:"files,omitempty"`
+ Cookie *string `protobuf:"bytes,2,req,name=cookie" json:"cookie,omitempty"`
+}
-func (m *CorruptFileBlocksProto) GetFiles() []string {
- if m != nil {
- return m.Files
+func (x *CorruptFileBlocksProto) Reset() {
+ *x = CorruptFileBlocksProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return nil
}
-func (m *CorruptFileBlocksProto) GetCookie() string {
- if m != nil && m.Cookie != nil {
- return *m.Cookie
+func (x *CorruptFileBlocksProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CorruptFileBlocksProto) ProtoMessage() {}
+
+func (x *CorruptFileBlocksProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[13]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return ""
+ return mi.MessageOf(x)
}
-// *
-// File or Directory permision - same spec as posix
-type FsPermissionProto struct {
- Perm *uint32 `protobuf:"varint,1,req,name=perm" json:"perm,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+// Deprecated: Use CorruptFileBlocksProto.ProtoReflect.Descriptor instead.
+func (*CorruptFileBlocksProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{13}
}
-func (m *FsPermissionProto) Reset() { *m = FsPermissionProto{} }
-func (m *FsPermissionProto) String() string { return proto.CompactTextString(m) }
-func (*FsPermissionProto) ProtoMessage() {}
-func (*FsPermissionProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{12} }
+func (x *CorruptFileBlocksProto) GetFiles() []string {
+ if x != nil {
+ return x.Files
+ }
+ return nil
+}
-func (m *FsPermissionProto) GetPerm() uint32 {
- if m != nil && m.Perm != nil {
- return *m.Perm
+func (x *CorruptFileBlocksProto) GetCookie() string {
+ if x != nil && x.Cookie != nil {
+ return *x.Cookie
}
- return 0
+ return ""
}
-// *
+//*
// A list of storage types.
type StorageTypesProto struct {
- StorageTypes []StorageTypeProto `protobuf:"varint,1,rep,name=storageTypes,enum=hadoop.hdfs.StorageTypeProto" json:"storageTypes,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ StorageTypes []StorageTypeProto `protobuf:"varint,1,rep,name=storageTypes,enum=hadoop.hdfs.StorageTypeProto" json:"storageTypes,omitempty"`
+}
+
+func (x *StorageTypesProto) Reset() {
+ *x = StorageTypesProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *StorageTypesProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *StorageTypesProto) Reset() { *m = StorageTypesProto{} }
-func (m *StorageTypesProto) String() string { return proto.CompactTextString(m) }
-func (*StorageTypesProto) ProtoMessage() {}
-func (*StorageTypesProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{13} }
+func (*StorageTypesProto) ProtoMessage() {}
-func (m *StorageTypesProto) GetStorageTypes() []StorageTypeProto {
- if m != nil {
- return m.StorageTypes
+func (x *StorageTypesProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[14]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use StorageTypesProto.ProtoReflect.Descriptor instead.
+func (*StorageTypesProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{14}
+}
+
+func (x *StorageTypesProto) GetStorageTypes() []StorageTypeProto {
+ if x != nil {
+ return x.StorageTypes
}
return nil
}
-// *
+//*
// Block replica storage policy.
type BlockStoragePolicyProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
PolicyId *uint32 `protobuf:"varint,1,req,name=policyId" json:"policyId,omitempty"`
Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
// a list of storage types for storing the block replicas when creating a
@@ -936,383 +2072,761 @@ type BlockStoragePolicyProto struct {
// A list of storage types for creation fallback storage.
CreationFallbackPolicy *StorageTypesProto `protobuf:"bytes,4,opt,name=creationFallbackPolicy" json:"creationFallbackPolicy,omitempty"`
ReplicationFallbackPolicy *StorageTypesProto `protobuf:"bytes,5,opt,name=replicationFallbackPolicy" json:"replicationFallbackPolicy,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *BlockStoragePolicyProto) Reset() { *m = BlockStoragePolicyProto{} }
-func (m *BlockStoragePolicyProto) String() string { return proto.CompactTextString(m) }
-func (*BlockStoragePolicyProto) ProtoMessage() {}
-func (*BlockStoragePolicyProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{14} }
+func (x *BlockStoragePolicyProto) Reset() {
+ *x = BlockStoragePolicyProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BlockStoragePolicyProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BlockStoragePolicyProto) ProtoMessage() {}
-func (m *BlockStoragePolicyProto) GetPolicyId() uint32 {
- if m != nil && m.PolicyId != nil {
- return *m.PolicyId
+func (x *BlockStoragePolicyProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[15]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BlockStoragePolicyProto.ProtoReflect.Descriptor instead.
+func (*BlockStoragePolicyProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{15}
+}
+
+func (x *BlockStoragePolicyProto) GetPolicyId() uint32 {
+ if x != nil && x.PolicyId != nil {
+ return *x.PolicyId
}
return 0
}
-func (m *BlockStoragePolicyProto) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
+func (x *BlockStoragePolicyProto) GetName() string {
+ if x != nil && x.Name != nil {
+ return *x.Name
}
return ""
}
-func (m *BlockStoragePolicyProto) GetCreationPolicy() *StorageTypesProto {
- if m != nil {
- return m.CreationPolicy
+func (x *BlockStoragePolicyProto) GetCreationPolicy() *StorageTypesProto {
+ if x != nil {
+ return x.CreationPolicy
}
return nil
}
-func (m *BlockStoragePolicyProto) GetCreationFallbackPolicy() *StorageTypesProto {
- if m != nil {
- return m.CreationFallbackPolicy
+func (x *BlockStoragePolicyProto) GetCreationFallbackPolicy() *StorageTypesProto {
+ if x != nil {
+ return x.CreationFallbackPolicy
}
return nil
}
-func (m *BlockStoragePolicyProto) GetReplicationFallbackPolicy() *StorageTypesProto {
- if m != nil {
- return m.ReplicationFallbackPolicy
+func (x *BlockStoragePolicyProto) GetReplicationFallbackPolicy() *StorageTypesProto {
+ if x != nil {
+ return x.ReplicationFallbackPolicy
}
return nil
}
-// *
+//*
// A LocatedBlock gives information about a block and its location.
type LocatedBlockProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
B *ExtendedBlockProto `protobuf:"bytes,1,req,name=b" json:"b,omitempty"`
- Offset *uint64 `protobuf:"varint,2,req,name=offset" json:"offset,omitempty"`
- Locs []*DatanodeInfoProto `protobuf:"bytes,3,rep,name=locs" json:"locs,omitempty"`
- Corrupt *bool `protobuf:"varint,4,req,name=corrupt" json:"corrupt,omitempty"`
+ Offset *uint64 `protobuf:"varint,2,req,name=offset" json:"offset,omitempty"` // offset of first byte of block in the file
+ Locs []*DatanodeInfoProto `protobuf:"bytes,3,rep,name=locs" json:"locs,omitempty"` // Locations ordered by proximity to client ip
+ Corrupt *bool `protobuf:"varint,4,req,name=corrupt" json:"corrupt,omitempty"` // true if all replicas of a block are corrupt, else false
BlockToken *hadoop_common.TokenProto `protobuf:"bytes,5,req,name=blockToken" json:"blockToken,omitempty"`
- IsCached []bool `protobuf:"varint,6,rep,packed,name=isCached" json:"isCached,omitempty"`
+ IsCached []bool `protobuf:"varint,6,rep,packed,name=isCached" json:"isCached,omitempty"` // if a location in locs is cached
StorageTypes []StorageTypeProto `protobuf:"varint,7,rep,name=storageTypes,enum=hadoop.hdfs.StorageTypeProto" json:"storageTypes,omitempty"`
StorageIDs []string `protobuf:"bytes,8,rep,name=storageIDs" json:"storageIDs,omitempty"`
// striped block related fields
- BlockIndices []byte `protobuf:"bytes,9,opt,name=blockIndices" json:"blockIndices,omitempty"`
- BlockTokens []*hadoop_common.TokenProto `protobuf:"bytes,10,rep,name=blockTokens" json:"blockTokens,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ BlockIndices []byte `protobuf:"bytes,9,opt,name=blockIndices" json:"blockIndices,omitempty"` // used for striped block to indicate block index for each storage
+ BlockTokens []*hadoop_common.TokenProto `protobuf:"bytes,10,rep,name=blockTokens" json:"blockTokens,omitempty"` // each internal block has a block token
+}
+
+func (x *LocatedBlockProto) Reset() {
+ *x = LocatedBlockProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[16]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *LocatedBlockProto) Reset() { *m = LocatedBlockProto{} }
-func (m *LocatedBlockProto) String() string { return proto.CompactTextString(m) }
-func (*LocatedBlockProto) ProtoMessage() {}
-func (*LocatedBlockProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{15} }
+func (x *LocatedBlockProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*LocatedBlockProto) ProtoMessage() {}
+
+func (x *LocatedBlockProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[16]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use LocatedBlockProto.ProtoReflect.Descriptor instead.
+func (*LocatedBlockProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{16}
+}
-func (m *LocatedBlockProto) GetB() *ExtendedBlockProto {
- if m != nil {
- return m.B
+func (x *LocatedBlockProto) GetB() *ExtendedBlockProto {
+ if x != nil {
+ return x.B
}
return nil
}
-func (m *LocatedBlockProto) GetOffset() uint64 {
- if m != nil && m.Offset != nil {
- return *m.Offset
+func (x *LocatedBlockProto) GetOffset() uint64 {
+ if x != nil && x.Offset != nil {
+ return *x.Offset
}
return 0
}
-func (m *LocatedBlockProto) GetLocs() []*DatanodeInfoProto {
- if m != nil {
- return m.Locs
+func (x *LocatedBlockProto) GetLocs() []*DatanodeInfoProto {
+ if x != nil {
+ return x.Locs
}
return nil
}
-func (m *LocatedBlockProto) GetCorrupt() bool {
- if m != nil && m.Corrupt != nil {
- return *m.Corrupt
+func (x *LocatedBlockProto) GetCorrupt() bool {
+ if x != nil && x.Corrupt != nil {
+ return *x.Corrupt
}
return false
}
-func (m *LocatedBlockProto) GetBlockToken() *hadoop_common.TokenProto {
- if m != nil {
- return m.BlockToken
+func (x *LocatedBlockProto) GetBlockToken() *hadoop_common.TokenProto {
+ if x != nil {
+ return x.BlockToken
}
return nil
}
-func (m *LocatedBlockProto) GetIsCached() []bool {
- if m != nil {
- return m.IsCached
+func (x *LocatedBlockProto) GetIsCached() []bool {
+ if x != nil {
+ return x.IsCached
}
return nil
}
-func (m *LocatedBlockProto) GetStorageTypes() []StorageTypeProto {
- if m != nil {
- return m.StorageTypes
+func (x *LocatedBlockProto) GetStorageTypes() []StorageTypeProto {
+ if x != nil {
+ return x.StorageTypes
}
return nil
}
-func (m *LocatedBlockProto) GetStorageIDs() []string {
- if m != nil {
- return m.StorageIDs
+func (x *LocatedBlockProto) GetStorageIDs() []string {
+ if x != nil {
+ return x.StorageIDs
}
return nil
}
-func (m *LocatedBlockProto) GetBlockIndices() []byte {
- if m != nil {
- return m.BlockIndices
+func (x *LocatedBlockProto) GetBlockIndices() []byte {
+ if x != nil {
+ return x.BlockIndices
}
return nil
}
-func (m *LocatedBlockProto) GetBlockTokens() []*hadoop_common.TokenProto {
- if m != nil {
- return m.BlockTokens
+func (x *LocatedBlockProto) GetBlockTokens() []*hadoop_common.TokenProto {
+ if x != nil {
+ return x.BlockTokens
+ }
+ return nil
+}
+
+type BatchedListingKeyProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Checksum []byte `protobuf:"bytes,1,req,name=checksum" json:"checksum,omitempty"`
+ PathIndex *uint32 `protobuf:"varint,2,req,name=pathIndex" json:"pathIndex,omitempty"`
+ StartAfter []byte `protobuf:"bytes,3,req,name=startAfter" json:"startAfter,omitempty"`
+}
+
+func (x *BatchedListingKeyProto) Reset() {
+ *x = BatchedListingKeyProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[17]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BatchedListingKeyProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BatchedListingKeyProto) ProtoMessage() {}
+
+func (x *BatchedListingKeyProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[17]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BatchedListingKeyProto.ProtoReflect.Descriptor instead.
+func (*BatchedListingKeyProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{17}
+}
+
+func (x *BatchedListingKeyProto) GetChecksum() []byte {
+ if x != nil {
+ return x.Checksum
+ }
+ return nil
+}
+
+func (x *BatchedListingKeyProto) GetPathIndex() uint32 {
+ if x != nil && x.PathIndex != nil {
+ return *x.PathIndex
+ }
+ return 0
+}
+
+func (x *BatchedListingKeyProto) GetStartAfter() []byte {
+ if x != nil {
+ return x.StartAfter
}
return nil
}
type DataEncryptionKeyProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
KeyId *uint32 `protobuf:"varint,1,req,name=keyId" json:"keyId,omitempty"`
BlockPoolId *string `protobuf:"bytes,2,req,name=blockPoolId" json:"blockPoolId,omitempty"`
Nonce []byte `protobuf:"bytes,3,req,name=nonce" json:"nonce,omitempty"`
EncryptionKey []byte `protobuf:"bytes,4,req,name=encryptionKey" json:"encryptionKey,omitempty"`
ExpiryDate *uint64 `protobuf:"varint,5,req,name=expiryDate" json:"expiryDate,omitempty"`
EncryptionAlgorithm *string `protobuf:"bytes,6,opt,name=encryptionAlgorithm" json:"encryptionAlgorithm,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *DataEncryptionKeyProto) Reset() { *m = DataEncryptionKeyProto{} }
-func (m *DataEncryptionKeyProto) String() string { return proto.CompactTextString(m) }
-func (*DataEncryptionKeyProto) ProtoMessage() {}
-func (*DataEncryptionKeyProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{16} }
+func (x *DataEncryptionKeyProto) Reset() {
+ *x = DataEncryptionKeyProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[18]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DataEncryptionKeyProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DataEncryptionKeyProto) ProtoMessage() {}
-func (m *DataEncryptionKeyProto) GetKeyId() uint32 {
- if m != nil && m.KeyId != nil {
- return *m.KeyId
+func (x *DataEncryptionKeyProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[18]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DataEncryptionKeyProto.ProtoReflect.Descriptor instead.
+func (*DataEncryptionKeyProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{18}
+}
+
+func (x *DataEncryptionKeyProto) GetKeyId() uint32 {
+ if x != nil && x.KeyId != nil {
+ return *x.KeyId
}
return 0
}
-func (m *DataEncryptionKeyProto) GetBlockPoolId() string {
- if m != nil && m.BlockPoolId != nil {
- return *m.BlockPoolId
+func (x *DataEncryptionKeyProto) GetBlockPoolId() string {
+ if x != nil && x.BlockPoolId != nil {
+ return *x.BlockPoolId
}
return ""
}
-func (m *DataEncryptionKeyProto) GetNonce() []byte {
- if m != nil {
- return m.Nonce
+func (x *DataEncryptionKeyProto) GetNonce() []byte {
+ if x != nil {
+ return x.Nonce
}
return nil
}
-func (m *DataEncryptionKeyProto) GetEncryptionKey() []byte {
- if m != nil {
- return m.EncryptionKey
+func (x *DataEncryptionKeyProto) GetEncryptionKey() []byte {
+ if x != nil {
+ return x.EncryptionKey
}
return nil
}
-func (m *DataEncryptionKeyProto) GetExpiryDate() uint64 {
- if m != nil && m.ExpiryDate != nil {
- return *m.ExpiryDate
+func (x *DataEncryptionKeyProto) GetExpiryDate() uint64 {
+ if x != nil && x.ExpiryDate != nil {
+ return *x.ExpiryDate
}
return 0
}
-func (m *DataEncryptionKeyProto) GetEncryptionAlgorithm() string {
- if m != nil && m.EncryptionAlgorithm != nil {
- return *m.EncryptionAlgorithm
+func (x *DataEncryptionKeyProto) GetEncryptionAlgorithm() string {
+ if x != nil && x.EncryptionAlgorithm != nil {
+ return *x.EncryptionAlgorithm
}
return ""
}
-// *
+//*
// Encryption information for a file.
type FileEncryptionInfoProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Suite *CipherSuiteProto `protobuf:"varint,1,req,name=suite,enum=hadoop.hdfs.CipherSuiteProto" json:"suite,omitempty"`
CryptoProtocolVersion *CryptoProtocolVersionProto `protobuf:"varint,2,req,name=cryptoProtocolVersion,enum=hadoop.hdfs.CryptoProtocolVersionProto" json:"cryptoProtocolVersion,omitempty"`
Key []byte `protobuf:"bytes,3,req,name=key" json:"key,omitempty"`
Iv []byte `protobuf:"bytes,4,req,name=iv" json:"iv,omitempty"`
KeyName *string `protobuf:"bytes,5,req,name=keyName" json:"keyName,omitempty"`
EzKeyVersionName *string `protobuf:"bytes,6,req,name=ezKeyVersionName" json:"ezKeyVersionName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *FileEncryptionInfoProto) Reset() { *m = FileEncryptionInfoProto{} }
-func (m *FileEncryptionInfoProto) String() string { return proto.CompactTextString(m) }
-func (*FileEncryptionInfoProto) ProtoMessage() {}
-func (*FileEncryptionInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{17} }
+func (x *FileEncryptionInfoProto) Reset() {
+ *x = FileEncryptionInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[19]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FileEncryptionInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FileEncryptionInfoProto) ProtoMessage() {}
-func (m *FileEncryptionInfoProto) GetSuite() CipherSuiteProto {
- if m != nil && m.Suite != nil {
- return *m.Suite
+func (x *FileEncryptionInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[19]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FileEncryptionInfoProto.ProtoReflect.Descriptor instead.
+func (*FileEncryptionInfoProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{19}
+}
+
+func (x *FileEncryptionInfoProto) GetSuite() CipherSuiteProto {
+ if x != nil && x.Suite != nil {
+ return *x.Suite
}
return CipherSuiteProto_UNKNOWN
}
-func (m *FileEncryptionInfoProto) GetCryptoProtocolVersion() CryptoProtocolVersionProto {
- if m != nil && m.CryptoProtocolVersion != nil {
- return *m.CryptoProtocolVersion
+func (x *FileEncryptionInfoProto) GetCryptoProtocolVersion() CryptoProtocolVersionProto {
+ if x != nil && x.CryptoProtocolVersion != nil {
+ return *x.CryptoProtocolVersion
}
return CryptoProtocolVersionProto_UNKNOWN_PROTOCOL_VERSION
}
-func (m *FileEncryptionInfoProto) GetKey() []byte {
- if m != nil {
- return m.Key
+func (x *FileEncryptionInfoProto) GetKey() []byte {
+ if x != nil {
+ return x.Key
}
return nil
}
-func (m *FileEncryptionInfoProto) GetIv() []byte {
- if m != nil {
- return m.Iv
+func (x *FileEncryptionInfoProto) GetIv() []byte {
+ if x != nil {
+ return x.Iv
}
return nil
}
-func (m *FileEncryptionInfoProto) GetKeyName() string {
- if m != nil && m.KeyName != nil {
- return *m.KeyName
+func (x *FileEncryptionInfoProto) GetKeyName() string {
+ if x != nil && x.KeyName != nil {
+ return *x.KeyName
}
return ""
}
-func (m *FileEncryptionInfoProto) GetEzKeyVersionName() string {
- if m != nil && m.EzKeyVersionName != nil {
- return *m.EzKeyVersionName
+func (x *FileEncryptionInfoProto) GetEzKeyVersionName() string {
+ if x != nil && x.EzKeyVersionName != nil {
+ return *x.EzKeyVersionName
}
return ""
}
-// *
+//*
// Encryption information for an individual
// file within an encryption zone
type PerFileEncryptionInfoProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Key []byte `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
Iv []byte `protobuf:"bytes,2,req,name=iv" json:"iv,omitempty"`
EzKeyVersionName *string `protobuf:"bytes,3,req,name=ezKeyVersionName" json:"ezKeyVersionName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *PerFileEncryptionInfoProto) Reset() { *m = PerFileEncryptionInfoProto{} }
-func (m *PerFileEncryptionInfoProto) String() string { return proto.CompactTextString(m) }
-func (*PerFileEncryptionInfoProto) ProtoMessage() {}
-func (*PerFileEncryptionInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{18} }
+func (x *PerFileEncryptionInfoProto) Reset() {
+ *x = PerFileEncryptionInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[20]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *PerFileEncryptionInfoProto) GetKey() []byte {
- if m != nil {
- return m.Key
+func (x *PerFileEncryptionInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PerFileEncryptionInfoProto) ProtoMessage() {}
+
+func (x *PerFileEncryptionInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[20]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PerFileEncryptionInfoProto.ProtoReflect.Descriptor instead.
+func (*PerFileEncryptionInfoProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{20}
+}
+
+func (x *PerFileEncryptionInfoProto) GetKey() []byte {
+ if x != nil {
+ return x.Key
}
return nil
}
-func (m *PerFileEncryptionInfoProto) GetIv() []byte {
- if m != nil {
- return m.Iv
+func (x *PerFileEncryptionInfoProto) GetIv() []byte {
+ if x != nil {
+ return x.Iv
}
return nil
}
-func (m *PerFileEncryptionInfoProto) GetEzKeyVersionName() string {
- if m != nil && m.EzKeyVersionName != nil {
- return *m.EzKeyVersionName
+func (x *PerFileEncryptionInfoProto) GetEzKeyVersionName() string {
+ if x != nil && x.EzKeyVersionName != nil {
+ return *x.EzKeyVersionName
}
return ""
}
-// *
+//*
// Encryption information for an encryption
// zone
type ZoneEncryptionInfoProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Suite *CipherSuiteProto `protobuf:"varint,1,req,name=suite,enum=hadoop.hdfs.CipherSuiteProto" json:"suite,omitempty"`
CryptoProtocolVersion *CryptoProtocolVersionProto `protobuf:"varint,2,req,name=cryptoProtocolVersion,enum=hadoop.hdfs.CryptoProtocolVersionProto" json:"cryptoProtocolVersion,omitempty"`
KeyName *string `protobuf:"bytes,3,req,name=keyName" json:"keyName,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ ReencryptionProto *ReencryptionInfoProto `protobuf:"bytes,4,opt,name=reencryptionProto" json:"reencryptionProto,omitempty"`
+}
+
+func (x *ZoneEncryptionInfoProto) Reset() {
+ *x = ZoneEncryptionInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[21]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ZoneEncryptionInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ZoneEncryptionInfoProto) Reset() { *m = ZoneEncryptionInfoProto{} }
-func (m *ZoneEncryptionInfoProto) String() string { return proto.CompactTextString(m) }
-func (*ZoneEncryptionInfoProto) ProtoMessage() {}
-func (*ZoneEncryptionInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{19} }
+func (*ZoneEncryptionInfoProto) ProtoMessage() {}
-func (m *ZoneEncryptionInfoProto) GetSuite() CipherSuiteProto {
- if m != nil && m.Suite != nil {
- return *m.Suite
+func (x *ZoneEncryptionInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[21]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ZoneEncryptionInfoProto.ProtoReflect.Descriptor instead.
+func (*ZoneEncryptionInfoProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{21}
+}
+
+func (x *ZoneEncryptionInfoProto) GetSuite() CipherSuiteProto {
+ if x != nil && x.Suite != nil {
+ return *x.Suite
}
return CipherSuiteProto_UNKNOWN
}
-func (m *ZoneEncryptionInfoProto) GetCryptoProtocolVersion() CryptoProtocolVersionProto {
- if m != nil && m.CryptoProtocolVersion != nil {
- return *m.CryptoProtocolVersion
+func (x *ZoneEncryptionInfoProto) GetCryptoProtocolVersion() CryptoProtocolVersionProto {
+ if x != nil && x.CryptoProtocolVersion != nil {
+ return *x.CryptoProtocolVersion
}
return CryptoProtocolVersionProto_UNKNOWN_PROTOCOL_VERSION
}
-func (m *ZoneEncryptionInfoProto) GetKeyName() string {
- if m != nil && m.KeyName != nil {
- return *m.KeyName
+func (x *ZoneEncryptionInfoProto) GetKeyName() string {
+ if x != nil && x.KeyName != nil {
+ return *x.KeyName
}
return ""
}
-// *
+func (x *ZoneEncryptionInfoProto) GetReencryptionProto() *ReencryptionInfoProto {
+ if x != nil {
+ return x.ReencryptionProto
+ }
+ return nil
+}
+
+//*
+// Re-encryption information for an encryption zone
+type ReencryptionInfoProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ EzKeyVersionName *string `protobuf:"bytes,1,req,name=ezKeyVersionName" json:"ezKeyVersionName,omitempty"`
+ SubmissionTime *uint64 `protobuf:"varint,2,req,name=submissionTime" json:"submissionTime,omitempty"`
+ Canceled *bool `protobuf:"varint,3,req,name=canceled" json:"canceled,omitempty"`
+ NumReencrypted *int64 `protobuf:"varint,4,req,name=numReencrypted" json:"numReencrypted,omitempty"`
+ NumFailures *int64 `protobuf:"varint,5,req,name=numFailures" json:"numFailures,omitempty"`
+ CompletionTime *uint64 `protobuf:"varint,6,opt,name=completionTime" json:"completionTime,omitempty"`
+ LastFile *string `protobuf:"bytes,7,opt,name=lastFile" json:"lastFile,omitempty"`
+}
+
+func (x *ReencryptionInfoProto) Reset() {
+ *x = ReencryptionInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[22]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ReencryptionInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ReencryptionInfoProto) ProtoMessage() {}
+
+func (x *ReencryptionInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[22]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ReencryptionInfoProto.ProtoReflect.Descriptor instead.
+func (*ReencryptionInfoProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{22}
+}
+
+func (x *ReencryptionInfoProto) GetEzKeyVersionName() string {
+ if x != nil && x.EzKeyVersionName != nil {
+ return *x.EzKeyVersionName
+ }
+ return ""
+}
+
+func (x *ReencryptionInfoProto) GetSubmissionTime() uint64 {
+ if x != nil && x.SubmissionTime != nil {
+ return *x.SubmissionTime
+ }
+ return 0
+}
+
+func (x *ReencryptionInfoProto) GetCanceled() bool {
+ if x != nil && x.Canceled != nil {
+ return *x.Canceled
+ }
+ return false
+}
+
+func (x *ReencryptionInfoProto) GetNumReencrypted() int64 {
+ if x != nil && x.NumReencrypted != nil {
+ return *x.NumReencrypted
+ }
+ return 0
+}
+
+func (x *ReencryptionInfoProto) GetNumFailures() int64 {
+ if x != nil && x.NumFailures != nil {
+ return *x.NumFailures
+ }
+ return 0
+}
+
+func (x *ReencryptionInfoProto) GetCompletionTime() uint64 {
+ if x != nil && x.CompletionTime != nil {
+ return *x.CompletionTime
+ }
+ return 0
+}
+
+func (x *ReencryptionInfoProto) GetLastFile() string {
+ if x != nil && x.LastFile != nil {
+ return *x.LastFile
+ }
+ return ""
+}
+
+//*
// Cipher option
type CipherOptionProto struct {
- Suite *CipherSuiteProto `protobuf:"varint,1,req,name=suite,enum=hadoop.hdfs.CipherSuiteProto" json:"suite,omitempty"`
- InKey []byte `protobuf:"bytes,2,opt,name=inKey" json:"inKey,omitempty"`
- InIv []byte `protobuf:"bytes,3,opt,name=inIv" json:"inIv,omitempty"`
- OutKey []byte `protobuf:"bytes,4,opt,name=outKey" json:"outKey,omitempty"`
- OutIv []byte `protobuf:"bytes,5,opt,name=outIv" json:"outIv,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Suite *CipherSuiteProto `protobuf:"varint,1,req,name=suite,enum=hadoop.hdfs.CipherSuiteProto" json:"suite,omitempty"`
+ InKey []byte `protobuf:"bytes,2,opt,name=inKey" json:"inKey,omitempty"`
+ InIv []byte `protobuf:"bytes,3,opt,name=inIv" json:"inIv,omitempty"`
+ OutKey []byte `protobuf:"bytes,4,opt,name=outKey" json:"outKey,omitempty"`
+ OutIv []byte `protobuf:"bytes,5,opt,name=outIv" json:"outIv,omitempty"`
+}
+
+func (x *CipherOptionProto) Reset() {
+ *x = CipherOptionProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[23]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CipherOptionProto) Reset() { *m = CipherOptionProto{} }
-func (m *CipherOptionProto) String() string { return proto.CompactTextString(m) }
-func (*CipherOptionProto) ProtoMessage() {}
-func (*CipherOptionProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{20} }
+func (x *CipherOptionProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CipherOptionProto) ProtoMessage() {}
+
+func (x *CipherOptionProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[23]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CipherOptionProto.ProtoReflect.Descriptor instead.
+func (*CipherOptionProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{23}
+}
-func (m *CipherOptionProto) GetSuite() CipherSuiteProto {
- if m != nil && m.Suite != nil {
- return *m.Suite
+func (x *CipherOptionProto) GetSuite() CipherSuiteProto {
+ if x != nil && x.Suite != nil {
+ return *x.Suite
}
return CipherSuiteProto_UNKNOWN
}
-func (m *CipherOptionProto) GetInKey() []byte {
- if m != nil {
- return m.InKey
+func (x *CipherOptionProto) GetInKey() []byte {
+ if x != nil {
+ return x.InKey
}
return nil
}
-func (m *CipherOptionProto) GetInIv() []byte {
- if m != nil {
- return m.InIv
+func (x *CipherOptionProto) GetInIv() []byte {
+ if x != nil {
+ return x.InIv
}
return nil
}
-func (m *CipherOptionProto) GetOutKey() []byte {
- if m != nil {
- return m.OutKey
+func (x *CipherOptionProto) GetOutKey() []byte {
+ if x != nil {
+ return x.OutKey
}
return nil
}
-func (m *CipherOptionProto) GetOutIv() []byte {
- if m != nil {
- return m.OutIv
+func (x *CipherOptionProto) GetOutIv() []byte {
+ if x != nil {
+ return x.OutIv
}
return nil
}
-// *
+//*
// A set of file blocks and their locations.
type LocatedBlocksProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
FileLength *uint64 `protobuf:"varint,1,req,name=fileLength" json:"fileLength,omitempty"`
Blocks []*LocatedBlockProto `protobuf:"bytes,2,rep,name=blocks" json:"blocks,omitempty"`
UnderConstruction *bool `protobuf:"varint,3,req,name=underConstruction" json:"underConstruction,omitempty"`
@@ -1320,181 +2834,497 @@ type LocatedBlocksProto struct {
IsLastBlockComplete *bool `protobuf:"varint,5,req,name=isLastBlockComplete" json:"isLastBlockComplete,omitempty"`
FileEncryptionInfo *FileEncryptionInfoProto `protobuf:"bytes,6,opt,name=fileEncryptionInfo" json:"fileEncryptionInfo,omitempty"`
// Optional field for erasure coding
- EcPolicy *ErasureCodingPolicyProto `protobuf:"bytes,7,opt,name=ecPolicy" json:"ecPolicy,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ EcPolicy *ErasureCodingPolicyProto `protobuf:"bytes,7,opt,name=ecPolicy" json:"ecPolicy,omitempty"`
+}
+
+func (x *LocatedBlocksProto) Reset() {
+ *x = LocatedBlocksProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[24]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *LocatedBlocksProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*LocatedBlocksProto) ProtoMessage() {}
+
+func (x *LocatedBlocksProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[24]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *LocatedBlocksProto) Reset() { *m = LocatedBlocksProto{} }
-func (m *LocatedBlocksProto) String() string { return proto.CompactTextString(m) }
-func (*LocatedBlocksProto) ProtoMessage() {}
-func (*LocatedBlocksProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{21} }
+// Deprecated: Use LocatedBlocksProto.ProtoReflect.Descriptor instead.
+func (*LocatedBlocksProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{24}
+}
-func (m *LocatedBlocksProto) GetFileLength() uint64 {
- if m != nil && m.FileLength != nil {
- return *m.FileLength
+func (x *LocatedBlocksProto) GetFileLength() uint64 {
+ if x != nil && x.FileLength != nil {
+ return *x.FileLength
}
return 0
}
-func (m *LocatedBlocksProto) GetBlocks() []*LocatedBlockProto {
- if m != nil {
- return m.Blocks
+func (x *LocatedBlocksProto) GetBlocks() []*LocatedBlockProto {
+ if x != nil {
+ return x.Blocks
}
return nil
}
-func (m *LocatedBlocksProto) GetUnderConstruction() bool {
- if m != nil && m.UnderConstruction != nil {
- return *m.UnderConstruction
+func (x *LocatedBlocksProto) GetUnderConstruction() bool {
+ if x != nil && x.UnderConstruction != nil {
+ return *x.UnderConstruction
}
return false
}
-func (m *LocatedBlocksProto) GetLastBlock() *LocatedBlockProto {
- if m != nil {
- return m.LastBlock
+func (x *LocatedBlocksProto) GetLastBlock() *LocatedBlockProto {
+ if x != nil {
+ return x.LastBlock
}
return nil
}
-func (m *LocatedBlocksProto) GetIsLastBlockComplete() bool {
- if m != nil && m.IsLastBlockComplete != nil {
- return *m.IsLastBlockComplete
+func (x *LocatedBlocksProto) GetIsLastBlockComplete() bool {
+ if x != nil && x.IsLastBlockComplete != nil {
+ return *x.IsLastBlockComplete
}
return false
}
-func (m *LocatedBlocksProto) GetFileEncryptionInfo() *FileEncryptionInfoProto {
- if m != nil {
- return m.FileEncryptionInfo
+func (x *LocatedBlocksProto) GetFileEncryptionInfo() *FileEncryptionInfoProto {
+ if x != nil {
+ return x.FileEncryptionInfo
}
return nil
}
-func (m *LocatedBlocksProto) GetEcPolicy() *ErasureCodingPolicyProto {
- if m != nil {
- return m.EcPolicy
+func (x *LocatedBlocksProto) GetEcPolicy() *ErasureCodingPolicyProto {
+ if x != nil {
+ return x.EcPolicy
}
return nil
}
-// *
+//*
// ECSchema options entry
type ECSchemaOptionEntryProto struct {
- Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
- Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
+ Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
+}
+
+func (x *ECSchemaOptionEntryProto) Reset() {
+ *x = ECSchemaOptionEntryProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[25]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ECSchemaOptionEntryProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ECSchemaOptionEntryProto) ProtoMessage() {}
+
+func (x *ECSchemaOptionEntryProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[25]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ECSchemaOptionEntryProto) Reset() { *m = ECSchemaOptionEntryProto{} }
-func (m *ECSchemaOptionEntryProto) String() string { return proto.CompactTextString(m) }
-func (*ECSchemaOptionEntryProto) ProtoMessage() {}
-func (*ECSchemaOptionEntryProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{22} }
+// Deprecated: Use ECSchemaOptionEntryProto.ProtoReflect.Descriptor instead.
+func (*ECSchemaOptionEntryProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{25}
+}
-func (m *ECSchemaOptionEntryProto) GetKey() string {
- if m != nil && m.Key != nil {
- return *m.Key
+func (x *ECSchemaOptionEntryProto) GetKey() string {
+ if x != nil && x.Key != nil {
+ return *x.Key
}
return ""
}
-func (m *ECSchemaOptionEntryProto) GetValue() string {
- if m != nil && m.Value != nil {
- return *m.Value
+func (x *ECSchemaOptionEntryProto) GetValue() string {
+ if x != nil && x.Value != nil {
+ return *x.Value
}
return ""
}
-// *
+//*
// ECSchema for erasurecoding
type ECSchemaProto struct {
- CodecName *string `protobuf:"bytes,1,req,name=codecName" json:"codecName,omitempty"`
- DataUnits *uint32 `protobuf:"varint,2,req,name=dataUnits" json:"dataUnits,omitempty"`
- ParityUnits *uint32 `protobuf:"varint,3,req,name=parityUnits" json:"parityUnits,omitempty"`
- Options []*ECSchemaOptionEntryProto `protobuf:"bytes,4,rep,name=options" json:"options,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ CodecName *string `protobuf:"bytes,1,req,name=codecName" json:"codecName,omitempty"`
+ DataUnits *uint32 `protobuf:"varint,2,req,name=dataUnits" json:"dataUnits,omitempty"`
+ ParityUnits *uint32 `protobuf:"varint,3,req,name=parityUnits" json:"parityUnits,omitempty"`
+ Options []*ECSchemaOptionEntryProto `protobuf:"bytes,4,rep,name=options" json:"options,omitempty"`
+}
+
+func (x *ECSchemaProto) Reset() {
+ *x = ECSchemaProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[26]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ECSchemaProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ECSchemaProto) Reset() { *m = ECSchemaProto{} }
-func (m *ECSchemaProto) String() string { return proto.CompactTextString(m) }
-func (*ECSchemaProto) ProtoMessage() {}
-func (*ECSchemaProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{23} }
+func (*ECSchemaProto) ProtoMessage() {}
-func (m *ECSchemaProto) GetCodecName() string {
- if m != nil && m.CodecName != nil {
- return *m.CodecName
+func (x *ECSchemaProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[26]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ECSchemaProto.ProtoReflect.Descriptor instead.
+func (*ECSchemaProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{26}
+}
+
+func (x *ECSchemaProto) GetCodecName() string {
+ if x != nil && x.CodecName != nil {
+ return *x.CodecName
}
return ""
}
-func (m *ECSchemaProto) GetDataUnits() uint32 {
- if m != nil && m.DataUnits != nil {
- return *m.DataUnits
+func (x *ECSchemaProto) GetDataUnits() uint32 {
+ if x != nil && x.DataUnits != nil {
+ return *x.DataUnits
}
return 0
}
-func (m *ECSchemaProto) GetParityUnits() uint32 {
- if m != nil && m.ParityUnits != nil {
- return *m.ParityUnits
+func (x *ECSchemaProto) GetParityUnits() uint32 {
+ if x != nil && x.ParityUnits != nil {
+ return *x.ParityUnits
}
return 0
}
-func (m *ECSchemaProto) GetOptions() []*ECSchemaOptionEntryProto {
- if m != nil {
- return m.Options
+func (x *ECSchemaProto) GetOptions() []*ECSchemaOptionEntryProto {
+ if x != nil {
+ return x.Options
}
return nil
}
type ErasureCodingPolicyProto struct {
- Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
- Schema *ECSchemaProto `protobuf:"bytes,2,req,name=schema" json:"schema,omitempty"`
- CellSize *uint32 `protobuf:"varint,3,req,name=cellSize" json:"cellSize,omitempty"`
- Id *uint32 `protobuf:"varint,4,req,name=id" json:"id,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
+ Schema *ECSchemaProto `protobuf:"bytes,2,opt,name=schema" json:"schema,omitempty"`
+ CellSize *uint32 `protobuf:"varint,3,opt,name=cellSize" json:"cellSize,omitempty"`
+ Id *uint32 `protobuf:"varint,4,req,name=id" json:"id,omitempty"` // Actually a byte - only 8 bits used
+ State *ErasureCodingPolicyState `protobuf:"varint,5,opt,name=state,enum=hadoop.hdfs.ErasureCodingPolicyState,def=2" json:"state,omitempty"`
+}
+
+// Default values for ErasureCodingPolicyProto fields.
+const (
+ Default_ErasureCodingPolicyProto_State = ErasureCodingPolicyState_ENABLED
+)
+
+func (x *ErasureCodingPolicyProto) Reset() {
+ *x = ErasureCodingPolicyProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ErasureCodingPolicyProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ErasureCodingPolicyProto) ProtoMessage() {}
+
+func (x *ErasureCodingPolicyProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[27]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ErasureCodingPolicyProto) Reset() { *m = ErasureCodingPolicyProto{} }
-func (m *ErasureCodingPolicyProto) String() string { return proto.CompactTextString(m) }
-func (*ErasureCodingPolicyProto) ProtoMessage() {}
-func (*ErasureCodingPolicyProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{24} }
+// Deprecated: Use ErasureCodingPolicyProto.ProtoReflect.Descriptor instead.
+func (*ErasureCodingPolicyProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{27}
+}
-func (m *ErasureCodingPolicyProto) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
+func (x *ErasureCodingPolicyProto) GetName() string {
+ if x != nil && x.Name != nil {
+ return *x.Name
}
return ""
}
-func (m *ErasureCodingPolicyProto) GetSchema() *ECSchemaProto {
- if m != nil {
- return m.Schema
+func (x *ErasureCodingPolicyProto) GetSchema() *ECSchemaProto {
+ if x != nil {
+ return x.Schema
}
return nil
}
-func (m *ErasureCodingPolicyProto) GetCellSize() uint32 {
- if m != nil && m.CellSize != nil {
- return *m.CellSize
+func (x *ErasureCodingPolicyProto) GetCellSize() uint32 {
+ if x != nil && x.CellSize != nil {
+ return *x.CellSize
}
return 0
}
-func (m *ErasureCodingPolicyProto) GetId() uint32 {
- if m != nil && m.Id != nil {
- return *m.Id
+func (x *ErasureCodingPolicyProto) GetId() uint32 {
+ if x != nil && x.Id != nil {
+ return *x.Id
}
return 0
}
-// *
+func (x *ErasureCodingPolicyProto) GetState() ErasureCodingPolicyState {
+ if x != nil && x.State != nil {
+ return *x.State
+ }
+ return Default_ErasureCodingPolicyProto_State
+}
+
+type AddErasureCodingPolicyResponseProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Policy *ErasureCodingPolicyProto `protobuf:"bytes,1,req,name=policy" json:"policy,omitempty"`
+ Succeed *bool `protobuf:"varint,2,req,name=succeed" json:"succeed,omitempty"`
+ ErrorMsg *string `protobuf:"bytes,3,opt,name=errorMsg" json:"errorMsg,omitempty"`
+}
+
+func (x *AddErasureCodingPolicyResponseProto) Reset() {
+ *x = AddErasureCodingPolicyResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[28]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AddErasureCodingPolicyResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AddErasureCodingPolicyResponseProto) ProtoMessage() {}
+
+func (x *AddErasureCodingPolicyResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[28]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AddErasureCodingPolicyResponseProto.ProtoReflect.Descriptor instead.
+func (*AddErasureCodingPolicyResponseProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{28}
+}
+
+func (x *AddErasureCodingPolicyResponseProto) GetPolicy() *ErasureCodingPolicyProto {
+ if x != nil {
+ return x.Policy
+ }
+ return nil
+}
+
+func (x *AddErasureCodingPolicyResponseProto) GetSucceed() bool {
+ if x != nil && x.Succeed != nil {
+ return *x.Succeed
+ }
+ return false
+}
+
+func (x *AddErasureCodingPolicyResponseProto) GetErrorMsg() string {
+ if x != nil && x.ErrorMsg != nil {
+ return *x.ErrorMsg
+ }
+ return ""
+}
+
+type ECTopologyVerifierResultProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ResultMessage *string `protobuf:"bytes,1,req,name=resultMessage" json:"resultMessage,omitempty"`
+ IsSupported *bool `protobuf:"varint,2,req,name=isSupported" json:"isSupported,omitempty"`
+}
+
+func (x *ECTopologyVerifierResultProto) Reset() {
+ *x = ECTopologyVerifierResultProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[29]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ECTopologyVerifierResultProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ECTopologyVerifierResultProto) ProtoMessage() {}
+
+func (x *ECTopologyVerifierResultProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[29]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ECTopologyVerifierResultProto.ProtoReflect.Descriptor instead.
+func (*ECTopologyVerifierResultProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{29}
+}
+
+func (x *ECTopologyVerifierResultProto) GetResultMessage() string {
+ if x != nil && x.ResultMessage != nil {
+ return *x.ResultMessage
+ }
+ return ""
+}
+
+func (x *ECTopologyVerifierResultProto) GetIsSupported() bool {
+ if x != nil && x.IsSupported != nil {
+ return *x.IsSupported
+ }
+ return false
+}
+
+//*
+// Placeholder type for consistent HDFS operations.
+type HdfsPathHandleProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ InodeId *uint64 `protobuf:"varint,1,opt,name=inodeId" json:"inodeId,omitempty"`
+ Mtime *uint64 `protobuf:"varint,2,opt,name=mtime" json:"mtime,omitempty"`
+ Path *string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
+}
+
+func (x *HdfsPathHandleProto) Reset() {
+ *x = HdfsPathHandleProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[30]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *HdfsPathHandleProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*HdfsPathHandleProto) ProtoMessage() {}
+
+func (x *HdfsPathHandleProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[30]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use HdfsPathHandleProto.ProtoReflect.Descriptor instead.
+func (*HdfsPathHandleProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{30}
+}
+
+func (x *HdfsPathHandleProto) GetInodeId() uint64 {
+ if x != nil && x.InodeId != nil {
+ return *x.InodeId
+ }
+ return 0
+}
+
+func (x *HdfsPathHandleProto) GetMtime() uint64 {
+ if x != nil && x.Mtime != nil {
+ return *x.Mtime
+ }
+ return 0
+}
+
+func (x *HdfsPathHandleProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
+ }
+ return ""
+}
+
+//*
// Status of a file, directory or symlink
// Optionally includes a file's block locations if requested by client on the rpc call.
type HdfsFileStatusProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
FileType *HdfsFileStatusProto_FileType `protobuf:"varint,1,req,name=fileType,enum=hadoop.hdfs.HdfsFileStatusProto_FileType" json:"fileType,omitempty"`
- Path []byte `protobuf:"bytes,2,req,name=path" json:"path,omitempty"`
+ Path []byte `protobuf:"bytes,2,req,name=path" json:"path,omitempty"` // local name of inode encoded java UTF8
Length *uint64 `protobuf:"varint,3,req,name=length" json:"length,omitempty"`
Permission *FsPermissionProto `protobuf:"bytes,4,req,name=permission" json:"permission,omitempty"`
Owner *string `protobuf:"bytes,5,req,name=owner" json:"owner,omitempty"`
@@ -1502,407 +3332,1053 @@ type HdfsFileStatusProto struct {
ModificationTime *uint64 `protobuf:"varint,7,req,name=modification_time,json=modificationTime" json:"modification_time,omitempty"`
AccessTime *uint64 `protobuf:"varint,8,req,name=access_time,json=accessTime" json:"access_time,omitempty"`
// Optional fields for symlink
- Symlink []byte `protobuf:"bytes,9,opt,name=symlink" json:"symlink,omitempty"`
+ Symlink []byte `protobuf:"bytes,9,opt,name=symlink" json:"symlink,omitempty"` // if symlink, target encoded java UTF8
// Optional fields for file
- BlockReplication *uint32 `protobuf:"varint,10,opt,name=block_replication,json=blockReplication,def=0" json:"block_replication,omitempty"`
+ BlockReplication *uint32 `protobuf:"varint,10,opt,name=block_replication,json=blockReplication,def=0" json:"block_replication,omitempty"` // only 16bits used
Blocksize *uint64 `protobuf:"varint,11,opt,name=blocksize,def=0" json:"blocksize,omitempty"`
- Locations *LocatedBlocksProto `protobuf:"bytes,12,opt,name=locations" json:"locations,omitempty"`
+ Locations *LocatedBlocksProto `protobuf:"bytes,12,opt,name=locations" json:"locations,omitempty"` // suppled only if asked by client
// Optional field for fileId
- FileId *uint64 `protobuf:"varint,13,opt,name=fileId,def=0" json:"fileId,omitempty"`
+ FileId *uint64 `protobuf:"varint,13,opt,name=fileId,def=0" json:"fileId,omitempty"` // default as an invalid id
ChildrenNum *int32 `protobuf:"varint,14,opt,name=childrenNum,def=-1" json:"childrenNum,omitempty"`
// Optional field for file encryption
FileEncryptionInfo *FileEncryptionInfoProto `protobuf:"bytes,15,opt,name=fileEncryptionInfo" json:"fileEncryptionInfo,omitempty"`
- StoragePolicy *uint32 `protobuf:"varint,16,opt,name=storagePolicy,def=0" json:"storagePolicy,omitempty"`
+ StoragePolicy *uint32 `protobuf:"varint,16,opt,name=storagePolicy,def=0" json:"storagePolicy,omitempty"` // block storage policy id
// Optional field for erasure coding
- EcPolicy *ErasureCodingPolicyProto `protobuf:"bytes,17,opt,name=ecPolicy" json:"ecPolicy,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ EcPolicy *ErasureCodingPolicyProto `protobuf:"bytes,17,opt,name=ecPolicy" json:"ecPolicy,omitempty"`
+ // Set of flags
+ Flags *uint32 `protobuf:"varint,18,opt,name=flags,def=0" json:"flags,omitempty"`
+}
+
+// Default values for HdfsFileStatusProto fields.
+const (
+ Default_HdfsFileStatusProto_BlockReplication = uint32(0)
+ Default_HdfsFileStatusProto_Blocksize = uint64(0)
+ Default_HdfsFileStatusProto_FileId = uint64(0)
+ Default_HdfsFileStatusProto_ChildrenNum = int32(-1)
+ Default_HdfsFileStatusProto_StoragePolicy = uint32(0)
+ Default_HdfsFileStatusProto_Flags = uint32(0)
+)
+
+func (x *HdfsFileStatusProto) Reset() {
+ *x = HdfsFileStatusProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[31]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *HdfsFileStatusProto) Reset() { *m = HdfsFileStatusProto{} }
-func (m *HdfsFileStatusProto) String() string { return proto.CompactTextString(m) }
-func (*HdfsFileStatusProto) ProtoMessage() {}
-func (*HdfsFileStatusProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{25} }
+func (x *HdfsFileStatusProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*HdfsFileStatusProto) ProtoMessage() {}
+
+func (x *HdfsFileStatusProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[31]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-const Default_HdfsFileStatusProto_BlockReplication uint32 = 0
-const Default_HdfsFileStatusProto_Blocksize uint64 = 0
-const Default_HdfsFileStatusProto_FileId uint64 = 0
-const Default_HdfsFileStatusProto_ChildrenNum int32 = -1
-const Default_HdfsFileStatusProto_StoragePolicy uint32 = 0
+// Deprecated: Use HdfsFileStatusProto.ProtoReflect.Descriptor instead.
+func (*HdfsFileStatusProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{31}
+}
-func (m *HdfsFileStatusProto) GetFileType() HdfsFileStatusProto_FileType {
- if m != nil && m.FileType != nil {
- return *m.FileType
+func (x *HdfsFileStatusProto) GetFileType() HdfsFileStatusProto_FileType {
+ if x != nil && x.FileType != nil {
+ return *x.FileType
}
return HdfsFileStatusProto_IS_DIR
}
-func (m *HdfsFileStatusProto) GetPath() []byte {
- if m != nil {
- return m.Path
+func (x *HdfsFileStatusProto) GetPath() []byte {
+ if x != nil {
+ return x.Path
}
return nil
}
-func (m *HdfsFileStatusProto) GetLength() uint64 {
- if m != nil && m.Length != nil {
- return *m.Length
+func (x *HdfsFileStatusProto) GetLength() uint64 {
+ if x != nil && x.Length != nil {
+ return *x.Length
}
return 0
}
-func (m *HdfsFileStatusProto) GetPermission() *FsPermissionProto {
- if m != nil {
- return m.Permission
+func (x *HdfsFileStatusProto) GetPermission() *FsPermissionProto {
+ if x != nil {
+ return x.Permission
}
return nil
}
-func (m *HdfsFileStatusProto) GetOwner() string {
- if m != nil && m.Owner != nil {
- return *m.Owner
+func (x *HdfsFileStatusProto) GetOwner() string {
+ if x != nil && x.Owner != nil {
+ return *x.Owner
}
return ""
}
-func (m *HdfsFileStatusProto) GetGroup() string {
- if m != nil && m.Group != nil {
- return *m.Group
+func (x *HdfsFileStatusProto) GetGroup() string {
+ if x != nil && x.Group != nil {
+ return *x.Group
}
return ""
}
-func (m *HdfsFileStatusProto) GetModificationTime() uint64 {
- if m != nil && m.ModificationTime != nil {
- return *m.ModificationTime
+func (x *HdfsFileStatusProto) GetModificationTime() uint64 {
+ if x != nil && x.ModificationTime != nil {
+ return *x.ModificationTime
}
return 0
}
-func (m *HdfsFileStatusProto) GetAccessTime() uint64 {
- if m != nil && m.AccessTime != nil {
- return *m.AccessTime
+func (x *HdfsFileStatusProto) GetAccessTime() uint64 {
+ if x != nil && x.AccessTime != nil {
+ return *x.AccessTime
}
return 0
}
-func (m *HdfsFileStatusProto) GetSymlink() []byte {
- if m != nil {
- return m.Symlink
+func (x *HdfsFileStatusProto) GetSymlink() []byte {
+ if x != nil {
+ return x.Symlink
}
return nil
}
-func (m *HdfsFileStatusProto) GetBlockReplication() uint32 {
- if m != nil && m.BlockReplication != nil {
- return *m.BlockReplication
+func (x *HdfsFileStatusProto) GetBlockReplication() uint32 {
+ if x != nil && x.BlockReplication != nil {
+ return *x.BlockReplication
}
return Default_HdfsFileStatusProto_BlockReplication
}
-func (m *HdfsFileStatusProto) GetBlocksize() uint64 {
- if m != nil && m.Blocksize != nil {
- return *m.Blocksize
+func (x *HdfsFileStatusProto) GetBlocksize() uint64 {
+ if x != nil && x.Blocksize != nil {
+ return *x.Blocksize
}
return Default_HdfsFileStatusProto_Blocksize
}
-func (m *HdfsFileStatusProto) GetLocations() *LocatedBlocksProto {
- if m != nil {
- return m.Locations
+func (x *HdfsFileStatusProto) GetLocations() *LocatedBlocksProto {
+ if x != nil {
+ return x.Locations
}
return nil
}
-func (m *HdfsFileStatusProto) GetFileId() uint64 {
- if m != nil && m.FileId != nil {
- return *m.FileId
+func (x *HdfsFileStatusProto) GetFileId() uint64 {
+ if x != nil && x.FileId != nil {
+ return *x.FileId
}
return Default_HdfsFileStatusProto_FileId
}
-func (m *HdfsFileStatusProto) GetChildrenNum() int32 {
- if m != nil && m.ChildrenNum != nil {
- return *m.ChildrenNum
+func (x *HdfsFileStatusProto) GetChildrenNum() int32 {
+ if x != nil && x.ChildrenNum != nil {
+ return *x.ChildrenNum
}
return Default_HdfsFileStatusProto_ChildrenNum
}
-func (m *HdfsFileStatusProto) GetFileEncryptionInfo() *FileEncryptionInfoProto {
- if m != nil {
- return m.FileEncryptionInfo
+func (x *HdfsFileStatusProto) GetFileEncryptionInfo() *FileEncryptionInfoProto {
+ if x != nil {
+ return x.FileEncryptionInfo
}
return nil
}
-func (m *HdfsFileStatusProto) GetStoragePolicy() uint32 {
- if m != nil && m.StoragePolicy != nil {
- return *m.StoragePolicy
+func (x *HdfsFileStatusProto) GetStoragePolicy() uint32 {
+ if x != nil && x.StoragePolicy != nil {
+ return *x.StoragePolicy
}
return Default_HdfsFileStatusProto_StoragePolicy
}
-func (m *HdfsFileStatusProto) GetEcPolicy() *ErasureCodingPolicyProto {
- if m != nil {
- return m.EcPolicy
+func (x *HdfsFileStatusProto) GetEcPolicy() *ErasureCodingPolicyProto {
+ if x != nil {
+ return x.EcPolicy
}
return nil
}
-// *
+func (x *HdfsFileStatusProto) GetFlags() uint32 {
+ if x != nil && x.Flags != nil {
+ return *x.Flags
+ }
+ return Default_HdfsFileStatusProto_Flags
+}
+
+//*
+// Algorithms/types denoting how block-level checksums are computed using
+// lower-level chunk checksums/CRCs.
+// These options should be kept in sync with
+// org.apache.hadoop.hdfs.protocol.BlockChecksumOptions.
+type BlockChecksumOptionsProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BlockChecksumType *BlockChecksumTypeProto `protobuf:"varint,1,opt,name=blockChecksumType,enum=hadoop.hdfs.BlockChecksumTypeProto,def=1" json:"blockChecksumType,omitempty"`
+ // Only used if blockChecksumType specifies a striped format, such as
+ // COMPOSITE_CRC. If so, then the blockChecksum in the response is expected
+ // to be the concatenation of N crcs, where
+ // N == ((requestedLength - 1) / stripedLength) + 1
+ StripeLength *uint64 `protobuf:"varint,2,opt,name=stripeLength" json:"stripeLength,omitempty"`
+}
+
+// Default values for BlockChecksumOptionsProto fields.
+const (
+ Default_BlockChecksumOptionsProto_BlockChecksumType = BlockChecksumTypeProto_MD5CRC
+)
+
+func (x *BlockChecksumOptionsProto) Reset() {
+ *x = BlockChecksumOptionsProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[32]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BlockChecksumOptionsProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BlockChecksumOptionsProto) ProtoMessage() {}
+
+func (x *BlockChecksumOptionsProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[32]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BlockChecksumOptionsProto.ProtoReflect.Descriptor instead.
+func (*BlockChecksumOptionsProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{32}
+}
+
+func (x *BlockChecksumOptionsProto) GetBlockChecksumType() BlockChecksumTypeProto {
+ if x != nil && x.BlockChecksumType != nil {
+ return *x.BlockChecksumType
+ }
+ return Default_BlockChecksumOptionsProto_BlockChecksumType
+}
+
+func (x *BlockChecksumOptionsProto) GetStripeLength() uint64 {
+ if x != nil && x.StripeLength != nil {
+ return *x.StripeLength
+ }
+ return 0
+}
+
+//*
// HDFS Server Defaults
type FsServerDefaultsProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
BlockSize *uint64 `protobuf:"varint,1,req,name=blockSize" json:"blockSize,omitempty"`
BytesPerChecksum *uint32 `protobuf:"varint,2,req,name=bytesPerChecksum" json:"bytesPerChecksum,omitempty"`
WritePacketSize *uint32 `protobuf:"varint,3,req,name=writePacketSize" json:"writePacketSize,omitempty"`
- Replication *uint32 `protobuf:"varint,4,req,name=replication" json:"replication,omitempty"`
+ Replication *uint32 `protobuf:"varint,4,req,name=replication" json:"replication,omitempty"` // Actually a short - only 16 bits used
FileBufferSize *uint32 `protobuf:"varint,5,req,name=fileBufferSize" json:"fileBufferSize,omitempty"`
EncryptDataTransfer *bool `protobuf:"varint,6,opt,name=encryptDataTransfer,def=0" json:"encryptDataTransfer,omitempty"`
TrashInterval *uint64 `protobuf:"varint,7,opt,name=trashInterval,def=0" json:"trashInterval,omitempty"`
ChecksumType *ChecksumTypeProto `protobuf:"varint,8,opt,name=checksumType,enum=hadoop.hdfs.ChecksumTypeProto,def=1" json:"checksumType,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ KeyProviderUri *string `protobuf:"bytes,9,opt,name=keyProviderUri" json:"keyProviderUri,omitempty"`
+ PolicyId *uint32 `protobuf:"varint,10,opt,name=policyId,def=0" json:"policyId,omitempty"`
+}
+
+// Default values for FsServerDefaultsProto fields.
+const (
+ Default_FsServerDefaultsProto_EncryptDataTransfer = bool(false)
+ Default_FsServerDefaultsProto_TrashInterval = uint64(0)
+ Default_FsServerDefaultsProto_ChecksumType = ChecksumTypeProto_CHECKSUM_CRC32
+ Default_FsServerDefaultsProto_PolicyId = uint32(0)
+)
+
+func (x *FsServerDefaultsProto) Reset() {
+ *x = FsServerDefaultsProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[33]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *FsServerDefaultsProto) Reset() { *m = FsServerDefaultsProto{} }
-func (m *FsServerDefaultsProto) String() string { return proto.CompactTextString(m) }
-func (*FsServerDefaultsProto) ProtoMessage() {}
-func (*FsServerDefaultsProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{26} }
+func (x *FsServerDefaultsProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-const Default_FsServerDefaultsProto_EncryptDataTransfer bool = false
-const Default_FsServerDefaultsProto_TrashInterval uint64 = 0
-const Default_FsServerDefaultsProto_ChecksumType ChecksumTypeProto = ChecksumTypeProto_CHECKSUM_CRC32
+func (*FsServerDefaultsProto) ProtoMessage() {}
-func (m *FsServerDefaultsProto) GetBlockSize() uint64 {
- if m != nil && m.BlockSize != nil {
- return *m.BlockSize
+func (x *FsServerDefaultsProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[33]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FsServerDefaultsProto.ProtoReflect.Descriptor instead.
+func (*FsServerDefaultsProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{33}
+}
+
+func (x *FsServerDefaultsProto) GetBlockSize() uint64 {
+ if x != nil && x.BlockSize != nil {
+ return *x.BlockSize
}
return 0
}
-func (m *FsServerDefaultsProto) GetBytesPerChecksum() uint32 {
- if m != nil && m.BytesPerChecksum != nil {
- return *m.BytesPerChecksum
+func (x *FsServerDefaultsProto) GetBytesPerChecksum() uint32 {
+ if x != nil && x.BytesPerChecksum != nil {
+ return *x.BytesPerChecksum
}
return 0
}
-func (m *FsServerDefaultsProto) GetWritePacketSize() uint32 {
- if m != nil && m.WritePacketSize != nil {
- return *m.WritePacketSize
+func (x *FsServerDefaultsProto) GetWritePacketSize() uint32 {
+ if x != nil && x.WritePacketSize != nil {
+ return *x.WritePacketSize
}
return 0
}
-func (m *FsServerDefaultsProto) GetReplication() uint32 {
- if m != nil && m.Replication != nil {
- return *m.Replication
+func (x *FsServerDefaultsProto) GetReplication() uint32 {
+ if x != nil && x.Replication != nil {
+ return *x.Replication
}
return 0
}
-func (m *FsServerDefaultsProto) GetFileBufferSize() uint32 {
- if m != nil && m.FileBufferSize != nil {
- return *m.FileBufferSize
+func (x *FsServerDefaultsProto) GetFileBufferSize() uint32 {
+ if x != nil && x.FileBufferSize != nil {
+ return *x.FileBufferSize
}
return 0
}
-func (m *FsServerDefaultsProto) GetEncryptDataTransfer() bool {
- if m != nil && m.EncryptDataTransfer != nil {
- return *m.EncryptDataTransfer
+func (x *FsServerDefaultsProto) GetEncryptDataTransfer() bool {
+ if x != nil && x.EncryptDataTransfer != nil {
+ return *x.EncryptDataTransfer
}
return Default_FsServerDefaultsProto_EncryptDataTransfer
}
-func (m *FsServerDefaultsProto) GetTrashInterval() uint64 {
- if m != nil && m.TrashInterval != nil {
- return *m.TrashInterval
+func (x *FsServerDefaultsProto) GetTrashInterval() uint64 {
+ if x != nil && x.TrashInterval != nil {
+ return *x.TrashInterval
}
return Default_FsServerDefaultsProto_TrashInterval
}
-func (m *FsServerDefaultsProto) GetChecksumType() ChecksumTypeProto {
- if m != nil && m.ChecksumType != nil {
- return *m.ChecksumType
+func (x *FsServerDefaultsProto) GetChecksumType() ChecksumTypeProto {
+ if x != nil && x.ChecksumType != nil {
+ return *x.ChecksumType
}
return Default_FsServerDefaultsProto_ChecksumType
}
-// *
+func (x *FsServerDefaultsProto) GetKeyProviderUri() string {
+ if x != nil && x.KeyProviderUri != nil {
+ return *x.KeyProviderUri
+ }
+ return ""
+}
+
+func (x *FsServerDefaultsProto) GetPolicyId() uint32 {
+ if x != nil && x.PolicyId != nil {
+ return *x.PolicyId
+ }
+ return Default_FsServerDefaultsProto_PolicyId
+}
+
+//*
// Directory listing
type DirectoryListingProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
PartialListing []*HdfsFileStatusProto `protobuf:"bytes,1,rep,name=partialListing" json:"partialListing,omitempty"`
RemainingEntries *uint32 `protobuf:"varint,2,req,name=remainingEntries" json:"remainingEntries,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *DirectoryListingProto) Reset() { *m = DirectoryListingProto{} }
-func (m *DirectoryListingProto) String() string { return proto.CompactTextString(m) }
-func (*DirectoryListingProto) ProtoMessage() {}
-func (*DirectoryListingProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{27} }
+func (x *DirectoryListingProto) Reset() {
+ *x = DirectoryListingProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[34]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *DirectoryListingProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DirectoryListingProto) ProtoMessage() {}
-func (m *DirectoryListingProto) GetPartialListing() []*HdfsFileStatusProto {
- if m != nil {
- return m.PartialListing
+func (x *DirectoryListingProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[34]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use DirectoryListingProto.ProtoReflect.Descriptor instead.
+func (*DirectoryListingProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{34}
+}
+
+func (x *DirectoryListingProto) GetPartialListing() []*HdfsFileStatusProto {
+ if x != nil {
+ return x.PartialListing
}
return nil
}
-func (m *DirectoryListingProto) GetRemainingEntries() uint32 {
- if m != nil && m.RemainingEntries != nil {
- return *m.RemainingEntries
+func (x *DirectoryListingProto) GetRemainingEntries() uint32 {
+ if x != nil && x.RemainingEntries != nil {
+ return *x.RemainingEntries
}
return 0
}
-// *
+type RemoteExceptionProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ClassName *string `protobuf:"bytes,1,req,name=className" json:"className,omitempty"`
+ Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
+}
+
+func (x *RemoteExceptionProto) Reset() {
+ *x = RemoteExceptionProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[35]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoteExceptionProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoteExceptionProto) ProtoMessage() {}
+
+func (x *RemoteExceptionProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[35]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoteExceptionProto.ProtoReflect.Descriptor instead.
+func (*RemoteExceptionProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{35}
+}
+
+func (x *RemoteExceptionProto) GetClassName() string {
+ if x != nil && x.ClassName != nil {
+ return *x.ClassName
+ }
+ return ""
+}
+
+func (x *RemoteExceptionProto) GetMessage() string {
+ if x != nil && x.Message != nil {
+ return *x.Message
+ }
+ return ""
+}
+
+// Directory listing result for a batched listing call.
+type BatchedDirectoryListingProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ PartialListing []*HdfsFileStatusProto `protobuf:"bytes,1,rep,name=partialListing" json:"partialListing,omitempty"`
+ ParentIdx *uint32 `protobuf:"varint,2,req,name=parentIdx" json:"parentIdx,omitempty"`
+ Exception *RemoteExceptionProto `protobuf:"bytes,3,opt,name=exception" json:"exception,omitempty"`
+}
+
+func (x *BatchedDirectoryListingProto) Reset() {
+ *x = BatchedDirectoryListingProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[36]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BatchedDirectoryListingProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BatchedDirectoryListingProto) ProtoMessage() {}
+
+func (x *BatchedDirectoryListingProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[36]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BatchedDirectoryListingProto.ProtoReflect.Descriptor instead.
+func (*BatchedDirectoryListingProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{36}
+}
+
+func (x *BatchedDirectoryListingProto) GetPartialListing() []*HdfsFileStatusProto {
+ if x != nil {
+ return x.PartialListing
+ }
+ return nil
+}
+
+func (x *BatchedDirectoryListingProto) GetParentIdx() uint32 {
+ if x != nil && x.ParentIdx != nil {
+ return *x.ParentIdx
+ }
+ return 0
+}
+
+func (x *BatchedDirectoryListingProto) GetException() *RemoteExceptionProto {
+ if x != nil {
+ return x.Exception
+ }
+ return nil
+}
+
+//*
// Status of a snapshottable directory: besides the normal information for
// a directory status, also include snapshot quota, number of snapshots, and
// the full path of the parent directory.
type SnapshottableDirectoryStatusProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
DirStatus *HdfsFileStatusProto `protobuf:"bytes,1,req,name=dirStatus" json:"dirStatus,omitempty"`
// Fields specific for snapshottable directory
- SnapshotQuota *uint32 `protobuf:"varint,2,req,name=snapshot_quota,json=snapshotQuota" json:"snapshot_quota,omitempty"`
- SnapshotNumber *uint32 `protobuf:"varint,3,req,name=snapshot_number,json=snapshotNumber" json:"snapshot_number,omitempty"`
- ParentFullpath []byte `protobuf:"bytes,4,req,name=parent_fullpath,json=parentFullpath" json:"parent_fullpath,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ SnapshotQuota *uint32 `protobuf:"varint,2,req,name=snapshot_quota,json=snapshotQuota" json:"snapshot_quota,omitempty"`
+ SnapshotNumber *uint32 `protobuf:"varint,3,req,name=snapshot_number,json=snapshotNumber" json:"snapshot_number,omitempty"`
+ ParentFullpath []byte `protobuf:"bytes,4,req,name=parent_fullpath,json=parentFullpath" json:"parent_fullpath,omitempty"`
+}
+
+func (x *SnapshottableDirectoryStatusProto) Reset() {
+ *x = SnapshottableDirectoryStatusProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[37]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SnapshottableDirectoryStatusProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SnapshottableDirectoryStatusProto) ProtoMessage() {}
+
+func (x *SnapshottableDirectoryStatusProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[37]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *SnapshottableDirectoryStatusProto) Reset() { *m = SnapshottableDirectoryStatusProto{} }
-func (m *SnapshottableDirectoryStatusProto) String() string { return proto.CompactTextString(m) }
-func (*SnapshottableDirectoryStatusProto) ProtoMessage() {}
+// Deprecated: Use SnapshottableDirectoryStatusProto.ProtoReflect.Descriptor instead.
func (*SnapshottableDirectoryStatusProto) Descriptor() ([]byte, []int) {
- return fileDescriptor8, []int{28}
+ return file_hdfs_proto_rawDescGZIP(), []int{37}
}
-func (m *SnapshottableDirectoryStatusProto) GetDirStatus() *HdfsFileStatusProto {
- if m != nil {
- return m.DirStatus
+func (x *SnapshottableDirectoryStatusProto) GetDirStatus() *HdfsFileStatusProto {
+ if x != nil {
+ return x.DirStatus
}
return nil
}
-func (m *SnapshottableDirectoryStatusProto) GetSnapshotQuota() uint32 {
- if m != nil && m.SnapshotQuota != nil {
- return *m.SnapshotQuota
+func (x *SnapshottableDirectoryStatusProto) GetSnapshotQuota() uint32 {
+ if x != nil && x.SnapshotQuota != nil {
+ return *x.SnapshotQuota
}
return 0
}
-func (m *SnapshottableDirectoryStatusProto) GetSnapshotNumber() uint32 {
- if m != nil && m.SnapshotNumber != nil {
- return *m.SnapshotNumber
+func (x *SnapshottableDirectoryStatusProto) GetSnapshotNumber() uint32 {
+ if x != nil && x.SnapshotNumber != nil {
+ return *x.SnapshotNumber
}
return 0
}
-func (m *SnapshottableDirectoryStatusProto) GetParentFullpath() []byte {
- if m != nil {
- return m.ParentFullpath
+func (x *SnapshottableDirectoryStatusProto) GetParentFullpath() []byte {
+ if x != nil {
+ return x.ParentFullpath
}
return nil
}
-// *
+//*
// Snapshottable directory listing
type SnapshottableDirectoryListingProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
SnapshottableDirListing []*SnapshottableDirectoryStatusProto `protobuf:"bytes,1,rep,name=snapshottableDirListing" json:"snapshottableDirListing,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *SnapshottableDirectoryListingProto) Reset() { *m = SnapshottableDirectoryListingProto{} }
-func (m *SnapshottableDirectoryListingProto) String() string { return proto.CompactTextString(m) }
-func (*SnapshottableDirectoryListingProto) ProtoMessage() {}
+func (x *SnapshottableDirectoryListingProto) Reset() {
+ *x = SnapshottableDirectoryListingProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[38]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SnapshottableDirectoryListingProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SnapshottableDirectoryListingProto) ProtoMessage() {}
+
+func (x *SnapshottableDirectoryListingProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[38]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SnapshottableDirectoryListingProto.ProtoReflect.Descriptor instead.
func (*SnapshottableDirectoryListingProto) Descriptor() ([]byte, []int) {
- return fileDescriptor8, []int{29}
+ return file_hdfs_proto_rawDescGZIP(), []int{38}
}
-func (m *SnapshottableDirectoryListingProto) GetSnapshottableDirListing() []*SnapshottableDirectoryStatusProto {
- if m != nil {
- return m.SnapshottableDirListing
+func (x *SnapshottableDirectoryListingProto) GetSnapshottableDirListing() []*SnapshottableDirectoryStatusProto {
+ if x != nil {
+ return x.SnapshottableDirListing
}
return nil
}
-// *
+//*
// Snapshot diff report entry
type SnapshotDiffReportEntryProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Fullpath []byte `protobuf:"bytes,1,req,name=fullpath" json:"fullpath,omitempty"`
ModificationLabel *string `protobuf:"bytes,2,req,name=modificationLabel" json:"modificationLabel,omitempty"`
TargetPath []byte `protobuf:"bytes,3,opt,name=targetPath" json:"targetPath,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *SnapshotDiffReportEntryProto) Reset() { *m = SnapshotDiffReportEntryProto{} }
-func (m *SnapshotDiffReportEntryProto) String() string { return proto.CompactTextString(m) }
-func (*SnapshotDiffReportEntryProto) ProtoMessage() {}
-func (*SnapshotDiffReportEntryProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{30} }
+func (x *SnapshotDiffReportEntryProto) Reset() {
+ *x = SnapshotDiffReportEntryProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[39]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SnapshotDiffReportEntryProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SnapshotDiffReportEntryProto) ProtoMessage() {}
+
+func (x *SnapshotDiffReportEntryProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[39]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SnapshotDiffReportEntryProto.ProtoReflect.Descriptor instead.
+func (*SnapshotDiffReportEntryProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{39}
+}
-func (m *SnapshotDiffReportEntryProto) GetFullpath() []byte {
- if m != nil {
- return m.Fullpath
+func (x *SnapshotDiffReportEntryProto) GetFullpath() []byte {
+ if x != nil {
+ return x.Fullpath
}
return nil
}
-func (m *SnapshotDiffReportEntryProto) GetModificationLabel() string {
- if m != nil && m.ModificationLabel != nil {
- return *m.ModificationLabel
+func (x *SnapshotDiffReportEntryProto) GetModificationLabel() string {
+ if x != nil && x.ModificationLabel != nil {
+ return *x.ModificationLabel
}
return ""
}
-func (m *SnapshotDiffReportEntryProto) GetTargetPath() []byte {
- if m != nil {
- return m.TargetPath
+func (x *SnapshotDiffReportEntryProto) GetTargetPath() []byte {
+ if x != nil {
+ return x.TargetPath
}
return nil
}
-// *
+//*
// Snapshot diff report
type SnapshotDiffReportProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
// full path of the directory where snapshots were taken
SnapshotRoot *string `protobuf:"bytes,1,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
FromSnapshot *string `protobuf:"bytes,2,req,name=fromSnapshot" json:"fromSnapshot,omitempty"`
ToSnapshot *string `protobuf:"bytes,3,req,name=toSnapshot" json:"toSnapshot,omitempty"`
DiffReportEntries []*SnapshotDiffReportEntryProto `protobuf:"bytes,4,rep,name=diffReportEntries" json:"diffReportEntries,omitempty"`
- XXX_unrecognized []byte `json:"-"`
}
-func (m *SnapshotDiffReportProto) Reset() { *m = SnapshotDiffReportProto{} }
-func (m *SnapshotDiffReportProto) String() string { return proto.CompactTextString(m) }
-func (*SnapshotDiffReportProto) ProtoMessage() {}
-func (*SnapshotDiffReportProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{31} }
+func (x *SnapshotDiffReportProto) Reset() {
+ *x = SnapshotDiffReportProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[40]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SnapshotDiffReportProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SnapshotDiffReportProto) ProtoMessage() {}
-func (m *SnapshotDiffReportProto) GetSnapshotRoot() string {
- if m != nil && m.SnapshotRoot != nil {
- return *m.SnapshotRoot
+func (x *SnapshotDiffReportProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[40]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SnapshotDiffReportProto.ProtoReflect.Descriptor instead.
+func (*SnapshotDiffReportProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{40}
+}
+
+func (x *SnapshotDiffReportProto) GetSnapshotRoot() string {
+ if x != nil && x.SnapshotRoot != nil {
+ return *x.SnapshotRoot
}
return ""
}
-func (m *SnapshotDiffReportProto) GetFromSnapshot() string {
- if m != nil && m.FromSnapshot != nil {
- return *m.FromSnapshot
+func (x *SnapshotDiffReportProto) GetFromSnapshot() string {
+ if x != nil && x.FromSnapshot != nil {
+ return *x.FromSnapshot
}
return ""
}
-func (m *SnapshotDiffReportProto) GetToSnapshot() string {
- if m != nil && m.ToSnapshot != nil {
- return *m.ToSnapshot
+func (x *SnapshotDiffReportProto) GetToSnapshot() string {
+ if x != nil && x.ToSnapshot != nil {
+ return *x.ToSnapshot
}
return ""
}
-func (m *SnapshotDiffReportProto) GetDiffReportEntries() []*SnapshotDiffReportEntryProto {
- if m != nil {
- return m.DiffReportEntries
+func (x *SnapshotDiffReportProto) GetDiffReportEntries() []*SnapshotDiffReportEntryProto {
+ if x != nil {
+ return x.DiffReportEntries
+ }
+ return nil
+}
+
+//*
+// Snapshot diff report listing entry
+type SnapshotDiffReportListingEntryProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Fullpath []byte `protobuf:"bytes,1,req,name=fullpath" json:"fullpath,omitempty"`
+ DirId *uint64 `protobuf:"varint,2,req,name=dirId" json:"dirId,omitempty"`
+ IsReference *bool `protobuf:"varint,3,req,name=isReference" json:"isReference,omitempty"`
+ TargetPath []byte `protobuf:"bytes,4,opt,name=targetPath" json:"targetPath,omitempty"`
+ FileId *uint64 `protobuf:"varint,5,opt,name=fileId" json:"fileId,omitempty"`
+}
+
+func (x *SnapshotDiffReportListingEntryProto) Reset() {
+ *x = SnapshotDiffReportListingEntryProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[41]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SnapshotDiffReportListingEntryProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SnapshotDiffReportListingEntryProto) ProtoMessage() {}
+
+func (x *SnapshotDiffReportListingEntryProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[41]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SnapshotDiffReportListingEntryProto.ProtoReflect.Descriptor instead.
+func (*SnapshotDiffReportListingEntryProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{41}
+}
+
+func (x *SnapshotDiffReportListingEntryProto) GetFullpath() []byte {
+ if x != nil {
+ return x.Fullpath
+ }
+ return nil
+}
+
+func (x *SnapshotDiffReportListingEntryProto) GetDirId() uint64 {
+ if x != nil && x.DirId != nil {
+ return *x.DirId
+ }
+ return 0
+}
+
+func (x *SnapshotDiffReportListingEntryProto) GetIsReference() bool {
+ if x != nil && x.IsReference != nil {
+ return *x.IsReference
+ }
+ return false
+}
+
+func (x *SnapshotDiffReportListingEntryProto) GetTargetPath() []byte {
+ if x != nil {
+ return x.TargetPath
+ }
+ return nil
+}
+
+func (x *SnapshotDiffReportListingEntryProto) GetFileId() uint64 {
+ if x != nil && x.FileId != nil {
+ return *x.FileId
+ }
+ return 0
+}
+
+type SnapshotDiffReportCursorProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ StartPath []byte `protobuf:"bytes,1,req,name=startPath" json:"startPath,omitempty"`
+ Index *int32 `protobuf:"varint,2,req,name=index,def=-1" json:"index,omitempty"`
+}
+
+// Default values for SnapshotDiffReportCursorProto fields.
+const (
+ Default_SnapshotDiffReportCursorProto_Index = int32(-1)
+)
+
+func (x *SnapshotDiffReportCursorProto) Reset() {
+ *x = SnapshotDiffReportCursorProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[42]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SnapshotDiffReportCursorProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SnapshotDiffReportCursorProto) ProtoMessage() {}
+
+func (x *SnapshotDiffReportCursorProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[42]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SnapshotDiffReportCursorProto.ProtoReflect.Descriptor instead.
+func (*SnapshotDiffReportCursorProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{42}
+}
+
+func (x *SnapshotDiffReportCursorProto) GetStartPath() []byte {
+ if x != nil {
+ return x.StartPath
+ }
+ return nil
+}
+
+func (x *SnapshotDiffReportCursorProto) GetIndex() int32 {
+ if x != nil && x.Index != nil {
+ return *x.Index
+ }
+ return Default_SnapshotDiffReportCursorProto_Index
+}
+
+//*
+// Snapshot diff report listing
+type SnapshotDiffReportListingProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // full path of the directory where snapshots were taken
+ ModifiedEntries []*SnapshotDiffReportListingEntryProto `protobuf:"bytes,1,rep,name=modifiedEntries" json:"modifiedEntries,omitempty"`
+ CreatedEntries []*SnapshotDiffReportListingEntryProto `protobuf:"bytes,2,rep,name=createdEntries" json:"createdEntries,omitempty"`
+ DeletedEntries []*SnapshotDiffReportListingEntryProto `protobuf:"bytes,3,rep,name=deletedEntries" json:"deletedEntries,omitempty"`
+ IsFromEarlier *bool `protobuf:"varint,4,req,name=isFromEarlier" json:"isFromEarlier,omitempty"`
+ Cursor *SnapshotDiffReportCursorProto `protobuf:"bytes,5,opt,name=cursor" json:"cursor,omitempty"`
+}
+
+func (x *SnapshotDiffReportListingProto) Reset() {
+ *x = SnapshotDiffReportListingProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[43]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SnapshotDiffReportListingProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SnapshotDiffReportListingProto) ProtoMessage() {}
+
+func (x *SnapshotDiffReportListingProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[43]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SnapshotDiffReportListingProto.ProtoReflect.Descriptor instead.
+func (*SnapshotDiffReportListingProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{43}
+}
+
+func (x *SnapshotDiffReportListingProto) GetModifiedEntries() []*SnapshotDiffReportListingEntryProto {
+ if x != nil {
+ return x.ModifiedEntries
+ }
+ return nil
+}
+
+func (x *SnapshotDiffReportListingProto) GetCreatedEntries() []*SnapshotDiffReportListingEntryProto {
+ if x != nil {
+ return x.CreatedEntries
+ }
+ return nil
+}
+
+func (x *SnapshotDiffReportListingProto) GetDeletedEntries() []*SnapshotDiffReportListingEntryProto {
+ if x != nil {
+ return x.DeletedEntries
+ }
+ return nil
+}
+
+func (x *SnapshotDiffReportListingProto) GetIsFromEarlier() bool {
+ if x != nil && x.IsFromEarlier != nil {
+ return *x.IsFromEarlier
+ }
+ return false
+}
+
+func (x *SnapshotDiffReportListingProto) GetCursor() *SnapshotDiffReportCursorProto {
+ if x != nil {
+ return x.Cursor
}
return nil
}
-// *
+//*
// Block information
//
// Please be wary of adding additional fields here, since INodeFiles
@@ -1911,379 +4387,1909 @@ func (m *SnapshotDiffReportProto) GetDiffReportEntries() []*SnapshotDiffReportEn
// (dfs.namenode.fs-limits.max-blocks-per-file), but it's better
// to avoid changing this.
type BlockProto struct {
- BlockId *uint64 `protobuf:"varint,1,req,name=blockId" json:"blockId,omitempty"`
- GenStamp *uint64 `protobuf:"varint,2,req,name=genStamp" json:"genStamp,omitempty"`
- NumBytes *uint64 `protobuf:"varint,3,opt,name=numBytes,def=0" json:"numBytes,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BlockId *uint64 `protobuf:"varint,1,req,name=blockId" json:"blockId,omitempty"`
+ GenStamp *uint64 `protobuf:"varint,2,req,name=genStamp" json:"genStamp,omitempty"`
+ NumBytes *uint64 `protobuf:"varint,3,opt,name=numBytes,def=0" json:"numBytes,omitempty"`
+}
+
+// Default values for BlockProto fields.
+const (
+ Default_BlockProto_NumBytes = uint64(0)
+)
+
+func (x *BlockProto) Reset() {
+ *x = BlockProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[44]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BlockProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *BlockProto) Reset() { *m = BlockProto{} }
-func (m *BlockProto) String() string { return proto.CompactTextString(m) }
-func (*BlockProto) ProtoMessage() {}
-func (*BlockProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{32} }
+func (*BlockProto) ProtoMessage() {}
-const Default_BlockProto_NumBytes uint64 = 0
+func (x *BlockProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[44]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-func (m *BlockProto) GetBlockId() uint64 {
- if m != nil && m.BlockId != nil {
- return *m.BlockId
+// Deprecated: Use BlockProto.ProtoReflect.Descriptor instead.
+func (*BlockProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{44}
+}
+
+func (x *BlockProto) GetBlockId() uint64 {
+ if x != nil && x.BlockId != nil {
+ return *x.BlockId
}
return 0
}
-func (m *BlockProto) GetGenStamp() uint64 {
- if m != nil && m.GenStamp != nil {
- return *m.GenStamp
+func (x *BlockProto) GetGenStamp() uint64 {
+ if x != nil && x.GenStamp != nil {
+ return *x.GenStamp
}
return 0
}
-func (m *BlockProto) GetNumBytes() uint64 {
- if m != nil && m.NumBytes != nil {
- return *m.NumBytes
+func (x *BlockProto) GetNumBytes() uint64 {
+ if x != nil && x.NumBytes != nil {
+ return *x.NumBytes
}
return Default_BlockProto_NumBytes
}
-// *
+//*
// Information related to a snapshot
// TODO: add more information
type SnapshotInfoProto struct {
- SnapshotName *string `protobuf:"bytes,1,req,name=snapshotName" json:"snapshotName,omitempty"`
- SnapshotRoot *string `protobuf:"bytes,2,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
- Permission *FsPermissionProto `protobuf:"bytes,3,req,name=permission" json:"permission,omitempty"`
- Owner *string `protobuf:"bytes,4,req,name=owner" json:"owner,omitempty"`
- Group *string `protobuf:"bytes,5,req,name=group" json:"group,omitempty"`
- CreateTime *string `protobuf:"bytes,6,req,name=createTime" json:"createTime,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SnapshotName *string `protobuf:"bytes,1,req,name=snapshotName" json:"snapshotName,omitempty"`
+ SnapshotRoot *string `protobuf:"bytes,2,req,name=snapshotRoot" json:"snapshotRoot,omitempty"`
+ Permission *FsPermissionProto `protobuf:"bytes,3,req,name=permission" json:"permission,omitempty"`
+ Owner *string `protobuf:"bytes,4,req,name=owner" json:"owner,omitempty"`
+ Group *string `protobuf:"bytes,5,req,name=group" json:"group,omitempty"`
+ CreateTime *string `protobuf:"bytes,6,req,name=createTime" json:"createTime,omitempty"` // TODO: do we need access time?
+}
+
+func (x *SnapshotInfoProto) Reset() {
+ *x = SnapshotInfoProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[45]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SnapshotInfoProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *SnapshotInfoProto) Reset() { *m = SnapshotInfoProto{} }
-func (m *SnapshotInfoProto) String() string { return proto.CompactTextString(m) }
-func (*SnapshotInfoProto) ProtoMessage() {}
-func (*SnapshotInfoProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{33} }
+func (*SnapshotInfoProto) ProtoMessage() {}
-func (m *SnapshotInfoProto) GetSnapshotName() string {
- if m != nil && m.SnapshotName != nil {
- return *m.SnapshotName
+func (x *SnapshotInfoProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[45]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SnapshotInfoProto.ProtoReflect.Descriptor instead.
+func (*SnapshotInfoProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{45}
+}
+
+func (x *SnapshotInfoProto) GetSnapshotName() string {
+ if x != nil && x.SnapshotName != nil {
+ return *x.SnapshotName
}
return ""
}
-func (m *SnapshotInfoProto) GetSnapshotRoot() string {
- if m != nil && m.SnapshotRoot != nil {
- return *m.SnapshotRoot
+func (x *SnapshotInfoProto) GetSnapshotRoot() string {
+ if x != nil && x.SnapshotRoot != nil {
+ return *x.SnapshotRoot
}
return ""
}
-func (m *SnapshotInfoProto) GetPermission() *FsPermissionProto {
- if m != nil {
- return m.Permission
+func (x *SnapshotInfoProto) GetPermission() *FsPermissionProto {
+ if x != nil {
+ return x.Permission
}
return nil
}
-func (m *SnapshotInfoProto) GetOwner() string {
- if m != nil && m.Owner != nil {
- return *m.Owner
+func (x *SnapshotInfoProto) GetOwner() string {
+ if x != nil && x.Owner != nil {
+ return *x.Owner
}
return ""
}
-func (m *SnapshotInfoProto) GetGroup() string {
- if m != nil && m.Group != nil {
- return *m.Group
+func (x *SnapshotInfoProto) GetGroup() string {
+ if x != nil && x.Group != nil {
+ return *x.Group
}
return ""
}
-func (m *SnapshotInfoProto) GetCreateTime() string {
- if m != nil && m.CreateTime != nil {
- return *m.CreateTime
+func (x *SnapshotInfoProto) GetCreateTime() string {
+ if x != nil && x.CreateTime != nil {
+ return *x.CreateTime
}
return ""
}
-// *
+//*
// Rolling upgrade status
type RollingUpgradeStatusProto struct {
- BlockPoolId *string `protobuf:"bytes,1,req,name=blockPoolId" json:"blockPoolId,omitempty"`
- Finalized *bool `protobuf:"varint,2,opt,name=finalized,def=0" json:"finalized,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BlockPoolId *string `protobuf:"bytes,1,req,name=blockPoolId" json:"blockPoolId,omitempty"`
+ Finalized *bool `protobuf:"varint,2,opt,name=finalized,def=0" json:"finalized,omitempty"`
+}
+
+// Default values for RollingUpgradeStatusProto fields.
+const (
+ Default_RollingUpgradeStatusProto_Finalized = bool(false)
+)
+
+func (x *RollingUpgradeStatusProto) Reset() {
+ *x = RollingUpgradeStatusProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[46]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RollingUpgradeStatusProto) Reset() { *m = RollingUpgradeStatusProto{} }
-func (m *RollingUpgradeStatusProto) String() string { return proto.CompactTextString(m) }
-func (*RollingUpgradeStatusProto) ProtoMessage() {}
-func (*RollingUpgradeStatusProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{34} }
+func (x *RollingUpgradeStatusProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RollingUpgradeStatusProto) ProtoMessage() {}
+
+func (x *RollingUpgradeStatusProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[46]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-const Default_RollingUpgradeStatusProto_Finalized bool = false
+// Deprecated: Use RollingUpgradeStatusProto.ProtoReflect.Descriptor instead.
+func (*RollingUpgradeStatusProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{46}
+}
-func (m *RollingUpgradeStatusProto) GetBlockPoolId() string {
- if m != nil && m.BlockPoolId != nil {
- return *m.BlockPoolId
+func (x *RollingUpgradeStatusProto) GetBlockPoolId() string {
+ if x != nil && x.BlockPoolId != nil {
+ return *x.BlockPoolId
}
return ""
}
-func (m *RollingUpgradeStatusProto) GetFinalized() bool {
- if m != nil && m.Finalized != nil {
- return *m.Finalized
+func (x *RollingUpgradeStatusProto) GetFinalized() bool {
+ if x != nil && x.Finalized != nil {
+ return *x.Finalized
}
return Default_RollingUpgradeStatusProto_Finalized
}
-// *
+//*
// A list of storage IDs.
type StorageUuidsProto struct {
- StorageUuids []string `protobuf:"bytes,1,rep,name=storageUuids" json:"storageUuids,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *StorageUuidsProto) Reset() { *m = StorageUuidsProto{} }
-func (m *StorageUuidsProto) String() string { return proto.CompactTextString(m) }
-func (*StorageUuidsProto) ProtoMessage() {}
-func (*StorageUuidsProto) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{35} }
-
-func (m *StorageUuidsProto) GetStorageUuids() []string {
- if m != nil {
- return m.StorageUuids
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*ExtendedBlockProto)(nil), "hadoop.hdfs.ExtendedBlockProto")
- proto.RegisterType((*DatanodeIDProto)(nil), "hadoop.hdfs.DatanodeIDProto")
- proto.RegisterType((*DatanodeLocalInfoProto)(nil), "hadoop.hdfs.DatanodeLocalInfoProto")
- proto.RegisterType((*DatanodeInfosProto)(nil), "hadoop.hdfs.DatanodeInfosProto")
- proto.RegisterType((*DatanodeInfoProto)(nil), "hadoop.hdfs.DatanodeInfoProto")
- proto.RegisterType((*DatanodeStorageProto)(nil), "hadoop.hdfs.DatanodeStorageProto")
- proto.RegisterType((*StorageReportProto)(nil), "hadoop.hdfs.StorageReportProto")
- proto.RegisterType((*ContentSummaryProto)(nil), "hadoop.hdfs.ContentSummaryProto")
- proto.RegisterType((*QuotaUsageProto)(nil), "hadoop.hdfs.QuotaUsageProto")
- proto.RegisterType((*StorageTypeQuotaInfosProto)(nil), "hadoop.hdfs.StorageTypeQuotaInfosProto")
- proto.RegisterType((*StorageTypeQuotaInfoProto)(nil), "hadoop.hdfs.StorageTypeQuotaInfoProto")
- proto.RegisterType((*CorruptFileBlocksProto)(nil), "hadoop.hdfs.CorruptFileBlocksProto")
- proto.RegisterType((*FsPermissionProto)(nil), "hadoop.hdfs.FsPermissionProto")
- proto.RegisterType((*StorageTypesProto)(nil), "hadoop.hdfs.StorageTypesProto")
- proto.RegisterType((*BlockStoragePolicyProto)(nil), "hadoop.hdfs.BlockStoragePolicyProto")
- proto.RegisterType((*LocatedBlockProto)(nil), "hadoop.hdfs.LocatedBlockProto")
- proto.RegisterType((*DataEncryptionKeyProto)(nil), "hadoop.hdfs.DataEncryptionKeyProto")
- proto.RegisterType((*FileEncryptionInfoProto)(nil), "hadoop.hdfs.FileEncryptionInfoProto")
- proto.RegisterType((*PerFileEncryptionInfoProto)(nil), "hadoop.hdfs.PerFileEncryptionInfoProto")
- proto.RegisterType((*ZoneEncryptionInfoProto)(nil), "hadoop.hdfs.ZoneEncryptionInfoProto")
- proto.RegisterType((*CipherOptionProto)(nil), "hadoop.hdfs.CipherOptionProto")
- proto.RegisterType((*LocatedBlocksProto)(nil), "hadoop.hdfs.LocatedBlocksProto")
- proto.RegisterType((*ECSchemaOptionEntryProto)(nil), "hadoop.hdfs.ECSchemaOptionEntryProto")
- proto.RegisterType((*ECSchemaProto)(nil), "hadoop.hdfs.ECSchemaProto")
- proto.RegisterType((*ErasureCodingPolicyProto)(nil), "hadoop.hdfs.ErasureCodingPolicyProto")
- proto.RegisterType((*HdfsFileStatusProto)(nil), "hadoop.hdfs.HdfsFileStatusProto")
- proto.RegisterType((*FsServerDefaultsProto)(nil), "hadoop.hdfs.FsServerDefaultsProto")
- proto.RegisterType((*DirectoryListingProto)(nil), "hadoop.hdfs.DirectoryListingProto")
- proto.RegisterType((*SnapshottableDirectoryStatusProto)(nil), "hadoop.hdfs.SnapshottableDirectoryStatusProto")
- proto.RegisterType((*SnapshottableDirectoryListingProto)(nil), "hadoop.hdfs.SnapshottableDirectoryListingProto")
- proto.RegisterType((*SnapshotDiffReportEntryProto)(nil), "hadoop.hdfs.SnapshotDiffReportEntryProto")
- proto.RegisterType((*SnapshotDiffReportProto)(nil), "hadoop.hdfs.SnapshotDiffReportProto")
- proto.RegisterType((*BlockProto)(nil), "hadoop.hdfs.BlockProto")
- proto.RegisterType((*SnapshotInfoProto)(nil), "hadoop.hdfs.SnapshotInfoProto")
- proto.RegisterType((*RollingUpgradeStatusProto)(nil), "hadoop.hdfs.RollingUpgradeStatusProto")
- proto.RegisterType((*StorageUuidsProto)(nil), "hadoop.hdfs.StorageUuidsProto")
- proto.RegisterEnum("hadoop.hdfs.StorageTypeProto", StorageTypeProto_name, StorageTypeProto_value)
- proto.RegisterEnum("hadoop.hdfs.CipherSuiteProto", CipherSuiteProto_name, CipherSuiteProto_value)
- proto.RegisterEnum("hadoop.hdfs.CryptoProtocolVersionProto", CryptoProtocolVersionProto_name, CryptoProtocolVersionProto_value)
- proto.RegisterEnum("hadoop.hdfs.ChecksumTypeProto", ChecksumTypeProto_name, ChecksumTypeProto_value)
- proto.RegisterEnum("hadoop.hdfs.DatanodeInfoProto_AdminState", DatanodeInfoProto_AdminState_name, DatanodeInfoProto_AdminState_value)
- proto.RegisterEnum("hadoop.hdfs.DatanodeStorageProto_StorageState", DatanodeStorageProto_StorageState_name, DatanodeStorageProto_StorageState_value)
- proto.RegisterEnum("hadoop.hdfs.HdfsFileStatusProto_FileType", HdfsFileStatusProto_FileType_name, HdfsFileStatusProto_FileType_value)
-}
-
-func init() { proto.RegisterFile("hdfs.proto", fileDescriptor8) }
-
-var fileDescriptor8 = []byte{
- // 2923 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x73, 0x1b, 0xc7,
- 0xb1, 0xf7, 0x2e, 0x00, 0x12, 0x68, 0x92, 0x20, 0x38, 0xfa, 0x82, 0x68, 0x59, 0xa6, 0xf7, 0x49,
- 0x16, 0xad, 0x67, 0xb3, 0x6c, 0xea, 0x95, 0x5d, 0x4f, 0xf6, 0xf3, 0x0b, 0x09, 0x80, 0x16, 0x4a,
- 0x10, 0x40, 0x0f, 0x48, 0xb9, 0xec, 0x4a, 0x0a, 0xb5, 0xdc, 0x1d, 0x10, 0x1b, 0x2e, 0x76, 0x36,
- 0xbb, 0x0b, 0x5a, 0xf0, 0x29, 0xc7, 0x54, 0xa5, 0x92, 0x9c, 0x72, 0xcb, 0xc1, 0x55, 0xc9, 0x39,
- 0xff, 0x86, 0xff, 0x87, 0x54, 0x2a, 0xc7, 0xe4, 0x9a, 0x43, 0xee, 0x49, 0x4d, 0xcf, 0xec, 0x17,
- 0x3e, 0x44, 0xc5, 0x3e, 0xe5, 0x86, 0xfe, 0x4d, 0x77, 0xef, 0x74, 0xcf, 0xf4, 0xc7, 0x34, 0x00,
- 0x46, 0xf6, 0x30, 0xdc, 0xf3, 0x03, 0x1e, 0x71, 0xb2, 0x36, 0x32, 0x6d, 0xce, 0xfd, 0x3d, 0x01,
- 0x6d, 0x57, 0xfb, 0xcc, 0x9a, 0x04, 0x4e, 0x34, 0x95, 0x8b, 0xc6, 0x6f, 0x34, 0x20, 0xad, 0x17,
- 0x11, 0xf3, 0x6c, 0x66, 0x1f, 0xba, 0xdc, 0xba, 0x38, 0x46, 0x99, 0x9b, 0xb0, 0xe2, 0x73, 0xee,
- 0xb6, 0xed, 0xba, 0xb6, 0xa3, 0xef, 0x56, 0xa8, 0xa2, 0x48, 0x1d, 0x56, 0xcf, 0x04, 0x57, 0xdb,
- 0xae, 0xeb, 0x3b, 0xfa, 0x6e, 0x91, 0xc6, 0x24, 0xd9, 0x85, 0xcd, 0x73, 0xe6, 0xb1, 0xc0, 0x8c,
- 0x1c, 0xee, 0xf5, 0x23, 0x73, 0xec, 0xd7, 0x0b, 0xc8, 0x31, 0x0b, 0x93, 0x37, 0xa0, 0xec, 0x4d,
- 0xc6, 0x87, 0xd3, 0x88, 0x85, 0xf5, 0xe2, 0x8e, 0xb6, 0x5b, 0x7c, 0xac, 0xbd, 0x4f, 0x13, 0xc8,
- 0xf8, 0xab, 0x06, 0x9b, 0x4d, 0x33, 0x32, 0x3d, 0x6e, 0xb3, 0x76, 0x33, 0xd9, 0x8e, 0xe3, 0x1f,
- 0xd8, 0x76, 0x10, 0x6f, 0x47, 0x52, 0x64, 0x1b, 0xca, 0x23, 0x1e, 0x46, 0x5d, 0x73, 0xcc, 0x70,
- 0x3f, 0x15, 0x9a, 0xd0, 0xc4, 0x80, 0x75, 0x5b, 0xa9, 0x39, 0x9d, 0x38, 0x36, 0xee, 0xa6, 0x42,
- 0x73, 0x98, 0x90, 0x7f, 0x31, 0x64, 0xc1, 0x31, 0x0f, 0xa2, 0x7a, 0x71, 0x47, 0xdf, 0xdd, 0xa0,
- 0x09, 0x2d, 0xd6, 0x1c, 0x6f, 0xc8, 0x71, 0xad, 0x24, 0xd7, 0x62, 0x5a, 0xb8, 0xc1, 0xf1, 0x2d,
- 0x5c, 0x5a, 0xc1, 0xa5, 0x98, 0x24, 0xef, 0x40, 0x55, 0x70, 0xa1, 0x97, 0x19, 0x32, 0xac, 0xee,
- 0x68, 0xbb, 0x1b, 0xc2, 0xc4, 0x99, 0x05, 0xe3, 0xe7, 0x1a, 0xdc, 0x8c, 0x0d, 0xed, 0x70, 0xcb,
- 0x74, 0xdb, 0x42, 0x3d, 0xda, 0xbb, 0x0b, 0x9b, 0x21, 0x1f, 0x46, 0x5f, 0x9b, 0x01, 0x7b, 0xce,
- 0x82, 0xd0, 0xe1, 0x9e, 0x32, 0x7c, 0x16, 0x26, 0xf7, 0x60, 0xc3, 0xe2, 0xde, 0xd0, 0x39, 0x8f,
- 0xf9, 0xa4, 0x1b, 0xf2, 0xa0, 0xf0, 0xdf, 0xc4, 0x8f, 0x9c, 0x31, 0x53, 0x67, 0xa2, 0x28, 0x83,
- 0x02, 0x49, 0x5c, 0xed, 0x0d, 0x79, 0x28, 0xbf, 0xfe, 0x09, 0x54, 0x62, 0x2f, 0x85, 0x75, 0x6d,
- 0xa7, 0xb0, 0xbb, 0xb6, 0x7f, 0x77, 0x2f, 0x73, 0x89, 0xf6, 0xb2, 0x32, 0x28, 0x42, 0x53, 0x01,
- 0xe3, 0xef, 0x45, 0xd8, 0x9a, 0x63, 0x20, 0xef, 0x82, 0xee, 0xc8, 0xcb, 0xb4, 0xb6, 0x7f, 0x67,
- 0xb1, 0x32, 0x79, 0xd6, 0x54, 0x77, 0x6c, 0x71, 0x45, 0x2c, 0xd3, 0x37, 0x2d, 0x27, 0x9a, 0xd6,
- 0xf5, 0xe4, 0x8a, 0xc4, 0x10, 0x79, 0x1d, 0x56, 0xed, 0x61, 0x78, 0x1a, 0x32, 0x71, 0xaa, 0x6a,
- 0x35, 0x46, 0xc8, 0x9b, 0x50, 0x09, 0xd8, 0xd8, 0x74, 0x3c, 0xc7, 0x3b, 0x4f, 0xef, 0x57, 0x8a,
- 0x91, 0x07, 0xb0, 0x81, 0x97, 0xf6, 0x98, 0x73, 0x17, 0x75, 0x94, 0x62, 0xa6, 0x3c, 0x4e, 0xde,
- 0x02, 0x70, 0xcd, 0x30, 0x3a, 0xf5, 0x6d, 0x33, 0x62, 0xf5, 0x95, 0x98, 0x2b, 0x03, 0x92, 0xfb,
- 0xb0, 0xfe, 0xc2, 0x62, 0xce, 0x25, 0x0b, 0x1a, 0x7c, 0xe2, 0x65, 0x0e, 0x3b, 0x07, 0x8b, 0xbb,
- 0xe4, 0x72, 0x0b, 0x63, 0xa0, 0x5e, 0xde, 0xd1, 0xc4, 0x3d, 0x8d, 0x69, 0xf2, 0x39, 0x80, 0x69,
- 0x8f, 0x1d, 0x11, 0x1c, 0x11, 0xab, 0xc3, 0x8e, 0xb6, 0x5b, 0xdd, 0x7f, 0xe7, 0xe5, 0xee, 0xde,
- 0x3b, 0x48, 0x04, 0x1e, 0xaf, 0x74, 0x7b, 0xf4, 0xd9, 0x41, 0x87, 0x66, 0x94, 0x08, 0x0b, 0x2d,
- 0xd3, 0x1a, 0xb1, 0x46, 0xec, 0xc3, 0xb5, 0xc4, 0xc2, 0x1c, 0x2e, 0x7c, 0x85, 0x00, 0xba, 0x61,
- 0x3d, 0xf1, 0x55, 0x82, 0x91, 0x47, 0x70, 0x2d, 0xb5, 0xf6, 0x19, 0xf7, 0x78, 0xc4, 0x3d, 0xc7,
- 0xaa, 0x6f, 0xc4, 0xac, 0x8b, 0x56, 0xc5, 0x9d, 0x9c, 0xf8, 0xe7, 0x81, 0x69, 0xb3, 0x26, 0x17,
- 0x4e, 0xaf, 0x57, 0xd1, 0xe4, 0x3c, 0x68, 0xb4, 0x01, 0x52, 0x33, 0x08, 0x80, 0x32, 0xa4, 0xf6,
- 0x1a, 0x79, 0x1d, 0x6e, 0x35, 0x5b, 0x8d, 0xde, 0xb3, 0x67, 0xed, 0x7e, 0xbf, 0xdd, 0xeb, 0x0e,
- 0xda, 0xdd, 0x63, 0xda, 0xfb, 0x8c, 0xb6, 0xfa, 0xfd, 0x9a, 0x46, 0x08, 0x54, 0xb3, 0x8b, 0xad,
- 0x66, 0x4d, 0x37, 0xfe, 0xa9, 0xc1, 0xf5, 0xd8, 0x49, 0xfd, 0x88, 0x07, 0xe6, 0x39, 0x93, 0xb7,
- 0x6e, 0x07, 0xd6, 0x42, 0x49, 0x63, 0x0a, 0x90, 0x31, 0x94, 0x85, 0x48, 0x07, 0x4a, 0x21, 0x3a,
- 0x5e, 0x47, 0xc7, 0xef, 0x2d, 0x74, 0x7c, 0x56, 0xe7, 0x9e, 0x22, 0xf2, 0xde, 0x97, 0x4a, 0x48,
- 0x2b, 0xf9, 0xde, 0xc9, 0xd4, 0x67, 0x78, 0x39, 0xab, 0xfb, 0x6f, 0xe4, 0x74, 0xf6, 0xd3, 0x75,
- 0xd4, 0xf7, 0xb8, 0xd8, 0x6c, 0xf7, 0x9f, 0xd2, 0xac, 0x9c, 0xf1, 0x3e, 0xac, 0x67, 0xbf, 0x92,
- 0x73, 0xce, 0x75, 0xa8, 0xd1, 0xd6, 0x41, 0x73, 0xd0, 0xeb, 0x76, 0xbe, 0x1c, 0xf4, 0x9f, 0x1c,
- 0xd0, 0x56, 0xb3, 0xa6, 0x19, 0xbf, 0xd3, 0x81, 0x28, 0x11, 0xca, 0x7c, 0x1e, 0x44, 0xd2, 0xfe,
- 0x7b, 0x0b, 0xec, 0x3f, 0xd4, 0xeb, 0x5a, 0xde, 0x07, 0x6f, 0xc0, 0xca, 0xd0, 0x74, 0x5c, 0x66,
- 0xa3, 0x13, 0xca, 0x8f, 0x4b, 0x43, 0xd3, 0x0d, 0x19, 0x55, 0x60, 0x2e, 0x18, 0x0b, 0x2f, 0x0d,
- 0xc6, 0xe2, 0xcb, 0x83, 0xb1, 0xf4, 0x2a, 0xc1, 0xb8, 0xb2, 0x24, 0x18, 0x3f, 0x86, 0x55, 0xb5,
- 0x67, 0x0c, 0xb2, 0xb5, 0xfd, 0xb7, 0xae, 0x3c, 0x2a, 0x1a, 0x4b, 0x18, 0xdf, 0xea, 0x70, 0xad,
- 0xc1, 0xbd, 0x88, 0x79, 0x51, 0x7f, 0x32, 0x1e, 0x9b, 0xc1, 0x34, 0xa9, 0x2b, 0x2e, 0xf3, 0xce,
- 0xa3, 0x11, 0xba, 0xa6, 0x48, 0x15, 0x45, 0xee, 0x40, 0x65, 0xe8, 0xb8, 0x4c, 0xc6, 0xb4, 0x2c,
- 0x74, 0x29, 0x40, 0xde, 0x86, 0xaa, 0xed, 0x04, 0xcc, 0x8a, 0x78, 0x30, 0x95, 0x2c, 0x32, 0xab,
- 0xce, 0xa0, 0xe4, 0x3a, 0x94, 0x7e, 0x36, 0xe1, 0x91, 0x89, 0xa5, 0xa5, 0x48, 0x25, 0x21, 0xa2,
- 0x23, 0xf4, 0x4d, 0x8b, 0x35, 0xb8, 0x17, 0x4e, 0xc6, 0x98, 0x7e, 0xc4, 0x6a, 0x1e, 0x24, 0x77,
- 0x01, 0x10, 0xf8, 0x1c, 0x15, 0xac, 0x20, 0x4b, 0x06, 0x21, 0x3d, 0xa8, 0x46, 0x53, 0x5f, 0x12,
- 0x98, 0xba, 0x95, 0x57, 0x1e, 0x2c, 0xbb, 0x6c, 0x29, 0xa7, 0xf4, 0xcd, 0x8c, 0xb8, 0xf1, 0x0f,
- 0x0d, 0x36, 0x91, 0x3c, 0x0d, 0x93, 0xf0, 0xf9, 0x1f, 0xb8, 0x21, 0xac, 0x3e, 0xf0, 0xec, 0x66,
- 0xde, 0x5e, 0xe9, 0xad, 0xc5, 0x8b, 0xa9, 0xd9, 0xfa, 0x4b, 0xcd, 0x2e, 0x5c, 0x6d, 0x76, 0xf1,
- 0x15, 0xcc, 0x2e, 0xfd, 0x30, 0xb3, 0x7f, 0x0a, 0xdb, 0xcb, 0xb9, 0x49, 0x07, 0x36, 0x72, 0xfc,
- 0xaa, 0x1a, 0xbe, 0x7d, 0xe5, 0xd7, 0xe4, 0xc7, 0xf2, 0xc2, 0xa2, 0xe0, 0xdf, 0x5e, 0xca, 0x4c,
- 0x3e, 0x80, 0xa2, 0x60, 0x47, 0xdf, 0x5e, 0x95, 0x34, 0x28, 0xb2, 0x2e, 0xf1, 0xf4, 0x36, 0x94,
- 0xad, 0xbc, 0x93, 0x13, 0xda, 0x38, 0x82, 0x9b, 0x0d, 0x1e, 0x04, 0x13, 0x3f, 0x3a, 0x72, 0x5c,
- 0x86, 0x0d, 0x9f, 0x32, 0xf5, 0x3a, 0x94, 0xc4, 0x71, 0xca, 0x82, 0x5f, 0xa1, 0x92, 0x10, 0x01,
- 0x62, 0x71, 0x7e, 0xe1, 0xc4, 0xed, 0x95, 0xa2, 0x8c, 0x07, 0xb0, 0x75, 0x14, 0x1e, 0xb3, 0x60,
- 0xec, 0x84, 0xa2, 0xc1, 0x90, 0x2a, 0x08, 0x14, 0x7d, 0x16, 0x8c, 0xd1, 0x82, 0x0d, 0x8a, 0xbf,
- 0x8d, 0xe7, 0xb0, 0x95, 0xd9, 0xbc, 0xfa, 0xd6, 0x01, 0xac, 0x67, 0xd2, 0x9d, 0xfc, 0xe4, 0x95,
- 0x26, 0xe7, 0x44, 0x8c, 0xef, 0x74, 0xb8, 0x85, 0xdb, 0x8f, 0x03, 0x9e, 0xbb, 0x8e, 0xa5, 0xa2,
- 0x7a, 0x1b, 0xca, 0x3e, 0x92, 0xaa, 0x7d, 0xdd, 0xa0, 0x09, 0x2d, 0xf6, 0xe8, 0xa5, 0xdd, 0x22,
- 0xfe, 0x26, 0x47, 0x50, 0xb5, 0x02, 0x86, 0xd5, 0x58, 0xaa, 0x41, 0xb7, 0xcd, 0x36, 0x3d, 0x73,
- 0x66, 0xd0, 0x19, 0x29, 0xf2, 0x1c, 0x6e, 0xc6, 0xc8, 0x91, 0xe9, 0xba, 0x67, 0xa6, 0x48, 0x5f,
- 0xa8, 0xaf, 0x88, 0x97, 0xf4, 0x2a, 0x7d, 0x4b, 0xa4, 0xc9, 0x8f, 0xe1, 0x76, 0xc0, 0x7c, 0xd7,
- 0xb1, 0x16, 0xa9, 0x2e, 0xbd, 0x92, 0xea, 0xe5, 0x0a, 0x8c, 0xef, 0x0a, 0xb0, 0x25, 0xda, 0xcf,
- 0x28, 0xf7, 0x00, 0x78, 0x0f, 0xb4, 0x33, 0xd5, 0xae, 0xbd, 0x99, 0xd3, 0x3d, 0xff, 0x58, 0xa0,
- 0xda, 0x99, 0xb8, 0x27, 0x7c, 0x38, 0x0c, 0x59, 0x9c, 0x2d, 0x15, 0x45, 0xf6, 0xa1, 0xe8, 0x72,
- 0x2b, 0xac, 0x17, 0x5e, 0xa9, 0x8b, 0x44, 0x5e, 0xd1, 0x5c, 0x5b, 0xf2, 0x8e, 0x62, 0x02, 0x28,
- 0xd3, 0x98, 0x24, 0xff, 0x0b, 0x80, 0x45, 0xe1, 0x84, 0x5f, 0x30, 0x0f, 0xf3, 0xe6, 0xda, 0xfe,
- 0xed, 0x58, 0xa7, 0xc5, 0xc7, 0x63, 0xee, 0xed, 0xe1, 0x9a, 0x54, 0x97, 0x61, 0x26, 0x77, 0xa1,
- 0xec, 0x84, 0x0d, 0xd1, 0xd7, 0x88, 0x12, 0x53, 0xd8, 0x2d, 0x1f, 0xea, 0x35, 0x8d, 0x26, 0xd8,
- 0xdc, 0x95, 0x5c, 0xfd, 0xb7, 0xaf, 0x24, 0xe6, 0x2e, 0x49, 0xb7, 0x9b, 0x61, 0xbd, 0x8c, 0x61,
- 0x94, 0x41, 0xc4, 0x83, 0x44, 0x3e, 0x96, 0x3c, 0xdb, 0xb1, 0x58, 0x58, 0xaf, 0xec, 0x68, 0xbb,
- 0xeb, 0x34, 0x87, 0x91, 0x8f, 0x61, 0x2d, 0xdd, 0x74, 0x58, 0x07, 0x74, 0xdb, 0x4b, 0x4c, 0xcc,
- 0x72, 0x1b, 0x7f, 0x51, 0x0f, 0x8a, 0x96, 0x67, 0x05, 0x53, 0x5f, 0x1c, 0xf5, 0x53, 0x36, 0x4d,
- 0xa2, 0xfb, 0x82, 0xa5, 0xf1, 0x20, 0x09, 0xd1, 0x1e, 0x25, 0x45, 0x56, 0xbd, 0xe8, 0x2a, 0x34,
- 0x0b, 0x09, 0x39, 0x8f, 0x7b, 0x96, 0x7c, 0x37, 0xac, 0x53, 0x49, 0x88, 0x5c, 0xce, 0xb2, 0xdf,
- 0xc0, 0x73, 0x5a, 0xa7, 0x79, 0x50, 0xf8, 0x83, 0xbd, 0xf0, 0x9d, 0x60, 0xda, 0x14, 0xfd, 0x95,
- 0xac, 0x72, 0x19, 0x84, 0xbc, 0x0f, 0xd7, 0x52, 0x81, 0x03, 0xf7, 0x9c, 0x07, 0x4e, 0x34, 0x1a,
- 0x63, 0x03, 0x50, 0xa1, 0x8b, 0x96, 0x8c, 0xdf, 0xea, 0x70, 0x4b, 0xe4, 0xad, 0xd4, 0xc0, 0x34,
- 0x7d, 0x3e, 0x82, 0x52, 0x38, 0x71, 0xa2, 0xc5, 0xf9, 0xb3, 0xe1, 0xf8, 0x23, 0x16, 0xf4, 0xc5,
- 0xba, 0xf4, 0x9b, 0xe4, 0x25, 0x3f, 0x81, 0x1b, 0xa8, 0x49, 0xea, 0xb0, 0xb8, 0x9b, 0x7d, 0x45,
- 0x55, 0x67, 0xaa, 0x4a, 0x63, 0x11, 0xa7, 0x54, 0xb7, 0x58, 0x0b, 0xa9, 0x41, 0xe1, 0x82, 0x4d,
- 0x95, 0xef, 0xc4, 0x4f, 0x52, 0x05, 0xdd, 0xb9, 0x54, 0xee, 0xd2, 0x9d, 0x4b, 0x71, 0xd7, 0x2f,
- 0xd8, 0x14, 0xdf, 0xaf, 0x25, 0xf4, 0x7e, 0x4c, 0x92, 0x87, 0x50, 0x63, 0xdf, 0x3c, 0x65, 0x53,
- 0xa5, 0x0b, 0x59, 0x56, 0x90, 0x65, 0x0e, 0x17, 0x45, 0xec, 0x98, 0x05, 0xcb, 0x3c, 0xa3, 0x76,
- 0xa1, 0xcd, 0xee, 0x42, 0x4f, 0x76, 0xb1, 0xe8, 0x5b, 0x85, 0x25, 0xdf, 0xfa, 0x4e, 0x83, 0x5b,
- 0x5f, 0x71, 0xef, 0x3f, 0xe6, 0x0c, 0x32, 0x1e, 0x2e, 0xe4, 0x3c, 0x6c, 0x7c, 0xab, 0xc1, 0x96,
- 0xdc, 0x54, 0x0f, 0xed, 0xf8, 0x01, 0x36, 0x5c, 0x87, 0x92, 0x83, 0x81, 0xa0, 0x63, 0x4c, 0x4b,
- 0x42, 0xd4, 0x1a, 0xc7, 0x6b, 0x5f, 0x62, 0xd3, 0xbc, 0x4e, 0xf1, 0x37, 0x26, 0xca, 0x49, 0x24,
- 0x63, 0x46, 0xa0, 0x8a, 0x12, 0x1a, 0xf8, 0x24, 0x6a, 0x5f, 0x62, 0x3e, 0x5f, 0xa7, 0x92, 0x30,
- 0x7e, 0x5f, 0x00, 0x92, 0xcd, 0xcd, 0xaa, 0x7e, 0xde, 0x05, 0x10, 0xe5, 0xb9, 0x93, 0x6d, 0x5d,
- 0x33, 0x08, 0xf9, 0x10, 0x56, 0x30, 0x88, 0xc3, 0xba, 0xbe, 0x20, 0xef, 0xce, 0x25, 0x7b, 0xaa,
- 0xb8, 0xc9, 0xbb, 0xb0, 0x35, 0xf1, 0x6c, 0xf1, 0x68, 0xf5, 0xc2, 0x28, 0x98, 0x58, 0xf8, 0x5e,
- 0x2d, 0x60, 0x0e, 0x9e, 0x5f, 0x20, 0x9f, 0x40, 0x45, 0xbc, 0xfe, 0x50, 0xcf, 0xc2, 0x0a, 0x37,
- 0xff, 0xa1, 0x54, 0x40, 0x44, 0xbf, 0x13, 0x76, 0x62, 0xb2, 0xc1, 0xc7, 0xbe, 0xcb, 0x54, 0x9a,
- 0x28, 0xd3, 0x45, 0x4b, 0xe4, 0x04, 0xc8, 0x70, 0xee, 0x8a, 0x63, 0xba, 0x58, 0xdb, 0xbf, 0x97,
- 0xfb, 0xf0, 0x92, 0x48, 0xa0, 0x0b, 0xe4, 0xc9, 0x01, 0x94, 0x99, 0xa5, 0x6a, 0xa9, 0x6c, 0xa1,
- 0xef, 0xe7, 0xeb, 0x5d, 0x60, 0x86, 0x93, 0x80, 0x35, 0xb8, 0xed, 0x78, 0xe7, 0x99, 0x2e, 0x83,
- 0x26, 0x62, 0xc6, 0x21, 0xd4, 0x5b, 0x8d, 0xbe, 0x35, 0x62, 0x63, 0x53, 0xde, 0xa4, 0x96, 0x17,
- 0xc5, 0x2f, 0x8c, 0x4c, 0xf0, 0x55, 0x64, 0xf0, 0x5d, 0x87, 0xd2, 0xa5, 0xe9, 0x4e, 0xe2, 0x16,
- 0x44, 0x12, 0xc6, 0x1f, 0x35, 0xd8, 0x88, 0x95, 0x48, 0xc9, 0x3b, 0x50, 0xb1, 0xb8, 0xcd, 0x2c,
- 0xbc, 0xba, 0x52, 0x3e, 0x05, 0xc4, 0xaa, 0x6d, 0x46, 0xe6, 0xa9, 0xe7, 0x44, 0x21, 0x6a, 0xda,
- 0xa0, 0x29, 0x20, 0x12, 0xbb, 0x6f, 0x06, 0x4e, 0x34, 0x95, 0xeb, 0x05, 0x5c, 0xcf, 0x42, 0xe4,
- 0xff, 0x61, 0x95, 0xe3, 0x5e, 0xc3, 0x7a, 0x11, 0xef, 0xc8, 0x8c, 0xd5, 0x4b, 0xec, 0xa1, 0xb1,
- 0x94, 0xf1, 0x6b, 0x0d, 0xea, 0xcb, 0x7c, 0x93, 0x74, 0x59, 0x5a, 0xa6, 0xcb, 0xda, 0x87, 0x95,
- 0x10, 0x75, 0xe2, 0x76, 0xd7, 0xf6, 0xb7, 0x17, 0x7e, 0x50, 0x5d, 0x48, 0xc9, 0x89, 0xad, 0x2c,
- 0x73, 0xdd, 0xbe, 0xf3, 0x0d, 0x53, 0x46, 0x24, 0x34, 0x26, 0x31, 0x5b, 0x4d, 0xed, 0x74, 0xc7,
- 0x36, 0xfe, 0xb0, 0x02, 0xd7, 0x9e, 0xd8, 0xc3, 0x50, 0x1c, 0xbe, 0x78, 0x36, 0x4f, 0x54, 0xb0,
- 0xb4, 0xa0, 0x2c, 0x8e, 0xfd, 0x24, 0xed, 0xad, 0xf3, 0xd3, 0x95, 0x05, 0x32, 0x78, 0x81, 0x84,
- 0x00, 0x4d, 0x44, 0xb1, 0xb9, 0x35, 0xa3, 0x91, 0xca, 0x9a, 0xf8, 0x3b, 0xf3, 0x7c, 0x2c, 0xe4,
- 0x9e, 0x8f, 0x9f, 0x02, 0xf8, 0x49, 0x6f, 0x8c, 0x5b, 0x9c, 0x0d, 0x8d, 0xb9, 0xe6, 0x99, 0x66,
- 0x24, 0x30, 0x19, 0x7c, 0xed, 0xb1, 0x40, 0xd5, 0x04, 0x49, 0x08, 0xf4, 0x3c, 0xe0, 0x13, 0x5f,
- 0x95, 0x01, 0x49, 0x90, 0xff, 0x86, 0xad, 0x31, 0xb7, 0x9d, 0xa1, 0x6a, 0xee, 0x06, 0x38, 0xe5,
- 0x5b, 0xc5, 0xed, 0xd4, 0xb2, 0x0b, 0x27, 0xce, 0x98, 0x91, 0x37, 0x61, 0xcd, 0xb4, 0x2c, 0x16,
- 0x86, 0x92, 0xad, 0x2c, 0x33, 0x87, 0x84, 0x90, 0xa1, 0x0e, 0xab, 0xe1, 0x74, 0xec, 0x3a, 0xde,
- 0x85, 0x6a, 0x4f, 0x62, 0x92, 0xec, 0xc1, 0x16, 0x66, 0x89, 0x41, 0xa6, 0x93, 0xc4, 0x69, 0x15,
- 0x8e, 0xbb, 0x6a, 0xb8, 0x46, 0xd3, 0x25, 0xf1, 0xf2, 0x97, 0x59, 0x45, 0x9c, 0x5d, 0x32, 0x7f,
- 0x4a, 0x31, 0xf2, 0x7f, 0x50, 0x89, 0x67, 0x60, 0x21, 0xce, 0x9e, 0x66, 0x3b, 0xcd, 0xf9, 0xc4,
- 0x47, 0x53, 0x09, 0x72, 0x1b, 0x56, 0xc4, 0xd9, 0xb4, 0xed, 0x74, 0x18, 0xa5, 0x00, 0x72, 0x0f,
- 0xd6, 0xac, 0x91, 0xe3, 0xda, 0x01, 0xf3, 0xba, 0x93, 0x31, 0x4e, 0x9f, 0x4a, 0x8f, 0xf5, 0xf7,
- 0x3e, 0xa0, 0x59, 0x78, 0x49, 0x3a, 0xd9, 0xfc, 0x81, 0xe9, 0xe4, 0x01, 0x6c, 0x84, 0xd9, 0x17,
- 0x49, 0xbd, 0x16, 0xbb, 0x28, 0x8f, 0xe7, 0xf2, 0xce, 0xd6, 0xf7, 0xcb, 0x3b, 0x8f, 0xa0, 0x1c,
- 0x5f, 0x54, 0x02, 0xb0, 0xd2, 0xee, 0x0f, 0x9a, 0x6d, 0x5a, 0xd3, 0xc8, 0x1a, 0xac, 0xb6, 0xfb,
- 0x83, 0xa3, 0x76, 0xa7, 0x55, 0xd3, 0x49, 0x15, 0xa0, 0xdd, 0x1f, 0xf4, 0xbf, 0x7c, 0xd6, 0x69,
- 0x77, 0x9f, 0xd6, 0x0a, 0xc6, 0x2f, 0x0b, 0x70, 0xe3, 0x28, 0xec, 0xb3, 0xe0, 0x92, 0x05, 0x4d,
- 0x36, 0x34, 0x27, 0x6e, 0x14, 0x26, 0x09, 0x07, 0x4f, 0x07, 0xa3, 0x4d, 0x16, 0x95, 0x14, 0x10,
- 0x3d, 0xc2, 0xd9, 0x34, 0x62, 0xe2, 0xde, 0x36, 0x46, 0xcc, 0xba, 0x08, 0x27, 0x63, 0x95, 0x77,
- 0xe6, 0x70, 0xb2, 0x0b, 0x9b, 0x5f, 0x07, 0xa2, 0x46, 0x9a, 0xd6, 0x05, 0x8b, 0x32, 0xd1, 0x3b,
- 0x0b, 0x8b, 0x44, 0x95, 0xbd, 0x4f, 0x32, 0x9a, 0xb3, 0x10, 0x79, 0x1b, 0xaa, 0xc2, 0xcd, 0x87,
- 0x93, 0xe1, 0x90, 0x05, 0xa8, 0x4a, 0x0e, 0xe3, 0x67, 0x50, 0xf2, 0x51, 0xd2, 0x4d, 0x8a, 0x16,
- 0xf8, 0x24, 0x30, 0xbd, 0x70, 0xc8, 0x02, 0x2c, 0x0f, 0xc9, 0x44, 0x6b, 0x11, 0x87, 0x38, 0xb1,
- 0x28, 0x30, 0xc3, 0x51, 0xdb, 0x8b, 0x58, 0x70, 0x69, 0xba, 0x58, 0x05, 0xe4, 0x04, 0x2a, 0x87,
- 0x13, 0x0a, 0xeb, 0x96, 0xb2, 0x10, 0x93, 0x49, 0x19, 0xa7, 0x7b, 0xf9, 0xb8, 0x6e, 0x64, 0x18,
- 0xe4, 0x78, 0xaf, 0xda, 0x78, 0xd2, 0x6a, 0x3c, 0xed, 0x9f, 0x3e, 0x1b, 0x34, 0x68, 0xe3, 0xd1,
- 0x3e, 0xcd, 0xe9, 0x30, 0x7e, 0xa5, 0xc1, 0x8d, 0x64, 0x7c, 0xd2, 0x71, 0xc2, 0x48, 0x1c, 0x36,
- 0x9e, 0xc6, 0x13, 0xa8, 0xfa, 0x66, 0x10, 0x39, 0xa6, 0xab, 0x60, 0x35, 0x7b, 0xd8, 0xb9, 0x2a,
- 0x79, 0xd1, 0x19, 0x39, 0x71, 0x72, 0xc9, 0xbc, 0x4d, 0x64, 0x72, 0x87, 0xc5, 0x15, 0x63, 0x0e,
- 0x37, 0xfe, 0xac, 0xc1, 0x5b, 0x7d, 0xcf, 0xf4, 0xc3, 0x11, 0x8f, 0x22, 0xf3, 0xcc, 0x65, 0xc9,
- 0xe6, 0xb2, 0x29, 0xf5, 0x53, 0xa8, 0xd8, 0x4e, 0x20, 0x11, 0xf5, 0x48, 0xbc, 0x7a, 0x5b, 0xa9,
- 0x08, 0xb9, 0x0f, 0xd5, 0x50, 0x7d, 0x64, 0x90, 0x0e, 0x30, 0x36, 0xe8, 0x46, 0x8c, 0xca, 0x61,
- 0xcf, 0x03, 0xd8, 0x4c, 0xd8, 0xbc, 0xc9, 0xf8, 0x8c, 0x05, 0xea, 0x1a, 0x25, 0xd2, 0x5d, 0x44,
- 0x05, 0xa3, 0x6f, 0x06, 0xcc, 0x8b, 0x06, 0xc3, 0x89, 0xeb, 0x62, 0x9a, 0x96, 0x2d, 0x76, 0x55,
- 0xc2, 0x47, 0x0a, 0x15, 0x45, 0xcb, 0x58, 0x6c, 0x5e, 0xce, 0xf7, 0x23, 0xb8, 0x15, 0xce, 0x70,
- 0xe5, 0x0f, 0x21, 0x3f, 0x26, 0xbe, 0xd2, 0x61, 0x74, 0x99, 0x3a, 0xe3, 0x17, 0x1a, 0xdc, 0x89,
- 0xc5, 0x9b, 0xce, 0x70, 0x28, 0x87, 0xb7, 0x99, 0xfe, 0x61, 0x1b, 0xca, 0x89, 0x4d, 0xb2, 0x83,
- 0x4f, 0x68, 0xd1, 0xae, 0x65, 0x33, 0x7c, 0xc7, 0x3c, 0x63, 0xae, 0xea, 0x2a, 0xe6, 0x17, 0x44,
- 0xd3, 0x18, 0x99, 0xc1, 0x39, 0x8b, 0x8e, 0x4d, 0x2c, 0x58, 0x22, 0xbb, 0x67, 0x10, 0xe3, 0x4f,
- 0x1a, 0xdc, 0x9a, 0xdf, 0x8a, 0xdc, 0x85, 0x01, 0xeb, 0xb1, 0x05, 0x94, 0xf3, 0x48, 0xd5, 0xf5,
- 0x1c, 0x26, 0x78, 0x86, 0x01, 0x1f, 0xc7, 0x2a, 0xd4, 0x46, 0x72, 0x18, 0xee, 0x81, 0x27, 0x1c,
- 0xb2, 0x1f, 0xcf, 0x20, 0xe4, 0x0b, 0xd8, 0xb2, 0x73, 0x5e, 0x70, 0x58, 0xdc, 0x9f, 0xbc, 0xb3,
- 0xd0, 0xe5, 0x8b, 0x7c, 0x46, 0xe7, 0x75, 0x18, 0x26, 0x40, 0x66, 0xb8, 0x91, 0xf9, 0x17, 0x53,
- 0xcb, 0xff, 0x8b, 0xb9, 0x0d, 0xe5, 0x73, 0xa6, 0xfe, 0xbe, 0x94, 0x93, 0x8c, 0x84, 0xce, 0xfd,
- 0x6f, 0x59, 0x98, 0xff, 0xdf, 0xf2, 0x6f, 0x1a, 0x6c, 0xc5, 0xdb, 0x4a, 0x9f, 0x44, 0x19, 0xcf,
- 0x65, 0x1a, 0xb9, 0x1c, 0x36, 0xe7, 0x5d, 0x7d, 0x81, 0x77, 0xf3, 0x2d, 0x45, 0xe1, 0xfb, 0xb7,
- 0x14, 0xc5, 0x85, 0x2d, 0x45, 0x29, 0xdb, 0x52, 0xdc, 0x05, 0xc0, 0x49, 0x14, 0x13, 0x2d, 0x81,
- 0xea, 0x36, 0x32, 0x88, 0x71, 0x06, 0xb7, 0x29, 0x77, 0x5d, 0xc7, 0x3b, 0x3f, 0x95, 0xff, 0xe8,
- 0x64, 0x73, 0xc3, 0xcc, 0x4c, 0x41, 0x9b, 0x9f, 0x29, 0xfc, 0x17, 0x54, 0x86, 0x8e, 0x67, 0xba,
- 0xce, 0x37, 0xb3, 0xff, 0x38, 0xa4, 0xb8, 0xf1, 0x51, 0x32, 0x37, 0x3c, 0x9d, 0x38, 0x76, 0x98,
- 0x3a, 0x33, 0x03, 0xaa, 0x51, 0x65, 0x0e, 0x7b, 0xf8, 0x23, 0xa8, 0xcd, 0xce, 0x69, 0x48, 0x19,
- 0xf0, 0x4f, 0x96, 0x9a, 0x46, 0x56, 0xa1, 0xd0, 0xef, 0x37, 0x6b, 0xba, 0xa8, 0x91, 0x07, 0xb4,
- 0xf1, 0xa4, 0xfd, 0xbc, 0x55, 0x2b, 0x90, 0x75, 0x28, 0xd3, 0x83, 0x67, 0x03, 0xe4, 0x29, 0x3e,
- 0xfc, 0x10, 0x6a, 0xb3, 0xef, 0x3c, 0xc1, 0x7e, 0xda, 0x7d, 0xda, 0xed, 0x7d, 0xd1, 0xad, 0x69,
- 0xe4, 0x06, 0x6c, 0x1d, 0xb4, 0xfa, 0x83, 0xc6, 0x09, 0x1d, 0x74, 0x7b, 0xc7, 0x07, 0xcd, 0x66,
- 0xbb, 0xfb, 0x59, 0x4d, 0x7f, 0x78, 0x0c, 0xdb, 0xcb, 0x9f, 0xa7, 0xe4, 0x0e, 0xd4, 0x95, 0x86,
- 0xc1, 0x31, 0xed, 0x9d, 0xf4, 0x1a, 0xbd, 0xce, 0xe0, 0x79, 0x8b, 0xf6, 0xdb, 0x3d, 0xa1, 0xf2,
- 0x3a, 0xd4, 0x5a, 0xdd, 0x06, 0xfd, 0xf2, 0xf8, 0xa4, 0xdd, 0xeb, 0x0e, 0xbe, 0xea, 0x75, 0x5b,
- 0xfd, 0x9a, 0xfe, 0xb0, 0x07, 0x5b, 0x73, 0x05, 0x85, 0x6c, 0xc1, 0x46, 0x52, 0x52, 0xba, 0xa7,
- 0x9d, 0x4e, 0xed, 0x35, 0x42, 0x60, 0xa6, 0xca, 0xd4, 0x34, 0x72, 0x0d, 0x36, 0xf3, 0x58, 0xa3,
- 0xa6, 0x1f, 0x7e, 0x08, 0xf7, 0x79, 0x70, 0xbe, 0x67, 0xfa, 0xa6, 0x35, 0x62, 0xb9, 0xdb, 0xe3,
- 0xab, 0x3d, 0xcb, 0x1f, 0x87, 0x20, 0x32, 0x38, 0x7e, 0x2f, 0xfc, 0x56, 0xd3, 0xfe, 0x15, 0x00,
- 0x00, 0xff, 0xff, 0xd4, 0x8c, 0x02, 0x21, 0x4f, 0x20, 0x00, 0x00,
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ StorageUuids []string `protobuf:"bytes,1,rep,name=storageUuids" json:"storageUuids,omitempty"`
+}
+
+func (x *StorageUuidsProto) Reset() {
+ *x = StorageUuidsProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[47]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *StorageUuidsProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*StorageUuidsProto) ProtoMessage() {}
+
+func (x *StorageUuidsProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[47]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use StorageUuidsProto.ProtoReflect.Descriptor instead.
+func (*StorageUuidsProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{47}
+}
+
+func (x *StorageUuidsProto) GetStorageUuids() []string {
+ if x != nil {
+ return x.StorageUuids
+ }
+ return nil
+}
+
+//*
+// Secret information for the BlockKeyProto. This is not sent on the wire as
+// such but is used to pack a byte array and encrypted and put in
+// BlockKeyProto.bytes
+// When adding further fields, make sure they are optional as they would
+// otherwise not be backwards compatible.
+//
+// Note: As part of the migration from WritableUtils based tokens (aka "legacy")
+// to Protocol Buffers, we use the first byte to determine the type. If the
+// first byte is <=0 then it is a legacy token. This means that when using
+// protobuf tokens, the the first field sent must have a `field_number` less
+// than 16 to make sure that the first byte is positive. Otherwise it could be
+// parsed as a legacy token. See HDFS-11026 for more discussion.
+type BlockTokenSecretProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ExpiryDate *uint64 `protobuf:"varint,1,opt,name=expiryDate" json:"expiryDate,omitempty"`
+ KeyId *uint32 `protobuf:"varint,2,opt,name=keyId" json:"keyId,omitempty"`
+ UserId *string `protobuf:"bytes,3,opt,name=userId" json:"userId,omitempty"`
+ BlockPoolId *string `protobuf:"bytes,4,opt,name=blockPoolId" json:"blockPoolId,omitempty"`
+ BlockId *uint64 `protobuf:"varint,5,opt,name=blockId" json:"blockId,omitempty"`
+ Modes []AccessModeProto `protobuf:"varint,6,rep,name=modes,enum=hadoop.hdfs.AccessModeProto" json:"modes,omitempty"`
+ StorageTypes []StorageTypeProto `protobuf:"varint,7,rep,name=storageTypes,enum=hadoop.hdfs.StorageTypeProto" json:"storageTypes,omitempty"`
+ StorageIds []string `protobuf:"bytes,8,rep,name=storageIds" json:"storageIds,omitempty"`
+ HandshakeSecret []byte `protobuf:"bytes,9,opt,name=handshakeSecret" json:"handshakeSecret,omitempty"`
+}
+
+func (x *BlockTokenSecretProto) Reset() {
+ *x = BlockTokenSecretProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_hdfs_proto_msgTypes[48]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BlockTokenSecretProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BlockTokenSecretProto) ProtoMessage() {}
+
+func (x *BlockTokenSecretProto) ProtoReflect() protoreflect.Message {
+ mi := &file_hdfs_proto_msgTypes[48]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BlockTokenSecretProto.ProtoReflect.Descriptor instead.
+func (*BlockTokenSecretProto) Descriptor() ([]byte, []int) {
+ return file_hdfs_proto_rawDescGZIP(), []int{48}
+}
+
+func (x *BlockTokenSecretProto) GetExpiryDate() uint64 {
+ if x != nil && x.ExpiryDate != nil {
+ return *x.ExpiryDate
+ }
+ return 0
+}
+
+func (x *BlockTokenSecretProto) GetKeyId() uint32 {
+ if x != nil && x.KeyId != nil {
+ return *x.KeyId
+ }
+ return 0
+}
+
+func (x *BlockTokenSecretProto) GetUserId() string {
+ if x != nil && x.UserId != nil {
+ return *x.UserId
+ }
+ return ""
+}
+
+func (x *BlockTokenSecretProto) GetBlockPoolId() string {
+ if x != nil && x.BlockPoolId != nil {
+ return *x.BlockPoolId
+ }
+ return ""
+}
+
+func (x *BlockTokenSecretProto) GetBlockId() uint64 {
+ if x != nil && x.BlockId != nil {
+ return *x.BlockId
+ }
+ return 0
+}
+
+func (x *BlockTokenSecretProto) GetModes() []AccessModeProto {
+ if x != nil {
+ return x.Modes
+ }
+ return nil
+}
+
+func (x *BlockTokenSecretProto) GetStorageTypes() []StorageTypeProto {
+ if x != nil {
+ return x.StorageTypes
+ }
+ return nil
+}
+
+func (x *BlockTokenSecretProto) GetStorageIds() []string {
+ if x != nil {
+ return x.StorageIds
+ }
+ return nil
+}
+
+func (x *BlockTokenSecretProto) GetHandshakeSecret() []byte {
+ if x != nil {
+ return x.HandshakeSecret
+ }
+ return nil
+}
+
+var File_hdfs_proto protoreflect.FileDescriptor
+
+var file_hdfs_proto_rawDesc = []byte{
+ 0x0a, 0x0a, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x1a, 0x0e, 0x53, 0x65, 0x63, 0x75, 0x72,
+ 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x09, 0x61, 0x63, 0x6c, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x01, 0x0a, 0x12, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65,
+ 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x70,
+ 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x6f,
+ 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x02,
+ 0x20, 0x02, 0x28, 0x04, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x28, 0x0a,
+ 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x6d, 0x70,
+ 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1d, 0x0a, 0x08, 0x6e, 0x75, 0x6d, 0x42, 0x79,
+ 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x08, 0x6e, 0x75,
+ 0x6d, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x78, 0x0a, 0x1c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
+ 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66,
+ 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x02, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73,
+ 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x02,
+ 0x28, 0x03, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f,
+ 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65,
+ 0x22, 0xe6, 0x01, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1a, 0x0a, 0x08,
+ 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08,
+ 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x61, 0x74, 0x61,
+ 0x6e, 0x6f, 0x64, 0x65, 0x55, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c,
+ 0x64, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x55, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08,
+ 0x78, 0x66, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x08,
+ 0x78, 0x66, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x66, 0x6f,
+ 0x50, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x08, 0x69, 0x6e, 0x66, 0x6f,
+ 0x50, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x70, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x18,
+ 0x06, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x69, 0x70, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x29,
+ 0x0a, 0x0e, 0x69, 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x65, 0x50, 0x6f, 0x72, 0x74,
+ 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x3a, 0x01, 0x30, 0x52, 0x0e, 0x69, 0x6e, 0x66, 0x6f, 0x53,
+ 0x65, 0x63, 0x75, 0x72, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x16, 0x44, 0x61,
+ 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65,
+ 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0f, 0x73,
+ 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24,
+ 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
+ 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03,
+ 0x20, 0x02, 0x28, 0x04, 0x52, 0x06, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xaa, 0x02, 0x0a,
+ 0x17, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49,
+ 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x3f, 0x0a, 0x0b,
+ 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28,
+ 0x0e, 0x32, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a,
+ 0x09, 0x75, 0x73, 0x65, 0x64, 0x53, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04,
+ 0x52, 0x09, 0x75, 0x73, 0x65, 0x64, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66,
+ 0x72, 0x65, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09,
+ 0x66, 0x72, 0x65, 0x65, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x73,
+ 0x65, 0x72, 0x76, 0x65, 0x64, 0x53, 0x70, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x02, 0x28, 0x04,
+ 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x53, 0x70, 0x61, 0x63, 0x65, 0x12,
+ 0x3a, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x53, 0x70, 0x61, 0x63, 0x65,
+ 0x46, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x06, 0x20, 0x02, 0x28,
+ 0x04, 0x52, 0x18, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x53, 0x70, 0x61, 0x63, 0x65,
+ 0x46, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e,
+ 0x75, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09,
+ 0x6e, 0x75, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x22, 0x52, 0x0a, 0x12, 0x44, 0x61, 0x74,
+ 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x3c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0xd3, 0x06,
+ 0x0a, 0x11, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32,
+ 0x1c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61,
+ 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x02, 0x69,
+ 0x64, 0x12, 0x1d, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79,
+ 0x12, 0x1b, 0x0a, 0x07, 0x64, 0x66, 0x73, 0x55, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x04, 0x3a, 0x01, 0x30, 0x52, 0x07, 0x64, 0x66, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x1f, 0x0a,
+ 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04,
+ 0x3a, 0x01, 0x30, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x27,
+ 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x55, 0x73, 0x65, 0x64, 0x18,
+ 0x05, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
+ 0x6f, 0x6f, 0x6c, 0x55, 0x73, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x55,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x0a,
+ 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x25, 0x0a, 0x0c, 0x78, 0x63,
+ 0x65, 0x69, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d,
+ 0x3a, 0x01, 0x30, 0x52, 0x0c, 0x78, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e,
+ 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a,
+ 0x0a, 0x6e, 0x6f, 0x6e, 0x44, 0x66, 0x73, 0x55, 0x73, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28,
+ 0x04, 0x52, 0x0a, 0x6e, 0x6f, 0x6e, 0x44, 0x66, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x51, 0x0a,
+ 0x0a, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28,
+ 0x0e, 0x32, 0x29, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x06, 0x4e, 0x4f,
+ 0x52, 0x4d, 0x41, 0x4c, 0x52, 0x0a, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65,
+ 0x12, 0x27, 0x0a, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74,
+ 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68,
+ 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x09, 0x63, 0x61, 0x63,
+ 0x68, 0x65, 0x55, 0x73, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52,
+ 0x09, 0x63, 0x61, 0x63, 0x68, 0x65, 0x55, 0x73, 0x65, 0x64, 0x12, 0x33, 0x0a, 0x13, 0x6c, 0x61,
+ 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69,
+ 0x63, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x13, 0x6c, 0x61, 0x73, 0x74,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x12,
+ 0x24, 0x0a, 0x0d, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
+ 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x44,
+ 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x33, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01,
+ 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x18, 0x6c, 0x61,
+ 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x6f, 0x6e,
+ 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52,
+ 0x18, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
+ 0x4d, 0x6f, 0x6e, 0x6f, 0x74, 0x6f, 0x6e, 0x69, 0x63, 0x12, 0x1f, 0x0a, 0x09, 0x6e, 0x75, 0x6d,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, 0x3a, 0x01, 0x30, 0x52,
+ 0x09, 0x6e, 0x75, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x22, 0x77, 0x0a, 0x0a, 0x41, 0x64,
+ 0x6d, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d,
+ 0x41, 0x4c, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x45, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x53,
+ 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10,
+ 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f,
+ 0x4e, 0x45, 0x44, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x49, 0x4e,
+ 0x47, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x03, 0x12,
+ 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43,
+ 0x45, 0x10, 0x04, 0x22, 0xff, 0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65,
+ 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x0a, 0x0b,
+ 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x12, 0x4c,
+ 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61,
+ 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x06, 0x4e,
+ 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x45, 0x0a, 0x0b,
+ 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x0e, 0x32, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x3a, 0x04, 0x44, 0x49, 0x53, 0x4b, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54,
+ 0x79, 0x70, 0x65, 0x22, 0x30, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74,
+ 0x61, 0x74, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12,
+ 0x14, 0x0a, 0x10, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x5f, 0x53, 0x48, 0x41,
+ 0x52, 0x45, 0x44, 0x10, 0x01, 0x22, 0xbc, 0x02, 0x0a, 0x12, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x0a, 0x0b,
+ 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75,
+ 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65,
+ 0x64, 0x12, 0x1d, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79,
+ 0x12, 0x1b, 0x0a, 0x07, 0x64, 0x66, 0x73, 0x55, 0x73, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x04, 0x3a, 0x01, 0x30, 0x52, 0x07, 0x64, 0x66, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x1f, 0x0a,
+ 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
+ 0x3a, 0x01, 0x30, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x27,
+ 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x55, 0x73, 0x65, 0x64, 0x18,
+ 0x06, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
+ 0x6f, 0x6f, 0x6c, 0x55, 0x73, 0x65, 0x64, 0x12, 0x3b, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61,
+ 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x53,
+ 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x07, 0x73, 0x74, 0x6f,
+ 0x72, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x6f, 0x6e, 0x44, 0x66, 0x73, 0x55, 0x73,
+ 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x6e, 0x6f, 0x6e, 0x44, 0x66, 0x73,
+ 0x55, 0x73, 0x65, 0x64, 0x22, 0x96, 0x04, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
+ 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06,
+ 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x06, 0x6c, 0x65,
+ 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e,
+ 0x74, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75,
+ 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x43,
+ 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0e, 0x64, 0x69, 0x72, 0x65,
+ 0x63, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75,
+ 0x6f, 0x74, 0x61, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61,
+ 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65,
+ 0x64, 0x18, 0x05, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f,
+ 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x70, 0x61, 0x63, 0x65, 0x51,
+ 0x75, 0x6f, 0x74, 0x61, 0x18, 0x06, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0a, 0x73, 0x70, 0x61, 0x63,
+ 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x4f, 0x0a, 0x0e, 0x74, 0x79, 0x70, 0x65, 0x51, 0x75,
+ 0x6f, 0x74, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f,
+ 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49, 0x6e, 0x66,
+ 0x6f, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0e, 0x74, 0x79, 0x70, 0x65, 0x51, 0x75, 0x6f,
+ 0x74, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x6e, 0x61, 0x70, 0x73,
+ 0x68, 0x6f, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52,
+ 0x0e, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12,
+ 0x2c, 0x0a, 0x11, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x43,
+ 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x73, 0x6e, 0x61, 0x70,
+ 0x73, 0x68, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x36, 0x0a,
+ 0x16, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f,
+ 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x73,
+ 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79,
+ 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x15, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
+ 0x74, 0x53, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x64, 0x18, 0x0b,
+ 0x20, 0x01, 0x28, 0x04, 0x52, 0x15, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x53, 0x70,
+ 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x65,
+ 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x65, 0x72, 0x61, 0x73, 0x75, 0x72,
+ 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0xf4, 0x01,
+ 0x0a, 0x0f, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x34, 0x0a, 0x15, 0x66, 0x69, 0x6c, 0x65, 0x41, 0x6e, 0x64, 0x44, 0x69, 0x72, 0x65,
+ 0x63, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04,
+ 0x52, 0x15, 0x66, 0x69, 0x6c, 0x65, 0x41, 0x6e, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f,
+ 0x72, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x24, 0x0a,
+ 0x0d, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x64, 0x18, 0x03,
+ 0x20, 0x02, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x75,
+ 0x6d, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x70, 0x61, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74,
+ 0x61, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0a, 0x73, 0x70, 0x61, 0x63, 0x65, 0x51, 0x75,
+ 0x6f, 0x74, 0x61, 0x12, 0x4f, 0x0a, 0x0e, 0x74, 0x79, 0x70, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61,
+ 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x54, 0x79, 0x70, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0e, 0x74, 0x79, 0x70, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49,
+ 0x6e, 0x66, 0x6f, 0x73, 0x22, 0x6a, 0x0a, 0x1a, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54,
+ 0x79, 0x70, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x4c, 0x0a, 0x0d, 0x74, 0x79, 0x70, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49,
+ 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54,
+ 0x79, 0x70, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x0d, 0x74, 0x79, 0x70, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49, 0x6e, 0x66, 0x6f,
+ 0x22, 0x86, 0x01, 0x0a, 0x19, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65,
+ 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x37,
+ 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61,
+ 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x04, 0x44, 0x49, 0x53,
+ 0x4b, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x1a, 0x0a,
+ 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52,
+ 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x64, 0x22, 0x46, 0x0a, 0x16, 0x43, 0x6f, 0x72,
+ 0x72, 0x75, 0x70, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6f,
+ 0x6b, 0x69, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69,
+ 0x65, 0x22, 0x56, 0x0a, 0x11, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65,
+ 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x41, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61,
+ 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0c, 0x73, 0x74, 0x6f,
+ 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0xc7, 0x02, 0x0a, 0x17, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49,
+ 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49,
+ 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72,
+ 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0e, 0x63,
+ 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x56, 0x0a,
+ 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63,
+ 0x6b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72,
+ 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x16, 0x63,
+ 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50,
+ 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x5c, 0x0a, 0x19, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79,
+ 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x19, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x22, 0xc7, 0x03, 0x0a, 0x11, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x0a, 0x01, 0x62, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x01, 0x62, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73,
+ 0x65, 0x74, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
+ 0x12, 0x32, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e,
+ 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x44, 0x61, 0x74,
+ 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04,
+ 0x6c, 0x6f, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x72, 0x72, 0x75, 0x70, 0x74, 0x18,
+ 0x04, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x63, 0x6f, 0x72, 0x72, 0x75, 0x70, 0x74, 0x12, 0x39,
+ 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x02,
+ 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
+ 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1e, 0x0a, 0x08, 0x69, 0x73, 0x43,
+ 0x61, 0x63, 0x68, 0x65, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x08, 0x42, 0x02, 0x10, 0x01, 0x52,
+ 0x08, 0x69, 0x73, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x12, 0x41, 0x0a, 0x0c, 0x73, 0x74, 0x6f,
+ 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0e, 0x32,
+ 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74,
+ 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0c,
+ 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a,
+ 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x44, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09,
+ 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x44, 0x73, 0x12, 0x22, 0x0a, 0x0c,
+ 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01,
+ 0x28, 0x0c, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73,
+ 0x12, 0x3b, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18,
+ 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x63,
+ 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x22, 0x72, 0x0a,
+ 0x16, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b,
+ 0x65, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b,
+ 0x73, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b,
+ 0x73, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x64, 0x65, 0x78,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x64, 0x65,
+ 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x18,
+ 0x03, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x41, 0x66, 0x74, 0x65,
+ 0x72, 0x22, 0xde, 0x01, 0x0a, 0x16, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x05,
+ 0x6b, 0x65, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x05, 0x6b, 0x65, 0x79,
+ 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x49,
+ 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f,
+ 0x6f, 0x6c, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20,
+ 0x02, 0x28, 0x0c, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x6e,
+ 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x02, 0x28,
+ 0x0c, 0x52, 0x0d, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79,
+ 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x44, 0x61, 0x74, 0x65, 0x18, 0x05,
+ 0x20, 0x02, 0x28, 0x04, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x44, 0x61, 0x74, 0x65,
+ 0x12, 0x30, 0x0a, 0x13, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c,
+ 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x65,
+ 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74,
+ 0x68, 0x6d, 0x22, 0x95, 0x02, 0x0a, 0x17, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x33,
+ 0x0a, 0x05, 0x73, 0x75, 0x69, 0x74, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x1d, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x69, 0x70, 0x68,
+ 0x65, 0x72, 0x53, 0x75, 0x69, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x73, 0x75,
+ 0x69, 0x74, 0x65, 0x12, 0x5d, 0x0a, 0x15, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56,
+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x15, 0x63, 0x72, 0x79,
+ 0x70, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69,
+ 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0c, 0x52,
+ 0x03, 0x6b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x76, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0c,
+ 0x52, 0x02, 0x69, 0x76, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18,
+ 0x05, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2a,
+ 0x0a, 0x10, 0x65, 0x7a, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61,
+ 0x6d, 0x65, 0x18, 0x06, 0x20, 0x02, 0x28, 0x09, 0x52, 0x10, 0x65, 0x7a, 0x4b, 0x65, 0x79, 0x56,
+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6a, 0x0a, 0x1a, 0x50, 0x65,
+ 0x72, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49,
+ 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x76,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x76, 0x12, 0x2a, 0x0a, 0x10, 0x65, 0x7a,
+ 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x10, 0x65, 0x7a, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69,
+ 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x99, 0x02, 0x0a, 0x17, 0x5a, 0x6f, 0x6e, 0x65, 0x45,
+ 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x33, 0x0a, 0x05, 0x73, 0x75, 0x69, 0x74, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x0e, 0x32, 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x53, 0x75, 0x69, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x05, 0x73, 0x75, 0x69, 0x74, 0x65, 0x12, 0x5d, 0x0a, 0x15, 0x63, 0x72, 0x79, 0x70, 0x74,
+ 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x15, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56,
+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d,
+ 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65,
+ 0x12, 0x50, 0x0a, 0x11, 0x72, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72,
+ 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x11, 0x72, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x22, 0x95, 0x02, 0x0a, 0x15, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74,
+ 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 0x0a, 0x10,
+ 0x65, 0x7a, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x10, 0x65, 0x7a, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x6d,
+ 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04,
+ 0x52, 0x0e, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65,
+ 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x02,
+ 0x28, 0x08, 0x52, 0x08, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e,
+ 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x04,
+ 0x20, 0x02, 0x28, 0x03, 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x65, 0x6e, 0x63, 0x72, 0x79,
+ 0x70, 0x74, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x46, 0x61, 0x69, 0x6c, 0x75,
+ 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x02, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x46, 0x61,
+ 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65,
+ 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e,
+ 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a,
+ 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x11, 0x43,
+ 0x69, 0x70, 0x68, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x33, 0x0a, 0x05, 0x73, 0x75, 0x69, 0x74, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32,
+ 0x1d, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x43, 0x69,
+ 0x70, 0x68, 0x65, 0x72, 0x53, 0x75, 0x69, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05,
+ 0x73, 0x75, 0x69, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x4b, 0x65, 0x79, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x69, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x69,
+ 0x6e, 0x49, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x69, 0x6e, 0x49, 0x76, 0x12,
+ 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x4b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52,
+ 0x06, 0x6f, 0x75, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x75, 0x74, 0x49, 0x76,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x6f, 0x75, 0x74, 0x49, 0x76, 0x22, 0xa3, 0x03,
+ 0x0a, 0x12, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x4c, 0x65, 0x6e, 0x67,
+ 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x4c, 0x65,
+ 0x6e, 0x67, 0x74, 0x68, 0x12, 0x36, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x2c, 0x0a, 0x11,
+ 0x75, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x18, 0x03, 0x20, 0x02, 0x28, 0x08, 0x52, 0x11, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f,
+ 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x09, 0x6c, 0x61,
+ 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4c, 0x6f, 0x63, 0x61,
+ 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x6c,
+ 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x30, 0x0a, 0x13, 0x69, 0x73, 0x4c, 0x61,
+ 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18,
+ 0x05, 0x20, 0x02, 0x28, 0x08, 0x52, 0x13, 0x69, 0x73, 0x4c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x54, 0x0a, 0x12, 0x66, 0x69,
+ 0x6c, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f,
+ 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74,
+ 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x12, 0x66, 0x69,
+ 0x6c, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f,
+ 0x12, 0x41, 0x0a, 0x08, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65, 0x63, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x22, 0x42, 0x0a, 0x18, 0x45, 0x43, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4f,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
+ 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x0d, 0x45, 0x43, 0x53, 0x63,
+ 0x68, 0x65, 0x6d, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x64,
+ 0x65, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f,
+ 0x64, 0x65, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x55,
+ 0x6e, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61,
+ 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x69, 0x74, 0x79, 0x55,
+ 0x6e, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x69,
+ 0x74, 0x79, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x43, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4f,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd4, 0x01, 0x0a, 0x18, 0x45, 0x72, 0x61,
+ 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x63, 0x68,
+ 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x43, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1a, 0x0a,
+ 0x08, 0x63, 0x65, 0x6c, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52,
+ 0x08, 0x63, 0x65, 0x6c, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
+ 0x04, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x44, 0x0a, 0x05, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f,
+ 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x3a,
+ 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22,
+ 0x9a, 0x01, 0x0a, 0x23, 0x41, 0x64, 0x64, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f,
+ 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63,
+ 0x79, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64,
+ 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06,
+ 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65,
+ 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64,
+ 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x67, 0x0a, 0x1d,
+ 0x45, 0x43, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69,
+ 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x0a,
+ 0x0d, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4d, 0x65, 0x73, 0x73,
+ 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
+ 0x65, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x75, 0x70, 0x70,
+ 0x6f, 0x72, 0x74, 0x65, 0x64, 0x22, 0x59, 0x0a, 0x13, 0x48, 0x64, 0x66, 0x73, 0x50, 0x61, 0x74,
+ 0x68, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07,
+ 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x69,
+ 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
+ 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68,
+ 0x22, 0x84, 0x07, 0x0a, 0x13, 0x48, 0x64, 0x66, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x45, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65,
+ 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x48, 0x64, 0x66, 0x73, 0x46, 0x69, 0x6c,
+ 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c,
+ 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
+ 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x04, 0x70,
+ 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20,
+ 0x02, 0x28, 0x04, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x3e, 0x0a, 0x0a, 0x70,
+ 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0b, 0x32,
+ 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73,
+ 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6f,
+ 0x77, 0x6e, 0x65, 0x72, 0x18, 0x05, 0x20, 0x02, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65,
+ 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x06, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66,
+ 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x02,
+ 0x28, 0x04, 0x52, 0x10, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74,
+ 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73,
+ 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b,
+ 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x12,
+ 0x2e, 0x0a, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x3a, 0x01, 0x30, 0x52, 0x10, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
+ 0x1f, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0b, 0x20, 0x01,
+ 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x69, 0x7a, 0x65,
+ 0x12, 0x3d, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
+ 0x19, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x3a,
+ 0x01, 0x30, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0b, 0x63, 0x68,
+ 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x3a,
+ 0x02, 0x2d, 0x31, 0x52, 0x0b, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x4e, 0x75, 0x6d,
+ 0x12, 0x54, 0x0a, 0x12, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x45,
+ 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x12, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x27, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, 0x3a, 0x01, 0x30,
+ 0x52, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12,
+ 0x41, 0x0a, 0x08, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x11, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x25, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c,
+ 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65, 0x63, 0x50, 0x6f, 0x6c, 0x69,
+ 0x63, 0x79, 0x12, 0x17, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28,
+ 0x0d, 0x3a, 0x01, 0x30, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x33, 0x0a, 0x08, 0x46,
+ 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x49, 0x53, 0x5f, 0x44, 0x49,
+ 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x53, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x02,
+ 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x53, 0x5f, 0x53, 0x59, 0x4d, 0x4c, 0x49, 0x4e, 0x4b, 0x10, 0x03,
+ 0x22, 0x45, 0x0a, 0x05, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x48, 0x41, 0x53,
+ 0x5f, 0x41, 0x43, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x48, 0x41, 0x53, 0x5f, 0x43, 0x52,
+ 0x59, 0x50, 0x54, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x48, 0x41, 0x53, 0x5f, 0x45, 0x43, 0x10,
+ 0x04, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x5f, 0x45, 0x4e,
+ 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x22, 0x9a, 0x01, 0x0a, 0x19, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x59, 0x0a, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68,
+ 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
+ 0x32, 0x23, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x06, 0x4d, 0x44, 0x35, 0x43, 0x52, 0x43, 0x52, 0x11, 0x62,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x70, 0x65, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x70, 0x65, 0x4c, 0x65,
+ 0x6e, 0x67, 0x74, 0x68, 0x22, 0xd2, 0x03, 0x0a, 0x15, 0x46, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65,
+ 0x72, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c,
+ 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28,
+ 0x04, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2a, 0x0a, 0x10,
+ 0x62, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d,
+ 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x10, 0x62, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65, 0x72,
+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x28, 0x0a, 0x0f, 0x77, 0x72, 0x69, 0x74,
+ 0x65, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28,
+ 0x0d, 0x52, 0x0f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x69,
+ 0x7a, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x75, 0x66, 0x66,
+ 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0e, 0x66, 0x69,
+ 0x6c, 0x65, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x37, 0x0a, 0x13,
+ 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x44, 0x61, 0x74, 0x61, 0x54, 0x72, 0x61, 0x6e, 0x73,
+ 0x66, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65,
+ 0x52, 0x13, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x44, 0x61, 0x74, 0x61, 0x54, 0x72, 0x61,
+ 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x73, 0x68, 0x49, 0x6e,
+ 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52,
+ 0x0d, 0x74, 0x72, 0x61, 0x73, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x52,
+ 0x0a, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08,
+ 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x0e, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x53, 0x55, 0x4d, 0x5f, 0x43,
+ 0x52, 0x43, 0x33, 0x32, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x54, 0x79,
+ 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x6b, 0x65, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
+ 0x72, 0x55, 0x72, 0x69, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x50,
+ 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x55, 0x72, 0x69, 0x12, 0x1d, 0x0a, 0x08, 0x70, 0x6f,
+ 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x3a, 0x01, 0x30, 0x52,
+ 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x8d, 0x01, 0x0a, 0x15, 0x44, 0x69,
+ 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x48, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x4c, 0x69,
+ 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x48, 0x64, 0x66, 0x73, 0x46, 0x69,
+ 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0e, 0x70,
+ 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a,
+ 0x10, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65,
+ 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69,
+ 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x14, 0x52, 0x65, 0x6d,
+ 0x6f, 0x74, 0x65, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12,
+ 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x1c, 0x42, 0x61,
+ 0x74, 0x63, 0x68, 0x65, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69,
+ 0x73, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x48, 0x0a, 0x0e, 0x70, 0x61,
+ 0x72, 0x74, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x48, 0x64, 0x66, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x73,
+ 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64,
+ 0x78, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49,
+ 0x64, 0x78, 0x12, 0x3f, 0x0a, 0x09, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74,
+ 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74,
+ 0x69, 0x6f, 0x6e, 0x22, 0xdc, 0x01, 0x0a, 0x21, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
+ 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x74,
+ 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3e, 0x0a, 0x09, 0x64, 0x69, 0x72,
+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x48, 0x64, 0x66, 0x73, 0x46,
+ 0x69, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09,
+ 0x64, 0x69, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x6e, 0x61,
+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x02, 0x20, 0x02, 0x28,
+ 0x0d, 0x52, 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61,
+ 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x6e, 0x75, 0x6d,
+ 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x6e, 0x61, 0x70, 0x73,
+ 0x68, 0x6f, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x02,
+ 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x70, 0x61,
+ 0x74, 0x68, 0x22, 0x8e, 0x01, 0x0a, 0x22, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x74,
+ 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x73,
+ 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x68, 0x0a, 0x17, 0x73, 0x6e, 0x61,
+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x4c, 0x69, 0x73,
+ 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
+ 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53,
+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x17, 0x73, 0x6e, 0x61, 0x70,
+ 0x73, 0x68, 0x6f, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74,
+ 0x69, 0x6e, 0x67, 0x22, 0x88, 0x01, 0x0a, 0x1c, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
+ 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x70, 0x61, 0x74, 0x68,
+ 0x18, 0x01, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x70, 0x61, 0x74, 0x68,
+ 0x12, 0x2c, 0x0a, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x11, 0x6d, 0x6f, 0x64,
+ 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1e,
+ 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0xda,
+ 0x01, 0x0a, 0x17, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52,
+ 0x65, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6e,
+ 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x22,
+ 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x02,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
+ 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x12, 0x57, 0x0a, 0x11, 0x64, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
+ 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x6e, 0x61, 0x70,
+ 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e,
+ 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x11, 0x64, 0x69, 0x66, 0x66, 0x52, 0x65,
+ 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xb1, 0x01, 0x0a, 0x23,
+ 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f,
+ 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x70, 0x61, 0x74, 0x68, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x70, 0x61, 0x74, 0x68, 0x12,
+ 0x14, 0x0a, 0x05, 0x64, 0x69, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05,
+ 0x64, 0x69, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x52, 0x65, 0x66, 0x65, 0x72,
+ 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x52, 0x65,
+ 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65,
+ 0x74, 0x50, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x61, 0x72,
+ 0x67, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49,
+ 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x22,
+ 0x57, 0x0a, 0x1d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52,
+ 0x65, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18,
+ 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x02, 0x28, 0x05, 0x3a, 0x02, 0x2d,
+ 0x31, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x9a, 0x03, 0x0a, 0x1e, 0x53, 0x6e, 0x61,
+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c,
+ 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x5a, 0x0a, 0x0f, 0x6d,
+ 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52,
+ 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72,
+ 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64,
+ 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74,
+ 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x6e,
+ 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
+ 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65,
+ 0x73, 0x12, 0x58, 0x0a, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
+ 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x68, 0x61, 0x64, 0x6f,
+ 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
+ 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x69, 0x6e,
+ 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0e, 0x64, 0x65, 0x6c,
+ 0x65, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x69,
+ 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x72, 0x18, 0x04, 0x20, 0x02,
+ 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x61, 0x72, 0x6c, 0x69, 0x65,
+ 0x72, 0x12, 0x42, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x2a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x70, 0x6f,
+ 0x72, 0x74, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x63,
+ 0x75, 0x72, 0x73, 0x6f, 0x72, 0x22, 0x61, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x04, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x1a, 0x0a,
+ 0x08, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52,
+ 0x08, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1d, 0x0a, 0x08, 0x6e, 0x75, 0x6d,
+ 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x08,
+ 0x6e, 0x75, 0x6d, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0xe7, 0x01, 0x0a, 0x11, 0x53, 0x6e, 0x61,
+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22,
+ 0x0a, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x4e, 0x61,
+ 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x6f,
+ 0x6f, 0x74, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68,
+ 0x6f, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x3e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73,
+ 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69,
+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d,
+ 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18,
+ 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05,
+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x02, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f,
+ 0x75, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
+ 0x18, 0x06, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,
+ 0x6d, 0x65, 0x22, 0x62, 0x0a, 0x19, 0x52, 0x6f, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x67,
+ 0x72, 0x61, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x49,
+ 0x64, 0x12, 0x23, 0x0a, 0x09, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x09, 0x66, 0x69, 0x6e,
+ 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x22, 0x37, 0x0a, 0x11, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
+ 0x65, 0x55, 0x75, 0x69, 0x64, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x73,
+ 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
+ 0x09, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x73, 0x22,
+ 0xe2, 0x02, 0x0a, 0x15, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x65,
+ 0x63, 0x72, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70,
+ 0x69, 0x72, 0x79, 0x44, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x65,
+ 0x78, 0x70, 0x69, 0x72, 0x79, 0x44, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6b, 0x65, 0x79,
+ 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12,
+ 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03,
+ 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61,
+ 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1d, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72,
+ 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0c, 0x73, 0x74,
+ 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74,
+ 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a,
+ 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x68, 0x61,
+ 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x09, 0x20,
+ 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x53, 0x65,
+ 0x63, 0x72, 0x65, 0x74, 0x2a, 0x4e, 0x0a, 0x10, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54,
+ 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x49, 0x53, 0x4b,
+ 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x53, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x41,
+ 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x41, 0x4d, 0x5f,
+ 0x44, 0x49, 0x53, 0x4b, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44,
+ 0x45, 0x44, 0x10, 0x05, 0x2a, 0x2d, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x79, 0x70,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x47,
+ 0x55, 0x4f, 0x55, 0x53, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x52, 0x49, 0x50, 0x45,
+ 0x44, 0x10, 0x01, 0x2a, 0x36, 0x0a, 0x10, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x53, 0x75, 0x69,
+ 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
+ 0x57, 0x4e, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x45, 0x53, 0x5f, 0x43, 0x54, 0x52, 0x5f,
+ 0x4e, 0x4f, 0x50, 0x41, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x2a, 0x50, 0x0a, 0x1a, 0x43,
+ 0x72, 0x79, 0x70, 0x74, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x4e, 0x4b,
+ 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x5f, 0x56, 0x45,
+ 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x4e, 0x43, 0x52, 0x59,
+ 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x5a, 0x4f, 0x4e, 0x45, 0x53, 0x10, 0x02, 0x2a, 0x42, 0x0a,
+ 0x18, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f,
+ 0x6c, 0x69, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53,
+ 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c,
+ 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10,
+ 0x03, 0x2a, 0x4f, 0x0a, 0x11, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x54, 0x79, 0x70,
+ 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x53,
+ 0x55, 0x4d, 0x5f, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x48, 0x45,
+ 0x43, 0x4b, 0x53, 0x55, 0x4d, 0x5f, 0x43, 0x52, 0x43, 0x33, 0x32, 0x10, 0x01, 0x12, 0x13, 0x0a,
+ 0x0f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x53, 0x55, 0x4d, 0x5f, 0x43, 0x52, 0x43, 0x33, 0x32, 0x43,
+ 0x10, 0x02, 0x2a, 0x37, 0x0a, 0x16, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b,
+ 0x73, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x0a, 0x06,
+ 0x4d, 0x44, 0x35, 0x43, 0x52, 0x43, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4f, 0x4d, 0x50,
+ 0x4f, 0x53, 0x49, 0x54, 0x45, 0x5f, 0x43, 0x52, 0x43, 0x10, 0x02, 0x2a, 0x3d, 0x0a, 0x0f, 0x41,
+ 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08,
+ 0x0a, 0x04, 0x52, 0x45, 0x41, 0x44, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x57, 0x52, 0x49, 0x54,
+ 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, 0x50, 0x59, 0x10, 0x03, 0x12, 0x0b, 0x0a,
+ 0x07, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x04, 0x42, 0x72, 0x0a, 0x25, 0x6f, 0x72,
+ 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x42, 0x0a, 0x48, 0x64, 0x66, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a,
+ 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69,
+ 0x6e, 0x6d, 0x61, 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e,
+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x5f, 0x68, 0x64, 0x66, 0x73, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_hdfs_proto_rawDescOnce sync.Once
+ file_hdfs_proto_rawDescData = file_hdfs_proto_rawDesc
+)
+
+func file_hdfs_proto_rawDescGZIP() []byte {
+ file_hdfs_proto_rawDescOnce.Do(func() {
+ file_hdfs_proto_rawDescData = protoimpl.X.CompressGZIP(file_hdfs_proto_rawDescData)
+ })
+ return file_hdfs_proto_rawDescData
+}
+
+var file_hdfs_proto_enumTypes = make([]protoimpl.EnumInfo, 12)
+var file_hdfs_proto_msgTypes = make([]protoimpl.MessageInfo, 49)
+var file_hdfs_proto_goTypes = []interface{}{
+ (StorageTypeProto)(0), // 0: hadoop.hdfs.StorageTypeProto
+ (BlockTypeProto)(0), // 1: hadoop.hdfs.BlockTypeProto
+ (CipherSuiteProto)(0), // 2: hadoop.hdfs.CipherSuiteProto
+ (CryptoProtocolVersionProto)(0), // 3: hadoop.hdfs.CryptoProtocolVersionProto
+ (ErasureCodingPolicyState)(0), // 4: hadoop.hdfs.ErasureCodingPolicyState
+ (ChecksumTypeProto)(0), // 5: hadoop.hdfs.ChecksumTypeProto
+ (BlockChecksumTypeProto)(0), // 6: hadoop.hdfs.BlockChecksumTypeProto
+ (AccessModeProto)(0), // 7: hadoop.hdfs.AccessModeProto
+ (DatanodeInfoProto_AdminState)(0), // 8: hadoop.hdfs.DatanodeInfoProto.AdminState
+ (DatanodeStorageProto_StorageState)(0), // 9: hadoop.hdfs.DatanodeStorageProto.StorageState
+ (HdfsFileStatusProto_FileType)(0), // 10: hadoop.hdfs.HdfsFileStatusProto.FileType
+ (HdfsFileStatusProto_Flags)(0), // 11: hadoop.hdfs.HdfsFileStatusProto.Flags
+ (*ExtendedBlockProto)(nil), // 12: hadoop.hdfs.ExtendedBlockProto
+ (*ProvidedStorageLocationProto)(nil), // 13: hadoop.hdfs.ProvidedStorageLocationProto
+ (*DatanodeIDProto)(nil), // 14: hadoop.hdfs.DatanodeIDProto
+ (*DatanodeLocalInfoProto)(nil), // 15: hadoop.hdfs.DatanodeLocalInfoProto
+ (*DatanodeVolumeInfoProto)(nil), // 16: hadoop.hdfs.DatanodeVolumeInfoProto
+ (*DatanodeInfosProto)(nil), // 17: hadoop.hdfs.DatanodeInfosProto
+ (*DatanodeInfoProto)(nil), // 18: hadoop.hdfs.DatanodeInfoProto
+ (*DatanodeStorageProto)(nil), // 19: hadoop.hdfs.DatanodeStorageProto
+ (*StorageReportProto)(nil), // 20: hadoop.hdfs.StorageReportProto
+ (*ContentSummaryProto)(nil), // 21: hadoop.hdfs.ContentSummaryProto
+ (*QuotaUsageProto)(nil), // 22: hadoop.hdfs.QuotaUsageProto
+ (*StorageTypeQuotaInfosProto)(nil), // 23: hadoop.hdfs.StorageTypeQuotaInfosProto
+ (*StorageTypeQuotaInfoProto)(nil), // 24: hadoop.hdfs.StorageTypeQuotaInfoProto
+ (*CorruptFileBlocksProto)(nil), // 25: hadoop.hdfs.CorruptFileBlocksProto
+ (*StorageTypesProto)(nil), // 26: hadoop.hdfs.StorageTypesProto
+ (*BlockStoragePolicyProto)(nil), // 27: hadoop.hdfs.BlockStoragePolicyProto
+ (*LocatedBlockProto)(nil), // 28: hadoop.hdfs.LocatedBlockProto
+ (*BatchedListingKeyProto)(nil), // 29: hadoop.hdfs.BatchedListingKeyProto
+ (*DataEncryptionKeyProto)(nil), // 30: hadoop.hdfs.DataEncryptionKeyProto
+ (*FileEncryptionInfoProto)(nil), // 31: hadoop.hdfs.FileEncryptionInfoProto
+ (*PerFileEncryptionInfoProto)(nil), // 32: hadoop.hdfs.PerFileEncryptionInfoProto
+ (*ZoneEncryptionInfoProto)(nil), // 33: hadoop.hdfs.ZoneEncryptionInfoProto
+ (*ReencryptionInfoProto)(nil), // 34: hadoop.hdfs.ReencryptionInfoProto
+ (*CipherOptionProto)(nil), // 35: hadoop.hdfs.CipherOptionProto
+ (*LocatedBlocksProto)(nil), // 36: hadoop.hdfs.LocatedBlocksProto
+ (*ECSchemaOptionEntryProto)(nil), // 37: hadoop.hdfs.ECSchemaOptionEntryProto
+ (*ECSchemaProto)(nil), // 38: hadoop.hdfs.ECSchemaProto
+ (*ErasureCodingPolicyProto)(nil), // 39: hadoop.hdfs.ErasureCodingPolicyProto
+ (*AddErasureCodingPolicyResponseProto)(nil), // 40: hadoop.hdfs.AddErasureCodingPolicyResponseProto
+ (*ECTopologyVerifierResultProto)(nil), // 41: hadoop.hdfs.ECTopologyVerifierResultProto
+ (*HdfsPathHandleProto)(nil), // 42: hadoop.hdfs.HdfsPathHandleProto
+ (*HdfsFileStatusProto)(nil), // 43: hadoop.hdfs.HdfsFileStatusProto
+ (*BlockChecksumOptionsProto)(nil), // 44: hadoop.hdfs.BlockChecksumOptionsProto
+ (*FsServerDefaultsProto)(nil), // 45: hadoop.hdfs.FsServerDefaultsProto
+ (*DirectoryListingProto)(nil), // 46: hadoop.hdfs.DirectoryListingProto
+ (*RemoteExceptionProto)(nil), // 47: hadoop.hdfs.RemoteExceptionProto
+ (*BatchedDirectoryListingProto)(nil), // 48: hadoop.hdfs.BatchedDirectoryListingProto
+ (*SnapshottableDirectoryStatusProto)(nil), // 49: hadoop.hdfs.SnapshottableDirectoryStatusProto
+ (*SnapshottableDirectoryListingProto)(nil), // 50: hadoop.hdfs.SnapshottableDirectoryListingProto
+ (*SnapshotDiffReportEntryProto)(nil), // 51: hadoop.hdfs.SnapshotDiffReportEntryProto
+ (*SnapshotDiffReportProto)(nil), // 52: hadoop.hdfs.SnapshotDiffReportProto
+ (*SnapshotDiffReportListingEntryProto)(nil), // 53: hadoop.hdfs.SnapshotDiffReportListingEntryProto
+ (*SnapshotDiffReportCursorProto)(nil), // 54: hadoop.hdfs.SnapshotDiffReportCursorProto
+ (*SnapshotDiffReportListingProto)(nil), // 55: hadoop.hdfs.SnapshotDiffReportListingProto
+ (*BlockProto)(nil), // 56: hadoop.hdfs.BlockProto
+ (*SnapshotInfoProto)(nil), // 57: hadoop.hdfs.SnapshotInfoProto
+ (*RollingUpgradeStatusProto)(nil), // 58: hadoop.hdfs.RollingUpgradeStatusProto
+ (*StorageUuidsProto)(nil), // 59: hadoop.hdfs.StorageUuidsProto
+ (*BlockTokenSecretProto)(nil), // 60: hadoop.hdfs.BlockTokenSecretProto
+ (*hadoop_common.TokenProto)(nil), // 61: hadoop.common.TokenProto
+ (*FsPermissionProto)(nil), // 62: hadoop.hdfs.FsPermissionProto
+}
+var file_hdfs_proto_depIdxs = []int32{
+ 0, // 0: hadoop.hdfs.DatanodeVolumeInfoProto.storageType:type_name -> hadoop.hdfs.StorageTypeProto
+ 18, // 1: hadoop.hdfs.DatanodeInfosProto.datanodes:type_name -> hadoop.hdfs.DatanodeInfoProto
+ 14, // 2: hadoop.hdfs.DatanodeInfoProto.id:type_name -> hadoop.hdfs.DatanodeIDProto
+ 8, // 3: hadoop.hdfs.DatanodeInfoProto.adminState:type_name -> hadoop.hdfs.DatanodeInfoProto.AdminState
+ 9, // 4: hadoop.hdfs.DatanodeStorageProto.state:type_name -> hadoop.hdfs.DatanodeStorageProto.StorageState
+ 0, // 5: hadoop.hdfs.DatanodeStorageProto.storageType:type_name -> hadoop.hdfs.StorageTypeProto
+ 19, // 6: hadoop.hdfs.StorageReportProto.storage:type_name -> hadoop.hdfs.DatanodeStorageProto
+ 23, // 7: hadoop.hdfs.ContentSummaryProto.typeQuotaInfos:type_name -> hadoop.hdfs.StorageTypeQuotaInfosProto
+ 23, // 8: hadoop.hdfs.QuotaUsageProto.typeQuotaInfos:type_name -> hadoop.hdfs.StorageTypeQuotaInfosProto
+ 24, // 9: hadoop.hdfs.StorageTypeQuotaInfosProto.typeQuotaInfo:type_name -> hadoop.hdfs.StorageTypeQuotaInfoProto
+ 0, // 10: hadoop.hdfs.StorageTypeQuotaInfoProto.type:type_name -> hadoop.hdfs.StorageTypeProto
+ 0, // 11: hadoop.hdfs.StorageTypesProto.storageTypes:type_name -> hadoop.hdfs.StorageTypeProto
+ 26, // 12: hadoop.hdfs.BlockStoragePolicyProto.creationPolicy:type_name -> hadoop.hdfs.StorageTypesProto
+ 26, // 13: hadoop.hdfs.BlockStoragePolicyProto.creationFallbackPolicy:type_name -> hadoop.hdfs.StorageTypesProto
+ 26, // 14: hadoop.hdfs.BlockStoragePolicyProto.replicationFallbackPolicy:type_name -> hadoop.hdfs.StorageTypesProto
+ 12, // 15: hadoop.hdfs.LocatedBlockProto.b:type_name -> hadoop.hdfs.ExtendedBlockProto
+ 18, // 16: hadoop.hdfs.LocatedBlockProto.locs:type_name -> hadoop.hdfs.DatanodeInfoProto
+ 61, // 17: hadoop.hdfs.LocatedBlockProto.blockToken:type_name -> hadoop.common.TokenProto
+ 0, // 18: hadoop.hdfs.LocatedBlockProto.storageTypes:type_name -> hadoop.hdfs.StorageTypeProto
+ 61, // 19: hadoop.hdfs.LocatedBlockProto.blockTokens:type_name -> hadoop.common.TokenProto
+ 2, // 20: hadoop.hdfs.FileEncryptionInfoProto.suite:type_name -> hadoop.hdfs.CipherSuiteProto
+ 3, // 21: hadoop.hdfs.FileEncryptionInfoProto.cryptoProtocolVersion:type_name -> hadoop.hdfs.CryptoProtocolVersionProto
+ 2, // 22: hadoop.hdfs.ZoneEncryptionInfoProto.suite:type_name -> hadoop.hdfs.CipherSuiteProto
+ 3, // 23: hadoop.hdfs.ZoneEncryptionInfoProto.cryptoProtocolVersion:type_name -> hadoop.hdfs.CryptoProtocolVersionProto
+ 34, // 24: hadoop.hdfs.ZoneEncryptionInfoProto.reencryptionProto:type_name -> hadoop.hdfs.ReencryptionInfoProto
+ 2, // 25: hadoop.hdfs.CipherOptionProto.suite:type_name -> hadoop.hdfs.CipherSuiteProto
+ 28, // 26: hadoop.hdfs.LocatedBlocksProto.blocks:type_name -> hadoop.hdfs.LocatedBlockProto
+ 28, // 27: hadoop.hdfs.LocatedBlocksProto.lastBlock:type_name -> hadoop.hdfs.LocatedBlockProto
+ 31, // 28: hadoop.hdfs.LocatedBlocksProto.fileEncryptionInfo:type_name -> hadoop.hdfs.FileEncryptionInfoProto
+ 39, // 29: hadoop.hdfs.LocatedBlocksProto.ecPolicy:type_name -> hadoop.hdfs.ErasureCodingPolicyProto
+ 37, // 30: hadoop.hdfs.ECSchemaProto.options:type_name -> hadoop.hdfs.ECSchemaOptionEntryProto
+ 38, // 31: hadoop.hdfs.ErasureCodingPolicyProto.schema:type_name -> hadoop.hdfs.ECSchemaProto
+ 4, // 32: hadoop.hdfs.ErasureCodingPolicyProto.state:type_name -> hadoop.hdfs.ErasureCodingPolicyState
+ 39, // 33: hadoop.hdfs.AddErasureCodingPolicyResponseProto.policy:type_name -> hadoop.hdfs.ErasureCodingPolicyProto
+ 10, // 34: hadoop.hdfs.HdfsFileStatusProto.fileType:type_name -> hadoop.hdfs.HdfsFileStatusProto.FileType
+ 62, // 35: hadoop.hdfs.HdfsFileStatusProto.permission:type_name -> hadoop.hdfs.FsPermissionProto
+ 36, // 36: hadoop.hdfs.HdfsFileStatusProto.locations:type_name -> hadoop.hdfs.LocatedBlocksProto
+ 31, // 37: hadoop.hdfs.HdfsFileStatusProto.fileEncryptionInfo:type_name -> hadoop.hdfs.FileEncryptionInfoProto
+ 39, // 38: hadoop.hdfs.HdfsFileStatusProto.ecPolicy:type_name -> hadoop.hdfs.ErasureCodingPolicyProto
+ 6, // 39: hadoop.hdfs.BlockChecksumOptionsProto.blockChecksumType:type_name -> hadoop.hdfs.BlockChecksumTypeProto
+ 5, // 40: hadoop.hdfs.FsServerDefaultsProto.checksumType:type_name -> hadoop.hdfs.ChecksumTypeProto
+ 43, // 41: hadoop.hdfs.DirectoryListingProto.partialListing:type_name -> hadoop.hdfs.HdfsFileStatusProto
+ 43, // 42: hadoop.hdfs.BatchedDirectoryListingProto.partialListing:type_name -> hadoop.hdfs.HdfsFileStatusProto
+ 47, // 43: hadoop.hdfs.BatchedDirectoryListingProto.exception:type_name -> hadoop.hdfs.RemoteExceptionProto
+ 43, // 44: hadoop.hdfs.SnapshottableDirectoryStatusProto.dirStatus:type_name -> hadoop.hdfs.HdfsFileStatusProto
+ 49, // 45: hadoop.hdfs.SnapshottableDirectoryListingProto.snapshottableDirListing:type_name -> hadoop.hdfs.SnapshottableDirectoryStatusProto
+ 51, // 46: hadoop.hdfs.SnapshotDiffReportProto.diffReportEntries:type_name -> hadoop.hdfs.SnapshotDiffReportEntryProto
+ 53, // 47: hadoop.hdfs.SnapshotDiffReportListingProto.modifiedEntries:type_name -> hadoop.hdfs.SnapshotDiffReportListingEntryProto
+ 53, // 48: hadoop.hdfs.SnapshotDiffReportListingProto.createdEntries:type_name -> hadoop.hdfs.SnapshotDiffReportListingEntryProto
+ 53, // 49: hadoop.hdfs.SnapshotDiffReportListingProto.deletedEntries:type_name -> hadoop.hdfs.SnapshotDiffReportListingEntryProto
+ 54, // 50: hadoop.hdfs.SnapshotDiffReportListingProto.cursor:type_name -> hadoop.hdfs.SnapshotDiffReportCursorProto
+ 62, // 51: hadoop.hdfs.SnapshotInfoProto.permission:type_name -> hadoop.hdfs.FsPermissionProto
+ 7, // 52: hadoop.hdfs.BlockTokenSecretProto.modes:type_name -> hadoop.hdfs.AccessModeProto
+ 0, // 53: hadoop.hdfs.BlockTokenSecretProto.storageTypes:type_name -> hadoop.hdfs.StorageTypeProto
+ 54, // [54:54] is the sub-list for method output_type
+ 54, // [54:54] is the sub-list for method input_type
+ 54, // [54:54] is the sub-list for extension type_name
+ 54, // [54:54] is the sub-list for extension extendee
+ 0, // [0:54] is the sub-list for field type_name
+}
+
+func init() { file_hdfs_proto_init() }
+func file_hdfs_proto_init() {
+ if File_hdfs_proto != nil {
+ return
+ }
+ file_acl_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_hdfs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ExtendedBlockProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ProvidedStorageLocationProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DatanodeIDProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DatanodeLocalInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DatanodeVolumeInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DatanodeInfosProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DatanodeInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DatanodeStorageProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StorageReportProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ContentSummaryProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*QuotaUsageProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StorageTypeQuotaInfosProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StorageTypeQuotaInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CorruptFileBlocksProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StorageTypesProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BlockStoragePolicyProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*LocatedBlockProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BatchedListingKeyProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DataEncryptionKeyProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FileEncryptionInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PerFileEncryptionInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ZoneEncryptionInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ReencryptionInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CipherOptionProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*LocatedBlocksProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ECSchemaOptionEntryProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ECSchemaProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ErasureCodingPolicyProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AddErasureCodingPolicyResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ECTopologyVerifierResultProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*HdfsPathHandleProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*HdfsFileStatusProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BlockChecksumOptionsProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FsServerDefaultsProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DirectoryListingProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoteExceptionProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BatchedDirectoryListingProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SnapshottableDirectoryStatusProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SnapshottableDirectoryListingProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SnapshotDiffReportEntryProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SnapshotDiffReportProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SnapshotDiffReportListingEntryProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SnapshotDiffReportCursorProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SnapshotDiffReportListingProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BlockProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SnapshotInfoProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RollingUpgradeStatusProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StorageUuidsProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_hdfs_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*BlockTokenSecretProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_hdfs_proto_rawDesc,
+ NumEnums: 12,
+ NumMessages: 49,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_hdfs_proto_goTypes,
+ DependencyIndexes: file_hdfs_proto_depIdxs,
+ EnumInfos: file_hdfs_proto_enumTypes,
+ MessageInfos: file_hdfs_proto_msgTypes,
+ }.Build()
+ File_hdfs_proto = out.File
+ file_hdfs_proto_rawDesc = nil
+ file_hdfs_proto_goTypes = nil
+ file_hdfs_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_hdfs/hdfs.proto b/internal/protocol/hadoop_hdfs/hdfs.proto
index 0db8a3f..6cfd510 100644
--- a/internal/protocol/hadoop_hdfs/hdfs.proto
+++ b/internal/protocol/hadoop_hdfs/hdfs.proto
@@ -21,7 +21,7 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax="proto2";
// This file contains protocol buffers that are used throughout HDFS -- i.e.
// by the client, server, and data transfer protocols.
@@ -29,21 +29,37 @@
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
option java_outer_classname = "HdfsProtos";
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
package hadoop.hdfs;
import "Security.proto";
+import "acl.proto";
/**
* Extended block idenfies a block
*/
message ExtendedBlockProto {
- required string poolId = 1; // Block pool id - gloablly unique across clusters
+ required string poolId = 1; // Block pool id - globally unique across clusters
required uint64 blockId = 2; // the local id within a pool
required uint64 generationStamp = 3;
optional uint64 numBytes = 4 [default = 0]; // len does not belong in ebid
// here for historical reasons
}
+
+/**
+* ProvidedStorageLocation will contain the exact location in the provided
+ storage. The path, offset and length will result in ranged read. The nonce
+ is there to verify that you receive what you expect.
+*/
+
+message ProvidedStorageLocationProto {
+ required string path = 1;
+ required int64 offset = 2;
+ required int64 length = 3;
+ required bytes nonce = 4;
+}
+
/**
* Identifies a Datanode
*/
@@ -70,6 +86,19 @@ message DatanodeLocalInfoProto {
}
/**
+ * Datanode volume information
+ */
+message DatanodeVolumeInfoProto {
+ required string path = 1;
+ required StorageTypeProto storageType = 2;
+ required uint64 usedSpace = 3;
+ required uint64 freeSpace = 4;
+ required uint64 reservedSpace = 5;
+ required uint64 reservedSpaceForReplicas = 6;
+ required uint64 numBlocks = 7;
+}
+
+/**
* DatanodeInfo array
*/
message DatanodeInfosProto {
@@ -88,10 +117,13 @@ message DatanodeInfoProto {
optional uint64 lastUpdate = 6 [default = 0];
optional uint32 xceiverCount = 7 [default = 0];
optional string location = 8;
+ optional uint64 nonDfsUsed = 9;
enum AdminState {
NORMAL = 0;
DECOMMISSION_INPROGRESS = 1;
DECOMMISSIONED = 2;
+ ENTERING_MAINTENANCE = 3;
+ IN_MAINTENANCE = 4;
}
optional AdminState adminState = 10 [default = NORMAL];
@@ -99,6 +131,9 @@ message DatanodeInfoProto {
optional uint64 cacheUsed = 12 [default = 0];
optional uint64 lastUpdateMonotonic = 13 [default = 0];
optional string upgradeDomain = 14;
+ optional uint64 lastBlockReportTime = 15 [default = 0];
+ optional uint64 lastBlockReportMonotonic = 16 [default = 0];
+ optional uint32 numBlocks = 17 [default = 0];
}
/**
@@ -123,6 +158,7 @@ message StorageReportProto {
optional uint64 remaining = 5 [ default = 0 ];
optional uint64 blockPoolUsed = 6 [ default = 0 ];
optional DatanodeStorageProto storage = 7; // supersedes StorageUuid
+ optional uint64 nonDfsUsed = 8;
}
/**
@@ -136,6 +172,11 @@ message ContentSummaryProto {
required uint64 spaceConsumed = 5;
required uint64 spaceQuota = 6;
optional StorageTypeQuotaInfosProto typeQuotaInfos = 7;
+ optional uint64 snapshotLength = 8;
+ optional uint64 snapshotFileCount = 9;
+ optional uint64 snapshotDirectoryCount = 10;
+ optional uint64 snapshotSpaceConsumed = 11;
+ optional string erasureCodingPolicy = 12;
}
/**
@@ -157,7 +198,7 @@ message StorageTypeQuotaInfosProto {
}
message StorageTypeQuotaInfoProto {
- required StorageTypeProto type = 1;
+ optional StorageTypeProto type = 1 [default = DISK];
required uint64 quota = 2;
required uint64 consumed = 3;
}
@@ -173,13 +214,6 @@ message CorruptFileBlocksProto {
}
/**
- * File or Directory permision - same spec as posix
- */
-message FsPermissionProto {
- required uint32 perm = 1; // Actually a short - only 16bits used
-}
-
-/**
* Types of recognized storage media.
*/
enum StorageTypeProto {
@@ -187,6 +221,15 @@ enum StorageTypeProto {
SSD = 2;
ARCHIVE = 3;
RAM_DISK = 4;
+ PROVIDED = 5;
+}
+
+/**
+ * Types of recognized blocks.
+ */
+enum BlockTypeProto {
+ CONTIGUOUS = 0;
+ STRIPED = 1;
}
/**
@@ -232,6 +275,12 @@ message LocatedBlockProto {
repeated hadoop.common.TokenProto blockTokens = 10; // each internal block has a block token
}
+message BatchedListingKeyProto {
+ required bytes checksum = 1;
+ required uint32 pathIndex = 2;
+ required bytes startAfter = 3;
+}
+
message DataEncryptionKeyProto {
required uint32 keyId = 1;
required string blockPoolId = 2;
@@ -287,6 +336,20 @@ message ZoneEncryptionInfoProto {
required CipherSuiteProto suite = 1;
required CryptoProtocolVersionProto cryptoProtocolVersion = 2;
required string keyName = 3;
+ optional ReencryptionInfoProto reencryptionProto = 4;
+}
+
+/**
+ * Re-encryption information for an encryption zone
+ */
+message ReencryptionInfoProto {
+ required string ezKeyVersionName = 1;
+ required uint64 submissionTime = 2;
+ required bool canceled = 3;
+ required int64 numReencrypted = 4;
+ required int64 numFailures = 5;
+ optional uint64 completionTime = 6;
+ optional string lastFile = 7;
}
/**
@@ -333,11 +396,41 @@ message ECSchemaProto {
repeated ECSchemaOptionEntryProto options = 4;
}
+/**
+ * EC policy state.
+ */
+enum ErasureCodingPolicyState {
+ DISABLED = 1;
+ ENABLED = 2;
+ REMOVED = 3;
+}
+
message ErasureCodingPolicyProto {
- required string name = 1;
- required ECSchemaProto schema = 2;
- required uint32 cellSize = 3;
+ optional string name = 1;
+ optional ECSchemaProto schema = 2;
+ optional uint32 cellSize = 3;
required uint32 id = 4; // Actually a byte - only 8 bits used
+ optional ErasureCodingPolicyState state = 5 [default = ENABLED];
+}
+
+message AddErasureCodingPolicyResponseProto {
+ required ErasureCodingPolicyProto policy = 1;
+ required bool succeed = 2;
+ optional string errorMsg = 3;
+}
+
+message ECTopologyVerifierResultProto {
+ required string resultMessage = 1;
+ required bool isSupported = 2;
+}
+
+/**
+ * Placeholder type for consistent HDFS operations.
+ */
+message HdfsPathHandleProto {
+ optional uint64 inodeId = 1;
+ optional uint64 mtime = 2;
+ optional string path = 3;
}
/**
@@ -350,6 +443,12 @@ message HdfsFileStatusProto {
IS_FILE = 2;
IS_SYMLINK = 3;
}
+ enum Flags {
+ HAS_ACL = 0x01; // has ACLs
+ HAS_CRYPT = 0x02; // encrypted
+ HAS_EC = 0x04; // erasure coded
+ SNAPSHOT_ENABLED = 0x08; // SNAPSHOT ENABLED
+ }
required FileType fileType = 1;
required bytes path = 2; // local name of inode encoded java UTF8
required uint64 length = 3;
@@ -377,6 +476,9 @@ message HdfsFileStatusProto {
// Optional field for erasure coding
optional ErasureCodingPolicyProto ecPolicy = 17;
+
+ // Set of flags
+ optional uint32 flags = 18 [default = 0];
}
/**
@@ -390,6 +492,27 @@ enum ChecksumTypeProto {
CHECKSUM_CRC32C = 2;
}
+enum BlockChecksumTypeProto {
+ MD5CRC = 1; // BlockChecksum obtained by taking the MD5 digest of chunk CRCs
+ COMPOSITE_CRC = 2; // Chunk-independent CRC, optionally striped
+}
+
+/**
+ * Algorithms/types denoting how block-level checksums are computed using
+ * lower-level chunk checksums/CRCs.
+ * These options should be kept in sync with
+ * org.apache.hadoop.hdfs.protocol.BlockChecksumOptions.
+ */
+message BlockChecksumOptionsProto {
+ optional BlockChecksumTypeProto blockChecksumType = 1 [default = MD5CRC];
+
+ // Only used if blockChecksumType specifies a striped format, such as
+ // COMPOSITE_CRC. If so, then the blockChecksum in the response is expected
+ // to be the concatenation of N crcs, where
+ // N == ((requestedLength - 1) / stripedLength) + 1
+ optional uint64 stripeLength = 2;
+}
+
/**
* HDFS Server Defaults
*/
@@ -402,6 +525,8 @@ message FsServerDefaultsProto {
optional bool encryptDataTransfer = 6 [default = false];
optional uint64 trashInterval = 7 [default = 0];
optional ChecksumTypeProto checksumType = 8 [default = CHECKSUM_CRC32];
+ optional string keyProviderUri = 9;
+ optional uint32 policyId = 10 [default = 0];
}
@@ -413,6 +538,18 @@ message DirectoryListingProto {
required uint32 remainingEntries = 2;
}
+message RemoteExceptionProto {
+ required string className = 1;
+ optional string message = 2;
+}
+
+// Directory listing result for a batched listing call.
+message BatchedDirectoryListingProto {
+ repeated HdfsFileStatusProto partialListing = 1;
+ required uint32 parentIdx = 2;
+ optional RemoteExceptionProto exception = 3;
+}
+
/**
* Status of a snapshottable directory: besides the normal information for
* a directory status, also include snapshot quota, number of snapshots, and
@@ -455,6 +592,32 @@ message SnapshotDiffReportProto {
}
/**
+ * Snapshot diff report listing entry
+ */
+message SnapshotDiffReportListingEntryProto {
+ required bytes fullpath = 1;
+ required uint64 dirId = 2;
+ required bool isReference = 3;
+ optional bytes targetPath = 4;
+ optional uint64 fileId = 5;
+}
+
+message SnapshotDiffReportCursorProto {
+ required bytes startPath = 1;
+ required int32 index = 2 [default = -1];
+}
+/**
+ * Snapshot diff report listing
+ */
+message SnapshotDiffReportListingProto {
+ // full path of the directory where snapshots were taken
+ repeated SnapshotDiffReportListingEntryProto modifiedEntries = 1;
+ repeated SnapshotDiffReportListingEntryProto createdEntries = 2;
+ repeated SnapshotDiffReportListingEntryProto deletedEntries = 3;
+ required bool isFromEarlier = 4;
+ optional SnapshotDiffReportCursorProto cursor = 5;
+}
+/**
* Block information
*
* Please be wary of adding additional fields here, since INodeFiles
@@ -498,3 +661,39 @@ message RollingUpgradeStatusProto {
message StorageUuidsProto {
repeated string storageUuids = 1;
}
+
+/**
+ * File access permissions mode.
+ */
+enum AccessModeProto {
+ READ = 1;
+ WRITE = 2;
+ COPY = 3;
+ REPLACE = 4;
+}
+
+/**
+ * Secret information for the BlockKeyProto. This is not sent on the wire as
+ * such but is used to pack a byte array and encrypted and put in
+ * BlockKeyProto.bytes
+ * When adding further fields, make sure they are optional as they would
+ * otherwise not be backwards compatible.
+ *
+ * Note: As part of the migration from WritableUtils based tokens (aka "legacy")
+ * to Protocol Buffers, we use the first byte to determine the type. If the
+ * first byte is <=0 then it is a legacy token. This means that when using
+ * protobuf tokens, the the first field sent must have a `field_number` less
+ * than 16 to make sure that the first byte is positive. Otherwise it could be
+ * parsed as a legacy token. See HDFS-11026 for more discussion.
+ */
+message BlockTokenSecretProto {
+ optional uint64 expiryDate = 1;
+ optional uint32 keyId = 2;
+ optional string userId = 3;
+ optional string blockPoolId = 4;
+ optional uint64 blockId = 5;
+ repeated AccessModeProto modes = 6;
+ repeated StorageTypeProto storageTypes = 7;
+ repeated string storageIds = 8;
+ optional bytes handshakeSecret = 9;
+}
diff --git a/internal/protocol/hadoop_hdfs/inotify.pb.go b/internal/protocol/hadoop_hdfs/inotify.pb.go
index bc597e5..6e4be81 100644
--- a/internal/protocol/hadoop_hdfs/inotify.pb.go
+++ b/internal/protocol/hadoop_hdfs/inotify.pb.go
@@ -1,16 +1,46 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//*
+// These .proto interfaces are private and stable.
+// Please see http://wiki.apache.org/hadoop/Compatibility
+// for what changes are allowed for a *stable* .proto interface.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: inotify.proto
package hadoop_hdfs
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
type EventType int32
@@ -24,42 +54,64 @@ const (
EventType_EVENT_TRUNCATE EventType = 6
)
-var EventType_name = map[int32]string{
- 0: "EVENT_CREATE",
- 1: "EVENT_CLOSE",
- 2: "EVENT_APPEND",
- 3: "EVENT_RENAME",
- 4: "EVENT_METADATA",
- 5: "EVENT_UNLINK",
- 6: "EVENT_TRUNCATE",
-}
-var EventType_value = map[string]int32{
- "EVENT_CREATE": 0,
- "EVENT_CLOSE": 1,
- "EVENT_APPEND": 2,
- "EVENT_RENAME": 3,
- "EVENT_METADATA": 4,
- "EVENT_UNLINK": 5,
- "EVENT_TRUNCATE": 6,
-}
+// Enum value maps for EventType.
+var (
+ EventType_name = map[int32]string{
+ 0: "EVENT_CREATE",
+ 1: "EVENT_CLOSE",
+ 2: "EVENT_APPEND",
+ 3: "EVENT_RENAME",
+ 4: "EVENT_METADATA",
+ 5: "EVENT_UNLINK",
+ 6: "EVENT_TRUNCATE",
+ }
+ EventType_value = map[string]int32{
+ "EVENT_CREATE": 0,
+ "EVENT_CLOSE": 1,
+ "EVENT_APPEND": 2,
+ "EVENT_RENAME": 3,
+ "EVENT_METADATA": 4,
+ "EVENT_UNLINK": 5,
+ "EVENT_TRUNCATE": 6,
+ }
+)
func (x EventType) Enum() *EventType {
p := new(EventType)
*p = x
return p
}
+
func (x EventType) String() string {
- return proto.EnumName(EventType_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (EventType) Descriptor() protoreflect.EnumDescriptor {
+ return file_inotify_proto_enumTypes[0].Descriptor()
}
-func (x *EventType) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(EventType_value, data, "EventType")
+
+func (EventType) Type() protoreflect.EnumType {
+ return &file_inotify_proto_enumTypes[0]
+}
+
+func (x EventType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *EventType) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = EventType(value)
+ *x = EventType(num)
return nil
}
-func (EventType) EnumDescriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
+
+// Deprecated: Use EventType.Descriptor instead.
+func (EventType) EnumDescriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{0}
+}
type INodeType int32
@@ -69,34 +121,56 @@ const (
INodeType_I_TYPE_SYMLINK INodeType = 2
)
-var INodeType_name = map[int32]string{
- 0: "I_TYPE_FILE",
- 1: "I_TYPE_DIRECTORY",
- 2: "I_TYPE_SYMLINK",
-}
-var INodeType_value = map[string]int32{
- "I_TYPE_FILE": 0,
- "I_TYPE_DIRECTORY": 1,
- "I_TYPE_SYMLINK": 2,
-}
+// Enum value maps for INodeType.
+var (
+ INodeType_name = map[int32]string{
+ 0: "I_TYPE_FILE",
+ 1: "I_TYPE_DIRECTORY",
+ 2: "I_TYPE_SYMLINK",
+ }
+ INodeType_value = map[string]int32{
+ "I_TYPE_FILE": 0,
+ "I_TYPE_DIRECTORY": 1,
+ "I_TYPE_SYMLINK": 2,
+ }
+)
func (x INodeType) Enum() *INodeType {
p := new(INodeType)
*p = x
return p
}
+
func (x INodeType) String() string {
- return proto.EnumName(INodeType_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
-func (x *INodeType) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(INodeType_value, data, "INodeType")
+
+func (INodeType) Descriptor() protoreflect.EnumDescriptor {
+ return file_inotify_proto_enumTypes[1].Descriptor()
+}
+
+func (INodeType) Type() protoreflect.EnumType {
+ return &file_inotify_proto_enumTypes[1]
+}
+
+func (x INodeType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *INodeType) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = INodeType(value)
+ *x = INodeType(num)
return nil
}
-func (INodeType) EnumDescriptor() ([]byte, []int) { return fileDescriptor7, []int{1} }
+
+// Deprecated: Use INodeType.Descriptor instead.
+func (INodeType) EnumDescriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{1}
+}
type MetadataUpdateType int32
@@ -109,92 +183,178 @@ const (
MetadataUpdateType_META_TYPE_XATTRS MetadataUpdateType = 5
)
-var MetadataUpdateType_name = map[int32]string{
- 0: "META_TYPE_TIMES",
- 1: "META_TYPE_REPLICATION",
- 2: "META_TYPE_OWNER",
- 3: "META_TYPE_PERMS",
- 4: "META_TYPE_ACLS",
- 5: "META_TYPE_XATTRS",
-}
-var MetadataUpdateType_value = map[string]int32{
- "META_TYPE_TIMES": 0,
- "META_TYPE_REPLICATION": 1,
- "META_TYPE_OWNER": 2,
- "META_TYPE_PERMS": 3,
- "META_TYPE_ACLS": 4,
- "META_TYPE_XATTRS": 5,
-}
+// Enum value maps for MetadataUpdateType.
+var (
+ MetadataUpdateType_name = map[int32]string{
+ 0: "META_TYPE_TIMES",
+ 1: "META_TYPE_REPLICATION",
+ 2: "META_TYPE_OWNER",
+ 3: "META_TYPE_PERMS",
+ 4: "META_TYPE_ACLS",
+ 5: "META_TYPE_XATTRS",
+ }
+ MetadataUpdateType_value = map[string]int32{
+ "META_TYPE_TIMES": 0,
+ "META_TYPE_REPLICATION": 1,
+ "META_TYPE_OWNER": 2,
+ "META_TYPE_PERMS": 3,
+ "META_TYPE_ACLS": 4,
+ "META_TYPE_XATTRS": 5,
+ }
+)
func (x MetadataUpdateType) Enum() *MetadataUpdateType {
p := new(MetadataUpdateType)
*p = x
return p
}
+
func (x MetadataUpdateType) String() string {
- return proto.EnumName(MetadataUpdateType_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (MetadataUpdateType) Descriptor() protoreflect.EnumDescriptor {
+ return file_inotify_proto_enumTypes[2].Descriptor()
+}
+
+func (MetadataUpdateType) Type() protoreflect.EnumType {
+ return &file_inotify_proto_enumTypes[2]
+}
+
+func (x MetadataUpdateType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
-func (x *MetadataUpdateType) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(MetadataUpdateType_value, data, "MetadataUpdateType")
+
+// Deprecated: Do not use.
+func (x *MetadataUpdateType) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = MetadataUpdateType(value)
+ *x = MetadataUpdateType(num)
return nil
}
-func (MetadataUpdateType) EnumDescriptor() ([]byte, []int) { return fileDescriptor7, []int{2} }
+
+// Deprecated: Use MetadataUpdateType.Descriptor instead.
+func (MetadataUpdateType) EnumDescriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{2}
+}
type EventProto struct {
- Type *EventType `protobuf:"varint,1,req,name=type,enum=hadoop.hdfs.EventType" json:"type,omitempty"`
- Contents []byte `protobuf:"bytes,2,req,name=contents" json:"contents,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Type *EventType `protobuf:"varint,1,req,name=type,enum=hadoop.hdfs.EventType" json:"type,omitempty"`
+ Contents []byte `protobuf:"bytes,2,req,name=contents" json:"contents,omitempty"`
}
-func (m *EventProto) Reset() { *m = EventProto{} }
-func (m *EventProto) String() string { return proto.CompactTextString(m) }
-func (*EventProto) ProtoMessage() {}
-func (*EventProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
+func (x *EventProto) Reset() {
+ *x = EventProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_inotify_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *EventProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *EventProto) GetType() EventType {
- if m != nil && m.Type != nil {
- return *m.Type
+func (*EventProto) ProtoMessage() {}
+
+func (x *EventProto) ProtoReflect() protoreflect.Message {
+ mi := &file_inotify_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use EventProto.ProtoReflect.Descriptor instead.
+func (*EventProto) Descriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *EventProto) GetType() EventType {
+ if x != nil && x.Type != nil {
+ return *x.Type
}
return EventType_EVENT_CREATE
}
-func (m *EventProto) GetContents() []byte {
- if m != nil {
- return m.Contents
+func (x *EventProto) GetContents() []byte {
+ if x != nil {
+ return x.Contents
}
return nil
}
type EventBatchProto struct {
- Txid *int64 `protobuf:"varint,1,req,name=txid" json:"txid,omitempty"`
- Events []*EventProto `protobuf:"bytes,2,rep,name=events" json:"events,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Txid *int64 `protobuf:"varint,1,req,name=txid" json:"txid,omitempty"`
+ Events []*EventProto `protobuf:"bytes,2,rep,name=events" json:"events,omitempty"`
+}
+
+func (x *EventBatchProto) Reset() {
+ *x = EventBatchProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_inotify_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *EventBatchProto) Reset() { *m = EventBatchProto{} }
-func (m *EventBatchProto) String() string { return proto.CompactTextString(m) }
-func (*EventBatchProto) ProtoMessage() {}
-func (*EventBatchProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{1} }
+func (x *EventBatchProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*EventBatchProto) ProtoMessage() {}
-func (m *EventBatchProto) GetTxid() int64 {
- if m != nil && m.Txid != nil {
- return *m.Txid
+func (x *EventBatchProto) ProtoReflect() protoreflect.Message {
+ mi := &file_inotify_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use EventBatchProto.ProtoReflect.Descriptor instead.
+func (*EventBatchProto) Descriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *EventBatchProto) GetTxid() int64 {
+ if x != nil && x.Txid != nil {
+ return *x.Txid
}
return 0
}
-func (m *EventBatchProto) GetEvents() []*EventProto {
- if m != nil {
- return m.Events
+func (x *EventBatchProto) GetEvents() []*EventProto {
+ if x != nil {
+ return x.Events
}
return nil
}
type CreateEventProto struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Type *INodeType `protobuf:"varint,1,req,name=type,enum=hadoop.hdfs.INodeType" json:"type,omitempty"`
Path *string `protobuf:"bytes,2,req,name=path" json:"path,omitempty"`
Ctime *int64 `protobuf:"varint,3,req,name=ctime" json:"ctime,omitempty"`
@@ -205,459 +365,972 @@ type CreateEventProto struct {
SymlinkTarget *string `protobuf:"bytes,8,opt,name=symlinkTarget" json:"symlinkTarget,omitempty"`
Overwrite *bool `protobuf:"varint,9,opt,name=overwrite" json:"overwrite,omitempty"`
DefaultBlockSize *int64 `protobuf:"varint,10,opt,name=defaultBlockSize,def=0" json:"defaultBlockSize,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ ErasureCoded *bool `protobuf:"varint,11,opt,name=erasureCoded" json:"erasureCoded,omitempty"`
}
-func (m *CreateEventProto) Reset() { *m = CreateEventProto{} }
-func (m *CreateEventProto) String() string { return proto.CompactTextString(m) }
-func (*CreateEventProto) ProtoMessage() {}
-func (*CreateEventProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2} }
+// Default values for CreateEventProto fields.
+const (
+ Default_CreateEventProto_DefaultBlockSize = int64(0)
+)
-const Default_CreateEventProto_DefaultBlockSize int64 = 0
+func (x *CreateEventProto) Reset() {
+ *x = CreateEventProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_inotify_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CreateEventProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CreateEventProto) ProtoMessage() {}
+
+func (x *CreateEventProto) ProtoReflect() protoreflect.Message {
+ mi := &file_inotify_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
-func (m *CreateEventProto) GetType() INodeType {
- if m != nil && m.Type != nil {
- return *m.Type
+// Deprecated: Use CreateEventProto.ProtoReflect.Descriptor instead.
+func (*CreateEventProto) Descriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *CreateEventProto) GetType() INodeType {
+ if x != nil && x.Type != nil {
+ return *x.Type
}
return INodeType_I_TYPE_FILE
}
-func (m *CreateEventProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *CreateEventProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
-func (m *CreateEventProto) GetCtime() int64 {
- if m != nil && m.Ctime != nil {
- return *m.Ctime
+func (x *CreateEventProto) GetCtime() int64 {
+ if x != nil && x.Ctime != nil {
+ return *x.Ctime
}
return 0
}
-func (m *CreateEventProto) GetOwnerName() string {
- if m != nil && m.OwnerName != nil {
- return *m.OwnerName
+func (x *CreateEventProto) GetOwnerName() string {
+ if x != nil && x.OwnerName != nil {
+ return *x.OwnerName
}
return ""
}
-func (m *CreateEventProto) GetGroupName() string {
- if m != nil && m.GroupName != nil {
- return *m.GroupName
+func (x *CreateEventProto) GetGroupName() string {
+ if x != nil && x.GroupName != nil {
+ return *x.GroupName
}
return ""
}
-func (m *CreateEventProto) GetPerms() *FsPermissionProto {
- if m != nil {
- return m.Perms
+func (x *CreateEventProto) GetPerms() *FsPermissionProto {
+ if x != nil {
+ return x.Perms
}
return nil
}
-func (m *CreateEventProto) GetReplication() int32 {
- if m != nil && m.Replication != nil {
- return *m.Replication
+func (x *CreateEventProto) GetReplication() int32 {
+ if x != nil && x.Replication != nil {
+ return *x.Replication
}
return 0
}
-func (m *CreateEventProto) GetSymlinkTarget() string {
- if m != nil && m.SymlinkTarget != nil {
- return *m.SymlinkTarget
+func (x *CreateEventProto) GetSymlinkTarget() string {
+ if x != nil && x.SymlinkTarget != nil {
+ return *x.SymlinkTarget
}
return ""
}
-func (m *CreateEventProto) GetOverwrite() bool {
- if m != nil && m.Overwrite != nil {
- return *m.Overwrite
+func (x *CreateEventProto) GetOverwrite() bool {
+ if x != nil && x.Overwrite != nil {
+ return *x.Overwrite
}
return false
}
-func (m *CreateEventProto) GetDefaultBlockSize() int64 {
- if m != nil && m.DefaultBlockSize != nil {
- return *m.DefaultBlockSize
+func (x *CreateEventProto) GetDefaultBlockSize() int64 {
+ if x != nil && x.DefaultBlockSize != nil {
+ return *x.DefaultBlockSize
}
return Default_CreateEventProto_DefaultBlockSize
}
+func (x *CreateEventProto) GetErasureCoded() bool {
+ if x != nil && x.ErasureCoded != nil {
+ return *x.ErasureCoded
+ }
+ return false
+}
+
type CloseEventProto struct {
- Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
- FileSize *int64 `protobuf:"varint,2,req,name=fileSize" json:"fileSize,omitempty"`
- Timestamp *int64 `protobuf:"varint,3,req,name=timestamp" json:"timestamp,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
+ FileSize *int64 `protobuf:"varint,2,req,name=fileSize" json:"fileSize,omitempty"`
+ Timestamp *int64 `protobuf:"varint,3,req,name=timestamp" json:"timestamp,omitempty"`
}
-func (m *CloseEventProto) Reset() { *m = CloseEventProto{} }
-func (m *CloseEventProto) String() string { return proto.CompactTextString(m) }
-func (*CloseEventProto) ProtoMessage() {}
-func (*CloseEventProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{3} }
+func (x *CloseEventProto) Reset() {
+ *x = CloseEventProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_inotify_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *CloseEventProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *CloseEventProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CloseEventProto) ProtoMessage() {}
+
+func (x *CloseEventProto) ProtoReflect() protoreflect.Message {
+ mi := &file_inotify_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use CloseEventProto.ProtoReflect.Descriptor instead.
+func (*CloseEventProto) Descriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *CloseEventProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
-func (m *CloseEventProto) GetFileSize() int64 {
- if m != nil && m.FileSize != nil {
- return *m.FileSize
+func (x *CloseEventProto) GetFileSize() int64 {
+ if x != nil && x.FileSize != nil {
+ return *x.FileSize
}
return 0
}
-func (m *CloseEventProto) GetTimestamp() int64 {
- if m != nil && m.Timestamp != nil {
- return *m.Timestamp
+func (x *CloseEventProto) GetTimestamp() int64 {
+ if x != nil && x.Timestamp != nil {
+ return *x.Timestamp
}
return 0
}
type TruncateEventProto struct {
- Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
- FileSize *int64 `protobuf:"varint,2,req,name=fileSize" json:"fileSize,omitempty"`
- Timestamp *int64 `protobuf:"varint,3,req,name=timestamp" json:"timestamp,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
+ FileSize *int64 `protobuf:"varint,2,req,name=fileSize" json:"fileSize,omitempty"`
+ Timestamp *int64 `protobuf:"varint,3,req,name=timestamp" json:"timestamp,omitempty"`
+}
+
+func (x *TruncateEventProto) Reset() {
+ *x = TruncateEventProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_inotify_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TruncateEventProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TruncateEventProto) ProtoMessage() {}
+
+func (x *TruncateEventProto) ProtoReflect() protoreflect.Message {
+ mi := &file_inotify_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *TruncateEventProto) Reset() { *m = TruncateEventProto{} }
-func (m *TruncateEventProto) String() string { return proto.CompactTextString(m) }
-func (*TruncateEventProto) ProtoMessage() {}
-func (*TruncateEventProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{4} }
+// Deprecated: Use TruncateEventProto.ProtoReflect.Descriptor instead.
+func (*TruncateEventProto) Descriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{4}
+}
-func (m *TruncateEventProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *TruncateEventProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
-func (m *TruncateEventProto) GetFileSize() int64 {
- if m != nil && m.FileSize != nil {
- return *m.FileSize
+func (x *TruncateEventProto) GetFileSize() int64 {
+ if x != nil && x.FileSize != nil {
+ return *x.FileSize
}
return 0
}
-func (m *TruncateEventProto) GetTimestamp() int64 {
- if m != nil && m.Timestamp != nil {
- return *m.Timestamp
+func (x *TruncateEventProto) GetTimestamp() int64 {
+ if x != nil && x.Timestamp != nil {
+ return *x.Timestamp
}
return 0
}
type AppendEventProto struct {
- Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
- NewBlock *bool `protobuf:"varint,2,opt,name=newBlock,def=0" json:"newBlock,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
+ NewBlock *bool `protobuf:"varint,2,opt,name=newBlock,def=0" json:"newBlock,omitempty"`
}
-func (m *AppendEventProto) Reset() { *m = AppendEventProto{} }
-func (m *AppendEventProto) String() string { return proto.CompactTextString(m) }
-func (*AppendEventProto) ProtoMessage() {}
-func (*AppendEventProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{5} }
+// Default values for AppendEventProto fields.
+const (
+ Default_AppendEventProto_NewBlock = bool(false)
+)
-const Default_AppendEventProto_NewBlock bool = false
+func (x *AppendEventProto) Reset() {
+ *x = AppendEventProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_inotify_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AppendEventProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
-func (m *AppendEventProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (*AppendEventProto) ProtoMessage() {}
+
+func (x *AppendEventProto) ProtoReflect() protoreflect.Message {
+ mi := &file_inotify_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AppendEventProto.ProtoReflect.Descriptor instead.
+func (*AppendEventProto) Descriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *AppendEventProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
-func (m *AppendEventProto) GetNewBlock() bool {
- if m != nil && m.NewBlock != nil {
- return *m.NewBlock
+func (x *AppendEventProto) GetNewBlock() bool {
+ if x != nil && x.NewBlock != nil {
+ return *x.NewBlock
}
return Default_AppendEventProto_NewBlock
}
type RenameEventProto struct {
- SrcPath *string `protobuf:"bytes,1,req,name=srcPath" json:"srcPath,omitempty"`
- DestPath *string `protobuf:"bytes,2,req,name=destPath" json:"destPath,omitempty"`
- Timestamp *int64 `protobuf:"varint,3,req,name=timestamp" json:"timestamp,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ SrcPath *string `protobuf:"bytes,1,req,name=srcPath" json:"srcPath,omitempty"`
+ DestPath *string `protobuf:"bytes,2,req,name=destPath" json:"destPath,omitempty"`
+ Timestamp *int64 `protobuf:"varint,3,req,name=timestamp" json:"timestamp,omitempty"`
}
-func (m *RenameEventProto) Reset() { *m = RenameEventProto{} }
-func (m *RenameEventProto) String() string { return proto.CompactTextString(m) }
-func (*RenameEventProto) ProtoMessage() {}
-func (*RenameEventProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{6} }
+func (x *RenameEventProto) Reset() {
+ *x = RenameEventProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_inotify_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *RenameEventProto) GetSrcPath() string {
- if m != nil && m.SrcPath != nil {
- return *m.SrcPath
+func (x *RenameEventProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RenameEventProto) ProtoMessage() {}
+
+func (x *RenameEventProto) ProtoReflect() protoreflect.Message {
+ mi := &file_inotify_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RenameEventProto.ProtoReflect.Descriptor instead.
+func (*RenameEventProto) Descriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{6}
+}
+
+func (x *RenameEventProto) GetSrcPath() string {
+ if x != nil && x.SrcPath != nil {
+ return *x.SrcPath
}
return ""
}
-func (m *RenameEventProto) GetDestPath() string {
- if m != nil && m.DestPath != nil {
- return *m.DestPath
+func (x *RenameEventProto) GetDestPath() string {
+ if x != nil && x.DestPath != nil {
+ return *x.DestPath
}
return ""
}
-func (m *RenameEventProto) GetTimestamp() int64 {
- if m != nil && m.Timestamp != nil {
- return *m.Timestamp
+func (x *RenameEventProto) GetTimestamp() int64 {
+ if x != nil && x.Timestamp != nil {
+ return *x.Timestamp
}
return 0
}
type MetadataUpdateEventProto struct {
- Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
- Type *MetadataUpdateType `protobuf:"varint,2,req,name=type,enum=hadoop.hdfs.MetadataUpdateType" json:"type,omitempty"`
- Mtime *int64 `protobuf:"varint,3,opt,name=mtime" json:"mtime,omitempty"`
- Atime *int64 `protobuf:"varint,4,opt,name=atime" json:"atime,omitempty"`
- Replication *int32 `protobuf:"varint,5,opt,name=replication" json:"replication,omitempty"`
- OwnerName *string `protobuf:"bytes,6,opt,name=ownerName" json:"ownerName,omitempty"`
- GroupName *string `protobuf:"bytes,7,opt,name=groupName" json:"groupName,omitempty"`
- Perms *FsPermissionProto `protobuf:"bytes,8,opt,name=perms" json:"perms,omitempty"`
- Acls []*AclEntryProto `protobuf:"bytes,9,rep,name=acls" json:"acls,omitempty"`
- XAttrs []*XAttrProto `protobuf:"bytes,10,rep,name=xAttrs" json:"xAttrs,omitempty"`
- XAttrsRemoved *bool `protobuf:"varint,11,opt,name=xAttrsRemoved" json:"xAttrsRemoved,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *MetadataUpdateEventProto) Reset() { *m = MetadataUpdateEventProto{} }
-func (m *MetadataUpdateEventProto) String() string { return proto.CompactTextString(m) }
-func (*MetadataUpdateEventProto) ProtoMessage() {}
-func (*MetadataUpdateEventProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{7} }
-
-func (m *MetadataUpdateEventProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
+ Type *MetadataUpdateType `protobuf:"varint,2,req,name=type,enum=hadoop.hdfs.MetadataUpdateType" json:"type,omitempty"`
+ Mtime *int64 `protobuf:"varint,3,opt,name=mtime" json:"mtime,omitempty"`
+ Atime *int64 `protobuf:"varint,4,opt,name=atime" json:"atime,omitempty"`
+ Replication *int32 `protobuf:"varint,5,opt,name=replication" json:"replication,omitempty"`
+ OwnerName *string `protobuf:"bytes,6,opt,name=ownerName" json:"ownerName,omitempty"`
+ GroupName *string `protobuf:"bytes,7,opt,name=groupName" json:"groupName,omitempty"`
+ Perms *FsPermissionProto `protobuf:"bytes,8,opt,name=perms" json:"perms,omitempty"`
+ Acls []*AclEntryProto `protobuf:"bytes,9,rep,name=acls" json:"acls,omitempty"`
+ XAttrs []*XAttrProto `protobuf:"bytes,10,rep,name=xAttrs" json:"xAttrs,omitempty"`
+ XAttrsRemoved *bool `protobuf:"varint,11,opt,name=xAttrsRemoved" json:"xAttrsRemoved,omitempty"`
+}
+
+func (x *MetadataUpdateEventProto) Reset() {
+ *x = MetadataUpdateEventProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_inotify_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *MetadataUpdateEventProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*MetadataUpdateEventProto) ProtoMessage() {}
+
+func (x *MetadataUpdateEventProto) ProtoReflect() protoreflect.Message {
+ mi := &file_inotify_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use MetadataUpdateEventProto.ProtoReflect.Descriptor instead.
+func (*MetadataUpdateEventProto) Descriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{7}
+}
+
+func (x *MetadataUpdateEventProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
-func (m *MetadataUpdateEventProto) GetType() MetadataUpdateType {
- if m != nil && m.Type != nil {
- return *m.Type
+func (x *MetadataUpdateEventProto) GetType() MetadataUpdateType {
+ if x != nil && x.Type != nil {
+ return *x.Type
}
return MetadataUpdateType_META_TYPE_TIMES
}
-func (m *MetadataUpdateEventProto) GetMtime() int64 {
- if m != nil && m.Mtime != nil {
- return *m.Mtime
+func (x *MetadataUpdateEventProto) GetMtime() int64 {
+ if x != nil && x.Mtime != nil {
+ return *x.Mtime
}
return 0
}
-func (m *MetadataUpdateEventProto) GetAtime() int64 {
- if m != nil && m.Atime != nil {
- return *m.Atime
+func (x *MetadataUpdateEventProto) GetAtime() int64 {
+ if x != nil && x.Atime != nil {
+ return *x.Atime
}
return 0
}
-func (m *MetadataUpdateEventProto) GetReplication() int32 {
- if m != nil && m.Replication != nil {
- return *m.Replication
+func (x *MetadataUpdateEventProto) GetReplication() int32 {
+ if x != nil && x.Replication != nil {
+ return *x.Replication
}
return 0
}
-func (m *MetadataUpdateEventProto) GetOwnerName() string {
- if m != nil && m.OwnerName != nil {
- return *m.OwnerName
+func (x *MetadataUpdateEventProto) GetOwnerName() string {
+ if x != nil && x.OwnerName != nil {
+ return *x.OwnerName
}
return ""
}
-func (m *MetadataUpdateEventProto) GetGroupName() string {
- if m != nil && m.GroupName != nil {
- return *m.GroupName
+func (x *MetadataUpdateEventProto) GetGroupName() string {
+ if x != nil && x.GroupName != nil {
+ return *x.GroupName
}
return ""
}
-func (m *MetadataUpdateEventProto) GetPerms() *FsPermissionProto {
- if m != nil {
- return m.Perms
+func (x *MetadataUpdateEventProto) GetPerms() *FsPermissionProto {
+ if x != nil {
+ return x.Perms
}
return nil
}
-func (m *MetadataUpdateEventProto) GetAcls() []*AclEntryProto {
- if m != nil {
- return m.Acls
+func (x *MetadataUpdateEventProto) GetAcls() []*AclEntryProto {
+ if x != nil {
+ return x.Acls
}
return nil
}
-func (m *MetadataUpdateEventProto) GetXAttrs() []*XAttrProto {
- if m != nil {
- return m.XAttrs
+func (x *MetadataUpdateEventProto) GetXAttrs() []*XAttrProto {
+ if x != nil {
+ return x.XAttrs
}
return nil
}
-func (m *MetadataUpdateEventProto) GetXAttrsRemoved() bool {
- if m != nil && m.XAttrsRemoved != nil {
- return *m.XAttrsRemoved
+func (x *MetadataUpdateEventProto) GetXAttrsRemoved() bool {
+ if x != nil && x.XAttrsRemoved != nil {
+ return *x.XAttrsRemoved
}
return false
}
type UnlinkEventProto struct {
- Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
- Timestamp *int64 `protobuf:"varint,2,req,name=timestamp" json:"timestamp,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"`
+ Timestamp *int64 `protobuf:"varint,2,req,name=timestamp" json:"timestamp,omitempty"`
}
-func (m *UnlinkEventProto) Reset() { *m = UnlinkEventProto{} }
-func (m *UnlinkEventProto) String() string { return proto.CompactTextString(m) }
-func (*UnlinkEventProto) ProtoMessage() {}
-func (*UnlinkEventProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{8} }
+func (x *UnlinkEventProto) Reset() {
+ *x = UnlinkEventProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_inotify_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
-func (m *UnlinkEventProto) GetPath() string {
- if m != nil && m.Path != nil {
- return *m.Path
+func (x *UnlinkEventProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UnlinkEventProto) ProtoMessage() {}
+
+func (x *UnlinkEventProto) ProtoReflect() protoreflect.Message {
+ mi := &file_inotify_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use UnlinkEventProto.ProtoReflect.Descriptor instead.
+func (*UnlinkEventProto) Descriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{8}
+}
+
+func (x *UnlinkEventProto) GetPath() string {
+ if x != nil && x.Path != nil {
+ return *x.Path
}
return ""
}
-func (m *UnlinkEventProto) GetTimestamp() int64 {
- if m != nil && m.Timestamp != nil {
- return *m.Timestamp
+func (x *UnlinkEventProto) GetTimestamp() int64 {
+ if x != nil && x.Timestamp != nil {
+ return *x.Timestamp
}
return 0
}
type EventsListProto struct {
- Events []*EventProto `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"`
- FirstTxid *int64 `protobuf:"varint,2,req,name=firstTxid" json:"firstTxid,omitempty"`
- LastTxid *int64 `protobuf:"varint,3,req,name=lastTxid" json:"lastTxid,omitempty"`
- SyncTxid *int64 `protobuf:"varint,4,req,name=syncTxid" json:"syncTxid,omitempty"`
- Batch []*EventBatchProto `protobuf:"bytes,5,rep,name=batch" json:"batch,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Events []*EventProto `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` // deprecated
+ FirstTxid *int64 `protobuf:"varint,2,req,name=firstTxid" json:"firstTxid,omitempty"`
+ LastTxid *int64 `protobuf:"varint,3,req,name=lastTxid" json:"lastTxid,omitempty"`
+ SyncTxid *int64 `protobuf:"varint,4,req,name=syncTxid" json:"syncTxid,omitempty"`
+ Batch []*EventBatchProto `protobuf:"bytes,5,rep,name=batch" json:"batch,omitempty"`
+}
+
+func (x *EventsListProto) Reset() {
+ *x = EventsListProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_inotify_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *EventsListProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*EventsListProto) ProtoMessage() {}
+
+func (x *EventsListProto) ProtoReflect() protoreflect.Message {
+ mi := &file_inotify_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *EventsListProto) Reset() { *m = EventsListProto{} }
-func (m *EventsListProto) String() string { return proto.CompactTextString(m) }
-func (*EventsListProto) ProtoMessage() {}
-func (*EventsListProto) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{9} }
+// Deprecated: Use EventsListProto.ProtoReflect.Descriptor instead.
+func (*EventsListProto) Descriptor() ([]byte, []int) {
+ return file_inotify_proto_rawDescGZIP(), []int{9}
+}
-func (m *EventsListProto) GetEvents() []*EventProto {
- if m != nil {
- return m.Events
+func (x *EventsListProto) GetEvents() []*EventProto {
+ if x != nil {
+ return x.Events
}
return nil
}
-func (m *EventsListProto) GetFirstTxid() int64 {
- if m != nil && m.FirstTxid != nil {
- return *m.FirstTxid
+func (x *EventsListProto) GetFirstTxid() int64 {
+ if x != nil && x.FirstTxid != nil {
+ return *x.FirstTxid
}
return 0
}
-func (m *EventsListProto) GetLastTxid() int64 {
- if m != nil && m.LastTxid != nil {
- return *m.LastTxid
+func (x *EventsListProto) GetLastTxid() int64 {
+ if x != nil && x.LastTxid != nil {
+ return *x.LastTxid
}
return 0
}
-func (m *EventsListProto) GetSyncTxid() int64 {
- if m != nil && m.SyncTxid != nil {
- return *m.SyncTxid
+func (x *EventsListProto) GetSyncTxid() int64 {
+ if x != nil && x.SyncTxid != nil {
+ return *x.SyncTxid
}
return 0
}
-func (m *EventsListProto) GetBatch() []*EventBatchProto {
- if m != nil {
- return m.Batch
+func (x *EventsListProto) GetBatch() []*EventBatchProto {
+ if x != nil {
+ return x.Batch
}
return nil
}
-func init() {
- proto.RegisterType((*EventProto)(nil), "hadoop.hdfs.EventProto")
- proto.RegisterType((*EventBatchProto)(nil), "hadoop.hdfs.EventBatchProto")
- proto.RegisterType((*CreateEventProto)(nil), "hadoop.hdfs.CreateEventProto")
- proto.RegisterType((*CloseEventProto)(nil), "hadoop.hdfs.CloseEventProto")
- proto.RegisterType((*TruncateEventProto)(nil), "hadoop.hdfs.TruncateEventProto")
- proto.RegisterType((*AppendEventProto)(nil), "hadoop.hdfs.AppendEventProto")
- proto.RegisterType((*RenameEventProto)(nil), "hadoop.hdfs.RenameEventProto")
- proto.RegisterType((*MetadataUpdateEventProto)(nil), "hadoop.hdfs.MetadataUpdateEventProto")
- proto.RegisterType((*UnlinkEventProto)(nil), "hadoop.hdfs.UnlinkEventProto")
- proto.RegisterType((*EventsListProto)(nil), "hadoop.hdfs.EventsListProto")
- proto.RegisterEnum("hadoop.hdfs.EventType", EventType_name, EventType_value)
- proto.RegisterEnum("hadoop.hdfs.INodeType", INodeType_name, INodeType_value)
- proto.RegisterEnum("hadoop.hdfs.MetadataUpdateType", MetadataUpdateType_name, MetadataUpdateType_value)
-}
-
-func init() { proto.RegisterFile("inotify.proto", fileDescriptor7) }
-
-var fileDescriptor7 = []byte{
- // 917 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5f, 0x6f, 0xe3, 0x44,
- 0x10, 0x3f, 0x3b, 0x71, 0x2f, 0x99, 0x5c, 0xaf, 0xab, 0xa5, 0x80, 0x89, 0x4e, 0x10, 0x22, 0x90,
- 0xa2, 0x4a, 0x04, 0x54, 0x78, 0xe1, 0xde, 0xdc, 0xd4, 0x95, 0x2c, 0x12, 0x37, 0xda, 0xb8, 0xc7,
- 0xf5, 0xa9, 0xda, 0xb3, 0x37, 0x8d, 0x75, 0x8e, 0x6d, 0x79, 0xb7, 0x7f, 0xc2, 0x67, 0xe0, 0x03,
- 0xf0, 0xc8, 0x33, 0x9f, 0x85, 0xef, 0xc2, 0x57, 0x40, 0xbb, 0xeb, 0xda, 0xf1, 0xe5, 0x50, 0xfb,
- 0xc0, 0x9b, 0xe7, 0x37, 0xbf, 0x9d, 0xf9, 0x79, 0x76, 0x66, 0x6c, 0xd8, 0x8f, 0xd3, 0x4c, 0xc4,
- 0xcb, 0xcd, 0x38, 0x2f, 0x32, 0x91, 0xe1, 0xde, 0x8a, 0x46, 0x59, 0x96, 0x8f, 0x57, 0xd1, 0x92,
- 0xf7, 0xbb, 0x34, 0x4c, 0x34, 0xde, 0xef, 0xdd, 0x53, 0x21, 0x8a, 0xd2, 0x00, 0xe9, 0xd5, 0xcf,
- 0xc3, 0x00, 0xc0, 0xbd, 0x65, 0xa9, 0x98, 0xab, 0xe3, 0x47, 0xd0, 0x16, 0x9b, 0x9c, 0xd9, 0xc6,
- 0xc0, 0x1c, 0xbd, 0x3c, 0xfe, 0x6c, 0xbc, 0x15, 0x6d, 0xac, 0x68, 0xc1, 0x26, 0x67, 0x44, 0x71,
- 0x70, 0x1f, 0x3a, 0x61, 0x96, 0x0a, 0x96, 0x0a, 0x6e, 0x9b, 0x03, 0x73, 0xf4, 0x82, 0x54, 0xf6,
- 0xf0, 0x0d, 0x1c, 0x28, 0xfa, 0x09, 0x15, 0xe1, 0x4a, 0x87, 0xc6, 0xd0, 0x16, 0xf7, 0x71, 0xa4,
- 0x42, 0xb7, 0x88, 0x7a, 0xc6, 0xdf, 0xc3, 0x1e, 0xbb, 0x2d, 0x03, 0xb4, 0x46, 0xbd, 0xe3, 0xcf,
- 0x77, 0x13, 0xaa, 0xc3, 0xa4, 0xa4, 0x0d, 0xff, 0x31, 0x01, 0x4d, 0x0a, 0x46, 0x05, 0x7b, 0xa2,
- 0x68, 0xcf, 0xcf, 0x22, 0xb6, 0x25, 0x1a, 0x43, 0x3b, 0xa7, 0x62, 0xa5, 0x04, 0x77, 0x89, 0x7a,
- 0xc6, 0x87, 0x60, 0x85, 0x22, 0x5e, 0x33, 0xbb, 0xa5, 0xa4, 0x69, 0x03, 0xbf, 0x82, 0x6e, 0x76,
- 0x97, 0xb2, 0xc2, 0xa7, 0x6b, 0x66, 0xb7, 0x15, 0xbd, 0x06, 0xa4, 0xf7, 0xba, 0xc8, 0x6e, 0x72,
- 0xe5, 0xb5, 0xb4, 0xb7, 0x02, 0xf0, 0x4f, 0x60, 0xe5, 0xac, 0x58, 0x73, 0x7b, 0x6f, 0x60, 0x8e,
- 0x7a, 0xc7, 0x5f, 0x36, 0x24, 0x9d, 0xf1, 0x39, 0x2b, 0xd6, 0x31, 0xe7, 0x71, 0x96, 0xea, 0xb7,
- 0xd3, 0x64, 0x3c, 0x80, 0x5e, 0xc1, 0xf2, 0x24, 0x0e, 0xa9, 0x88, 0xb3, 0xd4, 0x7e, 0x3e, 0x30,
- 0x46, 0x16, 0xd9, 0x86, 0xf0, 0x37, 0xb0, 0xcf, 0x37, 0xeb, 0x24, 0x4e, 0xdf, 0x07, 0xb4, 0xb8,
- 0x66, 0xc2, 0xee, 0x0c, 0x8c, 0x51, 0x97, 0x34, 0x41, 0xa5, 0xfc, 0x96, 0x15, 0x77, 0x45, 0x2c,
- 0x98, 0xdd, 0x1d, 0x18, 0xa3, 0x0e, 0xa9, 0x01, 0xfc, 0x1d, 0xa0, 0x88, 0x2d, 0xe9, 0x4d, 0x22,
- 0x4e, 0x92, 0x2c, 0x7c, 0xbf, 0x88, 0x7f, 0x63, 0x36, 0x0c, 0x8c, 0x51, 0xeb, 0xb5, 0xf1, 0x03,
- 0xd9, 0x71, 0x0d, 0xaf, 0xe0, 0x60, 0x92, 0x64, 0x7c, 0xbb, 0xde, 0x0f, 0x35, 0x34, 0xb6, 0x6a,
- 0xd8, 0x87, 0xce, 0x32, 0x4e, 0x98, 0x8a, 0x66, 0xaa, 0x32, 0x56, 0xb6, 0xd4, 0x23, 0x2b, 0xca,
- 0x05, 0x5d, 0xe7, 0x65, 0x8d, 0x6b, 0x60, 0xf8, 0x0e, 0x70, 0x50, 0xdc, 0xa4, 0x61, 0xf3, 0x4e,
- 0xff, 0xdf, 0x1c, 0x1e, 0x20, 0x27, 0xcf, 0x59, 0x1a, 0x3d, 0x92, 0xe1, 0x6b, 0xe8, 0xa4, 0xec,
- 0x4e, 0xbd, 0xbc, 0x6d, 0xca, 0xc2, 0xbd, 0xb6, 0x96, 0x34, 0xe1, 0x8c, 0x54, 0xf0, 0x70, 0x09,
- 0x88, 0xb0, 0x94, 0xae, 0xb7, 0xc5, 0xda, 0xf0, 0x9c, 0x17, 0xe1, 0xbc, 0x8e, 0xf6, 0x60, 0x4a,
- 0xc9, 0x11, 0xe3, 0x62, 0x5e, 0xb7, 0x5c, 0x65, 0x3f, 0x22, 0xf9, 0xaf, 0x16, 0xd8, 0x33, 0x26,
- 0x68, 0x44, 0x05, 0xbd, 0xc8, 0xa3, 0xc7, 0xab, 0xf3, 0x63, 0x39, 0x05, 0xa6, 0x9a, 0x82, 0xaf,
- 0x1a, 0x2d, 0xd7, 0x0c, 0xb4, 0x35, 0x0e, 0x87, 0x60, 0xad, 0xcb, 0xd6, 0x37, 0x64, 0xeb, 0x2b,
- 0x43, 0xa2, 0x54, 0xa1, 0x6d, 0x8d, 0x2a, 0xe3, 0xc3, 0xf6, 0xb4, 0x76, 0xdb, 0xb3, 0x31, 0x32,
- 0x7b, 0xaa, 0x35, 0xff, 0x6b, 0x64, 0x9e, 0x6b, 0xef, 0x47, 0x46, 0x46, 0xb6, 0xf4, 0x93, 0x47,
- 0x66, 0x0c, 0x6d, 0x1a, 0x26, 0xdc, 0xee, 0xaa, 0xf5, 0xd1, 0x6f, 0x1c, 0x72, 0xc2, 0xc4, 0x4d,
- 0x45, 0xb1, 0xd1, 0x07, 0x14, 0x4f, 0x2e, 0x9c, 0x7b, 0x47, 0x88, 0x82, 0xdb, 0xf0, 0x91, 0x85,
- 0xf3, 0x56, 0xba, 0xca, 0x85, 0xa3, 0x69, 0x72, 0xe2, 0xf4, 0x13, 0x61, 0xeb, 0xec, 0x96, 0x45,
- 0x76, 0x4f, 0xcd, 0x53, 0x13, 0x1c, 0x9e, 0x02, 0xba, 0x48, 0xe5, 0x04, 0x3e, 0x72, 0x47, 0x8d,
- 0x2b, 0x37, 0x3f, 0xbc, 0xf2, 0xbf, 0x8d, 0x72, 0x6b, 0xf2, 0x69, 0xcc, 0xcb, 0x28, 0xf5, 0x86,
- 0x34, 0x9e, 0xb4, 0x21, 0x65, 0x8a, 0x65, 0x5c, 0x70, 0x11, 0xc8, 0x5d, 0x5b, 0xa6, 0xa8, 0x00,
- 0xd9, 0x8f, 0x09, 0x2d, 0x9d, 0xba, 0xe5, 0x2a, 0x5b, 0xfa, 0xf8, 0x26, 0x0d, 0x95, 0xaf, 0xad,
- 0x7d, 0x0f, 0x36, 0x3e, 0x06, 0xeb, 0x9d, 0x5c, 0xe5, 0xb6, 0xa5, 0x54, 0xbc, 0xda, 0x55, 0x51,
- 0x6f, 0x7a, 0xa2, 0xa9, 0x47, 0xbf, 0x1b, 0xd0, 0xad, 0xbe, 0x19, 0x18, 0xc1, 0x0b, 0xf7, 0x8d,
- 0xeb, 0x07, 0x57, 0x13, 0xe2, 0x3a, 0x81, 0x8b, 0x9e, 0xe1, 0x03, 0xe8, 0x95, 0xc8, 0xf4, 0x7c,
- 0xe1, 0x22, 0xa3, 0xa6, 0x38, 0xf3, 0xb9, 0xeb, 0x9f, 0x22, 0xb3, 0x46, 0x88, 0xeb, 0x3b, 0x33,
- 0x17, 0xb5, 0x30, 0x86, 0x97, 0x1a, 0x99, 0xb9, 0x81, 0x73, 0xea, 0x04, 0x0e, 0x6a, 0xd7, 0xac,
- 0x0b, 0x7f, 0xea, 0xf9, 0xbf, 0x20, 0xab, 0x66, 0x05, 0xe4, 0xc2, 0x9f, 0xc8, 0x74, 0x7b, 0x47,
- 0x67, 0xd0, 0xad, 0x3e, 0x06, 0x32, 0xb7, 0x77, 0x15, 0x5c, 0xce, 0xdd, 0xab, 0x33, 0x6f, 0x2a,
- 0xc5, 0x1c, 0x02, 0x2a, 0x81, 0x53, 0x8f, 0xb8, 0x93, 0xe0, 0x9c, 0x5c, 0x22, 0x43, 0xc6, 0x29,
- 0xd1, 0xc5, 0xe5, 0x4c, 0xc5, 0x36, 0x8f, 0xfe, 0x30, 0x00, 0xef, 0xce, 0x13, 0xfe, 0x04, 0x0e,
- 0xa4, 0x24, 0xcd, 0x0e, 0xbc, 0x99, 0xbb, 0x40, 0xcf, 0xf0, 0x17, 0xf0, 0x69, 0x0d, 0x12, 0x77,
- 0x3e, 0xf5, 0x26, 0x4e, 0xe0, 0x9d, 0xfb, 0xc8, 0x68, 0xf2, 0xcf, 0x7f, 0xf5, 0x5d, 0x82, 0xcc,
- 0x26, 0x38, 0x77, 0xc9, 0x6c, 0xa1, 0x5f, 0xb9, 0x06, 0x9d, 0xc9, 0x74, 0x81, 0xda, 0x52, 0x6e,
- 0x8d, 0xbd, 0x75, 0x82, 0x80, 0x2c, 0x90, 0x75, 0xf2, 0x33, 0x7c, 0x9b, 0x15, 0xd7, 0x63, 0x9a,
- 0xd3, 0x70, 0xc5, 0x1a, 0x57, 0xa4, 0xbe, 0xf5, 0x61, 0x56, 0xfe, 0x0d, 0x9c, 0xec, 0x7b, 0xfa,
- 0xa7, 0x41, 0xdd, 0x17, 0xff, 0xd3, 0x30, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x80, 0xd0, 0x57,
- 0x29, 0x47, 0x08, 0x00, 0x00,
+var File_inotify_proto protoreflect.FileDescriptor
+
+var file_inotify_proto_rawDesc = []byte{
+ 0x0a, 0x0d, 0x69, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x0b, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x1a, 0x09, 0x61, 0x63,
+ 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x78, 0x61, 0x74, 0x74, 0x72, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x54, 0x0a, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e,
+ 0x32, 0x16, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45,
+ 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a,
+ 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0c,
+ 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x56, 0x0a, 0x0f, 0x45, 0x76,
+ 0x65, 0x6e, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a,
+ 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03, 0x52, 0x04, 0x74, 0x78, 0x69,
+ 0x64, 0x12, 0x2f, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e,
+ 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e,
+ 0x74, 0x73, 0x22, 0x93, 0x03, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65,
+ 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
+ 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68,
+ 0x64, 0x66, 0x73, 0x2e, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
+ 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x02, 0x28,
+ 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65,
+ 0x18, 0x03, 0x20, 0x02, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a,
+ 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09,
+ 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x67,
+ 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09,
+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x70, 0x65, 0x72,
+ 0x6d, 0x73, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
+ 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x70, 0x65, 0x72, 0x6d, 0x73, 0x12,
+ 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07,
+ 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x72, 0x67,
+ 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e,
+ 0x6b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77,
+ 0x72, 0x69, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72,
+ 0x77, 0x72, 0x69, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x3a,
+ 0x01, 0x30, 0x52, 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43,
+ 0x6f, 0x64, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x65, 0x72, 0x61, 0x73,
+ 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x64, 0x22, 0x5f, 0x0a, 0x0f, 0x43, 0x6c, 0x6f, 0x73,
+ 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70,
+ 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12,
+ 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28,
+ 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x02, 0x28, 0x03, 0x52, 0x09,
+ 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x62, 0x0a, 0x12, 0x54, 0x72, 0x75,
+ 0x6e, 0x63, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70,
+ 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18,
+ 0x02, 0x20, 0x02, 0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
+ 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x02,
+ 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x49, 0x0a,
+ 0x10, 0x41, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52,
+ 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x08,
+ 0x6e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x66, 0x0a, 0x10, 0x52, 0x65, 0x6e, 0x61,
+ 0x6d, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07,
+ 0x73, 0x72, 0x63, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x73,
+ 0x72, 0x63, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x73, 0x74, 0x50, 0x61,
+ 0x74, 0x68, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x73, 0x74, 0x50, 0x61,
+ 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18,
+ 0x03, 0x20, 0x02, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
+ 0x22, 0xaa, 0x03, 0x0a, 0x18, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a,
+ 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74,
+ 0x68, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0e, 0x32,
+ 0x1f, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x4d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65,
+ 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,
+ 0x61, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x61, 0x74, 0x69,
+ 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d,
+ 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x4e, 0x61,
+ 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x18,
+ 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65,
+ 0x12, 0x34, 0x0a, 0x05, 0x70, 0x65, 0x72, 0x6d, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x1e, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x46, 0x73,
+ 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x05, 0x70, 0x65, 0x72, 0x6d, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x61, 0x63, 0x6c, 0x73, 0x18, 0x09,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64,
+ 0x66, 0x73, 0x2e, 0x41, 0x63, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x04, 0x61, 0x63, 0x6c, 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x78, 0x41, 0x74, 0x74, 0x72, 0x73,
+ 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e,
+ 0x68, 0x64, 0x66, 0x73, 0x2e, 0x58, 0x41, 0x74, 0x74, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x06, 0x78, 0x41, 0x74, 0x74, 0x72, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x78, 0x41, 0x74, 0x74, 0x72,
+ 0x73, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d,
+ 0x78, 0x41, 0x74, 0x74, 0x72, 0x73, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x22, 0x44, 0x0a,
+ 0x10, 0x55, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52,
+ 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
+ 0x6d, 0x70, 0x18, 0x02, 0x20, 0x02, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
+ 0x61, 0x6d, 0x70, 0x22, 0xcc, 0x01, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x69,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2f, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74,
+ 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70,
+ 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73,
+ 0x74, 0x54, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x03, 0x52, 0x09, 0x66, 0x69, 0x72,
+ 0x73, 0x74, 0x54, 0x78, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x78,
+ 0x69, 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x78,
+ 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x78, 0x69, 0x64, 0x18, 0x04,
+ 0x20, 0x02, 0x28, 0x03, 0x52, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x78, 0x69, 0x64, 0x12, 0x32,
+ 0x0a, 0x05, 0x62, 0x61, 0x74, 0x63, 0x68, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
+ 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e,
+ 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x62, 0x61, 0x74,
+ 0x63, 0x68, 0x2a, 0x8c, 0x01, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45,
+ 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x4c, 0x4f, 0x53,
+ 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x50, 0x50,
+ 0x45, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x52,
+ 0x45, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x56, 0x45, 0x4e, 0x54,
+ 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x45,
+ 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x4c, 0x49, 0x4e, 0x4b, 0x10, 0x05, 0x12, 0x12, 0x0a,
+ 0x0e, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x52, 0x55, 0x4e, 0x43, 0x41, 0x54, 0x45, 0x10,
+ 0x06, 0x2a, 0x46, 0x0a, 0x09, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f,
+ 0x0a, 0x0b, 0x49, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x00, 0x12,
+ 0x14, 0x0a, 0x10, 0x49, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54,
+ 0x4f, 0x52, 0x59, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
+ 0x53, 0x59, 0x4d, 0x4c, 0x49, 0x4e, 0x4b, 0x10, 0x02, 0x2a, 0x98, 0x01, 0x0a, 0x12, 0x4d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x49,
+ 0x4d, 0x45, 0x53, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x54, 0x59,
+ 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01,
+ 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x57,
+ 0x4e, 0x45, 0x52, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x54, 0x59,
+ 0x50, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x53, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x45,
+ 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x43, 0x4c, 0x53, 0x10, 0x04, 0x12, 0x14,
+ 0x0a, 0x10, 0x4d, 0x45, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x58, 0x41, 0x54, 0x54,
+ 0x52, 0x53, 0x10, 0x05, 0x42, 0x75, 0x0a, 0x25, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63,
+ 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x0d, 0x49,
+ 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3a, 0x67, 0x69,
+ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61,
+ 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
+ 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x5f, 0x68, 0x64, 0x66, 0x73, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_inotify_proto_rawDescOnce sync.Once
+ file_inotify_proto_rawDescData = file_inotify_proto_rawDesc
+)
+
+func file_inotify_proto_rawDescGZIP() []byte {
+ file_inotify_proto_rawDescOnce.Do(func() {
+ file_inotify_proto_rawDescData = protoimpl.X.CompressGZIP(file_inotify_proto_rawDescData)
+ })
+ return file_inotify_proto_rawDescData
+}
+
+var file_inotify_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
+var file_inotify_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
+var file_inotify_proto_goTypes = []interface{}{
+ (EventType)(0), // 0: hadoop.hdfs.EventType
+ (INodeType)(0), // 1: hadoop.hdfs.INodeType
+ (MetadataUpdateType)(0), // 2: hadoop.hdfs.MetadataUpdateType
+ (*EventProto)(nil), // 3: hadoop.hdfs.EventProto
+ (*EventBatchProto)(nil), // 4: hadoop.hdfs.EventBatchProto
+ (*CreateEventProto)(nil), // 5: hadoop.hdfs.CreateEventProto
+ (*CloseEventProto)(nil), // 6: hadoop.hdfs.CloseEventProto
+ (*TruncateEventProto)(nil), // 7: hadoop.hdfs.TruncateEventProto
+ (*AppendEventProto)(nil), // 8: hadoop.hdfs.AppendEventProto
+ (*RenameEventProto)(nil), // 9: hadoop.hdfs.RenameEventProto
+ (*MetadataUpdateEventProto)(nil), // 10: hadoop.hdfs.MetadataUpdateEventProto
+ (*UnlinkEventProto)(nil), // 11: hadoop.hdfs.UnlinkEventProto
+ (*EventsListProto)(nil), // 12: hadoop.hdfs.EventsListProto
+ (*FsPermissionProto)(nil), // 13: hadoop.hdfs.FsPermissionProto
+ (*AclEntryProto)(nil), // 14: hadoop.hdfs.AclEntryProto
+ (*XAttrProto)(nil), // 15: hadoop.hdfs.XAttrProto
+}
+var file_inotify_proto_depIdxs = []int32{
+ 0, // 0: hadoop.hdfs.EventProto.type:type_name -> hadoop.hdfs.EventType
+ 3, // 1: hadoop.hdfs.EventBatchProto.events:type_name -> hadoop.hdfs.EventProto
+ 1, // 2: hadoop.hdfs.CreateEventProto.type:type_name -> hadoop.hdfs.INodeType
+ 13, // 3: hadoop.hdfs.CreateEventProto.perms:type_name -> hadoop.hdfs.FsPermissionProto
+ 2, // 4: hadoop.hdfs.MetadataUpdateEventProto.type:type_name -> hadoop.hdfs.MetadataUpdateType
+ 13, // 5: hadoop.hdfs.MetadataUpdateEventProto.perms:type_name -> hadoop.hdfs.FsPermissionProto
+ 14, // 6: hadoop.hdfs.MetadataUpdateEventProto.acls:type_name -> hadoop.hdfs.AclEntryProto
+ 15, // 7: hadoop.hdfs.MetadataUpdateEventProto.xAttrs:type_name -> hadoop.hdfs.XAttrProto
+ 3, // 8: hadoop.hdfs.EventsListProto.events:type_name -> hadoop.hdfs.EventProto
+ 4, // 9: hadoop.hdfs.EventsListProto.batch:type_name -> hadoop.hdfs.EventBatchProto
+ 10, // [10:10] is the sub-list for method output_type
+ 10, // [10:10] is the sub-list for method input_type
+ 10, // [10:10] is the sub-list for extension type_name
+ 10, // [10:10] is the sub-list for extension extendee
+ 0, // [0:10] is the sub-list for field type_name
+}
+
+func init() { file_inotify_proto_init() }
+func file_inotify_proto_init() {
+ if File_inotify_proto != nil {
+ return
+ }
+ file_acl_proto_init()
+ file_xattr_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_inotify_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*EventProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_inotify_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*EventBatchProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_inotify_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateEventProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_inotify_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CloseEventProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_inotify_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TruncateEventProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_inotify_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AppendEventProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_inotify_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RenameEventProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_inotify_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*MetadataUpdateEventProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_inotify_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UnlinkEventProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_inotify_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*EventsListProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_inotify_proto_rawDesc,
+ NumEnums: 3,
+ NumMessages: 10,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_inotify_proto_goTypes,
+ DependencyIndexes: file_inotify_proto_depIdxs,
+ EnumInfos: file_inotify_proto_enumTypes,
+ MessageInfos: file_inotify_proto_msgTypes,
+ }.Build()
+ File_inotify_proto = out.File
+ file_inotify_proto_rawDesc = nil
+ file_inotify_proto_goTypes = nil
+ file_inotify_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_hdfs/inotify.proto b/internal/protocol/hadoop_hdfs/inotify.proto
index 5339902..8c2e899 100644
--- a/internal/protocol/hadoop_hdfs/inotify.proto
+++ b/internal/protocol/hadoop_hdfs/inotify.proto
@@ -21,18 +21,18 @@
* Please see http://wiki.apache.org/hadoop/Compatibility
* for what changes are allowed for a *stable* .proto interface.
*/
-
+syntax="proto2";
// This file contains protocol buffers used to communicate edits to clients
// as part of the inotify system.
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
option java_outer_classname = "InotifyProtos";
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
package hadoop.hdfs;
import "acl.proto";
import "xattr.proto";
-import "hdfs.proto";
enum EventType {
EVENT_CREATE = 0x0;
@@ -80,6 +80,7 @@ message CreateEventProto {
optional string symlinkTarget = 8;
optional bool overwrite = 9;
optional int64 defaultBlockSize = 10 [default=0];
+ optional bool erasureCoded = 11;
}
message CloseEventProto {
diff --git a/internal/protocol/hadoop_hdfs/untitled b/internal/protocol/hadoop_hdfs/untitled
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/internal/protocol/hadoop_hdfs/untitled
diff --git a/internal/protocol/hadoop_hdfs/xattr.pb.go b/internal/protocol/hadoop_hdfs/xattr.pb.go
index 06aa8bc..d02aab5 100644
--- a/internal/protocol/hadoop_hdfs/xattr.pb.go
+++ b/internal/protocol/hadoop_hdfs/xattr.pb.go
@@ -1,16 +1,41 @@
+//*
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.19.4
// source: xattr.proto
package hadoop_hdfs
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
+import (
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
+)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
type XAttrSetFlagProto int32
@@ -19,32 +44,54 @@ const (
XAttrSetFlagProto_XATTR_REPLACE XAttrSetFlagProto = 2
)
-var XAttrSetFlagProto_name = map[int32]string{
- 1: "XATTR_CREATE",
- 2: "XATTR_REPLACE",
-}
-var XAttrSetFlagProto_value = map[string]int32{
- "XATTR_CREATE": 1,
- "XATTR_REPLACE": 2,
-}
+// Enum value maps for XAttrSetFlagProto.
+var (
+ XAttrSetFlagProto_name = map[int32]string{
+ 1: "XATTR_CREATE",
+ 2: "XATTR_REPLACE",
+ }
+ XAttrSetFlagProto_value = map[string]int32{
+ "XATTR_CREATE": 1,
+ "XATTR_REPLACE": 2,
+ }
+)
func (x XAttrSetFlagProto) Enum() *XAttrSetFlagProto {
p := new(XAttrSetFlagProto)
*p = x
return p
}
+
func (x XAttrSetFlagProto) String() string {
- return proto.EnumName(XAttrSetFlagProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (XAttrSetFlagProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_xattr_proto_enumTypes[0].Descriptor()
+}
+
+func (XAttrSetFlagProto) Type() protoreflect.EnumType {
+ return &file_xattr_proto_enumTypes[0]
+}
+
+func (x XAttrSetFlagProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
-func (x *XAttrSetFlagProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(XAttrSetFlagProto_value, data, "XAttrSetFlagProto")
+
+// Deprecated: Do not use.
+func (x *XAttrSetFlagProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = XAttrSetFlagProto(value)
+ *x = XAttrSetFlagProto(num)
return nil
}
-func (XAttrSetFlagProto) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
+
+// Deprecated: Use XAttrSetFlagProto.Descriptor instead.
+func (XAttrSetFlagProto) EnumDescriptor() ([]byte, []int) {
+ return file_xattr_proto_rawDescGZIP(), []int{0}
+}
type XAttrProto_XAttrNamespaceProto int32
@@ -56,268 +103,752 @@ const (
XAttrProto_RAW XAttrProto_XAttrNamespaceProto = 4
)
-var XAttrProto_XAttrNamespaceProto_name = map[int32]string{
- 0: "USER",
- 1: "TRUSTED",
- 2: "SECURITY",
- 3: "SYSTEM",
- 4: "RAW",
-}
-var XAttrProto_XAttrNamespaceProto_value = map[string]int32{
- "USER": 0,
- "TRUSTED": 1,
- "SECURITY": 2,
- "SYSTEM": 3,
- "RAW": 4,
-}
+// Enum value maps for XAttrProto_XAttrNamespaceProto.
+var (
+ XAttrProto_XAttrNamespaceProto_name = map[int32]string{
+ 0: "USER",
+ 1: "TRUSTED",
+ 2: "SECURITY",
+ 3: "SYSTEM",
+ 4: "RAW",
+ }
+ XAttrProto_XAttrNamespaceProto_value = map[string]int32{
+ "USER": 0,
+ "TRUSTED": 1,
+ "SECURITY": 2,
+ "SYSTEM": 3,
+ "RAW": 4,
+ }
+)
func (x XAttrProto_XAttrNamespaceProto) Enum() *XAttrProto_XAttrNamespaceProto {
p := new(XAttrProto_XAttrNamespaceProto)
*p = x
return p
}
+
func (x XAttrProto_XAttrNamespaceProto) String() string {
- return proto.EnumName(XAttrProto_XAttrNamespaceProto_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
-func (x *XAttrProto_XAttrNamespaceProto) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(XAttrProto_XAttrNamespaceProto_value, data, "XAttrProto_XAttrNamespaceProto")
+
+func (XAttrProto_XAttrNamespaceProto) Descriptor() protoreflect.EnumDescriptor {
+ return file_xattr_proto_enumTypes[1].Descriptor()
+}
+
+func (XAttrProto_XAttrNamespaceProto) Type() protoreflect.EnumType {
+ return &file_xattr_proto_enumTypes[1]
+}
+
+func (x XAttrProto_XAttrNamespaceProto) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *XAttrProto_XAttrNamespaceProto) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = XAttrProto_XAttrNamespaceProto(value)
+ *x = XAttrProto_XAttrNamespaceProto(num)
return nil
}
+
+// Deprecated: Use XAttrProto_XAttrNamespaceProto.Descriptor instead.
func (XAttrProto_XAttrNamespaceProto) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor1, []int{0, 0}
+ return file_xattr_proto_rawDescGZIP(), []int{0, 0}
}
type XAttrProto struct {
- Namespace *XAttrProto_XAttrNamespaceProto `protobuf:"varint,1,req,name=namespace,enum=hadoop.hdfs.XAttrProto_XAttrNamespaceProto" json:"namespace,omitempty"`
- Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
- Value []byte `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Namespace *XAttrProto_XAttrNamespaceProto `protobuf:"varint,1,req,name=namespace,enum=hadoop.hdfs.XAttrProto_XAttrNamespaceProto" json:"namespace,omitempty"`
+ Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
+ Value []byte `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
}
-func (m *XAttrProto) Reset() { *m = XAttrProto{} }
-func (m *XAttrProto) String() string { return proto.CompactTextString(m) }
-func (*XAttrProto) ProtoMessage() {}
-func (*XAttrProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
+func (x *XAttrProto) Reset() {
+ *x = XAttrProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_xattr_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *XAttrProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*XAttrProto) ProtoMessage() {}
-func (m *XAttrProto) GetNamespace() XAttrProto_XAttrNamespaceProto {
- if m != nil && m.Namespace != nil {
- return *m.Namespace
+func (x *XAttrProto) ProtoReflect() protoreflect.Message {
+ mi := &file_xattr_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use XAttrProto.ProtoReflect.Descriptor instead.
+func (*XAttrProto) Descriptor() ([]byte, []int) {
+ return file_xattr_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *XAttrProto) GetNamespace() XAttrProto_XAttrNamespaceProto {
+ if x != nil && x.Namespace != nil {
+ return *x.Namespace
}
return XAttrProto_USER
}
-func (m *XAttrProto) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
+func (x *XAttrProto) GetName() string {
+ if x != nil && x.Name != nil {
+ return *x.Name
}
return ""
}
-func (m *XAttrProto) GetValue() []byte {
- if m != nil {
- return m.Value
+func (x *XAttrProto) GetValue() []byte {
+ if x != nil {
+ return x.Value
}
return nil
}
type SetXAttrRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XAttr *XAttrProto `protobuf:"bytes,2,opt,name=xAttr" json:"xAttr,omitempty"`
- Flag *uint32 `protobuf:"varint,3,opt,name=flag" json:"flag,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ XAttr *XAttrProto `protobuf:"bytes,2,opt,name=xAttr" json:"xAttr,omitempty"`
+ Flag *uint32 `protobuf:"varint,3,opt,name=flag" json:"flag,omitempty"` //bits set using XAttrSetFlagProto
+}
+
+func (x *SetXAttrRequestProto) Reset() {
+ *x = SetXAttrRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_xattr_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetXAttrRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *SetXAttrRequestProto) Reset() { *m = SetXAttrRequestProto{} }
-func (m *SetXAttrRequestProto) String() string { return proto.CompactTextString(m) }
-func (*SetXAttrRequestProto) ProtoMessage() {}
-func (*SetXAttrRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
+func (*SetXAttrRequestProto) ProtoMessage() {}
-func (m *SetXAttrRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *SetXAttrRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_xattr_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SetXAttrRequestProto.ProtoReflect.Descriptor instead.
+func (*SetXAttrRequestProto) Descriptor() ([]byte, []int) {
+ return file_xattr_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *SetXAttrRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *SetXAttrRequestProto) GetXAttr() *XAttrProto {
- if m != nil {
- return m.XAttr
+func (x *SetXAttrRequestProto) GetXAttr() *XAttrProto {
+ if x != nil {
+ return x.XAttr
}
return nil
}
-func (m *SetXAttrRequestProto) GetFlag() uint32 {
- if m != nil && m.Flag != nil {
- return *m.Flag
+func (x *SetXAttrRequestProto) GetFlag() uint32 {
+ if x != nil && x.Flag != nil {
+ return *x.Flag
}
return 0
}
type SetXAttrResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *SetXAttrResponseProto) Reset() {
+ *x = SetXAttrResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_xattr_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetXAttrResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetXAttrResponseProto) ProtoMessage() {}
+
+func (x *SetXAttrResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_xattr_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *SetXAttrResponseProto) Reset() { *m = SetXAttrResponseProto{} }
-func (m *SetXAttrResponseProto) String() string { return proto.CompactTextString(m) }
-func (*SetXAttrResponseProto) ProtoMessage() {}
-func (*SetXAttrResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
+// Deprecated: Use SetXAttrResponseProto.ProtoReflect.Descriptor instead.
+func (*SetXAttrResponseProto) Descriptor() ([]byte, []int) {
+ return file_xattr_proto_rawDescGZIP(), []int{2}
+}
type GetXAttrsRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XAttrs []*XAttrProto `protobuf:"bytes,2,rep,name=xAttrs" json:"xAttrs,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ XAttrs []*XAttrProto `protobuf:"bytes,2,rep,name=xAttrs" json:"xAttrs,omitempty"`
}
-func (m *GetXAttrsRequestProto) Reset() { *m = GetXAttrsRequestProto{} }
-func (m *GetXAttrsRequestProto) String() string { return proto.CompactTextString(m) }
-func (*GetXAttrsRequestProto) ProtoMessage() {}
-func (*GetXAttrsRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
+func (x *GetXAttrsRequestProto) Reset() {
+ *x = GetXAttrsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_xattr_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetXAttrsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetXAttrsRequestProto) ProtoMessage() {}
+
+func (x *GetXAttrsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_xattr_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetXAttrsRequestProto.ProtoReflect.Descriptor instead.
+func (*GetXAttrsRequestProto) Descriptor() ([]byte, []int) {
+ return file_xattr_proto_rawDescGZIP(), []int{3}
+}
-func (m *GetXAttrsRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *GetXAttrsRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *GetXAttrsRequestProto) GetXAttrs() []*XAttrProto {
- if m != nil {
- return m.XAttrs
+func (x *GetXAttrsRequestProto) GetXAttrs() []*XAttrProto {
+ if x != nil {
+ return x.XAttrs
}
return nil
}
type GetXAttrsResponseProto struct {
- XAttrs []*XAttrProto `protobuf:"bytes,1,rep,name=xAttrs" json:"xAttrs,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ XAttrs []*XAttrProto `protobuf:"bytes,1,rep,name=xAttrs" json:"xAttrs,omitempty"`
+}
+
+func (x *GetXAttrsResponseProto) Reset() {
+ *x = GetXAttrsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_xattr_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *GetXAttrsResponseProto) Reset() { *m = GetXAttrsResponseProto{} }
-func (m *GetXAttrsResponseProto) String() string { return proto.CompactTextString(m) }
-func (*GetXAttrsResponseProto) ProtoMessage() {}
-func (*GetXAttrsResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
+func (x *GetXAttrsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetXAttrsResponseProto) ProtoMessage() {}
-func (m *GetXAttrsResponseProto) GetXAttrs() []*XAttrProto {
- if m != nil {
- return m.XAttrs
+func (x *GetXAttrsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_xattr_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetXAttrsResponseProto.ProtoReflect.Descriptor instead.
+func (*GetXAttrsResponseProto) Descriptor() ([]byte, []int) {
+ return file_xattr_proto_rawDescGZIP(), []int{4}
+}
+
+func (x *GetXAttrsResponseProto) GetXAttrs() []*XAttrProto {
+ if x != nil {
+ return x.XAttrs
}
return nil
}
type ListXAttrsRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+}
+
+func (x *ListXAttrsRequestProto) Reset() {
+ *x = ListXAttrsRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_xattr_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ListXAttrsRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListXAttrsRequestProto) ProtoMessage() {}
+
+func (x *ListXAttrsRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_xattr_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
}
-func (m *ListXAttrsRequestProto) Reset() { *m = ListXAttrsRequestProto{} }
-func (m *ListXAttrsRequestProto) String() string { return proto.CompactTextString(m) }
-func (*ListXAttrsRequestProto) ProtoMessage() {}
-func (*ListXAttrsRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }
+// Deprecated: Use ListXAttrsRequestProto.ProtoReflect.Descriptor instead.
+func (*ListXAttrsRequestProto) Descriptor() ([]byte, []int) {
+ return file_xattr_proto_rawDescGZIP(), []int{5}
+}
-func (m *ListXAttrsRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *ListXAttrsRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
type ListXAttrsResponseProto struct {
- XAttrs []*XAttrProto `protobuf:"bytes,1,rep,name=xAttrs" json:"xAttrs,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ XAttrs []*XAttrProto `protobuf:"bytes,1,rep,name=xAttrs" json:"xAttrs,omitempty"`
+}
+
+func (x *ListXAttrsResponseProto) Reset() {
+ *x = ListXAttrsResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_xattr_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ListXAttrsResponseProto) Reset() { *m = ListXAttrsResponseProto{} }
-func (m *ListXAttrsResponseProto) String() string { return proto.CompactTextString(m) }
-func (*ListXAttrsResponseProto) ProtoMessage() {}
-func (*ListXAttrsResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} }
+func (x *ListXAttrsResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ListXAttrsResponseProto) ProtoMessage() {}
+
+func (x *ListXAttrsResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_xattr_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ListXAttrsResponseProto.ProtoReflect.Descriptor instead.
+func (*ListXAttrsResponseProto) Descriptor() ([]byte, []int) {
+ return file_xattr_proto_rawDescGZIP(), []int{6}
+}
-func (m *ListXAttrsResponseProto) GetXAttrs() []*XAttrProto {
- if m != nil {
- return m.XAttrs
+func (x *ListXAttrsResponseProto) GetXAttrs() []*XAttrProto {
+ if x != nil {
+ return x.XAttrs
}
return nil
}
type RemoveXAttrRequestProto struct {
- Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
- XAttr *XAttrProto `protobuf:"bytes,2,opt,name=xAttr" json:"xAttr,omitempty"`
- XXX_unrecognized []byte `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Src *string `protobuf:"bytes,1,req,name=src" json:"src,omitempty"`
+ XAttr *XAttrProto `protobuf:"bytes,2,opt,name=xAttr" json:"xAttr,omitempty"`
+}
+
+func (x *RemoveXAttrRequestProto) Reset() {
+ *x = RemoveXAttrRequestProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_xattr_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RemoveXAttrRequestProto) Reset() { *m = RemoveXAttrRequestProto{} }
-func (m *RemoveXAttrRequestProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveXAttrRequestProto) ProtoMessage() {}
-func (*RemoveXAttrRequestProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} }
+func (x *RemoveXAttrRequestProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveXAttrRequestProto) ProtoMessage() {}
-func (m *RemoveXAttrRequestProto) GetSrc() string {
- if m != nil && m.Src != nil {
- return *m.Src
+func (x *RemoveXAttrRequestProto) ProtoReflect() protoreflect.Message {
+ mi := &file_xattr_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveXAttrRequestProto.ProtoReflect.Descriptor instead.
+func (*RemoveXAttrRequestProto) Descriptor() ([]byte, []int) {
+ return file_xattr_proto_rawDescGZIP(), []int{7}
+}
+
+func (x *RemoveXAttrRequestProto) GetSrc() string {
+ if x != nil && x.Src != nil {
+ return *x.Src
}
return ""
}
-func (m *RemoveXAttrRequestProto) GetXAttr() *XAttrProto {
- if m != nil {
- return m.XAttr
+func (x *RemoveXAttrRequestProto) GetXAttr() *XAttrProto {
+ if x != nil {
+ return x.XAttr
}
return nil
}
type RemoveXAttrResponseProto struct {
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *RemoveXAttrResponseProto) Reset() { *m = RemoveXAttrResponseProto{} }
-func (m *RemoveXAttrResponseProto) String() string { return proto.CompactTextString(m) }
-func (*RemoveXAttrResponseProto) ProtoMessage() {}
-func (*RemoveXAttrResponseProto) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} }
-
-func init() {
- proto.RegisterType((*XAttrProto)(nil), "hadoop.hdfs.XAttrProto")
- proto.RegisterType((*SetXAttrRequestProto)(nil), "hadoop.hdfs.SetXAttrRequestProto")
- proto.RegisterType((*SetXAttrResponseProto)(nil), "hadoop.hdfs.SetXAttrResponseProto")
- proto.RegisterType((*GetXAttrsRequestProto)(nil), "hadoop.hdfs.GetXAttrsRequestProto")
- proto.RegisterType((*GetXAttrsResponseProto)(nil), "hadoop.hdfs.GetXAttrsResponseProto")
- proto.RegisterType((*ListXAttrsRequestProto)(nil), "hadoop.hdfs.ListXAttrsRequestProto")
- proto.RegisterType((*ListXAttrsResponseProto)(nil), "hadoop.hdfs.ListXAttrsResponseProto")
- proto.RegisterType((*RemoveXAttrRequestProto)(nil), "hadoop.hdfs.RemoveXAttrRequestProto")
- proto.RegisterType((*RemoveXAttrResponseProto)(nil), "hadoop.hdfs.RemoveXAttrResponseProto")
- proto.RegisterEnum("hadoop.hdfs.XAttrSetFlagProto", XAttrSetFlagProto_name, XAttrSetFlagProto_value)
- proto.RegisterEnum("hadoop.hdfs.XAttrProto_XAttrNamespaceProto", XAttrProto_XAttrNamespaceProto_name, XAttrProto_XAttrNamespaceProto_value)
-}
-
-func init() { proto.RegisterFile("xattr.proto", fileDescriptor1) }
-
-var fileDescriptor1 = []byte{
- // 408 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xdf, 0x6e, 0xd3, 0x30,
- 0x18, 0xc5, 0x71, 0xd2, 0xfd, 0xe9, 0x97, 0x0e, 0x79, 0x66, 0x5b, 0x22, 0xae, 0x22, 0x4b, 0x48,
- 0xd1, 0x10, 0x41, 0xda, 0x0d, 0xdc, 0x66, 0xc5, 0xa0, 0xa2, 0x01, 0x93, 0x93, 0x8a, 0x6d, 0x37,
- 0xc8, 0xca, 0xbc, 0x16, 0x91, 0xd5, 0x21, 0x76, 0xab, 0x3e, 0x0e, 0xcf, 0xc4, 0x13, 0xa1, 0x38,
- 0xad, 0x92, 0x4a, 0xfc, 0xa9, 0xc4, 0xee, 0x8e, 0x3f, 0x9f, 0x9c, 0xf3, 0xfb, 0x14, 0x19, 0xbc,
- 0xa5, 0x30, 0xa6, 0x8a, 0xcb, 0x4a, 0x19, 0x45, 0xbc, 0xa9, 0xb8, 0x55, 0xaa, 0x8c, 0xa7, 0xb7,
- 0x77, 0x9a, 0xfe, 0x44, 0x00, 0x57, 0x89, 0x31, 0xd5, 0xa5, 0xbd, 0x1b, 0x41, 0x7f, 0x26, 0xee,
- 0xa5, 0x2e, 0x45, 0x2e, 0x03, 0x14, 0x3a, 0xd1, 0xe3, 0xb3, 0xe7, 0x71, 0xc7, 0x1f, 0xb7, 0xde,
- 0x46, 0x7e, 0x5c, 0xbb, 0xed, 0x8c, 0xb7, 0x5f, 0x13, 0x02, 0xbd, 0xfa, 0x10, 0x38, 0xa1, 0x13,
- 0xf5, 0xb9, 0xd5, 0xe4, 0x08, 0x76, 0x16, 0xa2, 0x98, 0xcb, 0xc0, 0x0d, 0x51, 0x34, 0xe0, 0xcd,
- 0x81, 0x7e, 0x82, 0x27, 0xbf, 0xc9, 0x22, 0xfb, 0xd0, 0x1b, 0xa7, 0x8c, 0xe3, 0x47, 0xc4, 0x83,
- 0xbd, 0x8c, 0x8f, 0xd3, 0x8c, 0xbd, 0xc1, 0x88, 0x0c, 0x60, 0x3f, 0x65, 0xc3, 0x31, 0x1f, 0x65,
- 0xd7, 0xd8, 0x21, 0x00, 0xbb, 0xe9, 0x75, 0x9a, 0xb1, 0x0f, 0xd8, 0x25, 0x7b, 0xe0, 0xf2, 0xe4,
- 0x33, 0xee, 0xd1, 0x6f, 0x70, 0x94, 0x4a, 0x63, 0x33, 0xb9, 0xfc, 0x3e, 0x97, 0xda, 0x34, 0x89,
- 0x18, 0x5c, 0x5d, 0xe5, 0x76, 0xaf, 0x3e, 0xaf, 0x25, 0x79, 0x01, 0x3b, 0xcb, 0xda, 0x16, 0x38,
- 0x21, 0x8a, 0xbc, 0x33, 0xff, 0x0f, 0xbb, 0xf2, 0xc6, 0x55, 0xef, 0x74, 0x57, 0x88, 0x89, 0xc5,
- 0x3f, 0xe0, 0x56, 0x53, 0x1f, 0x8e, 0xdb, 0x32, 0x5d, 0xaa, 0x99, 0x6e, 0xf8, 0xe9, 0x0d, 0x1c,
- 0xbf, 0x5b, 0x5d, 0xe8, 0x7f, 0x60, 0xbc, 0x84, 0x5d, 0x5b, 0xa0, 0x03, 0x27, 0x74, 0xff, 0xc6,
- 0xb1, 0xb2, 0xd1, 0x11, 0x9c, 0x74, 0xb2, 0x3b, 0xad, 0x9d, 0x28, 0xb4, 0x5d, 0xd4, 0x29, 0x9c,
- 0x5c, 0x7c, 0xd5, 0x5b, 0x71, 0xd2, 0xf7, 0xe0, 0x77, 0xbd, 0xff, 0xd5, 0x7b, 0x03, 0x3e, 0x97,
- 0xf7, 0x6a, 0x21, 0x1f, 0xfe, 0x3f, 0xd1, 0xa7, 0x10, 0x6c, 0x64, 0x77, 0x40, 0x4f, 0x5f, 0xc3,
- 0xa1, 0x9d, 0xa6, 0xd2, 0xbc, 0x2d, 0xc4, 0x64, 0xdd, 0x38, 0xb8, 0x4a, 0xb2, 0x8c, 0x7f, 0x19,
- 0x72, 0x96, 0x64, 0x0c, 0x23, 0x72, 0x08, 0x07, 0xcd, 0x84, 0xb3, 0xcb, 0x8b, 0x64, 0xc8, 0xb0,
- 0x73, 0xfe, 0x0a, 0x9e, 0xa9, 0x6a, 0x12, 0x8b, 0x52, 0xe4, 0x53, 0xb9, 0x41, 0x60, 0x1f, 0x56,
- 0xae, 0x8a, 0x46, 0x9c, 0x7b, 0x2d, 0x91, 0xfe, 0x81, 0xd0, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff,
- 0x56, 0x91, 0x13, 0x1d, 0x7f, 0x03, 0x00, 0x00,
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+}
+
+func (x *RemoveXAttrResponseProto) Reset() {
+ *x = RemoveXAttrResponseProto{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_xattr_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *RemoveXAttrResponseProto) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RemoveXAttrResponseProto) ProtoMessage() {}
+
+func (x *RemoveXAttrResponseProto) ProtoReflect() protoreflect.Message {
+ mi := &file_xattr_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use RemoveXAttrResponseProto.ProtoReflect.Descriptor instead.
+func (*RemoveXAttrResponseProto) Descriptor() ([]byte, []int) {
+ return file_xattr_proto_rawDescGZIP(), []int{8}
+}
+
+var File_xattr_proto protoreflect.FileDescriptor
+
+var file_xattr_proto_rawDesc = []byte{
+ 0x0a, 0x0b, 0x78, 0x61, 0x74, 0x74, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x0a, 0x58,
+ 0x41, 0x74, 0x74, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x49, 0x0a, 0x09, 0x6e, 0x61, 0x6d,
+ 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x68,
+ 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x58, 0x41, 0x74, 0x74, 0x72,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x58, 0x41, 0x74, 0x74, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73,
+ 0x70, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73,
+ 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02,
+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4f,
+ 0x0a, 0x13, 0x58, 0x41, 0x74, 0x74, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x00, 0x12,
+ 0x0b, 0x0a, 0x07, 0x54, 0x52, 0x55, 0x53, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,
+ 0x53, 0x45, 0x43, 0x55, 0x52, 0x49, 0x54, 0x59, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59,
+ 0x53, 0x54, 0x45, 0x4d, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x41, 0x57, 0x10, 0x04, 0x22,
+ 0x6b, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x58, 0x41, 0x74, 0x74, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01,
+ 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x12, 0x2d, 0x0a, 0x05, 0x78, 0x41, 0x74,
+ 0x74, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f,
+ 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x58, 0x41, 0x74, 0x74, 0x72, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x52, 0x05, 0x78, 0x41, 0x74, 0x74, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x61, 0x67,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x22, 0x17, 0x0a, 0x15,
+ 0x53, 0x65, 0x74, 0x58, 0x41, 0x74, 0x74, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x58, 0x41, 0x74, 0x74,
+ 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10,
+ 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63,
+ 0x12, 0x2f, 0x0a, 0x06, 0x78, 0x41, 0x74, 0x74, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x58,
+ 0x41, 0x74, 0x74, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x78, 0x41, 0x74, 0x74, 0x72,
+ 0x73, 0x22, 0x49, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x58, 0x41, 0x74, 0x74, 0x72, 0x73, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2f, 0x0a, 0x06, 0x78,
+ 0x41, 0x74, 0x74, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61,
+ 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x58, 0x41, 0x74, 0x74, 0x72, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x78, 0x41, 0x74, 0x74, 0x72, 0x73, 0x22, 0x2a, 0x0a, 0x16,
+ 0x4c, 0x69, 0x73, 0x74, 0x58, 0x41, 0x74, 0x74, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20,
+ 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72, 0x63, 0x22, 0x4a, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74,
+ 0x58, 0x41, 0x74, 0x74, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x2f, 0x0a, 0x06, 0x78, 0x41, 0x74, 0x74, 0x72, 0x73, 0x18, 0x01, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66,
+ 0x73, 0x2e, 0x58, 0x41, 0x74, 0x74, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x78, 0x41,
+ 0x74, 0x74, 0x72, 0x73, 0x22, 0x5a, 0x0a, 0x17, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x58, 0x41,
+ 0x74, 0x74, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x10, 0x0a, 0x03, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x73, 0x72,
+ 0x63, 0x12, 0x2d, 0x0a, 0x05, 0x78, 0x41, 0x74, 0x74, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x17, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73, 0x2e, 0x58,
+ 0x41, 0x74, 0x74, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x78, 0x41, 0x74, 0x74, 0x72,
+ 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x58, 0x41, 0x74, 0x74, 0x72, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2a, 0x38, 0x0a, 0x11,
+ 0x58, 0x41, 0x74, 0x74, 0x72, 0x53, 0x65, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x10, 0x0a, 0x0c, 0x58, 0x41, 0x54, 0x54, 0x52, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54,
+ 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x58, 0x41, 0x54, 0x54, 0x52, 0x5f, 0x52, 0x45, 0x50,
+ 0x4c, 0x41, 0x43, 0x45, 0x10, 0x02, 0x42, 0x73, 0x0a, 0x25, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70,
+ 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x64, 0x66, 0x73,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42,
+ 0x0b, 0x58, 0x41, 0x74, 0x74, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x3a, 0x67, 0x69,
+ 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6c, 0x69, 0x6e, 0x6d, 0x61,
+ 0x72, 0x63, 0x2f, 0x68, 0x64, 0x66, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
+ 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x68, 0x61, 0x64,
+ 0x6f, 0x6f, 0x70, 0x5f, 0x68, 0x64, 0x66, 0x73, 0xa0, 0x01, 0x01,
+}
+
+var (
+ file_xattr_proto_rawDescOnce sync.Once
+ file_xattr_proto_rawDescData = file_xattr_proto_rawDesc
+)
+
+func file_xattr_proto_rawDescGZIP() []byte {
+ file_xattr_proto_rawDescOnce.Do(func() {
+ file_xattr_proto_rawDescData = protoimpl.X.CompressGZIP(file_xattr_proto_rawDescData)
+ })
+ return file_xattr_proto_rawDescData
+}
+
+var file_xattr_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
+var file_xattr_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
+var file_xattr_proto_goTypes = []interface{}{
+ (XAttrSetFlagProto)(0), // 0: hadoop.hdfs.XAttrSetFlagProto
+ (XAttrProto_XAttrNamespaceProto)(0), // 1: hadoop.hdfs.XAttrProto.XAttrNamespaceProto
+ (*XAttrProto)(nil), // 2: hadoop.hdfs.XAttrProto
+ (*SetXAttrRequestProto)(nil), // 3: hadoop.hdfs.SetXAttrRequestProto
+ (*SetXAttrResponseProto)(nil), // 4: hadoop.hdfs.SetXAttrResponseProto
+ (*GetXAttrsRequestProto)(nil), // 5: hadoop.hdfs.GetXAttrsRequestProto
+ (*GetXAttrsResponseProto)(nil), // 6: hadoop.hdfs.GetXAttrsResponseProto
+ (*ListXAttrsRequestProto)(nil), // 7: hadoop.hdfs.ListXAttrsRequestProto
+ (*ListXAttrsResponseProto)(nil), // 8: hadoop.hdfs.ListXAttrsResponseProto
+ (*RemoveXAttrRequestProto)(nil), // 9: hadoop.hdfs.RemoveXAttrRequestProto
+ (*RemoveXAttrResponseProto)(nil), // 10: hadoop.hdfs.RemoveXAttrResponseProto
+}
+var file_xattr_proto_depIdxs = []int32{
+ 1, // 0: hadoop.hdfs.XAttrProto.namespace:type_name -> hadoop.hdfs.XAttrProto.XAttrNamespaceProto
+ 2, // 1: hadoop.hdfs.SetXAttrRequestProto.xAttr:type_name -> hadoop.hdfs.XAttrProto
+ 2, // 2: hadoop.hdfs.GetXAttrsRequestProto.xAttrs:type_name -> hadoop.hdfs.XAttrProto
+ 2, // 3: hadoop.hdfs.GetXAttrsResponseProto.xAttrs:type_name -> hadoop.hdfs.XAttrProto
+ 2, // 4: hadoop.hdfs.ListXAttrsResponseProto.xAttrs:type_name -> hadoop.hdfs.XAttrProto
+ 2, // 5: hadoop.hdfs.RemoveXAttrRequestProto.xAttr:type_name -> hadoop.hdfs.XAttrProto
+ 6, // [6:6] is the sub-list for method output_type
+ 6, // [6:6] is the sub-list for method input_type
+ 6, // [6:6] is the sub-list for extension type_name
+ 6, // [6:6] is the sub-list for extension extendee
+ 0, // [0:6] is the sub-list for field type_name
+}
+
+func init() { file_xattr_proto_init() }
+func file_xattr_proto_init() {
+ if File_xattr_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_xattr_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*XAttrProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_xattr_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetXAttrRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_xattr_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetXAttrResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_xattr_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetXAttrsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_xattr_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetXAttrsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_xattr_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListXAttrsRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_xattr_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListXAttrsResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_xattr_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveXAttrRequestProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_xattr_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveXAttrResponseProto); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_xattr_proto_rawDesc,
+ NumEnums: 2,
+ NumMessages: 9,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_xattr_proto_goTypes,
+ DependencyIndexes: file_xattr_proto_depIdxs,
+ EnumInfos: file_xattr_proto_enumTypes,
+ MessageInfos: file_xattr_proto_msgTypes,
+ }.Build()
+ File_xattr_proto = out.File
+ file_xattr_proto_rawDesc = nil
+ file_xattr_proto_goTypes = nil
+ file_xattr_proto_depIdxs = nil
}
diff --git a/internal/protocol/hadoop_hdfs/xattr.proto b/internal/protocol/hadoop_hdfs/xattr.proto
index 6c8b5eb..122c86c 100644
--- a/internal/protocol/hadoop_hdfs/xattr.proto
+++ b/internal/protocol/hadoop_hdfs/xattr.proto
@@ -15,10 +15,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+syntax="proto2";
option java_package = "org.apache.hadoop.hdfs.protocol.proto";
option java_outer_classname = "XAttrProtos";
option java_generate_equals_and_hash = true;
+option go_package = "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs";
package hadoop.hdfs;
message XAttrProto {
diff --git a/internal/rpc/namenode.go b/internal/rpc/namenode.go
index db9d63f..7bea1b4 100644
--- a/internal/rpc/namenode.go
+++ b/internal/rpc/namenode.go
@@ -10,8 +10,8 @@ import (
hadoop "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
krb "github.com/jcmturner/gokrb5/v8/client"
+ "google.golang.org/protobuf/proto"
)
const (
diff --git a/internal/rpc/rpc.go b/internal/rpc/rpc.go
index 2ea8eed..62182a0 100644
--- a/internal/rpc/rpc.go
+++ b/internal/rpc/rpc.go
@@ -9,7 +9,7 @@ import (
"math/rand"
"time"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
var errInvalidResponse = errors.New("invalid response from namenode")
diff --git a/internal/rpc/sasl_transport.go b/internal/rpc/sasl_transport.go
index 560037a..236c04c 100644
--- a/internal/rpc/sasl_transport.go
+++ b/internal/rpc/sasl_transport.go
@@ -6,11 +6,11 @@ import (
"io"
hadoop "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
- "github.com/golang/protobuf/proto"
"github.com/jcmturner/gokrb5/v8/crypto"
"github.com/jcmturner/gokrb5/v8/gssapi"
"github.com/jcmturner/gokrb5/v8/iana/keyusage"
krbtypes "github.com/jcmturner/gokrb5/v8/types"
+ "google.golang.org/protobuf/proto"
)
// saslTransport implements encrypted or signed RPC.
diff --git a/internal/rpc/transport.go b/internal/rpc/transport.go
index 1600a1c..3458ad4 100644
--- a/internal/rpc/transport.go
+++ b/internal/rpc/transport.go
@@ -5,7 +5,7 @@ import (
"io"
hadoop "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
var errUnexpectedSequenceNumber = errors.New("unexpected sequence number")
diff --git a/internal/transfer/block_read_stream.go b/internal/transfer/block_read_stream.go
index f716293..643e0a0 100644
--- a/internal/transfer/block_read_stream.go
+++ b/internal/transfer/block_read_stream.go
@@ -9,7 +9,7 @@ import (
"math"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
var errInvalidChecksum = errors.New("invalid checksum")
diff --git a/internal/transfer/block_reader.go b/internal/transfer/block_reader.go
index 0d5b703..7f07f9b 100644
--- a/internal/transfer/block_reader.go
+++ b/internal/transfer/block_reader.go
@@ -11,7 +11,7 @@ import (
"time"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
// BlockReader implements io.ReadCloser, for reading a block. It abstracts over
diff --git a/internal/transfer/block_write_stream.go b/internal/transfer/block_write_stream.go
index 0f47cb0..f657dde 100644
--- a/internal/transfer/block_write_stream.go
+++ b/internal/transfer/block_write_stream.go
@@ -13,7 +13,7 @@ import (
"time"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
const (
diff --git a/internal/transfer/block_writer.go b/internal/transfer/block_writer.go
index f57ed4f..6de77a0 100644
--- a/internal/transfer/block_writer.go
+++ b/internal/transfer/block_writer.go
@@ -9,7 +9,7 @@ import (
"time"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
var ErrEndOfBlock = errors.New("end of block")
diff --git a/internal/transfer/checksum_reader.go b/internal/transfer/checksum_reader.go
index 391acc2..ab46d2c 100644
--- a/internal/transfer/checksum_reader.go
+++ b/internal/transfer/checksum_reader.go
@@ -91,7 +91,7 @@ func (cr *ChecksumReader) readChecksum(address string) ([]byte, error) {
return nil, err
}
- return resp.GetChecksumResponse().GetMd5(), nil
+ return resp.GetChecksumResponse().GetBlockChecksum(), nil
}
// A checksum request to a datanode:
diff --git a/internal/transfer/digest_md5_test.go b/internal/transfer/digest_md5_test.go
index a67d5fa..8d6551a 100644
--- a/internal/transfer/digest_md5_test.go
+++ b/internal/transfer/digest_md5_test.go
@@ -6,9 +6,9 @@ import (
"testing"
"time"
- "github.com/golang/protobuf/proto"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
+ "google.golang.org/protobuf/proto"
hadoop "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
diff --git a/internal/transfer/sasl_dialer.go b/internal/transfer/sasl_dialer.go
index 9d7ee00..5a7ed92 100644
--- a/internal/transfer/sasl_dialer.go
+++ b/internal/transfer/sasl_dialer.go
@@ -7,7 +7,7 @@ import (
"fmt"
"net"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
hadoop "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_common"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
diff --git a/internal/transfer/transfer.go b/internal/transfer/transfer.go
index a29bb4f..2d96cc8 100644
--- a/internal/transfer/transfer.go
+++ b/internal/transfer/transfer.go
@@ -8,7 +8,7 @@ import (
"io"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
const (
diff --git a/mkdir.go b/mkdir.go
index 846960b..b9a0f62 100644
--- a/mkdir.go
+++ b/mkdir.go
@@ -5,7 +5,7 @@ import (
"path"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
// Mkdir creates a new directory with the specified name and permission bits.
diff --git a/perms.go b/perms.go
index 70309f9..707ac4f 100644
--- a/perms.go
+++ b/perms.go
@@ -5,7 +5,7 @@ import (
"time"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
// Chmod changes the mode of the named file to mode.
diff --git a/remove.go b/remove.go
index 2833d0c..bb1039b 100644
--- a/remove.go
+++ b/remove.go
@@ -5,7 +5,7 @@ import (
"os"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
// Remove removes the named file or (empty) directory.
diff --git a/rename.go b/rename.go
index e40cd31..9520595 100644
--- a/rename.go
+++ b/rename.go
@@ -4,7 +4,7 @@ import (
"os"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
// Rename renames (moves) a file.
diff --git a/stat.go b/stat.go
index 50e5277..5ecc597 100644
--- a/stat.go
+++ b/stat.go
@@ -6,7 +6,7 @@ import (
"time"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
// FileInfo implements os.FileInfo, and provides information about a file or
diff --git a/xattr.go b/xattr.go
index 29e6fdd..900b914 100644
--- a/xattr.go
+++ b/xattr.go
@@ -7,7 +7,7 @@ import (
"strings"
hdfs "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs"
- "github.com/golang/protobuf/proto"
+ "google.golang.org/protobuf/proto"
)
var errXAttrKeysNotFound = errors.New("one or more keys not found")