github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/swarmkit/api/types.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: github.com/docker/swarmkit/api/types.proto
     3  
     4  package api
     5  
     6  import (
     7  	encoding_binary "encoding/binary"
     8  	fmt "fmt"
     9  	github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy"
    10  	_ "github.com/gogo/protobuf/gogoproto"
    11  	proto "github.com/gogo/protobuf/proto"
    12  	github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
    13  	github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
    14  	types "github.com/gogo/protobuf/types"
    15  	io "io"
    16  	math "math"
    17  	os "os"
    18  	reflect "reflect"
    19  	strings "strings"
    20  	time "time"
    21  )
    22  
    23  // Reference imports to suppress errors if they are not otherwise used.
    24  var _ = proto.Marshal
    25  var _ = fmt.Errorf
    26  var _ = math.Inf
    27  var _ = time.Kitchen
    28  
    29  // This is a compile-time assertion to ensure that this generated file
    30  // is compatible with the proto package it is being compiled against.
    31  // A compilation error at this line likely means your copy of the
    32  // proto package needs to be updated.
    33  const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
    34  
    35  type ResourceType int32
    36  
    37  const (
    38  	ResourceType_TASK   ResourceType = 0
    39  	ResourceType_SECRET ResourceType = 1
    40  	ResourceType_CONFIG ResourceType = 2
    41  )
    42  
    43  var ResourceType_name = map[int32]string{
    44  	0: "TASK",
    45  	1: "SECRET",
    46  	2: "CONFIG",
    47  }
    48  
    49  var ResourceType_value = map[string]int32{
    50  	"TASK":   0,
    51  	"SECRET": 1,
    52  	"CONFIG": 2,
    53  }
    54  
    55  func (x ResourceType) String() string {
    56  	return proto.EnumName(ResourceType_name, int32(x))
    57  }
    58  
    59  func (ResourceType) EnumDescriptor() ([]byte, []int) {
    60  	return fileDescriptor_0b5eafd0404ded3d, []int{0}
    61  }
    62  
    63  // Only the manager create a NEW task, and move the task to PENDING and ASSIGNED.
    64  // Afterward, the manager must rely on the agent to update the task status
    65  // (pre-run: preparing, ready, starting;
    66  //  running;
    67  //  end-state: complete, shutdown, failed, rejected)
    68  type TaskState int32
    69  
    70  const (
    71  	TaskStateNew       TaskState = 0
    72  	TaskStatePending   TaskState = 64
    73  	TaskStateAssigned  TaskState = 192
    74  	TaskStateAccepted  TaskState = 256
    75  	TaskStatePreparing TaskState = 320
    76  	TaskStateReady     TaskState = 384
    77  	TaskStateStarting  TaskState = 448
    78  	TaskStateRunning   TaskState = 512
    79  	TaskStateCompleted TaskState = 576
    80  	TaskStateShutdown  TaskState = 640
    81  	TaskStateFailed    TaskState = 704
    82  	// TaskStateRejected means a task never ran, for instance if something about
    83  	// the environment failed (e.g. setting up a port on that node failed).
    84  	TaskStateRejected TaskState = 768
    85  	// TaskStateRemove is used to correctly handle service deletions and scale
    86  	// downs. This allows us to keep track of tasks that have been marked for
    87  	// deletion, but can't yet be removed because the agent is in the process of
    88  	// shutting them down. Once the agent has shut down tasks with desired state
    89  	// REMOVE, the task reaper is responsible for removing them.
    90  	TaskStateRemove TaskState = 800
    91  	// TaskStateOrphaned is used to free up resources associated with service
    92  	// tasks on unresponsive nodes without having to delete those tasks. This
    93  	// state is directly assigned to the task by the orchestrator.
    94  	TaskStateOrphaned TaskState = 832
    95  )
    96  
    97  var TaskState_name = map[int32]string{
    98  	0:   "NEW",
    99  	64:  "PENDING",
   100  	192: "ASSIGNED",
   101  	256: "ACCEPTED",
   102  	320: "PREPARING",
   103  	384: "READY",
   104  	448: "STARTING",
   105  	512: "RUNNING",
   106  	576: "COMPLETE",
   107  	640: "SHUTDOWN",
   108  	704: "FAILED",
   109  	768: "REJECTED",
   110  	800: "REMOVE",
   111  	832: "ORPHANED",
   112  }
   113  
   114  var TaskState_value = map[string]int32{
   115  	"NEW":       0,
   116  	"PENDING":   64,
   117  	"ASSIGNED":  192,
   118  	"ACCEPTED":  256,
   119  	"PREPARING": 320,
   120  	"READY":     384,
   121  	"STARTING":  448,
   122  	"RUNNING":   512,
   123  	"COMPLETE":  576,
   124  	"SHUTDOWN":  640,
   125  	"FAILED":    704,
   126  	"REJECTED":  768,
   127  	"REMOVE":    800,
   128  	"ORPHANED":  832,
   129  }
   130  
   131  func (x TaskState) String() string {
   132  	return proto.EnumName(TaskState_name, int32(x))
   133  }
   134  
   135  func (TaskState) EnumDescriptor() ([]byte, []int) {
   136  	return fileDescriptor_0b5eafd0404ded3d, []int{1}
   137  }
   138  
   139  type NodeRole int32
   140  
   141  const (
   142  	NodeRoleWorker  NodeRole = 0
   143  	NodeRoleManager NodeRole = 1
   144  )
   145  
   146  var NodeRole_name = map[int32]string{
   147  	0: "WORKER",
   148  	1: "MANAGER",
   149  }
   150  
   151  var NodeRole_value = map[string]int32{
   152  	"WORKER":  0,
   153  	"MANAGER": 1,
   154  }
   155  
   156  func (x NodeRole) String() string {
   157  	return proto.EnumName(NodeRole_name, int32(x))
   158  }
   159  
   160  func (NodeRole) EnumDescriptor() ([]byte, []int) {
   161  	return fileDescriptor_0b5eafd0404ded3d, []int{2}
   162  }
   163  
   164  type RaftMemberStatus_Reachability int32
   165  
   166  const (
   167  	// Unknown indicates that the manager state cannot be resolved
   168  	RaftMemberStatus_UNKNOWN RaftMemberStatus_Reachability = 0
   169  	// Unreachable indicates that the node cannot be contacted by other
   170  	// raft cluster members.
   171  	RaftMemberStatus_UNREACHABLE RaftMemberStatus_Reachability = 1
   172  	// Reachable indicates that the node is healthy and reachable
   173  	// by other members.
   174  	RaftMemberStatus_REACHABLE RaftMemberStatus_Reachability = 2
   175  )
   176  
   177  var RaftMemberStatus_Reachability_name = map[int32]string{
   178  	0: "UNKNOWN",
   179  	1: "UNREACHABLE",
   180  	2: "REACHABLE",
   181  }
   182  
   183  var RaftMemberStatus_Reachability_value = map[string]int32{
   184  	"UNKNOWN":     0,
   185  	"UNREACHABLE": 1,
   186  	"REACHABLE":   2,
   187  }
   188  
   189  func (x RaftMemberStatus_Reachability) String() string {
   190  	return proto.EnumName(RaftMemberStatus_Reachability_name, int32(x))
   191  }
   192  
   193  func (RaftMemberStatus_Reachability) EnumDescriptor() ([]byte, []int) {
   194  	return fileDescriptor_0b5eafd0404ded3d, []int{13, 0}
   195  }
   196  
   197  // TODO(aluzzardi) These should be using `gogoproto.enumvalue_customname`.
   198  type NodeStatus_State int32
   199  
   200  const (
   201  	// Unknown indicates the node state cannot be resolved.
   202  	NodeStatus_UNKNOWN NodeStatus_State = 0
   203  	// Down indicates the node is down.
   204  	NodeStatus_DOWN NodeStatus_State = 1
   205  	// Ready indicates the node is ready to accept tasks.
   206  	NodeStatus_READY NodeStatus_State = 2
   207  	// Disconnected indicates the node is currently trying to find new manager.
   208  	NodeStatus_DISCONNECTED NodeStatus_State = 3
   209  )
   210  
   211  var NodeStatus_State_name = map[int32]string{
   212  	0: "UNKNOWN",
   213  	1: "DOWN",
   214  	2: "READY",
   215  	3: "DISCONNECTED",
   216  }
   217  
   218  var NodeStatus_State_value = map[string]int32{
   219  	"UNKNOWN":      0,
   220  	"DOWN":         1,
   221  	"READY":        2,
   222  	"DISCONNECTED": 3,
   223  }
   224  
   225  func (x NodeStatus_State) String() string {
   226  	return proto.EnumName(NodeStatus_State_name, int32(x))
   227  }
   228  
   229  func (NodeStatus_State) EnumDescriptor() ([]byte, []int) {
   230  	return fileDescriptor_0b5eafd0404ded3d, []int{14, 0}
   231  }
   232  
   233  type Mount_MountType int32
   234  
   235  const (
   236  	MountTypeBind      Mount_MountType = 0
   237  	MountTypeVolume    Mount_MountType = 1
   238  	MountTypeTmpfs     Mount_MountType = 2
   239  	MountTypeNamedPipe Mount_MountType = 3
   240  )
   241  
   242  var Mount_MountType_name = map[int32]string{
   243  	0: "BIND",
   244  	1: "VOLUME",
   245  	2: "TMPFS",
   246  	3: "NPIPE",
   247  }
   248  
   249  var Mount_MountType_value = map[string]int32{
   250  	"BIND":   0,
   251  	"VOLUME": 1,
   252  	"TMPFS":  2,
   253  	"NPIPE":  3,
   254  }
   255  
   256  func (x Mount_MountType) String() string {
   257  	return proto.EnumName(Mount_MountType_name, int32(x))
   258  }
   259  
   260  func (Mount_MountType) EnumDescriptor() ([]byte, []int) {
   261  	return fileDescriptor_0b5eafd0404ded3d, []int{16, 0}
   262  }
   263  
   264  // Consistency indicates the tolerable level of file system consistency
   265  type Mount_MountConsistency int32
   266  
   267  const (
   268  	MountConsistencyDefault   Mount_MountConsistency = 0
   269  	MountConsistencyFull      Mount_MountConsistency = 1
   270  	MountConsistencyCached    Mount_MountConsistency = 2
   271  	MountConsistencyDelegated Mount_MountConsistency = 3
   272  )
   273  
   274  var Mount_MountConsistency_name = map[int32]string{
   275  	0: "DEFAULT",
   276  	1: "CONSISTENT",
   277  	2: "CACHED",
   278  	3: "DELEGATED",
   279  }
   280  
   281  var Mount_MountConsistency_value = map[string]int32{
   282  	"DEFAULT":    0,
   283  	"CONSISTENT": 1,
   284  	"CACHED":     2,
   285  	"DELEGATED":  3,
   286  }
   287  
   288  func (x Mount_MountConsistency) String() string {
   289  	return proto.EnumName(Mount_MountConsistency_name, int32(x))
   290  }
   291  
   292  func (Mount_MountConsistency) EnumDescriptor() ([]byte, []int) {
   293  	return fileDescriptor_0b5eafd0404ded3d, []int{16, 1}
   294  }
   295  
   296  type Mount_BindOptions_MountPropagation int32
   297  
   298  const (
   299  	MountPropagationRPrivate Mount_BindOptions_MountPropagation = 0
   300  	MountPropagationPrivate  Mount_BindOptions_MountPropagation = 1
   301  	MountPropagationRShared  Mount_BindOptions_MountPropagation = 2
   302  	MountPropagationShared   Mount_BindOptions_MountPropagation = 3
   303  	MountPropagationRSlave   Mount_BindOptions_MountPropagation = 4
   304  	MountPropagationSlave    Mount_BindOptions_MountPropagation = 5
   305  )
   306  
   307  var Mount_BindOptions_MountPropagation_name = map[int32]string{
   308  	0: "RPRIVATE",
   309  	1: "PRIVATE",
   310  	2: "RSHARED",
   311  	3: "SHARED",
   312  	4: "RSLAVE",
   313  	5: "SLAVE",
   314  }
   315  
   316  var Mount_BindOptions_MountPropagation_value = map[string]int32{
   317  	"RPRIVATE": 0,
   318  	"PRIVATE":  1,
   319  	"RSHARED":  2,
   320  	"SHARED":   3,
   321  	"RSLAVE":   4,
   322  	"SLAVE":    5,
   323  }
   324  
   325  func (x Mount_BindOptions_MountPropagation) String() string {
   326  	return proto.EnumName(Mount_BindOptions_MountPropagation_name, int32(x))
   327  }
   328  
   329  func (Mount_BindOptions_MountPropagation) EnumDescriptor() ([]byte, []int) {
   330  	return fileDescriptor_0b5eafd0404ded3d, []int{16, 0, 0}
   331  }
   332  
   333  type RestartPolicy_RestartCondition int32
   334  
   335  const (
   336  	RestartOnNone    RestartPolicy_RestartCondition = 0
   337  	RestartOnFailure RestartPolicy_RestartCondition = 1
   338  	RestartOnAny     RestartPolicy_RestartCondition = 2
   339  )
   340  
   341  var RestartPolicy_RestartCondition_name = map[int32]string{
   342  	0: "NONE",
   343  	1: "ON_FAILURE",
   344  	2: "ANY",
   345  }
   346  
   347  var RestartPolicy_RestartCondition_value = map[string]int32{
   348  	"NONE":       0,
   349  	"ON_FAILURE": 1,
   350  	"ANY":        2,
   351  }
   352  
   353  func (x RestartPolicy_RestartCondition) String() string {
   354  	return proto.EnumName(RestartPolicy_RestartCondition_name, int32(x))
   355  }
   356  
   357  func (RestartPolicy_RestartCondition) EnumDescriptor() ([]byte, []int) {
   358  	return fileDescriptor_0b5eafd0404ded3d, []int{17, 0}
   359  }
   360  
   361  type UpdateConfig_FailureAction int32
   362  
   363  const (
   364  	UpdateConfig_PAUSE    UpdateConfig_FailureAction = 0
   365  	UpdateConfig_CONTINUE UpdateConfig_FailureAction = 1
   366  	UpdateConfig_ROLLBACK UpdateConfig_FailureAction = 2
   367  )
   368  
   369  var UpdateConfig_FailureAction_name = map[int32]string{
   370  	0: "PAUSE",
   371  	1: "CONTINUE",
   372  	2: "ROLLBACK",
   373  }
   374  
   375  var UpdateConfig_FailureAction_value = map[string]int32{
   376  	"PAUSE":    0,
   377  	"CONTINUE": 1,
   378  	"ROLLBACK": 2,
   379  }
   380  
   381  func (x UpdateConfig_FailureAction) String() string {
   382  	return proto.EnumName(UpdateConfig_FailureAction_name, int32(x))
   383  }
   384  
   385  func (UpdateConfig_FailureAction) EnumDescriptor() ([]byte, []int) {
   386  	return fileDescriptor_0b5eafd0404ded3d, []int{18, 0}
   387  }
   388  
   389  // UpdateOrder controls the order of operations when rolling out an
   390  // updated task. Either the old task is shut down before the new task
   391  // is started, or the new task is started before the old task is shut
   392  // down.
   393  type UpdateConfig_UpdateOrder int32
   394  
   395  const (
   396  	UpdateConfig_STOP_FIRST  UpdateConfig_UpdateOrder = 0
   397  	UpdateConfig_START_FIRST UpdateConfig_UpdateOrder = 1
   398  )
   399  
   400  var UpdateConfig_UpdateOrder_name = map[int32]string{
   401  	0: "STOP_FIRST",
   402  	1: "START_FIRST",
   403  }
   404  
   405  var UpdateConfig_UpdateOrder_value = map[string]int32{
   406  	"STOP_FIRST":  0,
   407  	"START_FIRST": 1,
   408  }
   409  
   410  func (x UpdateConfig_UpdateOrder) String() string {
   411  	return proto.EnumName(UpdateConfig_UpdateOrder_name, int32(x))
   412  }
   413  
   414  func (UpdateConfig_UpdateOrder) EnumDescriptor() ([]byte, []int) {
   415  	return fileDescriptor_0b5eafd0404ded3d, []int{18, 1}
   416  }
   417  
   418  type UpdateStatus_UpdateState int32
   419  
   420  const (
   421  	UpdateStatus_UNKNOWN            UpdateStatus_UpdateState = 0
   422  	UpdateStatus_UPDATING           UpdateStatus_UpdateState = 1
   423  	UpdateStatus_PAUSED             UpdateStatus_UpdateState = 2
   424  	UpdateStatus_COMPLETED          UpdateStatus_UpdateState = 3
   425  	UpdateStatus_ROLLBACK_STARTED   UpdateStatus_UpdateState = 4
   426  	UpdateStatus_ROLLBACK_PAUSED    UpdateStatus_UpdateState = 5
   427  	UpdateStatus_ROLLBACK_COMPLETED UpdateStatus_UpdateState = 6
   428  )
   429  
   430  var UpdateStatus_UpdateState_name = map[int32]string{
   431  	0: "UNKNOWN",
   432  	1: "UPDATING",
   433  	2: "PAUSED",
   434  	3: "COMPLETED",
   435  	4: "ROLLBACK_STARTED",
   436  	5: "ROLLBACK_PAUSED",
   437  	6: "ROLLBACK_COMPLETED",
   438  }
   439  
   440  var UpdateStatus_UpdateState_value = map[string]int32{
   441  	"UNKNOWN":            0,
   442  	"UPDATING":           1,
   443  	"PAUSED":             2,
   444  	"COMPLETED":          3,
   445  	"ROLLBACK_STARTED":   4,
   446  	"ROLLBACK_PAUSED":    5,
   447  	"ROLLBACK_COMPLETED": 6,
   448  }
   449  
   450  func (x UpdateStatus_UpdateState) String() string {
   451  	return proto.EnumName(UpdateStatus_UpdateState_name, int32(x))
   452  }
   453  
   454  func (UpdateStatus_UpdateState) EnumDescriptor() ([]byte, []int) {
   455  	return fileDescriptor_0b5eafd0404ded3d, []int{19, 0}
   456  }
   457  
   458  // AddressFamily specifies the network address family that
   459  // this IPAMConfig belongs to.
   460  type IPAMConfig_AddressFamily int32
   461  
   462  const (
   463  	IPAMConfig_UNKNOWN IPAMConfig_AddressFamily = 0
   464  	IPAMConfig_IPV4    IPAMConfig_AddressFamily = 4
   465  	IPAMConfig_IPV6    IPAMConfig_AddressFamily = 6
   466  )
   467  
   468  var IPAMConfig_AddressFamily_name = map[int32]string{
   469  	0: "UNKNOWN",
   470  	4: "IPV4",
   471  	6: "IPV6",
   472  }
   473  
   474  var IPAMConfig_AddressFamily_value = map[string]int32{
   475  	"UNKNOWN": 0,
   476  	"IPV4":    4,
   477  	"IPV6":    6,
   478  }
   479  
   480  func (x IPAMConfig_AddressFamily) String() string {
   481  	return proto.EnumName(IPAMConfig_AddressFamily_name, int32(x))
   482  }
   483  
   484  func (IPAMConfig_AddressFamily) EnumDescriptor() ([]byte, []int) {
   485  	return fileDescriptor_0b5eafd0404ded3d, []int{24, 0}
   486  }
   487  
   488  type PortConfig_Protocol int32
   489  
   490  const (
   491  	ProtocolTCP  PortConfig_Protocol = 0
   492  	ProtocolUDP  PortConfig_Protocol = 1
   493  	ProtocolSCTP PortConfig_Protocol = 2
   494  )
   495  
   496  var PortConfig_Protocol_name = map[int32]string{
   497  	0: "TCP",
   498  	1: "UDP",
   499  	2: "SCTP",
   500  }
   501  
   502  var PortConfig_Protocol_value = map[string]int32{
   503  	"TCP":  0,
   504  	"UDP":  1,
   505  	"SCTP": 2,
   506  }
   507  
   508  func (x PortConfig_Protocol) String() string {
   509  	return proto.EnumName(PortConfig_Protocol_name, int32(x))
   510  }
   511  
   512  func (PortConfig_Protocol) EnumDescriptor() ([]byte, []int) {
   513  	return fileDescriptor_0b5eafd0404ded3d, []int{25, 0}
   514  }
   515  
   516  // PublishMode controls how ports are published on the swarm.
   517  type PortConfig_PublishMode int32
   518  
   519  const (
   520  	// PublishModeIngress exposes the port across the cluster on all nodes.
   521  	PublishModeIngress PortConfig_PublishMode = 0
   522  	// PublishModeHost exposes the port on just the target host.  If the
   523  	// published port is undefined, an ephemeral port will be allocated. If
   524  	// the published port is defined, the node will attempt to allocate it,
   525  	// erroring the task if it fails.
   526  	PublishModeHost PortConfig_PublishMode = 1
   527  )
   528  
   529  var PortConfig_PublishMode_name = map[int32]string{
   530  	0: "INGRESS",
   531  	1: "HOST",
   532  }
   533  
   534  var PortConfig_PublishMode_value = map[string]int32{
   535  	"INGRESS": 0,
   536  	"HOST":    1,
   537  }
   538  
   539  func (x PortConfig_PublishMode) String() string {
   540  	return proto.EnumName(PortConfig_PublishMode_name, int32(x))
   541  }
   542  
   543  func (PortConfig_PublishMode) EnumDescriptor() ([]byte, []int) {
   544  	return fileDescriptor_0b5eafd0404ded3d, []int{25, 1}
   545  }
   546  
   547  type IssuanceStatus_State int32
   548  
   549  const (
   550  	IssuanceStateUnknown IssuanceStatus_State = 0
   551  	// A new certificate should be issued
   552  	IssuanceStateRenew IssuanceStatus_State = 1
   553  	// Certificate is pending acceptance
   554  	IssuanceStatePending IssuanceStatus_State = 2
   555  	// successful completion certificate issuance
   556  	IssuanceStateIssued IssuanceStatus_State = 3
   557  	// Certificate issuance failed
   558  	IssuanceStateFailed IssuanceStatus_State = 4
   559  	// Signals workers to renew their certificate. From the CA's perspective
   560  	// this is equivalent to IssuanceStateIssued: a noop.
   561  	IssuanceStateRotate IssuanceStatus_State = 5
   562  )
   563  
   564  var IssuanceStatus_State_name = map[int32]string{
   565  	0: "UNKNOWN",
   566  	1: "RENEW",
   567  	2: "PENDING",
   568  	3: "ISSUED",
   569  	4: "FAILED",
   570  	5: "ROTATE",
   571  }
   572  
   573  var IssuanceStatus_State_value = map[string]int32{
   574  	"UNKNOWN": 0,
   575  	"RENEW":   1,
   576  	"PENDING": 2,
   577  	"ISSUED":  3,
   578  	"FAILED":  4,
   579  	"ROTATE":  5,
   580  }
   581  
   582  func (x IssuanceStatus_State) String() string {
   583  	return proto.EnumName(IssuanceStatus_State_name, int32(x))
   584  }
   585  
   586  func (IssuanceStatus_State) EnumDescriptor() ([]byte, []int) {
   587  	return fileDescriptor_0b5eafd0404ded3d, []int{30, 0}
   588  }
   589  
   590  type ExternalCA_CAProtocol int32
   591  
   592  const (
   593  	ExternalCA_CAProtocolCFSSL ExternalCA_CAProtocol = 0
   594  )
   595  
   596  var ExternalCA_CAProtocol_name = map[int32]string{
   597  	0: "CFSSL",
   598  }
   599  
   600  var ExternalCA_CAProtocol_value = map[string]int32{
   601  	"CFSSL": 0,
   602  }
   603  
   604  func (x ExternalCA_CAProtocol) String() string {
   605  	return proto.EnumName(ExternalCA_CAProtocol_name, int32(x))
   606  }
   607  
   608  func (ExternalCA_CAProtocol) EnumDescriptor() ([]byte, []int) {
   609  	return fileDescriptor_0b5eafd0404ded3d, []int{32, 0}
   610  }
   611  
   612  // Encryption algorithm that can implemented using this key
   613  type EncryptionKey_Algorithm int32
   614  
   615  const (
   616  	AES_128_GCM EncryptionKey_Algorithm = 0
   617  )
   618  
   619  var EncryptionKey_Algorithm_name = map[int32]string{
   620  	0: "AES_128_GCM",
   621  }
   622  
   623  var EncryptionKey_Algorithm_value = map[string]int32{
   624  	"AES_128_GCM": 0,
   625  }
   626  
   627  func (x EncryptionKey_Algorithm) String() string {
   628  	return proto.EnumName(EncryptionKey_Algorithm_name, int32(x))
   629  }
   630  
   631  func (EncryptionKey_Algorithm) EnumDescriptor() ([]byte, []int) {
   632  	return fileDescriptor_0b5eafd0404ded3d, []int{45, 0}
   633  }
   634  
   635  type MaybeEncryptedRecord_Algorithm int32
   636  
   637  const (
   638  	MaybeEncryptedRecord_NotEncrypted                 MaybeEncryptedRecord_Algorithm = 0
   639  	MaybeEncryptedRecord_NACLSecretboxSalsa20Poly1305 MaybeEncryptedRecord_Algorithm = 1
   640  	MaybeEncryptedRecord_FernetAES128CBC              MaybeEncryptedRecord_Algorithm = 2
   641  )
   642  
   643  var MaybeEncryptedRecord_Algorithm_name = map[int32]string{
   644  	0: "NONE",
   645  	1: "SECRETBOX_SALSA20_POLY1305",
   646  	2: "FERNET_AES_128_CBC",
   647  }
   648  
   649  var MaybeEncryptedRecord_Algorithm_value = map[string]int32{
   650  	"NONE":                       0,
   651  	"SECRETBOX_SALSA20_POLY1305": 1,
   652  	"FERNET_AES_128_CBC":         2,
   653  }
   654  
   655  func (x MaybeEncryptedRecord_Algorithm) String() string {
   656  	return proto.EnumName(MaybeEncryptedRecord_Algorithm_name, int32(x))
   657  }
   658  
   659  func (MaybeEncryptedRecord_Algorithm) EnumDescriptor() ([]byte, []int) {
   660  	return fileDescriptor_0b5eafd0404ded3d, []int{53, 0}
   661  }
   662  
   663  // Version tracks the last time an object in the store was updated.
   664  type Version struct {
   665  	Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
   666  }
   667  
   668  func (m *Version) Reset()      { *m = Version{} }
   669  func (*Version) ProtoMessage() {}
   670  func (*Version) Descriptor() ([]byte, []int) {
   671  	return fileDescriptor_0b5eafd0404ded3d, []int{0}
   672  }
   673  func (m *Version) XXX_Unmarshal(b []byte) error {
   674  	return m.Unmarshal(b)
   675  }
   676  func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   677  	if deterministic {
   678  		return xxx_messageInfo_Version.Marshal(b, m, deterministic)
   679  	} else {
   680  		b = b[:cap(b)]
   681  		n, err := m.MarshalTo(b)
   682  		if err != nil {
   683  			return nil, err
   684  		}
   685  		return b[:n], nil
   686  	}
   687  }
   688  func (m *Version) XXX_Merge(src proto.Message) {
   689  	xxx_messageInfo_Version.Merge(m, src)
   690  }
   691  func (m *Version) XXX_Size() int {
   692  	return m.Size()
   693  }
   694  func (m *Version) XXX_DiscardUnknown() {
   695  	xxx_messageInfo_Version.DiscardUnknown(m)
   696  }
   697  
   698  var xxx_messageInfo_Version proto.InternalMessageInfo
   699  
   700  type IndexEntry struct {
   701  	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   702  	Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"`
   703  }
   704  
   705  func (m *IndexEntry) Reset()      { *m = IndexEntry{} }
   706  func (*IndexEntry) ProtoMessage() {}
   707  func (*IndexEntry) Descriptor() ([]byte, []int) {
   708  	return fileDescriptor_0b5eafd0404ded3d, []int{1}
   709  }
   710  func (m *IndexEntry) XXX_Unmarshal(b []byte) error {
   711  	return m.Unmarshal(b)
   712  }
   713  func (m *IndexEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   714  	if deterministic {
   715  		return xxx_messageInfo_IndexEntry.Marshal(b, m, deterministic)
   716  	} else {
   717  		b = b[:cap(b)]
   718  		n, err := m.MarshalTo(b)
   719  		if err != nil {
   720  			return nil, err
   721  		}
   722  		return b[:n], nil
   723  	}
   724  }
   725  func (m *IndexEntry) XXX_Merge(src proto.Message) {
   726  	xxx_messageInfo_IndexEntry.Merge(m, src)
   727  }
   728  func (m *IndexEntry) XXX_Size() int {
   729  	return m.Size()
   730  }
   731  func (m *IndexEntry) XXX_DiscardUnknown() {
   732  	xxx_messageInfo_IndexEntry.DiscardUnknown(m)
   733  }
   734  
   735  var xxx_messageInfo_IndexEntry proto.InternalMessageInfo
   736  
   737  // Annotations provide useful information to identify API objects. They are
   738  // common to all API specs.
   739  type Annotations struct {
   740  	Name   string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   741  	Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   742  	// Indices provides keys and values for indexing this object.
   743  	// A single key may have multiple values.
   744  	Indices []IndexEntry `protobuf:"bytes,4,rep,name=indices,proto3" json:"indices"`
   745  }
   746  
   747  func (m *Annotations) Reset()      { *m = Annotations{} }
   748  func (*Annotations) ProtoMessage() {}
   749  func (*Annotations) Descriptor() ([]byte, []int) {
   750  	return fileDescriptor_0b5eafd0404ded3d, []int{2}
   751  }
   752  func (m *Annotations) XXX_Unmarshal(b []byte) error {
   753  	return m.Unmarshal(b)
   754  }
   755  func (m *Annotations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   756  	if deterministic {
   757  		return xxx_messageInfo_Annotations.Marshal(b, m, deterministic)
   758  	} else {
   759  		b = b[:cap(b)]
   760  		n, err := m.MarshalTo(b)
   761  		if err != nil {
   762  			return nil, err
   763  		}
   764  		return b[:n], nil
   765  	}
   766  }
   767  func (m *Annotations) XXX_Merge(src proto.Message) {
   768  	xxx_messageInfo_Annotations.Merge(m, src)
   769  }
   770  func (m *Annotations) XXX_Size() int {
   771  	return m.Size()
   772  }
   773  func (m *Annotations) XXX_DiscardUnknown() {
   774  	xxx_messageInfo_Annotations.DiscardUnknown(m)
   775  }
   776  
   777  var xxx_messageInfo_Annotations proto.InternalMessageInfo
   778  
   779  // NamedGenericResource represents a "user defined" resource which is defined
   780  // as a string.
   781  // "Kind" is used to describe the Kind of a resource (e.g: "GPU", "FPGA", "SSD", ...)
   782  // Value is used to identify the resource (GPU="UUID-1", FPGA="/dev/sdb5", ...)
   783  type NamedGenericResource struct {
   784  	Kind  string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
   785  	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
   786  }
   787  
   788  func (m *NamedGenericResource) Reset()      { *m = NamedGenericResource{} }
   789  func (*NamedGenericResource) ProtoMessage() {}
   790  func (*NamedGenericResource) Descriptor() ([]byte, []int) {
   791  	return fileDescriptor_0b5eafd0404ded3d, []int{3}
   792  }
   793  func (m *NamedGenericResource) XXX_Unmarshal(b []byte) error {
   794  	return m.Unmarshal(b)
   795  }
   796  func (m *NamedGenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   797  	if deterministic {
   798  		return xxx_messageInfo_NamedGenericResource.Marshal(b, m, deterministic)
   799  	} else {
   800  		b = b[:cap(b)]
   801  		n, err := m.MarshalTo(b)
   802  		if err != nil {
   803  			return nil, err
   804  		}
   805  		return b[:n], nil
   806  	}
   807  }
   808  func (m *NamedGenericResource) XXX_Merge(src proto.Message) {
   809  	xxx_messageInfo_NamedGenericResource.Merge(m, src)
   810  }
   811  func (m *NamedGenericResource) XXX_Size() int {
   812  	return m.Size()
   813  }
   814  func (m *NamedGenericResource) XXX_DiscardUnknown() {
   815  	xxx_messageInfo_NamedGenericResource.DiscardUnknown(m)
   816  }
   817  
   818  var xxx_messageInfo_NamedGenericResource proto.InternalMessageInfo
   819  
   820  // DiscreteGenericResource represents a "user defined" resource which is defined
   821  // as an integer
   822  // "Kind" is used to describe the Kind of a resource (e.g: "GPU", "FPGA", "SSD", ...)
   823  // Value is used to count the resource (SSD=5, HDD=3, ...)
   824  type DiscreteGenericResource struct {
   825  	Kind  string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
   826  	Value int64  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
   827  }
   828  
   829  func (m *DiscreteGenericResource) Reset()      { *m = DiscreteGenericResource{} }
   830  func (*DiscreteGenericResource) ProtoMessage() {}
   831  func (*DiscreteGenericResource) Descriptor() ([]byte, []int) {
   832  	return fileDescriptor_0b5eafd0404ded3d, []int{4}
   833  }
   834  func (m *DiscreteGenericResource) XXX_Unmarshal(b []byte) error {
   835  	return m.Unmarshal(b)
   836  }
   837  func (m *DiscreteGenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   838  	if deterministic {
   839  		return xxx_messageInfo_DiscreteGenericResource.Marshal(b, m, deterministic)
   840  	} else {
   841  		b = b[:cap(b)]
   842  		n, err := m.MarshalTo(b)
   843  		if err != nil {
   844  			return nil, err
   845  		}
   846  		return b[:n], nil
   847  	}
   848  }
   849  func (m *DiscreteGenericResource) XXX_Merge(src proto.Message) {
   850  	xxx_messageInfo_DiscreteGenericResource.Merge(m, src)
   851  }
   852  func (m *DiscreteGenericResource) XXX_Size() int {
   853  	return m.Size()
   854  }
   855  func (m *DiscreteGenericResource) XXX_DiscardUnknown() {
   856  	xxx_messageInfo_DiscreteGenericResource.DiscardUnknown(m)
   857  }
   858  
   859  var xxx_messageInfo_DiscreteGenericResource proto.InternalMessageInfo
   860  
   861  // GenericResource represents a "user defined" resource which can
   862  // be either an integer (e.g: SSD=3) or a string (e.g: SSD=sda1)
   863  type GenericResource struct {
   864  	// Types that are valid to be assigned to Resource:
   865  	//	*GenericResource_NamedResourceSpec
   866  	//	*GenericResource_DiscreteResourceSpec
   867  	Resource isGenericResource_Resource `protobuf_oneof:"resource"`
   868  }
   869  
   870  func (m *GenericResource) Reset()      { *m = GenericResource{} }
   871  func (*GenericResource) ProtoMessage() {}
   872  func (*GenericResource) Descriptor() ([]byte, []int) {
   873  	return fileDescriptor_0b5eafd0404ded3d, []int{5}
   874  }
   875  func (m *GenericResource) XXX_Unmarshal(b []byte) error {
   876  	return m.Unmarshal(b)
   877  }
   878  func (m *GenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   879  	if deterministic {
   880  		return xxx_messageInfo_GenericResource.Marshal(b, m, deterministic)
   881  	} else {
   882  		b = b[:cap(b)]
   883  		n, err := m.MarshalTo(b)
   884  		if err != nil {
   885  			return nil, err
   886  		}
   887  		return b[:n], nil
   888  	}
   889  }
   890  func (m *GenericResource) XXX_Merge(src proto.Message) {
   891  	xxx_messageInfo_GenericResource.Merge(m, src)
   892  }
   893  func (m *GenericResource) XXX_Size() int {
   894  	return m.Size()
   895  }
   896  func (m *GenericResource) XXX_DiscardUnknown() {
   897  	xxx_messageInfo_GenericResource.DiscardUnknown(m)
   898  }
   899  
   900  var xxx_messageInfo_GenericResource proto.InternalMessageInfo
   901  
   902  type isGenericResource_Resource interface {
   903  	isGenericResource_Resource()
   904  	MarshalTo([]byte) (int, error)
   905  	Size() int
   906  }
   907  
   908  type GenericResource_NamedResourceSpec struct {
   909  	NamedResourceSpec *NamedGenericResource `protobuf:"bytes,1,opt,name=named_resource_spec,json=namedResourceSpec,proto3,oneof"`
   910  }
   911  type GenericResource_DiscreteResourceSpec struct {
   912  	DiscreteResourceSpec *DiscreteGenericResource `protobuf:"bytes,2,opt,name=discrete_resource_spec,json=discreteResourceSpec,proto3,oneof"`
   913  }
   914  
   915  func (*GenericResource_NamedResourceSpec) isGenericResource_Resource()    {}
   916  func (*GenericResource_DiscreteResourceSpec) isGenericResource_Resource() {}
   917  
   918  func (m *GenericResource) GetResource() isGenericResource_Resource {
   919  	if m != nil {
   920  		return m.Resource
   921  	}
   922  	return nil
   923  }
   924  
   925  func (m *GenericResource) GetNamedResourceSpec() *NamedGenericResource {
   926  	if x, ok := m.GetResource().(*GenericResource_NamedResourceSpec); ok {
   927  		return x.NamedResourceSpec
   928  	}
   929  	return nil
   930  }
   931  
   932  func (m *GenericResource) GetDiscreteResourceSpec() *DiscreteGenericResource {
   933  	if x, ok := m.GetResource().(*GenericResource_DiscreteResourceSpec); ok {
   934  		return x.DiscreteResourceSpec
   935  	}
   936  	return nil
   937  }
   938  
   939  // XXX_OneofFuncs is for the internal use of the proto package.
   940  func (*GenericResource) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
   941  	return _GenericResource_OneofMarshaler, _GenericResource_OneofUnmarshaler, _GenericResource_OneofSizer, []interface{}{
   942  		(*GenericResource_NamedResourceSpec)(nil),
   943  		(*GenericResource_DiscreteResourceSpec)(nil),
   944  	}
   945  }
   946  
   947  func _GenericResource_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
   948  	m := msg.(*GenericResource)
   949  	// resource
   950  	switch x := m.Resource.(type) {
   951  	case *GenericResource_NamedResourceSpec:
   952  		_ = b.EncodeVarint(1<<3 | proto.WireBytes)
   953  		if err := b.EncodeMessage(x.NamedResourceSpec); err != nil {
   954  			return err
   955  		}
   956  	case *GenericResource_DiscreteResourceSpec:
   957  		_ = b.EncodeVarint(2<<3 | proto.WireBytes)
   958  		if err := b.EncodeMessage(x.DiscreteResourceSpec); err != nil {
   959  			return err
   960  		}
   961  	case nil:
   962  	default:
   963  		return fmt.Errorf("GenericResource.Resource has unexpected type %T", x)
   964  	}
   965  	return nil
   966  }
   967  
   968  func _GenericResource_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
   969  	m := msg.(*GenericResource)
   970  	switch tag {
   971  	case 1: // resource.named_resource_spec
   972  		if wire != proto.WireBytes {
   973  			return true, proto.ErrInternalBadWireType
   974  		}
   975  		msg := new(NamedGenericResource)
   976  		err := b.DecodeMessage(msg)
   977  		m.Resource = &GenericResource_NamedResourceSpec{msg}
   978  		return true, err
   979  	case 2: // resource.discrete_resource_spec
   980  		if wire != proto.WireBytes {
   981  			return true, proto.ErrInternalBadWireType
   982  		}
   983  		msg := new(DiscreteGenericResource)
   984  		err := b.DecodeMessage(msg)
   985  		m.Resource = &GenericResource_DiscreteResourceSpec{msg}
   986  		return true, err
   987  	default:
   988  		return false, nil
   989  	}
   990  }
   991  
   992  func _GenericResource_OneofSizer(msg proto.Message) (n int) {
   993  	m := msg.(*GenericResource)
   994  	// resource
   995  	switch x := m.Resource.(type) {
   996  	case *GenericResource_NamedResourceSpec:
   997  		s := proto.Size(x.NamedResourceSpec)
   998  		n += 1 // tag and wire
   999  		n += proto.SizeVarint(uint64(s))
  1000  		n += s
  1001  	case *GenericResource_DiscreteResourceSpec:
  1002  		s := proto.Size(x.DiscreteResourceSpec)
  1003  		n += 1 // tag and wire
  1004  		n += proto.SizeVarint(uint64(s))
  1005  		n += s
  1006  	case nil:
  1007  	default:
  1008  		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  1009  	}
  1010  	return n
  1011  }
  1012  
  1013  type Resources struct {
  1014  	// Amount of CPUs (e.g. 2000000000 = 2 CPU cores)
  1015  	NanoCPUs int64 `protobuf:"varint,1,opt,name=nano_cpus,json=nanoCpus,proto3" json:"nano_cpus,omitempty"`
  1016  	// Amount of memory in bytes.
  1017  	MemoryBytes int64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
  1018  	// User specified resource (e.g: bananas=2;apple={red,yellow,green})
  1019  	Generic []*GenericResource `protobuf:"bytes,3,rep,name=generic,proto3" json:"generic,omitempty"`
  1020  }
  1021  
  1022  func (m *Resources) Reset()      { *m = Resources{} }
  1023  func (*Resources) ProtoMessage() {}
  1024  func (*Resources) Descriptor() ([]byte, []int) {
  1025  	return fileDescriptor_0b5eafd0404ded3d, []int{6}
  1026  }
  1027  func (m *Resources) XXX_Unmarshal(b []byte) error {
  1028  	return m.Unmarshal(b)
  1029  }
  1030  func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1031  	if deterministic {
  1032  		return xxx_messageInfo_Resources.Marshal(b, m, deterministic)
  1033  	} else {
  1034  		b = b[:cap(b)]
  1035  		n, err := m.MarshalTo(b)
  1036  		if err != nil {
  1037  			return nil, err
  1038  		}
  1039  		return b[:n], nil
  1040  	}
  1041  }
  1042  func (m *Resources) XXX_Merge(src proto.Message) {
  1043  	xxx_messageInfo_Resources.Merge(m, src)
  1044  }
  1045  func (m *Resources) XXX_Size() int {
  1046  	return m.Size()
  1047  }
  1048  func (m *Resources) XXX_DiscardUnknown() {
  1049  	xxx_messageInfo_Resources.DiscardUnknown(m)
  1050  }
  1051  
  1052  var xxx_messageInfo_Resources proto.InternalMessageInfo
  1053  
  1054  type ResourceRequirements struct {
  1055  	Limits       *Resources `protobuf:"bytes,1,opt,name=limits,proto3" json:"limits,omitempty"`
  1056  	Reservations *Resources `protobuf:"bytes,2,opt,name=reservations,proto3" json:"reservations,omitempty"`
  1057  	// Amount of swap in bytes - can only be used together with a memory limit
  1058  	// -1 means unlimited
  1059  	// a null pointer indicates that the default behaviour of granting twice
  1060  	// the memory is maintained
  1061  	SwapBytes *types.Int64Value `protobuf:"bytes,3,opt,name=swap_bytes,json=swapBytes,proto3" json:"swap_bytes,omitempty"`
  1062  	// Tune container memory swappiness (0 to 100) - if not specified, defaults
  1063  	// to the container OS's default - generally 60, or the value predefined in
  1064  	// the image; set to -1 to unset a previously set value
  1065  	MemorySwappiness *types.Int64Value `protobuf:"bytes,4,opt,name=memory_swappiness,json=memorySwappiness,proto3" json:"memory_swappiness,omitempty"`
  1066  }
  1067  
  1068  func (m *ResourceRequirements) Reset()      { *m = ResourceRequirements{} }
  1069  func (*ResourceRequirements) ProtoMessage() {}
  1070  func (*ResourceRequirements) Descriptor() ([]byte, []int) {
  1071  	return fileDescriptor_0b5eafd0404ded3d, []int{7}
  1072  }
  1073  func (m *ResourceRequirements) XXX_Unmarshal(b []byte) error {
  1074  	return m.Unmarshal(b)
  1075  }
  1076  func (m *ResourceRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1077  	if deterministic {
  1078  		return xxx_messageInfo_ResourceRequirements.Marshal(b, m, deterministic)
  1079  	} else {
  1080  		b = b[:cap(b)]
  1081  		n, err := m.MarshalTo(b)
  1082  		if err != nil {
  1083  			return nil, err
  1084  		}
  1085  		return b[:n], nil
  1086  	}
  1087  }
  1088  func (m *ResourceRequirements) XXX_Merge(src proto.Message) {
  1089  	xxx_messageInfo_ResourceRequirements.Merge(m, src)
  1090  }
  1091  func (m *ResourceRequirements) XXX_Size() int {
  1092  	return m.Size()
  1093  }
  1094  func (m *ResourceRequirements) XXX_DiscardUnknown() {
  1095  	xxx_messageInfo_ResourceRequirements.DiscardUnknown(m)
  1096  }
  1097  
  1098  var xxx_messageInfo_ResourceRequirements proto.InternalMessageInfo
  1099  
  1100  type Platform struct {
  1101  	// Architecture (e.g. x86_64)
  1102  	Architecture string `protobuf:"bytes,1,opt,name=architecture,proto3" json:"architecture,omitempty"`
  1103  	// Operating System (e.g. linux)
  1104  	OS string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"`
  1105  }
  1106  
  1107  func (m *Platform) Reset()      { *m = Platform{} }
  1108  func (*Platform) ProtoMessage() {}
  1109  func (*Platform) Descriptor() ([]byte, []int) {
  1110  	return fileDescriptor_0b5eafd0404ded3d, []int{8}
  1111  }
  1112  func (m *Platform) XXX_Unmarshal(b []byte) error {
  1113  	return m.Unmarshal(b)
  1114  }
  1115  func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1116  	if deterministic {
  1117  		return xxx_messageInfo_Platform.Marshal(b, m, deterministic)
  1118  	} else {
  1119  		b = b[:cap(b)]
  1120  		n, err := m.MarshalTo(b)
  1121  		if err != nil {
  1122  			return nil, err
  1123  		}
  1124  		return b[:n], nil
  1125  	}
  1126  }
  1127  func (m *Platform) XXX_Merge(src proto.Message) {
  1128  	xxx_messageInfo_Platform.Merge(m, src)
  1129  }
  1130  func (m *Platform) XXX_Size() int {
  1131  	return m.Size()
  1132  }
  1133  func (m *Platform) XXX_DiscardUnknown() {
  1134  	xxx_messageInfo_Platform.DiscardUnknown(m)
  1135  }
  1136  
  1137  var xxx_messageInfo_Platform proto.InternalMessageInfo
  1138  
  1139  // PluginDescription describes an engine plugin.
  1140  type PluginDescription struct {
  1141  	// Type of plugin. Canonical values for existing types are
  1142  	// Volume, Network, and Authorization. More types could be
  1143  	// supported in the future.
  1144  	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  1145  	// Name of the plugin
  1146  	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  1147  }
  1148  
  1149  func (m *PluginDescription) Reset()      { *m = PluginDescription{} }
  1150  func (*PluginDescription) ProtoMessage() {}
  1151  func (*PluginDescription) Descriptor() ([]byte, []int) {
  1152  	return fileDescriptor_0b5eafd0404ded3d, []int{9}
  1153  }
  1154  func (m *PluginDescription) XXX_Unmarshal(b []byte) error {
  1155  	return m.Unmarshal(b)
  1156  }
  1157  func (m *PluginDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1158  	if deterministic {
  1159  		return xxx_messageInfo_PluginDescription.Marshal(b, m, deterministic)
  1160  	} else {
  1161  		b = b[:cap(b)]
  1162  		n, err := m.MarshalTo(b)
  1163  		if err != nil {
  1164  			return nil, err
  1165  		}
  1166  		return b[:n], nil
  1167  	}
  1168  }
  1169  func (m *PluginDescription) XXX_Merge(src proto.Message) {
  1170  	xxx_messageInfo_PluginDescription.Merge(m, src)
  1171  }
  1172  func (m *PluginDescription) XXX_Size() int {
  1173  	return m.Size()
  1174  }
  1175  func (m *PluginDescription) XXX_DiscardUnknown() {
  1176  	xxx_messageInfo_PluginDescription.DiscardUnknown(m)
  1177  }
  1178  
  1179  var xxx_messageInfo_PluginDescription proto.InternalMessageInfo
  1180  
  1181  type EngineDescription struct {
  1182  	// Docker daemon version running on the node.
  1183  	EngineVersion string `protobuf:"bytes,1,opt,name=engine_version,json=engineVersion,proto3" json:"engine_version,omitempty"`
  1184  	// Labels attached to the engine.
  1185  	Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1186  	// Volume, Network, and Auth plugins
  1187  	Plugins []PluginDescription `protobuf:"bytes,3,rep,name=plugins,proto3" json:"plugins"`
  1188  }
  1189  
  1190  func (m *EngineDescription) Reset()      { *m = EngineDescription{} }
  1191  func (*EngineDescription) ProtoMessage() {}
  1192  func (*EngineDescription) Descriptor() ([]byte, []int) {
  1193  	return fileDescriptor_0b5eafd0404ded3d, []int{10}
  1194  }
  1195  func (m *EngineDescription) XXX_Unmarshal(b []byte) error {
  1196  	return m.Unmarshal(b)
  1197  }
  1198  func (m *EngineDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1199  	if deterministic {
  1200  		return xxx_messageInfo_EngineDescription.Marshal(b, m, deterministic)
  1201  	} else {
  1202  		b = b[:cap(b)]
  1203  		n, err := m.MarshalTo(b)
  1204  		if err != nil {
  1205  			return nil, err
  1206  		}
  1207  		return b[:n], nil
  1208  	}
  1209  }
  1210  func (m *EngineDescription) XXX_Merge(src proto.Message) {
  1211  	xxx_messageInfo_EngineDescription.Merge(m, src)
  1212  }
  1213  func (m *EngineDescription) XXX_Size() int {
  1214  	return m.Size()
  1215  }
  1216  func (m *EngineDescription) XXX_DiscardUnknown() {
  1217  	xxx_messageInfo_EngineDescription.DiscardUnknown(m)
  1218  }
  1219  
  1220  var xxx_messageInfo_EngineDescription proto.InternalMessageInfo
  1221  
  1222  type NodeDescription struct {
  1223  	// Hostname of the node as reported by the agent.
  1224  	// This is different from spec.meta.name which is user-defined.
  1225  	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
  1226  	// Platform of the node.
  1227  	Platform *Platform `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
  1228  	// Total resources on the node.
  1229  	Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
  1230  	// Information about the Docker Engine on the node.
  1231  	Engine *EngineDescription `protobuf:"bytes,4,opt,name=engine,proto3" json:"engine,omitempty"`
  1232  	// Information on the node's TLS setup
  1233  	TLSInfo *NodeTLSInfo `protobuf:"bytes,5,opt,name=tls_info,json=tlsInfo,proto3" json:"tls_info,omitempty"`
  1234  	// FIPS indicates whether the node has FIPS-enabled
  1235  	FIPS bool `protobuf:"varint,6,opt,name=fips,proto3" json:"fips,omitempty"`
  1236  }
  1237  
  1238  func (m *NodeDescription) Reset()      { *m = NodeDescription{} }
  1239  func (*NodeDescription) ProtoMessage() {}
  1240  func (*NodeDescription) Descriptor() ([]byte, []int) {
  1241  	return fileDescriptor_0b5eafd0404ded3d, []int{11}
  1242  }
  1243  func (m *NodeDescription) XXX_Unmarshal(b []byte) error {
  1244  	return m.Unmarshal(b)
  1245  }
  1246  func (m *NodeDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1247  	if deterministic {
  1248  		return xxx_messageInfo_NodeDescription.Marshal(b, m, deterministic)
  1249  	} else {
  1250  		b = b[:cap(b)]
  1251  		n, err := m.MarshalTo(b)
  1252  		if err != nil {
  1253  			return nil, err
  1254  		}
  1255  		return b[:n], nil
  1256  	}
  1257  }
  1258  func (m *NodeDescription) XXX_Merge(src proto.Message) {
  1259  	xxx_messageInfo_NodeDescription.Merge(m, src)
  1260  }
  1261  func (m *NodeDescription) XXX_Size() int {
  1262  	return m.Size()
  1263  }
  1264  func (m *NodeDescription) XXX_DiscardUnknown() {
  1265  	xxx_messageInfo_NodeDescription.DiscardUnknown(m)
  1266  }
  1267  
  1268  var xxx_messageInfo_NodeDescription proto.InternalMessageInfo
  1269  
  1270  type NodeTLSInfo struct {
  1271  	// Information about which root certs the node trusts
  1272  	TrustRoot []byte `protobuf:"bytes,1,opt,name=trust_root,json=trustRoot,proto3" json:"trust_root,omitempty"`
  1273  	// Information about the node's current TLS certificate
  1274  	CertIssuerSubject   []byte `protobuf:"bytes,2,opt,name=cert_issuer_subject,json=certIssuerSubject,proto3" json:"cert_issuer_subject,omitempty"`
  1275  	CertIssuerPublicKey []byte `protobuf:"bytes,3,opt,name=cert_issuer_public_key,json=certIssuerPublicKey,proto3" json:"cert_issuer_public_key,omitempty"`
  1276  }
  1277  
  1278  func (m *NodeTLSInfo) Reset()      { *m = NodeTLSInfo{} }
  1279  func (*NodeTLSInfo) ProtoMessage() {}
  1280  func (*NodeTLSInfo) Descriptor() ([]byte, []int) {
  1281  	return fileDescriptor_0b5eafd0404ded3d, []int{12}
  1282  }
  1283  func (m *NodeTLSInfo) XXX_Unmarshal(b []byte) error {
  1284  	return m.Unmarshal(b)
  1285  }
  1286  func (m *NodeTLSInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1287  	if deterministic {
  1288  		return xxx_messageInfo_NodeTLSInfo.Marshal(b, m, deterministic)
  1289  	} else {
  1290  		b = b[:cap(b)]
  1291  		n, err := m.MarshalTo(b)
  1292  		if err != nil {
  1293  			return nil, err
  1294  		}
  1295  		return b[:n], nil
  1296  	}
  1297  }
  1298  func (m *NodeTLSInfo) XXX_Merge(src proto.Message) {
  1299  	xxx_messageInfo_NodeTLSInfo.Merge(m, src)
  1300  }
  1301  func (m *NodeTLSInfo) XXX_Size() int {
  1302  	return m.Size()
  1303  }
  1304  func (m *NodeTLSInfo) XXX_DiscardUnknown() {
  1305  	xxx_messageInfo_NodeTLSInfo.DiscardUnknown(m)
  1306  }
  1307  
  1308  var xxx_messageInfo_NodeTLSInfo proto.InternalMessageInfo
  1309  
  1310  type RaftMemberStatus struct {
  1311  	Leader       bool                          `protobuf:"varint,1,opt,name=leader,proto3" json:"leader,omitempty"`
  1312  	Reachability RaftMemberStatus_Reachability `protobuf:"varint,2,opt,name=reachability,proto3,enum=docker.swarmkit.v1.RaftMemberStatus_Reachability" json:"reachability,omitempty"`
  1313  	Message      string                        `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
  1314  }
  1315  
  1316  func (m *RaftMemberStatus) Reset()      { *m = RaftMemberStatus{} }
  1317  func (*RaftMemberStatus) ProtoMessage() {}
  1318  func (*RaftMemberStatus) Descriptor() ([]byte, []int) {
  1319  	return fileDescriptor_0b5eafd0404ded3d, []int{13}
  1320  }
  1321  func (m *RaftMemberStatus) XXX_Unmarshal(b []byte) error {
  1322  	return m.Unmarshal(b)
  1323  }
  1324  func (m *RaftMemberStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1325  	if deterministic {
  1326  		return xxx_messageInfo_RaftMemberStatus.Marshal(b, m, deterministic)
  1327  	} else {
  1328  		b = b[:cap(b)]
  1329  		n, err := m.MarshalTo(b)
  1330  		if err != nil {
  1331  			return nil, err
  1332  		}
  1333  		return b[:n], nil
  1334  	}
  1335  }
  1336  func (m *RaftMemberStatus) XXX_Merge(src proto.Message) {
  1337  	xxx_messageInfo_RaftMemberStatus.Merge(m, src)
  1338  }
  1339  func (m *RaftMemberStatus) XXX_Size() int {
  1340  	return m.Size()
  1341  }
  1342  func (m *RaftMemberStatus) XXX_DiscardUnknown() {
  1343  	xxx_messageInfo_RaftMemberStatus.DiscardUnknown(m)
  1344  }
  1345  
  1346  var xxx_messageInfo_RaftMemberStatus proto.InternalMessageInfo
  1347  
  1348  type NodeStatus struct {
  1349  	State   NodeStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.NodeStatus_State" json:"state,omitempty"`
  1350  	Message string           `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
  1351  	// Addr is the node's IP address as observed by the manager
  1352  	Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
  1353  }
  1354  
  1355  func (m *NodeStatus) Reset()      { *m = NodeStatus{} }
  1356  func (*NodeStatus) ProtoMessage() {}
  1357  func (*NodeStatus) Descriptor() ([]byte, []int) {
  1358  	return fileDescriptor_0b5eafd0404ded3d, []int{14}
  1359  }
  1360  func (m *NodeStatus) XXX_Unmarshal(b []byte) error {
  1361  	return m.Unmarshal(b)
  1362  }
  1363  func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1364  	if deterministic {
  1365  		return xxx_messageInfo_NodeStatus.Marshal(b, m, deterministic)
  1366  	} else {
  1367  		b = b[:cap(b)]
  1368  		n, err := m.MarshalTo(b)
  1369  		if err != nil {
  1370  			return nil, err
  1371  		}
  1372  		return b[:n], nil
  1373  	}
  1374  }
  1375  func (m *NodeStatus) XXX_Merge(src proto.Message) {
  1376  	xxx_messageInfo_NodeStatus.Merge(m, src)
  1377  }
  1378  func (m *NodeStatus) XXX_Size() int {
  1379  	return m.Size()
  1380  }
  1381  func (m *NodeStatus) XXX_DiscardUnknown() {
  1382  	xxx_messageInfo_NodeStatus.DiscardUnknown(m)
  1383  }
  1384  
  1385  var xxx_messageInfo_NodeStatus proto.InternalMessageInfo
  1386  
  1387  type Image struct {
  1388  	// reference is a docker image reference. This can include a rpository, tag
  1389  	// or be fully qualified witha digest. The format is specified in the
  1390  	// distribution/reference package.
  1391  	Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
  1392  }
  1393  
  1394  func (m *Image) Reset()      { *m = Image{} }
  1395  func (*Image) ProtoMessage() {}
  1396  func (*Image) Descriptor() ([]byte, []int) {
  1397  	return fileDescriptor_0b5eafd0404ded3d, []int{15}
  1398  }
  1399  func (m *Image) XXX_Unmarshal(b []byte) error {
  1400  	return m.Unmarshal(b)
  1401  }
  1402  func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1403  	if deterministic {
  1404  		return xxx_messageInfo_Image.Marshal(b, m, deterministic)
  1405  	} else {
  1406  		b = b[:cap(b)]
  1407  		n, err := m.MarshalTo(b)
  1408  		if err != nil {
  1409  			return nil, err
  1410  		}
  1411  		return b[:n], nil
  1412  	}
  1413  }
  1414  func (m *Image) XXX_Merge(src proto.Message) {
  1415  	xxx_messageInfo_Image.Merge(m, src)
  1416  }
  1417  func (m *Image) XXX_Size() int {
  1418  	return m.Size()
  1419  }
  1420  func (m *Image) XXX_DiscardUnknown() {
  1421  	xxx_messageInfo_Image.DiscardUnknown(m)
  1422  }
  1423  
  1424  var xxx_messageInfo_Image proto.InternalMessageInfo
  1425  
  1426  // Mount describes volume mounts for a container.
  1427  //
  1428  // The Mount type follows the structure of the mount syscall, including a type,
  1429  // source, target. Top-level flags, such as writable, are common to all kinds
  1430  // of mounts, where we also provide options that are specific to a type of
  1431  // mount. This corresponds to flags and data, respectively, in the syscall.
  1432  type Mount struct {
  1433  	// Type defines the nature of the mount.
  1434  	Type Mount_MountType `protobuf:"varint,1,opt,name=type,proto3,enum=docker.swarmkit.v1.Mount_MountType" json:"type,omitempty"`
  1435  	// Source specifies the name of the mount. Depending on mount type, this
  1436  	// may be a volume name or a host path, or even ignored.
  1437  	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
  1438  	// Target path in container
  1439  	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
  1440  	// ReadOnly should be set to true if the mount should not be writable.
  1441  	ReadOnly    bool                   `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"`
  1442  	Consistency Mount_MountConsistency `protobuf:"varint,8,opt,name=consistency,proto3,enum=docker.swarmkit.v1.Mount_MountConsistency" json:"consistency,omitempty"`
  1443  	// BindOptions configures properties of a bind mount type.
  1444  	//
  1445  	// For mounts of type bind, the source must be an absolute host path.
  1446  	BindOptions *Mount_BindOptions `protobuf:"bytes,5,opt,name=bind_options,json=bindOptions,proto3" json:"bind_options,omitempty"`
  1447  	// VolumeOptions configures the properties specific to a volume mount type.
  1448  	//
  1449  	// For mounts of type volume, the source will be used as the volume name.
  1450  	VolumeOptions *Mount_VolumeOptions `protobuf:"bytes,6,opt,name=volume_options,json=volumeOptions,proto3" json:"volume_options,omitempty"`
  1451  	// TmpfsOptions allows one to set options for mounting a temporary
  1452  	// filesystem.
  1453  	//
  1454  	// The source field will be ignored when using mounts of type tmpfs.
  1455  	TmpfsOptions *Mount_TmpfsOptions `protobuf:"bytes,7,opt,name=tmpfs_options,json=tmpfsOptions,proto3" json:"tmpfs_options,omitempty"`
  1456  }
  1457  
  1458  func (m *Mount) Reset()      { *m = Mount{} }
  1459  func (*Mount) ProtoMessage() {}
  1460  func (*Mount) Descriptor() ([]byte, []int) {
  1461  	return fileDescriptor_0b5eafd0404ded3d, []int{16}
  1462  }
  1463  func (m *Mount) XXX_Unmarshal(b []byte) error {
  1464  	return m.Unmarshal(b)
  1465  }
  1466  func (m *Mount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1467  	if deterministic {
  1468  		return xxx_messageInfo_Mount.Marshal(b, m, deterministic)
  1469  	} else {
  1470  		b = b[:cap(b)]
  1471  		n, err := m.MarshalTo(b)
  1472  		if err != nil {
  1473  			return nil, err
  1474  		}
  1475  		return b[:n], nil
  1476  	}
  1477  }
  1478  func (m *Mount) XXX_Merge(src proto.Message) {
  1479  	xxx_messageInfo_Mount.Merge(m, src)
  1480  }
  1481  func (m *Mount) XXX_Size() int {
  1482  	return m.Size()
  1483  }
  1484  func (m *Mount) XXX_DiscardUnknown() {
  1485  	xxx_messageInfo_Mount.DiscardUnknown(m)
  1486  }
  1487  
  1488  var xxx_messageInfo_Mount proto.InternalMessageInfo
  1489  
  1490  // BindOptions specifies options that are specific to a bind mount.
  1491  type Mount_BindOptions struct {
  1492  	// Propagation mode of mount.
  1493  	Propagation Mount_BindOptions_MountPropagation `protobuf:"varint,1,opt,name=propagation,proto3,enum=docker.swarmkit.v1.Mount_BindOptions_MountPropagation" json:"propagation,omitempty"`
  1494  	// allows non-recursive bind-mount, i.e. mount(2) with "bind" rather than "rbind".
  1495  	NonRecursive bool `protobuf:"varint,2,opt,name=nonrecursive,proto3" json:"nonrecursive,omitempty"`
  1496  }
  1497  
  1498  func (m *Mount_BindOptions) Reset()      { *m = Mount_BindOptions{} }
  1499  func (*Mount_BindOptions) ProtoMessage() {}
  1500  func (*Mount_BindOptions) Descriptor() ([]byte, []int) {
  1501  	return fileDescriptor_0b5eafd0404ded3d, []int{16, 0}
  1502  }
  1503  func (m *Mount_BindOptions) XXX_Unmarshal(b []byte) error {
  1504  	return m.Unmarshal(b)
  1505  }
  1506  func (m *Mount_BindOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1507  	if deterministic {
  1508  		return xxx_messageInfo_Mount_BindOptions.Marshal(b, m, deterministic)
  1509  	} else {
  1510  		b = b[:cap(b)]
  1511  		n, err := m.MarshalTo(b)
  1512  		if err != nil {
  1513  			return nil, err
  1514  		}
  1515  		return b[:n], nil
  1516  	}
  1517  }
  1518  func (m *Mount_BindOptions) XXX_Merge(src proto.Message) {
  1519  	xxx_messageInfo_Mount_BindOptions.Merge(m, src)
  1520  }
  1521  func (m *Mount_BindOptions) XXX_Size() int {
  1522  	return m.Size()
  1523  }
  1524  func (m *Mount_BindOptions) XXX_DiscardUnknown() {
  1525  	xxx_messageInfo_Mount_BindOptions.DiscardUnknown(m)
  1526  }
  1527  
  1528  var xxx_messageInfo_Mount_BindOptions proto.InternalMessageInfo
  1529  
  1530  // VolumeOptions contains parameters for mounting the volume.
  1531  type Mount_VolumeOptions struct {
  1532  	// nocopy prevents automatic copying of data to the volume with data from target
  1533  	NoCopy bool `protobuf:"varint,1,opt,name=nocopy,proto3" json:"nocopy,omitempty"`
  1534  	// labels to apply to the volume if creating
  1535  	Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1536  	// DriverConfig specifies the options that may be passed to the driver
  1537  	// if the volume is created.
  1538  	//
  1539  	// If this is empty, no volume will be created if the volume is missing.
  1540  	DriverConfig *Driver `protobuf:"bytes,3,opt,name=driver_config,json=driverConfig,proto3" json:"driver_config,omitempty"`
  1541  }
  1542  
  1543  func (m *Mount_VolumeOptions) Reset()      { *m = Mount_VolumeOptions{} }
  1544  func (*Mount_VolumeOptions) ProtoMessage() {}
  1545  func (*Mount_VolumeOptions) Descriptor() ([]byte, []int) {
  1546  	return fileDescriptor_0b5eafd0404ded3d, []int{16, 1}
  1547  }
  1548  func (m *Mount_VolumeOptions) XXX_Unmarshal(b []byte) error {
  1549  	return m.Unmarshal(b)
  1550  }
  1551  func (m *Mount_VolumeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1552  	if deterministic {
  1553  		return xxx_messageInfo_Mount_VolumeOptions.Marshal(b, m, deterministic)
  1554  	} else {
  1555  		b = b[:cap(b)]
  1556  		n, err := m.MarshalTo(b)
  1557  		if err != nil {
  1558  			return nil, err
  1559  		}
  1560  		return b[:n], nil
  1561  	}
  1562  }
  1563  func (m *Mount_VolumeOptions) XXX_Merge(src proto.Message) {
  1564  	xxx_messageInfo_Mount_VolumeOptions.Merge(m, src)
  1565  }
  1566  func (m *Mount_VolumeOptions) XXX_Size() int {
  1567  	return m.Size()
  1568  }
  1569  func (m *Mount_VolumeOptions) XXX_DiscardUnknown() {
  1570  	xxx_messageInfo_Mount_VolumeOptions.DiscardUnknown(m)
  1571  }
  1572  
  1573  var xxx_messageInfo_Mount_VolumeOptions proto.InternalMessageInfo
  1574  
  1575  type Mount_TmpfsOptions struct {
  1576  	// Size sets the size of the tmpfs, in bytes.
  1577  	//
  1578  	// This will be converted to an operating system specific value
  1579  	// depending on the host. For example, on linux, it will be convered to
  1580  	// use a 'k', 'm' or 'g' syntax. BSD, though not widely supported with
  1581  	// docker, uses a straight byte value.
  1582  	//
  1583  	// Percentages are not supported.
  1584  	SizeBytes int64 `protobuf:"varint,1,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
  1585  	// Mode of the tmpfs upon creation
  1586  	Mode os.FileMode `protobuf:"varint,2,opt,name=mode,proto3,customtype=os.FileMode" json:"mode"`
  1587  	// Options passed to tmpfs mount
  1588  	Options string `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
  1589  }
  1590  
  1591  func (m *Mount_TmpfsOptions) Reset()      { *m = Mount_TmpfsOptions{} }
  1592  func (*Mount_TmpfsOptions) ProtoMessage() {}
  1593  func (*Mount_TmpfsOptions) Descriptor() ([]byte, []int) {
  1594  	return fileDescriptor_0b5eafd0404ded3d, []int{16, 2}
  1595  }
  1596  func (m *Mount_TmpfsOptions) XXX_Unmarshal(b []byte) error {
  1597  	return m.Unmarshal(b)
  1598  }
  1599  func (m *Mount_TmpfsOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1600  	if deterministic {
  1601  		return xxx_messageInfo_Mount_TmpfsOptions.Marshal(b, m, deterministic)
  1602  	} else {
  1603  		b = b[:cap(b)]
  1604  		n, err := m.MarshalTo(b)
  1605  		if err != nil {
  1606  			return nil, err
  1607  		}
  1608  		return b[:n], nil
  1609  	}
  1610  }
  1611  func (m *Mount_TmpfsOptions) XXX_Merge(src proto.Message) {
  1612  	xxx_messageInfo_Mount_TmpfsOptions.Merge(m, src)
  1613  }
  1614  func (m *Mount_TmpfsOptions) XXX_Size() int {
  1615  	return m.Size()
  1616  }
  1617  func (m *Mount_TmpfsOptions) XXX_DiscardUnknown() {
  1618  	xxx_messageInfo_Mount_TmpfsOptions.DiscardUnknown(m)
  1619  }
  1620  
  1621  var xxx_messageInfo_Mount_TmpfsOptions proto.InternalMessageInfo
  1622  
  1623  type RestartPolicy struct {
  1624  	Condition RestartPolicy_RestartCondition `protobuf:"varint,1,opt,name=condition,proto3,enum=docker.swarmkit.v1.RestartPolicy_RestartCondition" json:"condition,omitempty"`
  1625  	// Delay between restart attempts
  1626  	// Note: can't use stdduration because this field needs to be nullable.
  1627  	Delay *types.Duration `protobuf:"bytes,2,opt,name=delay,proto3" json:"delay,omitempty"`
  1628  	// MaxAttempts is the maximum number of restarts to attempt on an
  1629  	// instance before giving up. Ignored if 0.
  1630  	MaxAttempts uint64 `protobuf:"varint,3,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"`
  1631  	// Window is the time window used to evaluate the restart policy.
  1632  	// The time window is unbounded if this is 0.
  1633  	// Note: can't use stdduration because this field needs to be nullable.
  1634  	Window *types.Duration `protobuf:"bytes,4,opt,name=window,proto3" json:"window,omitempty"`
  1635  }
  1636  
  1637  func (m *RestartPolicy) Reset()      { *m = RestartPolicy{} }
  1638  func (*RestartPolicy) ProtoMessage() {}
  1639  func (*RestartPolicy) Descriptor() ([]byte, []int) {
  1640  	return fileDescriptor_0b5eafd0404ded3d, []int{17}
  1641  }
  1642  func (m *RestartPolicy) XXX_Unmarshal(b []byte) error {
  1643  	return m.Unmarshal(b)
  1644  }
  1645  func (m *RestartPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1646  	if deterministic {
  1647  		return xxx_messageInfo_RestartPolicy.Marshal(b, m, deterministic)
  1648  	} else {
  1649  		b = b[:cap(b)]
  1650  		n, err := m.MarshalTo(b)
  1651  		if err != nil {
  1652  			return nil, err
  1653  		}
  1654  		return b[:n], nil
  1655  	}
  1656  }
  1657  func (m *RestartPolicy) XXX_Merge(src proto.Message) {
  1658  	xxx_messageInfo_RestartPolicy.Merge(m, src)
  1659  }
  1660  func (m *RestartPolicy) XXX_Size() int {
  1661  	return m.Size()
  1662  }
  1663  func (m *RestartPolicy) XXX_DiscardUnknown() {
  1664  	xxx_messageInfo_RestartPolicy.DiscardUnknown(m)
  1665  }
  1666  
  1667  var xxx_messageInfo_RestartPolicy proto.InternalMessageInfo
  1668  
  1669  // UpdateConfig specifies the rate and policy of updates.
  1670  // TODO(aluzzardi): Consider making this a oneof with RollingStrategy and LockstepStrategy.
  1671  type UpdateConfig struct {
  1672  	// Maximum number of tasks to be updated in one iteration.
  1673  	// 0 means unlimited parallelism.
  1674  	Parallelism uint64 `protobuf:"varint,1,opt,name=parallelism,proto3" json:"parallelism,omitempty"`
  1675  	// Amount of time between updates.
  1676  	Delay time.Duration `protobuf:"bytes,2,opt,name=delay,proto3,stdduration" json:"delay"`
  1677  	// FailureAction is the action to take when an update failures.
  1678  	FailureAction UpdateConfig_FailureAction `protobuf:"varint,3,opt,name=failure_action,json=failureAction,proto3,enum=docker.swarmkit.v1.UpdateConfig_FailureAction" json:"failure_action,omitempty"`
  1679  	// Monitor indicates how long to monitor a task for failure after it is
  1680  	// created. If the task fails by ending up in one of the states
  1681  	// REJECTED, COMPLETED, or FAILED, within Monitor from its creation,
  1682  	// this counts as a failure. If it fails after Monitor, it does not
  1683  	// count as a failure. If Monitor is unspecified, a default value will
  1684  	// be used.
  1685  	// Note: can't use stdduration because this field needs to be nullable.
  1686  	Monitor *types.Duration `protobuf:"bytes,4,opt,name=monitor,proto3" json:"monitor,omitempty"`
  1687  	// MaxFailureRatio is the fraction of tasks that may fail during
  1688  	// an update before the failure action is invoked. Any task created by
  1689  	// the current update which ends up in one of the states REJECTED,
  1690  	// COMPLETED or FAILED within Monitor from its creation counts as a
  1691  	// failure. The number of failures is divided by the number of tasks
  1692  	// being updated, and if this fraction is greater than
  1693  	// MaxFailureRatio, the failure action is invoked.
  1694  	//
  1695  	// If the failure action is CONTINUE, there is no effect.
  1696  	// If the failure action is PAUSE, no more tasks will be updated until
  1697  	// another update is started.
  1698  	// If the failure action is ROLLBACK, the orchestrator will attempt to
  1699  	// roll back to the previous service spec. If the MaxFailureRatio
  1700  	// threshold is hit during the rollback, the rollback will pause.
  1701  	MaxFailureRatio float32                  `protobuf:"fixed32,5,opt,name=max_failure_ratio,json=maxFailureRatio,proto3" json:"max_failure_ratio,omitempty"`
  1702  	Order           UpdateConfig_UpdateOrder `protobuf:"varint,6,opt,name=order,proto3,enum=docker.swarmkit.v1.UpdateConfig_UpdateOrder" json:"order,omitempty"`
  1703  }
  1704  
  1705  func (m *UpdateConfig) Reset()      { *m = UpdateConfig{} }
  1706  func (*UpdateConfig) ProtoMessage() {}
  1707  func (*UpdateConfig) Descriptor() ([]byte, []int) {
  1708  	return fileDescriptor_0b5eafd0404ded3d, []int{18}
  1709  }
  1710  func (m *UpdateConfig) XXX_Unmarshal(b []byte) error {
  1711  	return m.Unmarshal(b)
  1712  }
  1713  func (m *UpdateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1714  	if deterministic {
  1715  		return xxx_messageInfo_UpdateConfig.Marshal(b, m, deterministic)
  1716  	} else {
  1717  		b = b[:cap(b)]
  1718  		n, err := m.MarshalTo(b)
  1719  		if err != nil {
  1720  			return nil, err
  1721  		}
  1722  		return b[:n], nil
  1723  	}
  1724  }
  1725  func (m *UpdateConfig) XXX_Merge(src proto.Message) {
  1726  	xxx_messageInfo_UpdateConfig.Merge(m, src)
  1727  }
  1728  func (m *UpdateConfig) XXX_Size() int {
  1729  	return m.Size()
  1730  }
  1731  func (m *UpdateConfig) XXX_DiscardUnknown() {
  1732  	xxx_messageInfo_UpdateConfig.DiscardUnknown(m)
  1733  }
  1734  
  1735  var xxx_messageInfo_UpdateConfig proto.InternalMessageInfo
  1736  
  1737  // UpdateStatus is the status of an update in progress.
  1738  type UpdateStatus struct {
  1739  	// State is the state of this update. It indicates whether the
  1740  	// update is in progress, completed, paused, rolling back, or
  1741  	// finished rolling back.
  1742  	State UpdateStatus_UpdateState `protobuf:"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.UpdateStatus_UpdateState" json:"state,omitempty"`
  1743  	// StartedAt is the time at which the update was started.
  1744  	// Note: can't use stdtime because this field is nullable.
  1745  	StartedAt *types.Timestamp `protobuf:"bytes,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
  1746  	// CompletedAt is the time at which the update completed successfully,
  1747  	// paused, or finished rolling back.
  1748  	// Note: can't use stdtime because this field is nullable.
  1749  	CompletedAt *types.Timestamp `protobuf:"bytes,3,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
  1750  	// Message explains how the update got into its current state. For
  1751  	// example, if the update is paused, it will explain what is preventing
  1752  	// the update from proceeding (typically the failure of a task to start up
  1753  	// when OnFailure is PAUSE).
  1754  	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
  1755  }
  1756  
  1757  func (m *UpdateStatus) Reset()      { *m = UpdateStatus{} }
  1758  func (*UpdateStatus) ProtoMessage() {}
  1759  func (*UpdateStatus) Descriptor() ([]byte, []int) {
  1760  	return fileDescriptor_0b5eafd0404ded3d, []int{19}
  1761  }
  1762  func (m *UpdateStatus) XXX_Unmarshal(b []byte) error {
  1763  	return m.Unmarshal(b)
  1764  }
  1765  func (m *UpdateStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1766  	if deterministic {
  1767  		return xxx_messageInfo_UpdateStatus.Marshal(b, m, deterministic)
  1768  	} else {
  1769  		b = b[:cap(b)]
  1770  		n, err := m.MarshalTo(b)
  1771  		if err != nil {
  1772  			return nil, err
  1773  		}
  1774  		return b[:n], nil
  1775  	}
  1776  }
  1777  func (m *UpdateStatus) XXX_Merge(src proto.Message) {
  1778  	xxx_messageInfo_UpdateStatus.Merge(m, src)
  1779  }
  1780  func (m *UpdateStatus) XXX_Size() int {
  1781  	return m.Size()
  1782  }
  1783  func (m *UpdateStatus) XXX_DiscardUnknown() {
  1784  	xxx_messageInfo_UpdateStatus.DiscardUnknown(m)
  1785  }
  1786  
  1787  var xxx_messageInfo_UpdateStatus proto.InternalMessageInfo
  1788  
  1789  // Container specific status.
  1790  type ContainerStatus struct {
  1791  	ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
  1792  	PID         int32  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
  1793  	ExitCode    int32  `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
  1794  }
  1795  
  1796  func (m *ContainerStatus) Reset()      { *m = ContainerStatus{} }
  1797  func (*ContainerStatus) ProtoMessage() {}
  1798  func (*ContainerStatus) Descriptor() ([]byte, []int) {
  1799  	return fileDescriptor_0b5eafd0404ded3d, []int{20}
  1800  }
  1801  func (m *ContainerStatus) XXX_Unmarshal(b []byte) error {
  1802  	return m.Unmarshal(b)
  1803  }
  1804  func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1805  	if deterministic {
  1806  		return xxx_messageInfo_ContainerStatus.Marshal(b, m, deterministic)
  1807  	} else {
  1808  		b = b[:cap(b)]
  1809  		n, err := m.MarshalTo(b)
  1810  		if err != nil {
  1811  			return nil, err
  1812  		}
  1813  		return b[:n], nil
  1814  	}
  1815  }
  1816  func (m *ContainerStatus) XXX_Merge(src proto.Message) {
  1817  	xxx_messageInfo_ContainerStatus.Merge(m, src)
  1818  }
  1819  func (m *ContainerStatus) XXX_Size() int {
  1820  	return m.Size()
  1821  }
  1822  func (m *ContainerStatus) XXX_DiscardUnknown() {
  1823  	xxx_messageInfo_ContainerStatus.DiscardUnknown(m)
  1824  }
  1825  
  1826  var xxx_messageInfo_ContainerStatus proto.InternalMessageInfo
  1827  
  1828  // PortStatus specifies the actual allocated runtime state of a list
  1829  // of port configs.
  1830  type PortStatus struct {
  1831  	Ports []*PortConfig `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"`
  1832  }
  1833  
  1834  func (m *PortStatus) Reset()      { *m = PortStatus{} }
  1835  func (*PortStatus) ProtoMessage() {}
  1836  func (*PortStatus) Descriptor() ([]byte, []int) {
  1837  	return fileDescriptor_0b5eafd0404ded3d, []int{21}
  1838  }
  1839  func (m *PortStatus) XXX_Unmarshal(b []byte) error {
  1840  	return m.Unmarshal(b)
  1841  }
  1842  func (m *PortStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1843  	if deterministic {
  1844  		return xxx_messageInfo_PortStatus.Marshal(b, m, deterministic)
  1845  	} else {
  1846  		b = b[:cap(b)]
  1847  		n, err := m.MarshalTo(b)
  1848  		if err != nil {
  1849  			return nil, err
  1850  		}
  1851  		return b[:n], nil
  1852  	}
  1853  }
  1854  func (m *PortStatus) XXX_Merge(src proto.Message) {
  1855  	xxx_messageInfo_PortStatus.Merge(m, src)
  1856  }
  1857  func (m *PortStatus) XXX_Size() int {
  1858  	return m.Size()
  1859  }
  1860  func (m *PortStatus) XXX_DiscardUnknown() {
  1861  	xxx_messageInfo_PortStatus.DiscardUnknown(m)
  1862  }
  1863  
  1864  var xxx_messageInfo_PortStatus proto.InternalMessageInfo
  1865  
  1866  type TaskStatus struct {
  1867  	// Note: can't use stdtime because this field is nullable.
  1868  	Timestamp *types.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
  1869  	// State expresses the current state of the task.
  1870  	State TaskState `protobuf:"varint,2,opt,name=state,proto3,enum=docker.swarmkit.v1.TaskState" json:"state,omitempty"`
  1871  	// Message reports a message for the task status. This should provide a
  1872  	// human readable message that can point to how the task actually arrived
  1873  	// at a current state.
  1874  	//
  1875  	// As a convention, we place the a small message here that led to the
  1876  	// current state. For example, if the task is in ready, because it was
  1877  	// prepared, we'd place "prepared" in this field. If we skipped preparation
  1878  	// because the task is prepared, we would put "already prepared" in this
  1879  	// field.
  1880  	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
  1881  	// Err is set if the task is in an error state, or is unable to
  1882  	// progress from an earlier state because a precondition is
  1883  	// unsatisfied.
  1884  	//
  1885  	// The following states should report a companion error:
  1886  	//
  1887  	//	FAILED, REJECTED
  1888  	//
  1889  	// In general, messages that should be surfaced to users belong in the
  1890  	// Err field, and notes on routine state transitions belong in Message.
  1891  	//
  1892  	// TODO(stevvooe) Integrate this field with the error interface.
  1893  	Err string `protobuf:"bytes,4,opt,name=err,proto3" json:"err,omitempty"`
  1894  	// Container status contains container specific status information.
  1895  	//
  1896  	// Types that are valid to be assigned to RuntimeStatus:
  1897  	//	*TaskStatus_Container
  1898  	RuntimeStatus isTaskStatus_RuntimeStatus `protobuf_oneof:"runtime_status"`
  1899  	// HostPorts provides a list of ports allocated at the host
  1900  	// level.
  1901  	PortStatus *PortStatus `protobuf:"bytes,6,opt,name=port_status,json=portStatus,proto3" json:"port_status,omitempty"`
  1902  	// AppliedBy gives the node ID of the manager that applied this task
  1903  	// status update to the Task object.
  1904  	AppliedBy string `protobuf:"bytes,7,opt,name=applied_by,json=appliedBy,proto3" json:"applied_by,omitempty"`
  1905  	// AppliedAt gives a timestamp of when this status update was applied to
  1906  	// the Task object.
  1907  	// Note: can't use stdtime because this field is nullable.
  1908  	AppliedAt *types.Timestamp `protobuf:"bytes,8,opt,name=applied_at,json=appliedAt,proto3" json:"applied_at,omitempty"`
  1909  }
  1910  
  1911  func (m *TaskStatus) Reset()      { *m = TaskStatus{} }
  1912  func (*TaskStatus) ProtoMessage() {}
  1913  func (*TaskStatus) Descriptor() ([]byte, []int) {
  1914  	return fileDescriptor_0b5eafd0404ded3d, []int{22}
  1915  }
  1916  func (m *TaskStatus) XXX_Unmarshal(b []byte) error {
  1917  	return m.Unmarshal(b)
  1918  }
  1919  func (m *TaskStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1920  	if deterministic {
  1921  		return xxx_messageInfo_TaskStatus.Marshal(b, m, deterministic)
  1922  	} else {
  1923  		b = b[:cap(b)]
  1924  		n, err := m.MarshalTo(b)
  1925  		if err != nil {
  1926  			return nil, err
  1927  		}
  1928  		return b[:n], nil
  1929  	}
  1930  }
  1931  func (m *TaskStatus) XXX_Merge(src proto.Message) {
  1932  	xxx_messageInfo_TaskStatus.Merge(m, src)
  1933  }
  1934  func (m *TaskStatus) XXX_Size() int {
  1935  	return m.Size()
  1936  }
  1937  func (m *TaskStatus) XXX_DiscardUnknown() {
  1938  	xxx_messageInfo_TaskStatus.DiscardUnknown(m)
  1939  }
  1940  
  1941  var xxx_messageInfo_TaskStatus proto.InternalMessageInfo
  1942  
  1943  type isTaskStatus_RuntimeStatus interface {
  1944  	isTaskStatus_RuntimeStatus()
  1945  	MarshalTo([]byte) (int, error)
  1946  	Size() int
  1947  }
  1948  
  1949  type TaskStatus_Container struct {
  1950  	Container *ContainerStatus `protobuf:"bytes,5,opt,name=container,proto3,oneof"`
  1951  }
  1952  
  1953  func (*TaskStatus_Container) isTaskStatus_RuntimeStatus() {}
  1954  
  1955  func (m *TaskStatus) GetRuntimeStatus() isTaskStatus_RuntimeStatus {
  1956  	if m != nil {
  1957  		return m.RuntimeStatus
  1958  	}
  1959  	return nil
  1960  }
  1961  
  1962  func (m *TaskStatus) GetContainer() *ContainerStatus {
  1963  	if x, ok := m.GetRuntimeStatus().(*TaskStatus_Container); ok {
  1964  		return x.Container
  1965  	}
  1966  	return nil
  1967  }
  1968  
  1969  // XXX_OneofFuncs is for the internal use of the proto package.
  1970  func (*TaskStatus) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  1971  	return _TaskStatus_OneofMarshaler, _TaskStatus_OneofUnmarshaler, _TaskStatus_OneofSizer, []interface{}{
  1972  		(*TaskStatus_Container)(nil),
  1973  	}
  1974  }
  1975  
  1976  func _TaskStatus_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  1977  	m := msg.(*TaskStatus)
  1978  	// runtime_status
  1979  	switch x := m.RuntimeStatus.(type) {
  1980  	case *TaskStatus_Container:
  1981  		_ = b.EncodeVarint(5<<3 | proto.WireBytes)
  1982  		if err := b.EncodeMessage(x.Container); err != nil {
  1983  			return err
  1984  		}
  1985  	case nil:
  1986  	default:
  1987  		return fmt.Errorf("TaskStatus.RuntimeStatus has unexpected type %T", x)
  1988  	}
  1989  	return nil
  1990  }
  1991  
  1992  func _TaskStatus_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  1993  	m := msg.(*TaskStatus)
  1994  	switch tag {
  1995  	case 5: // runtime_status.container
  1996  		if wire != proto.WireBytes {
  1997  			return true, proto.ErrInternalBadWireType
  1998  		}
  1999  		msg := new(ContainerStatus)
  2000  		err := b.DecodeMessage(msg)
  2001  		m.RuntimeStatus = &TaskStatus_Container{msg}
  2002  		return true, err
  2003  	default:
  2004  		return false, nil
  2005  	}
  2006  }
  2007  
  2008  func _TaskStatus_OneofSizer(msg proto.Message) (n int) {
  2009  	m := msg.(*TaskStatus)
  2010  	// runtime_status
  2011  	switch x := m.RuntimeStatus.(type) {
  2012  	case *TaskStatus_Container:
  2013  		s := proto.Size(x.Container)
  2014  		n += 1 // tag and wire
  2015  		n += proto.SizeVarint(uint64(s))
  2016  		n += s
  2017  	case nil:
  2018  	default:
  2019  		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  2020  	}
  2021  	return n
  2022  }
  2023  
  2024  // NetworkAttachmentConfig specifies how a service should be attached to a particular network.
  2025  //
  2026  // For now, this is a simple struct, but this can include future information
  2027  // instructing Swarm on how this service should work on the particular
  2028  // network.
  2029  type NetworkAttachmentConfig struct {
  2030  	// Target specifies the target network for attachment. This value must be a
  2031  	// network ID.
  2032  	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
  2033  	// Aliases specifies a list of discoverable alternate names for the service on this Target.
  2034  	Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
  2035  	// Addresses specifies a list of ipv4 and ipv6 addresses
  2036  	// preferred. If these addresses are not available then the
  2037  	// attachment might fail.
  2038  	Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"`
  2039  	// DriverAttachmentOpts is a map of driver attachment options for the network target
  2040  	DriverAttachmentOpts map[string]string `protobuf:"bytes,4,rep,name=driver_attachment_opts,json=driverAttachmentOpts,proto3" json:"driver_attachment_opts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  2041  }
  2042  
  2043  func (m *NetworkAttachmentConfig) Reset()      { *m = NetworkAttachmentConfig{} }
  2044  func (*NetworkAttachmentConfig) ProtoMessage() {}
  2045  func (*NetworkAttachmentConfig) Descriptor() ([]byte, []int) {
  2046  	return fileDescriptor_0b5eafd0404ded3d, []int{23}
  2047  }
  2048  func (m *NetworkAttachmentConfig) XXX_Unmarshal(b []byte) error {
  2049  	return m.Unmarshal(b)
  2050  }
  2051  func (m *NetworkAttachmentConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2052  	if deterministic {
  2053  		return xxx_messageInfo_NetworkAttachmentConfig.Marshal(b, m, deterministic)
  2054  	} else {
  2055  		b = b[:cap(b)]
  2056  		n, err := m.MarshalTo(b)
  2057  		if err != nil {
  2058  			return nil, err
  2059  		}
  2060  		return b[:n], nil
  2061  	}
  2062  }
  2063  func (m *NetworkAttachmentConfig) XXX_Merge(src proto.Message) {
  2064  	xxx_messageInfo_NetworkAttachmentConfig.Merge(m, src)
  2065  }
  2066  func (m *NetworkAttachmentConfig) XXX_Size() int {
  2067  	return m.Size()
  2068  }
  2069  func (m *NetworkAttachmentConfig) XXX_DiscardUnknown() {
  2070  	xxx_messageInfo_NetworkAttachmentConfig.DiscardUnknown(m)
  2071  }
  2072  
  2073  var xxx_messageInfo_NetworkAttachmentConfig proto.InternalMessageInfo
  2074  
  2075  // IPAMConfig specifies parameters for IP Address Management.
  2076  type IPAMConfig struct {
  2077  	Family IPAMConfig_AddressFamily `protobuf:"varint,1,opt,name=family,proto3,enum=docker.swarmkit.v1.IPAMConfig_AddressFamily" json:"family,omitempty"`
  2078  	// Subnet defines a network as a CIDR address (ie network and mask
  2079  	// 192.168.0.1/24).
  2080  	Subnet string `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"`
  2081  	// Range defines the portion of the subnet to allocate to tasks. This is
  2082  	// defined as a subnet within the primary subnet.
  2083  	Range string `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
  2084  	// Gateway address within the subnet.
  2085  	Gateway string `protobuf:"bytes,4,opt,name=gateway,proto3" json:"gateway,omitempty"`
  2086  	// Reserved is a list of address from the master pool that should *not* be
  2087  	// allocated. These addresses may have already been allocated or may be
  2088  	// reserved for another allocation manager.
  2089  	Reserved map[string]string `protobuf:"bytes,5,rep,name=reserved,proto3" json:"reserved,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  2090  }
  2091  
  2092  func (m *IPAMConfig) Reset()      { *m = IPAMConfig{} }
  2093  func (*IPAMConfig) ProtoMessage() {}
  2094  func (*IPAMConfig) Descriptor() ([]byte, []int) {
  2095  	return fileDescriptor_0b5eafd0404ded3d, []int{24}
  2096  }
  2097  func (m *IPAMConfig) XXX_Unmarshal(b []byte) error {
  2098  	return m.Unmarshal(b)
  2099  }
  2100  func (m *IPAMConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2101  	if deterministic {
  2102  		return xxx_messageInfo_IPAMConfig.Marshal(b, m, deterministic)
  2103  	} else {
  2104  		b = b[:cap(b)]
  2105  		n, err := m.MarshalTo(b)
  2106  		if err != nil {
  2107  			return nil, err
  2108  		}
  2109  		return b[:n], nil
  2110  	}
  2111  }
  2112  func (m *IPAMConfig) XXX_Merge(src proto.Message) {
  2113  	xxx_messageInfo_IPAMConfig.Merge(m, src)
  2114  }
  2115  func (m *IPAMConfig) XXX_Size() int {
  2116  	return m.Size()
  2117  }
  2118  func (m *IPAMConfig) XXX_DiscardUnknown() {
  2119  	xxx_messageInfo_IPAMConfig.DiscardUnknown(m)
  2120  }
  2121  
  2122  var xxx_messageInfo_IPAMConfig proto.InternalMessageInfo
  2123  
  2124  // PortConfig specifies an exposed port which can be
  2125  // addressed using the given name. This can be later queried
  2126  // using a service discovery api or a DNS SRV query. The node
  2127  // port specifies a port that can be used to address this
  2128  // service external to the cluster by sending a connection
  2129  // request to this port to any node on the cluster.
  2130  type PortConfig struct {
  2131  	// Name for the port. If provided the port information can
  2132  	// be queried using the name as in a DNS SRV query.
  2133  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  2134  	// Protocol for the port which is exposed.
  2135  	Protocol PortConfig_Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=docker.swarmkit.v1.PortConfig_Protocol" json:"protocol,omitempty"`
  2136  	// The port which the application is exposing and is bound to.
  2137  	TargetPort uint32 `protobuf:"varint,3,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"`
  2138  	// PublishedPort specifies the port on which the service is exposed. If
  2139  	// specified, the port must be within the available range. If not specified
  2140  	// (value is zero), an available port is automatically assigned.
  2141  	PublishedPort uint32 `protobuf:"varint,4,opt,name=published_port,json=publishedPort,proto3" json:"published_port,omitempty"`
  2142  	// PublishMode controls how the port is published.
  2143  	PublishMode PortConfig_PublishMode `protobuf:"varint,5,opt,name=publish_mode,json=publishMode,proto3,enum=docker.swarmkit.v1.PortConfig_PublishMode" json:"publish_mode,omitempty"`
  2144  }
  2145  
  2146  func (m *PortConfig) Reset()      { *m = PortConfig{} }
  2147  func (*PortConfig) ProtoMessage() {}
  2148  func (*PortConfig) Descriptor() ([]byte, []int) {
  2149  	return fileDescriptor_0b5eafd0404ded3d, []int{25}
  2150  }
  2151  func (m *PortConfig) XXX_Unmarshal(b []byte) error {
  2152  	return m.Unmarshal(b)
  2153  }
  2154  func (m *PortConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2155  	if deterministic {
  2156  		return xxx_messageInfo_PortConfig.Marshal(b, m, deterministic)
  2157  	} else {
  2158  		b = b[:cap(b)]
  2159  		n, err := m.MarshalTo(b)
  2160  		if err != nil {
  2161  			return nil, err
  2162  		}
  2163  		return b[:n], nil
  2164  	}
  2165  }
  2166  func (m *PortConfig) XXX_Merge(src proto.Message) {
  2167  	xxx_messageInfo_PortConfig.Merge(m, src)
  2168  }
  2169  func (m *PortConfig) XXX_Size() int {
  2170  	return m.Size()
  2171  }
  2172  func (m *PortConfig) XXX_DiscardUnknown() {
  2173  	xxx_messageInfo_PortConfig.DiscardUnknown(m)
  2174  }
  2175  
  2176  var xxx_messageInfo_PortConfig proto.InternalMessageInfo
  2177  
  2178  // Driver is a generic driver type to be used throughout the API. For now, a
  2179  // driver is simply a name and set of options. The field contents depend on the
  2180  // target use case and driver application. For example, a network driver may
  2181  // have different rules than a volume driver.
  2182  type Driver struct {
  2183  	Name    string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  2184  	Options map[string]string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  2185  }
  2186  
  2187  func (m *Driver) Reset()      { *m = Driver{} }
  2188  func (*Driver) ProtoMessage() {}
  2189  func (*Driver) Descriptor() ([]byte, []int) {
  2190  	return fileDescriptor_0b5eafd0404ded3d, []int{26}
  2191  }
  2192  func (m *Driver) XXX_Unmarshal(b []byte) error {
  2193  	return m.Unmarshal(b)
  2194  }
  2195  func (m *Driver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2196  	if deterministic {
  2197  		return xxx_messageInfo_Driver.Marshal(b, m, deterministic)
  2198  	} else {
  2199  		b = b[:cap(b)]
  2200  		n, err := m.MarshalTo(b)
  2201  		if err != nil {
  2202  			return nil, err
  2203  		}
  2204  		return b[:n], nil
  2205  	}
  2206  }
  2207  func (m *Driver) XXX_Merge(src proto.Message) {
  2208  	xxx_messageInfo_Driver.Merge(m, src)
  2209  }
  2210  func (m *Driver) XXX_Size() int {
  2211  	return m.Size()
  2212  }
  2213  func (m *Driver) XXX_DiscardUnknown() {
  2214  	xxx_messageInfo_Driver.DiscardUnknown(m)
  2215  }
  2216  
  2217  var xxx_messageInfo_Driver proto.InternalMessageInfo
  2218  
  2219  type IPAMOptions struct {
  2220  	Driver  *Driver       `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
  2221  	Configs []*IPAMConfig `protobuf:"bytes,3,rep,name=configs,proto3" json:"configs,omitempty"`
  2222  }
  2223  
  2224  func (m *IPAMOptions) Reset()      { *m = IPAMOptions{} }
  2225  func (*IPAMOptions) ProtoMessage() {}
  2226  func (*IPAMOptions) Descriptor() ([]byte, []int) {
  2227  	return fileDescriptor_0b5eafd0404ded3d, []int{27}
  2228  }
  2229  func (m *IPAMOptions) XXX_Unmarshal(b []byte) error {
  2230  	return m.Unmarshal(b)
  2231  }
  2232  func (m *IPAMOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2233  	if deterministic {
  2234  		return xxx_messageInfo_IPAMOptions.Marshal(b, m, deterministic)
  2235  	} else {
  2236  		b = b[:cap(b)]
  2237  		n, err := m.MarshalTo(b)
  2238  		if err != nil {
  2239  			return nil, err
  2240  		}
  2241  		return b[:n], nil
  2242  	}
  2243  }
  2244  func (m *IPAMOptions) XXX_Merge(src proto.Message) {
  2245  	xxx_messageInfo_IPAMOptions.Merge(m, src)
  2246  }
  2247  func (m *IPAMOptions) XXX_Size() int {
  2248  	return m.Size()
  2249  }
  2250  func (m *IPAMOptions) XXX_DiscardUnknown() {
  2251  	xxx_messageInfo_IPAMOptions.DiscardUnknown(m)
  2252  }
  2253  
  2254  var xxx_messageInfo_IPAMOptions proto.InternalMessageInfo
  2255  
  2256  // Peer should be used anywhere where we are describing a remote peer.
  2257  type Peer struct {
  2258  	NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
  2259  	Addr   string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
  2260  }
  2261  
  2262  func (m *Peer) Reset()      { *m = Peer{} }
  2263  func (*Peer) ProtoMessage() {}
  2264  func (*Peer) Descriptor() ([]byte, []int) {
  2265  	return fileDescriptor_0b5eafd0404ded3d, []int{28}
  2266  }
  2267  func (m *Peer) XXX_Unmarshal(b []byte) error {
  2268  	return m.Unmarshal(b)
  2269  }
  2270  func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2271  	if deterministic {
  2272  		return xxx_messageInfo_Peer.Marshal(b, m, deterministic)
  2273  	} else {
  2274  		b = b[:cap(b)]
  2275  		n, err := m.MarshalTo(b)
  2276  		if err != nil {
  2277  			return nil, err
  2278  		}
  2279  		return b[:n], nil
  2280  	}
  2281  }
  2282  func (m *Peer) XXX_Merge(src proto.Message) {
  2283  	xxx_messageInfo_Peer.Merge(m, src)
  2284  }
  2285  func (m *Peer) XXX_Size() int {
  2286  	return m.Size()
  2287  }
  2288  func (m *Peer) XXX_DiscardUnknown() {
  2289  	xxx_messageInfo_Peer.DiscardUnknown(m)
  2290  }
  2291  
  2292  var xxx_messageInfo_Peer proto.InternalMessageInfo
  2293  
  2294  // WeightedPeer should be used anywhere where we are describing a remote peer
  2295  // with a weight.
  2296  type WeightedPeer struct {
  2297  	Peer   *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
  2298  	Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
  2299  }
  2300  
  2301  func (m *WeightedPeer) Reset()      { *m = WeightedPeer{} }
  2302  func (*WeightedPeer) ProtoMessage() {}
  2303  func (*WeightedPeer) Descriptor() ([]byte, []int) {
  2304  	return fileDescriptor_0b5eafd0404ded3d, []int{29}
  2305  }
  2306  func (m *WeightedPeer) XXX_Unmarshal(b []byte) error {
  2307  	return m.Unmarshal(b)
  2308  }
  2309  func (m *WeightedPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2310  	if deterministic {
  2311  		return xxx_messageInfo_WeightedPeer.Marshal(b, m, deterministic)
  2312  	} else {
  2313  		b = b[:cap(b)]
  2314  		n, err := m.MarshalTo(b)
  2315  		if err != nil {
  2316  			return nil, err
  2317  		}
  2318  		return b[:n], nil
  2319  	}
  2320  }
  2321  func (m *WeightedPeer) XXX_Merge(src proto.Message) {
  2322  	xxx_messageInfo_WeightedPeer.Merge(m, src)
  2323  }
  2324  func (m *WeightedPeer) XXX_Size() int {
  2325  	return m.Size()
  2326  }
  2327  func (m *WeightedPeer) XXX_DiscardUnknown() {
  2328  	xxx_messageInfo_WeightedPeer.DiscardUnknown(m)
  2329  }
  2330  
  2331  var xxx_messageInfo_WeightedPeer proto.InternalMessageInfo
  2332  
  2333  type IssuanceStatus struct {
  2334  	State IssuanceStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.IssuanceStatus_State" json:"state,omitempty"`
  2335  	// Err is set if the Certificate Issuance is in an error state.
  2336  	// The following states should report a companion error:
  2337  	//	FAILED
  2338  	Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
  2339  }
  2340  
  2341  func (m *IssuanceStatus) Reset()      { *m = IssuanceStatus{} }
  2342  func (*IssuanceStatus) ProtoMessage() {}
  2343  func (*IssuanceStatus) Descriptor() ([]byte, []int) {
  2344  	return fileDescriptor_0b5eafd0404ded3d, []int{30}
  2345  }
  2346  func (m *IssuanceStatus) XXX_Unmarshal(b []byte) error {
  2347  	return m.Unmarshal(b)
  2348  }
  2349  func (m *IssuanceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2350  	if deterministic {
  2351  		return xxx_messageInfo_IssuanceStatus.Marshal(b, m, deterministic)
  2352  	} else {
  2353  		b = b[:cap(b)]
  2354  		n, err := m.MarshalTo(b)
  2355  		if err != nil {
  2356  			return nil, err
  2357  		}
  2358  		return b[:n], nil
  2359  	}
  2360  }
  2361  func (m *IssuanceStatus) XXX_Merge(src proto.Message) {
  2362  	xxx_messageInfo_IssuanceStatus.Merge(m, src)
  2363  }
  2364  func (m *IssuanceStatus) XXX_Size() int {
  2365  	return m.Size()
  2366  }
  2367  func (m *IssuanceStatus) XXX_DiscardUnknown() {
  2368  	xxx_messageInfo_IssuanceStatus.DiscardUnknown(m)
  2369  }
  2370  
  2371  var xxx_messageInfo_IssuanceStatus proto.InternalMessageInfo
  2372  
  2373  type AcceptancePolicy struct {
  2374  	Policies []*AcceptancePolicy_RoleAdmissionPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
  2375  }
  2376  
  2377  func (m *AcceptancePolicy) Reset()      { *m = AcceptancePolicy{} }
  2378  func (*AcceptancePolicy) ProtoMessage() {}
  2379  func (*AcceptancePolicy) Descriptor() ([]byte, []int) {
  2380  	return fileDescriptor_0b5eafd0404ded3d, []int{31}
  2381  }
  2382  func (m *AcceptancePolicy) XXX_Unmarshal(b []byte) error {
  2383  	return m.Unmarshal(b)
  2384  }
  2385  func (m *AcceptancePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2386  	if deterministic {
  2387  		return xxx_messageInfo_AcceptancePolicy.Marshal(b, m, deterministic)
  2388  	} else {
  2389  		b = b[:cap(b)]
  2390  		n, err := m.MarshalTo(b)
  2391  		if err != nil {
  2392  			return nil, err
  2393  		}
  2394  		return b[:n], nil
  2395  	}
  2396  }
  2397  func (m *AcceptancePolicy) XXX_Merge(src proto.Message) {
  2398  	xxx_messageInfo_AcceptancePolicy.Merge(m, src)
  2399  }
  2400  func (m *AcceptancePolicy) XXX_Size() int {
  2401  	return m.Size()
  2402  }
  2403  func (m *AcceptancePolicy) XXX_DiscardUnknown() {
  2404  	xxx_messageInfo_AcceptancePolicy.DiscardUnknown(m)
  2405  }
  2406  
  2407  var xxx_messageInfo_AcceptancePolicy proto.InternalMessageInfo
  2408  
  2409  type AcceptancePolicy_RoleAdmissionPolicy struct {
  2410  	Role NodeRole `protobuf:"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole" json:"role,omitempty"`
  2411  	// Autoaccept controls which roles' certificates are automatically
  2412  	// issued without administrator intervention.
  2413  	Autoaccept bool `protobuf:"varint,2,opt,name=autoaccept,proto3" json:"autoaccept,omitempty"`
  2414  	// Secret represents a user-provided string that is necessary for new
  2415  	// nodes to join the cluster
  2416  	Secret *AcceptancePolicy_RoleAdmissionPolicy_Secret `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
  2417  }
  2418  
  2419  func (m *AcceptancePolicy_RoleAdmissionPolicy) Reset()      { *m = AcceptancePolicy_RoleAdmissionPolicy{} }
  2420  func (*AcceptancePolicy_RoleAdmissionPolicy) ProtoMessage() {}
  2421  func (*AcceptancePolicy_RoleAdmissionPolicy) Descriptor() ([]byte, []int) {
  2422  	return fileDescriptor_0b5eafd0404ded3d, []int{31, 0}
  2423  }
  2424  func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Unmarshal(b []byte) error {
  2425  	return m.Unmarshal(b)
  2426  }
  2427  func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2428  	if deterministic {
  2429  		return xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy.Marshal(b, m, deterministic)
  2430  	} else {
  2431  		b = b[:cap(b)]
  2432  		n, err := m.MarshalTo(b)
  2433  		if err != nil {
  2434  			return nil, err
  2435  		}
  2436  		return b[:n], nil
  2437  	}
  2438  }
  2439  func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Merge(src proto.Message) {
  2440  	xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy.Merge(m, src)
  2441  }
  2442  func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Size() int {
  2443  	return m.Size()
  2444  }
  2445  func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_DiscardUnknown() {
  2446  	xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy.DiscardUnknown(m)
  2447  }
  2448  
  2449  var xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy proto.InternalMessageInfo
  2450  
  2451  type AcceptancePolicy_RoleAdmissionPolicy_Secret struct {
  2452  	// The actual content (possibly hashed)
  2453  	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  2454  	// The type of hash we are using, or "plaintext"
  2455  	Alg string `protobuf:"bytes,2,opt,name=alg,proto3" json:"alg,omitempty"`
  2456  }
  2457  
  2458  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Reset() {
  2459  	*m = AcceptancePolicy_RoleAdmissionPolicy_Secret{}
  2460  }
  2461  func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) ProtoMessage() {}
  2462  func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) Descriptor() ([]byte, []int) {
  2463  	return fileDescriptor_0b5eafd0404ded3d, []int{31, 0, 0}
  2464  }
  2465  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Unmarshal(b []byte) error {
  2466  	return m.Unmarshal(b)
  2467  }
  2468  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2469  	if deterministic {
  2470  		return xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret.Marshal(b, m, deterministic)
  2471  	} else {
  2472  		b = b[:cap(b)]
  2473  		n, err := m.MarshalTo(b)
  2474  		if err != nil {
  2475  			return nil, err
  2476  		}
  2477  		return b[:n], nil
  2478  	}
  2479  }
  2480  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Merge(src proto.Message) {
  2481  	xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret.Merge(m, src)
  2482  }
  2483  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Size() int {
  2484  	return m.Size()
  2485  }
  2486  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_DiscardUnknown() {
  2487  	xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret.DiscardUnknown(m)
  2488  }
  2489  
  2490  var xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret proto.InternalMessageInfo
  2491  
  2492  type ExternalCA struct {
  2493  	// Protocol is the protocol used by this external CA.
  2494  	Protocol ExternalCA_CAProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=docker.swarmkit.v1.ExternalCA_CAProtocol" json:"protocol,omitempty"`
  2495  	// URL is the URL where the external CA can be reached.
  2496  	URL string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
  2497  	// Options is a set of additional key/value pairs whose interpretation
  2498  	// depends on the specified CA type.
  2499  	Options map[string]string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  2500  	// CACert specifies which root CA is used by this external CA
  2501  	CACert []byte `protobuf:"bytes,4,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"`
  2502  }
  2503  
  2504  func (m *ExternalCA) Reset()      { *m = ExternalCA{} }
  2505  func (*ExternalCA) ProtoMessage() {}
  2506  func (*ExternalCA) Descriptor() ([]byte, []int) {
  2507  	return fileDescriptor_0b5eafd0404ded3d, []int{32}
  2508  }
  2509  func (m *ExternalCA) XXX_Unmarshal(b []byte) error {
  2510  	return m.Unmarshal(b)
  2511  }
  2512  func (m *ExternalCA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2513  	if deterministic {
  2514  		return xxx_messageInfo_ExternalCA.Marshal(b, m, deterministic)
  2515  	} else {
  2516  		b = b[:cap(b)]
  2517  		n, err := m.MarshalTo(b)
  2518  		if err != nil {
  2519  			return nil, err
  2520  		}
  2521  		return b[:n], nil
  2522  	}
  2523  }
  2524  func (m *ExternalCA) XXX_Merge(src proto.Message) {
  2525  	xxx_messageInfo_ExternalCA.Merge(m, src)
  2526  }
  2527  func (m *ExternalCA) XXX_Size() int {
  2528  	return m.Size()
  2529  }
  2530  func (m *ExternalCA) XXX_DiscardUnknown() {
  2531  	xxx_messageInfo_ExternalCA.DiscardUnknown(m)
  2532  }
  2533  
  2534  var xxx_messageInfo_ExternalCA proto.InternalMessageInfo
  2535  
  2536  type CAConfig struct {
  2537  	// NodeCertExpiry is the duration certificates should be issued for
  2538  	// Note: can't use stdduration because this field needs to be nullable.
  2539  	NodeCertExpiry *types.Duration `protobuf:"bytes,1,opt,name=node_cert_expiry,json=nodeCertExpiry,proto3" json:"node_cert_expiry,omitempty"`
  2540  	// ExternalCAs is a list of CAs to which a manager node will make
  2541  	// certificate signing requests for node certificates.
  2542  	ExternalCAs []*ExternalCA `protobuf:"bytes,2,rep,name=external_cas,json=externalCas,proto3" json:"external_cas,omitempty"`
  2543  	// SigningCACert is the desired CA certificate to be used as the root and
  2544  	// signing CA for the swarm.  If not provided, indicates that we are either happy
  2545  	// with the current configuration, or (together with a bump in the ForceRotate value)
  2546  	// that we want a certificate and key generated for us.
  2547  	SigningCACert []byte `protobuf:"bytes,3,opt,name=signing_ca_cert,json=signingCaCert,proto3" json:"signing_ca_cert,omitempty"`
  2548  	// SigningCAKey is the desired private key, matching the signing CA cert, to be used
  2549  	// to sign certificates for the swarm
  2550  	SigningCAKey []byte `protobuf:"bytes,4,opt,name=signing_ca_key,json=signingCaKey,proto3" json:"signing_ca_key,omitempty"`
  2551  	// ForceRotate is a counter that triggers a root CA rotation even if no relevant
  2552  	// parameters have been in the spec. This will force the manager to generate a new
  2553  	// certificate and key, if none have been provided.
  2554  	ForceRotate uint64 `protobuf:"varint,5,opt,name=force_rotate,json=forceRotate,proto3" json:"force_rotate,omitempty"`
  2555  }
  2556  
  2557  func (m *CAConfig) Reset()      { *m = CAConfig{} }
  2558  func (*CAConfig) ProtoMessage() {}
  2559  func (*CAConfig) Descriptor() ([]byte, []int) {
  2560  	return fileDescriptor_0b5eafd0404ded3d, []int{33}
  2561  }
  2562  func (m *CAConfig) XXX_Unmarshal(b []byte) error {
  2563  	return m.Unmarshal(b)
  2564  }
  2565  func (m *CAConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2566  	if deterministic {
  2567  		return xxx_messageInfo_CAConfig.Marshal(b, m, deterministic)
  2568  	} else {
  2569  		b = b[:cap(b)]
  2570  		n, err := m.MarshalTo(b)
  2571  		if err != nil {
  2572  			return nil, err
  2573  		}
  2574  		return b[:n], nil
  2575  	}
  2576  }
  2577  func (m *CAConfig) XXX_Merge(src proto.Message) {
  2578  	xxx_messageInfo_CAConfig.Merge(m, src)
  2579  }
  2580  func (m *CAConfig) XXX_Size() int {
  2581  	return m.Size()
  2582  }
  2583  func (m *CAConfig) XXX_DiscardUnknown() {
  2584  	xxx_messageInfo_CAConfig.DiscardUnknown(m)
  2585  }
  2586  
  2587  var xxx_messageInfo_CAConfig proto.InternalMessageInfo
  2588  
  2589  // OrchestrationConfig defines cluster-level orchestration settings.
  2590  type OrchestrationConfig struct {
  2591  	// TaskHistoryRetentionLimit is the number of historic tasks to keep per instance or
  2592  	// node. If negative, never remove completed or failed tasks.
  2593  	TaskHistoryRetentionLimit int64 `protobuf:"varint,1,opt,name=task_history_retention_limit,json=taskHistoryRetentionLimit,proto3" json:"task_history_retention_limit,omitempty"`
  2594  }
  2595  
  2596  func (m *OrchestrationConfig) Reset()      { *m = OrchestrationConfig{} }
  2597  func (*OrchestrationConfig) ProtoMessage() {}
  2598  func (*OrchestrationConfig) Descriptor() ([]byte, []int) {
  2599  	return fileDescriptor_0b5eafd0404ded3d, []int{34}
  2600  }
  2601  func (m *OrchestrationConfig) XXX_Unmarshal(b []byte) error {
  2602  	return m.Unmarshal(b)
  2603  }
  2604  func (m *OrchestrationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2605  	if deterministic {
  2606  		return xxx_messageInfo_OrchestrationConfig.Marshal(b, m, deterministic)
  2607  	} else {
  2608  		b = b[:cap(b)]
  2609  		n, err := m.MarshalTo(b)
  2610  		if err != nil {
  2611  			return nil, err
  2612  		}
  2613  		return b[:n], nil
  2614  	}
  2615  }
  2616  func (m *OrchestrationConfig) XXX_Merge(src proto.Message) {
  2617  	xxx_messageInfo_OrchestrationConfig.Merge(m, src)
  2618  }
  2619  func (m *OrchestrationConfig) XXX_Size() int {
  2620  	return m.Size()
  2621  }
  2622  func (m *OrchestrationConfig) XXX_DiscardUnknown() {
  2623  	xxx_messageInfo_OrchestrationConfig.DiscardUnknown(m)
  2624  }
  2625  
  2626  var xxx_messageInfo_OrchestrationConfig proto.InternalMessageInfo
  2627  
  2628  // TaskDefaults specifies default values for task creation.
  2629  type TaskDefaults struct {
  2630  	// LogDriver specifies the log driver to use for the cluster if not
  2631  	// specified for each task.
  2632  	//
  2633  	// If this is changed, only new tasks will pick up the new log driver.
  2634  	// Existing tasks will continue to use the previous default until rescheduled.
  2635  	LogDriver *Driver `protobuf:"bytes,1,opt,name=log_driver,json=logDriver,proto3" json:"log_driver,omitempty"`
  2636  }
  2637  
  2638  func (m *TaskDefaults) Reset()      { *m = TaskDefaults{} }
  2639  func (*TaskDefaults) ProtoMessage() {}
  2640  func (*TaskDefaults) Descriptor() ([]byte, []int) {
  2641  	return fileDescriptor_0b5eafd0404ded3d, []int{35}
  2642  }
  2643  func (m *TaskDefaults) XXX_Unmarshal(b []byte) error {
  2644  	return m.Unmarshal(b)
  2645  }
  2646  func (m *TaskDefaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2647  	if deterministic {
  2648  		return xxx_messageInfo_TaskDefaults.Marshal(b, m, deterministic)
  2649  	} else {
  2650  		b = b[:cap(b)]
  2651  		n, err := m.MarshalTo(b)
  2652  		if err != nil {
  2653  			return nil, err
  2654  		}
  2655  		return b[:n], nil
  2656  	}
  2657  }
  2658  func (m *TaskDefaults) XXX_Merge(src proto.Message) {
  2659  	xxx_messageInfo_TaskDefaults.Merge(m, src)
  2660  }
  2661  func (m *TaskDefaults) XXX_Size() int {
  2662  	return m.Size()
  2663  }
  2664  func (m *TaskDefaults) XXX_DiscardUnknown() {
  2665  	xxx_messageInfo_TaskDefaults.DiscardUnknown(m)
  2666  }
  2667  
  2668  var xxx_messageInfo_TaskDefaults proto.InternalMessageInfo
  2669  
  2670  // DispatcherConfig defines cluster-level dispatcher settings.
  2671  type DispatcherConfig struct {
  2672  	// HeartbeatPeriod defines how often agent should send heartbeats to
  2673  	// dispatcher.
  2674  	// Note: can't use stdduration because this field needs to be nullable.
  2675  	HeartbeatPeriod *types.Duration `protobuf:"bytes,1,opt,name=heartbeat_period,json=heartbeatPeriod,proto3" json:"heartbeat_period,omitempty"`
  2676  }
  2677  
  2678  func (m *DispatcherConfig) Reset()      { *m = DispatcherConfig{} }
  2679  func (*DispatcherConfig) ProtoMessage() {}
  2680  func (*DispatcherConfig) Descriptor() ([]byte, []int) {
  2681  	return fileDescriptor_0b5eafd0404ded3d, []int{36}
  2682  }
  2683  func (m *DispatcherConfig) XXX_Unmarshal(b []byte) error {
  2684  	return m.Unmarshal(b)
  2685  }
  2686  func (m *DispatcherConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2687  	if deterministic {
  2688  		return xxx_messageInfo_DispatcherConfig.Marshal(b, m, deterministic)
  2689  	} else {
  2690  		b = b[:cap(b)]
  2691  		n, err := m.MarshalTo(b)
  2692  		if err != nil {
  2693  			return nil, err
  2694  		}
  2695  		return b[:n], nil
  2696  	}
  2697  }
  2698  func (m *DispatcherConfig) XXX_Merge(src proto.Message) {
  2699  	xxx_messageInfo_DispatcherConfig.Merge(m, src)
  2700  }
  2701  func (m *DispatcherConfig) XXX_Size() int {
  2702  	return m.Size()
  2703  }
  2704  func (m *DispatcherConfig) XXX_DiscardUnknown() {
  2705  	xxx_messageInfo_DispatcherConfig.DiscardUnknown(m)
  2706  }
  2707  
  2708  var xxx_messageInfo_DispatcherConfig proto.InternalMessageInfo
  2709  
  2710  // RaftConfig defines raft settings for the cluster.
  2711  type RaftConfig struct {
  2712  	// SnapshotInterval is the number of log entries between snapshots.
  2713  	SnapshotInterval uint64 `protobuf:"varint,1,opt,name=snapshot_interval,json=snapshotInterval,proto3" json:"snapshot_interval,omitempty"`
  2714  	// KeepOldSnapshots is the number of snapshots to keep beyond the
  2715  	// current snapshot.
  2716  	KeepOldSnapshots uint64 `protobuf:"varint,2,opt,name=keep_old_snapshots,json=keepOldSnapshots,proto3" json:"keep_old_snapshots,omitempty"`
  2717  	// LogEntriesForSlowFollowers is the number of log entries to keep
  2718  	// around to sync up slow followers after a snapshot is created.
  2719  	LogEntriesForSlowFollowers uint64 `protobuf:"varint,3,opt,name=log_entries_for_slow_followers,json=logEntriesForSlowFollowers,proto3" json:"log_entries_for_slow_followers,omitempty"`
  2720  	// HeartbeatTick defines the amount of ticks (in seconds) between
  2721  	// each heartbeat message sent to other members for health-check.
  2722  	HeartbeatTick uint32 `protobuf:"varint,4,opt,name=heartbeat_tick,json=heartbeatTick,proto3" json:"heartbeat_tick,omitempty"`
  2723  	// ElectionTick defines the amount of ticks (in seconds) needed
  2724  	// without a leader to trigger a new election.
  2725  	ElectionTick uint32 `protobuf:"varint,5,opt,name=election_tick,json=electionTick,proto3" json:"election_tick,omitempty"`
  2726  }
  2727  
  2728  func (m *RaftConfig) Reset()      { *m = RaftConfig{} }
  2729  func (*RaftConfig) ProtoMessage() {}
  2730  func (*RaftConfig) Descriptor() ([]byte, []int) {
  2731  	return fileDescriptor_0b5eafd0404ded3d, []int{37}
  2732  }
  2733  func (m *RaftConfig) XXX_Unmarshal(b []byte) error {
  2734  	return m.Unmarshal(b)
  2735  }
  2736  func (m *RaftConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2737  	if deterministic {
  2738  		return xxx_messageInfo_RaftConfig.Marshal(b, m, deterministic)
  2739  	} else {
  2740  		b = b[:cap(b)]
  2741  		n, err := m.MarshalTo(b)
  2742  		if err != nil {
  2743  			return nil, err
  2744  		}
  2745  		return b[:n], nil
  2746  	}
  2747  }
  2748  func (m *RaftConfig) XXX_Merge(src proto.Message) {
  2749  	xxx_messageInfo_RaftConfig.Merge(m, src)
  2750  }
  2751  func (m *RaftConfig) XXX_Size() int {
  2752  	return m.Size()
  2753  }
  2754  func (m *RaftConfig) XXX_DiscardUnknown() {
  2755  	xxx_messageInfo_RaftConfig.DiscardUnknown(m)
  2756  }
  2757  
  2758  var xxx_messageInfo_RaftConfig proto.InternalMessageInfo
  2759  
  2760  type EncryptionConfig struct {
  2761  	// AutoLockManagers specifies whether or not managers TLS keys and raft data
  2762  	// should be encrypted at rest in such a way that they must be unlocked
  2763  	// before the manager node starts up again.
  2764  	AutoLockManagers bool `protobuf:"varint,1,opt,name=auto_lock_managers,json=autoLockManagers,proto3" json:"auto_lock_managers,omitempty"`
  2765  }
  2766  
  2767  func (m *EncryptionConfig) Reset()      { *m = EncryptionConfig{} }
  2768  func (*EncryptionConfig) ProtoMessage() {}
  2769  func (*EncryptionConfig) Descriptor() ([]byte, []int) {
  2770  	return fileDescriptor_0b5eafd0404ded3d, []int{38}
  2771  }
  2772  func (m *EncryptionConfig) XXX_Unmarshal(b []byte) error {
  2773  	return m.Unmarshal(b)
  2774  }
  2775  func (m *EncryptionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2776  	if deterministic {
  2777  		return xxx_messageInfo_EncryptionConfig.Marshal(b, m, deterministic)
  2778  	} else {
  2779  		b = b[:cap(b)]
  2780  		n, err := m.MarshalTo(b)
  2781  		if err != nil {
  2782  			return nil, err
  2783  		}
  2784  		return b[:n], nil
  2785  	}
  2786  }
  2787  func (m *EncryptionConfig) XXX_Merge(src proto.Message) {
  2788  	xxx_messageInfo_EncryptionConfig.Merge(m, src)
  2789  }
  2790  func (m *EncryptionConfig) XXX_Size() int {
  2791  	return m.Size()
  2792  }
  2793  func (m *EncryptionConfig) XXX_DiscardUnknown() {
  2794  	xxx_messageInfo_EncryptionConfig.DiscardUnknown(m)
  2795  }
  2796  
  2797  var xxx_messageInfo_EncryptionConfig proto.InternalMessageInfo
  2798  
  2799  type SpreadOver struct {
  2800  	SpreadDescriptor string `protobuf:"bytes,1,opt,name=spread_descriptor,json=spreadDescriptor,proto3" json:"spread_descriptor,omitempty"`
  2801  }
  2802  
  2803  func (m *SpreadOver) Reset()      { *m = SpreadOver{} }
  2804  func (*SpreadOver) ProtoMessage() {}
  2805  func (*SpreadOver) Descriptor() ([]byte, []int) {
  2806  	return fileDescriptor_0b5eafd0404ded3d, []int{39}
  2807  }
  2808  func (m *SpreadOver) XXX_Unmarshal(b []byte) error {
  2809  	return m.Unmarshal(b)
  2810  }
  2811  func (m *SpreadOver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2812  	if deterministic {
  2813  		return xxx_messageInfo_SpreadOver.Marshal(b, m, deterministic)
  2814  	} else {
  2815  		b = b[:cap(b)]
  2816  		n, err := m.MarshalTo(b)
  2817  		if err != nil {
  2818  			return nil, err
  2819  		}
  2820  		return b[:n], nil
  2821  	}
  2822  }
  2823  func (m *SpreadOver) XXX_Merge(src proto.Message) {
  2824  	xxx_messageInfo_SpreadOver.Merge(m, src)
  2825  }
  2826  func (m *SpreadOver) XXX_Size() int {
  2827  	return m.Size()
  2828  }
  2829  func (m *SpreadOver) XXX_DiscardUnknown() {
  2830  	xxx_messageInfo_SpreadOver.DiscardUnknown(m)
  2831  }
  2832  
  2833  var xxx_messageInfo_SpreadOver proto.InternalMessageInfo
  2834  
  2835  type PlacementPreference struct {
  2836  	// Types that are valid to be assigned to Preference:
  2837  	//	*PlacementPreference_Spread
  2838  	Preference isPlacementPreference_Preference `protobuf_oneof:"Preference"`
  2839  }
  2840  
  2841  func (m *PlacementPreference) Reset()      { *m = PlacementPreference{} }
  2842  func (*PlacementPreference) ProtoMessage() {}
  2843  func (*PlacementPreference) Descriptor() ([]byte, []int) {
  2844  	return fileDescriptor_0b5eafd0404ded3d, []int{40}
  2845  }
  2846  func (m *PlacementPreference) XXX_Unmarshal(b []byte) error {
  2847  	return m.Unmarshal(b)
  2848  }
  2849  func (m *PlacementPreference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2850  	if deterministic {
  2851  		return xxx_messageInfo_PlacementPreference.Marshal(b, m, deterministic)
  2852  	} else {
  2853  		b = b[:cap(b)]
  2854  		n, err := m.MarshalTo(b)
  2855  		if err != nil {
  2856  			return nil, err
  2857  		}
  2858  		return b[:n], nil
  2859  	}
  2860  }
  2861  func (m *PlacementPreference) XXX_Merge(src proto.Message) {
  2862  	xxx_messageInfo_PlacementPreference.Merge(m, src)
  2863  }
  2864  func (m *PlacementPreference) XXX_Size() int {
  2865  	return m.Size()
  2866  }
  2867  func (m *PlacementPreference) XXX_DiscardUnknown() {
  2868  	xxx_messageInfo_PlacementPreference.DiscardUnknown(m)
  2869  }
  2870  
  2871  var xxx_messageInfo_PlacementPreference proto.InternalMessageInfo
  2872  
  2873  type isPlacementPreference_Preference interface {
  2874  	isPlacementPreference_Preference()
  2875  	MarshalTo([]byte) (int, error)
  2876  	Size() int
  2877  }
  2878  
  2879  type PlacementPreference_Spread struct {
  2880  	Spread *SpreadOver `protobuf:"bytes,1,opt,name=spread,proto3,oneof"`
  2881  }
  2882  
  2883  func (*PlacementPreference_Spread) isPlacementPreference_Preference() {}
  2884  
  2885  func (m *PlacementPreference) GetPreference() isPlacementPreference_Preference {
  2886  	if m != nil {
  2887  		return m.Preference
  2888  	}
  2889  	return nil
  2890  }
  2891  
  2892  func (m *PlacementPreference) GetSpread() *SpreadOver {
  2893  	if x, ok := m.GetPreference().(*PlacementPreference_Spread); ok {
  2894  		return x.Spread
  2895  	}
  2896  	return nil
  2897  }
  2898  
  2899  // XXX_OneofFuncs is for the internal use of the proto package.
  2900  func (*PlacementPreference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  2901  	return _PlacementPreference_OneofMarshaler, _PlacementPreference_OneofUnmarshaler, _PlacementPreference_OneofSizer, []interface{}{
  2902  		(*PlacementPreference_Spread)(nil),
  2903  	}
  2904  }
  2905  
  2906  func _PlacementPreference_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  2907  	m := msg.(*PlacementPreference)
  2908  	// Preference
  2909  	switch x := m.Preference.(type) {
  2910  	case *PlacementPreference_Spread:
  2911  		_ = b.EncodeVarint(1<<3 | proto.WireBytes)
  2912  		if err := b.EncodeMessage(x.Spread); err != nil {
  2913  			return err
  2914  		}
  2915  	case nil:
  2916  	default:
  2917  		return fmt.Errorf("PlacementPreference.Preference has unexpected type %T", x)
  2918  	}
  2919  	return nil
  2920  }
  2921  
  2922  func _PlacementPreference_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  2923  	m := msg.(*PlacementPreference)
  2924  	switch tag {
  2925  	case 1: // Preference.spread
  2926  		if wire != proto.WireBytes {
  2927  			return true, proto.ErrInternalBadWireType
  2928  		}
  2929  		msg := new(SpreadOver)
  2930  		err := b.DecodeMessage(msg)
  2931  		m.Preference = &PlacementPreference_Spread{msg}
  2932  		return true, err
  2933  	default:
  2934  		return false, nil
  2935  	}
  2936  }
  2937  
  2938  func _PlacementPreference_OneofSizer(msg proto.Message) (n int) {
  2939  	m := msg.(*PlacementPreference)
  2940  	// Preference
  2941  	switch x := m.Preference.(type) {
  2942  	case *PlacementPreference_Spread:
  2943  		s := proto.Size(x.Spread)
  2944  		n += 1 // tag and wire
  2945  		n += proto.SizeVarint(uint64(s))
  2946  		n += s
  2947  	case nil:
  2948  	default:
  2949  		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  2950  	}
  2951  	return n
  2952  }
  2953  
  2954  // Placement specifies task distribution constraints.
  2955  type Placement struct {
  2956  	// Constraints specifies a set of requirements a node should meet for a task.
  2957  	Constraints []string `protobuf:"bytes,1,rep,name=constraints,proto3" json:"constraints,omitempty"`
  2958  	// Preferences provide a way to make the scheduler aware of factors
  2959  	// such as topology. They are provided in order from highest to lowest
  2960  	// precedence.
  2961  	Preferences []*PlacementPreference `protobuf:"bytes,2,rep,name=preferences,proto3" json:"preferences,omitempty"`
  2962  	// Platforms stores all the platforms that the image can run on.
  2963  	// This field is used in the platform filter for scheduling. If empty,
  2964  	// then the platform filter is off, meaning there are no scheduling restrictions.
  2965  	Platforms []*Platform `protobuf:"bytes,3,rep,name=platforms,proto3" json:"platforms,omitempty"`
  2966  	// MaxReplicas specifies the limit for maximum number of replicas running on one node.
  2967  	MaxReplicas uint64 `protobuf:"varint,4,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"`
  2968  }
  2969  
  2970  func (m *Placement) Reset()      { *m = Placement{} }
  2971  func (*Placement) ProtoMessage() {}
  2972  func (*Placement) Descriptor() ([]byte, []int) {
  2973  	return fileDescriptor_0b5eafd0404ded3d, []int{41}
  2974  }
  2975  func (m *Placement) XXX_Unmarshal(b []byte) error {
  2976  	return m.Unmarshal(b)
  2977  }
  2978  func (m *Placement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2979  	if deterministic {
  2980  		return xxx_messageInfo_Placement.Marshal(b, m, deterministic)
  2981  	} else {
  2982  		b = b[:cap(b)]
  2983  		n, err := m.MarshalTo(b)
  2984  		if err != nil {
  2985  			return nil, err
  2986  		}
  2987  		return b[:n], nil
  2988  	}
  2989  }
  2990  func (m *Placement) XXX_Merge(src proto.Message) {
  2991  	xxx_messageInfo_Placement.Merge(m, src)
  2992  }
  2993  func (m *Placement) XXX_Size() int {
  2994  	return m.Size()
  2995  }
  2996  func (m *Placement) XXX_DiscardUnknown() {
  2997  	xxx_messageInfo_Placement.DiscardUnknown(m)
  2998  }
  2999  
  3000  var xxx_messageInfo_Placement proto.InternalMessageInfo
  3001  
  3002  // JoinToken contains the join tokens for workers and managers.
  3003  type JoinTokens struct {
  3004  	// Worker is the join token workers may use to join the swarm.
  3005  	Worker string `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
  3006  	// Manager is the join token workers may use to join the swarm.
  3007  	Manager string `protobuf:"bytes,2,opt,name=manager,proto3" json:"manager,omitempty"`
  3008  }
  3009  
  3010  func (m *JoinTokens) Reset()      { *m = JoinTokens{} }
  3011  func (*JoinTokens) ProtoMessage() {}
  3012  func (*JoinTokens) Descriptor() ([]byte, []int) {
  3013  	return fileDescriptor_0b5eafd0404ded3d, []int{42}
  3014  }
  3015  func (m *JoinTokens) XXX_Unmarshal(b []byte) error {
  3016  	return m.Unmarshal(b)
  3017  }
  3018  func (m *JoinTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3019  	if deterministic {
  3020  		return xxx_messageInfo_JoinTokens.Marshal(b, m, deterministic)
  3021  	} else {
  3022  		b = b[:cap(b)]
  3023  		n, err := m.MarshalTo(b)
  3024  		if err != nil {
  3025  			return nil, err
  3026  		}
  3027  		return b[:n], nil
  3028  	}
  3029  }
  3030  func (m *JoinTokens) XXX_Merge(src proto.Message) {
  3031  	xxx_messageInfo_JoinTokens.Merge(m, src)
  3032  }
  3033  func (m *JoinTokens) XXX_Size() int {
  3034  	return m.Size()
  3035  }
  3036  func (m *JoinTokens) XXX_DiscardUnknown() {
  3037  	xxx_messageInfo_JoinTokens.DiscardUnknown(m)
  3038  }
  3039  
  3040  var xxx_messageInfo_JoinTokens proto.InternalMessageInfo
  3041  
  3042  type RootCA struct {
  3043  	// CAKey is the root CA private key.
  3044  	CAKey []byte `protobuf:"bytes,1,opt,name=ca_key,json=caKey,proto3" json:"ca_key,omitempty"`
  3045  	// CACert is the root CA certificate.
  3046  	CACert []byte `protobuf:"bytes,2,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"`
  3047  	// CACertHash is the digest of the CA Certificate.
  3048  	CACertHash string `protobuf:"bytes,3,opt,name=ca_cert_hash,json=caCertHash,proto3" json:"ca_cert_hash,omitempty"`
  3049  	// JoinTokens contains the join tokens for workers and managers.
  3050  	JoinTokens JoinTokens `protobuf:"bytes,4,opt,name=join_tokens,json=joinTokens,proto3" json:"join_tokens"`
  3051  	// RootRotation contains the new root cert and key we want to rotate to - if this is nil, we are not in the
  3052  	// middle of a root rotation
  3053  	RootRotation *RootRotation `protobuf:"bytes,5,opt,name=root_rotation,json=rootRotation,proto3" json:"root_rotation,omitempty"`
  3054  	// LastForcedRotation matches the Cluster Spec's CAConfig's ForceRotation counter.
  3055  	// It indicates when the current CA cert and key were generated (or updated).
  3056  	LastForcedRotation uint64 `protobuf:"varint,6,opt,name=last_forced_rotation,json=lastForcedRotation,proto3" json:"last_forced_rotation,omitempty"`
  3057  }
  3058  
  3059  func (m *RootCA) Reset()      { *m = RootCA{} }
  3060  func (*RootCA) ProtoMessage() {}
  3061  func (*RootCA) Descriptor() ([]byte, []int) {
  3062  	return fileDescriptor_0b5eafd0404ded3d, []int{43}
  3063  }
  3064  func (m *RootCA) XXX_Unmarshal(b []byte) error {
  3065  	return m.Unmarshal(b)
  3066  }
  3067  func (m *RootCA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3068  	if deterministic {
  3069  		return xxx_messageInfo_RootCA.Marshal(b, m, deterministic)
  3070  	} else {
  3071  		b = b[:cap(b)]
  3072  		n, err := m.MarshalTo(b)
  3073  		if err != nil {
  3074  			return nil, err
  3075  		}
  3076  		return b[:n], nil
  3077  	}
  3078  }
  3079  func (m *RootCA) XXX_Merge(src proto.Message) {
  3080  	xxx_messageInfo_RootCA.Merge(m, src)
  3081  }
  3082  func (m *RootCA) XXX_Size() int {
  3083  	return m.Size()
  3084  }
  3085  func (m *RootCA) XXX_DiscardUnknown() {
  3086  	xxx_messageInfo_RootCA.DiscardUnknown(m)
  3087  }
  3088  
  3089  var xxx_messageInfo_RootCA proto.InternalMessageInfo
  3090  
  3091  type Certificate struct {
  3092  	Role        NodeRole       `protobuf:"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole" json:"role,omitempty"`
  3093  	CSR         []byte         `protobuf:"bytes,2,opt,name=csr,proto3" json:"csr,omitempty"`
  3094  	Status      IssuanceStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status"`
  3095  	Certificate []byte         `protobuf:"bytes,4,opt,name=certificate,proto3" json:"certificate,omitempty"`
  3096  	// CN represents the node ID.
  3097  	CN string `protobuf:"bytes,5,opt,name=cn,proto3" json:"cn,omitempty"`
  3098  }
  3099  
  3100  func (m *Certificate) Reset()      { *m = Certificate{} }
  3101  func (*Certificate) ProtoMessage() {}
  3102  func (*Certificate) Descriptor() ([]byte, []int) {
  3103  	return fileDescriptor_0b5eafd0404ded3d, []int{44}
  3104  }
  3105  func (m *Certificate) XXX_Unmarshal(b []byte) error {
  3106  	return m.Unmarshal(b)
  3107  }
  3108  func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3109  	if deterministic {
  3110  		return xxx_messageInfo_Certificate.Marshal(b, m, deterministic)
  3111  	} else {
  3112  		b = b[:cap(b)]
  3113  		n, err := m.MarshalTo(b)
  3114  		if err != nil {
  3115  			return nil, err
  3116  		}
  3117  		return b[:n], nil
  3118  	}
  3119  }
  3120  func (m *Certificate) XXX_Merge(src proto.Message) {
  3121  	xxx_messageInfo_Certificate.Merge(m, src)
  3122  }
  3123  func (m *Certificate) XXX_Size() int {
  3124  	return m.Size()
  3125  }
  3126  func (m *Certificate) XXX_DiscardUnknown() {
  3127  	xxx_messageInfo_Certificate.DiscardUnknown(m)
  3128  }
  3129  
  3130  var xxx_messageInfo_Certificate proto.InternalMessageInfo
  3131  
  3132  // Symmetric keys to encrypt inter-agent communication.
  3133  type EncryptionKey struct {
  3134  	// Agent subsystem the key is intended for. Example:
  3135  	// networking:gossip
  3136  	Subsystem string                  `protobuf:"bytes,1,opt,name=subsystem,proto3" json:"subsystem,omitempty"`
  3137  	Algorithm EncryptionKey_Algorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=docker.swarmkit.v1.EncryptionKey_Algorithm" json:"algorithm,omitempty"`
  3138  	Key       []byte                  `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
  3139  	// Time stamp from the lamport clock of the key allocator to
  3140  	// identify the relative age of the key.
  3141  	LamportTime uint64 `protobuf:"varint,4,opt,name=lamport_time,json=lamportTime,proto3" json:"lamport_time,omitempty"`
  3142  }
  3143  
  3144  func (m *EncryptionKey) Reset()      { *m = EncryptionKey{} }
  3145  func (*EncryptionKey) ProtoMessage() {}
  3146  func (*EncryptionKey) Descriptor() ([]byte, []int) {
  3147  	return fileDescriptor_0b5eafd0404ded3d, []int{45}
  3148  }
  3149  func (m *EncryptionKey) XXX_Unmarshal(b []byte) error {
  3150  	return m.Unmarshal(b)
  3151  }
  3152  func (m *EncryptionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3153  	if deterministic {
  3154  		return xxx_messageInfo_EncryptionKey.Marshal(b, m, deterministic)
  3155  	} else {
  3156  		b = b[:cap(b)]
  3157  		n, err := m.MarshalTo(b)
  3158  		if err != nil {
  3159  			return nil, err
  3160  		}
  3161  		return b[:n], nil
  3162  	}
  3163  }
  3164  func (m *EncryptionKey) XXX_Merge(src proto.Message) {
  3165  	xxx_messageInfo_EncryptionKey.Merge(m, src)
  3166  }
  3167  func (m *EncryptionKey) XXX_Size() int {
  3168  	return m.Size()
  3169  }
  3170  func (m *EncryptionKey) XXX_DiscardUnknown() {
  3171  	xxx_messageInfo_EncryptionKey.DiscardUnknown(m)
  3172  }
  3173  
  3174  var xxx_messageInfo_EncryptionKey proto.InternalMessageInfo
  3175  
  3176  // ManagerStatus provides informations about the state of a manager in the cluster.
  3177  type ManagerStatus struct {
  3178  	// RaftID specifies the internal ID used by the manager in a raft context, it can never be modified
  3179  	// and is used only for information purposes
  3180  	RaftID uint64 `protobuf:"varint,1,opt,name=raft_id,json=raftId,proto3" json:"raft_id,omitempty"`
  3181  	// Addr is the address advertised to raft.
  3182  	Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
  3183  	// Leader is set to true if this node is the raft leader.
  3184  	Leader bool `protobuf:"varint,3,opt,name=leader,proto3" json:"leader,omitempty"`
  3185  	// Reachability specifies whether this node is reachable.
  3186  	Reachability RaftMemberStatus_Reachability `protobuf:"varint,4,opt,name=reachability,proto3,enum=docker.swarmkit.v1.RaftMemberStatus_Reachability" json:"reachability,omitempty"`
  3187  }
  3188  
  3189  func (m *ManagerStatus) Reset()      { *m = ManagerStatus{} }
  3190  func (*ManagerStatus) ProtoMessage() {}
  3191  func (*ManagerStatus) Descriptor() ([]byte, []int) {
  3192  	return fileDescriptor_0b5eafd0404ded3d, []int{46}
  3193  }
  3194  func (m *ManagerStatus) XXX_Unmarshal(b []byte) error {
  3195  	return m.Unmarshal(b)
  3196  }
  3197  func (m *ManagerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3198  	if deterministic {
  3199  		return xxx_messageInfo_ManagerStatus.Marshal(b, m, deterministic)
  3200  	} else {
  3201  		b = b[:cap(b)]
  3202  		n, err := m.MarshalTo(b)
  3203  		if err != nil {
  3204  			return nil, err
  3205  		}
  3206  		return b[:n], nil
  3207  	}
  3208  }
  3209  func (m *ManagerStatus) XXX_Merge(src proto.Message) {
  3210  	xxx_messageInfo_ManagerStatus.Merge(m, src)
  3211  }
  3212  func (m *ManagerStatus) XXX_Size() int {
  3213  	return m.Size()
  3214  }
  3215  func (m *ManagerStatus) XXX_DiscardUnknown() {
  3216  	xxx_messageInfo_ManagerStatus.DiscardUnknown(m)
  3217  }
  3218  
  3219  var xxx_messageInfo_ManagerStatus proto.InternalMessageInfo
  3220  
  3221  // FileTarget represents a specific target that is backed by a file
  3222  type FileTarget struct {
  3223  	// Name represents the final filename in the filesystem
  3224  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  3225  	// UID represents the file UID
  3226  	UID string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
  3227  	// GID represents the file GID
  3228  	GID string `protobuf:"bytes,3,opt,name=gid,proto3" json:"gid,omitempty"`
  3229  	// Mode represents the FileMode of the file
  3230  	Mode os.FileMode `protobuf:"varint,4,opt,name=mode,proto3,customtype=os.FileMode" json:"mode"`
  3231  }
  3232  
  3233  func (m *FileTarget) Reset()      { *m = FileTarget{} }
  3234  func (*FileTarget) ProtoMessage() {}
  3235  func (*FileTarget) Descriptor() ([]byte, []int) {
  3236  	return fileDescriptor_0b5eafd0404ded3d, []int{47}
  3237  }
  3238  func (m *FileTarget) XXX_Unmarshal(b []byte) error {
  3239  	return m.Unmarshal(b)
  3240  }
  3241  func (m *FileTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3242  	if deterministic {
  3243  		return xxx_messageInfo_FileTarget.Marshal(b, m, deterministic)
  3244  	} else {
  3245  		b = b[:cap(b)]
  3246  		n, err := m.MarshalTo(b)
  3247  		if err != nil {
  3248  			return nil, err
  3249  		}
  3250  		return b[:n], nil
  3251  	}
  3252  }
  3253  func (m *FileTarget) XXX_Merge(src proto.Message) {
  3254  	xxx_messageInfo_FileTarget.Merge(m, src)
  3255  }
  3256  func (m *FileTarget) XXX_Size() int {
  3257  	return m.Size()
  3258  }
  3259  func (m *FileTarget) XXX_DiscardUnknown() {
  3260  	xxx_messageInfo_FileTarget.DiscardUnknown(m)
  3261  }
  3262  
  3263  var xxx_messageInfo_FileTarget proto.InternalMessageInfo
  3264  
  3265  // RuntimeTarget represents that this secret is _not_ mounted into the
  3266  // container, but is used for some other purpose by the container runtime.
  3267  //
  3268  // Currently, RuntimeTarget has no fields; it's just a placeholder.
  3269  type RuntimeTarget struct {
  3270  }
  3271  
  3272  func (m *RuntimeTarget) Reset()      { *m = RuntimeTarget{} }
  3273  func (*RuntimeTarget) ProtoMessage() {}
  3274  func (*RuntimeTarget) Descriptor() ([]byte, []int) {
  3275  	return fileDescriptor_0b5eafd0404ded3d, []int{48}
  3276  }
  3277  func (m *RuntimeTarget) XXX_Unmarshal(b []byte) error {
  3278  	return m.Unmarshal(b)
  3279  }
  3280  func (m *RuntimeTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3281  	if deterministic {
  3282  		return xxx_messageInfo_RuntimeTarget.Marshal(b, m, deterministic)
  3283  	} else {
  3284  		b = b[:cap(b)]
  3285  		n, err := m.MarshalTo(b)
  3286  		if err != nil {
  3287  			return nil, err
  3288  		}
  3289  		return b[:n], nil
  3290  	}
  3291  }
  3292  func (m *RuntimeTarget) XXX_Merge(src proto.Message) {
  3293  	xxx_messageInfo_RuntimeTarget.Merge(m, src)
  3294  }
  3295  func (m *RuntimeTarget) XXX_Size() int {
  3296  	return m.Size()
  3297  }
  3298  func (m *RuntimeTarget) XXX_DiscardUnknown() {
  3299  	xxx_messageInfo_RuntimeTarget.DiscardUnknown(m)
  3300  }
  3301  
  3302  var xxx_messageInfo_RuntimeTarget proto.InternalMessageInfo
  3303  
  3304  // SecretReference is the linkage between a service and a secret that it uses.
  3305  type SecretReference struct {
  3306  	// SecretID represents the ID of the specific Secret that we're
  3307  	// referencing. This identifier exists so that SecretReferences don't leak
  3308  	// any information about the secret contents.
  3309  	SecretID string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"`
  3310  	// SecretName is the name of the secret that this references, but this is just provided for
  3311  	// lookup/display purposes.  The secret in the reference will be identified by its ID.
  3312  	SecretName string `protobuf:"bytes,2,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
  3313  	// Target specifies how this secret should be exposed to the task.
  3314  	//
  3315  	// Types that are valid to be assigned to Target:
  3316  	//	*SecretReference_File
  3317  	Target isSecretReference_Target `protobuf_oneof:"target"`
  3318  }
  3319  
  3320  func (m *SecretReference) Reset()      { *m = SecretReference{} }
  3321  func (*SecretReference) ProtoMessage() {}
  3322  func (*SecretReference) Descriptor() ([]byte, []int) {
  3323  	return fileDescriptor_0b5eafd0404ded3d, []int{49}
  3324  }
  3325  func (m *SecretReference) XXX_Unmarshal(b []byte) error {
  3326  	return m.Unmarshal(b)
  3327  }
  3328  func (m *SecretReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3329  	if deterministic {
  3330  		return xxx_messageInfo_SecretReference.Marshal(b, m, deterministic)
  3331  	} else {
  3332  		b = b[:cap(b)]
  3333  		n, err := m.MarshalTo(b)
  3334  		if err != nil {
  3335  			return nil, err
  3336  		}
  3337  		return b[:n], nil
  3338  	}
  3339  }
  3340  func (m *SecretReference) XXX_Merge(src proto.Message) {
  3341  	xxx_messageInfo_SecretReference.Merge(m, src)
  3342  }
  3343  func (m *SecretReference) XXX_Size() int {
  3344  	return m.Size()
  3345  }
  3346  func (m *SecretReference) XXX_DiscardUnknown() {
  3347  	xxx_messageInfo_SecretReference.DiscardUnknown(m)
  3348  }
  3349  
  3350  var xxx_messageInfo_SecretReference proto.InternalMessageInfo
  3351  
  3352  type isSecretReference_Target interface {
  3353  	isSecretReference_Target()
  3354  	MarshalTo([]byte) (int, error)
  3355  	Size() int
  3356  }
  3357  
  3358  type SecretReference_File struct {
  3359  	File *FileTarget `protobuf:"bytes,3,opt,name=file,proto3,oneof"`
  3360  }
  3361  
  3362  func (*SecretReference_File) isSecretReference_Target() {}
  3363  
  3364  func (m *SecretReference) GetTarget() isSecretReference_Target {
  3365  	if m != nil {
  3366  		return m.Target
  3367  	}
  3368  	return nil
  3369  }
  3370  
  3371  func (m *SecretReference) GetFile() *FileTarget {
  3372  	if x, ok := m.GetTarget().(*SecretReference_File); ok {
  3373  		return x.File
  3374  	}
  3375  	return nil
  3376  }
  3377  
  3378  // XXX_OneofFuncs is for the internal use of the proto package.
  3379  func (*SecretReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  3380  	return _SecretReference_OneofMarshaler, _SecretReference_OneofUnmarshaler, _SecretReference_OneofSizer, []interface{}{
  3381  		(*SecretReference_File)(nil),
  3382  	}
  3383  }
  3384  
  3385  func _SecretReference_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  3386  	m := msg.(*SecretReference)
  3387  	// target
  3388  	switch x := m.Target.(type) {
  3389  	case *SecretReference_File:
  3390  		_ = b.EncodeVarint(3<<3 | proto.WireBytes)
  3391  		if err := b.EncodeMessage(x.File); err != nil {
  3392  			return err
  3393  		}
  3394  	case nil:
  3395  	default:
  3396  		return fmt.Errorf("SecretReference.Target has unexpected type %T", x)
  3397  	}
  3398  	return nil
  3399  }
  3400  
  3401  func _SecretReference_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  3402  	m := msg.(*SecretReference)
  3403  	switch tag {
  3404  	case 3: // target.file
  3405  		if wire != proto.WireBytes {
  3406  			return true, proto.ErrInternalBadWireType
  3407  		}
  3408  		msg := new(FileTarget)
  3409  		err := b.DecodeMessage(msg)
  3410  		m.Target = &SecretReference_File{msg}
  3411  		return true, err
  3412  	default:
  3413  		return false, nil
  3414  	}
  3415  }
  3416  
  3417  func _SecretReference_OneofSizer(msg proto.Message) (n int) {
  3418  	m := msg.(*SecretReference)
  3419  	// target
  3420  	switch x := m.Target.(type) {
  3421  	case *SecretReference_File:
  3422  		s := proto.Size(x.File)
  3423  		n += 1 // tag and wire
  3424  		n += proto.SizeVarint(uint64(s))
  3425  		n += s
  3426  	case nil:
  3427  	default:
  3428  		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  3429  	}
  3430  	return n
  3431  }
  3432  
  3433  // ConfigReference is the linkage between a service and a config that it uses.
  3434  type ConfigReference struct {
  3435  	// ConfigID represents the ID of the specific Config that we're
  3436  	// referencing.
  3437  	ConfigID string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
  3438  	// ConfigName is the name of the config that this references, but this is just provided for
  3439  	// lookup/display purposes. The config in the reference will be identified by its ID.
  3440  	ConfigName string `protobuf:"bytes,2,opt,name=config_name,json=configName,proto3" json:"config_name,omitempty"`
  3441  	// Target specifies how this config should be exposed to the task.
  3442  	//
  3443  	// Types that are valid to be assigned to Target:
  3444  	//	*ConfigReference_File
  3445  	//	*ConfigReference_Runtime
  3446  	Target isConfigReference_Target `protobuf_oneof:"target"`
  3447  }
  3448  
  3449  func (m *ConfigReference) Reset()      { *m = ConfigReference{} }
  3450  func (*ConfigReference) ProtoMessage() {}
  3451  func (*ConfigReference) Descriptor() ([]byte, []int) {
  3452  	return fileDescriptor_0b5eafd0404ded3d, []int{50}
  3453  }
  3454  func (m *ConfigReference) XXX_Unmarshal(b []byte) error {
  3455  	return m.Unmarshal(b)
  3456  }
  3457  func (m *ConfigReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3458  	if deterministic {
  3459  		return xxx_messageInfo_ConfigReference.Marshal(b, m, deterministic)
  3460  	} else {
  3461  		b = b[:cap(b)]
  3462  		n, err := m.MarshalTo(b)
  3463  		if err != nil {
  3464  			return nil, err
  3465  		}
  3466  		return b[:n], nil
  3467  	}
  3468  }
  3469  func (m *ConfigReference) XXX_Merge(src proto.Message) {
  3470  	xxx_messageInfo_ConfigReference.Merge(m, src)
  3471  }
  3472  func (m *ConfigReference) XXX_Size() int {
  3473  	return m.Size()
  3474  }
  3475  func (m *ConfigReference) XXX_DiscardUnknown() {
  3476  	xxx_messageInfo_ConfigReference.DiscardUnknown(m)
  3477  }
  3478  
  3479  var xxx_messageInfo_ConfigReference proto.InternalMessageInfo
  3480  
  3481  type isConfigReference_Target interface {
  3482  	isConfigReference_Target()
  3483  	MarshalTo([]byte) (int, error)
  3484  	Size() int
  3485  }
  3486  
  3487  type ConfigReference_File struct {
  3488  	File *FileTarget `protobuf:"bytes,3,opt,name=file,proto3,oneof"`
  3489  }
  3490  type ConfigReference_Runtime struct {
  3491  	Runtime *RuntimeTarget `protobuf:"bytes,4,opt,name=runtime,proto3,oneof"`
  3492  }
  3493  
  3494  func (*ConfigReference_File) isConfigReference_Target()    {}
  3495  func (*ConfigReference_Runtime) isConfigReference_Target() {}
  3496  
  3497  func (m *ConfigReference) GetTarget() isConfigReference_Target {
  3498  	if m != nil {
  3499  		return m.Target
  3500  	}
  3501  	return nil
  3502  }
  3503  
  3504  func (m *ConfigReference) GetFile() *FileTarget {
  3505  	if x, ok := m.GetTarget().(*ConfigReference_File); ok {
  3506  		return x.File
  3507  	}
  3508  	return nil
  3509  }
  3510  
  3511  func (m *ConfigReference) GetRuntime() *RuntimeTarget {
  3512  	if x, ok := m.GetTarget().(*ConfigReference_Runtime); ok {
  3513  		return x.Runtime
  3514  	}
  3515  	return nil
  3516  }
  3517  
  3518  // XXX_OneofFuncs is for the internal use of the proto package.
  3519  func (*ConfigReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  3520  	return _ConfigReference_OneofMarshaler, _ConfigReference_OneofUnmarshaler, _ConfigReference_OneofSizer, []interface{}{
  3521  		(*ConfigReference_File)(nil),
  3522  		(*ConfigReference_Runtime)(nil),
  3523  	}
  3524  }
  3525  
  3526  func _ConfigReference_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  3527  	m := msg.(*ConfigReference)
  3528  	// target
  3529  	switch x := m.Target.(type) {
  3530  	case *ConfigReference_File:
  3531  		_ = b.EncodeVarint(3<<3 | proto.WireBytes)
  3532  		if err := b.EncodeMessage(x.File); err != nil {
  3533  			return err
  3534  		}
  3535  	case *ConfigReference_Runtime:
  3536  		_ = b.EncodeVarint(4<<3 | proto.WireBytes)
  3537  		if err := b.EncodeMessage(x.Runtime); err != nil {
  3538  			return err
  3539  		}
  3540  	case nil:
  3541  	default:
  3542  		return fmt.Errorf("ConfigReference.Target has unexpected type %T", x)
  3543  	}
  3544  	return nil
  3545  }
  3546  
  3547  func _ConfigReference_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  3548  	m := msg.(*ConfigReference)
  3549  	switch tag {
  3550  	case 3: // target.file
  3551  		if wire != proto.WireBytes {
  3552  			return true, proto.ErrInternalBadWireType
  3553  		}
  3554  		msg := new(FileTarget)
  3555  		err := b.DecodeMessage(msg)
  3556  		m.Target = &ConfigReference_File{msg}
  3557  		return true, err
  3558  	case 4: // target.runtime
  3559  		if wire != proto.WireBytes {
  3560  			return true, proto.ErrInternalBadWireType
  3561  		}
  3562  		msg := new(RuntimeTarget)
  3563  		err := b.DecodeMessage(msg)
  3564  		m.Target = &ConfigReference_Runtime{msg}
  3565  		return true, err
  3566  	default:
  3567  		return false, nil
  3568  	}
  3569  }
  3570  
  3571  func _ConfigReference_OneofSizer(msg proto.Message) (n int) {
  3572  	m := msg.(*ConfigReference)
  3573  	// target
  3574  	switch x := m.Target.(type) {
  3575  	case *ConfigReference_File:
  3576  		s := proto.Size(x.File)
  3577  		n += 1 // tag and wire
  3578  		n += proto.SizeVarint(uint64(s))
  3579  		n += s
  3580  	case *ConfigReference_Runtime:
  3581  		s := proto.Size(x.Runtime)
  3582  		n += 1 // tag and wire
  3583  		n += proto.SizeVarint(uint64(s))
  3584  		n += s
  3585  	case nil:
  3586  	default:
  3587  		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  3588  	}
  3589  	return n
  3590  }
  3591  
  3592  // BlacklistedCertificate is a record for a blacklisted certificate. It does not
  3593  // contain the certificate's CN, because these records are indexed by CN.
  3594  type BlacklistedCertificate struct {
  3595  	// Expiry is the latest known expiration time of a certificate that
  3596  	// was issued for the given CN.
  3597  	// Note: can't use stdtime because this field is nullable.
  3598  	Expiry *types.Timestamp `protobuf:"bytes,1,opt,name=expiry,proto3" json:"expiry,omitempty"`
  3599  }
  3600  
  3601  func (m *BlacklistedCertificate) Reset()      { *m = BlacklistedCertificate{} }
  3602  func (*BlacklistedCertificate) ProtoMessage() {}
  3603  func (*BlacklistedCertificate) Descriptor() ([]byte, []int) {
  3604  	return fileDescriptor_0b5eafd0404ded3d, []int{51}
  3605  }
  3606  func (m *BlacklistedCertificate) XXX_Unmarshal(b []byte) error {
  3607  	return m.Unmarshal(b)
  3608  }
  3609  func (m *BlacklistedCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3610  	if deterministic {
  3611  		return xxx_messageInfo_BlacklistedCertificate.Marshal(b, m, deterministic)
  3612  	} else {
  3613  		b = b[:cap(b)]
  3614  		n, err := m.MarshalTo(b)
  3615  		if err != nil {
  3616  			return nil, err
  3617  		}
  3618  		return b[:n], nil
  3619  	}
  3620  }
  3621  func (m *BlacklistedCertificate) XXX_Merge(src proto.Message) {
  3622  	xxx_messageInfo_BlacklistedCertificate.Merge(m, src)
  3623  }
  3624  func (m *BlacklistedCertificate) XXX_Size() int {
  3625  	return m.Size()
  3626  }
  3627  func (m *BlacklistedCertificate) XXX_DiscardUnknown() {
  3628  	xxx_messageInfo_BlacklistedCertificate.DiscardUnknown(m)
  3629  }
  3630  
  3631  var xxx_messageInfo_BlacklistedCertificate proto.InternalMessageInfo
  3632  
  3633  // HealthConfig holds configuration settings for the HEALTHCHECK feature.
  3634  type HealthConfig struct {
  3635  	// Test is the test to perform to check that the container is healthy.
  3636  	// An empty slice means to inherit the default.
  3637  	// The options are:
  3638  	// {} : inherit healthcheck
  3639  	// {"NONE"} : disable healthcheck
  3640  	// {"CMD", args...} : exec arguments directly
  3641  	// {"CMD-SHELL", command} : run command with system's default shell
  3642  	Test []string `protobuf:"bytes,1,rep,name=test,proto3" json:"test,omitempty"`
  3643  	// Interval is the time to wait between checks. Zero means inherit.
  3644  	// Note: can't use stdduration because this field needs to be nullable.
  3645  	Interval *types.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
  3646  	// Timeout is the time to wait before considering the check to have hung.
  3647  	// Zero means inherit.
  3648  	// Note: can't use stdduration because this field needs to be nullable.
  3649  	Timeout *types.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
  3650  	// Retries is the number of consecutive failures needed to consider a
  3651  	// container as unhealthy. Zero means inherit.
  3652  	Retries int32 `protobuf:"varint,4,opt,name=retries,proto3" json:"retries,omitempty"`
  3653  	// Start period is the period for container initialization during
  3654  	// which health check failures will note count towards the maximum
  3655  	// number of retries.
  3656  	StartPeriod *types.Duration `protobuf:"bytes,5,opt,name=start_period,json=startPeriod,proto3" json:"start_period,omitempty"`
  3657  }
  3658  
  3659  func (m *HealthConfig) Reset()      { *m = HealthConfig{} }
  3660  func (*HealthConfig) ProtoMessage() {}
  3661  func (*HealthConfig) Descriptor() ([]byte, []int) {
  3662  	return fileDescriptor_0b5eafd0404ded3d, []int{52}
  3663  }
  3664  func (m *HealthConfig) XXX_Unmarshal(b []byte) error {
  3665  	return m.Unmarshal(b)
  3666  }
  3667  func (m *HealthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3668  	if deterministic {
  3669  		return xxx_messageInfo_HealthConfig.Marshal(b, m, deterministic)
  3670  	} else {
  3671  		b = b[:cap(b)]
  3672  		n, err := m.MarshalTo(b)
  3673  		if err != nil {
  3674  			return nil, err
  3675  		}
  3676  		return b[:n], nil
  3677  	}
  3678  }
  3679  func (m *HealthConfig) XXX_Merge(src proto.Message) {
  3680  	xxx_messageInfo_HealthConfig.Merge(m, src)
  3681  }
  3682  func (m *HealthConfig) XXX_Size() int {
  3683  	return m.Size()
  3684  }
  3685  func (m *HealthConfig) XXX_DiscardUnknown() {
  3686  	xxx_messageInfo_HealthConfig.DiscardUnknown(m)
  3687  }
  3688  
  3689  var xxx_messageInfo_HealthConfig proto.InternalMessageInfo
  3690  
  3691  type MaybeEncryptedRecord struct {
  3692  	Algorithm MaybeEncryptedRecord_Algorithm `protobuf:"varint,1,opt,name=algorithm,proto3,enum=docker.swarmkit.v1.MaybeEncryptedRecord_Algorithm" json:"algorithm,omitempty"`
  3693  	Data      []byte                         `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  3694  	Nonce     []byte                         `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
  3695  }
  3696  
  3697  func (m *MaybeEncryptedRecord) Reset()      { *m = MaybeEncryptedRecord{} }
  3698  func (*MaybeEncryptedRecord) ProtoMessage() {}
  3699  func (*MaybeEncryptedRecord) Descriptor() ([]byte, []int) {
  3700  	return fileDescriptor_0b5eafd0404ded3d, []int{53}
  3701  }
  3702  func (m *MaybeEncryptedRecord) XXX_Unmarshal(b []byte) error {
  3703  	return m.Unmarshal(b)
  3704  }
  3705  func (m *MaybeEncryptedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3706  	if deterministic {
  3707  		return xxx_messageInfo_MaybeEncryptedRecord.Marshal(b, m, deterministic)
  3708  	} else {
  3709  		b = b[:cap(b)]
  3710  		n, err := m.MarshalTo(b)
  3711  		if err != nil {
  3712  			return nil, err
  3713  		}
  3714  		return b[:n], nil
  3715  	}
  3716  }
  3717  func (m *MaybeEncryptedRecord) XXX_Merge(src proto.Message) {
  3718  	xxx_messageInfo_MaybeEncryptedRecord.Merge(m, src)
  3719  }
  3720  func (m *MaybeEncryptedRecord) XXX_Size() int {
  3721  	return m.Size()
  3722  }
  3723  func (m *MaybeEncryptedRecord) XXX_DiscardUnknown() {
  3724  	xxx_messageInfo_MaybeEncryptedRecord.DiscardUnknown(m)
  3725  }
  3726  
  3727  var xxx_messageInfo_MaybeEncryptedRecord proto.InternalMessageInfo
  3728  
  3729  type RootRotation struct {
  3730  	CACert []byte `protobuf:"bytes,1,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"`
  3731  	CAKey  []byte `protobuf:"bytes,2,opt,name=ca_key,json=caKey,proto3" json:"ca_key,omitempty"`
  3732  	// cross-signed CA cert is the CACert that has been cross-signed by the previous root
  3733  	CrossSignedCACert []byte `protobuf:"bytes,3,opt,name=cross_signed_ca_cert,json=crossSignedCaCert,proto3" json:"cross_signed_ca_cert,omitempty"`
  3734  }
  3735  
  3736  func (m *RootRotation) Reset()      { *m = RootRotation{} }
  3737  func (*RootRotation) ProtoMessage() {}
  3738  func (*RootRotation) Descriptor() ([]byte, []int) {
  3739  	return fileDescriptor_0b5eafd0404ded3d, []int{54}
  3740  }
  3741  func (m *RootRotation) XXX_Unmarshal(b []byte) error {
  3742  	return m.Unmarshal(b)
  3743  }
  3744  func (m *RootRotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3745  	if deterministic {
  3746  		return xxx_messageInfo_RootRotation.Marshal(b, m, deterministic)
  3747  	} else {
  3748  		b = b[:cap(b)]
  3749  		n, err := m.MarshalTo(b)
  3750  		if err != nil {
  3751  			return nil, err
  3752  		}
  3753  		return b[:n], nil
  3754  	}
  3755  }
  3756  func (m *RootRotation) XXX_Merge(src proto.Message) {
  3757  	xxx_messageInfo_RootRotation.Merge(m, src)
  3758  }
  3759  func (m *RootRotation) XXX_Size() int {
  3760  	return m.Size()
  3761  }
  3762  func (m *RootRotation) XXX_DiscardUnknown() {
  3763  	xxx_messageInfo_RootRotation.DiscardUnknown(m)
  3764  }
  3765  
  3766  var xxx_messageInfo_RootRotation proto.InternalMessageInfo
  3767  
  3768  // Privileges specifies security configuration/permissions.
  3769  type Privileges struct {
  3770  	CredentialSpec *Privileges_CredentialSpec `protobuf:"bytes,1,opt,name=credential_spec,json=credentialSpec,proto3" json:"credential_spec,omitempty"`
  3771  	SELinuxContext *Privileges_SELinuxContext `protobuf:"bytes,2,opt,name=selinux_context,json=selinuxContext,proto3" json:"selinux_context,omitempty"`
  3772  }
  3773  
  3774  func (m *Privileges) Reset()      { *m = Privileges{} }
  3775  func (*Privileges) ProtoMessage() {}
  3776  func (*Privileges) Descriptor() ([]byte, []int) {
  3777  	return fileDescriptor_0b5eafd0404ded3d, []int{55}
  3778  }
  3779  func (m *Privileges) XXX_Unmarshal(b []byte) error {
  3780  	return m.Unmarshal(b)
  3781  }
  3782  func (m *Privileges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3783  	if deterministic {
  3784  		return xxx_messageInfo_Privileges.Marshal(b, m, deterministic)
  3785  	} else {
  3786  		b = b[:cap(b)]
  3787  		n, err := m.MarshalTo(b)
  3788  		if err != nil {
  3789  			return nil, err
  3790  		}
  3791  		return b[:n], nil
  3792  	}
  3793  }
  3794  func (m *Privileges) XXX_Merge(src proto.Message) {
  3795  	xxx_messageInfo_Privileges.Merge(m, src)
  3796  }
  3797  func (m *Privileges) XXX_Size() int {
  3798  	return m.Size()
  3799  }
  3800  func (m *Privileges) XXX_DiscardUnknown() {
  3801  	xxx_messageInfo_Privileges.DiscardUnknown(m)
  3802  }
  3803  
  3804  var xxx_messageInfo_Privileges proto.InternalMessageInfo
  3805  
  3806  // CredentialSpec for managed service account (Windows only).
  3807  type Privileges_CredentialSpec struct {
  3808  	// Types that are valid to be assigned to Source:
  3809  	//	*Privileges_CredentialSpec_File
  3810  	//	*Privileges_CredentialSpec_Registry
  3811  	//	*Privileges_CredentialSpec_Config
  3812  	Source isPrivileges_CredentialSpec_Source `protobuf_oneof:"source"`
  3813  }
  3814  
  3815  func (m *Privileges_CredentialSpec) Reset()      { *m = Privileges_CredentialSpec{} }
  3816  func (*Privileges_CredentialSpec) ProtoMessage() {}
  3817  func (*Privileges_CredentialSpec) Descriptor() ([]byte, []int) {
  3818  	return fileDescriptor_0b5eafd0404ded3d, []int{55, 0}
  3819  }
  3820  func (m *Privileges_CredentialSpec) XXX_Unmarshal(b []byte) error {
  3821  	return m.Unmarshal(b)
  3822  }
  3823  func (m *Privileges_CredentialSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3824  	if deterministic {
  3825  		return xxx_messageInfo_Privileges_CredentialSpec.Marshal(b, m, deterministic)
  3826  	} else {
  3827  		b = b[:cap(b)]
  3828  		n, err := m.MarshalTo(b)
  3829  		if err != nil {
  3830  			return nil, err
  3831  		}
  3832  		return b[:n], nil
  3833  	}
  3834  }
  3835  func (m *Privileges_CredentialSpec) XXX_Merge(src proto.Message) {
  3836  	xxx_messageInfo_Privileges_CredentialSpec.Merge(m, src)
  3837  }
  3838  func (m *Privileges_CredentialSpec) XXX_Size() int {
  3839  	return m.Size()
  3840  }
  3841  func (m *Privileges_CredentialSpec) XXX_DiscardUnknown() {
  3842  	xxx_messageInfo_Privileges_CredentialSpec.DiscardUnknown(m)
  3843  }
  3844  
  3845  var xxx_messageInfo_Privileges_CredentialSpec proto.InternalMessageInfo
  3846  
  3847  type isPrivileges_CredentialSpec_Source interface {
  3848  	isPrivileges_CredentialSpec_Source()
  3849  	MarshalTo([]byte) (int, error)
  3850  	Size() int
  3851  }
  3852  
  3853  type Privileges_CredentialSpec_File struct {
  3854  	File string `protobuf:"bytes,1,opt,name=file,proto3,oneof"`
  3855  }
  3856  type Privileges_CredentialSpec_Registry struct {
  3857  	Registry string `protobuf:"bytes,2,opt,name=registry,proto3,oneof"`
  3858  }
  3859  type Privileges_CredentialSpec_Config struct {
  3860  	Config string `protobuf:"bytes,3,opt,name=config,proto3,oneof"`
  3861  }
  3862  
  3863  func (*Privileges_CredentialSpec_File) isPrivileges_CredentialSpec_Source()     {}
  3864  func (*Privileges_CredentialSpec_Registry) isPrivileges_CredentialSpec_Source() {}
  3865  func (*Privileges_CredentialSpec_Config) isPrivileges_CredentialSpec_Source()   {}
  3866  
  3867  func (m *Privileges_CredentialSpec) GetSource() isPrivileges_CredentialSpec_Source {
  3868  	if m != nil {
  3869  		return m.Source
  3870  	}
  3871  	return nil
  3872  }
  3873  
  3874  func (m *Privileges_CredentialSpec) GetFile() string {
  3875  	if x, ok := m.GetSource().(*Privileges_CredentialSpec_File); ok {
  3876  		return x.File
  3877  	}
  3878  	return ""
  3879  }
  3880  
  3881  func (m *Privileges_CredentialSpec) GetRegistry() string {
  3882  	if x, ok := m.GetSource().(*Privileges_CredentialSpec_Registry); ok {
  3883  		return x.Registry
  3884  	}
  3885  	return ""
  3886  }
  3887  
  3888  func (m *Privileges_CredentialSpec) GetConfig() string {
  3889  	if x, ok := m.GetSource().(*Privileges_CredentialSpec_Config); ok {
  3890  		return x.Config
  3891  	}
  3892  	return ""
  3893  }
  3894  
  3895  // XXX_OneofFuncs is for the internal use of the proto package.
  3896  func (*Privileges_CredentialSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  3897  	return _Privileges_CredentialSpec_OneofMarshaler, _Privileges_CredentialSpec_OneofUnmarshaler, _Privileges_CredentialSpec_OneofSizer, []interface{}{
  3898  		(*Privileges_CredentialSpec_File)(nil),
  3899  		(*Privileges_CredentialSpec_Registry)(nil),
  3900  		(*Privileges_CredentialSpec_Config)(nil),
  3901  	}
  3902  }
  3903  
  3904  func _Privileges_CredentialSpec_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  3905  	m := msg.(*Privileges_CredentialSpec)
  3906  	// source
  3907  	switch x := m.Source.(type) {
  3908  	case *Privileges_CredentialSpec_File:
  3909  		_ = b.EncodeVarint(1<<3 | proto.WireBytes)
  3910  		_ = b.EncodeStringBytes(x.File)
  3911  	case *Privileges_CredentialSpec_Registry:
  3912  		_ = b.EncodeVarint(2<<3 | proto.WireBytes)
  3913  		_ = b.EncodeStringBytes(x.Registry)
  3914  	case *Privileges_CredentialSpec_Config:
  3915  		_ = b.EncodeVarint(3<<3 | proto.WireBytes)
  3916  		_ = b.EncodeStringBytes(x.Config)
  3917  	case nil:
  3918  	default:
  3919  		return fmt.Errorf("Privileges_CredentialSpec.Source has unexpected type %T", x)
  3920  	}
  3921  	return nil
  3922  }
  3923  
  3924  func _Privileges_CredentialSpec_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  3925  	m := msg.(*Privileges_CredentialSpec)
  3926  	switch tag {
  3927  	case 1: // source.file
  3928  		if wire != proto.WireBytes {
  3929  			return true, proto.ErrInternalBadWireType
  3930  		}
  3931  		x, err := b.DecodeStringBytes()
  3932  		m.Source = &Privileges_CredentialSpec_File{x}
  3933  		return true, err
  3934  	case 2: // source.registry
  3935  		if wire != proto.WireBytes {
  3936  			return true, proto.ErrInternalBadWireType
  3937  		}
  3938  		x, err := b.DecodeStringBytes()
  3939  		m.Source = &Privileges_CredentialSpec_Registry{x}
  3940  		return true, err
  3941  	case 3: // source.config
  3942  		if wire != proto.WireBytes {
  3943  			return true, proto.ErrInternalBadWireType
  3944  		}
  3945  		x, err := b.DecodeStringBytes()
  3946  		m.Source = &Privileges_CredentialSpec_Config{x}
  3947  		return true, err
  3948  	default:
  3949  		return false, nil
  3950  	}
  3951  }
  3952  
  3953  func _Privileges_CredentialSpec_OneofSizer(msg proto.Message) (n int) {
  3954  	m := msg.(*Privileges_CredentialSpec)
  3955  	// source
  3956  	switch x := m.Source.(type) {
  3957  	case *Privileges_CredentialSpec_File:
  3958  		n += 1 // tag and wire
  3959  		n += proto.SizeVarint(uint64(len(x.File)))
  3960  		n += len(x.File)
  3961  	case *Privileges_CredentialSpec_Registry:
  3962  		n += 1 // tag and wire
  3963  		n += proto.SizeVarint(uint64(len(x.Registry)))
  3964  		n += len(x.Registry)
  3965  	case *Privileges_CredentialSpec_Config:
  3966  		n += 1 // tag and wire
  3967  		n += proto.SizeVarint(uint64(len(x.Config)))
  3968  		n += len(x.Config)
  3969  	case nil:
  3970  	default:
  3971  		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  3972  	}
  3973  	return n
  3974  }
  3975  
  3976  // SELinuxContext contains the SELinux labels for the container.
  3977  type Privileges_SELinuxContext struct {
  3978  	Disable bool   `protobuf:"varint,1,opt,name=disable,proto3" json:"disable,omitempty"`
  3979  	User    string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
  3980  	Role    string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
  3981  	Type    string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
  3982  	Level   string `protobuf:"bytes,5,opt,name=level,proto3" json:"level,omitempty"`
  3983  }
  3984  
  3985  func (m *Privileges_SELinuxContext) Reset()      { *m = Privileges_SELinuxContext{} }
  3986  func (*Privileges_SELinuxContext) ProtoMessage() {}
  3987  func (*Privileges_SELinuxContext) Descriptor() ([]byte, []int) {
  3988  	return fileDescriptor_0b5eafd0404ded3d, []int{55, 1}
  3989  }
  3990  func (m *Privileges_SELinuxContext) XXX_Unmarshal(b []byte) error {
  3991  	return m.Unmarshal(b)
  3992  }
  3993  func (m *Privileges_SELinuxContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3994  	if deterministic {
  3995  		return xxx_messageInfo_Privileges_SELinuxContext.Marshal(b, m, deterministic)
  3996  	} else {
  3997  		b = b[:cap(b)]
  3998  		n, err := m.MarshalTo(b)
  3999  		if err != nil {
  4000  			return nil, err
  4001  		}
  4002  		return b[:n], nil
  4003  	}
  4004  }
  4005  func (m *Privileges_SELinuxContext) XXX_Merge(src proto.Message) {
  4006  	xxx_messageInfo_Privileges_SELinuxContext.Merge(m, src)
  4007  }
  4008  func (m *Privileges_SELinuxContext) XXX_Size() int {
  4009  	return m.Size()
  4010  }
  4011  func (m *Privileges_SELinuxContext) XXX_DiscardUnknown() {
  4012  	xxx_messageInfo_Privileges_SELinuxContext.DiscardUnknown(m)
  4013  }
  4014  
  4015  var xxx_messageInfo_Privileges_SELinuxContext proto.InternalMessageInfo
  4016  
  4017  // JobStatus indicates the status of a Service that is in one of the Job modes.
  4018  type JobStatus struct {
  4019  	// JobIteration is the count of how many times the Job has been excecuted,
  4020  	// successfully or otherwise. "Executed" refers to the job as a whole being
  4021  	// started, not to the individual Tasks being launched. This is used to
  4022  	// disambiguate which Tasks belong to which iteration of a Job.
  4023  	JobIteration Version `protobuf:"bytes,1,opt,name=job_iteration,json=jobIteration,proto3" json:"job_iteration"`
  4024  	// LastExecution is the time that the job was last executed. This is set by
  4025  	// the orchestrator in the same transaction that JobIteration is incremented.
  4026  	// While time is a fungible concept in distributed systems like Swarmkit,
  4027  	// this value gives us a best-effort attempt to prevent weird behavior like
  4028  	// newly added nodes executing long-forgotten jobs.
  4029  	LastExecution *types.Timestamp `protobuf:"bytes,2,opt,name=last_execution,json=lastExecution,proto3" json:"last_execution,omitempty"`
  4030  }
  4031  
  4032  func (m *JobStatus) Reset()      { *m = JobStatus{} }
  4033  func (*JobStatus) ProtoMessage() {}
  4034  func (*JobStatus) Descriptor() ([]byte, []int) {
  4035  	return fileDescriptor_0b5eafd0404ded3d, []int{56}
  4036  }
  4037  func (m *JobStatus) XXX_Unmarshal(b []byte) error {
  4038  	return m.Unmarshal(b)
  4039  }
  4040  func (m *JobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4041  	if deterministic {
  4042  		return xxx_messageInfo_JobStatus.Marshal(b, m, deterministic)
  4043  	} else {
  4044  		b = b[:cap(b)]
  4045  		n, err := m.MarshalTo(b)
  4046  		if err != nil {
  4047  			return nil, err
  4048  		}
  4049  		return b[:n], nil
  4050  	}
  4051  }
  4052  func (m *JobStatus) XXX_Merge(src proto.Message) {
  4053  	xxx_messageInfo_JobStatus.Merge(m, src)
  4054  }
  4055  func (m *JobStatus) XXX_Size() int {
  4056  	return m.Size()
  4057  }
  4058  func (m *JobStatus) XXX_DiscardUnknown() {
  4059  	xxx_messageInfo_JobStatus.DiscardUnknown(m)
  4060  }
  4061  
  4062  var xxx_messageInfo_JobStatus proto.InternalMessageInfo
  4063  
  4064  func init() {
  4065  	proto.RegisterEnum("docker.swarmkit.v1.ResourceType", ResourceType_name, ResourceType_value)
  4066  	proto.RegisterEnum("docker.swarmkit.v1.TaskState", TaskState_name, TaskState_value)
  4067  	proto.RegisterEnum("docker.swarmkit.v1.NodeRole", NodeRole_name, NodeRole_value)
  4068  	proto.RegisterEnum("docker.swarmkit.v1.RaftMemberStatus_Reachability", RaftMemberStatus_Reachability_name, RaftMemberStatus_Reachability_value)
  4069  	proto.RegisterEnum("docker.swarmkit.v1.NodeStatus_State", NodeStatus_State_name, NodeStatus_State_value)
  4070  	proto.RegisterEnum("docker.swarmkit.v1.Mount_MountType", Mount_MountType_name, Mount_MountType_value)
  4071  	proto.RegisterEnum("docker.swarmkit.v1.Mount_MountConsistency", Mount_MountConsistency_name, Mount_MountConsistency_value)
  4072  	proto.RegisterEnum("docker.swarmkit.v1.Mount_BindOptions_MountPropagation", Mount_BindOptions_MountPropagation_name, Mount_BindOptions_MountPropagation_value)
  4073  	proto.RegisterEnum("docker.swarmkit.v1.RestartPolicy_RestartCondition", RestartPolicy_RestartCondition_name, RestartPolicy_RestartCondition_value)
  4074  	proto.RegisterEnum("docker.swarmkit.v1.UpdateConfig_FailureAction", UpdateConfig_FailureAction_name, UpdateConfig_FailureAction_value)
  4075  	proto.RegisterEnum("docker.swarmkit.v1.UpdateConfig_UpdateOrder", UpdateConfig_UpdateOrder_name, UpdateConfig_UpdateOrder_value)
  4076  	proto.RegisterEnum("docker.swarmkit.v1.UpdateStatus_UpdateState", UpdateStatus_UpdateState_name, UpdateStatus_UpdateState_value)
  4077  	proto.RegisterEnum("docker.swarmkit.v1.IPAMConfig_AddressFamily", IPAMConfig_AddressFamily_name, IPAMConfig_AddressFamily_value)
  4078  	proto.RegisterEnum("docker.swarmkit.v1.PortConfig_Protocol", PortConfig_Protocol_name, PortConfig_Protocol_value)
  4079  	proto.RegisterEnum("docker.swarmkit.v1.PortConfig_PublishMode", PortConfig_PublishMode_name, PortConfig_PublishMode_value)
  4080  	proto.RegisterEnum("docker.swarmkit.v1.IssuanceStatus_State", IssuanceStatus_State_name, IssuanceStatus_State_value)
  4081  	proto.RegisterEnum("docker.swarmkit.v1.ExternalCA_CAProtocol", ExternalCA_CAProtocol_name, ExternalCA_CAProtocol_value)
  4082  	proto.RegisterEnum("docker.swarmkit.v1.EncryptionKey_Algorithm", EncryptionKey_Algorithm_name, EncryptionKey_Algorithm_value)
  4083  	proto.RegisterEnum("docker.swarmkit.v1.MaybeEncryptedRecord_Algorithm", MaybeEncryptedRecord_Algorithm_name, MaybeEncryptedRecord_Algorithm_value)
  4084  	proto.RegisterType((*Version)(nil), "docker.swarmkit.v1.Version")
  4085  	proto.RegisterType((*IndexEntry)(nil), "docker.swarmkit.v1.IndexEntry")
  4086  	proto.RegisterType((*Annotations)(nil), "docker.swarmkit.v1.Annotations")
  4087  	proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.Annotations.LabelsEntry")
  4088  	proto.RegisterType((*NamedGenericResource)(nil), "docker.swarmkit.v1.NamedGenericResource")
  4089  	proto.RegisterType((*DiscreteGenericResource)(nil), "docker.swarmkit.v1.DiscreteGenericResource")
  4090  	proto.RegisterType((*GenericResource)(nil), "docker.swarmkit.v1.GenericResource")
  4091  	proto.RegisterType((*Resources)(nil), "docker.swarmkit.v1.Resources")
  4092  	proto.RegisterType((*ResourceRequirements)(nil), "docker.swarmkit.v1.ResourceRequirements")
  4093  	proto.RegisterType((*Platform)(nil), "docker.swarmkit.v1.Platform")
  4094  	proto.RegisterType((*PluginDescription)(nil), "docker.swarmkit.v1.PluginDescription")
  4095  	proto.RegisterType((*EngineDescription)(nil), "docker.swarmkit.v1.EngineDescription")
  4096  	proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.EngineDescription.LabelsEntry")
  4097  	proto.RegisterType((*NodeDescription)(nil), "docker.swarmkit.v1.NodeDescription")
  4098  	proto.RegisterType((*NodeTLSInfo)(nil), "docker.swarmkit.v1.NodeTLSInfo")
  4099  	proto.RegisterType((*RaftMemberStatus)(nil), "docker.swarmkit.v1.RaftMemberStatus")
  4100  	proto.RegisterType((*NodeStatus)(nil), "docker.swarmkit.v1.NodeStatus")
  4101  	proto.RegisterType((*Image)(nil), "docker.swarmkit.v1.Image")
  4102  	proto.RegisterType((*Mount)(nil), "docker.swarmkit.v1.Mount")
  4103  	proto.RegisterType((*Mount_BindOptions)(nil), "docker.swarmkit.v1.Mount.BindOptions")
  4104  	proto.RegisterType((*Mount_VolumeOptions)(nil), "docker.swarmkit.v1.Mount.VolumeOptions")
  4105  	proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.Mount.VolumeOptions.LabelsEntry")
  4106  	proto.RegisterType((*Mount_TmpfsOptions)(nil), "docker.swarmkit.v1.Mount.TmpfsOptions")
  4107  	proto.RegisterType((*RestartPolicy)(nil), "docker.swarmkit.v1.RestartPolicy")
  4108  	proto.RegisterType((*UpdateConfig)(nil), "docker.swarmkit.v1.UpdateConfig")
  4109  	proto.RegisterType((*UpdateStatus)(nil), "docker.swarmkit.v1.UpdateStatus")
  4110  	proto.RegisterType((*ContainerStatus)(nil), "docker.swarmkit.v1.ContainerStatus")
  4111  	proto.RegisterType((*PortStatus)(nil), "docker.swarmkit.v1.PortStatus")
  4112  	proto.RegisterType((*TaskStatus)(nil), "docker.swarmkit.v1.TaskStatus")
  4113  	proto.RegisterType((*NetworkAttachmentConfig)(nil), "docker.swarmkit.v1.NetworkAttachmentConfig")
  4114  	proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.NetworkAttachmentConfig.DriverAttachmentOptsEntry")
  4115  	proto.RegisterType((*IPAMConfig)(nil), "docker.swarmkit.v1.IPAMConfig")
  4116  	proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.IPAMConfig.ReservedEntry")
  4117  	proto.RegisterType((*PortConfig)(nil), "docker.swarmkit.v1.PortConfig")
  4118  	proto.RegisterType((*Driver)(nil), "docker.swarmkit.v1.Driver")
  4119  	proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.Driver.OptionsEntry")
  4120  	proto.RegisterType((*IPAMOptions)(nil), "docker.swarmkit.v1.IPAMOptions")
  4121  	proto.RegisterType((*Peer)(nil), "docker.swarmkit.v1.Peer")
  4122  	proto.RegisterType((*WeightedPeer)(nil), "docker.swarmkit.v1.WeightedPeer")
  4123  	proto.RegisterType((*IssuanceStatus)(nil), "docker.swarmkit.v1.IssuanceStatus")
  4124  	proto.RegisterType((*AcceptancePolicy)(nil), "docker.swarmkit.v1.AcceptancePolicy")
  4125  	proto.RegisterType((*AcceptancePolicy_RoleAdmissionPolicy)(nil), "docker.swarmkit.v1.AcceptancePolicy.RoleAdmissionPolicy")
  4126  	proto.RegisterType((*AcceptancePolicy_RoleAdmissionPolicy_Secret)(nil), "docker.swarmkit.v1.AcceptancePolicy.RoleAdmissionPolicy.Secret")
  4127  	proto.RegisterType((*ExternalCA)(nil), "docker.swarmkit.v1.ExternalCA")
  4128  	proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ExternalCA.OptionsEntry")
  4129  	proto.RegisterType((*CAConfig)(nil), "docker.swarmkit.v1.CAConfig")
  4130  	proto.RegisterType((*OrchestrationConfig)(nil), "docker.swarmkit.v1.OrchestrationConfig")
  4131  	proto.RegisterType((*TaskDefaults)(nil), "docker.swarmkit.v1.TaskDefaults")
  4132  	proto.RegisterType((*DispatcherConfig)(nil), "docker.swarmkit.v1.DispatcherConfig")
  4133  	proto.RegisterType((*RaftConfig)(nil), "docker.swarmkit.v1.RaftConfig")
  4134  	proto.RegisterType((*EncryptionConfig)(nil), "docker.swarmkit.v1.EncryptionConfig")
  4135  	proto.RegisterType((*SpreadOver)(nil), "docker.swarmkit.v1.SpreadOver")
  4136  	proto.RegisterType((*PlacementPreference)(nil), "docker.swarmkit.v1.PlacementPreference")
  4137  	proto.RegisterType((*Placement)(nil), "docker.swarmkit.v1.Placement")
  4138  	proto.RegisterType((*JoinTokens)(nil), "docker.swarmkit.v1.JoinTokens")
  4139  	proto.RegisterType((*RootCA)(nil), "docker.swarmkit.v1.RootCA")
  4140  	proto.RegisterType((*Certificate)(nil), "docker.swarmkit.v1.Certificate")
  4141  	proto.RegisterType((*EncryptionKey)(nil), "docker.swarmkit.v1.EncryptionKey")
  4142  	proto.RegisterType((*ManagerStatus)(nil), "docker.swarmkit.v1.ManagerStatus")
  4143  	proto.RegisterType((*FileTarget)(nil), "docker.swarmkit.v1.FileTarget")
  4144  	proto.RegisterType((*RuntimeTarget)(nil), "docker.swarmkit.v1.RuntimeTarget")
  4145  	proto.RegisterType((*SecretReference)(nil), "docker.swarmkit.v1.SecretReference")
  4146  	proto.RegisterType((*ConfigReference)(nil), "docker.swarmkit.v1.ConfigReference")
  4147  	proto.RegisterType((*BlacklistedCertificate)(nil), "docker.swarmkit.v1.BlacklistedCertificate")
  4148  	proto.RegisterType((*HealthConfig)(nil), "docker.swarmkit.v1.HealthConfig")
  4149  	proto.RegisterType((*MaybeEncryptedRecord)(nil), "docker.swarmkit.v1.MaybeEncryptedRecord")
  4150  	proto.RegisterType((*RootRotation)(nil), "docker.swarmkit.v1.RootRotation")
  4151  	proto.RegisterType((*Privileges)(nil), "docker.swarmkit.v1.Privileges")
  4152  	proto.RegisterType((*Privileges_CredentialSpec)(nil), "docker.swarmkit.v1.Privileges.CredentialSpec")
  4153  	proto.RegisterType((*Privileges_SELinuxContext)(nil), "docker.swarmkit.v1.Privileges.SELinuxContext")
  4154  	proto.RegisterType((*JobStatus)(nil), "docker.swarmkit.v1.JobStatus")
  4155  }
  4156  
  4157  func init() {
  4158  	proto.RegisterFile("github.com/docker/swarmkit/api/types.proto", fileDescriptor_0b5eafd0404ded3d)
  4159  }
  4160  
  4161  var fileDescriptor_0b5eafd0404ded3d = []byte{
  4162  	// 5345 bytes of a gzipped FileDescriptorProto
  4163  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x3a, 0x4b, 0x6c, 0x24, 0x49,
  4164  	0x56, 0xae, 0x72, 0x55, 0xb9, 0xea, 0x55, 0xd9, 0xce, 0x8e, 0xf6, 0xf6, 0xb8, 0x6b, 0x7a, 0x6c,
  4165  	0x4f, 0xce, 0xf4, 0xce, 0xec, 0xec, 0xe0, 0xfe, 0xcd, 0x8e, 0x7a, 0x66, 0x98, 0x9d, 0xa9, 0x4f,
  4166  	0xba, 0x5d, 0xdb, 0x76, 0x55, 0x29, 0xaa, 0xdc, 0xbd, 0x8b, 0x04, 0x49, 0x3a, 0x33, 0x5c, 0xce,
  4167  	0x76, 0x56, 0x46, 0x92, 0x99, 0x65, 0x77, 0xb1, 0x20, 0xe6, 0x04, 0xc8, 0x27, 0xb8, 0x2c, 0xbb,
  4168  	0x42, 0x96, 0x90, 0xe0, 0xc6, 0x81, 0x03, 0x07, 0x16, 0x4e, 0x83, 0x84, 0xd0, 0x8a, 0x0b, 0xbb,
  4169  	0x20, 0xc1, 0x0a, 0x90, 0x61, 0xbc, 0x12, 0x37, 0x04, 0x17, 0xc4, 0x85, 0x03, 0x8a, 0x4f, 0x66,
  4170  	0xa5, 0xab, 0xd3, 0xf6, 0xcc, 0x2e, 0x17, 0xbb, 0xe2, 0xfd, 0xf2, 0xc5, 0x8b, 0x17, 0x2f, 0xde,
  4171  	0x7b, 0x11, 0xf0, 0xd6, 0xc0, 0x0e, 0xf7, 0x47, 0xbb, 0xeb, 0x26, 0x1d, 0xde, 0xb1, 0xa8, 0x79,
  4172  	0x40, 0xfc, 0x3b, 0xc1, 0x91, 0xe1, 0x0f, 0x0f, 0xec, 0xf0, 0x8e, 0xe1, 0xd9, 0x77, 0xc2, 0xb1,
  4173  	0x47, 0x82, 0x75, 0xcf, 0xa7, 0x21, 0x45, 0x48, 0x10, 0xac, 0x47, 0x04, 0xeb, 0x87, 0xf7, 0xaa,
  4174  	0xab, 0x03, 0x4a, 0x07, 0x0e, 0xb9, 0xc3, 0x29, 0x76, 0x47, 0x7b, 0x77, 0x42, 0x7b, 0x48, 0x82,
  4175  	0xd0, 0x18, 0x7a, 0x82, 0xa9, 0xba, 0x32, 0x4d, 0x60, 0x8d, 0x7c, 0x23, 0xb4, 0xa9, 0x7b, 0x11,
  4176  	0xfe, 0xc8, 0x37, 0x3c, 0x8f, 0xf8, 0xf2, 0xa3, 0xd5, 0xa5, 0x01, 0x1d, 0x50, 0xfe, 0xf3, 0x0e,
  4177  	0xfb, 0x25, 0xa0, 0xea, 0x2a, 0xcc, 0x3d, 0x21, 0x7e, 0x60, 0x53, 0x17, 0x2d, 0x41, 0xde, 0x76,
  4178  	0x2d, 0xf2, 0x7c, 0x39, 0xb3, 0x96, 0x79, 0x33, 0x87, 0xc5, 0x40, 0xbd, 0x0b, 0xd0, 0x62, 0x3f,
  4179  	0x34, 0x37, 0xf4, 0xc7, 0x48, 0x81, 0xd9, 0x03, 0x32, 0xe6, 0x14, 0x25, 0xcc, 0x7e, 0x32, 0xc8,
  4180  	0xa1, 0xe1, 0x2c, 0x67, 0x05, 0xe4, 0xd0, 0x70, 0xd4, 0xcf, 0x32, 0x50, 0xae, 0xb9, 0x2e, 0x0d,
  4181  	0xb9, 0x76, 0x01, 0x42, 0x90, 0x73, 0x8d, 0x21, 0x91, 0x4c, 0xfc, 0x37, 0x6a, 0x40, 0xc1, 0x31,
  4182  	0x76, 0x89, 0x13, 0x2c, 0x67, 0xd7, 0x66, 0xdf, 0x2c, 0xdf, 0xff, 0xea, 0xfa, 0x8b, 0x26, 0x59,
  4183  	0x4f, 0x08, 0x59, 0xdf, 0xe2, 0xd4, 0x5c, 0x09, 0x2c, 0x59, 0xd1, 0xd7, 0x61, 0xce, 0x76, 0x2d,
  4184  	0xdb, 0x24, 0xc1, 0x72, 0x8e, 0x4b, 0x59, 0x49, 0x93, 0x32, 0xd1, 0xbe, 0x9e, 0xfb, 0xc1, 0xe9,
  4185  	0xea, 0x0c, 0x8e, 0x98, 0xaa, 0xef, 0x41, 0x39, 0x21, 0x36, 0x65, 0x6e, 0x4b, 0x90, 0x3f, 0x34,
  4186  	0x9c, 0x11, 0x91, 0xb3, 0x13, 0x83, 0xf7, 0xb3, 0x0f, 0x33, 0xea, 0xc7, 0xb0, 0xd4, 0x36, 0x86,
  4187  	0xc4, 0x7a, 0x44, 0x5c, 0xe2, 0xdb, 0x26, 0x26, 0x01, 0x1d, 0xf9, 0x26, 0x61, 0x73, 0x3d, 0xb0,
  4188  	0x5d, 0x2b, 0x9a, 0x2b, 0xfb, 0x9d, 0x2e, 0x45, 0x6d, 0xc0, 0x4b, 0x4d, 0x3b, 0x30, 0x7d, 0x12,
  4189  	0x92, 0x2f, 0x2c, 0x64, 0x36, 0x12, 0x72, 0x9a, 0x81, 0xc5, 0x69, 0xee, 0x5f, 0x80, 0xeb, 0xcc,
  4190  	0xc4, 0x96, 0xee, 0x4b, 0x88, 0x1e, 0x78, 0xc4, 0xe4, 0xc2, 0xca, 0xf7, 0xdf, 0x4c, 0xb3, 0x50,
  4191  	0xda, 0x4c, 0x36, 0x67, 0xf0, 0x35, 0x2e, 0x26, 0x02, 0xf4, 0x3c, 0x62, 0x22, 0x13, 0x6e, 0x58,
  4192  	0x52, 0xe9, 0x29, 0xf1, 0x59, 0x2e, 0x3e, 0x75, 0x19, 0x2f, 0x98, 0xe6, 0xe6, 0x0c, 0x5e, 0x8a,
  4193  	0x84, 0x25, 0x3f, 0x52, 0x07, 0x28, 0x46, 0xb2, 0xd5, 0xef, 0x66, 0xa0, 0x14, 0x21, 0x03, 0xf4,
  4194  	0x15, 0x28, 0xb9, 0x86, 0x4b, 0x75, 0xd3, 0x1b, 0x05, 0x7c, 0x42, 0xb3, 0xf5, 0xca, 0xd9, 0xe9,
  4195  	0x6a, 0xb1, 0x6d, 0xb8, 0xb4, 0xd1, 0xdd, 0x09, 0x70, 0x91, 0xa1, 0x1b, 0xde, 0x28, 0x40, 0xaf,
  4196  	0x42, 0x65, 0x48, 0x86, 0xd4, 0x1f, 0xeb, 0xbb, 0xe3, 0x90, 0x04, 0xd2, 0x6c, 0x65, 0x01, 0xab,
  4197  	0x33, 0x10, 0xfa, 0x10, 0xe6, 0x06, 0x42, 0xa5, 0xe5, 0x59, 0xee, 0x3e, 0xaf, 0xa5, 0x69, 0x3f,
  4198  	0xa5, 0x35, 0x8e, 0x78, 0xd4, 0xef, 0x64, 0x61, 0x29, 0x86, 0x92, 0x5f, 0x19, 0xd9, 0x3e, 0x19,
  4199  	0x12, 0x37, 0x0c, 0xd0, 0xd7, 0xa0, 0xe0, 0xd8, 0x43, 0x3b, 0x0c, 0xa4, 0xcd, 0x5f, 0x49, 0x13,
  4200  	0x1b, 0x4f, 0x0a, 0x4b, 0x62, 0x54, 0x83, 0x8a, 0x4f, 0x02, 0xe2, 0x1f, 0x0a, 0x8f, 0x97, 0x16,
  4201  	0xbd, 0x82, 0xf9, 0x1c, 0x0b, 0x7a, 0x1f, 0x20, 0x38, 0x32, 0x3c, 0x39, 0xe5, 0x59, 0x2e, 0xe0,
  4202  	0xe5, 0x75, 0x11, 0x17, 0xd6, 0xa3, 0xb8, 0xb0, 0xde, 0x72, 0xc3, 0x77, 0xdf, 0x79, 0xc2, 0xfc,
  4203  	0x07, 0x97, 0x18, 0xb9, 0xb0, 0xc6, 0x26, 0x5c, 0x93, 0x06, 0x63, 0x30, 0xcf, 0x76, 0x49, 0xc0,
  4204  	0xb6, 0xd5, 0x95, 0x22, 0x14, 0xc1, 0xd5, 0x8b, 0x99, 0xd4, 0x0d, 0x28, 0x76, 0x1d, 0x23, 0xdc,
  4205  	0xa3, 0xfe, 0x10, 0xa9, 0x50, 0x31, 0x7c, 0x73, 0xdf, 0x0e, 0x89, 0x19, 0x8e, 0xfc, 0x28, 0x06,
  4206  	0x9c, 0x83, 0xa1, 0x1b, 0x90, 0xa5, 0x62, 0xba, 0xa5, 0x7a, 0xe1, 0xec, 0x74, 0x35, 0xdb, 0xe9,
  4207  	0xe1, 0x2c, 0x0d, 0xd4, 0x0f, 0xe0, 0x5a, 0xd7, 0x19, 0x0d, 0x6c, 0xb7, 0x49, 0x02, 0xd3, 0xb7,
  4208  	0x3d, 0x36, 0x47, 0xb6, 0x37, 0x58, 0x24, 0x8d, 0xf6, 0x06, 0xfb, 0x1d, 0x07, 0x98, 0xec, 0x24,
  4209  	0xc0, 0xa8, 0xbf, 0x95, 0x85, 0x6b, 0x9a, 0x3b, 0xb0, 0x5d, 0x92, 0xe4, 0xbe, 0x0d, 0x0b, 0x84,
  4210  	0x03, 0xf5, 0x43, 0x11, 0xf4, 0xa4, 0x9c, 0x79, 0x01, 0x8d, 0x22, 0x61, 0x6b, 0x2a, 0x3a, 0xdd,
  4211  	0x4b, 0x5b, 0x84, 0x17, 0xa4, 0xa7, 0xc6, 0x28, 0x0d, 0xe6, 0x3c, 0x3e, 0x89, 0x40, 0x3a, 0xd9,
  4212  	0xed, 0x34, 0x59, 0x2f, 0xcc, 0x33, 0x0a, 0x55, 0x92, 0xf7, 0x67, 0x09, 0x55, 0x7f, 0x93, 0x85,
  4213  	0xc5, 0x36, 0xb5, 0xce, 0xd9, 0xa1, 0x0a, 0xc5, 0x7d, 0x1a, 0x84, 0x89, 0xb0, 0x1c, 0x8f, 0xd1,
  4214  	0x43, 0x28, 0x7a, 0x72, 0xf9, 0xa4, 0x0f, 0xde, 0x4a, 0x57, 0x59, 0xd0, 0xe0, 0x98, 0x1a, 0x7d,
  4215  	0x00, 0xa5, 0x68, 0xe3, 0x46, 0xde, 0x77, 0x85, 0xfb, 0x4e, 0xe8, 0xd1, 0x87, 0x50, 0x10, 0x8b,
  4216  	0x20, 0x9d, 0xee, 0xf6, 0xe7, 0xb2, 0x39, 0x96, 0x4c, 0xe8, 0x11, 0x14, 0x43, 0x27, 0xd0, 0x6d,
  4217  	0x77, 0x8f, 0x2e, 0xe7, 0xb9, 0x80, 0xd5, 0xd4, 0x50, 0x47, 0x2d, 0xd2, 0xdf, 0xea, 0xb5, 0xdc,
  4218  	0x3d, 0x5a, 0x2f, 0x9f, 0x9d, 0xae, 0xce, 0xc9, 0x01, 0x9e, 0x0b, 0x9d, 0x80, 0xfd, 0x40, 0xb7,
  4219  	0x20, 0xb7, 0x67, 0x7b, 0xc1, 0x72, 0x61, 0x2d, 0xf3, 0x66, 0xb1, 0x5e, 0x3c, 0x3b, 0x5d, 0xcd,
  4220  	0x6d, 0xb4, 0xba, 0x3d, 0xcc, 0xa1, 0xea, 0xef, 0x66, 0xa0, 0x9c, 0x90, 0x81, 0x5e, 0x01, 0x08,
  4221  	0xfd, 0x51, 0x10, 0xea, 0x3e, 0xa5, 0x21, 0x37, 0x65, 0x05, 0x97, 0x38, 0x04, 0x53, 0x1a, 0xa2,
  4222  	0x75, 0xb8, 0x6e, 0x12, 0x3f, 0xd4, 0xed, 0x20, 0x18, 0x11, 0x5f, 0x0f, 0x46, 0xbb, 0xcf, 0x88,
  4223  	0x19, 0x72, 0xb3, 0x56, 0xf0, 0x35, 0x86, 0x6a, 0x71, 0x4c, 0x4f, 0x20, 0xd0, 0x03, 0xb8, 0x91,
  4224  	0xa4, 0xf7, 0x46, 0xbb, 0x8e, 0x6d, 0xea, 0x6c, 0xa9, 0x67, 0x39, 0xcb, 0xf5, 0x09, 0x4b, 0x97,
  4225  	0xe3, 0x1e, 0x93, 0xb1, 0xfa, 0xe3, 0x0c, 0x28, 0xd8, 0xd8, 0x0b, 0xb7, 0xc9, 0x70, 0x97, 0xf8,
  4226  	0xbd, 0xd0, 0x08, 0x47, 0x01, 0xba, 0x01, 0x05, 0x87, 0x18, 0x16, 0xf1, 0xb9, 0x52, 0x45, 0x2c,
  4227  	0x47, 0x68, 0x87, 0x45, 0x19, 0xc3, 0xdc, 0x37, 0x76, 0x6d, 0xc7, 0x0e, 0xc7, 0x5c, 0x95, 0x85,
  4228  	0x74, 0x07, 0x9f, 0x96, 0xb9, 0x8e, 0x13, 0x8c, 0xf8, 0x9c, 0x18, 0xb4, 0x0c, 0x73, 0x43, 0x12,
  4229  	0x04, 0xc6, 0x80, 0x70, 0x4d, 0x4b, 0x38, 0x1a, 0xaa, 0x1f, 0x40, 0x25, 0xc9, 0x87, 0xca, 0x30,
  4230  	0xb7, 0xd3, 0x7e, 0xdc, 0xee, 0x3c, 0x6d, 0x2b, 0x33, 0x68, 0x11, 0xca, 0x3b, 0x6d, 0xac, 0xd5,
  4231  	0x1a, 0x9b, 0xb5, 0xfa, 0x96, 0xa6, 0x64, 0xd0, 0x3c, 0x94, 0x26, 0xc3, 0xac, 0xfa, 0xa7, 0x19,
  4232  	0x00, 0x66, 0x6e, 0x39, 0xa9, 0xf7, 0x21, 0x1f, 0x84, 0x46, 0x28, 0x7c, 0x76, 0xe1, 0xfe, 0xeb,
  4233  	0x17, 0xad, 0xb0, 0xd4, 0x97, 0xfd, 0x23, 0x58, 0xb0, 0x24, 0x35, 0xcc, 0x9e, 0xd3, 0x90, 0x85,
  4234  	0x0f, 0xc3, 0xb2, 0x7c, 0xa9, 0x38, 0xff, 0xad, 0x7e, 0x00, 0x79, 0xce, 0x7d, 0x5e, 0xdd, 0x22,
  4235  	0xe4, 0x9a, 0xec, 0x57, 0x06, 0x95, 0x20, 0x8f, 0xb5, 0x5a, 0xf3, 0x5b, 0x4a, 0x16, 0x29, 0x50,
  4236  	0x69, 0xb6, 0x7a, 0x8d, 0x4e, 0xbb, 0xad, 0x35, 0xfa, 0x5a, 0x53, 0x99, 0x55, 0x6f, 0x43, 0xbe,
  4237  	0x35, 0x64, 0x92, 0x6f, 0xb1, 0x0d, 0xb1, 0x47, 0x7c, 0xe2, 0x9a, 0xd1, 0x3e, 0x9b, 0x00, 0xd4,
  4238  	0xcf, 0x2a, 0x90, 0xdf, 0xa6, 0x23, 0x37, 0x44, 0xf7, 0x13, 0x41, 0x6d, 0x21, 0x3d, 0x8b, 0xe1,
  4239  	0x84, 0xeb, 0xfd, 0xb1, 0x47, 0x64, 0xd0, 0xbb, 0x01, 0x05, 0xb1, 0x75, 0xe4, 0x74, 0xe4, 0x88,
  4240  	0xc1, 0x43, 0xc3, 0x1f, 0x90, 0x50, 0xce, 0x47, 0x8e, 0xd0, 0x9b, 0xec, 0x54, 0x35, 0x2c, 0xea,
  4241  	0x3a, 0x63, 0xbe, 0xc3, 0x8a, 0xe2, 0xe8, 0xc4, 0xc4, 0xb0, 0x3a, 0xae, 0x33, 0xc6, 0x31, 0x16,
  4242  	0x3d, 0x82, 0xb2, 0x49, 0xdd, 0xc0, 0x0e, 0x42, 0xe2, 0x9a, 0xe3, 0xe5, 0x22, 0x57, 0xea, 0xf6,
  4243  	0xc5, 0x4a, 0x35, 0x26, 0xc4, 0x38, 0xc9, 0x89, 0x36, 0xa1, 0xb2, 0x6b, 0xbb, 0x96, 0x4e, 0x3d,
  4244  	0x71, 0xa2, 0xe5, 0x2f, 0xde, 0xd8, 0x42, 0x52, 0xdd, 0x76, 0xad, 0x8e, 0x20, 0xc6, 0xe5, 0xdd,
  4245  	0xc9, 0x00, 0xb5, 0x61, 0xe1, 0x90, 0x3a, 0xa3, 0x21, 0x89, 0x65, 0x15, 0xb8, 0xac, 0x37, 0x2e,
  4246  	0x96, 0xf5, 0x84, 0xd3, 0x47, 0xd2, 0xe6, 0x0f, 0x93, 0x43, 0xf4, 0x18, 0xe6, 0xc3, 0xa1, 0xb7,
  4247  	0x17, 0xc4, 0xe2, 0xe6, 0xb8, 0xb8, 0x2f, 0x5f, 0x62, 0x79, 0x46, 0x1e, 0x49, 0xab, 0x84, 0x89,
  4248  	0x51, 0xf5, 0xfb, 0xb3, 0x50, 0x4e, 0x68, 0x8e, 0x7a, 0x50, 0xf6, 0x7c, 0xea, 0x19, 0x03, 0x7e,
  4249  	0x2a, 0xcb, 0x45, 0xbd, 0xf7, 0xb9, 0x66, 0xbd, 0xde, 0x9d, 0x30, 0xe2, 0xa4, 0x14, 0xf4, 0x0e,
  4250  	0x54, 0x5c, 0xea, 0xfa, 0xc4, 0x1c, 0xf9, 0x81, 0x7d, 0x28, 0x16, 0xbd, 0x58, 0x57, 0xce, 0x4e,
  4251  	0x57, 0x2b, 0x6d, 0xea, 0xe2, 0x08, 0x8e, 0xcf, 0x51, 0xa9, 0x27, 0x59, 0x28, 0x27, 0x44, 0xa2,
  4252  	0xb7, 0xa0, 0x88, 0xbb, 0xb8, 0xf5, 0xa4, 0xd6, 0xd7, 0x94, 0x99, 0xea, 0xad, 0xe3, 0x93, 0xb5,
  4253  	0x65, 0xae, 0x43, 0xf2, 0xb3, 0x5d, 0xdf, 0x3e, 0x64, 0x9e, 0xff, 0x26, 0xcc, 0x45, 0xa4, 0x99,
  4254  	0xea, 0xcb, 0xc7, 0x27, 0x6b, 0x2f, 0x4d, 0x93, 0x26, 0x28, 0x71, 0x6f, 0xb3, 0x86, 0xb5, 0xa6,
  4255  	0x92, 0x4d, 0xa7, 0xc4, 0xbd, 0x7d, 0xc3, 0x27, 0x16, 0xfa, 0x32, 0x14, 0x24, 0xe1, 0x6c, 0xb5,
  4256  	0x7a, 0x7c, 0xb2, 0x76, 0x63, 0x9a, 0x70, 0x42, 0x87, 0x7b, 0x5b, 0xb5, 0x27, 0x9a, 0x92, 0x4b,
  4257  	0xa7, 0xc3, 0x3d, 0xc7, 0x38, 0x24, 0xe8, 0x75, 0xc8, 0x0b, 0xb2, 0x7c, 0xf5, 0xe6, 0xf1, 0xc9,
  4258  	0xda, 0x97, 0x5e, 0x10, 0xc7, 0xa8, 0xaa, 0xcb, 0xbf, 0xfd, 0x87, 0x2b, 0x33, 0x7f, 0xf1, 0x47,
  4259  	0x2b, 0xca, 0x34, 0xba, 0xfa, 0xbf, 0x19, 0x98, 0x3f, 0xe7, 0x28, 0x48, 0x85, 0x82, 0x4b, 0x4d,
  4260  	0xea, 0x89, 0xc3, 0xb5, 0x58, 0x87, 0xb3, 0xd3, 0xd5, 0x42, 0x9b, 0x36, 0xa8, 0x37, 0xc6, 0x12,
  4261  	0x83, 0x1e, 0x4f, 0xa5, 0x07, 0x0f, 0x3e, 0xa7, 0x17, 0xa6, 0x26, 0x08, 0x1f, 0xc1, 0xbc, 0xe5,
  4262  	0xdb, 0x87, 0xc4, 0xd7, 0x4d, 0xea, 0xee, 0xd9, 0x03, 0x79, 0x70, 0x56, 0x53, 0x33, 0x69, 0x4e,
  4263  	0x88, 0x2b, 0x82, 0xa1, 0xc1, 0xe9, 0x7f, 0x86, 0xd4, 0xa0, 0xea, 0x41, 0x25, 0xe9, 0xd7, 0xec,
  4264  	0x34, 0x0b, 0xec, 0x5f, 0x25, 0x32, 0x7f, 0xe4, 0x09, 0x36, 0x2e, 0x31, 0x88, 0x48, 0x11, 0xdf,
  4265  	0x80, 0xdc, 0x90, 0x5a, 0x42, 0xce, 0x7c, 0xfd, 0x3a, 0xcb, 0x50, 0xfe, 0xe9, 0x74, 0xb5, 0x4c,
  4266  	0x83, 0xf5, 0x0d, 0xdb, 0x21, 0xdb, 0xd4, 0x22, 0x98, 0x13, 0xb0, 0x58, 0x1b, 0x6d, 0x2c, 0x79,
  4267  	0x1a, 0xc8, 0xa1, 0xfa, 0xbd, 0x0c, 0xe4, 0x58, 0x10, 0x43, 0x2f, 0x43, 0xae, 0xde, 0x6a, 0x37,
  4268  	0x95, 0x99, 0xea, 0xb5, 0xe3, 0x93, 0xb5, 0x79, 0x6e, 0x2d, 0x86, 0x60, 0x9b, 0x01, 0xad, 0x42,
  4269  	0xe1, 0x49, 0x67, 0x6b, 0x67, 0x9b, 0x79, 0xde, 0xf5, 0xe3, 0x93, 0xb5, 0xc5, 0x18, 0x2d, 0xec,
  4270  	0x89, 0x5e, 0x81, 0x7c, 0x7f, 0xbb, 0xbb, 0xd1, 0x53, 0xb2, 0x55, 0x74, 0x7c, 0xb2, 0xb6, 0x10,
  4271  	0xe3, 0xf9, 0x74, 0xd0, 0xab, 0x90, 0x6f, 0x77, 0x5b, 0x5d, 0x4d, 0x99, 0xad, 0xde, 0x38, 0x3e,
  4272  	0x59, 0x43, 0x31, 0x9a, 0x57, 0x3a, 0x5d, 0xdb, 0x23, 0xd5, 0x6b, 0xd2, 0x27, 0x4a, 0x31, 0x4e,
  4273  	0xfd, 0x51, 0x06, 0xca, 0x89, 0x58, 0xc6, 0xdc, 0xba, 0xa9, 0x6d, 0xd4, 0x76, 0xb6, 0xfa, 0xca,
  4274  	0x4c, 0xc2, 0xad, 0x13, 0x24, 0x4d, 0xb2, 0x67, 0x8c, 0x1c, 0x16, 0x5b, 0xa1, 0xd1, 0x69, 0xf7,
  4275  	0x5a, 0xbd, 0xbe, 0xd6, 0xee, 0x2b, 0x99, 0xea, 0xf2, 0xf1, 0xc9, 0xda, 0xd2, 0x34, 0xf1, 0xc6,
  4276  	0xc8, 0x71, 0x98, 0x63, 0x37, 0x6a, 0x8d, 0x4d, 0xbe, 0x53, 0x26, 0x8e, 0x9d, 0xa0, 0x6a, 0x18,
  4277  	0xe6, 0x3e, 0xb1, 0xd0, 0xdb, 0x50, 0x6a, 0x6a, 0x5b, 0xda, 0xa3, 0x1a, 0x3f, 0x51, 0xaa, 0xaf,
  4278  	0x1c, 0x9f, 0xac, 0xdd, 0x7c, 0xf1, 0xeb, 0x0e, 0x19, 0x18, 0x21, 0xb1, 0xa6, 0x1c, 0x3c, 0x41,
  4279  	0xa2, 0xfe, 0x77, 0x16, 0xe6, 0x31, 0x09, 0x42, 0xc3, 0x0f, 0xbb, 0xd4, 0xb1, 0xcd, 0x31, 0xea,
  4280  	0x42, 0xc9, 0xa4, 0xae, 0x65, 0x27, 0x62, 0xd3, 0xfd, 0x0b, 0x92, 0xb4, 0x09, 0x57, 0x34, 0x6a,
  4281  	0x44, 0x9c, 0x78, 0x22, 0x04, 0xdd, 0x81, 0xbc, 0x45, 0x1c, 0x63, 0x2c, 0xb3, 0xc5, 0x9b, 0x2f,
  4282  	0x54, 0x0b, 0x4d, 0xd9, 0xa8, 0xc0, 0x82, 0x8e, 0xd7, 0x66, 0xc6, 0x73, 0xdd, 0x08, 0x43, 0x32,
  4283  	0xf4, 0x42, 0xe1, 0x23, 0x39, 0x5c, 0x1e, 0x1a, 0xcf, 0x6b, 0x12, 0x84, 0xee, 0x41, 0xe1, 0xc8,
  4284  	0x76, 0x2d, 0x7a, 0x24, 0xb3, 0xc1, 0x4b, 0x84, 0x4a, 0x42, 0xf5, 0x98, 0xa5, 0x41, 0x53, 0x6a,
  4285  	0x32, 0x37, 0x6b, 0x77, 0xda, 0x5a, 0xe4, 0x66, 0x12, 0xdf, 0x71, 0xdb, 0xd4, 0x65, 0xd1, 0x03,
  4286  	0x3a, 0x6d, 0x7d, 0xa3, 0xd6, 0xda, 0xda, 0xc1, 0xcc, 0xd5, 0x96, 0x8e, 0x4f, 0xd6, 0x94, 0x98,
  4287  	0x64, 0xc3, 0xb0, 0x1d, 0x56, 0x9e, 0xdc, 0x84, 0xd9, 0x5a, 0xfb, 0x5b, 0x4a, 0xb6, 0xaa, 0x1c,
  4288  	0x9f, 0xac, 0x55, 0x62, 0x74, 0xcd, 0x1d, 0x4f, 0xec, 0x3e, 0xfd, 0x5d, 0xf5, 0x6f, 0x67, 0xa1,
  4289  	0xb2, 0xe3, 0x59, 0x46, 0x48, 0xc4, 0x2e, 0x45, 0x6b, 0x50, 0xf6, 0x0c, 0xdf, 0x70, 0x1c, 0xe2,
  4290  	0xd8, 0xc1, 0x50, 0xb6, 0x58, 0x92, 0x20, 0xf4, 0xde, 0xe7, 0x35, 0x63, 0xbd, 0xc8, 0x76, 0xde,
  4291  	0x77, 0xff, 0x75, 0x35, 0x13, 0x19, 0x74, 0x07, 0x16, 0xf6, 0x84, 0xb6, 0xba, 0x61, 0xf2, 0x85,
  4292  	0x9d, 0xe5, 0x0b, 0xbb, 0x9e, 0xb6, 0xb0, 0x49, 0xb5, 0xd6, 0xe5, 0x24, 0x6b, 0x9c, 0x0b, 0xcf,
  4293  	0xef, 0x25, 0x87, 0xe8, 0x01, 0xcc, 0x0d, 0xa9, 0x6b, 0x87, 0xd4, 0xbf, 0x7a, 0x15, 0x22, 0x4a,
  4294  	0xf4, 0x16, 0x5c, 0x63, 0x8b, 0x1b, 0xe9, 0xc3, 0xd1, 0xfc, 0xe4, 0xcf, 0xe2, 0xc5, 0xa1, 0xf1,
  4295  	0x5c, 0x7e, 0x10, 0x33, 0x30, 0xaa, 0x43, 0x9e, 0xfa, 0x2c, 0x47, 0x2d, 0x70, 0x75, 0xdf, 0xbe,
  4296  	0x52, 0x5d, 0x31, 0xe8, 0x30, 0x1e, 0x2c, 0x58, 0xd5, 0x77, 0x61, 0xfe, 0xdc, 0x24, 0x58, 0x6a,
  4297  	0xd6, 0xad, 0xed, 0xf4, 0x34, 0x65, 0x06, 0x55, 0xa0, 0xd8, 0xe8, 0xb4, 0xfb, 0xad, 0xf6, 0x0e,
  4298  	0xcb, 0x2d, 0x2b, 0x50, 0xc4, 0x9d, 0xad, 0xad, 0x7a, 0xad, 0xf1, 0x58, 0xc9, 0xaa, 0xeb, 0x50,
  4299  	0x4e, 0x48, 0x43, 0x0b, 0x00, 0xbd, 0x7e, 0xa7, 0xab, 0x6f, 0xb4, 0x70, 0xaf, 0x2f, 0x32, 0xd3,
  4300  	0x5e, 0xbf, 0x86, 0xfb, 0x12, 0x90, 0x51, 0xff, 0x33, 0x1b, 0xad, 0xa8, 0x4c, 0x46, 0xeb, 0xe7,
  4301  	0x93, 0xd1, 0x4b, 0x94, 0x97, 0xe9, 0xe8, 0x64, 0x10, 0x27, 0xa5, 0xef, 0x01, 0x70, 0xc7, 0x21,
  4302  	0x96, 0x6e, 0x84, 0x72, 0xe1, 0xab, 0x2f, 0x18, 0xb9, 0x1f, 0x75, 0x02, 0x71, 0x49, 0x52, 0xd7,
  4303  	0x42, 0xf4, 0x21, 0x54, 0x4c, 0x3a, 0xf4, 0x1c, 0x22, 0x99, 0x67, 0xaf, 0x64, 0x2e, 0xc7, 0xf4,
  4304  	0xb5, 0x30, 0x99, 0x0e, 0xe7, 0xce, 0x27, 0xec, 0xbf, 0x99, 0x89, 0x2c, 0x93, 0x92, 0x01, 0x57,
  4305  	0xa0, 0xb8, 0xd3, 0x6d, 0xd6, 0xfa, 0xad, 0xf6, 0x23, 0x25, 0x83, 0x00, 0x0a, 0xdc, 0xd4, 0x4d,
  4306  	0x25, 0xcb, 0x32, 0xf7, 0x46, 0x67, 0xbb, 0xbb, 0xa5, 0xf1, 0x88, 0x85, 0x96, 0x40, 0x89, 0x8c,
  4307  	0xad, 0x73, 0x43, 0x6a, 0x4d, 0x25, 0x87, 0xae, 0xc3, 0x62, 0x0c, 0x95, 0x9c, 0x79, 0x74, 0x03,
  4308  	0x50, 0x0c, 0x9c, 0x88, 0x28, 0xa8, 0xbf, 0x0e, 0x8b, 0x0d, 0xea, 0x86, 0x86, 0xed, 0xc6, 0x55,
  4309  	0xcd, 0x7d, 0x36, 0x69, 0x09, 0xd2, 0x6d, 0xd9, 0x21, 0xab, 0x2f, 0x9e, 0x9d, 0xae, 0x96, 0x63,
  4310  	0xd2, 0x56, 0x93, 0x67, 0xa1, 0x72, 0x60, 0xb1, 0xfd, 0xeb, 0xd9, 0x16, 0x37, 0x6e, 0xbe, 0x3e,
  4311  	0x77, 0x76, 0xba, 0x3a, 0xdb, 0x6d, 0x35, 0x31, 0x83, 0xa1, 0x97, 0xa1, 0x44, 0x9e, 0xdb, 0xa1,
  4312  	0x6e, 0xb2, 0x53, 0x8d, 0x19, 0x30, 0x8f, 0x8b, 0x0c, 0xd0, 0xa0, 0x16, 0x51, 0xeb, 0x00, 0x5d,
  4313  	0xea, 0x87, 0xf2, 0xcb, 0xef, 0x40, 0xde, 0xa3, 0x3e, 0xef, 0xe9, 0x5c, 0xd8, 0x69, 0x64, 0xe4,
  4314  	0xc2, 0x51, 0xb1, 0x20, 0x56, 0xbf, 0x37, 0x0b, 0xd0, 0x37, 0x82, 0x03, 0x29, 0xe4, 0x21, 0x94,
  4315  	0xe2, 0xae, 0xae, 0x6c, 0x0e, 0x5d, 0xba, 0xda, 0x31, 0x31, 0x7a, 0x10, 0x39, 0x9b, 0xa8, 0xd7,
  4316  	0x52, 0xcb, 0xea, 0xe8, 0x43, 0x69, 0x25, 0xcf, 0xf9, 0xa2, 0x8c, 0x25, 0x09, 0xc4, 0xf7, 0xe5,
  4317  	0xca, 0xb3, 0x9f, 0xa8, 0xc1, 0x8f, 0x05, 0x61, 0x34, 0x99, 0xa8, 0xa7, 0xb6, 0xc3, 0xa6, 0x56,
  4318  	0x64, 0x73, 0x06, 0x4f, 0xf8, 0xd0, 0x47, 0x50, 0x66, 0xf3, 0xd6, 0x03, 0x8e, 0x93, 0x39, 0xfa,
  4319  	0x85, 0xa6, 0x12, 0x12, 0x30, 0x78, 0x13, 0x2b, 0xbf, 0x02, 0x60, 0x78, 0x9e, 0x63, 0x13, 0x4b,
  4320  	0xdf, 0x1d, 0xf3, 0xa4, 0xbc, 0x84, 0x4b, 0x12, 0x52, 0x1f, 0xb3, 0xed, 0x12, 0xa1, 0x8d, 0x90,
  4321  	0x17, 0x26, 0x57, 0x18, 0x50, 0x52, 0xd7, 0xc2, 0xba, 0x02, 0x0b, 0xfe, 0xc8, 0x65, 0x06, 0x95,
  4322  	0xda, 0xa9, 0x7f, 0x92, 0x85, 0x97, 0xda, 0x24, 0x3c, 0xa2, 0xfe, 0x41, 0x2d, 0x0c, 0x0d, 0x73,
  4323  	0x7f, 0x48, 0x5c, 0xb9, 0x7c, 0x89, 0x22, 0x2a, 0x73, 0xae, 0x88, 0x5a, 0x86, 0x39, 0xc3, 0xb1,
  4324  	0x8d, 0x80, 0x88, 0xd4, 0xaf, 0x84, 0xa3, 0x21, 0x2b, 0xf5, 0x58, 0xe1, 0x48, 0x82, 0x80, 0x88,
  4325  	0x4e, 0x0f, 0x53, 0x3c, 0x02, 0xa0, 0x6f, 0xc3, 0x0d, 0x99, 0xe4, 0x19, 0xf1, 0xa7, 0x58, 0xed,
  4326  	0x11, 0x35, 0xae, 0xb5, 0xd4, 0x4a, 0x36, 0x5d, 0x39, 0x99, 0x05, 0x4e, 0xc0, 0x1d, 0x2f, 0x94,
  4327  	0x39, 0xe5, 0x92, 0x95, 0x82, 0xaa, 0x3e, 0x82, 0x9b, 0x17, 0xb2, 0x7c, 0xa1, 0x4e, 0xd2, 0xdf,
  4328  	0x67, 0x01, 0x5a, 0xdd, 0xda, 0xb6, 0x34, 0x52, 0x13, 0x0a, 0x7b, 0xc6, 0xd0, 0x76, 0xc6, 0x97,
  4329  	0x45, 0xc0, 0x09, 0xfd, 0x7a, 0x4d, 0x98, 0x63, 0x83, 0xf3, 0x60, 0xc9, 0xcb, 0xeb, 0xd8, 0xd1,
  4330  	0xae, 0x4b, 0xc2, 0xb8, 0x8e, 0xe5, 0x23, 0xa6, 0x86, 0x6f, 0xb8, 0xb1, 0xeb, 0x8a, 0x01, 0x5b,
  4331  	0x00, 0x96, 0xf2, 0x1c, 0x19, 0xe3, 0x28, 0x6c, 0xc9, 0x21, 0xda, 0xe4, 0x5d, 0x63, 0xe2, 0x1f,
  4332  	0x12, 0x6b, 0x39, 0xcf, 0x8d, 0x7a, 0x95, 0x3e, 0x58, 0x92, 0x0b, 0xdb, 0xc5, 0xdc, 0xd5, 0x0f,
  4333  	0x78, 0xca, 0x34, 0x41, 0x7d, 0x21, 0x1b, 0xdd, 0x85, 0xf9, 0x73, 0xf3, 0x7c, 0xa1, 0x81, 0xd0,
  4334  	0xea, 0x3e, 0x79, 0x47, 0xc9, 0xc9, 0x5f, 0xef, 0x2a, 0x05, 0xf5, 0xaf, 0x67, 0x45, 0xa0, 0x91,
  4335  	0x56, 0x4d, 0xbf, 0x2d, 0x29, 0x72, 0xef, 0x36, 0xa9, 0x23, 0x03, 0xc0, 0x1b, 0x97, 0xc7, 0x1f,
  4336  	0x56, 0x47, 0x72, 0x72, 0x1c, 0x33, 0xa2, 0x55, 0x28, 0x0b, 0x2f, 0xd6, 0xd9, 0x86, 0xe3, 0x66,
  4337  	0x9d, 0xc7, 0x20, 0x40, 0x8c, 0x13, 0xdd, 0x86, 0x05, 0xde, 0x70, 0x0a, 0xf6, 0x89, 0x25, 0x68,
  4338  	0x72, 0x9c, 0x66, 0x3e, 0x86, 0x72, 0xb2, 0x6d, 0xa8, 0x48, 0x80, 0xce, 0xab, 0x81, 0x3c, 0x57,
  4339  	0xe8, 0xad, 0xab, 0x14, 0x12, 0x2c, 0xbc, 0x48, 0x28, 0x7b, 0x93, 0x81, 0xfa, 0xcb, 0x50, 0x8c,
  4340  	0x94, 0x45, 0xcb, 0x30, 0xdb, 0x6f, 0x74, 0x95, 0x99, 0xea, 0xe2, 0xf1, 0xc9, 0x5a, 0x39, 0x02,
  4341  	0xf7, 0x1b, 0x5d, 0x86, 0xd9, 0x69, 0x76, 0x95, 0xcc, 0x79, 0xcc, 0x4e, 0xb3, 0x8b, 0xaa, 0x90,
  4342  	0xeb, 0x35, 0xfa, 0xdd, 0x28, 0x3f, 0x8b, 0x50, 0x0c, 0x56, 0xcd, 0xb1, 0xfc, 0x4c, 0xdd, 0x83,
  4343  	0x72, 0xe2, 0xeb, 0xe8, 0x35, 0x98, 0x6b, 0xb5, 0x1f, 0x61, 0xad, 0xd7, 0x53, 0x66, 0x44, 0x79,
  4344  	0x90, 0xc0, 0xb6, 0xdc, 0x01, 0x5b, 0x3b, 0xf4, 0x0a, 0xe4, 0x36, 0x3b, 0xec, 0xdc, 0x17, 0xf5,
  4345  	0x47, 0x82, 0x62, 0x93, 0x06, 0x61, 0xf5, 0xba, 0x4c, 0xfc, 0x92, 0x82, 0xd5, 0xdf, 0xcf, 0x40,
  4346  	0x41, 0x6c, 0xb4, 0xd4, 0x45, 0xac, 0x4d, 0x8a, 0x22, 0x51, 0x36, 0xbe, 0x71, 0x71, 0x89, 0xb7,
  4347  	0x2e, 0x2b, 0x32, 0xe1, 0x9a, 0x11, 0x5f, 0xf5, 0x7d, 0xa8, 0x24, 0x11, 0x5f, 0xc8, 0x31, 0xbf,
  4348  	0x0d, 0x65, 0xe6, 0xfb, 0x51, 0xa9, 0x77, 0x1f, 0x0a, 0x22, 0x58, 0xc4, 0xe7, 0xd0, 0xc5, 0xf5,
  4349  	0xa6, 0xa4, 0x44, 0x0f, 0x61, 0x4e, 0xd4, 0xa8, 0x51, 0x2f, 0x7b, 0xe5, 0xf2, 0x1d, 0x86, 0x23,
  4350  	0x72, 0xf5, 0x23, 0xc8, 0x75, 0x09, 0xf1, 0x99, 0xed, 0x5d, 0x6a, 0x91, 0xc9, 0xd1, 0x2d, 0xcb,
  4351  	0x6b, 0x8b, 0xb4, 0x9a, 0xac, 0xbc, 0xb6, 0x48, 0xcb, 0x8a, 0xfb, 0x71, 0xd9, 0x44, 0x3f, 0xae,
  4352  	0x0f, 0x95, 0xa7, 0xc4, 0x1e, 0xec, 0x87, 0xc4, 0xe2, 0x82, 0xde, 0x86, 0x9c, 0x47, 0x62, 0xe5,
  4353  	0x97, 0x53, 0x9d, 0x8f, 0x10, 0x1f, 0x73, 0x2a, 0x16, 0x63, 0x8e, 0x38, 0xb7, 0xbc, 0x06, 0x92,
  4354  	0x23, 0xf5, 0xef, 0xb2, 0xb0, 0xd0, 0x0a, 0x82, 0x91, 0xe1, 0x9a, 0x51, 0x56, 0xf7, 0xf5, 0xf3,
  4355  	0x59, 0x5d, 0xea, 0x7d, 0xd9, 0x79, 0x96, 0xf3, 0x6d, 0x46, 0x79, 0xb2, 0x66, 0xe3, 0x93, 0x55,
  4356  	0xfd, 0x8f, 0x4c, 0xd4, 0x4b, 0xbc, 0x9d, 0x08, 0x05, 0xa2, 0x46, 0x4c, 0x4a, 0x22, 0x3b, 0xee,
  4357  	0x81, 0x4b, 0x8f, 0x5c, 0x56, 0xbd, 0x62, 0xad, 0xad, 0x3d, 0x55, 0x32, 0xc2, 0x3d, 0xcf, 0x11,
  4358  	0x61, 0xe2, 0x92, 0x23, 0x26, 0xa9, 0xab, 0xb5, 0x9b, 0x2c, 0x0b, 0xcb, 0xa6, 0x48, 0xea, 0x12,
  4359  	0xd7, 0xb2, 0xdd, 0x01, 0x7a, 0x0d, 0x0a, 0xad, 0x5e, 0x6f, 0x87, 0x97, 0x90, 0x2f, 0x1d, 0x9f,
  4360  	0xac, 0x5d, 0x3f, 0x47, 0xc5, 0xfb, 0xc8, 0x16, 0x23, 0x62, 0x25, 0x10, 0xcb, 0xcf, 0x52, 0x88,
  4361  	0x58, 0x6e, 0x2d, 0x88, 0x70, 0xa7, 0x5f, 0xeb, 0x6b, 0x4a, 0x3e, 0x85, 0x08, 0x53, 0xf6, 0x57,
  4362  	0x6e, 0xb7, 0x7f, 0xce, 0x82, 0x52, 0x33, 0x4d, 0xe2, 0x85, 0x0c, 0x2f, 0xab, 0xce, 0x3e, 0x14,
  4363  	0x3d, 0xf6, 0xcb, 0x26, 0x51, 0x06, 0xf5, 0x30, 0xf5, 0xc6, 0x77, 0x8a, 0x6f, 0x1d, 0x53, 0x87,
  4364  	0xd4, 0xac, 0xa1, 0x1d, 0x04, 0x36, 0x75, 0x05, 0x0c, 0xc7, 0x92, 0xaa, 0xff, 0x95, 0x81, 0xeb,
  4365  	0x29, 0x14, 0xe8, 0x2e, 0xe4, 0x7c, 0xea, 0x44, 0x6b, 0x78, 0xeb, 0xa2, 0x36, 0x31, 0x63, 0xc5,
  4366  	0x9c, 0x12, 0xad, 0x00, 0x18, 0xa3, 0x90, 0x1a, 0xfc, 0xfb, 0xa2, 0xb9, 0x86, 0x13, 0x10, 0xf4,
  4367  	0x14, 0x0a, 0x01, 0x31, 0x7d, 0x12, 0xe5, 0xd9, 0x1f, 0xfd, 0xb4, 0xda, 0xaf, 0xf7, 0xb8, 0x18,
  4368  	0x2c, 0xc5, 0x55, 0xd7, 0xa1, 0x20, 0x20, 0xcc, 0xed, 0x2d, 0x23, 0x34, 0xe4, 0x25, 0x02, 0xff,
  4369  	0xcd, 0xbc, 0xc9, 0x70, 0x06, 0x91, 0x37, 0x19, 0xce, 0x40, 0xfd, 0xab, 0x2c, 0x80, 0xf6, 0x3c,
  4370  	0x24, 0xbe, 0x6b, 0x38, 0x8d, 0x1a, 0xd2, 0x12, 0x27, 0x83, 0x98, 0xed, 0x57, 0x52, 0xef, 0x4d,
  4371  	0x62, 0x8e, 0xf5, 0x46, 0x2d, 0xe5, 0x6c, 0xb8, 0x09, 0xb3, 0x23, 0x5f, 0x5e, 0xe2, 0x8b, 0x1c,
  4372  	0x79, 0x07, 0x6f, 0x61, 0x06, 0x43, 0x5a, 0xb2, 0x97, 0x73, 0xe1, 0x55, 0x7d, 0xe2, 0x03, 0xa9,
  4373  	0xa1, 0x8b, 0xed, 0x7c, 0xd3, 0xd0, 0x4d, 0x22, 0x4f, 0x95, 0x8a, 0xd8, 0xf9, 0x8d, 0x5a, 0x83,
  4374  	0xf8, 0x21, 0x2e, 0x98, 0x06, 0xfb, 0xff, 0x33, 0xc5, 0xb7, 0xb7, 0x01, 0x26, 0x53, 0x43, 0x2b,
  4375  	0x90, 0x6f, 0x6c, 0xf4, 0x7a, 0x5b, 0xca, 0x8c, 0x08, 0xe0, 0x13, 0x14, 0x07, 0xab, 0x7f, 0x9e,
  4376  	0x85, 0x62, 0xa3, 0x26, 0x8f, 0xdc, 0x06, 0x28, 0x3c, 0x2a, 0xf1, 0xab, 0x17, 0xf2, 0xdc, 0xb3,
  4377  	0xfd, 0xb1, 0x0c, 0x2c, 0x97, 0x14, 0xbc, 0x0b, 0x8c, 0x85, 0x69, 0xad, 0x71, 0x06, 0x84, 0xa1,
  4378  	0x42, 0xa4, 0x11, 0x74, 0xd3, 0x88, 0x62, 0xfc, 0xca, 0xe5, 0xc6, 0x12, 0xa5, 0xcb, 0x64, 0x1c,
  4379  	0xe0, 0x72, 0x24, 0xa4, 0x61, 0x04, 0xe8, 0x3d, 0x58, 0x0c, 0xec, 0x81, 0x6b, 0xbb, 0x03, 0x3d,
  4380  	0x32, 0x1e, 0xbf, 0x07, 0xaa, 0x5f, 0x3b, 0x3b, 0x5d, 0x9d, 0xef, 0x09, 0x94, 0xb4, 0xe1, 0xbc,
  4381  	0xa4, 0x6c, 0x70, 0x53, 0xa2, 0x77, 0x61, 0x21, 0xc1, 0xca, 0xac, 0x28, 0xcc, 0xce, 0x3b, 0xc6,
  4382  	0x31, 0xe7, 0x63, 0x32, 0xc6, 0x95, 0x98, 0xf1, 0x31, 0xe1, 0xbd, 0x99, 0x3d, 0xea, 0x9b, 0x44,
  4383  	0xf7, 0xf9, 0x9e, 0xe6, 0xa7, 0x7b, 0x0e, 0x97, 0x39, 0x4c, 0x6c, 0x73, 0xf5, 0x09, 0x5c, 0xef,
  4384  	0xf8, 0xe6, 0x3e, 0x09, 0x42, 0x61, 0x0a, 0x69, 0xc5, 0x8f, 0xe0, 0x56, 0x68, 0x04, 0x07, 0xfa,
  4385  	0xbe, 0x1d, 0x84, 0xd4, 0x1f, 0xeb, 0x3e, 0x09, 0x89, 0xcb, 0xf0, 0x3a, 0xbf, 0xe0, 0x96, 0xed,
  4386  	0xc4, 0x9b, 0x8c, 0x66, 0x53, 0x90, 0xe0, 0x88, 0x62, 0x8b, 0x11, 0xa8, 0x2d, 0xa8, 0xb0, 0x12,
  4387  	0x46, 0x36, 0xd5, 0xd8, 0xec, 0xc1, 0xa1, 0x03, 0xfd, 0x73, 0x1f, 0x53, 0x25, 0x87, 0x0e, 0xc4,
  4388  	0x4f, 0xf5, 0x9b, 0xa0, 0x34, 0xed, 0xc0, 0x33, 0x42, 0x73, 0x3f, 0xea, 0x93, 0xa2, 0x26, 0x28,
  4389  	0xfb, 0xc4, 0xf0, 0xc3, 0x5d, 0x62, 0x84, 0xba, 0x47, 0x7c, 0x9b, 0x5a, 0x57, 0xaf, 0xf2, 0x62,
  4390  	0xcc, 0xd2, 0xe5, 0x1c, 0xea, 0xff, 0x64, 0x00, 0xb0, 0xb1, 0x17, 0x65, 0x6b, 0x5f, 0x85, 0x6b,
  4391  	0x81, 0x6b, 0x78, 0xc1, 0x3e, 0x0d, 0x75, 0xdb, 0x0d, 0x89, 0x7f, 0x68, 0x38, 0xb2, 0xb9, 0xa3,
  4392  	0x44, 0x88, 0x96, 0x84, 0xa3, 0xb7, 0x01, 0x1d, 0x10, 0xe2, 0xe9, 0xd4, 0xb1, 0xf4, 0x08, 0x29,
  4393  	0x2e, 0xbe, 0x73, 0x58, 0x61, 0x98, 0x8e, 0x63, 0xf5, 0x22, 0x38, 0xaa, 0xc3, 0x0a, 0x9b, 0x3e,
  4394  	0x71, 0x43, 0xdf, 0x26, 0x81, 0xbe, 0x47, 0x7d, 0x3d, 0x70, 0xe8, 0x91, 0xbe, 0x47, 0x1d, 0x87,
  4395  	0x1e, 0x11, 0x3f, 0xea, 0x9b, 0x55, 0x1d, 0x3a, 0xd0, 0x04, 0xd1, 0x06, 0xf5, 0x7b, 0x0e, 0x3d,
  4396  	0xda, 0x88, 0x28, 0x58, 0x4a, 0x37, 0x99, 0x73, 0x68, 0x9b, 0x07, 0x51, 0x4a, 0x17, 0x43, 0xfb,
  4397  	0xb6, 0x79, 0x80, 0x5e, 0x83, 0x79, 0xe2, 0x10, 0xde, 0x3e, 0x11, 0x54, 0x79, 0x4e, 0x55, 0x89,
  4398  	0x80, 0x8c, 0x48, 0xfd, 0x18, 0x14, 0xcd, 0x35, 0xfd, 0xb1, 0x97, 0x58, 0xf3, 0xb7, 0x01, 0xb1,
  4399  	0x20, 0xa9, 0x3b, 0xd4, 0x3c, 0xd0, 0x87, 0x86, 0x6b, 0x0c, 0x98, 0x5e, 0xe2, 0xc6, 0x51, 0x61,
  4400  	0x98, 0x2d, 0x6a, 0x1e, 0x6c, 0x4b, 0xb8, 0xfa, 0x1e, 0x40, 0xcf, 0xf3, 0x89, 0x61, 0x75, 0x58,
  4401  	0x36, 0xc1, 0x4c, 0xc7, 0x47, 0xba, 0x25, 0xef, 0x73, 0xa9, 0x2f, 0xb7, 0xba, 0x22, 0x10, 0xcd,
  4402  	0x18, 0xae, 0xfe, 0x22, 0x5c, 0xef, 0x3a, 0x86, 0xc9, 0x5f, 0x58, 0x74, 0xe3, 0x2b, 0x34, 0xf4,
  4403  	0x10, 0x0a, 0x82, 0x54, 0xae, 0x64, 0xea, 0x76, 0x9b, 0x7c, 0x73, 0x73, 0x06, 0x4b, 0xfa, 0x7a,
  4404  	0x05, 0x60, 0x22, 0x47, 0xfd, 0xc7, 0x0c, 0x94, 0x62, 0xf9, 0x68, 0x4d, 0x5c, 0x80, 0x85, 0xbe,
  4405  	0x61, 0xbb, 0xb2, 0xe2, 0x2f, 0xe1, 0x24, 0x08, 0xb5, 0xa0, 0xec, 0xc5, 0xdc, 0x97, 0xe6, 0x73,
  4406  	0x29, 0x5a, 0xe3, 0x24, 0x2f, 0x7a, 0x1f, 0x4a, 0xd1, 0x05, 0x7a, 0x14, 0x61, 0x2f, 0xbf, 0x6f,
  4407  	0x9f, 0x90, 0x47, 0x8d, 0x54, 0x9f, 0x78, 0x8e, 0xcd, 0x62, 0x4e, 0x2e, 0x6e, 0xa4, 0x62, 0x09,
  4408  	0x52, 0xbf, 0x0e, 0xf0, 0x0d, 0x6a, 0xbb, 0x7d, 0x7a, 0x40, 0x5c, 0x7e, 0x2b, 0xcc, 0x4a, 0x4a,
  4409  	0x12, 0x19, 0x5a, 0x8e, 0x78, 0xa7, 0x40, 0xac, 0x52, 0x7c, 0x39, 0x2a, 0x86, 0xea, 0x5f, 0x66,
  4410  	0xa1, 0x80, 0x29, 0x0d, 0x1b, 0x35, 0xb4, 0x06, 0x05, 0x19, 0x4a, 0xf8, 0x11, 0x55, 0x2f, 0x9d,
  4411  	0x9d, 0xae, 0xe6, 0x45, 0x0c, 0xc9, 0x9b, 0x3c, 0x78, 0x24, 0x82, 0x7c, 0xf6, 0xa2, 0x20, 0x8f,
  4412  	0xee, 0x42, 0x45, 0x12, 0xe9, 0xfb, 0x46, 0xb0, 0x2f, 0xea, 0xbb, 0xfa, 0xc2, 0xd9, 0xe9, 0x2a,
  4413  	0x08, 0xca, 0x4d, 0x23, 0xd8, 0xc7, 0x20, 0xa8, 0xd9, 0x6f, 0xa4, 0x41, 0xf9, 0x19, 0xb5, 0x5d,
  4414  	0x3d, 0xe4, 0x93, 0x90, 0xbd, 0xc8, 0xd4, 0xa5, 0x9e, 0x4c, 0x55, 0x3e, 0xa0, 0x80, 0x67, 0x93,
  4415  	0xc9, 0x6b, 0x30, 0xef, 0x53, 0x1a, 0x8a, 0xc8, 0x66, 0x53, 0x57, 0xb6, 0x39, 0xd6, 0x52, 0xbb,
  4416  	0xdf, 0x94, 0x86, 0x58, 0xd2, 0xe1, 0x8a, 0x9f, 0x18, 0xa1, 0xbb, 0xb0, 0xe4, 0x18, 0x41, 0xa8,
  4417  	0xf3, 0x90, 0x68, 0x4d, 0xa4, 0x15, 0xb8, 0xf1, 0x11, 0xc3, 0x6d, 0x70, 0x54, 0xc4, 0xa1, 0xfe,
  4418  	0x43, 0x06, 0xca, 0x6c, 0x32, 0xf6, 0x9e, 0x6d, 0xb2, 0x3c, 0xf0, 0x8b, 0xa7, 0x27, 0x37, 0x61,
  4419  	0xd6, 0x0c, 0x7c, 0x69, 0x54, 0x7e, 0x3e, 0x37, 0x7a, 0x18, 0x33, 0x18, 0xfa, 0x18, 0x0a, 0xb2,
  4420  	0xdd, 0x22, 0x32, 0x13, 0xf5, 0xea, 0x8c, 0x55, 0xda, 0x46, 0xf2, 0x71, 0x77, 0x9f, 0x68, 0x27,
  4421  	0xce, 0x09, 0x9c, 0x04, 0xa1, 0x1b, 0x90, 0x35, 0x85, 0xb9, 0xe4, 0x0b, 0x9d, 0x46, 0x1b, 0x67,
  4422  	0x4d, 0x57, 0xfd, 0x51, 0x06, 0xe6, 0x27, 0x31, 0x81, 0x79, 0xc0, 0x2d, 0x28, 0x05, 0xa3, 0xdd,
  4423  	0x60, 0x1c, 0x84, 0x64, 0x18, 0xdd, 0x78, 0xc7, 0x00, 0xd4, 0x82, 0x92, 0xe1, 0x0c, 0xa8, 0x6f,
  4424  	0x87, 0xfb, 0x43, 0x59, 0xc8, 0xa6, 0x67, 0x13, 0x49, 0x99, 0xeb, 0xb5, 0x88, 0x05, 0x4f, 0xb8,
  4425  	0xa3, 0xd4, 0x40, 0x3c, 0x8b, 0xe0, 0xa9, 0xc1, 0xab, 0x50, 0x71, 0x8c, 0x21, 0xef, 0x3f, 0x85,
  4426  	0xf6, 0x90, 0x44, 0x9b, 0x41, 0xc2, 0xfa, 0xf6, 0x90, 0xa8, 0x2a, 0x94, 0x62, 0x61, 0x68, 0x11,
  4427  	0xca, 0x35, 0xad, 0xa7, 0xdf, 0xbb, 0xff, 0x50, 0x7f, 0xd4, 0xd8, 0x56, 0x66, 0x64, 0xfa, 0xfa,
  4428  	0x67, 0x19, 0x98, 0x97, 0x11, 0x4b, 0x96, 0x04, 0xaf, 0xc1, 0x9c, 0x6f, 0xec, 0x85, 0x51, 0xd1,
  4429  	0x92, 0x13, 0x5e, 0xcd, 0x0e, 0x01, 0x56, 0xb4, 0x30, 0x54, 0x7a, 0xd1, 0x92, 0x78, 0x83, 0x31,
  4430  	0x7b, 0xe9, 0x1b, 0x8c, 0xdc, 0xff, 0xcb, 0x1b, 0x0c, 0xf5, 0x37, 0x00, 0x36, 0x6c, 0x87, 0xf4,
  4431  	0x45, 0xab, 0x2a, 0xad, 0x04, 0x65, 0x69, 0x9e, 0x6c, 0x85, 0x46, 0x69, 0x5e, 0xab, 0x89, 0x19,
  4432  	0x8c, 0xa1, 0x06, 0xb6, 0x25, 0x37, 0x23, 0x47, 0x3d, 0x62, 0xa8, 0x81, 0x6d, 0xc5, 0xd7, 0x7e,
  4433  	0xb9, 0x2b, 0xae, 0xfd, 0xd4, 0x45, 0x98, 0xc7, 0xa2, 0xc7, 0x26, 0x74, 0x50, 0x4f, 0x32, 0xb0,
  4434  	0x28, 0xf3, 0xdd, 0x38, 0x64, 0x7f, 0x05, 0x4a, 0x22, 0xf5, 0x9d, 0x14, 0x81, 0xfc, 0x21, 0x82,
  4435  	0xa0, 0x6b, 0x35, 0x71, 0x51, 0xa0, 0x5b, 0x16, 0x5a, 0x85, 0xb2, 0x24, 0x4d, 0x3c, 0xef, 0x02,
  4436  	0x01, 0x6a, 0xb3, 0xf9, 0xbc, 0x03, 0xb9, 0x3d, 0xdb, 0x21, 0xd2, 0xf3, 0x53, 0x23, 0xc2, 0xc4,
  4437  	0x22, 0x9b, 0x33, 0x98, 0x53, 0xd7, 0x8b, 0x51, 0x73, 0x4f, 0xfd, 0x97, 0x0c, 0x6f, 0x31, 0xb3,
  4438  	0x52, 0x35, 0xa9, 0x9f, 0xa8, 0x5a, 0xa7, 0xf4, 0x13, 0x74, 0x4c, 0x3f, 0x81, 0x16, 0xfa, 0x49,
  4439  	0xd2, 0xa4, 0x7e, 0x02, 0xf4, 0xd3, 0xeb, 0x87, 0x3e, 0x84, 0x39, 0xd9, 0xaa, 0x94, 0xa1, 0xee,
  4440  	0xd5, 0x54, 0xcf, 0x48, 0x5a, 0x7a, 0x73, 0x06, 0x47, 0x3c, 0x89, 0xe9, 0x6d, 0xc1, 0x8d, 0xba,
  4441  	0x63, 0x98, 0x07, 0x8e, 0x1d, 0x84, 0xc4, 0x4a, 0x46, 0xa0, 0xfb, 0x50, 0x38, 0x97, 0xe7, 0x5e,
  4442  	0xd6, 0x44, 0x95, 0x94, 0xea, 0xbf, 0x67, 0xa0, 0xb2, 0x49, 0x0c, 0x27, 0xdc, 0x9f, 0x74, 0xaa,
  4443  	0x42, 0x12, 0x84, 0xf2, 0x7c, 0xe4, 0xbf, 0xd1, 0xd7, 0xa0, 0x18, 0xa7, 0x41, 0x57, 0x5e, 0x07,
  4444  	0xc6, 0xa4, 0xe8, 0x01, 0xcc, 0x31, 0xdd, 0xe9, 0x28, 0xaa, 0xaf, 0x2e, 0xbb, 0x69, 0x92, 0x94,
  4445  	0xec, 0xd0, 0xf2, 0x09, 0xcf, 0x7b, 0xb8, 0x9d, 0xf2, 0x38, 0x1a, 0xa2, 0x9f, 0x87, 0x0a, 0xbf,
  4446  	0x28, 0x89, 0xd2, 0xbc, 0xfc, 0x55, 0x32, 0xcb, 0xe2, 0xae, 0x53, 0xa4, 0x78, 0x7f, 0x9c, 0x85,
  4447  	0xa5, 0x6d, 0x63, 0xbc, 0x4b, 0x64, 0x18, 0x22, 0x16, 0x26, 0x26, 0xf5, 0x2d, 0xd4, 0x4d, 0x86,
  4448  	0xaf, 0x4b, 0xae, 0x4e, 0xd3, 0x98, 0xd3, 0xa3, 0x58, 0x54, 0xf3, 0x65, 0x13, 0x35, 0xdf, 0x12,
  4449  	0xe4, 0x5d, 0xea, 0x9a, 0x44, 0xc6, 0x36, 0x31, 0x50, 0xbf, 0x93, 0x49, 0xc6, 0xae, 0x6a, 0x7c,
  4450  	0xad, 0xc9, 0x9b, 0x5e, 0x6d, 0x1a, 0xc6, 0x9f, 0x43, 0x1f, 0x43, 0xb5, 0xa7, 0x35, 0xb0, 0xd6,
  4451  	0xaf, 0x77, 0xbe, 0xa9, 0xf7, 0x6a, 0x5b, 0xbd, 0xda, 0xfd, 0xbb, 0x7a, 0xb7, 0xb3, 0xf5, 0xad,
  4452  	0x7b, 0x0f, 0xee, 0x7e, 0x4d, 0xc9, 0x54, 0xd7, 0x8e, 0x4f, 0xd6, 0x6e, 0xb5, 0x6b, 0x8d, 0x2d,
  4453  	0xb1, 0xe3, 0x76, 0xe9, 0xf3, 0x9e, 0xe1, 0x04, 0xc6, 0xfd, 0xbb, 0x5d, 0xea, 0x8c, 0x19, 0x0d,
  4454  	0xfa, 0x2a, 0xa0, 0x0d, 0x0d, 0xb7, 0xb5, 0xbe, 0x1e, 0x05, 0xc8, 0x46, 0xbd, 0xa1, 0x64, 0x45,
  4455  	0x25, 0xb5, 0x41, 0x7c, 0x97, 0x84, 0x35, 0xad, 0x77, 0xef, 0xfe, 0xc3, 0x46, 0xbd, 0xc1, 0xf6,
  4456  	0x78, 0x25, 0x79, 0x5a, 0x26, 0x93, 0x80, 0xcc, 0x85, 0x49, 0xc0, 0x24, 0x97, 0xc8, 0x5e, 0x90,
  4457  	0x4b, 0x6c, 0xc0, 0x92, 0xe9, 0xd3, 0x20, 0xd0, 0x59, 0x79, 0x42, 0xac, 0xa9, 0x02, 0xe8, 0x4b,
  4458  	0x67, 0xa7, 0xab, 0xd7, 0x1a, 0x0c, 0xdf, 0xe3, 0x68, 0x29, 0xfe, 0x9a, 0x99, 0x00, 0xf1, 0x2f,
  4459  	0xa9, 0xdf, 0x9f, 0x65, 0x99, 0x9e, 0x7d, 0x68, 0x3b, 0x64, 0x40, 0x02, 0xf4, 0x04, 0x16, 0x4d,
  4460  	0x9f, 0x58, 0xac, 0xee, 0x30, 0x9c, 0xe4, 0xcb, 0xe8, 0x9f, 0x4b, 0x4d, 0xba, 0x62, 0xc6, 0xf5,
  4461  	0x46, 0xcc, 0xd5, 0xf3, 0x88, 0x89, 0x17, 0xcc, 0x73, 0x63, 0xf4, 0x0c, 0x16, 0x03, 0xe2, 0xd8,
  4462  	0xee, 0xe8, 0xb9, 0x6e, 0x52, 0x37, 0x24, 0xcf, 0xa3, 0xeb, 0xbc, 0xab, 0xe4, 0xf6, 0xb4, 0x2d,
  4463  	0xc6, 0xd5, 0x10, 0x4c, 0x75, 0x74, 0x76, 0xba, 0xba, 0x70, 0x1e, 0x86, 0x17, 0xa4, 0x64, 0x39,
  4464  	0xae, 0xee, 0xc3, 0xc2, 0x79, 0x6d, 0xd0, 0x92, 0x0c, 0x34, 0x3c, 0x5e, 0xc5, 0x81, 0xe4, 0x16,
  4465  	0x14, 0x7d, 0x32, 0xb0, 0x83, 0xd0, 0x17, 0x66, 0x66, 0x98, 0x18, 0x82, 0x96, 0xa1, 0x90, 0x78,
  4466  	0x71, 0xc2, 0x70, 0x72, 0xcc, 0x22, 0x88, 0x78, 0x4c, 0x56, 0xfd, 0x35, 0x98, 0xd2, 0x85, 0x6d,
  4467  	0x3a, 0xcb, 0x0e, 0x8c, 0x5d, 0xf9, 0xb1, 0x22, 0x8e, 0x86, 0xcc, 0x97, 0x47, 0x41, 0x9c, 0x40,
  4468  	0xf2, 0xdf, 0x0c, 0xc6, 0x33, 0x1d, 0xf9, 0xb4, 0x8e, 0xe7, 0x32, 0xd1, 0x0b, 0xde, 0x5c, 0xe2,
  4469  	0x05, 0xef, 0x12, 0xe4, 0x1d, 0x72, 0x48, 0x1c, 0x91, 0x63, 0x60, 0x31, 0xe0, 0x3e, 0xff, 0x0d,
  4470  	0xba, 0x2b, 0x8f, 0xe1, 0x0d, 0x98, 0x7f, 0x46, 0x77, 0x75, 0x3b, 0x24, 0xfe, 0xe4, 0x61, 0x55,
  4471  	0xf9, 0xfe, 0xcb, 0x69, 0xf6, 0x95, 0x0f, 0x79, 0x65, 0xa2, 0x53, 0x79, 0x46, 0x77, 0x5b, 0x11,
  4472  	0x1b, 0xaa, 0xc1, 0x02, 0xcf, 0xdf, 0xc8, 0x73, 0x62, 0x8e, 0xb8, 0xa0, 0xab, 0xef, 0x5d, 0xe7,
  4473  	0x19, 0x87, 0x16, 0x31, 0xbc, 0x75, 0x17, 0x2a, 0xd1, 0x1b, 0x56, 0xfe, 0x98, 0xa5, 0x08, 0xb9,
  4474  	0x7e, 0xad, 0xf7, 0x58, 0x99, 0x41, 0x00, 0x05, 0xb1, 0xf9, 0xc4, 0xed, 0x68, 0xa3, 0xd3, 0xde,
  4475  	0x68, 0x3d, 0x52, 0xb2, 0x6f, 0xfd, 0x5e, 0x0e, 0x4a, 0xf1, 0xfd, 0x1c, 0x3b, 0x6c, 0xdb, 0xda,
  4476  	0xd3, 0x68, 0xf7, 0xc6, 0xf0, 0x36, 0x39, 0x42, 0xaf, 0x4e, 0x3a, 0x7b, 0x1f, 0x8b, 0x07, 0x09,
  4477  	0x31, 0x3a, 0xea, 0xea, 0xbd, 0x0e, 0xc5, 0x5a, 0xaf, 0xd7, 0x7a, 0xd4, 0xd6, 0x9a, 0xca, 0xa7,
  4478  	0x99, 0xea, 0x97, 0x8e, 0x4f, 0xd6, 0xae, 0xc5, 0x44, 0xb5, 0x40, 0xec, 0x17, 0x4e, 0xd5, 0x68,
  4479  	0x68, 0xdd, 0xbe, 0xd6, 0x54, 0x3e, 0xc9, 0x4e, 0x53, 0xf1, 0x4e, 0x15, 0x7f, 0x68, 0x55, 0xea,
  4480  	0x62, 0xad, 0x5b, 0xc3, 0xec, 0x83, 0x9f, 0x66, 0x45, 0xc3, 0x71, 0xf2, 0x45, 0x9f, 0x78, 0x86,
  4481  	0xcf, 0xbe, 0xb9, 0x12, 0xbd, 0x77, 0xfc, 0x64, 0x56, 0xbc, 0xb8, 0x99, 0x5c, 0x36, 0x12, 0xc3,
  4482  	0x1a, 0xb3, 0xaf, 0xf1, 0x5b, 0x5e, 0x2e, 0x66, 0x76, 0xea, 0x6b, 0x3d, 0x16, 0x5c, 0x99, 0x14,
  4483  	0x15, 0xe6, 0xf0, 0x4e, 0xbb, 0xcd, 0x88, 0x3e, 0xc9, 0x4d, 0xcd, 0x0e, 0x8f, 0x5c, 0x97, 0xd1,
  4484  	0xdc, 0x86, 0x62, 0x74, 0x09, 0xac, 0x7c, 0x9a, 0x9b, 0x52, 0xa8, 0x11, 0xdd, 0x60, 0xf3, 0x0f,
  4485  	0x6e, 0xee, 0xf4, 0xf9, 0x73, 0xcc, 0x4f, 0xf2, 0xd3, 0x1f, 0xdc, 0x1f, 0x85, 0x16, 0x3d, 0x72,
  4486  	0x59, 0x98, 0x91, 0xbd, 0xcd, 0x4f, 0xf3, 0x22, 0x7c, 0xc5, 0x34, 0xb2, 0xb1, 0xf9, 0x3a, 0x14,
  4487  	0xb1, 0xf6, 0x0d, 0xf1, 0x72, 0xf3, 0x93, 0xc2, 0x94, 0x1c, 0x4c, 0x9e, 0x11, 0x93, 0x7d, 0x6d,
  4488  	0x0d, 0x0a, 0x58, 0xdb, 0xee, 0x3c, 0xd1, 0x94, 0x3f, 0x28, 0x4c, 0xc9, 0xc1, 0x64, 0x48, 0xf9,
  4489  	0x4b, 0xb4, 0x62, 0x07, 0x77, 0x37, 0x6b, 0x7c, 0x51, 0xa6, 0xe5, 0x74, 0x7c, 0x6f, 0xdf, 0x70,
  4490  	0x89, 0x35, 0x79, 0x75, 0x14, 0xa3, 0xde, 0xfa, 0x25, 0x28, 0x46, 0xc9, 0x3e, 0x5a, 0x81, 0xc2,
  4491  	0xd3, 0x0e, 0x7e, 0xac, 0x61, 0x65, 0x46, 0x58, 0x39, 0xc2, 0x3c, 0x15, 0x65, 0xda, 0x1a, 0xcc,
  4492  	0x6d, 0xd7, 0xda, 0xb5, 0x47, 0x1a, 0x8e, 0x2e, 0x26, 0x22, 0x02, 0x99, 0xb1, 0x56, 0x15, 0xf9,
  4493  	0x81, 0x58, 0x66, 0xfd, 0xf5, 0x1f, 0x7c, 0xb6, 0x32, 0xf3, 0xe3, 0xcf, 0x56, 0x66, 0x3e, 0x39,
  4494  	0x5b, 0xc9, 0xfc, 0xe0, 0x6c, 0x25, 0xf3, 0xc3, 0xb3, 0x95, 0xcc, 0xbf, 0x9d, 0xad, 0x64, 0x7e,
  4495  	0xe7, 0x27, 0x2b, 0x33, 0x3f, 0xfc, 0xc9, 0xca, 0xcc, 0x8f, 0x7f, 0xb2, 0x32, 0xb3, 0x5b, 0xe0,
  4496  	0x4e, 0xff, 0xe0, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xde, 0x15, 0x00, 0xb1, 0xc6, 0x34, 0x00,
  4497  	0x00,
  4498  }
  4499  
  4500  func (m *Version) Copy() *Version {
  4501  	if m == nil {
  4502  		return nil
  4503  	}
  4504  	o := &Version{}
  4505  	o.CopyFrom(m)
  4506  	return o
  4507  }
  4508  
  4509  func (m *Version) CopyFrom(src interface{}) {
  4510  
  4511  	o := src.(*Version)
  4512  	*m = *o
  4513  }
  4514  
  4515  func (m *IndexEntry) Copy() *IndexEntry {
  4516  	if m == nil {
  4517  		return nil
  4518  	}
  4519  	o := &IndexEntry{}
  4520  	o.CopyFrom(m)
  4521  	return o
  4522  }
  4523  
  4524  func (m *IndexEntry) CopyFrom(src interface{}) {
  4525  
  4526  	o := src.(*IndexEntry)
  4527  	*m = *o
  4528  }
  4529  
  4530  func (m *Annotations) Copy() *Annotations {
  4531  	if m == nil {
  4532  		return nil
  4533  	}
  4534  	o := &Annotations{}
  4535  	o.CopyFrom(m)
  4536  	return o
  4537  }
  4538  
  4539  func (m *Annotations) CopyFrom(src interface{}) {
  4540  
  4541  	o := src.(*Annotations)
  4542  	*m = *o
  4543  	if o.Labels != nil {
  4544  		m.Labels = make(map[string]string, len(o.Labels))
  4545  		for k, v := range o.Labels {
  4546  			m.Labels[k] = v
  4547  		}
  4548  	}
  4549  
  4550  	if o.Indices != nil {
  4551  		m.Indices = make([]IndexEntry, len(o.Indices))
  4552  		for i := range m.Indices {
  4553  			github_com_docker_swarmkit_api_deepcopy.Copy(&m.Indices[i], &o.Indices[i])
  4554  		}
  4555  	}
  4556  
  4557  }
  4558  
  4559  func (m *NamedGenericResource) Copy() *NamedGenericResource {
  4560  	if m == nil {
  4561  		return nil
  4562  	}
  4563  	o := &NamedGenericResource{}
  4564  	o.CopyFrom(m)
  4565  	return o
  4566  }
  4567  
  4568  func (m *NamedGenericResource) CopyFrom(src interface{}) {
  4569  
  4570  	o := src.(*NamedGenericResource)
  4571  	*m = *o
  4572  }
  4573  
  4574  func (m *DiscreteGenericResource) Copy() *DiscreteGenericResource {
  4575  	if m == nil {
  4576  		return nil
  4577  	}
  4578  	o := &DiscreteGenericResource{}
  4579  	o.CopyFrom(m)
  4580  	return o
  4581  }
  4582  
  4583  func (m *DiscreteGenericResource) CopyFrom(src interface{}) {
  4584  
  4585  	o := src.(*DiscreteGenericResource)
  4586  	*m = *o
  4587  }
  4588  
  4589  func (m *GenericResource) Copy() *GenericResource {
  4590  	if m == nil {
  4591  		return nil
  4592  	}
  4593  	o := &GenericResource{}
  4594  	o.CopyFrom(m)
  4595  	return o
  4596  }
  4597  
  4598  func (m *GenericResource) CopyFrom(src interface{}) {
  4599  
  4600  	o := src.(*GenericResource)
  4601  	*m = *o
  4602  	if o.Resource != nil {
  4603  		switch o.Resource.(type) {
  4604  		case *GenericResource_NamedResourceSpec:
  4605  			v := GenericResource_NamedResourceSpec{
  4606  				NamedResourceSpec: &NamedGenericResource{},
  4607  			}
  4608  			github_com_docker_swarmkit_api_deepcopy.Copy(v.NamedResourceSpec, o.GetNamedResourceSpec())
  4609  			m.Resource = &v
  4610  		case *GenericResource_DiscreteResourceSpec:
  4611  			v := GenericResource_DiscreteResourceSpec{
  4612  				DiscreteResourceSpec: &DiscreteGenericResource{},
  4613  			}
  4614  			github_com_docker_swarmkit_api_deepcopy.Copy(v.DiscreteResourceSpec, o.GetDiscreteResourceSpec())
  4615  			m.Resource = &v
  4616  		}
  4617  	}
  4618  
  4619  }
  4620  
  4621  func (m *Resources) Copy() *Resources {
  4622  	if m == nil {
  4623  		return nil
  4624  	}
  4625  	o := &Resources{}
  4626  	o.CopyFrom(m)
  4627  	return o
  4628  }
  4629  
  4630  func (m *Resources) CopyFrom(src interface{}) {
  4631  
  4632  	o := src.(*Resources)
  4633  	*m = *o
  4634  	if o.Generic != nil {
  4635  		m.Generic = make([]*GenericResource, len(o.Generic))
  4636  		for i := range m.Generic {
  4637  			m.Generic[i] = &GenericResource{}
  4638  			github_com_docker_swarmkit_api_deepcopy.Copy(m.Generic[i], o.Generic[i])
  4639  		}
  4640  	}
  4641  
  4642  }
  4643  
  4644  func (m *ResourceRequirements) Copy() *ResourceRequirements {
  4645  	if m == nil {
  4646  		return nil
  4647  	}
  4648  	o := &ResourceRequirements{}
  4649  	o.CopyFrom(m)
  4650  	return o
  4651  }
  4652  
  4653  func (m *ResourceRequirements) CopyFrom(src interface{}) {
  4654  
  4655  	o := src.(*ResourceRequirements)
  4656  	*m = *o
  4657  	if o.Limits != nil {
  4658  		m.Limits = &Resources{}
  4659  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Limits, o.Limits)
  4660  	}
  4661  	if o.Reservations != nil {
  4662  		m.Reservations = &Resources{}
  4663  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Reservations, o.Reservations)
  4664  	}
  4665  	if o.SwapBytes != nil {
  4666  		m.SwapBytes = &types.Int64Value{}
  4667  		github_com_docker_swarmkit_api_deepcopy.Copy(m.SwapBytes, o.SwapBytes)
  4668  	}
  4669  	if o.MemorySwappiness != nil {
  4670  		m.MemorySwappiness = &types.Int64Value{}
  4671  		github_com_docker_swarmkit_api_deepcopy.Copy(m.MemorySwappiness, o.MemorySwappiness)
  4672  	}
  4673  }
  4674  
  4675  func (m *Platform) Copy() *Platform {
  4676  	if m == nil {
  4677  		return nil
  4678  	}
  4679  	o := &Platform{}
  4680  	o.CopyFrom(m)
  4681  	return o
  4682  }
  4683  
  4684  func (m *Platform) CopyFrom(src interface{}) {
  4685  
  4686  	o := src.(*Platform)
  4687  	*m = *o
  4688  }
  4689  
  4690  func (m *PluginDescription) Copy() *PluginDescription {
  4691  	if m == nil {
  4692  		return nil
  4693  	}
  4694  	o := &PluginDescription{}
  4695  	o.CopyFrom(m)
  4696  	return o
  4697  }
  4698  
  4699  func (m *PluginDescription) CopyFrom(src interface{}) {
  4700  
  4701  	o := src.(*PluginDescription)
  4702  	*m = *o
  4703  }
  4704  
  4705  func (m *EngineDescription) Copy() *EngineDescription {
  4706  	if m == nil {
  4707  		return nil
  4708  	}
  4709  	o := &EngineDescription{}
  4710  	o.CopyFrom(m)
  4711  	return o
  4712  }
  4713  
  4714  func (m *EngineDescription) CopyFrom(src interface{}) {
  4715  
  4716  	o := src.(*EngineDescription)
  4717  	*m = *o
  4718  	if o.Labels != nil {
  4719  		m.Labels = make(map[string]string, len(o.Labels))
  4720  		for k, v := range o.Labels {
  4721  			m.Labels[k] = v
  4722  		}
  4723  	}
  4724  
  4725  	if o.Plugins != nil {
  4726  		m.Plugins = make([]PluginDescription, len(o.Plugins))
  4727  		for i := range m.Plugins {
  4728  			github_com_docker_swarmkit_api_deepcopy.Copy(&m.Plugins[i], &o.Plugins[i])
  4729  		}
  4730  	}
  4731  
  4732  }
  4733  
  4734  func (m *NodeDescription) Copy() *NodeDescription {
  4735  	if m == nil {
  4736  		return nil
  4737  	}
  4738  	o := &NodeDescription{}
  4739  	o.CopyFrom(m)
  4740  	return o
  4741  }
  4742  
  4743  func (m *NodeDescription) CopyFrom(src interface{}) {
  4744  
  4745  	o := src.(*NodeDescription)
  4746  	*m = *o
  4747  	if o.Platform != nil {
  4748  		m.Platform = &Platform{}
  4749  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Platform, o.Platform)
  4750  	}
  4751  	if o.Resources != nil {
  4752  		m.Resources = &Resources{}
  4753  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Resources, o.Resources)
  4754  	}
  4755  	if o.Engine != nil {
  4756  		m.Engine = &EngineDescription{}
  4757  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Engine, o.Engine)
  4758  	}
  4759  	if o.TLSInfo != nil {
  4760  		m.TLSInfo = &NodeTLSInfo{}
  4761  		github_com_docker_swarmkit_api_deepcopy.Copy(m.TLSInfo, o.TLSInfo)
  4762  	}
  4763  }
  4764  
  4765  func (m *NodeTLSInfo) Copy() *NodeTLSInfo {
  4766  	if m == nil {
  4767  		return nil
  4768  	}
  4769  	o := &NodeTLSInfo{}
  4770  	o.CopyFrom(m)
  4771  	return o
  4772  }
  4773  
  4774  func (m *NodeTLSInfo) CopyFrom(src interface{}) {
  4775  
  4776  	o := src.(*NodeTLSInfo)
  4777  	*m = *o
  4778  	if o.TrustRoot != nil {
  4779  		m.TrustRoot = make([]byte, len(o.TrustRoot))
  4780  		copy(m.TrustRoot, o.TrustRoot)
  4781  	}
  4782  	if o.CertIssuerSubject != nil {
  4783  		m.CertIssuerSubject = make([]byte, len(o.CertIssuerSubject))
  4784  		copy(m.CertIssuerSubject, o.CertIssuerSubject)
  4785  	}
  4786  	if o.CertIssuerPublicKey != nil {
  4787  		m.CertIssuerPublicKey = make([]byte, len(o.CertIssuerPublicKey))
  4788  		copy(m.CertIssuerPublicKey, o.CertIssuerPublicKey)
  4789  	}
  4790  }
  4791  
  4792  func (m *RaftMemberStatus) Copy() *RaftMemberStatus {
  4793  	if m == nil {
  4794  		return nil
  4795  	}
  4796  	o := &RaftMemberStatus{}
  4797  	o.CopyFrom(m)
  4798  	return o
  4799  }
  4800  
  4801  func (m *RaftMemberStatus) CopyFrom(src interface{}) {
  4802  
  4803  	o := src.(*RaftMemberStatus)
  4804  	*m = *o
  4805  }
  4806  
  4807  func (m *NodeStatus) Copy() *NodeStatus {
  4808  	if m == nil {
  4809  		return nil
  4810  	}
  4811  	o := &NodeStatus{}
  4812  	o.CopyFrom(m)
  4813  	return o
  4814  }
  4815  
  4816  func (m *NodeStatus) CopyFrom(src interface{}) {
  4817  
  4818  	o := src.(*NodeStatus)
  4819  	*m = *o
  4820  }
  4821  
  4822  func (m *Image) Copy() *Image {
  4823  	if m == nil {
  4824  		return nil
  4825  	}
  4826  	o := &Image{}
  4827  	o.CopyFrom(m)
  4828  	return o
  4829  }
  4830  
  4831  func (m *Image) CopyFrom(src interface{}) {
  4832  
  4833  	o := src.(*Image)
  4834  	*m = *o
  4835  }
  4836  
  4837  func (m *Mount) Copy() *Mount {
  4838  	if m == nil {
  4839  		return nil
  4840  	}
  4841  	o := &Mount{}
  4842  	o.CopyFrom(m)
  4843  	return o
  4844  }
  4845  
  4846  func (m *Mount) CopyFrom(src interface{}) {
  4847  
  4848  	o := src.(*Mount)
  4849  	*m = *o
  4850  	if o.BindOptions != nil {
  4851  		m.BindOptions = &Mount_BindOptions{}
  4852  		github_com_docker_swarmkit_api_deepcopy.Copy(m.BindOptions, o.BindOptions)
  4853  	}
  4854  	if o.VolumeOptions != nil {
  4855  		m.VolumeOptions = &Mount_VolumeOptions{}
  4856  		github_com_docker_swarmkit_api_deepcopy.Copy(m.VolumeOptions, o.VolumeOptions)
  4857  	}
  4858  	if o.TmpfsOptions != nil {
  4859  		m.TmpfsOptions = &Mount_TmpfsOptions{}
  4860  		github_com_docker_swarmkit_api_deepcopy.Copy(m.TmpfsOptions, o.TmpfsOptions)
  4861  	}
  4862  }
  4863  
  4864  func (m *Mount_BindOptions) Copy() *Mount_BindOptions {
  4865  	if m == nil {
  4866  		return nil
  4867  	}
  4868  	o := &Mount_BindOptions{}
  4869  	o.CopyFrom(m)
  4870  	return o
  4871  }
  4872  
  4873  func (m *Mount_BindOptions) CopyFrom(src interface{}) {
  4874  
  4875  	o := src.(*Mount_BindOptions)
  4876  	*m = *o
  4877  }
  4878  
  4879  func (m *Mount_VolumeOptions) Copy() *Mount_VolumeOptions {
  4880  	if m == nil {
  4881  		return nil
  4882  	}
  4883  	o := &Mount_VolumeOptions{}
  4884  	o.CopyFrom(m)
  4885  	return o
  4886  }
  4887  
  4888  func (m *Mount_VolumeOptions) CopyFrom(src interface{}) {
  4889  
  4890  	o := src.(*Mount_VolumeOptions)
  4891  	*m = *o
  4892  	if o.Labels != nil {
  4893  		m.Labels = make(map[string]string, len(o.Labels))
  4894  		for k, v := range o.Labels {
  4895  			m.Labels[k] = v
  4896  		}
  4897  	}
  4898  
  4899  	if o.DriverConfig != nil {
  4900  		m.DriverConfig = &Driver{}
  4901  		github_com_docker_swarmkit_api_deepcopy.Copy(m.DriverConfig, o.DriverConfig)
  4902  	}
  4903  }
  4904  
  4905  func (m *Mount_TmpfsOptions) Copy() *Mount_TmpfsOptions {
  4906  	if m == nil {
  4907  		return nil
  4908  	}
  4909  	o := &Mount_TmpfsOptions{}
  4910  	o.CopyFrom(m)
  4911  	return o
  4912  }
  4913  
  4914  func (m *Mount_TmpfsOptions) CopyFrom(src interface{}) {
  4915  
  4916  	o := src.(*Mount_TmpfsOptions)
  4917  	*m = *o
  4918  }
  4919  
  4920  func (m *RestartPolicy) Copy() *RestartPolicy {
  4921  	if m == nil {
  4922  		return nil
  4923  	}
  4924  	o := &RestartPolicy{}
  4925  	o.CopyFrom(m)
  4926  	return o
  4927  }
  4928  
  4929  func (m *RestartPolicy) CopyFrom(src interface{}) {
  4930  
  4931  	o := src.(*RestartPolicy)
  4932  	*m = *o
  4933  	if o.Delay != nil {
  4934  		m.Delay = &types.Duration{}
  4935  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Delay, o.Delay)
  4936  	}
  4937  	if o.Window != nil {
  4938  		m.Window = &types.Duration{}
  4939  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Window, o.Window)
  4940  	}
  4941  }
  4942  
  4943  func (m *UpdateConfig) Copy() *UpdateConfig {
  4944  	if m == nil {
  4945  		return nil
  4946  	}
  4947  	o := &UpdateConfig{}
  4948  	o.CopyFrom(m)
  4949  	return o
  4950  }
  4951  
  4952  func (m *UpdateConfig) CopyFrom(src interface{}) {
  4953  
  4954  	o := src.(*UpdateConfig)
  4955  	*m = *o
  4956  	github_com_docker_swarmkit_api_deepcopy.Copy(&m.Delay, &o.Delay)
  4957  	if o.Monitor != nil {
  4958  		m.Monitor = &types.Duration{}
  4959  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Monitor, o.Monitor)
  4960  	}
  4961  }
  4962  
  4963  func (m *UpdateStatus) Copy() *UpdateStatus {
  4964  	if m == nil {
  4965  		return nil
  4966  	}
  4967  	o := &UpdateStatus{}
  4968  	o.CopyFrom(m)
  4969  	return o
  4970  }
  4971  
  4972  func (m *UpdateStatus) CopyFrom(src interface{}) {
  4973  
  4974  	o := src.(*UpdateStatus)
  4975  	*m = *o
  4976  	if o.StartedAt != nil {
  4977  		m.StartedAt = &types.Timestamp{}
  4978  		github_com_docker_swarmkit_api_deepcopy.Copy(m.StartedAt, o.StartedAt)
  4979  	}
  4980  	if o.CompletedAt != nil {
  4981  		m.CompletedAt = &types.Timestamp{}
  4982  		github_com_docker_swarmkit_api_deepcopy.Copy(m.CompletedAt, o.CompletedAt)
  4983  	}
  4984  }
  4985  
  4986  func (m *ContainerStatus) Copy() *ContainerStatus {
  4987  	if m == nil {
  4988  		return nil
  4989  	}
  4990  	o := &ContainerStatus{}
  4991  	o.CopyFrom(m)
  4992  	return o
  4993  }
  4994  
  4995  func (m *ContainerStatus) CopyFrom(src interface{}) {
  4996  
  4997  	o := src.(*ContainerStatus)
  4998  	*m = *o
  4999  }
  5000  
  5001  func (m *PortStatus) Copy() *PortStatus {
  5002  	if m == nil {
  5003  		return nil
  5004  	}
  5005  	o := &PortStatus{}
  5006  	o.CopyFrom(m)
  5007  	return o
  5008  }
  5009  
  5010  func (m *PortStatus) CopyFrom(src interface{}) {
  5011  
  5012  	o := src.(*PortStatus)
  5013  	*m = *o
  5014  	if o.Ports != nil {
  5015  		m.Ports = make([]*PortConfig, len(o.Ports))
  5016  		for i := range m.Ports {
  5017  			m.Ports[i] = &PortConfig{}
  5018  			github_com_docker_swarmkit_api_deepcopy.Copy(m.Ports[i], o.Ports[i])
  5019  		}
  5020  	}
  5021  
  5022  }
  5023  
  5024  func (m *TaskStatus) Copy() *TaskStatus {
  5025  	if m == nil {
  5026  		return nil
  5027  	}
  5028  	o := &TaskStatus{}
  5029  	o.CopyFrom(m)
  5030  	return o
  5031  }
  5032  
  5033  func (m *TaskStatus) CopyFrom(src interface{}) {
  5034  
  5035  	o := src.(*TaskStatus)
  5036  	*m = *o
  5037  	if o.Timestamp != nil {
  5038  		m.Timestamp = &types.Timestamp{}
  5039  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Timestamp, o.Timestamp)
  5040  	}
  5041  	if o.PortStatus != nil {
  5042  		m.PortStatus = &PortStatus{}
  5043  		github_com_docker_swarmkit_api_deepcopy.Copy(m.PortStatus, o.PortStatus)
  5044  	}
  5045  	if o.AppliedAt != nil {
  5046  		m.AppliedAt = &types.Timestamp{}
  5047  		github_com_docker_swarmkit_api_deepcopy.Copy(m.AppliedAt, o.AppliedAt)
  5048  	}
  5049  	if o.RuntimeStatus != nil {
  5050  		switch o.RuntimeStatus.(type) {
  5051  		case *TaskStatus_Container:
  5052  			v := TaskStatus_Container{
  5053  				Container: &ContainerStatus{},
  5054  			}
  5055  			github_com_docker_swarmkit_api_deepcopy.Copy(v.Container, o.GetContainer())
  5056  			m.RuntimeStatus = &v
  5057  		}
  5058  	}
  5059  
  5060  }
  5061  
  5062  func (m *NetworkAttachmentConfig) Copy() *NetworkAttachmentConfig {
  5063  	if m == nil {
  5064  		return nil
  5065  	}
  5066  	o := &NetworkAttachmentConfig{}
  5067  	o.CopyFrom(m)
  5068  	return o
  5069  }
  5070  
  5071  func (m *NetworkAttachmentConfig) CopyFrom(src interface{}) {
  5072  
  5073  	o := src.(*NetworkAttachmentConfig)
  5074  	*m = *o
  5075  	if o.Aliases != nil {
  5076  		m.Aliases = make([]string, len(o.Aliases))
  5077  		copy(m.Aliases, o.Aliases)
  5078  	}
  5079  
  5080  	if o.Addresses != nil {
  5081  		m.Addresses = make([]string, len(o.Addresses))
  5082  		copy(m.Addresses, o.Addresses)
  5083  	}
  5084  
  5085  	if o.DriverAttachmentOpts != nil {
  5086  		m.DriverAttachmentOpts = make(map[string]string, len(o.DriverAttachmentOpts))
  5087  		for k, v := range o.DriverAttachmentOpts {
  5088  			m.DriverAttachmentOpts[k] = v
  5089  		}
  5090  	}
  5091  
  5092  }
  5093  
  5094  func (m *IPAMConfig) Copy() *IPAMConfig {
  5095  	if m == nil {
  5096  		return nil
  5097  	}
  5098  	o := &IPAMConfig{}
  5099  	o.CopyFrom(m)
  5100  	return o
  5101  }
  5102  
  5103  func (m *IPAMConfig) CopyFrom(src interface{}) {
  5104  
  5105  	o := src.(*IPAMConfig)
  5106  	*m = *o
  5107  	if o.Reserved != nil {
  5108  		m.Reserved = make(map[string]string, len(o.Reserved))
  5109  		for k, v := range o.Reserved {
  5110  			m.Reserved[k] = v
  5111  		}
  5112  	}
  5113  
  5114  }
  5115  
  5116  func (m *PortConfig) Copy() *PortConfig {
  5117  	if m == nil {
  5118  		return nil
  5119  	}
  5120  	o := &PortConfig{}
  5121  	o.CopyFrom(m)
  5122  	return o
  5123  }
  5124  
  5125  func (m *PortConfig) CopyFrom(src interface{}) {
  5126  
  5127  	o := src.(*PortConfig)
  5128  	*m = *o
  5129  }
  5130  
  5131  func (m *Driver) Copy() *Driver {
  5132  	if m == nil {
  5133  		return nil
  5134  	}
  5135  	o := &Driver{}
  5136  	o.CopyFrom(m)
  5137  	return o
  5138  }
  5139  
  5140  func (m *Driver) CopyFrom(src interface{}) {
  5141  
  5142  	o := src.(*Driver)
  5143  	*m = *o
  5144  	if o.Options != nil {
  5145  		m.Options = make(map[string]string, len(o.Options))
  5146  		for k, v := range o.Options {
  5147  			m.Options[k] = v
  5148  		}
  5149  	}
  5150  
  5151  }
  5152  
  5153  func (m *IPAMOptions) Copy() *IPAMOptions {
  5154  	if m == nil {
  5155  		return nil
  5156  	}
  5157  	o := &IPAMOptions{}
  5158  	o.CopyFrom(m)
  5159  	return o
  5160  }
  5161  
  5162  func (m *IPAMOptions) CopyFrom(src interface{}) {
  5163  
  5164  	o := src.(*IPAMOptions)
  5165  	*m = *o
  5166  	if o.Driver != nil {
  5167  		m.Driver = &Driver{}
  5168  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Driver, o.Driver)
  5169  	}
  5170  	if o.Configs != nil {
  5171  		m.Configs = make([]*IPAMConfig, len(o.Configs))
  5172  		for i := range m.Configs {
  5173  			m.Configs[i] = &IPAMConfig{}
  5174  			github_com_docker_swarmkit_api_deepcopy.Copy(m.Configs[i], o.Configs[i])
  5175  		}
  5176  	}
  5177  
  5178  }
  5179  
  5180  func (m *Peer) Copy() *Peer {
  5181  	if m == nil {
  5182  		return nil
  5183  	}
  5184  	o := &Peer{}
  5185  	o.CopyFrom(m)
  5186  	return o
  5187  }
  5188  
  5189  func (m *Peer) CopyFrom(src interface{}) {
  5190  
  5191  	o := src.(*Peer)
  5192  	*m = *o
  5193  }
  5194  
  5195  func (m *WeightedPeer) Copy() *WeightedPeer {
  5196  	if m == nil {
  5197  		return nil
  5198  	}
  5199  	o := &WeightedPeer{}
  5200  	o.CopyFrom(m)
  5201  	return o
  5202  }
  5203  
  5204  func (m *WeightedPeer) CopyFrom(src interface{}) {
  5205  
  5206  	o := src.(*WeightedPeer)
  5207  	*m = *o
  5208  	if o.Peer != nil {
  5209  		m.Peer = &Peer{}
  5210  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Peer, o.Peer)
  5211  	}
  5212  }
  5213  
  5214  func (m *IssuanceStatus) Copy() *IssuanceStatus {
  5215  	if m == nil {
  5216  		return nil
  5217  	}
  5218  	o := &IssuanceStatus{}
  5219  	o.CopyFrom(m)
  5220  	return o
  5221  }
  5222  
  5223  func (m *IssuanceStatus) CopyFrom(src interface{}) {
  5224  
  5225  	o := src.(*IssuanceStatus)
  5226  	*m = *o
  5227  }
  5228  
  5229  func (m *AcceptancePolicy) Copy() *AcceptancePolicy {
  5230  	if m == nil {
  5231  		return nil
  5232  	}
  5233  	o := &AcceptancePolicy{}
  5234  	o.CopyFrom(m)
  5235  	return o
  5236  }
  5237  
  5238  func (m *AcceptancePolicy) CopyFrom(src interface{}) {
  5239  
  5240  	o := src.(*AcceptancePolicy)
  5241  	*m = *o
  5242  	if o.Policies != nil {
  5243  		m.Policies = make([]*AcceptancePolicy_RoleAdmissionPolicy, len(o.Policies))
  5244  		for i := range m.Policies {
  5245  			m.Policies[i] = &AcceptancePolicy_RoleAdmissionPolicy{}
  5246  			github_com_docker_swarmkit_api_deepcopy.Copy(m.Policies[i], o.Policies[i])
  5247  		}
  5248  	}
  5249  
  5250  }
  5251  
  5252  func (m *AcceptancePolicy_RoleAdmissionPolicy) Copy() *AcceptancePolicy_RoleAdmissionPolicy {
  5253  	if m == nil {
  5254  		return nil
  5255  	}
  5256  	o := &AcceptancePolicy_RoleAdmissionPolicy{}
  5257  	o.CopyFrom(m)
  5258  	return o
  5259  }
  5260  
  5261  func (m *AcceptancePolicy_RoleAdmissionPolicy) CopyFrom(src interface{}) {
  5262  
  5263  	o := src.(*AcceptancePolicy_RoleAdmissionPolicy)
  5264  	*m = *o
  5265  	if o.Secret != nil {
  5266  		m.Secret = &AcceptancePolicy_RoleAdmissionPolicy_Secret{}
  5267  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Secret, o.Secret)
  5268  	}
  5269  }
  5270  
  5271  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Copy() *AcceptancePolicy_RoleAdmissionPolicy_Secret {
  5272  	if m == nil {
  5273  		return nil
  5274  	}
  5275  	o := &AcceptancePolicy_RoleAdmissionPolicy_Secret{}
  5276  	o.CopyFrom(m)
  5277  	return o
  5278  }
  5279  
  5280  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) CopyFrom(src interface{}) {
  5281  
  5282  	o := src.(*AcceptancePolicy_RoleAdmissionPolicy_Secret)
  5283  	*m = *o
  5284  	if o.Data != nil {
  5285  		m.Data = make([]byte, len(o.Data))
  5286  		copy(m.Data, o.Data)
  5287  	}
  5288  }
  5289  
  5290  func (m *ExternalCA) Copy() *ExternalCA {
  5291  	if m == nil {
  5292  		return nil
  5293  	}
  5294  	o := &ExternalCA{}
  5295  	o.CopyFrom(m)
  5296  	return o
  5297  }
  5298  
  5299  func (m *ExternalCA) CopyFrom(src interface{}) {
  5300  
  5301  	o := src.(*ExternalCA)
  5302  	*m = *o
  5303  	if o.Options != nil {
  5304  		m.Options = make(map[string]string, len(o.Options))
  5305  		for k, v := range o.Options {
  5306  			m.Options[k] = v
  5307  		}
  5308  	}
  5309  
  5310  	if o.CACert != nil {
  5311  		m.CACert = make([]byte, len(o.CACert))
  5312  		copy(m.CACert, o.CACert)
  5313  	}
  5314  }
  5315  
  5316  func (m *CAConfig) Copy() *CAConfig {
  5317  	if m == nil {
  5318  		return nil
  5319  	}
  5320  	o := &CAConfig{}
  5321  	o.CopyFrom(m)
  5322  	return o
  5323  }
  5324  
  5325  func (m *CAConfig) CopyFrom(src interface{}) {
  5326  
  5327  	o := src.(*CAConfig)
  5328  	*m = *o
  5329  	if o.NodeCertExpiry != nil {
  5330  		m.NodeCertExpiry = &types.Duration{}
  5331  		github_com_docker_swarmkit_api_deepcopy.Copy(m.NodeCertExpiry, o.NodeCertExpiry)
  5332  	}
  5333  	if o.ExternalCAs != nil {
  5334  		m.ExternalCAs = make([]*ExternalCA, len(o.ExternalCAs))
  5335  		for i := range m.ExternalCAs {
  5336  			m.ExternalCAs[i] = &ExternalCA{}
  5337  			github_com_docker_swarmkit_api_deepcopy.Copy(m.ExternalCAs[i], o.ExternalCAs[i])
  5338  		}
  5339  	}
  5340  
  5341  	if o.SigningCACert != nil {
  5342  		m.SigningCACert = make([]byte, len(o.SigningCACert))
  5343  		copy(m.SigningCACert, o.SigningCACert)
  5344  	}
  5345  	if o.SigningCAKey != nil {
  5346  		m.SigningCAKey = make([]byte, len(o.SigningCAKey))
  5347  		copy(m.SigningCAKey, o.SigningCAKey)
  5348  	}
  5349  }
  5350  
  5351  func (m *OrchestrationConfig) Copy() *OrchestrationConfig {
  5352  	if m == nil {
  5353  		return nil
  5354  	}
  5355  	o := &OrchestrationConfig{}
  5356  	o.CopyFrom(m)
  5357  	return o
  5358  }
  5359  
  5360  func (m *OrchestrationConfig) CopyFrom(src interface{}) {
  5361  
  5362  	o := src.(*OrchestrationConfig)
  5363  	*m = *o
  5364  }
  5365  
  5366  func (m *TaskDefaults) Copy() *TaskDefaults {
  5367  	if m == nil {
  5368  		return nil
  5369  	}
  5370  	o := &TaskDefaults{}
  5371  	o.CopyFrom(m)
  5372  	return o
  5373  }
  5374  
  5375  func (m *TaskDefaults) CopyFrom(src interface{}) {
  5376  
  5377  	o := src.(*TaskDefaults)
  5378  	*m = *o
  5379  	if o.LogDriver != nil {
  5380  		m.LogDriver = &Driver{}
  5381  		github_com_docker_swarmkit_api_deepcopy.Copy(m.LogDriver, o.LogDriver)
  5382  	}
  5383  }
  5384  
  5385  func (m *DispatcherConfig) Copy() *DispatcherConfig {
  5386  	if m == nil {
  5387  		return nil
  5388  	}
  5389  	o := &DispatcherConfig{}
  5390  	o.CopyFrom(m)
  5391  	return o
  5392  }
  5393  
  5394  func (m *DispatcherConfig) CopyFrom(src interface{}) {
  5395  
  5396  	o := src.(*DispatcherConfig)
  5397  	*m = *o
  5398  	if o.HeartbeatPeriod != nil {
  5399  		m.HeartbeatPeriod = &types.Duration{}
  5400  		github_com_docker_swarmkit_api_deepcopy.Copy(m.HeartbeatPeriod, o.HeartbeatPeriod)
  5401  	}
  5402  }
  5403  
  5404  func (m *RaftConfig) Copy() *RaftConfig {
  5405  	if m == nil {
  5406  		return nil
  5407  	}
  5408  	o := &RaftConfig{}
  5409  	o.CopyFrom(m)
  5410  	return o
  5411  }
  5412  
  5413  func (m *RaftConfig) CopyFrom(src interface{}) {
  5414  
  5415  	o := src.(*RaftConfig)
  5416  	*m = *o
  5417  }
  5418  
  5419  func (m *EncryptionConfig) Copy() *EncryptionConfig {
  5420  	if m == nil {
  5421  		return nil
  5422  	}
  5423  	o := &EncryptionConfig{}
  5424  	o.CopyFrom(m)
  5425  	return o
  5426  }
  5427  
  5428  func (m *EncryptionConfig) CopyFrom(src interface{}) {
  5429  
  5430  	o := src.(*EncryptionConfig)
  5431  	*m = *o
  5432  }
  5433  
  5434  func (m *SpreadOver) Copy() *SpreadOver {
  5435  	if m == nil {
  5436  		return nil
  5437  	}
  5438  	o := &SpreadOver{}
  5439  	o.CopyFrom(m)
  5440  	return o
  5441  }
  5442  
  5443  func (m *SpreadOver) CopyFrom(src interface{}) {
  5444  
  5445  	o := src.(*SpreadOver)
  5446  	*m = *o
  5447  }
  5448  
  5449  func (m *PlacementPreference) Copy() *PlacementPreference {
  5450  	if m == nil {
  5451  		return nil
  5452  	}
  5453  	o := &PlacementPreference{}
  5454  	o.CopyFrom(m)
  5455  	return o
  5456  }
  5457  
  5458  func (m *PlacementPreference) CopyFrom(src interface{}) {
  5459  
  5460  	o := src.(*PlacementPreference)
  5461  	*m = *o
  5462  	if o.Preference != nil {
  5463  		switch o.Preference.(type) {
  5464  		case *PlacementPreference_Spread:
  5465  			v := PlacementPreference_Spread{
  5466  				Spread: &SpreadOver{},
  5467  			}
  5468  			github_com_docker_swarmkit_api_deepcopy.Copy(v.Spread, o.GetSpread())
  5469  			m.Preference = &v
  5470  		}
  5471  	}
  5472  
  5473  }
  5474  
  5475  func (m *Placement) Copy() *Placement {
  5476  	if m == nil {
  5477  		return nil
  5478  	}
  5479  	o := &Placement{}
  5480  	o.CopyFrom(m)
  5481  	return o
  5482  }
  5483  
  5484  func (m *Placement) CopyFrom(src interface{}) {
  5485  
  5486  	o := src.(*Placement)
  5487  	*m = *o
  5488  	if o.Constraints != nil {
  5489  		m.Constraints = make([]string, len(o.Constraints))
  5490  		copy(m.Constraints, o.Constraints)
  5491  	}
  5492  
  5493  	if o.Preferences != nil {
  5494  		m.Preferences = make([]*PlacementPreference, len(o.Preferences))
  5495  		for i := range m.Preferences {
  5496  			m.Preferences[i] = &PlacementPreference{}
  5497  			github_com_docker_swarmkit_api_deepcopy.Copy(m.Preferences[i], o.Preferences[i])
  5498  		}
  5499  	}
  5500  
  5501  	if o.Platforms != nil {
  5502  		m.Platforms = make([]*Platform, len(o.Platforms))
  5503  		for i := range m.Platforms {
  5504  			m.Platforms[i] = &Platform{}
  5505  			github_com_docker_swarmkit_api_deepcopy.Copy(m.Platforms[i], o.Platforms[i])
  5506  		}
  5507  	}
  5508  
  5509  }
  5510  
  5511  func (m *JoinTokens) Copy() *JoinTokens {
  5512  	if m == nil {
  5513  		return nil
  5514  	}
  5515  	o := &JoinTokens{}
  5516  	o.CopyFrom(m)
  5517  	return o
  5518  }
  5519  
  5520  func (m *JoinTokens) CopyFrom(src interface{}) {
  5521  
  5522  	o := src.(*JoinTokens)
  5523  	*m = *o
  5524  }
  5525  
  5526  func (m *RootCA) Copy() *RootCA {
  5527  	if m == nil {
  5528  		return nil
  5529  	}
  5530  	o := &RootCA{}
  5531  	o.CopyFrom(m)
  5532  	return o
  5533  }
  5534  
  5535  func (m *RootCA) CopyFrom(src interface{}) {
  5536  
  5537  	o := src.(*RootCA)
  5538  	*m = *o
  5539  	if o.CAKey != nil {
  5540  		m.CAKey = make([]byte, len(o.CAKey))
  5541  		copy(m.CAKey, o.CAKey)
  5542  	}
  5543  	if o.CACert != nil {
  5544  		m.CACert = make([]byte, len(o.CACert))
  5545  		copy(m.CACert, o.CACert)
  5546  	}
  5547  	github_com_docker_swarmkit_api_deepcopy.Copy(&m.JoinTokens, &o.JoinTokens)
  5548  	if o.RootRotation != nil {
  5549  		m.RootRotation = &RootRotation{}
  5550  		github_com_docker_swarmkit_api_deepcopy.Copy(m.RootRotation, o.RootRotation)
  5551  	}
  5552  }
  5553  
  5554  func (m *Certificate) Copy() *Certificate {
  5555  	if m == nil {
  5556  		return nil
  5557  	}
  5558  	o := &Certificate{}
  5559  	o.CopyFrom(m)
  5560  	return o
  5561  }
  5562  
  5563  func (m *Certificate) CopyFrom(src interface{}) {
  5564  
  5565  	o := src.(*Certificate)
  5566  	*m = *o
  5567  	if o.CSR != nil {
  5568  		m.CSR = make([]byte, len(o.CSR))
  5569  		copy(m.CSR, o.CSR)
  5570  	}
  5571  	github_com_docker_swarmkit_api_deepcopy.Copy(&m.Status, &o.Status)
  5572  	if o.Certificate != nil {
  5573  		m.Certificate = make([]byte, len(o.Certificate))
  5574  		copy(m.Certificate, o.Certificate)
  5575  	}
  5576  }
  5577  
  5578  func (m *EncryptionKey) Copy() *EncryptionKey {
  5579  	if m == nil {
  5580  		return nil
  5581  	}
  5582  	o := &EncryptionKey{}
  5583  	o.CopyFrom(m)
  5584  	return o
  5585  }
  5586  
  5587  func (m *EncryptionKey) CopyFrom(src interface{}) {
  5588  
  5589  	o := src.(*EncryptionKey)
  5590  	*m = *o
  5591  	if o.Key != nil {
  5592  		m.Key = make([]byte, len(o.Key))
  5593  		copy(m.Key, o.Key)
  5594  	}
  5595  }
  5596  
  5597  func (m *ManagerStatus) Copy() *ManagerStatus {
  5598  	if m == nil {
  5599  		return nil
  5600  	}
  5601  	o := &ManagerStatus{}
  5602  	o.CopyFrom(m)
  5603  	return o
  5604  }
  5605  
  5606  func (m *ManagerStatus) CopyFrom(src interface{}) {
  5607  
  5608  	o := src.(*ManagerStatus)
  5609  	*m = *o
  5610  }
  5611  
  5612  func (m *FileTarget) Copy() *FileTarget {
  5613  	if m == nil {
  5614  		return nil
  5615  	}
  5616  	o := &FileTarget{}
  5617  	o.CopyFrom(m)
  5618  	return o
  5619  }
  5620  
  5621  func (m *FileTarget) CopyFrom(src interface{}) {
  5622  
  5623  	o := src.(*FileTarget)
  5624  	*m = *o
  5625  }
  5626  
  5627  func (m *RuntimeTarget) Copy() *RuntimeTarget {
  5628  	if m == nil {
  5629  		return nil
  5630  	}
  5631  	o := &RuntimeTarget{}
  5632  	o.CopyFrom(m)
  5633  	return o
  5634  }
  5635  
  5636  func (m *RuntimeTarget) CopyFrom(src interface{}) {}
  5637  func (m *SecretReference) Copy() *SecretReference {
  5638  	if m == nil {
  5639  		return nil
  5640  	}
  5641  	o := &SecretReference{}
  5642  	o.CopyFrom(m)
  5643  	return o
  5644  }
  5645  
  5646  func (m *SecretReference) CopyFrom(src interface{}) {
  5647  
  5648  	o := src.(*SecretReference)
  5649  	*m = *o
  5650  	if o.Target != nil {
  5651  		switch o.Target.(type) {
  5652  		case *SecretReference_File:
  5653  			v := SecretReference_File{
  5654  				File: &FileTarget{},
  5655  			}
  5656  			github_com_docker_swarmkit_api_deepcopy.Copy(v.File, o.GetFile())
  5657  			m.Target = &v
  5658  		}
  5659  	}
  5660  
  5661  }
  5662  
  5663  func (m *ConfigReference) Copy() *ConfigReference {
  5664  	if m == nil {
  5665  		return nil
  5666  	}
  5667  	o := &ConfigReference{}
  5668  	o.CopyFrom(m)
  5669  	return o
  5670  }
  5671  
  5672  func (m *ConfigReference) CopyFrom(src interface{}) {
  5673  
  5674  	o := src.(*ConfigReference)
  5675  	*m = *o
  5676  	if o.Target != nil {
  5677  		switch o.Target.(type) {
  5678  		case *ConfigReference_File:
  5679  			v := ConfigReference_File{
  5680  				File: &FileTarget{},
  5681  			}
  5682  			github_com_docker_swarmkit_api_deepcopy.Copy(v.File, o.GetFile())
  5683  			m.Target = &v
  5684  		case *ConfigReference_Runtime:
  5685  			v := ConfigReference_Runtime{
  5686  				Runtime: &RuntimeTarget{},
  5687  			}
  5688  			github_com_docker_swarmkit_api_deepcopy.Copy(v.Runtime, o.GetRuntime())
  5689  			m.Target = &v
  5690  		}
  5691  	}
  5692  
  5693  }
  5694  
  5695  func (m *BlacklistedCertificate) Copy() *BlacklistedCertificate {
  5696  	if m == nil {
  5697  		return nil
  5698  	}
  5699  	o := &BlacklistedCertificate{}
  5700  	o.CopyFrom(m)
  5701  	return o
  5702  }
  5703  
  5704  func (m *BlacklistedCertificate) CopyFrom(src interface{}) {
  5705  
  5706  	o := src.(*BlacklistedCertificate)
  5707  	*m = *o
  5708  	if o.Expiry != nil {
  5709  		m.Expiry = &types.Timestamp{}
  5710  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Expiry, o.Expiry)
  5711  	}
  5712  }
  5713  
  5714  func (m *HealthConfig) Copy() *HealthConfig {
  5715  	if m == nil {
  5716  		return nil
  5717  	}
  5718  	o := &HealthConfig{}
  5719  	o.CopyFrom(m)
  5720  	return o
  5721  }
  5722  
  5723  func (m *HealthConfig) CopyFrom(src interface{}) {
  5724  
  5725  	o := src.(*HealthConfig)
  5726  	*m = *o
  5727  	if o.Test != nil {
  5728  		m.Test = make([]string, len(o.Test))
  5729  		copy(m.Test, o.Test)
  5730  	}
  5731  
  5732  	if o.Interval != nil {
  5733  		m.Interval = &types.Duration{}
  5734  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Interval, o.Interval)
  5735  	}
  5736  	if o.Timeout != nil {
  5737  		m.Timeout = &types.Duration{}
  5738  		github_com_docker_swarmkit_api_deepcopy.Copy(m.Timeout, o.Timeout)
  5739  	}
  5740  	if o.StartPeriod != nil {
  5741  		m.StartPeriod = &types.Duration{}
  5742  		github_com_docker_swarmkit_api_deepcopy.Copy(m.StartPeriod, o.StartPeriod)
  5743  	}
  5744  }
  5745  
  5746  func (m *MaybeEncryptedRecord) Copy() *MaybeEncryptedRecord {
  5747  	if m == nil {
  5748  		return nil
  5749  	}
  5750  	o := &MaybeEncryptedRecord{}
  5751  	o.CopyFrom(m)
  5752  	return o
  5753  }
  5754  
  5755  func (m *MaybeEncryptedRecord) CopyFrom(src interface{}) {
  5756  
  5757  	o := src.(*MaybeEncryptedRecord)
  5758  	*m = *o
  5759  	if o.Data != nil {
  5760  		m.Data = make([]byte, len(o.Data))
  5761  		copy(m.Data, o.Data)
  5762  	}
  5763  	if o.Nonce != nil {
  5764  		m.Nonce = make([]byte, len(o.Nonce))
  5765  		copy(m.Nonce, o.Nonce)
  5766  	}
  5767  }
  5768  
  5769  func (m *RootRotation) Copy() *RootRotation {
  5770  	if m == nil {
  5771  		return nil
  5772  	}
  5773  	o := &RootRotation{}
  5774  	o.CopyFrom(m)
  5775  	return o
  5776  }
  5777  
  5778  func (m *RootRotation) CopyFrom(src interface{}) {
  5779  
  5780  	o := src.(*RootRotation)
  5781  	*m = *o
  5782  	if o.CACert != nil {
  5783  		m.CACert = make([]byte, len(o.CACert))
  5784  		copy(m.CACert, o.CACert)
  5785  	}
  5786  	if o.CAKey != nil {
  5787  		m.CAKey = make([]byte, len(o.CAKey))
  5788  		copy(m.CAKey, o.CAKey)
  5789  	}
  5790  	if o.CrossSignedCACert != nil {
  5791  		m.CrossSignedCACert = make([]byte, len(o.CrossSignedCACert))
  5792  		copy(m.CrossSignedCACert, o.CrossSignedCACert)
  5793  	}
  5794  }
  5795  
  5796  func (m *Privileges) Copy() *Privileges {
  5797  	if m == nil {
  5798  		return nil
  5799  	}
  5800  	o := &Privileges{}
  5801  	o.CopyFrom(m)
  5802  	return o
  5803  }
  5804  
  5805  func (m *Privileges) CopyFrom(src interface{}) {
  5806  
  5807  	o := src.(*Privileges)
  5808  	*m = *o
  5809  	if o.CredentialSpec != nil {
  5810  		m.CredentialSpec = &Privileges_CredentialSpec{}
  5811  		github_com_docker_swarmkit_api_deepcopy.Copy(m.CredentialSpec, o.CredentialSpec)
  5812  	}
  5813  	if o.SELinuxContext != nil {
  5814  		m.SELinuxContext = &Privileges_SELinuxContext{}
  5815  		github_com_docker_swarmkit_api_deepcopy.Copy(m.SELinuxContext, o.SELinuxContext)
  5816  	}
  5817  }
  5818  
  5819  func (m *Privileges_CredentialSpec) Copy() *Privileges_CredentialSpec {
  5820  	if m == nil {
  5821  		return nil
  5822  	}
  5823  	o := &Privileges_CredentialSpec{}
  5824  	o.CopyFrom(m)
  5825  	return o
  5826  }
  5827  
  5828  func (m *Privileges_CredentialSpec) CopyFrom(src interface{}) {
  5829  
  5830  	o := src.(*Privileges_CredentialSpec)
  5831  	*m = *o
  5832  	if o.Source != nil {
  5833  		switch o.Source.(type) {
  5834  		case *Privileges_CredentialSpec_File:
  5835  			v := Privileges_CredentialSpec_File{
  5836  				File: o.GetFile(),
  5837  			}
  5838  			m.Source = &v
  5839  		case *Privileges_CredentialSpec_Registry:
  5840  			v := Privileges_CredentialSpec_Registry{
  5841  				Registry: o.GetRegistry(),
  5842  			}
  5843  			m.Source = &v
  5844  		case *Privileges_CredentialSpec_Config:
  5845  			v := Privileges_CredentialSpec_Config{
  5846  				Config: o.GetConfig(),
  5847  			}
  5848  			m.Source = &v
  5849  		}
  5850  	}
  5851  
  5852  }
  5853  
  5854  func (m *Privileges_SELinuxContext) Copy() *Privileges_SELinuxContext {
  5855  	if m == nil {
  5856  		return nil
  5857  	}
  5858  	o := &Privileges_SELinuxContext{}
  5859  	o.CopyFrom(m)
  5860  	return o
  5861  }
  5862  
  5863  func (m *Privileges_SELinuxContext) CopyFrom(src interface{}) {
  5864  
  5865  	o := src.(*Privileges_SELinuxContext)
  5866  	*m = *o
  5867  }
  5868  
  5869  func (m *JobStatus) Copy() *JobStatus {
  5870  	if m == nil {
  5871  		return nil
  5872  	}
  5873  	o := &JobStatus{}
  5874  	o.CopyFrom(m)
  5875  	return o
  5876  }
  5877  
  5878  func (m *JobStatus) CopyFrom(src interface{}) {
  5879  
  5880  	o := src.(*JobStatus)
  5881  	*m = *o
  5882  	github_com_docker_swarmkit_api_deepcopy.Copy(&m.JobIteration, &o.JobIteration)
  5883  	if o.LastExecution != nil {
  5884  		m.LastExecution = &types.Timestamp{}
  5885  		github_com_docker_swarmkit_api_deepcopy.Copy(m.LastExecution, o.LastExecution)
  5886  	}
  5887  }
  5888  
  5889  func (m *Version) Marshal() (dAtA []byte, err error) {
  5890  	size := m.Size()
  5891  	dAtA = make([]byte, size)
  5892  	n, err := m.MarshalTo(dAtA)
  5893  	if err != nil {
  5894  		return nil, err
  5895  	}
  5896  	return dAtA[:n], nil
  5897  }
  5898  
  5899  func (m *Version) MarshalTo(dAtA []byte) (int, error) {
  5900  	var i int
  5901  	_ = i
  5902  	var l int
  5903  	_ = l
  5904  	if m.Index != 0 {
  5905  		dAtA[i] = 0x8
  5906  		i++
  5907  		i = encodeVarintTypes(dAtA, i, uint64(m.Index))
  5908  	}
  5909  	return i, nil
  5910  }
  5911  
  5912  func (m *IndexEntry) Marshal() (dAtA []byte, err error) {
  5913  	size := m.Size()
  5914  	dAtA = make([]byte, size)
  5915  	n, err := m.MarshalTo(dAtA)
  5916  	if err != nil {
  5917  		return nil, err
  5918  	}
  5919  	return dAtA[:n], nil
  5920  }
  5921  
  5922  func (m *IndexEntry) MarshalTo(dAtA []byte) (int, error) {
  5923  	var i int
  5924  	_ = i
  5925  	var l int
  5926  	_ = l
  5927  	if len(m.Key) > 0 {
  5928  		dAtA[i] = 0xa
  5929  		i++
  5930  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Key)))
  5931  		i += copy(dAtA[i:], m.Key)
  5932  	}
  5933  	if len(m.Val) > 0 {
  5934  		dAtA[i] = 0x12
  5935  		i++
  5936  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Val)))
  5937  		i += copy(dAtA[i:], m.Val)
  5938  	}
  5939  	return i, nil
  5940  }
  5941  
  5942  func (m *Annotations) Marshal() (dAtA []byte, err error) {
  5943  	size := m.Size()
  5944  	dAtA = make([]byte, size)
  5945  	n, err := m.MarshalTo(dAtA)
  5946  	if err != nil {
  5947  		return nil, err
  5948  	}
  5949  	return dAtA[:n], nil
  5950  }
  5951  
  5952  func (m *Annotations) MarshalTo(dAtA []byte) (int, error) {
  5953  	var i int
  5954  	_ = i
  5955  	var l int
  5956  	_ = l
  5957  	if len(m.Name) > 0 {
  5958  		dAtA[i] = 0xa
  5959  		i++
  5960  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Name)))
  5961  		i += copy(dAtA[i:], m.Name)
  5962  	}
  5963  	if len(m.Labels) > 0 {
  5964  		for k, _ := range m.Labels {
  5965  			dAtA[i] = 0x12
  5966  			i++
  5967  			v := m.Labels[k]
  5968  			mapSize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  5969  			i = encodeVarintTypes(dAtA, i, uint64(mapSize))
  5970  			dAtA[i] = 0xa
  5971  			i++
  5972  			i = encodeVarintTypes(dAtA, i, uint64(len(k)))
  5973  			i += copy(dAtA[i:], k)
  5974  			dAtA[i] = 0x12
  5975  			i++
  5976  			i = encodeVarintTypes(dAtA, i, uint64(len(v)))
  5977  			i += copy(dAtA[i:], v)
  5978  		}
  5979  	}
  5980  	if len(m.Indices) > 0 {
  5981  		for _, msg := range m.Indices {
  5982  			dAtA[i] = 0x22
  5983  			i++
  5984  			i = encodeVarintTypes(dAtA, i, uint64(msg.Size()))
  5985  			n, err := msg.MarshalTo(dAtA[i:])
  5986  			if err != nil {
  5987  				return 0, err
  5988  			}
  5989  			i += n
  5990  		}
  5991  	}
  5992  	return i, nil
  5993  }
  5994  
  5995  func (m *NamedGenericResource) Marshal() (dAtA []byte, err error) {
  5996  	size := m.Size()
  5997  	dAtA = make([]byte, size)
  5998  	n, err := m.MarshalTo(dAtA)
  5999  	if err != nil {
  6000  		return nil, err
  6001  	}
  6002  	return dAtA[:n], nil
  6003  }
  6004  
  6005  func (m *NamedGenericResource) MarshalTo(dAtA []byte) (int, error) {
  6006  	var i int
  6007  	_ = i
  6008  	var l int
  6009  	_ = l
  6010  	if len(m.Kind) > 0 {
  6011  		dAtA[i] = 0xa
  6012  		i++
  6013  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind)))
  6014  		i += copy(dAtA[i:], m.Kind)
  6015  	}
  6016  	if len(m.Value) > 0 {
  6017  		dAtA[i] = 0x12
  6018  		i++
  6019  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Value)))
  6020  		i += copy(dAtA[i:], m.Value)
  6021  	}
  6022  	return i, nil
  6023  }
  6024  
  6025  func (m *DiscreteGenericResource) Marshal() (dAtA []byte, err error) {
  6026  	size := m.Size()
  6027  	dAtA = make([]byte, size)
  6028  	n, err := m.MarshalTo(dAtA)
  6029  	if err != nil {
  6030  		return nil, err
  6031  	}
  6032  	return dAtA[:n], nil
  6033  }
  6034  
  6035  func (m *DiscreteGenericResource) MarshalTo(dAtA []byte) (int, error) {
  6036  	var i int
  6037  	_ = i
  6038  	var l int
  6039  	_ = l
  6040  	if len(m.Kind) > 0 {
  6041  		dAtA[i] = 0xa
  6042  		i++
  6043  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind)))
  6044  		i += copy(dAtA[i:], m.Kind)
  6045  	}
  6046  	if m.Value != 0 {
  6047  		dAtA[i] = 0x10
  6048  		i++
  6049  		i = encodeVarintTypes(dAtA, i, uint64(m.Value))
  6050  	}
  6051  	return i, nil
  6052  }
  6053  
  6054  func (m *GenericResource) Marshal() (dAtA []byte, err error) {
  6055  	size := m.Size()
  6056  	dAtA = make([]byte, size)
  6057  	n, err := m.MarshalTo(dAtA)
  6058  	if err != nil {
  6059  		return nil, err
  6060  	}
  6061  	return dAtA[:n], nil
  6062  }
  6063  
  6064  func (m *GenericResource) MarshalTo(dAtA []byte) (int, error) {
  6065  	var i int
  6066  	_ = i
  6067  	var l int
  6068  	_ = l
  6069  	if m.Resource != nil {
  6070  		nn1, err := m.Resource.MarshalTo(dAtA[i:])
  6071  		if err != nil {
  6072  			return 0, err
  6073  		}
  6074  		i += nn1
  6075  	}
  6076  	return i, nil
  6077  }
  6078  
  6079  func (m *GenericResource_NamedResourceSpec) MarshalTo(dAtA []byte) (int, error) {
  6080  	i := 0
  6081  	if m.NamedResourceSpec != nil {
  6082  		dAtA[i] = 0xa
  6083  		i++
  6084  		i = encodeVarintTypes(dAtA, i, uint64(m.NamedResourceSpec.Size()))
  6085  		n2, err := m.NamedResourceSpec.MarshalTo(dAtA[i:])
  6086  		if err != nil {
  6087  			return 0, err
  6088  		}
  6089  		i += n2
  6090  	}
  6091  	return i, nil
  6092  }
  6093  func (m *GenericResource_DiscreteResourceSpec) MarshalTo(dAtA []byte) (int, error) {
  6094  	i := 0
  6095  	if m.DiscreteResourceSpec != nil {
  6096  		dAtA[i] = 0x12
  6097  		i++
  6098  		i = encodeVarintTypes(dAtA, i, uint64(m.DiscreteResourceSpec.Size()))
  6099  		n3, err := m.DiscreteResourceSpec.MarshalTo(dAtA[i:])
  6100  		if err != nil {
  6101  			return 0, err
  6102  		}
  6103  		i += n3
  6104  	}
  6105  	return i, nil
  6106  }
  6107  func (m *Resources) Marshal() (dAtA []byte, err error) {
  6108  	size := m.Size()
  6109  	dAtA = make([]byte, size)
  6110  	n, err := m.MarshalTo(dAtA)
  6111  	if err != nil {
  6112  		return nil, err
  6113  	}
  6114  	return dAtA[:n], nil
  6115  }
  6116  
  6117  func (m *Resources) MarshalTo(dAtA []byte) (int, error) {
  6118  	var i int
  6119  	_ = i
  6120  	var l int
  6121  	_ = l
  6122  	if m.NanoCPUs != 0 {
  6123  		dAtA[i] = 0x8
  6124  		i++
  6125  		i = encodeVarintTypes(dAtA, i, uint64(m.NanoCPUs))
  6126  	}
  6127  	if m.MemoryBytes != 0 {
  6128  		dAtA[i] = 0x10
  6129  		i++
  6130  		i = encodeVarintTypes(dAtA, i, uint64(m.MemoryBytes))
  6131  	}
  6132  	if len(m.Generic) > 0 {
  6133  		for _, msg := range m.Generic {
  6134  			dAtA[i] = 0x1a
  6135  			i++
  6136  			i = encodeVarintTypes(dAtA, i, uint64(msg.Size()))
  6137  			n, err := msg.MarshalTo(dAtA[i:])
  6138  			if err != nil {
  6139  				return 0, err
  6140  			}
  6141  			i += n
  6142  		}
  6143  	}
  6144  	return i, nil
  6145  }
  6146  
  6147  func (m *ResourceRequirements) Marshal() (dAtA []byte, err error) {
  6148  	size := m.Size()
  6149  	dAtA = make([]byte, size)
  6150  	n, err := m.MarshalTo(dAtA)
  6151  	if err != nil {
  6152  		return nil, err
  6153  	}
  6154  	return dAtA[:n], nil
  6155  }
  6156  
  6157  func (m *ResourceRequirements) MarshalTo(dAtA []byte) (int, error) {
  6158  	var i int
  6159  	_ = i
  6160  	var l int
  6161  	_ = l
  6162  	if m.Limits != nil {
  6163  		dAtA[i] = 0xa
  6164  		i++
  6165  		i = encodeVarintTypes(dAtA, i, uint64(m.Limits.Size()))
  6166  		n4, err := m.Limits.MarshalTo(dAtA[i:])
  6167  		if err != nil {
  6168  			return 0, err
  6169  		}
  6170  		i += n4
  6171  	}
  6172  	if m.Reservations != nil {
  6173  		dAtA[i] = 0x12
  6174  		i++
  6175  		i = encodeVarintTypes(dAtA, i, uint64(m.Reservations.Size()))
  6176  		n5, err := m.Reservations.MarshalTo(dAtA[i:])
  6177  		if err != nil {
  6178  			return 0, err
  6179  		}
  6180  		i += n5
  6181  	}
  6182  	if m.SwapBytes != nil {
  6183  		dAtA[i] = 0x1a
  6184  		i++
  6185  		i = encodeVarintTypes(dAtA, i, uint64(m.SwapBytes.Size()))
  6186  		n6, err := m.SwapBytes.MarshalTo(dAtA[i:])
  6187  		if err != nil {
  6188  			return 0, err
  6189  		}
  6190  		i += n6
  6191  	}
  6192  	if m.MemorySwappiness != nil {
  6193  		dAtA[i] = 0x22
  6194  		i++
  6195  		i = encodeVarintTypes(dAtA, i, uint64(m.MemorySwappiness.Size()))
  6196  		n7, err := m.MemorySwappiness.MarshalTo(dAtA[i:])
  6197  		if err != nil {
  6198  			return 0, err
  6199  		}
  6200  		i += n7
  6201  	}
  6202  	return i, nil
  6203  }
  6204  
  6205  func (m *Platform) Marshal() (dAtA []byte, err error) {
  6206  	size := m.Size()
  6207  	dAtA = make([]byte, size)
  6208  	n, err := m.MarshalTo(dAtA)
  6209  	if err != nil {
  6210  		return nil, err
  6211  	}
  6212  	return dAtA[:n], nil
  6213  }
  6214  
  6215  func (m *Platform) MarshalTo(dAtA []byte) (int, error) {
  6216  	var i int
  6217  	_ = i
  6218  	var l int
  6219  	_ = l
  6220  	if len(m.Architecture) > 0 {
  6221  		dAtA[i] = 0xa
  6222  		i++
  6223  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Architecture)))
  6224  		i += copy(dAtA[i:], m.Architecture)
  6225  	}
  6226  	if len(m.OS) > 0 {
  6227  		dAtA[i] = 0x12
  6228  		i++
  6229  		i = encodeVarintTypes(dAtA, i, uint64(len(m.OS)))
  6230  		i += copy(dAtA[i:], m.OS)
  6231  	}
  6232  	return i, nil
  6233  }
  6234  
  6235  func (m *PluginDescription) Marshal() (dAtA []byte, err error) {
  6236  	size := m.Size()
  6237  	dAtA = make([]byte, size)
  6238  	n, err := m.MarshalTo(dAtA)
  6239  	if err != nil {
  6240  		return nil, err
  6241  	}
  6242  	return dAtA[:n], nil
  6243  }
  6244  
  6245  func (m *PluginDescription) MarshalTo(dAtA []byte) (int, error) {
  6246  	var i int
  6247  	_ = i
  6248  	var l int
  6249  	_ = l
  6250  	if len(m.Type) > 0 {
  6251  		dAtA[i] = 0xa
  6252  		i++
  6253  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Type)))
  6254  		i += copy(dAtA[i:], m.Type)
  6255  	}
  6256  	if len(m.Name) > 0 {
  6257  		dAtA[i] = 0x12
  6258  		i++
  6259  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Name)))
  6260  		i += copy(dAtA[i:], m.Name)
  6261  	}
  6262  	return i, nil
  6263  }
  6264  
  6265  func (m *EngineDescription) Marshal() (dAtA []byte, err error) {
  6266  	size := m.Size()
  6267  	dAtA = make([]byte, size)
  6268  	n, err := m.MarshalTo(dAtA)
  6269  	if err != nil {
  6270  		return nil, err
  6271  	}
  6272  	return dAtA[:n], nil
  6273  }
  6274  
  6275  func (m *EngineDescription) MarshalTo(dAtA []byte) (int, error) {
  6276  	var i int
  6277  	_ = i
  6278  	var l int
  6279  	_ = l
  6280  	if len(m.EngineVersion) > 0 {
  6281  		dAtA[i] = 0xa
  6282  		i++
  6283  		i = encodeVarintTypes(dAtA, i, uint64(len(m.EngineVersion)))
  6284  		i += copy(dAtA[i:], m.EngineVersion)
  6285  	}
  6286  	if len(m.Labels) > 0 {
  6287  		for k, _ := range m.Labels {
  6288  			dAtA[i] = 0x12
  6289  			i++
  6290  			v := m.Labels[k]
  6291  			mapSize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  6292  			i = encodeVarintTypes(dAtA, i, uint64(mapSize))
  6293  			dAtA[i] = 0xa
  6294  			i++
  6295  			i = encodeVarintTypes(dAtA, i, uint64(len(k)))
  6296  			i += copy(dAtA[i:], k)
  6297  			dAtA[i] = 0x12
  6298  			i++
  6299  			i = encodeVarintTypes(dAtA, i, uint64(len(v)))
  6300  			i += copy(dAtA[i:], v)
  6301  		}
  6302  	}
  6303  	if len(m.Plugins) > 0 {
  6304  		for _, msg := range m.Plugins {
  6305  			dAtA[i] = 0x1a
  6306  			i++
  6307  			i = encodeVarintTypes(dAtA, i, uint64(msg.Size()))
  6308  			n, err := msg.MarshalTo(dAtA[i:])
  6309  			if err != nil {
  6310  				return 0, err
  6311  			}
  6312  			i += n
  6313  		}
  6314  	}
  6315  	return i, nil
  6316  }
  6317  
  6318  func (m *NodeDescription) Marshal() (dAtA []byte, err error) {
  6319  	size := m.Size()
  6320  	dAtA = make([]byte, size)
  6321  	n, err := m.MarshalTo(dAtA)
  6322  	if err != nil {
  6323  		return nil, err
  6324  	}
  6325  	return dAtA[:n], nil
  6326  }
  6327  
  6328  func (m *NodeDescription) MarshalTo(dAtA []byte) (int, error) {
  6329  	var i int
  6330  	_ = i
  6331  	var l int
  6332  	_ = l
  6333  	if len(m.Hostname) > 0 {
  6334  		dAtA[i] = 0xa
  6335  		i++
  6336  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Hostname)))
  6337  		i += copy(dAtA[i:], m.Hostname)
  6338  	}
  6339  	if m.Platform != nil {
  6340  		dAtA[i] = 0x12
  6341  		i++
  6342  		i = encodeVarintTypes(dAtA, i, uint64(m.Platform.Size()))
  6343  		n8, err := m.Platform.MarshalTo(dAtA[i:])
  6344  		if err != nil {
  6345  			return 0, err
  6346  		}
  6347  		i += n8
  6348  	}
  6349  	if m.Resources != nil {
  6350  		dAtA[i] = 0x1a
  6351  		i++
  6352  		i = encodeVarintTypes(dAtA, i, uint64(m.Resources.Size()))
  6353  		n9, err := m.Resources.MarshalTo(dAtA[i:])
  6354  		if err != nil {
  6355  			return 0, err
  6356  		}
  6357  		i += n9
  6358  	}
  6359  	if m.Engine != nil {
  6360  		dAtA[i] = 0x22
  6361  		i++
  6362  		i = encodeVarintTypes(dAtA, i, uint64(m.Engine.Size()))
  6363  		n10, err := m.Engine.MarshalTo(dAtA[i:])
  6364  		if err != nil {
  6365  			return 0, err
  6366  		}
  6367  		i += n10
  6368  	}
  6369  	if m.TLSInfo != nil {
  6370  		dAtA[i] = 0x2a
  6371  		i++
  6372  		i = encodeVarintTypes(dAtA, i, uint64(m.TLSInfo.Size()))
  6373  		n11, err := m.TLSInfo.MarshalTo(dAtA[i:])
  6374  		if err != nil {
  6375  			return 0, err
  6376  		}
  6377  		i += n11
  6378  	}
  6379  	if m.FIPS {
  6380  		dAtA[i] = 0x30
  6381  		i++
  6382  		if m.FIPS {
  6383  			dAtA[i] = 1
  6384  		} else {
  6385  			dAtA[i] = 0
  6386  		}
  6387  		i++
  6388  	}
  6389  	return i, nil
  6390  }
  6391  
  6392  func (m *NodeTLSInfo) Marshal() (dAtA []byte, err error) {
  6393  	size := m.Size()
  6394  	dAtA = make([]byte, size)
  6395  	n, err := m.MarshalTo(dAtA)
  6396  	if err != nil {
  6397  		return nil, err
  6398  	}
  6399  	return dAtA[:n], nil
  6400  }
  6401  
  6402  func (m *NodeTLSInfo) MarshalTo(dAtA []byte) (int, error) {
  6403  	var i int
  6404  	_ = i
  6405  	var l int
  6406  	_ = l
  6407  	if len(m.TrustRoot) > 0 {
  6408  		dAtA[i] = 0xa
  6409  		i++
  6410  		i = encodeVarintTypes(dAtA, i, uint64(len(m.TrustRoot)))
  6411  		i += copy(dAtA[i:], m.TrustRoot)
  6412  	}
  6413  	if len(m.CertIssuerSubject) > 0 {
  6414  		dAtA[i] = 0x12
  6415  		i++
  6416  		i = encodeVarintTypes(dAtA, i, uint64(len(m.CertIssuerSubject)))
  6417  		i += copy(dAtA[i:], m.CertIssuerSubject)
  6418  	}
  6419  	if len(m.CertIssuerPublicKey) > 0 {
  6420  		dAtA[i] = 0x1a
  6421  		i++
  6422  		i = encodeVarintTypes(dAtA, i, uint64(len(m.CertIssuerPublicKey)))
  6423  		i += copy(dAtA[i:], m.CertIssuerPublicKey)
  6424  	}
  6425  	return i, nil
  6426  }
  6427  
  6428  func (m *RaftMemberStatus) Marshal() (dAtA []byte, err error) {
  6429  	size := m.Size()
  6430  	dAtA = make([]byte, size)
  6431  	n, err := m.MarshalTo(dAtA)
  6432  	if err != nil {
  6433  		return nil, err
  6434  	}
  6435  	return dAtA[:n], nil
  6436  }
  6437  
  6438  func (m *RaftMemberStatus) MarshalTo(dAtA []byte) (int, error) {
  6439  	var i int
  6440  	_ = i
  6441  	var l int
  6442  	_ = l
  6443  	if m.Leader {
  6444  		dAtA[i] = 0x8
  6445  		i++
  6446  		if m.Leader {
  6447  			dAtA[i] = 1
  6448  		} else {
  6449  			dAtA[i] = 0
  6450  		}
  6451  		i++
  6452  	}
  6453  	if m.Reachability != 0 {
  6454  		dAtA[i] = 0x10
  6455  		i++
  6456  		i = encodeVarintTypes(dAtA, i, uint64(m.Reachability))
  6457  	}
  6458  	if len(m.Message) > 0 {
  6459  		dAtA[i] = 0x1a
  6460  		i++
  6461  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Message)))
  6462  		i += copy(dAtA[i:], m.Message)
  6463  	}
  6464  	return i, nil
  6465  }
  6466  
  6467  func (m *NodeStatus) Marshal() (dAtA []byte, err error) {
  6468  	size := m.Size()
  6469  	dAtA = make([]byte, size)
  6470  	n, err := m.MarshalTo(dAtA)
  6471  	if err != nil {
  6472  		return nil, err
  6473  	}
  6474  	return dAtA[:n], nil
  6475  }
  6476  
  6477  func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error) {
  6478  	var i int
  6479  	_ = i
  6480  	var l int
  6481  	_ = l
  6482  	if m.State != 0 {
  6483  		dAtA[i] = 0x8
  6484  		i++
  6485  		i = encodeVarintTypes(dAtA, i, uint64(m.State))
  6486  	}
  6487  	if len(m.Message) > 0 {
  6488  		dAtA[i] = 0x12
  6489  		i++
  6490  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Message)))
  6491  		i += copy(dAtA[i:], m.Message)
  6492  	}
  6493  	if len(m.Addr) > 0 {
  6494  		dAtA[i] = 0x1a
  6495  		i++
  6496  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Addr)))
  6497  		i += copy(dAtA[i:], m.Addr)
  6498  	}
  6499  	return i, nil
  6500  }
  6501  
  6502  func (m *Image) Marshal() (dAtA []byte, err error) {
  6503  	size := m.Size()
  6504  	dAtA = make([]byte, size)
  6505  	n, err := m.MarshalTo(dAtA)
  6506  	if err != nil {
  6507  		return nil, err
  6508  	}
  6509  	return dAtA[:n], nil
  6510  }
  6511  
  6512  func (m *Image) MarshalTo(dAtA []byte) (int, error) {
  6513  	var i int
  6514  	_ = i
  6515  	var l int
  6516  	_ = l
  6517  	if len(m.Reference) > 0 {
  6518  		dAtA[i] = 0xa
  6519  		i++
  6520  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Reference)))
  6521  		i += copy(dAtA[i:], m.Reference)
  6522  	}
  6523  	return i, nil
  6524  }
  6525  
  6526  func (m *Mount) Marshal() (dAtA []byte, err error) {
  6527  	size := m.Size()
  6528  	dAtA = make([]byte, size)
  6529  	n, err := m.MarshalTo(dAtA)
  6530  	if err != nil {
  6531  		return nil, err
  6532  	}
  6533  	return dAtA[:n], nil
  6534  }
  6535  
  6536  func (m *Mount) MarshalTo(dAtA []byte) (int, error) {
  6537  	var i int
  6538  	_ = i
  6539  	var l int
  6540  	_ = l
  6541  	if m.Type != 0 {
  6542  		dAtA[i] = 0x8
  6543  		i++
  6544  		i = encodeVarintTypes(dAtA, i, uint64(m.Type))
  6545  	}
  6546  	if len(m.Source) > 0 {
  6547  		dAtA[i] = 0x12
  6548  		i++
  6549  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Source)))
  6550  		i += copy(dAtA[i:], m.Source)
  6551  	}
  6552  	if len(m.Target) > 0 {
  6553  		dAtA[i] = 0x1a
  6554  		i++
  6555  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Target)))
  6556  		i += copy(dAtA[i:], m.Target)
  6557  	}
  6558  	if m.ReadOnly {
  6559  		dAtA[i] = 0x20
  6560  		i++
  6561  		if m.ReadOnly {
  6562  			dAtA[i] = 1
  6563  		} else {
  6564  			dAtA[i] = 0
  6565  		}
  6566  		i++
  6567  	}
  6568  	if m.BindOptions != nil {
  6569  		dAtA[i] = 0x2a
  6570  		i++
  6571  		i = encodeVarintTypes(dAtA, i, uint64(m.BindOptions.Size()))
  6572  		n12, err := m.BindOptions.MarshalTo(dAtA[i:])
  6573  		if err != nil {
  6574  			return 0, err
  6575  		}
  6576  		i += n12
  6577  	}
  6578  	if m.VolumeOptions != nil {
  6579  		dAtA[i] = 0x32
  6580  		i++
  6581  		i = encodeVarintTypes(dAtA, i, uint64(m.VolumeOptions.Size()))
  6582  		n13, err := m.VolumeOptions.MarshalTo(dAtA[i:])
  6583  		if err != nil {
  6584  			return 0, err
  6585  		}
  6586  		i += n13
  6587  	}
  6588  	if m.TmpfsOptions != nil {
  6589  		dAtA[i] = 0x3a
  6590  		i++
  6591  		i = encodeVarintTypes(dAtA, i, uint64(m.TmpfsOptions.Size()))
  6592  		n14, err := m.TmpfsOptions.MarshalTo(dAtA[i:])
  6593  		if err != nil {
  6594  			return 0, err
  6595  		}
  6596  		i += n14
  6597  	}
  6598  	if m.Consistency != 0 {
  6599  		dAtA[i] = 0x40
  6600  		i++
  6601  		i = encodeVarintTypes(dAtA, i, uint64(m.Consistency))
  6602  	}
  6603  	return i, nil
  6604  }
  6605  
  6606  func (m *Mount_BindOptions) Marshal() (dAtA []byte, err error) {
  6607  	size := m.Size()
  6608  	dAtA = make([]byte, size)
  6609  	n, err := m.MarshalTo(dAtA)
  6610  	if err != nil {
  6611  		return nil, err
  6612  	}
  6613  	return dAtA[:n], nil
  6614  }
  6615  
  6616  func (m *Mount_BindOptions) MarshalTo(dAtA []byte) (int, error) {
  6617  	var i int
  6618  	_ = i
  6619  	var l int
  6620  	_ = l
  6621  	if m.Propagation != 0 {
  6622  		dAtA[i] = 0x8
  6623  		i++
  6624  		i = encodeVarintTypes(dAtA, i, uint64(m.Propagation))
  6625  	}
  6626  	if m.NonRecursive {
  6627  		dAtA[i] = 0x10
  6628  		i++
  6629  		if m.NonRecursive {
  6630  			dAtA[i] = 1
  6631  		} else {
  6632  			dAtA[i] = 0
  6633  		}
  6634  		i++
  6635  	}
  6636  	return i, nil
  6637  }
  6638  
  6639  func (m *Mount_VolumeOptions) Marshal() (dAtA []byte, err error) {
  6640  	size := m.Size()
  6641  	dAtA = make([]byte, size)
  6642  	n, err := m.MarshalTo(dAtA)
  6643  	if err != nil {
  6644  		return nil, err
  6645  	}
  6646  	return dAtA[:n], nil
  6647  }
  6648  
  6649  func (m *Mount_VolumeOptions) MarshalTo(dAtA []byte) (int, error) {
  6650  	var i int
  6651  	_ = i
  6652  	var l int
  6653  	_ = l
  6654  	if m.NoCopy {
  6655  		dAtA[i] = 0x8
  6656  		i++
  6657  		if m.NoCopy {
  6658  			dAtA[i] = 1
  6659  		} else {
  6660  			dAtA[i] = 0
  6661  		}
  6662  		i++
  6663  	}
  6664  	if len(m.Labels) > 0 {
  6665  		for k, _ := range m.Labels {
  6666  			dAtA[i] = 0x12
  6667  			i++
  6668  			v := m.Labels[k]
  6669  			mapSize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  6670  			i = encodeVarintTypes(dAtA, i, uint64(mapSize))
  6671  			dAtA[i] = 0xa
  6672  			i++
  6673  			i = encodeVarintTypes(dAtA, i, uint64(len(k)))
  6674  			i += copy(dAtA[i:], k)
  6675  			dAtA[i] = 0x12
  6676  			i++
  6677  			i = encodeVarintTypes(dAtA, i, uint64(len(v)))
  6678  			i += copy(dAtA[i:], v)
  6679  		}
  6680  	}
  6681  	if m.DriverConfig != nil {
  6682  		dAtA[i] = 0x1a
  6683  		i++
  6684  		i = encodeVarintTypes(dAtA, i, uint64(m.DriverConfig.Size()))
  6685  		n15, err := m.DriverConfig.MarshalTo(dAtA[i:])
  6686  		if err != nil {
  6687  			return 0, err
  6688  		}
  6689  		i += n15
  6690  	}
  6691  	return i, nil
  6692  }
  6693  
  6694  func (m *Mount_TmpfsOptions) Marshal() (dAtA []byte, err error) {
  6695  	size := m.Size()
  6696  	dAtA = make([]byte, size)
  6697  	n, err := m.MarshalTo(dAtA)
  6698  	if err != nil {
  6699  		return nil, err
  6700  	}
  6701  	return dAtA[:n], nil
  6702  }
  6703  
  6704  func (m *Mount_TmpfsOptions) MarshalTo(dAtA []byte) (int, error) {
  6705  	var i int
  6706  	_ = i
  6707  	var l int
  6708  	_ = l
  6709  	if m.SizeBytes != 0 {
  6710  		dAtA[i] = 0x8
  6711  		i++
  6712  		i = encodeVarintTypes(dAtA, i, uint64(m.SizeBytes))
  6713  	}
  6714  	if m.Mode != 0 {
  6715  		dAtA[i] = 0x10
  6716  		i++
  6717  		i = encodeVarintTypes(dAtA, i, uint64(m.Mode))
  6718  	}
  6719  	if len(m.Options) > 0 {
  6720  		dAtA[i] = 0x1a
  6721  		i++
  6722  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Options)))
  6723  		i += copy(dAtA[i:], m.Options)
  6724  	}
  6725  	return i, nil
  6726  }
  6727  
  6728  func (m *RestartPolicy) Marshal() (dAtA []byte, err error) {
  6729  	size := m.Size()
  6730  	dAtA = make([]byte, size)
  6731  	n, err := m.MarshalTo(dAtA)
  6732  	if err != nil {
  6733  		return nil, err
  6734  	}
  6735  	return dAtA[:n], nil
  6736  }
  6737  
  6738  func (m *RestartPolicy) MarshalTo(dAtA []byte) (int, error) {
  6739  	var i int
  6740  	_ = i
  6741  	var l int
  6742  	_ = l
  6743  	if m.Condition != 0 {
  6744  		dAtA[i] = 0x8
  6745  		i++
  6746  		i = encodeVarintTypes(dAtA, i, uint64(m.Condition))
  6747  	}
  6748  	if m.Delay != nil {
  6749  		dAtA[i] = 0x12
  6750  		i++
  6751  		i = encodeVarintTypes(dAtA, i, uint64(m.Delay.Size()))
  6752  		n16, err := m.Delay.MarshalTo(dAtA[i:])
  6753  		if err != nil {
  6754  			return 0, err
  6755  		}
  6756  		i += n16
  6757  	}
  6758  	if m.MaxAttempts != 0 {
  6759  		dAtA[i] = 0x18
  6760  		i++
  6761  		i = encodeVarintTypes(dAtA, i, uint64(m.MaxAttempts))
  6762  	}
  6763  	if m.Window != nil {
  6764  		dAtA[i] = 0x22
  6765  		i++
  6766  		i = encodeVarintTypes(dAtA, i, uint64(m.Window.Size()))
  6767  		n17, err := m.Window.MarshalTo(dAtA[i:])
  6768  		if err != nil {
  6769  			return 0, err
  6770  		}
  6771  		i += n17
  6772  	}
  6773  	return i, nil
  6774  }
  6775  
  6776  func (m *UpdateConfig) Marshal() (dAtA []byte, err error) {
  6777  	size := m.Size()
  6778  	dAtA = make([]byte, size)
  6779  	n, err := m.MarshalTo(dAtA)
  6780  	if err != nil {
  6781  		return nil, err
  6782  	}
  6783  	return dAtA[:n], nil
  6784  }
  6785  
  6786  func (m *UpdateConfig) MarshalTo(dAtA []byte) (int, error) {
  6787  	var i int
  6788  	_ = i
  6789  	var l int
  6790  	_ = l
  6791  	if m.Parallelism != 0 {
  6792  		dAtA[i] = 0x8
  6793  		i++
  6794  		i = encodeVarintTypes(dAtA, i, uint64(m.Parallelism))
  6795  	}
  6796  	dAtA[i] = 0x12
  6797  	i++
  6798  	i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(m.Delay)))
  6799  	n18, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Delay, dAtA[i:])
  6800  	if err != nil {
  6801  		return 0, err
  6802  	}
  6803  	i += n18
  6804  	if m.FailureAction != 0 {
  6805  		dAtA[i] = 0x18
  6806  		i++
  6807  		i = encodeVarintTypes(dAtA, i, uint64(m.FailureAction))
  6808  	}
  6809  	if m.Monitor != nil {
  6810  		dAtA[i] = 0x22
  6811  		i++
  6812  		i = encodeVarintTypes(dAtA, i, uint64(m.Monitor.Size()))
  6813  		n19, err := m.Monitor.MarshalTo(dAtA[i:])
  6814  		if err != nil {
  6815  			return 0, err
  6816  		}
  6817  		i += n19
  6818  	}
  6819  	if m.MaxFailureRatio != 0 {
  6820  		dAtA[i] = 0x2d
  6821  		i++
  6822  		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.MaxFailureRatio))))
  6823  		i += 4
  6824  	}
  6825  	if m.Order != 0 {
  6826  		dAtA[i] = 0x30
  6827  		i++
  6828  		i = encodeVarintTypes(dAtA, i, uint64(m.Order))
  6829  	}
  6830  	return i, nil
  6831  }
  6832  
  6833  func (m *UpdateStatus) Marshal() (dAtA []byte, err error) {
  6834  	size := m.Size()
  6835  	dAtA = make([]byte, size)
  6836  	n, err := m.MarshalTo(dAtA)
  6837  	if err != nil {
  6838  		return nil, err
  6839  	}
  6840  	return dAtA[:n], nil
  6841  }
  6842  
  6843  func (m *UpdateStatus) MarshalTo(dAtA []byte) (int, error) {
  6844  	var i int
  6845  	_ = i
  6846  	var l int
  6847  	_ = l
  6848  	if m.State != 0 {
  6849  		dAtA[i] = 0x8
  6850  		i++
  6851  		i = encodeVarintTypes(dAtA, i, uint64(m.State))
  6852  	}
  6853  	if m.StartedAt != nil {
  6854  		dAtA[i] = 0x12
  6855  		i++
  6856  		i = encodeVarintTypes(dAtA, i, uint64(m.StartedAt.Size()))
  6857  		n20, err := m.StartedAt.MarshalTo(dAtA[i:])
  6858  		if err != nil {
  6859  			return 0, err
  6860  		}
  6861  		i += n20
  6862  	}
  6863  	if m.CompletedAt != nil {
  6864  		dAtA[i] = 0x1a
  6865  		i++
  6866  		i = encodeVarintTypes(dAtA, i, uint64(m.CompletedAt.Size()))
  6867  		n21, err := m.CompletedAt.MarshalTo(dAtA[i:])
  6868  		if err != nil {
  6869  			return 0, err
  6870  		}
  6871  		i += n21
  6872  	}
  6873  	if len(m.Message) > 0 {
  6874  		dAtA[i] = 0x22
  6875  		i++
  6876  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Message)))
  6877  		i += copy(dAtA[i:], m.Message)
  6878  	}
  6879  	return i, nil
  6880  }
  6881  
  6882  func (m *ContainerStatus) Marshal() (dAtA []byte, err error) {
  6883  	size := m.Size()
  6884  	dAtA = make([]byte, size)
  6885  	n, err := m.MarshalTo(dAtA)
  6886  	if err != nil {
  6887  		return nil, err
  6888  	}
  6889  	return dAtA[:n], nil
  6890  }
  6891  
  6892  func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error) {
  6893  	var i int
  6894  	_ = i
  6895  	var l int
  6896  	_ = l
  6897  	if len(m.ContainerID) > 0 {
  6898  		dAtA[i] = 0xa
  6899  		i++
  6900  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ContainerID)))
  6901  		i += copy(dAtA[i:], m.ContainerID)
  6902  	}
  6903  	if m.PID != 0 {
  6904  		dAtA[i] = 0x10
  6905  		i++
  6906  		i = encodeVarintTypes(dAtA, i, uint64(m.PID))
  6907  	}
  6908  	if m.ExitCode != 0 {
  6909  		dAtA[i] = 0x18
  6910  		i++
  6911  		i = encodeVarintTypes(dAtA, i, uint64(m.ExitCode))
  6912  	}
  6913  	return i, nil
  6914  }
  6915  
  6916  func (m *PortStatus) Marshal() (dAtA []byte, err error) {
  6917  	size := m.Size()
  6918  	dAtA = make([]byte, size)
  6919  	n, err := m.MarshalTo(dAtA)
  6920  	if err != nil {
  6921  		return nil, err
  6922  	}
  6923  	return dAtA[:n], nil
  6924  }
  6925  
  6926  func (m *PortStatus) MarshalTo(dAtA []byte) (int, error) {
  6927  	var i int
  6928  	_ = i
  6929  	var l int
  6930  	_ = l
  6931  	if len(m.Ports) > 0 {
  6932  		for _, msg := range m.Ports {
  6933  			dAtA[i] = 0xa
  6934  			i++
  6935  			i = encodeVarintTypes(dAtA, i, uint64(msg.Size()))
  6936  			n, err := msg.MarshalTo(dAtA[i:])
  6937  			if err != nil {
  6938  				return 0, err
  6939  			}
  6940  			i += n
  6941  		}
  6942  	}
  6943  	return i, nil
  6944  }
  6945  
  6946  func (m *TaskStatus) Marshal() (dAtA []byte, err error) {
  6947  	size := m.Size()
  6948  	dAtA = make([]byte, size)
  6949  	n, err := m.MarshalTo(dAtA)
  6950  	if err != nil {
  6951  		return nil, err
  6952  	}
  6953  	return dAtA[:n], nil
  6954  }
  6955  
  6956  func (m *TaskStatus) MarshalTo(dAtA []byte) (int, error) {
  6957  	var i int
  6958  	_ = i
  6959  	var l int
  6960  	_ = l
  6961  	if m.Timestamp != nil {
  6962  		dAtA[i] = 0xa
  6963  		i++
  6964  		i = encodeVarintTypes(dAtA, i, uint64(m.Timestamp.Size()))
  6965  		n22, err := m.Timestamp.MarshalTo(dAtA[i:])
  6966  		if err != nil {
  6967  			return 0, err
  6968  		}
  6969  		i += n22
  6970  	}
  6971  	if m.State != 0 {
  6972  		dAtA[i] = 0x10
  6973  		i++
  6974  		i = encodeVarintTypes(dAtA, i, uint64(m.State))
  6975  	}
  6976  	if len(m.Message) > 0 {
  6977  		dAtA[i] = 0x1a
  6978  		i++
  6979  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Message)))
  6980  		i += copy(dAtA[i:], m.Message)
  6981  	}
  6982  	if len(m.Err) > 0 {
  6983  		dAtA[i] = 0x22
  6984  		i++
  6985  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Err)))
  6986  		i += copy(dAtA[i:], m.Err)
  6987  	}
  6988  	if m.RuntimeStatus != nil {
  6989  		nn23, err := m.RuntimeStatus.MarshalTo(dAtA[i:])
  6990  		if err != nil {
  6991  			return 0, err
  6992  		}
  6993  		i += nn23
  6994  	}
  6995  	if m.PortStatus != nil {
  6996  		dAtA[i] = 0x32
  6997  		i++
  6998  		i = encodeVarintTypes(dAtA, i, uint64(m.PortStatus.Size()))
  6999  		n24, err := m.PortStatus.MarshalTo(dAtA[i:])
  7000  		if err != nil {
  7001  			return 0, err
  7002  		}
  7003  		i += n24
  7004  	}
  7005  	if len(m.AppliedBy) > 0 {
  7006  		dAtA[i] = 0x3a
  7007  		i++
  7008  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppliedBy)))
  7009  		i += copy(dAtA[i:], m.AppliedBy)
  7010  	}
  7011  	if m.AppliedAt != nil {
  7012  		dAtA[i] = 0x42
  7013  		i++
  7014  		i = encodeVarintTypes(dAtA, i, uint64(m.AppliedAt.Size()))
  7015  		n25, err := m.AppliedAt.MarshalTo(dAtA[i:])
  7016  		if err != nil {
  7017  			return 0, err
  7018  		}
  7019  		i += n25
  7020  	}
  7021  	return i, nil
  7022  }
  7023  
  7024  func (m *TaskStatus_Container) MarshalTo(dAtA []byte) (int, error) {
  7025  	i := 0
  7026  	if m.Container != nil {
  7027  		dAtA[i] = 0x2a
  7028  		i++
  7029  		i = encodeVarintTypes(dAtA, i, uint64(m.Container.Size()))
  7030  		n26, err := m.Container.MarshalTo(dAtA[i:])
  7031  		if err != nil {
  7032  			return 0, err
  7033  		}
  7034  		i += n26
  7035  	}
  7036  	return i, nil
  7037  }
  7038  func (m *NetworkAttachmentConfig) Marshal() (dAtA []byte, err error) {
  7039  	size := m.Size()
  7040  	dAtA = make([]byte, size)
  7041  	n, err := m.MarshalTo(dAtA)
  7042  	if err != nil {
  7043  		return nil, err
  7044  	}
  7045  	return dAtA[:n], nil
  7046  }
  7047  
  7048  func (m *NetworkAttachmentConfig) MarshalTo(dAtA []byte) (int, error) {
  7049  	var i int
  7050  	_ = i
  7051  	var l int
  7052  	_ = l
  7053  	if len(m.Target) > 0 {
  7054  		dAtA[i] = 0xa
  7055  		i++
  7056  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Target)))
  7057  		i += copy(dAtA[i:], m.Target)
  7058  	}
  7059  	if len(m.Aliases) > 0 {
  7060  		for _, s := range m.Aliases {
  7061  			dAtA[i] = 0x12
  7062  			i++
  7063  			l = len(s)
  7064  			for l >= 1<<7 {
  7065  				dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  7066  				l >>= 7
  7067  				i++
  7068  			}
  7069  			dAtA[i] = uint8(l)
  7070  			i++
  7071  			i += copy(dAtA[i:], s)
  7072  		}
  7073  	}
  7074  	if len(m.Addresses) > 0 {
  7075  		for _, s := range m.Addresses {
  7076  			dAtA[i] = 0x1a
  7077  			i++
  7078  			l = len(s)
  7079  			for l >= 1<<7 {
  7080  				dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  7081  				l >>= 7
  7082  				i++
  7083  			}
  7084  			dAtA[i] = uint8(l)
  7085  			i++
  7086  			i += copy(dAtA[i:], s)
  7087  		}
  7088  	}
  7089  	if len(m.DriverAttachmentOpts) > 0 {
  7090  		for k, _ := range m.DriverAttachmentOpts {
  7091  			dAtA[i] = 0x22
  7092  			i++
  7093  			v := m.DriverAttachmentOpts[k]
  7094  			mapSize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  7095  			i = encodeVarintTypes(dAtA, i, uint64(mapSize))
  7096  			dAtA[i] = 0xa
  7097  			i++
  7098  			i = encodeVarintTypes(dAtA, i, uint64(len(k)))
  7099  			i += copy(dAtA[i:], k)
  7100  			dAtA[i] = 0x12
  7101  			i++
  7102  			i = encodeVarintTypes(dAtA, i, uint64(len(v)))
  7103  			i += copy(dAtA[i:], v)
  7104  		}
  7105  	}
  7106  	return i, nil
  7107  }
  7108  
  7109  func (m *IPAMConfig) Marshal() (dAtA []byte, err error) {
  7110  	size := m.Size()
  7111  	dAtA = make([]byte, size)
  7112  	n, err := m.MarshalTo(dAtA)
  7113  	if err != nil {
  7114  		return nil, err
  7115  	}
  7116  	return dAtA[:n], nil
  7117  }
  7118  
  7119  func (m *IPAMConfig) MarshalTo(dAtA []byte) (int, error) {
  7120  	var i int
  7121  	_ = i
  7122  	var l int
  7123  	_ = l
  7124  	if m.Family != 0 {
  7125  		dAtA[i] = 0x8
  7126  		i++
  7127  		i = encodeVarintTypes(dAtA, i, uint64(m.Family))
  7128  	}
  7129  	if len(m.Subnet) > 0 {
  7130  		dAtA[i] = 0x12
  7131  		i++
  7132  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Subnet)))
  7133  		i += copy(dAtA[i:], m.Subnet)
  7134  	}
  7135  	if len(m.Range) > 0 {
  7136  		dAtA[i] = 0x1a
  7137  		i++
  7138  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Range)))
  7139  		i += copy(dAtA[i:], m.Range)
  7140  	}
  7141  	if len(m.Gateway) > 0 {
  7142  		dAtA[i] = 0x22
  7143  		i++
  7144  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Gateway)))
  7145  		i += copy(dAtA[i:], m.Gateway)
  7146  	}
  7147  	if len(m.Reserved) > 0 {
  7148  		for k, _ := range m.Reserved {
  7149  			dAtA[i] = 0x2a
  7150  			i++
  7151  			v := m.Reserved[k]
  7152  			mapSize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  7153  			i = encodeVarintTypes(dAtA, i, uint64(mapSize))
  7154  			dAtA[i] = 0xa
  7155  			i++
  7156  			i = encodeVarintTypes(dAtA, i, uint64(len(k)))
  7157  			i += copy(dAtA[i:], k)
  7158  			dAtA[i] = 0x12
  7159  			i++
  7160  			i = encodeVarintTypes(dAtA, i, uint64(len(v)))
  7161  			i += copy(dAtA[i:], v)
  7162  		}
  7163  	}
  7164  	return i, nil
  7165  }
  7166  
  7167  func (m *PortConfig) Marshal() (dAtA []byte, err error) {
  7168  	size := m.Size()
  7169  	dAtA = make([]byte, size)
  7170  	n, err := m.MarshalTo(dAtA)
  7171  	if err != nil {
  7172  		return nil, err
  7173  	}
  7174  	return dAtA[:n], nil
  7175  }
  7176  
  7177  func (m *PortConfig) MarshalTo(dAtA []byte) (int, error) {
  7178  	var i int
  7179  	_ = i
  7180  	var l int
  7181  	_ = l
  7182  	if len(m.Name) > 0 {
  7183  		dAtA[i] = 0xa
  7184  		i++
  7185  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Name)))
  7186  		i += copy(dAtA[i:], m.Name)
  7187  	}
  7188  	if m.Protocol != 0 {
  7189  		dAtA[i] = 0x10
  7190  		i++
  7191  		i = encodeVarintTypes(dAtA, i, uint64(m.Protocol))
  7192  	}
  7193  	if m.TargetPort != 0 {
  7194  		dAtA[i] = 0x18
  7195  		i++
  7196  		i = encodeVarintTypes(dAtA, i, uint64(m.TargetPort))
  7197  	}
  7198  	if m.PublishedPort != 0 {
  7199  		dAtA[i] = 0x20
  7200  		i++
  7201  		i = encodeVarintTypes(dAtA, i, uint64(m.PublishedPort))
  7202  	}
  7203  	if m.PublishMode != 0 {
  7204  		dAtA[i] = 0x28
  7205  		i++
  7206  		i = encodeVarintTypes(dAtA, i, uint64(m.PublishMode))
  7207  	}
  7208  	return i, nil
  7209  }
  7210  
  7211  func (m *Driver) Marshal() (dAtA []byte, err error) {
  7212  	size := m.Size()
  7213  	dAtA = make([]byte, size)
  7214  	n, err := m.MarshalTo(dAtA)
  7215  	if err != nil {
  7216  		return nil, err
  7217  	}
  7218  	return dAtA[:n], nil
  7219  }
  7220  
  7221  func (m *Driver) MarshalTo(dAtA []byte) (int, error) {
  7222  	var i int
  7223  	_ = i
  7224  	var l int
  7225  	_ = l
  7226  	if len(m.Name) > 0 {
  7227  		dAtA[i] = 0xa
  7228  		i++
  7229  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Name)))
  7230  		i += copy(dAtA[i:], m.Name)
  7231  	}
  7232  	if len(m.Options) > 0 {
  7233  		for k, _ := range m.Options {
  7234  			dAtA[i] = 0x12
  7235  			i++
  7236  			v := m.Options[k]
  7237  			mapSize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  7238  			i = encodeVarintTypes(dAtA, i, uint64(mapSize))
  7239  			dAtA[i] = 0xa
  7240  			i++
  7241  			i = encodeVarintTypes(dAtA, i, uint64(len(k)))
  7242  			i += copy(dAtA[i:], k)
  7243  			dAtA[i] = 0x12
  7244  			i++
  7245  			i = encodeVarintTypes(dAtA, i, uint64(len(v)))
  7246  			i += copy(dAtA[i:], v)
  7247  		}
  7248  	}
  7249  	return i, nil
  7250  }
  7251  
  7252  func (m *IPAMOptions) Marshal() (dAtA []byte, err error) {
  7253  	size := m.Size()
  7254  	dAtA = make([]byte, size)
  7255  	n, err := m.MarshalTo(dAtA)
  7256  	if err != nil {
  7257  		return nil, err
  7258  	}
  7259  	return dAtA[:n], nil
  7260  }
  7261  
  7262  func (m *IPAMOptions) MarshalTo(dAtA []byte) (int, error) {
  7263  	var i int
  7264  	_ = i
  7265  	var l int
  7266  	_ = l
  7267  	if m.Driver != nil {
  7268  		dAtA[i] = 0xa
  7269  		i++
  7270  		i = encodeVarintTypes(dAtA, i, uint64(m.Driver.Size()))
  7271  		n27, err := m.Driver.MarshalTo(dAtA[i:])
  7272  		if err != nil {
  7273  			return 0, err
  7274  		}
  7275  		i += n27
  7276  	}
  7277  	if len(m.Configs) > 0 {
  7278  		for _, msg := range m.Configs {
  7279  			dAtA[i] = 0x1a
  7280  			i++
  7281  			i = encodeVarintTypes(dAtA, i, uint64(msg.Size()))
  7282  			n, err := msg.MarshalTo(dAtA[i:])
  7283  			if err != nil {
  7284  				return 0, err
  7285  			}
  7286  			i += n
  7287  		}
  7288  	}
  7289  	return i, nil
  7290  }
  7291  
  7292  func (m *Peer) Marshal() (dAtA []byte, err error) {
  7293  	size := m.Size()
  7294  	dAtA = make([]byte, size)
  7295  	n, err := m.MarshalTo(dAtA)
  7296  	if err != nil {
  7297  		return nil, err
  7298  	}
  7299  	return dAtA[:n], nil
  7300  }
  7301  
  7302  func (m *Peer) MarshalTo(dAtA []byte) (int, error) {
  7303  	var i int
  7304  	_ = i
  7305  	var l int
  7306  	_ = l
  7307  	if len(m.NodeID) > 0 {
  7308  		dAtA[i] = 0xa
  7309  		i++
  7310  		i = encodeVarintTypes(dAtA, i, uint64(len(m.NodeID)))
  7311  		i += copy(dAtA[i:], m.NodeID)
  7312  	}
  7313  	if len(m.Addr) > 0 {
  7314  		dAtA[i] = 0x12
  7315  		i++
  7316  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Addr)))
  7317  		i += copy(dAtA[i:], m.Addr)
  7318  	}
  7319  	return i, nil
  7320  }
  7321  
  7322  func (m *WeightedPeer) Marshal() (dAtA []byte, err error) {
  7323  	size := m.Size()
  7324  	dAtA = make([]byte, size)
  7325  	n, err := m.MarshalTo(dAtA)
  7326  	if err != nil {
  7327  		return nil, err
  7328  	}
  7329  	return dAtA[:n], nil
  7330  }
  7331  
  7332  func (m *WeightedPeer) MarshalTo(dAtA []byte) (int, error) {
  7333  	var i int
  7334  	_ = i
  7335  	var l int
  7336  	_ = l
  7337  	if m.Peer != nil {
  7338  		dAtA[i] = 0xa
  7339  		i++
  7340  		i = encodeVarintTypes(dAtA, i, uint64(m.Peer.Size()))
  7341  		n28, err := m.Peer.MarshalTo(dAtA[i:])
  7342  		if err != nil {
  7343  			return 0, err
  7344  		}
  7345  		i += n28
  7346  	}
  7347  	if m.Weight != 0 {
  7348  		dAtA[i] = 0x10
  7349  		i++
  7350  		i = encodeVarintTypes(dAtA, i, uint64(m.Weight))
  7351  	}
  7352  	return i, nil
  7353  }
  7354  
  7355  func (m *IssuanceStatus) Marshal() (dAtA []byte, err error) {
  7356  	size := m.Size()
  7357  	dAtA = make([]byte, size)
  7358  	n, err := m.MarshalTo(dAtA)
  7359  	if err != nil {
  7360  		return nil, err
  7361  	}
  7362  	return dAtA[:n], nil
  7363  }
  7364  
  7365  func (m *IssuanceStatus) MarshalTo(dAtA []byte) (int, error) {
  7366  	var i int
  7367  	_ = i
  7368  	var l int
  7369  	_ = l
  7370  	if m.State != 0 {
  7371  		dAtA[i] = 0x8
  7372  		i++
  7373  		i = encodeVarintTypes(dAtA, i, uint64(m.State))
  7374  	}
  7375  	if len(m.Err) > 0 {
  7376  		dAtA[i] = 0x12
  7377  		i++
  7378  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Err)))
  7379  		i += copy(dAtA[i:], m.Err)
  7380  	}
  7381  	return i, nil
  7382  }
  7383  
  7384  func (m *AcceptancePolicy) Marshal() (dAtA []byte, err error) {
  7385  	size := m.Size()
  7386  	dAtA = make([]byte, size)
  7387  	n, err := m.MarshalTo(dAtA)
  7388  	if err != nil {
  7389  		return nil, err
  7390  	}
  7391  	return dAtA[:n], nil
  7392  }
  7393  
  7394  func (m *AcceptancePolicy) MarshalTo(dAtA []byte) (int, error) {
  7395  	var i int
  7396  	_ = i
  7397  	var l int
  7398  	_ = l
  7399  	if len(m.Policies) > 0 {
  7400  		for _, msg := range m.Policies {
  7401  			dAtA[i] = 0xa
  7402  			i++
  7403  			i = encodeVarintTypes(dAtA, i, uint64(msg.Size()))
  7404  			n, err := msg.MarshalTo(dAtA[i:])
  7405  			if err != nil {
  7406  				return 0, err
  7407  			}
  7408  			i += n
  7409  		}
  7410  	}
  7411  	return i, nil
  7412  }
  7413  
  7414  func (m *AcceptancePolicy_RoleAdmissionPolicy) Marshal() (dAtA []byte, err error) {
  7415  	size := m.Size()
  7416  	dAtA = make([]byte, size)
  7417  	n, err := m.MarshalTo(dAtA)
  7418  	if err != nil {
  7419  		return nil, err
  7420  	}
  7421  	return dAtA[:n], nil
  7422  }
  7423  
  7424  func (m *AcceptancePolicy_RoleAdmissionPolicy) MarshalTo(dAtA []byte) (int, error) {
  7425  	var i int
  7426  	_ = i
  7427  	var l int
  7428  	_ = l
  7429  	if m.Role != 0 {
  7430  		dAtA[i] = 0x8
  7431  		i++
  7432  		i = encodeVarintTypes(dAtA, i, uint64(m.Role))
  7433  	}
  7434  	if m.Autoaccept {
  7435  		dAtA[i] = 0x10
  7436  		i++
  7437  		if m.Autoaccept {
  7438  			dAtA[i] = 1
  7439  		} else {
  7440  			dAtA[i] = 0
  7441  		}
  7442  		i++
  7443  	}
  7444  	if m.Secret != nil {
  7445  		dAtA[i] = 0x1a
  7446  		i++
  7447  		i = encodeVarintTypes(dAtA, i, uint64(m.Secret.Size()))
  7448  		n29, err := m.Secret.MarshalTo(dAtA[i:])
  7449  		if err != nil {
  7450  			return 0, err
  7451  		}
  7452  		i += n29
  7453  	}
  7454  	return i, nil
  7455  }
  7456  
  7457  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Marshal() (dAtA []byte, err error) {
  7458  	size := m.Size()
  7459  	dAtA = make([]byte, size)
  7460  	n, err := m.MarshalTo(dAtA)
  7461  	if err != nil {
  7462  		return nil, err
  7463  	}
  7464  	return dAtA[:n], nil
  7465  }
  7466  
  7467  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) MarshalTo(dAtA []byte) (int, error) {
  7468  	var i int
  7469  	_ = i
  7470  	var l int
  7471  	_ = l
  7472  	if len(m.Data) > 0 {
  7473  		dAtA[i] = 0xa
  7474  		i++
  7475  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  7476  		i += copy(dAtA[i:], m.Data)
  7477  	}
  7478  	if len(m.Alg) > 0 {
  7479  		dAtA[i] = 0x12
  7480  		i++
  7481  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Alg)))
  7482  		i += copy(dAtA[i:], m.Alg)
  7483  	}
  7484  	return i, nil
  7485  }
  7486  
  7487  func (m *ExternalCA) Marshal() (dAtA []byte, err error) {
  7488  	size := m.Size()
  7489  	dAtA = make([]byte, size)
  7490  	n, err := m.MarshalTo(dAtA)
  7491  	if err != nil {
  7492  		return nil, err
  7493  	}
  7494  	return dAtA[:n], nil
  7495  }
  7496  
  7497  func (m *ExternalCA) MarshalTo(dAtA []byte) (int, error) {
  7498  	var i int
  7499  	_ = i
  7500  	var l int
  7501  	_ = l
  7502  	if m.Protocol != 0 {
  7503  		dAtA[i] = 0x8
  7504  		i++
  7505  		i = encodeVarintTypes(dAtA, i, uint64(m.Protocol))
  7506  	}
  7507  	if len(m.URL) > 0 {
  7508  		dAtA[i] = 0x12
  7509  		i++
  7510  		i = encodeVarintTypes(dAtA, i, uint64(len(m.URL)))
  7511  		i += copy(dAtA[i:], m.URL)
  7512  	}
  7513  	if len(m.Options) > 0 {
  7514  		for k, _ := range m.Options {
  7515  			dAtA[i] = 0x1a
  7516  			i++
  7517  			v := m.Options[k]
  7518  			mapSize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  7519  			i = encodeVarintTypes(dAtA, i, uint64(mapSize))
  7520  			dAtA[i] = 0xa
  7521  			i++
  7522  			i = encodeVarintTypes(dAtA, i, uint64(len(k)))
  7523  			i += copy(dAtA[i:], k)
  7524  			dAtA[i] = 0x12
  7525  			i++
  7526  			i = encodeVarintTypes(dAtA, i, uint64(len(v)))
  7527  			i += copy(dAtA[i:], v)
  7528  		}
  7529  	}
  7530  	if len(m.CACert) > 0 {
  7531  		dAtA[i] = 0x22
  7532  		i++
  7533  		i = encodeVarintTypes(dAtA, i, uint64(len(m.CACert)))
  7534  		i += copy(dAtA[i:], m.CACert)
  7535  	}
  7536  	return i, nil
  7537  }
  7538  
  7539  func (m *CAConfig) Marshal() (dAtA []byte, err error) {
  7540  	size := m.Size()
  7541  	dAtA = make([]byte, size)
  7542  	n, err := m.MarshalTo(dAtA)
  7543  	if err != nil {
  7544  		return nil, err
  7545  	}
  7546  	return dAtA[:n], nil
  7547  }
  7548  
  7549  func (m *CAConfig) MarshalTo(dAtA []byte) (int, error) {
  7550  	var i int
  7551  	_ = i
  7552  	var l int
  7553  	_ = l
  7554  	if m.NodeCertExpiry != nil {
  7555  		dAtA[i] = 0xa
  7556  		i++
  7557  		i = encodeVarintTypes(dAtA, i, uint64(m.NodeCertExpiry.Size()))
  7558  		n30, err := m.NodeCertExpiry.MarshalTo(dAtA[i:])
  7559  		if err != nil {
  7560  			return 0, err
  7561  		}
  7562  		i += n30
  7563  	}
  7564  	if len(m.ExternalCAs) > 0 {
  7565  		for _, msg := range m.ExternalCAs {
  7566  			dAtA[i] = 0x12
  7567  			i++
  7568  			i = encodeVarintTypes(dAtA, i, uint64(msg.Size()))
  7569  			n, err := msg.MarshalTo(dAtA[i:])
  7570  			if err != nil {
  7571  				return 0, err
  7572  			}
  7573  			i += n
  7574  		}
  7575  	}
  7576  	if len(m.SigningCACert) > 0 {
  7577  		dAtA[i] = 0x1a
  7578  		i++
  7579  		i = encodeVarintTypes(dAtA, i, uint64(len(m.SigningCACert)))
  7580  		i += copy(dAtA[i:], m.SigningCACert)
  7581  	}
  7582  	if len(m.SigningCAKey) > 0 {
  7583  		dAtA[i] = 0x22
  7584  		i++
  7585  		i = encodeVarintTypes(dAtA, i, uint64(len(m.SigningCAKey)))
  7586  		i += copy(dAtA[i:], m.SigningCAKey)
  7587  	}
  7588  	if m.ForceRotate != 0 {
  7589  		dAtA[i] = 0x28
  7590  		i++
  7591  		i = encodeVarintTypes(dAtA, i, uint64(m.ForceRotate))
  7592  	}
  7593  	return i, nil
  7594  }
  7595  
  7596  func (m *OrchestrationConfig) Marshal() (dAtA []byte, err error) {
  7597  	size := m.Size()
  7598  	dAtA = make([]byte, size)
  7599  	n, err := m.MarshalTo(dAtA)
  7600  	if err != nil {
  7601  		return nil, err
  7602  	}
  7603  	return dAtA[:n], nil
  7604  }
  7605  
  7606  func (m *OrchestrationConfig) MarshalTo(dAtA []byte) (int, error) {
  7607  	var i int
  7608  	_ = i
  7609  	var l int
  7610  	_ = l
  7611  	if m.TaskHistoryRetentionLimit != 0 {
  7612  		dAtA[i] = 0x8
  7613  		i++
  7614  		i = encodeVarintTypes(dAtA, i, uint64(m.TaskHistoryRetentionLimit))
  7615  	}
  7616  	return i, nil
  7617  }
  7618  
  7619  func (m *TaskDefaults) Marshal() (dAtA []byte, err error) {
  7620  	size := m.Size()
  7621  	dAtA = make([]byte, size)
  7622  	n, err := m.MarshalTo(dAtA)
  7623  	if err != nil {
  7624  		return nil, err
  7625  	}
  7626  	return dAtA[:n], nil
  7627  }
  7628  
  7629  func (m *TaskDefaults) MarshalTo(dAtA []byte) (int, error) {
  7630  	var i int
  7631  	_ = i
  7632  	var l int
  7633  	_ = l
  7634  	if m.LogDriver != nil {
  7635  		dAtA[i] = 0xa
  7636  		i++
  7637  		i = encodeVarintTypes(dAtA, i, uint64(m.LogDriver.Size()))
  7638  		n31, err := m.LogDriver.MarshalTo(dAtA[i:])
  7639  		if err != nil {
  7640  			return 0, err
  7641  		}
  7642  		i += n31
  7643  	}
  7644  	return i, nil
  7645  }
  7646  
  7647  func (m *DispatcherConfig) Marshal() (dAtA []byte, err error) {
  7648  	size := m.Size()
  7649  	dAtA = make([]byte, size)
  7650  	n, err := m.MarshalTo(dAtA)
  7651  	if err != nil {
  7652  		return nil, err
  7653  	}
  7654  	return dAtA[:n], nil
  7655  }
  7656  
  7657  func (m *DispatcherConfig) MarshalTo(dAtA []byte) (int, error) {
  7658  	var i int
  7659  	_ = i
  7660  	var l int
  7661  	_ = l
  7662  	if m.HeartbeatPeriod != nil {
  7663  		dAtA[i] = 0xa
  7664  		i++
  7665  		i = encodeVarintTypes(dAtA, i, uint64(m.HeartbeatPeriod.Size()))
  7666  		n32, err := m.HeartbeatPeriod.MarshalTo(dAtA[i:])
  7667  		if err != nil {
  7668  			return 0, err
  7669  		}
  7670  		i += n32
  7671  	}
  7672  	return i, nil
  7673  }
  7674  
  7675  func (m *RaftConfig) Marshal() (dAtA []byte, err error) {
  7676  	size := m.Size()
  7677  	dAtA = make([]byte, size)
  7678  	n, err := m.MarshalTo(dAtA)
  7679  	if err != nil {
  7680  		return nil, err
  7681  	}
  7682  	return dAtA[:n], nil
  7683  }
  7684  
  7685  func (m *RaftConfig) MarshalTo(dAtA []byte) (int, error) {
  7686  	var i int
  7687  	_ = i
  7688  	var l int
  7689  	_ = l
  7690  	if m.SnapshotInterval != 0 {
  7691  		dAtA[i] = 0x8
  7692  		i++
  7693  		i = encodeVarintTypes(dAtA, i, uint64(m.SnapshotInterval))
  7694  	}
  7695  	if m.KeepOldSnapshots != 0 {
  7696  		dAtA[i] = 0x10
  7697  		i++
  7698  		i = encodeVarintTypes(dAtA, i, uint64(m.KeepOldSnapshots))
  7699  	}
  7700  	if m.LogEntriesForSlowFollowers != 0 {
  7701  		dAtA[i] = 0x18
  7702  		i++
  7703  		i = encodeVarintTypes(dAtA, i, uint64(m.LogEntriesForSlowFollowers))
  7704  	}
  7705  	if m.HeartbeatTick != 0 {
  7706  		dAtA[i] = 0x20
  7707  		i++
  7708  		i = encodeVarintTypes(dAtA, i, uint64(m.HeartbeatTick))
  7709  	}
  7710  	if m.ElectionTick != 0 {
  7711  		dAtA[i] = 0x28
  7712  		i++
  7713  		i = encodeVarintTypes(dAtA, i, uint64(m.ElectionTick))
  7714  	}
  7715  	return i, nil
  7716  }
  7717  
  7718  func (m *EncryptionConfig) Marshal() (dAtA []byte, err error) {
  7719  	size := m.Size()
  7720  	dAtA = make([]byte, size)
  7721  	n, err := m.MarshalTo(dAtA)
  7722  	if err != nil {
  7723  		return nil, err
  7724  	}
  7725  	return dAtA[:n], nil
  7726  }
  7727  
  7728  func (m *EncryptionConfig) MarshalTo(dAtA []byte) (int, error) {
  7729  	var i int
  7730  	_ = i
  7731  	var l int
  7732  	_ = l
  7733  	if m.AutoLockManagers {
  7734  		dAtA[i] = 0x8
  7735  		i++
  7736  		if m.AutoLockManagers {
  7737  			dAtA[i] = 1
  7738  		} else {
  7739  			dAtA[i] = 0
  7740  		}
  7741  		i++
  7742  	}
  7743  	return i, nil
  7744  }
  7745  
  7746  func (m *SpreadOver) Marshal() (dAtA []byte, err error) {
  7747  	size := m.Size()
  7748  	dAtA = make([]byte, size)
  7749  	n, err := m.MarshalTo(dAtA)
  7750  	if err != nil {
  7751  		return nil, err
  7752  	}
  7753  	return dAtA[:n], nil
  7754  }
  7755  
  7756  func (m *SpreadOver) MarshalTo(dAtA []byte) (int, error) {
  7757  	var i int
  7758  	_ = i
  7759  	var l int
  7760  	_ = l
  7761  	if len(m.SpreadDescriptor) > 0 {
  7762  		dAtA[i] = 0xa
  7763  		i++
  7764  		i = encodeVarintTypes(dAtA, i, uint64(len(m.SpreadDescriptor)))
  7765  		i += copy(dAtA[i:], m.SpreadDescriptor)
  7766  	}
  7767  	return i, nil
  7768  }
  7769  
  7770  func (m *PlacementPreference) Marshal() (dAtA []byte, err error) {
  7771  	size := m.Size()
  7772  	dAtA = make([]byte, size)
  7773  	n, err := m.MarshalTo(dAtA)
  7774  	if err != nil {
  7775  		return nil, err
  7776  	}
  7777  	return dAtA[:n], nil
  7778  }
  7779  
  7780  func (m *PlacementPreference) MarshalTo(dAtA []byte) (int, error) {
  7781  	var i int
  7782  	_ = i
  7783  	var l int
  7784  	_ = l
  7785  	if m.Preference != nil {
  7786  		nn33, err := m.Preference.MarshalTo(dAtA[i:])
  7787  		if err != nil {
  7788  			return 0, err
  7789  		}
  7790  		i += nn33
  7791  	}
  7792  	return i, nil
  7793  }
  7794  
  7795  func (m *PlacementPreference_Spread) MarshalTo(dAtA []byte) (int, error) {
  7796  	i := 0
  7797  	if m.Spread != nil {
  7798  		dAtA[i] = 0xa
  7799  		i++
  7800  		i = encodeVarintTypes(dAtA, i, uint64(m.Spread.Size()))
  7801  		n34, err := m.Spread.MarshalTo(dAtA[i:])
  7802  		if err != nil {
  7803  			return 0, err
  7804  		}
  7805  		i += n34
  7806  	}
  7807  	return i, nil
  7808  }
  7809  func (m *Placement) Marshal() (dAtA []byte, err error) {
  7810  	size := m.Size()
  7811  	dAtA = make([]byte, size)
  7812  	n, err := m.MarshalTo(dAtA)
  7813  	if err != nil {
  7814  		return nil, err
  7815  	}
  7816  	return dAtA[:n], nil
  7817  }
  7818  
  7819  func (m *Placement) MarshalTo(dAtA []byte) (int, error) {
  7820  	var i int
  7821  	_ = i
  7822  	var l int
  7823  	_ = l
  7824  	if len(m.Constraints) > 0 {
  7825  		for _, s := range m.Constraints {
  7826  			dAtA[i] = 0xa
  7827  			i++
  7828  			l = len(s)
  7829  			for l >= 1<<7 {
  7830  				dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  7831  				l >>= 7
  7832  				i++
  7833  			}
  7834  			dAtA[i] = uint8(l)
  7835  			i++
  7836  			i += copy(dAtA[i:], s)
  7837  		}
  7838  	}
  7839  	if len(m.Preferences) > 0 {
  7840  		for _, msg := range m.Preferences {
  7841  			dAtA[i] = 0x12
  7842  			i++
  7843  			i = encodeVarintTypes(dAtA, i, uint64(msg.Size()))
  7844  			n, err := msg.MarshalTo(dAtA[i:])
  7845  			if err != nil {
  7846  				return 0, err
  7847  			}
  7848  			i += n
  7849  		}
  7850  	}
  7851  	if len(m.Platforms) > 0 {
  7852  		for _, msg := range m.Platforms {
  7853  			dAtA[i] = 0x1a
  7854  			i++
  7855  			i = encodeVarintTypes(dAtA, i, uint64(msg.Size()))
  7856  			n, err := msg.MarshalTo(dAtA[i:])
  7857  			if err != nil {
  7858  				return 0, err
  7859  			}
  7860  			i += n
  7861  		}
  7862  	}
  7863  	if m.MaxReplicas != 0 {
  7864  		dAtA[i] = 0x20
  7865  		i++
  7866  		i = encodeVarintTypes(dAtA, i, uint64(m.MaxReplicas))
  7867  	}
  7868  	return i, nil
  7869  }
  7870  
  7871  func (m *JoinTokens) Marshal() (dAtA []byte, err error) {
  7872  	size := m.Size()
  7873  	dAtA = make([]byte, size)
  7874  	n, err := m.MarshalTo(dAtA)
  7875  	if err != nil {
  7876  		return nil, err
  7877  	}
  7878  	return dAtA[:n], nil
  7879  }
  7880  
  7881  func (m *JoinTokens) MarshalTo(dAtA []byte) (int, error) {
  7882  	var i int
  7883  	_ = i
  7884  	var l int
  7885  	_ = l
  7886  	if len(m.Worker) > 0 {
  7887  		dAtA[i] = 0xa
  7888  		i++
  7889  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Worker)))
  7890  		i += copy(dAtA[i:], m.Worker)
  7891  	}
  7892  	if len(m.Manager) > 0 {
  7893  		dAtA[i] = 0x12
  7894  		i++
  7895  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Manager)))
  7896  		i += copy(dAtA[i:], m.Manager)
  7897  	}
  7898  	return i, nil
  7899  }
  7900  
  7901  func (m *RootCA) Marshal() (dAtA []byte, err error) {
  7902  	size := m.Size()
  7903  	dAtA = make([]byte, size)
  7904  	n, err := m.MarshalTo(dAtA)
  7905  	if err != nil {
  7906  		return nil, err
  7907  	}
  7908  	return dAtA[:n], nil
  7909  }
  7910  
  7911  func (m *RootCA) MarshalTo(dAtA []byte) (int, error) {
  7912  	var i int
  7913  	_ = i
  7914  	var l int
  7915  	_ = l
  7916  	if len(m.CAKey) > 0 {
  7917  		dAtA[i] = 0xa
  7918  		i++
  7919  		i = encodeVarintTypes(dAtA, i, uint64(len(m.CAKey)))
  7920  		i += copy(dAtA[i:], m.CAKey)
  7921  	}
  7922  	if len(m.CACert) > 0 {
  7923  		dAtA[i] = 0x12
  7924  		i++
  7925  		i = encodeVarintTypes(dAtA, i, uint64(len(m.CACert)))
  7926  		i += copy(dAtA[i:], m.CACert)
  7927  	}
  7928  	if len(m.CACertHash) > 0 {
  7929  		dAtA[i] = 0x1a
  7930  		i++
  7931  		i = encodeVarintTypes(dAtA, i, uint64(len(m.CACertHash)))
  7932  		i += copy(dAtA[i:], m.CACertHash)
  7933  	}
  7934  	dAtA[i] = 0x22
  7935  	i++
  7936  	i = encodeVarintTypes(dAtA, i, uint64(m.JoinTokens.Size()))
  7937  	n35, err := m.JoinTokens.MarshalTo(dAtA[i:])
  7938  	if err != nil {
  7939  		return 0, err
  7940  	}
  7941  	i += n35
  7942  	if m.RootRotation != nil {
  7943  		dAtA[i] = 0x2a
  7944  		i++
  7945  		i = encodeVarintTypes(dAtA, i, uint64(m.RootRotation.Size()))
  7946  		n36, err := m.RootRotation.MarshalTo(dAtA[i:])
  7947  		if err != nil {
  7948  			return 0, err
  7949  		}
  7950  		i += n36
  7951  	}
  7952  	if m.LastForcedRotation != 0 {
  7953  		dAtA[i] = 0x30
  7954  		i++
  7955  		i = encodeVarintTypes(dAtA, i, uint64(m.LastForcedRotation))
  7956  	}
  7957  	return i, nil
  7958  }
  7959  
  7960  func (m *Certificate) Marshal() (dAtA []byte, err error) {
  7961  	size := m.Size()
  7962  	dAtA = make([]byte, size)
  7963  	n, err := m.MarshalTo(dAtA)
  7964  	if err != nil {
  7965  		return nil, err
  7966  	}
  7967  	return dAtA[:n], nil
  7968  }
  7969  
  7970  func (m *Certificate) MarshalTo(dAtA []byte) (int, error) {
  7971  	var i int
  7972  	_ = i
  7973  	var l int
  7974  	_ = l
  7975  	if m.Role != 0 {
  7976  		dAtA[i] = 0x8
  7977  		i++
  7978  		i = encodeVarintTypes(dAtA, i, uint64(m.Role))
  7979  	}
  7980  	if len(m.CSR) > 0 {
  7981  		dAtA[i] = 0x12
  7982  		i++
  7983  		i = encodeVarintTypes(dAtA, i, uint64(len(m.CSR)))
  7984  		i += copy(dAtA[i:], m.CSR)
  7985  	}
  7986  	dAtA[i] = 0x1a
  7987  	i++
  7988  	i = encodeVarintTypes(dAtA, i, uint64(m.Status.Size()))
  7989  	n37, err := m.Status.MarshalTo(dAtA[i:])
  7990  	if err != nil {
  7991  		return 0, err
  7992  	}
  7993  	i += n37
  7994  	if len(m.Certificate) > 0 {
  7995  		dAtA[i] = 0x22
  7996  		i++
  7997  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Certificate)))
  7998  		i += copy(dAtA[i:], m.Certificate)
  7999  	}
  8000  	if len(m.CN) > 0 {
  8001  		dAtA[i] = 0x2a
  8002  		i++
  8003  		i = encodeVarintTypes(dAtA, i, uint64(len(m.CN)))
  8004  		i += copy(dAtA[i:], m.CN)
  8005  	}
  8006  	return i, nil
  8007  }
  8008  
  8009  func (m *EncryptionKey) Marshal() (dAtA []byte, err error) {
  8010  	size := m.Size()
  8011  	dAtA = make([]byte, size)
  8012  	n, err := m.MarshalTo(dAtA)
  8013  	if err != nil {
  8014  		return nil, err
  8015  	}
  8016  	return dAtA[:n], nil
  8017  }
  8018  
  8019  func (m *EncryptionKey) MarshalTo(dAtA []byte) (int, error) {
  8020  	var i int
  8021  	_ = i
  8022  	var l int
  8023  	_ = l
  8024  	if len(m.Subsystem) > 0 {
  8025  		dAtA[i] = 0xa
  8026  		i++
  8027  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Subsystem)))
  8028  		i += copy(dAtA[i:], m.Subsystem)
  8029  	}
  8030  	if m.Algorithm != 0 {
  8031  		dAtA[i] = 0x10
  8032  		i++
  8033  		i = encodeVarintTypes(dAtA, i, uint64(m.Algorithm))
  8034  	}
  8035  	if len(m.Key) > 0 {
  8036  		dAtA[i] = 0x1a
  8037  		i++
  8038  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Key)))
  8039  		i += copy(dAtA[i:], m.Key)
  8040  	}
  8041  	if m.LamportTime != 0 {
  8042  		dAtA[i] = 0x20
  8043  		i++
  8044  		i = encodeVarintTypes(dAtA, i, uint64(m.LamportTime))
  8045  	}
  8046  	return i, nil
  8047  }
  8048  
  8049  func (m *ManagerStatus) Marshal() (dAtA []byte, err error) {
  8050  	size := m.Size()
  8051  	dAtA = make([]byte, size)
  8052  	n, err := m.MarshalTo(dAtA)
  8053  	if err != nil {
  8054  		return nil, err
  8055  	}
  8056  	return dAtA[:n], nil
  8057  }
  8058  
  8059  func (m *ManagerStatus) MarshalTo(dAtA []byte) (int, error) {
  8060  	var i int
  8061  	_ = i
  8062  	var l int
  8063  	_ = l
  8064  	if m.RaftID != 0 {
  8065  		dAtA[i] = 0x8
  8066  		i++
  8067  		i = encodeVarintTypes(dAtA, i, uint64(m.RaftID))
  8068  	}
  8069  	if len(m.Addr) > 0 {
  8070  		dAtA[i] = 0x12
  8071  		i++
  8072  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Addr)))
  8073  		i += copy(dAtA[i:], m.Addr)
  8074  	}
  8075  	if m.Leader {
  8076  		dAtA[i] = 0x18
  8077  		i++
  8078  		if m.Leader {
  8079  			dAtA[i] = 1
  8080  		} else {
  8081  			dAtA[i] = 0
  8082  		}
  8083  		i++
  8084  	}
  8085  	if m.Reachability != 0 {
  8086  		dAtA[i] = 0x20
  8087  		i++
  8088  		i = encodeVarintTypes(dAtA, i, uint64(m.Reachability))
  8089  	}
  8090  	return i, nil
  8091  }
  8092  
  8093  func (m *FileTarget) Marshal() (dAtA []byte, err error) {
  8094  	size := m.Size()
  8095  	dAtA = make([]byte, size)
  8096  	n, err := m.MarshalTo(dAtA)
  8097  	if err != nil {
  8098  		return nil, err
  8099  	}
  8100  	return dAtA[:n], nil
  8101  }
  8102  
  8103  func (m *FileTarget) MarshalTo(dAtA []byte) (int, error) {
  8104  	var i int
  8105  	_ = i
  8106  	var l int
  8107  	_ = l
  8108  	if len(m.Name) > 0 {
  8109  		dAtA[i] = 0xa
  8110  		i++
  8111  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Name)))
  8112  		i += copy(dAtA[i:], m.Name)
  8113  	}
  8114  	if len(m.UID) > 0 {
  8115  		dAtA[i] = 0x12
  8116  		i++
  8117  		i = encodeVarintTypes(dAtA, i, uint64(len(m.UID)))
  8118  		i += copy(dAtA[i:], m.UID)
  8119  	}
  8120  	if len(m.GID) > 0 {
  8121  		dAtA[i] = 0x1a
  8122  		i++
  8123  		i = encodeVarintTypes(dAtA, i, uint64(len(m.GID)))
  8124  		i += copy(dAtA[i:], m.GID)
  8125  	}
  8126  	if m.Mode != 0 {
  8127  		dAtA[i] = 0x20
  8128  		i++
  8129  		i = encodeVarintTypes(dAtA, i, uint64(m.Mode))
  8130  	}
  8131  	return i, nil
  8132  }
  8133  
  8134  func (m *RuntimeTarget) Marshal() (dAtA []byte, err error) {
  8135  	size := m.Size()
  8136  	dAtA = make([]byte, size)
  8137  	n, err := m.MarshalTo(dAtA)
  8138  	if err != nil {
  8139  		return nil, err
  8140  	}
  8141  	return dAtA[:n], nil
  8142  }
  8143  
  8144  func (m *RuntimeTarget) MarshalTo(dAtA []byte) (int, error) {
  8145  	var i int
  8146  	_ = i
  8147  	var l int
  8148  	_ = l
  8149  	return i, nil
  8150  }
  8151  
  8152  func (m *SecretReference) Marshal() (dAtA []byte, err error) {
  8153  	size := m.Size()
  8154  	dAtA = make([]byte, size)
  8155  	n, err := m.MarshalTo(dAtA)
  8156  	if err != nil {
  8157  		return nil, err
  8158  	}
  8159  	return dAtA[:n], nil
  8160  }
  8161  
  8162  func (m *SecretReference) MarshalTo(dAtA []byte) (int, error) {
  8163  	var i int
  8164  	_ = i
  8165  	var l int
  8166  	_ = l
  8167  	if len(m.SecretID) > 0 {
  8168  		dAtA[i] = 0xa
  8169  		i++
  8170  		i = encodeVarintTypes(dAtA, i, uint64(len(m.SecretID)))
  8171  		i += copy(dAtA[i:], m.SecretID)
  8172  	}
  8173  	if len(m.SecretName) > 0 {
  8174  		dAtA[i] = 0x12
  8175  		i++
  8176  		i = encodeVarintTypes(dAtA, i, uint64(len(m.SecretName)))
  8177  		i += copy(dAtA[i:], m.SecretName)
  8178  	}
  8179  	if m.Target != nil {
  8180  		nn38, err := m.Target.MarshalTo(dAtA[i:])
  8181  		if err != nil {
  8182  			return 0, err
  8183  		}
  8184  		i += nn38
  8185  	}
  8186  	return i, nil
  8187  }
  8188  
  8189  func (m *SecretReference_File) MarshalTo(dAtA []byte) (int, error) {
  8190  	i := 0
  8191  	if m.File != nil {
  8192  		dAtA[i] = 0x1a
  8193  		i++
  8194  		i = encodeVarintTypes(dAtA, i, uint64(m.File.Size()))
  8195  		n39, err := m.File.MarshalTo(dAtA[i:])
  8196  		if err != nil {
  8197  			return 0, err
  8198  		}
  8199  		i += n39
  8200  	}
  8201  	return i, nil
  8202  }
  8203  func (m *ConfigReference) Marshal() (dAtA []byte, err error) {
  8204  	size := m.Size()
  8205  	dAtA = make([]byte, size)
  8206  	n, err := m.MarshalTo(dAtA)
  8207  	if err != nil {
  8208  		return nil, err
  8209  	}
  8210  	return dAtA[:n], nil
  8211  }
  8212  
  8213  func (m *ConfigReference) MarshalTo(dAtA []byte) (int, error) {
  8214  	var i int
  8215  	_ = i
  8216  	var l int
  8217  	_ = l
  8218  	if len(m.ConfigID) > 0 {
  8219  		dAtA[i] = 0xa
  8220  		i++
  8221  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ConfigID)))
  8222  		i += copy(dAtA[i:], m.ConfigID)
  8223  	}
  8224  	if len(m.ConfigName) > 0 {
  8225  		dAtA[i] = 0x12
  8226  		i++
  8227  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ConfigName)))
  8228  		i += copy(dAtA[i:], m.ConfigName)
  8229  	}
  8230  	if m.Target != nil {
  8231  		nn40, err := m.Target.MarshalTo(dAtA[i:])
  8232  		if err != nil {
  8233  			return 0, err
  8234  		}
  8235  		i += nn40
  8236  	}
  8237  	return i, nil
  8238  }
  8239  
  8240  func (m *ConfigReference_File) MarshalTo(dAtA []byte) (int, error) {
  8241  	i := 0
  8242  	if m.File != nil {
  8243  		dAtA[i] = 0x1a
  8244  		i++
  8245  		i = encodeVarintTypes(dAtA, i, uint64(m.File.Size()))
  8246  		n41, err := m.File.MarshalTo(dAtA[i:])
  8247  		if err != nil {
  8248  			return 0, err
  8249  		}
  8250  		i += n41
  8251  	}
  8252  	return i, nil
  8253  }
  8254  func (m *ConfigReference_Runtime) MarshalTo(dAtA []byte) (int, error) {
  8255  	i := 0
  8256  	if m.Runtime != nil {
  8257  		dAtA[i] = 0x22
  8258  		i++
  8259  		i = encodeVarintTypes(dAtA, i, uint64(m.Runtime.Size()))
  8260  		n42, err := m.Runtime.MarshalTo(dAtA[i:])
  8261  		if err != nil {
  8262  			return 0, err
  8263  		}
  8264  		i += n42
  8265  	}
  8266  	return i, nil
  8267  }
  8268  func (m *BlacklistedCertificate) Marshal() (dAtA []byte, err error) {
  8269  	size := m.Size()
  8270  	dAtA = make([]byte, size)
  8271  	n, err := m.MarshalTo(dAtA)
  8272  	if err != nil {
  8273  		return nil, err
  8274  	}
  8275  	return dAtA[:n], nil
  8276  }
  8277  
  8278  func (m *BlacklistedCertificate) MarshalTo(dAtA []byte) (int, error) {
  8279  	var i int
  8280  	_ = i
  8281  	var l int
  8282  	_ = l
  8283  	if m.Expiry != nil {
  8284  		dAtA[i] = 0xa
  8285  		i++
  8286  		i = encodeVarintTypes(dAtA, i, uint64(m.Expiry.Size()))
  8287  		n43, err := m.Expiry.MarshalTo(dAtA[i:])
  8288  		if err != nil {
  8289  			return 0, err
  8290  		}
  8291  		i += n43
  8292  	}
  8293  	return i, nil
  8294  }
  8295  
  8296  func (m *HealthConfig) Marshal() (dAtA []byte, err error) {
  8297  	size := m.Size()
  8298  	dAtA = make([]byte, size)
  8299  	n, err := m.MarshalTo(dAtA)
  8300  	if err != nil {
  8301  		return nil, err
  8302  	}
  8303  	return dAtA[:n], nil
  8304  }
  8305  
  8306  func (m *HealthConfig) MarshalTo(dAtA []byte) (int, error) {
  8307  	var i int
  8308  	_ = i
  8309  	var l int
  8310  	_ = l
  8311  	if len(m.Test) > 0 {
  8312  		for _, s := range m.Test {
  8313  			dAtA[i] = 0xa
  8314  			i++
  8315  			l = len(s)
  8316  			for l >= 1<<7 {
  8317  				dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  8318  				l >>= 7
  8319  				i++
  8320  			}
  8321  			dAtA[i] = uint8(l)
  8322  			i++
  8323  			i += copy(dAtA[i:], s)
  8324  		}
  8325  	}
  8326  	if m.Interval != nil {
  8327  		dAtA[i] = 0x12
  8328  		i++
  8329  		i = encodeVarintTypes(dAtA, i, uint64(m.Interval.Size()))
  8330  		n44, err := m.Interval.MarshalTo(dAtA[i:])
  8331  		if err != nil {
  8332  			return 0, err
  8333  		}
  8334  		i += n44
  8335  	}
  8336  	if m.Timeout != nil {
  8337  		dAtA[i] = 0x1a
  8338  		i++
  8339  		i = encodeVarintTypes(dAtA, i, uint64(m.Timeout.Size()))
  8340  		n45, err := m.Timeout.MarshalTo(dAtA[i:])
  8341  		if err != nil {
  8342  			return 0, err
  8343  		}
  8344  		i += n45
  8345  	}
  8346  	if m.Retries != 0 {
  8347  		dAtA[i] = 0x20
  8348  		i++
  8349  		i = encodeVarintTypes(dAtA, i, uint64(m.Retries))
  8350  	}
  8351  	if m.StartPeriod != nil {
  8352  		dAtA[i] = 0x2a
  8353  		i++
  8354  		i = encodeVarintTypes(dAtA, i, uint64(m.StartPeriod.Size()))
  8355  		n46, err := m.StartPeriod.MarshalTo(dAtA[i:])
  8356  		if err != nil {
  8357  			return 0, err
  8358  		}
  8359  		i += n46
  8360  	}
  8361  	return i, nil
  8362  }
  8363  
  8364  func (m *MaybeEncryptedRecord) Marshal() (dAtA []byte, err error) {
  8365  	size := m.Size()
  8366  	dAtA = make([]byte, size)
  8367  	n, err := m.MarshalTo(dAtA)
  8368  	if err != nil {
  8369  		return nil, err
  8370  	}
  8371  	return dAtA[:n], nil
  8372  }
  8373  
  8374  func (m *MaybeEncryptedRecord) MarshalTo(dAtA []byte) (int, error) {
  8375  	var i int
  8376  	_ = i
  8377  	var l int
  8378  	_ = l
  8379  	if m.Algorithm != 0 {
  8380  		dAtA[i] = 0x8
  8381  		i++
  8382  		i = encodeVarintTypes(dAtA, i, uint64(m.Algorithm))
  8383  	}
  8384  	if len(m.Data) > 0 {
  8385  		dAtA[i] = 0x12
  8386  		i++
  8387  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  8388  		i += copy(dAtA[i:], m.Data)
  8389  	}
  8390  	if len(m.Nonce) > 0 {
  8391  		dAtA[i] = 0x1a
  8392  		i++
  8393  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Nonce)))
  8394  		i += copy(dAtA[i:], m.Nonce)
  8395  	}
  8396  	return i, nil
  8397  }
  8398  
  8399  func (m *RootRotation) Marshal() (dAtA []byte, err error) {
  8400  	size := m.Size()
  8401  	dAtA = make([]byte, size)
  8402  	n, err := m.MarshalTo(dAtA)
  8403  	if err != nil {
  8404  		return nil, err
  8405  	}
  8406  	return dAtA[:n], nil
  8407  }
  8408  
  8409  func (m *RootRotation) MarshalTo(dAtA []byte) (int, error) {
  8410  	var i int
  8411  	_ = i
  8412  	var l int
  8413  	_ = l
  8414  	if len(m.CACert) > 0 {
  8415  		dAtA[i] = 0xa
  8416  		i++
  8417  		i = encodeVarintTypes(dAtA, i, uint64(len(m.CACert)))
  8418  		i += copy(dAtA[i:], m.CACert)
  8419  	}
  8420  	if len(m.CAKey) > 0 {
  8421  		dAtA[i] = 0x12
  8422  		i++
  8423  		i = encodeVarintTypes(dAtA, i, uint64(len(m.CAKey)))
  8424  		i += copy(dAtA[i:], m.CAKey)
  8425  	}
  8426  	if len(m.CrossSignedCACert) > 0 {
  8427  		dAtA[i] = 0x1a
  8428  		i++
  8429  		i = encodeVarintTypes(dAtA, i, uint64(len(m.CrossSignedCACert)))
  8430  		i += copy(dAtA[i:], m.CrossSignedCACert)
  8431  	}
  8432  	return i, nil
  8433  }
  8434  
  8435  func (m *Privileges) Marshal() (dAtA []byte, err error) {
  8436  	size := m.Size()
  8437  	dAtA = make([]byte, size)
  8438  	n, err := m.MarshalTo(dAtA)
  8439  	if err != nil {
  8440  		return nil, err
  8441  	}
  8442  	return dAtA[:n], nil
  8443  }
  8444  
  8445  func (m *Privileges) MarshalTo(dAtA []byte) (int, error) {
  8446  	var i int
  8447  	_ = i
  8448  	var l int
  8449  	_ = l
  8450  	if m.CredentialSpec != nil {
  8451  		dAtA[i] = 0xa
  8452  		i++
  8453  		i = encodeVarintTypes(dAtA, i, uint64(m.CredentialSpec.Size()))
  8454  		n47, err := m.CredentialSpec.MarshalTo(dAtA[i:])
  8455  		if err != nil {
  8456  			return 0, err
  8457  		}
  8458  		i += n47
  8459  	}
  8460  	if m.SELinuxContext != nil {
  8461  		dAtA[i] = 0x12
  8462  		i++
  8463  		i = encodeVarintTypes(dAtA, i, uint64(m.SELinuxContext.Size()))
  8464  		n48, err := m.SELinuxContext.MarshalTo(dAtA[i:])
  8465  		if err != nil {
  8466  			return 0, err
  8467  		}
  8468  		i += n48
  8469  	}
  8470  	return i, nil
  8471  }
  8472  
  8473  func (m *Privileges_CredentialSpec) Marshal() (dAtA []byte, err error) {
  8474  	size := m.Size()
  8475  	dAtA = make([]byte, size)
  8476  	n, err := m.MarshalTo(dAtA)
  8477  	if err != nil {
  8478  		return nil, err
  8479  	}
  8480  	return dAtA[:n], nil
  8481  }
  8482  
  8483  func (m *Privileges_CredentialSpec) MarshalTo(dAtA []byte) (int, error) {
  8484  	var i int
  8485  	_ = i
  8486  	var l int
  8487  	_ = l
  8488  	if m.Source != nil {
  8489  		nn49, err := m.Source.MarshalTo(dAtA[i:])
  8490  		if err != nil {
  8491  			return 0, err
  8492  		}
  8493  		i += nn49
  8494  	}
  8495  	return i, nil
  8496  }
  8497  
  8498  func (m *Privileges_CredentialSpec_File) MarshalTo(dAtA []byte) (int, error) {
  8499  	i := 0
  8500  	dAtA[i] = 0xa
  8501  	i++
  8502  	i = encodeVarintTypes(dAtA, i, uint64(len(m.File)))
  8503  	i += copy(dAtA[i:], m.File)
  8504  	return i, nil
  8505  }
  8506  func (m *Privileges_CredentialSpec_Registry) MarshalTo(dAtA []byte) (int, error) {
  8507  	i := 0
  8508  	dAtA[i] = 0x12
  8509  	i++
  8510  	i = encodeVarintTypes(dAtA, i, uint64(len(m.Registry)))
  8511  	i += copy(dAtA[i:], m.Registry)
  8512  	return i, nil
  8513  }
  8514  func (m *Privileges_CredentialSpec_Config) MarshalTo(dAtA []byte) (int, error) {
  8515  	i := 0
  8516  	dAtA[i] = 0x1a
  8517  	i++
  8518  	i = encodeVarintTypes(dAtA, i, uint64(len(m.Config)))
  8519  	i += copy(dAtA[i:], m.Config)
  8520  	return i, nil
  8521  }
  8522  func (m *Privileges_SELinuxContext) Marshal() (dAtA []byte, err error) {
  8523  	size := m.Size()
  8524  	dAtA = make([]byte, size)
  8525  	n, err := m.MarshalTo(dAtA)
  8526  	if err != nil {
  8527  		return nil, err
  8528  	}
  8529  	return dAtA[:n], nil
  8530  }
  8531  
  8532  func (m *Privileges_SELinuxContext) MarshalTo(dAtA []byte) (int, error) {
  8533  	var i int
  8534  	_ = i
  8535  	var l int
  8536  	_ = l
  8537  	if m.Disable {
  8538  		dAtA[i] = 0x8
  8539  		i++
  8540  		if m.Disable {
  8541  			dAtA[i] = 1
  8542  		} else {
  8543  			dAtA[i] = 0
  8544  		}
  8545  		i++
  8546  	}
  8547  	if len(m.User) > 0 {
  8548  		dAtA[i] = 0x12
  8549  		i++
  8550  		i = encodeVarintTypes(dAtA, i, uint64(len(m.User)))
  8551  		i += copy(dAtA[i:], m.User)
  8552  	}
  8553  	if len(m.Role) > 0 {
  8554  		dAtA[i] = 0x1a
  8555  		i++
  8556  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Role)))
  8557  		i += copy(dAtA[i:], m.Role)
  8558  	}
  8559  	if len(m.Type) > 0 {
  8560  		dAtA[i] = 0x22
  8561  		i++
  8562  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Type)))
  8563  		i += copy(dAtA[i:], m.Type)
  8564  	}
  8565  	if len(m.Level) > 0 {
  8566  		dAtA[i] = 0x2a
  8567  		i++
  8568  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Level)))
  8569  		i += copy(dAtA[i:], m.Level)
  8570  	}
  8571  	return i, nil
  8572  }
  8573  
  8574  func (m *JobStatus) Marshal() (dAtA []byte, err error) {
  8575  	size := m.Size()
  8576  	dAtA = make([]byte, size)
  8577  	n, err := m.MarshalTo(dAtA)
  8578  	if err != nil {
  8579  		return nil, err
  8580  	}
  8581  	return dAtA[:n], nil
  8582  }
  8583  
  8584  func (m *JobStatus) MarshalTo(dAtA []byte) (int, error) {
  8585  	var i int
  8586  	_ = i
  8587  	var l int
  8588  	_ = l
  8589  	dAtA[i] = 0xa
  8590  	i++
  8591  	i = encodeVarintTypes(dAtA, i, uint64(m.JobIteration.Size()))
  8592  	n50, err := m.JobIteration.MarshalTo(dAtA[i:])
  8593  	if err != nil {
  8594  		return 0, err
  8595  	}
  8596  	i += n50
  8597  	if m.LastExecution != nil {
  8598  		dAtA[i] = 0x12
  8599  		i++
  8600  		i = encodeVarintTypes(dAtA, i, uint64(m.LastExecution.Size()))
  8601  		n51, err := m.LastExecution.MarshalTo(dAtA[i:])
  8602  		if err != nil {
  8603  			return 0, err
  8604  		}
  8605  		i += n51
  8606  	}
  8607  	return i, nil
  8608  }
  8609  
  8610  func encodeVarintTypes(dAtA []byte, offset int, v uint64) int {
  8611  	for v >= 1<<7 {
  8612  		dAtA[offset] = uint8(v&0x7f | 0x80)
  8613  		v >>= 7
  8614  		offset++
  8615  	}
  8616  	dAtA[offset] = uint8(v)
  8617  	return offset + 1
  8618  }
  8619  func (m *Version) Size() (n int) {
  8620  	if m == nil {
  8621  		return 0
  8622  	}
  8623  	var l int
  8624  	_ = l
  8625  	if m.Index != 0 {
  8626  		n += 1 + sovTypes(uint64(m.Index))
  8627  	}
  8628  	return n
  8629  }
  8630  
  8631  func (m *IndexEntry) Size() (n int) {
  8632  	if m == nil {
  8633  		return 0
  8634  	}
  8635  	var l int
  8636  	_ = l
  8637  	l = len(m.Key)
  8638  	if l > 0 {
  8639  		n += 1 + l + sovTypes(uint64(l))
  8640  	}
  8641  	l = len(m.Val)
  8642  	if l > 0 {
  8643  		n += 1 + l + sovTypes(uint64(l))
  8644  	}
  8645  	return n
  8646  }
  8647  
  8648  func (m *Annotations) Size() (n int) {
  8649  	if m == nil {
  8650  		return 0
  8651  	}
  8652  	var l int
  8653  	_ = l
  8654  	l = len(m.Name)
  8655  	if l > 0 {
  8656  		n += 1 + l + sovTypes(uint64(l))
  8657  	}
  8658  	if len(m.Labels) > 0 {
  8659  		for k, v := range m.Labels {
  8660  			_ = k
  8661  			_ = v
  8662  			mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  8663  			n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize))
  8664  		}
  8665  	}
  8666  	if len(m.Indices) > 0 {
  8667  		for _, e := range m.Indices {
  8668  			l = e.Size()
  8669  			n += 1 + l + sovTypes(uint64(l))
  8670  		}
  8671  	}
  8672  	return n
  8673  }
  8674  
  8675  func (m *NamedGenericResource) Size() (n int) {
  8676  	if m == nil {
  8677  		return 0
  8678  	}
  8679  	var l int
  8680  	_ = l
  8681  	l = len(m.Kind)
  8682  	if l > 0 {
  8683  		n += 1 + l + sovTypes(uint64(l))
  8684  	}
  8685  	l = len(m.Value)
  8686  	if l > 0 {
  8687  		n += 1 + l + sovTypes(uint64(l))
  8688  	}
  8689  	return n
  8690  }
  8691  
  8692  func (m *DiscreteGenericResource) Size() (n int) {
  8693  	if m == nil {
  8694  		return 0
  8695  	}
  8696  	var l int
  8697  	_ = l
  8698  	l = len(m.Kind)
  8699  	if l > 0 {
  8700  		n += 1 + l + sovTypes(uint64(l))
  8701  	}
  8702  	if m.Value != 0 {
  8703  		n += 1 + sovTypes(uint64(m.Value))
  8704  	}
  8705  	return n
  8706  }
  8707  
  8708  func (m *GenericResource) Size() (n int) {
  8709  	if m == nil {
  8710  		return 0
  8711  	}
  8712  	var l int
  8713  	_ = l
  8714  	if m.Resource != nil {
  8715  		n += m.Resource.Size()
  8716  	}
  8717  	return n
  8718  }
  8719  
  8720  func (m *GenericResource_NamedResourceSpec) Size() (n int) {
  8721  	if m == nil {
  8722  		return 0
  8723  	}
  8724  	var l int
  8725  	_ = l
  8726  	if m.NamedResourceSpec != nil {
  8727  		l = m.NamedResourceSpec.Size()
  8728  		n += 1 + l + sovTypes(uint64(l))
  8729  	}
  8730  	return n
  8731  }
  8732  func (m *GenericResource_DiscreteResourceSpec) Size() (n int) {
  8733  	if m == nil {
  8734  		return 0
  8735  	}
  8736  	var l int
  8737  	_ = l
  8738  	if m.DiscreteResourceSpec != nil {
  8739  		l = m.DiscreteResourceSpec.Size()
  8740  		n += 1 + l + sovTypes(uint64(l))
  8741  	}
  8742  	return n
  8743  }
  8744  func (m *Resources) Size() (n int) {
  8745  	if m == nil {
  8746  		return 0
  8747  	}
  8748  	var l int
  8749  	_ = l
  8750  	if m.NanoCPUs != 0 {
  8751  		n += 1 + sovTypes(uint64(m.NanoCPUs))
  8752  	}
  8753  	if m.MemoryBytes != 0 {
  8754  		n += 1 + sovTypes(uint64(m.MemoryBytes))
  8755  	}
  8756  	if len(m.Generic) > 0 {
  8757  		for _, e := range m.Generic {
  8758  			l = e.Size()
  8759  			n += 1 + l + sovTypes(uint64(l))
  8760  		}
  8761  	}
  8762  	return n
  8763  }
  8764  
  8765  func (m *ResourceRequirements) Size() (n int) {
  8766  	if m == nil {
  8767  		return 0
  8768  	}
  8769  	var l int
  8770  	_ = l
  8771  	if m.Limits != nil {
  8772  		l = m.Limits.Size()
  8773  		n += 1 + l + sovTypes(uint64(l))
  8774  	}
  8775  	if m.Reservations != nil {
  8776  		l = m.Reservations.Size()
  8777  		n += 1 + l + sovTypes(uint64(l))
  8778  	}
  8779  	if m.SwapBytes != nil {
  8780  		l = m.SwapBytes.Size()
  8781  		n += 1 + l + sovTypes(uint64(l))
  8782  	}
  8783  	if m.MemorySwappiness != nil {
  8784  		l = m.MemorySwappiness.Size()
  8785  		n += 1 + l + sovTypes(uint64(l))
  8786  	}
  8787  	return n
  8788  }
  8789  
  8790  func (m *Platform) Size() (n int) {
  8791  	if m == nil {
  8792  		return 0
  8793  	}
  8794  	var l int
  8795  	_ = l
  8796  	l = len(m.Architecture)
  8797  	if l > 0 {
  8798  		n += 1 + l + sovTypes(uint64(l))
  8799  	}
  8800  	l = len(m.OS)
  8801  	if l > 0 {
  8802  		n += 1 + l + sovTypes(uint64(l))
  8803  	}
  8804  	return n
  8805  }
  8806  
  8807  func (m *PluginDescription) Size() (n int) {
  8808  	if m == nil {
  8809  		return 0
  8810  	}
  8811  	var l int
  8812  	_ = l
  8813  	l = len(m.Type)
  8814  	if l > 0 {
  8815  		n += 1 + l + sovTypes(uint64(l))
  8816  	}
  8817  	l = len(m.Name)
  8818  	if l > 0 {
  8819  		n += 1 + l + sovTypes(uint64(l))
  8820  	}
  8821  	return n
  8822  }
  8823  
  8824  func (m *EngineDescription) Size() (n int) {
  8825  	if m == nil {
  8826  		return 0
  8827  	}
  8828  	var l int
  8829  	_ = l
  8830  	l = len(m.EngineVersion)
  8831  	if l > 0 {
  8832  		n += 1 + l + sovTypes(uint64(l))
  8833  	}
  8834  	if len(m.Labels) > 0 {
  8835  		for k, v := range m.Labels {
  8836  			_ = k
  8837  			_ = v
  8838  			mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  8839  			n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize))
  8840  		}
  8841  	}
  8842  	if len(m.Plugins) > 0 {
  8843  		for _, e := range m.Plugins {
  8844  			l = e.Size()
  8845  			n += 1 + l + sovTypes(uint64(l))
  8846  		}
  8847  	}
  8848  	return n
  8849  }
  8850  
  8851  func (m *NodeDescription) Size() (n int) {
  8852  	if m == nil {
  8853  		return 0
  8854  	}
  8855  	var l int
  8856  	_ = l
  8857  	l = len(m.Hostname)
  8858  	if l > 0 {
  8859  		n += 1 + l + sovTypes(uint64(l))
  8860  	}
  8861  	if m.Platform != nil {
  8862  		l = m.Platform.Size()
  8863  		n += 1 + l + sovTypes(uint64(l))
  8864  	}
  8865  	if m.Resources != nil {
  8866  		l = m.Resources.Size()
  8867  		n += 1 + l + sovTypes(uint64(l))
  8868  	}
  8869  	if m.Engine != nil {
  8870  		l = m.Engine.Size()
  8871  		n += 1 + l + sovTypes(uint64(l))
  8872  	}
  8873  	if m.TLSInfo != nil {
  8874  		l = m.TLSInfo.Size()
  8875  		n += 1 + l + sovTypes(uint64(l))
  8876  	}
  8877  	if m.FIPS {
  8878  		n += 2
  8879  	}
  8880  	return n
  8881  }
  8882  
  8883  func (m *NodeTLSInfo) Size() (n int) {
  8884  	if m == nil {
  8885  		return 0
  8886  	}
  8887  	var l int
  8888  	_ = l
  8889  	l = len(m.TrustRoot)
  8890  	if l > 0 {
  8891  		n += 1 + l + sovTypes(uint64(l))
  8892  	}
  8893  	l = len(m.CertIssuerSubject)
  8894  	if l > 0 {
  8895  		n += 1 + l + sovTypes(uint64(l))
  8896  	}
  8897  	l = len(m.CertIssuerPublicKey)
  8898  	if l > 0 {
  8899  		n += 1 + l + sovTypes(uint64(l))
  8900  	}
  8901  	return n
  8902  }
  8903  
  8904  func (m *RaftMemberStatus) Size() (n int) {
  8905  	if m == nil {
  8906  		return 0
  8907  	}
  8908  	var l int
  8909  	_ = l
  8910  	if m.Leader {
  8911  		n += 2
  8912  	}
  8913  	if m.Reachability != 0 {
  8914  		n += 1 + sovTypes(uint64(m.Reachability))
  8915  	}
  8916  	l = len(m.Message)
  8917  	if l > 0 {
  8918  		n += 1 + l + sovTypes(uint64(l))
  8919  	}
  8920  	return n
  8921  }
  8922  
  8923  func (m *NodeStatus) Size() (n int) {
  8924  	if m == nil {
  8925  		return 0
  8926  	}
  8927  	var l int
  8928  	_ = l
  8929  	if m.State != 0 {
  8930  		n += 1 + sovTypes(uint64(m.State))
  8931  	}
  8932  	l = len(m.Message)
  8933  	if l > 0 {
  8934  		n += 1 + l + sovTypes(uint64(l))
  8935  	}
  8936  	l = len(m.Addr)
  8937  	if l > 0 {
  8938  		n += 1 + l + sovTypes(uint64(l))
  8939  	}
  8940  	return n
  8941  }
  8942  
  8943  func (m *Image) Size() (n int) {
  8944  	if m == nil {
  8945  		return 0
  8946  	}
  8947  	var l int
  8948  	_ = l
  8949  	l = len(m.Reference)
  8950  	if l > 0 {
  8951  		n += 1 + l + sovTypes(uint64(l))
  8952  	}
  8953  	return n
  8954  }
  8955  
  8956  func (m *Mount) Size() (n int) {
  8957  	if m == nil {
  8958  		return 0
  8959  	}
  8960  	var l int
  8961  	_ = l
  8962  	if m.Type != 0 {
  8963  		n += 1 + sovTypes(uint64(m.Type))
  8964  	}
  8965  	l = len(m.Source)
  8966  	if l > 0 {
  8967  		n += 1 + l + sovTypes(uint64(l))
  8968  	}
  8969  	l = len(m.Target)
  8970  	if l > 0 {
  8971  		n += 1 + l + sovTypes(uint64(l))
  8972  	}
  8973  	if m.ReadOnly {
  8974  		n += 2
  8975  	}
  8976  	if m.BindOptions != nil {
  8977  		l = m.BindOptions.Size()
  8978  		n += 1 + l + sovTypes(uint64(l))
  8979  	}
  8980  	if m.VolumeOptions != nil {
  8981  		l = m.VolumeOptions.Size()
  8982  		n += 1 + l + sovTypes(uint64(l))
  8983  	}
  8984  	if m.TmpfsOptions != nil {
  8985  		l = m.TmpfsOptions.Size()
  8986  		n += 1 + l + sovTypes(uint64(l))
  8987  	}
  8988  	if m.Consistency != 0 {
  8989  		n += 1 + sovTypes(uint64(m.Consistency))
  8990  	}
  8991  	return n
  8992  }
  8993  
  8994  func (m *Mount_BindOptions) Size() (n int) {
  8995  	if m == nil {
  8996  		return 0
  8997  	}
  8998  	var l int
  8999  	_ = l
  9000  	if m.Propagation != 0 {
  9001  		n += 1 + sovTypes(uint64(m.Propagation))
  9002  	}
  9003  	if m.NonRecursive {
  9004  		n += 2
  9005  	}
  9006  	return n
  9007  }
  9008  
  9009  func (m *Mount_VolumeOptions) Size() (n int) {
  9010  	if m == nil {
  9011  		return 0
  9012  	}
  9013  	var l int
  9014  	_ = l
  9015  	if m.NoCopy {
  9016  		n += 2
  9017  	}
  9018  	if len(m.Labels) > 0 {
  9019  		for k, v := range m.Labels {
  9020  			_ = k
  9021  			_ = v
  9022  			mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  9023  			n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize))
  9024  		}
  9025  	}
  9026  	if m.DriverConfig != nil {
  9027  		l = m.DriverConfig.Size()
  9028  		n += 1 + l + sovTypes(uint64(l))
  9029  	}
  9030  	return n
  9031  }
  9032  
  9033  func (m *Mount_TmpfsOptions) Size() (n int) {
  9034  	if m == nil {
  9035  		return 0
  9036  	}
  9037  	var l int
  9038  	_ = l
  9039  	if m.SizeBytes != 0 {
  9040  		n += 1 + sovTypes(uint64(m.SizeBytes))
  9041  	}
  9042  	if m.Mode != 0 {
  9043  		n += 1 + sovTypes(uint64(m.Mode))
  9044  	}
  9045  	l = len(m.Options)
  9046  	if l > 0 {
  9047  		n += 1 + l + sovTypes(uint64(l))
  9048  	}
  9049  	return n
  9050  }
  9051  
  9052  func (m *RestartPolicy) Size() (n int) {
  9053  	if m == nil {
  9054  		return 0
  9055  	}
  9056  	var l int
  9057  	_ = l
  9058  	if m.Condition != 0 {
  9059  		n += 1 + sovTypes(uint64(m.Condition))
  9060  	}
  9061  	if m.Delay != nil {
  9062  		l = m.Delay.Size()
  9063  		n += 1 + l + sovTypes(uint64(l))
  9064  	}
  9065  	if m.MaxAttempts != 0 {
  9066  		n += 1 + sovTypes(uint64(m.MaxAttempts))
  9067  	}
  9068  	if m.Window != nil {
  9069  		l = m.Window.Size()
  9070  		n += 1 + l + sovTypes(uint64(l))
  9071  	}
  9072  	return n
  9073  }
  9074  
  9075  func (m *UpdateConfig) Size() (n int) {
  9076  	if m == nil {
  9077  		return 0
  9078  	}
  9079  	var l int
  9080  	_ = l
  9081  	if m.Parallelism != 0 {
  9082  		n += 1 + sovTypes(uint64(m.Parallelism))
  9083  	}
  9084  	l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Delay)
  9085  	n += 1 + l + sovTypes(uint64(l))
  9086  	if m.FailureAction != 0 {
  9087  		n += 1 + sovTypes(uint64(m.FailureAction))
  9088  	}
  9089  	if m.Monitor != nil {
  9090  		l = m.Monitor.Size()
  9091  		n += 1 + l + sovTypes(uint64(l))
  9092  	}
  9093  	if m.MaxFailureRatio != 0 {
  9094  		n += 5
  9095  	}
  9096  	if m.Order != 0 {
  9097  		n += 1 + sovTypes(uint64(m.Order))
  9098  	}
  9099  	return n
  9100  }
  9101  
  9102  func (m *UpdateStatus) Size() (n int) {
  9103  	if m == nil {
  9104  		return 0
  9105  	}
  9106  	var l int
  9107  	_ = l
  9108  	if m.State != 0 {
  9109  		n += 1 + sovTypes(uint64(m.State))
  9110  	}
  9111  	if m.StartedAt != nil {
  9112  		l = m.StartedAt.Size()
  9113  		n += 1 + l + sovTypes(uint64(l))
  9114  	}
  9115  	if m.CompletedAt != nil {
  9116  		l = m.CompletedAt.Size()
  9117  		n += 1 + l + sovTypes(uint64(l))
  9118  	}
  9119  	l = len(m.Message)
  9120  	if l > 0 {
  9121  		n += 1 + l + sovTypes(uint64(l))
  9122  	}
  9123  	return n
  9124  }
  9125  
  9126  func (m *ContainerStatus) Size() (n int) {
  9127  	if m == nil {
  9128  		return 0
  9129  	}
  9130  	var l int
  9131  	_ = l
  9132  	l = len(m.ContainerID)
  9133  	if l > 0 {
  9134  		n += 1 + l + sovTypes(uint64(l))
  9135  	}
  9136  	if m.PID != 0 {
  9137  		n += 1 + sovTypes(uint64(m.PID))
  9138  	}
  9139  	if m.ExitCode != 0 {
  9140  		n += 1 + sovTypes(uint64(m.ExitCode))
  9141  	}
  9142  	return n
  9143  }
  9144  
  9145  func (m *PortStatus) Size() (n int) {
  9146  	if m == nil {
  9147  		return 0
  9148  	}
  9149  	var l int
  9150  	_ = l
  9151  	if len(m.Ports) > 0 {
  9152  		for _, e := range m.Ports {
  9153  			l = e.Size()
  9154  			n += 1 + l + sovTypes(uint64(l))
  9155  		}
  9156  	}
  9157  	return n
  9158  }
  9159  
  9160  func (m *TaskStatus) Size() (n int) {
  9161  	if m == nil {
  9162  		return 0
  9163  	}
  9164  	var l int
  9165  	_ = l
  9166  	if m.Timestamp != nil {
  9167  		l = m.Timestamp.Size()
  9168  		n += 1 + l + sovTypes(uint64(l))
  9169  	}
  9170  	if m.State != 0 {
  9171  		n += 1 + sovTypes(uint64(m.State))
  9172  	}
  9173  	l = len(m.Message)
  9174  	if l > 0 {
  9175  		n += 1 + l + sovTypes(uint64(l))
  9176  	}
  9177  	l = len(m.Err)
  9178  	if l > 0 {
  9179  		n += 1 + l + sovTypes(uint64(l))
  9180  	}
  9181  	if m.RuntimeStatus != nil {
  9182  		n += m.RuntimeStatus.Size()
  9183  	}
  9184  	if m.PortStatus != nil {
  9185  		l = m.PortStatus.Size()
  9186  		n += 1 + l + sovTypes(uint64(l))
  9187  	}
  9188  	l = len(m.AppliedBy)
  9189  	if l > 0 {
  9190  		n += 1 + l + sovTypes(uint64(l))
  9191  	}
  9192  	if m.AppliedAt != nil {
  9193  		l = m.AppliedAt.Size()
  9194  		n += 1 + l + sovTypes(uint64(l))
  9195  	}
  9196  	return n
  9197  }
  9198  
  9199  func (m *TaskStatus_Container) Size() (n int) {
  9200  	if m == nil {
  9201  		return 0
  9202  	}
  9203  	var l int
  9204  	_ = l
  9205  	if m.Container != nil {
  9206  		l = m.Container.Size()
  9207  		n += 1 + l + sovTypes(uint64(l))
  9208  	}
  9209  	return n
  9210  }
  9211  func (m *NetworkAttachmentConfig) Size() (n int) {
  9212  	if m == nil {
  9213  		return 0
  9214  	}
  9215  	var l int
  9216  	_ = l
  9217  	l = len(m.Target)
  9218  	if l > 0 {
  9219  		n += 1 + l + sovTypes(uint64(l))
  9220  	}
  9221  	if len(m.Aliases) > 0 {
  9222  		for _, s := range m.Aliases {
  9223  			l = len(s)
  9224  			n += 1 + l + sovTypes(uint64(l))
  9225  		}
  9226  	}
  9227  	if len(m.Addresses) > 0 {
  9228  		for _, s := range m.Addresses {
  9229  			l = len(s)
  9230  			n += 1 + l + sovTypes(uint64(l))
  9231  		}
  9232  	}
  9233  	if len(m.DriverAttachmentOpts) > 0 {
  9234  		for k, v := range m.DriverAttachmentOpts {
  9235  			_ = k
  9236  			_ = v
  9237  			mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  9238  			n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize))
  9239  		}
  9240  	}
  9241  	return n
  9242  }
  9243  
  9244  func (m *IPAMConfig) Size() (n int) {
  9245  	if m == nil {
  9246  		return 0
  9247  	}
  9248  	var l int
  9249  	_ = l
  9250  	if m.Family != 0 {
  9251  		n += 1 + sovTypes(uint64(m.Family))
  9252  	}
  9253  	l = len(m.Subnet)
  9254  	if l > 0 {
  9255  		n += 1 + l + sovTypes(uint64(l))
  9256  	}
  9257  	l = len(m.Range)
  9258  	if l > 0 {
  9259  		n += 1 + l + sovTypes(uint64(l))
  9260  	}
  9261  	l = len(m.Gateway)
  9262  	if l > 0 {
  9263  		n += 1 + l + sovTypes(uint64(l))
  9264  	}
  9265  	if len(m.Reserved) > 0 {
  9266  		for k, v := range m.Reserved {
  9267  			_ = k
  9268  			_ = v
  9269  			mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  9270  			n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize))
  9271  		}
  9272  	}
  9273  	return n
  9274  }
  9275  
  9276  func (m *PortConfig) Size() (n int) {
  9277  	if m == nil {
  9278  		return 0
  9279  	}
  9280  	var l int
  9281  	_ = l
  9282  	l = len(m.Name)
  9283  	if l > 0 {
  9284  		n += 1 + l + sovTypes(uint64(l))
  9285  	}
  9286  	if m.Protocol != 0 {
  9287  		n += 1 + sovTypes(uint64(m.Protocol))
  9288  	}
  9289  	if m.TargetPort != 0 {
  9290  		n += 1 + sovTypes(uint64(m.TargetPort))
  9291  	}
  9292  	if m.PublishedPort != 0 {
  9293  		n += 1 + sovTypes(uint64(m.PublishedPort))
  9294  	}
  9295  	if m.PublishMode != 0 {
  9296  		n += 1 + sovTypes(uint64(m.PublishMode))
  9297  	}
  9298  	return n
  9299  }
  9300  
  9301  func (m *Driver) Size() (n int) {
  9302  	if m == nil {
  9303  		return 0
  9304  	}
  9305  	var l int
  9306  	_ = l
  9307  	l = len(m.Name)
  9308  	if l > 0 {
  9309  		n += 1 + l + sovTypes(uint64(l))
  9310  	}
  9311  	if len(m.Options) > 0 {
  9312  		for k, v := range m.Options {
  9313  			_ = k
  9314  			_ = v
  9315  			mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  9316  			n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize))
  9317  		}
  9318  	}
  9319  	return n
  9320  }
  9321  
  9322  func (m *IPAMOptions) Size() (n int) {
  9323  	if m == nil {
  9324  		return 0
  9325  	}
  9326  	var l int
  9327  	_ = l
  9328  	if m.Driver != nil {
  9329  		l = m.Driver.Size()
  9330  		n += 1 + l + sovTypes(uint64(l))
  9331  	}
  9332  	if len(m.Configs) > 0 {
  9333  		for _, e := range m.Configs {
  9334  			l = e.Size()
  9335  			n += 1 + l + sovTypes(uint64(l))
  9336  		}
  9337  	}
  9338  	return n
  9339  }
  9340  
  9341  func (m *Peer) Size() (n int) {
  9342  	if m == nil {
  9343  		return 0
  9344  	}
  9345  	var l int
  9346  	_ = l
  9347  	l = len(m.NodeID)
  9348  	if l > 0 {
  9349  		n += 1 + l + sovTypes(uint64(l))
  9350  	}
  9351  	l = len(m.Addr)
  9352  	if l > 0 {
  9353  		n += 1 + l + sovTypes(uint64(l))
  9354  	}
  9355  	return n
  9356  }
  9357  
  9358  func (m *WeightedPeer) Size() (n int) {
  9359  	if m == nil {
  9360  		return 0
  9361  	}
  9362  	var l int
  9363  	_ = l
  9364  	if m.Peer != nil {
  9365  		l = m.Peer.Size()
  9366  		n += 1 + l + sovTypes(uint64(l))
  9367  	}
  9368  	if m.Weight != 0 {
  9369  		n += 1 + sovTypes(uint64(m.Weight))
  9370  	}
  9371  	return n
  9372  }
  9373  
  9374  func (m *IssuanceStatus) Size() (n int) {
  9375  	if m == nil {
  9376  		return 0
  9377  	}
  9378  	var l int
  9379  	_ = l
  9380  	if m.State != 0 {
  9381  		n += 1 + sovTypes(uint64(m.State))
  9382  	}
  9383  	l = len(m.Err)
  9384  	if l > 0 {
  9385  		n += 1 + l + sovTypes(uint64(l))
  9386  	}
  9387  	return n
  9388  }
  9389  
  9390  func (m *AcceptancePolicy) Size() (n int) {
  9391  	if m == nil {
  9392  		return 0
  9393  	}
  9394  	var l int
  9395  	_ = l
  9396  	if len(m.Policies) > 0 {
  9397  		for _, e := range m.Policies {
  9398  			l = e.Size()
  9399  			n += 1 + l + sovTypes(uint64(l))
  9400  		}
  9401  	}
  9402  	return n
  9403  }
  9404  
  9405  func (m *AcceptancePolicy_RoleAdmissionPolicy) Size() (n int) {
  9406  	if m == nil {
  9407  		return 0
  9408  	}
  9409  	var l int
  9410  	_ = l
  9411  	if m.Role != 0 {
  9412  		n += 1 + sovTypes(uint64(m.Role))
  9413  	}
  9414  	if m.Autoaccept {
  9415  		n += 2
  9416  	}
  9417  	if m.Secret != nil {
  9418  		l = m.Secret.Size()
  9419  		n += 1 + l + sovTypes(uint64(l))
  9420  	}
  9421  	return n
  9422  }
  9423  
  9424  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Size() (n int) {
  9425  	if m == nil {
  9426  		return 0
  9427  	}
  9428  	var l int
  9429  	_ = l
  9430  	l = len(m.Data)
  9431  	if l > 0 {
  9432  		n += 1 + l + sovTypes(uint64(l))
  9433  	}
  9434  	l = len(m.Alg)
  9435  	if l > 0 {
  9436  		n += 1 + l + sovTypes(uint64(l))
  9437  	}
  9438  	return n
  9439  }
  9440  
  9441  func (m *ExternalCA) Size() (n int) {
  9442  	if m == nil {
  9443  		return 0
  9444  	}
  9445  	var l int
  9446  	_ = l
  9447  	if m.Protocol != 0 {
  9448  		n += 1 + sovTypes(uint64(m.Protocol))
  9449  	}
  9450  	l = len(m.URL)
  9451  	if l > 0 {
  9452  		n += 1 + l + sovTypes(uint64(l))
  9453  	}
  9454  	if len(m.Options) > 0 {
  9455  		for k, v := range m.Options {
  9456  			_ = k
  9457  			_ = v
  9458  			mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v)))
  9459  			n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize))
  9460  		}
  9461  	}
  9462  	l = len(m.CACert)
  9463  	if l > 0 {
  9464  		n += 1 + l + sovTypes(uint64(l))
  9465  	}
  9466  	return n
  9467  }
  9468  
  9469  func (m *CAConfig) Size() (n int) {
  9470  	if m == nil {
  9471  		return 0
  9472  	}
  9473  	var l int
  9474  	_ = l
  9475  	if m.NodeCertExpiry != nil {
  9476  		l = m.NodeCertExpiry.Size()
  9477  		n += 1 + l + sovTypes(uint64(l))
  9478  	}
  9479  	if len(m.ExternalCAs) > 0 {
  9480  		for _, e := range m.ExternalCAs {
  9481  			l = e.Size()
  9482  			n += 1 + l + sovTypes(uint64(l))
  9483  		}
  9484  	}
  9485  	l = len(m.SigningCACert)
  9486  	if l > 0 {
  9487  		n += 1 + l + sovTypes(uint64(l))
  9488  	}
  9489  	l = len(m.SigningCAKey)
  9490  	if l > 0 {
  9491  		n += 1 + l + sovTypes(uint64(l))
  9492  	}
  9493  	if m.ForceRotate != 0 {
  9494  		n += 1 + sovTypes(uint64(m.ForceRotate))
  9495  	}
  9496  	return n
  9497  }
  9498  
  9499  func (m *OrchestrationConfig) Size() (n int) {
  9500  	if m == nil {
  9501  		return 0
  9502  	}
  9503  	var l int
  9504  	_ = l
  9505  	if m.TaskHistoryRetentionLimit != 0 {
  9506  		n += 1 + sovTypes(uint64(m.TaskHistoryRetentionLimit))
  9507  	}
  9508  	return n
  9509  }
  9510  
  9511  func (m *TaskDefaults) Size() (n int) {
  9512  	if m == nil {
  9513  		return 0
  9514  	}
  9515  	var l int
  9516  	_ = l
  9517  	if m.LogDriver != nil {
  9518  		l = m.LogDriver.Size()
  9519  		n += 1 + l + sovTypes(uint64(l))
  9520  	}
  9521  	return n
  9522  }
  9523  
  9524  func (m *DispatcherConfig) Size() (n int) {
  9525  	if m == nil {
  9526  		return 0
  9527  	}
  9528  	var l int
  9529  	_ = l
  9530  	if m.HeartbeatPeriod != nil {
  9531  		l = m.HeartbeatPeriod.Size()
  9532  		n += 1 + l + sovTypes(uint64(l))
  9533  	}
  9534  	return n
  9535  }
  9536  
  9537  func (m *RaftConfig) Size() (n int) {
  9538  	if m == nil {
  9539  		return 0
  9540  	}
  9541  	var l int
  9542  	_ = l
  9543  	if m.SnapshotInterval != 0 {
  9544  		n += 1 + sovTypes(uint64(m.SnapshotInterval))
  9545  	}
  9546  	if m.KeepOldSnapshots != 0 {
  9547  		n += 1 + sovTypes(uint64(m.KeepOldSnapshots))
  9548  	}
  9549  	if m.LogEntriesForSlowFollowers != 0 {
  9550  		n += 1 + sovTypes(uint64(m.LogEntriesForSlowFollowers))
  9551  	}
  9552  	if m.HeartbeatTick != 0 {
  9553  		n += 1 + sovTypes(uint64(m.HeartbeatTick))
  9554  	}
  9555  	if m.ElectionTick != 0 {
  9556  		n += 1 + sovTypes(uint64(m.ElectionTick))
  9557  	}
  9558  	return n
  9559  }
  9560  
  9561  func (m *EncryptionConfig) Size() (n int) {
  9562  	if m == nil {
  9563  		return 0
  9564  	}
  9565  	var l int
  9566  	_ = l
  9567  	if m.AutoLockManagers {
  9568  		n += 2
  9569  	}
  9570  	return n
  9571  }
  9572  
  9573  func (m *SpreadOver) Size() (n int) {
  9574  	if m == nil {
  9575  		return 0
  9576  	}
  9577  	var l int
  9578  	_ = l
  9579  	l = len(m.SpreadDescriptor)
  9580  	if l > 0 {
  9581  		n += 1 + l + sovTypes(uint64(l))
  9582  	}
  9583  	return n
  9584  }
  9585  
  9586  func (m *PlacementPreference) Size() (n int) {
  9587  	if m == nil {
  9588  		return 0
  9589  	}
  9590  	var l int
  9591  	_ = l
  9592  	if m.Preference != nil {
  9593  		n += m.Preference.Size()
  9594  	}
  9595  	return n
  9596  }
  9597  
  9598  func (m *PlacementPreference_Spread) Size() (n int) {
  9599  	if m == nil {
  9600  		return 0
  9601  	}
  9602  	var l int
  9603  	_ = l
  9604  	if m.Spread != nil {
  9605  		l = m.Spread.Size()
  9606  		n += 1 + l + sovTypes(uint64(l))
  9607  	}
  9608  	return n
  9609  }
  9610  func (m *Placement) Size() (n int) {
  9611  	if m == nil {
  9612  		return 0
  9613  	}
  9614  	var l int
  9615  	_ = l
  9616  	if len(m.Constraints) > 0 {
  9617  		for _, s := range m.Constraints {
  9618  			l = len(s)
  9619  			n += 1 + l + sovTypes(uint64(l))
  9620  		}
  9621  	}
  9622  	if len(m.Preferences) > 0 {
  9623  		for _, e := range m.Preferences {
  9624  			l = e.Size()
  9625  			n += 1 + l + sovTypes(uint64(l))
  9626  		}
  9627  	}
  9628  	if len(m.Platforms) > 0 {
  9629  		for _, e := range m.Platforms {
  9630  			l = e.Size()
  9631  			n += 1 + l + sovTypes(uint64(l))
  9632  		}
  9633  	}
  9634  	if m.MaxReplicas != 0 {
  9635  		n += 1 + sovTypes(uint64(m.MaxReplicas))
  9636  	}
  9637  	return n
  9638  }
  9639  
  9640  func (m *JoinTokens) Size() (n int) {
  9641  	if m == nil {
  9642  		return 0
  9643  	}
  9644  	var l int
  9645  	_ = l
  9646  	l = len(m.Worker)
  9647  	if l > 0 {
  9648  		n += 1 + l + sovTypes(uint64(l))
  9649  	}
  9650  	l = len(m.Manager)
  9651  	if l > 0 {
  9652  		n += 1 + l + sovTypes(uint64(l))
  9653  	}
  9654  	return n
  9655  }
  9656  
  9657  func (m *RootCA) Size() (n int) {
  9658  	if m == nil {
  9659  		return 0
  9660  	}
  9661  	var l int
  9662  	_ = l
  9663  	l = len(m.CAKey)
  9664  	if l > 0 {
  9665  		n += 1 + l + sovTypes(uint64(l))
  9666  	}
  9667  	l = len(m.CACert)
  9668  	if l > 0 {
  9669  		n += 1 + l + sovTypes(uint64(l))
  9670  	}
  9671  	l = len(m.CACertHash)
  9672  	if l > 0 {
  9673  		n += 1 + l + sovTypes(uint64(l))
  9674  	}
  9675  	l = m.JoinTokens.Size()
  9676  	n += 1 + l + sovTypes(uint64(l))
  9677  	if m.RootRotation != nil {
  9678  		l = m.RootRotation.Size()
  9679  		n += 1 + l + sovTypes(uint64(l))
  9680  	}
  9681  	if m.LastForcedRotation != 0 {
  9682  		n += 1 + sovTypes(uint64(m.LastForcedRotation))
  9683  	}
  9684  	return n
  9685  }
  9686  
  9687  func (m *Certificate) Size() (n int) {
  9688  	if m == nil {
  9689  		return 0
  9690  	}
  9691  	var l int
  9692  	_ = l
  9693  	if m.Role != 0 {
  9694  		n += 1 + sovTypes(uint64(m.Role))
  9695  	}
  9696  	l = len(m.CSR)
  9697  	if l > 0 {
  9698  		n += 1 + l + sovTypes(uint64(l))
  9699  	}
  9700  	l = m.Status.Size()
  9701  	n += 1 + l + sovTypes(uint64(l))
  9702  	l = len(m.Certificate)
  9703  	if l > 0 {
  9704  		n += 1 + l + sovTypes(uint64(l))
  9705  	}
  9706  	l = len(m.CN)
  9707  	if l > 0 {
  9708  		n += 1 + l + sovTypes(uint64(l))
  9709  	}
  9710  	return n
  9711  }
  9712  
  9713  func (m *EncryptionKey) Size() (n int) {
  9714  	if m == nil {
  9715  		return 0
  9716  	}
  9717  	var l int
  9718  	_ = l
  9719  	l = len(m.Subsystem)
  9720  	if l > 0 {
  9721  		n += 1 + l + sovTypes(uint64(l))
  9722  	}
  9723  	if m.Algorithm != 0 {
  9724  		n += 1 + sovTypes(uint64(m.Algorithm))
  9725  	}
  9726  	l = len(m.Key)
  9727  	if l > 0 {
  9728  		n += 1 + l + sovTypes(uint64(l))
  9729  	}
  9730  	if m.LamportTime != 0 {
  9731  		n += 1 + sovTypes(uint64(m.LamportTime))
  9732  	}
  9733  	return n
  9734  }
  9735  
  9736  func (m *ManagerStatus) Size() (n int) {
  9737  	if m == nil {
  9738  		return 0
  9739  	}
  9740  	var l int
  9741  	_ = l
  9742  	if m.RaftID != 0 {
  9743  		n += 1 + sovTypes(uint64(m.RaftID))
  9744  	}
  9745  	l = len(m.Addr)
  9746  	if l > 0 {
  9747  		n += 1 + l + sovTypes(uint64(l))
  9748  	}
  9749  	if m.Leader {
  9750  		n += 2
  9751  	}
  9752  	if m.Reachability != 0 {
  9753  		n += 1 + sovTypes(uint64(m.Reachability))
  9754  	}
  9755  	return n
  9756  }
  9757  
  9758  func (m *FileTarget) Size() (n int) {
  9759  	if m == nil {
  9760  		return 0
  9761  	}
  9762  	var l int
  9763  	_ = l
  9764  	l = len(m.Name)
  9765  	if l > 0 {
  9766  		n += 1 + l + sovTypes(uint64(l))
  9767  	}
  9768  	l = len(m.UID)
  9769  	if l > 0 {
  9770  		n += 1 + l + sovTypes(uint64(l))
  9771  	}
  9772  	l = len(m.GID)
  9773  	if l > 0 {
  9774  		n += 1 + l + sovTypes(uint64(l))
  9775  	}
  9776  	if m.Mode != 0 {
  9777  		n += 1 + sovTypes(uint64(m.Mode))
  9778  	}
  9779  	return n
  9780  }
  9781  
  9782  func (m *RuntimeTarget) Size() (n int) {
  9783  	if m == nil {
  9784  		return 0
  9785  	}
  9786  	var l int
  9787  	_ = l
  9788  	return n
  9789  }
  9790  
  9791  func (m *SecretReference) Size() (n int) {
  9792  	if m == nil {
  9793  		return 0
  9794  	}
  9795  	var l int
  9796  	_ = l
  9797  	l = len(m.SecretID)
  9798  	if l > 0 {
  9799  		n += 1 + l + sovTypes(uint64(l))
  9800  	}
  9801  	l = len(m.SecretName)
  9802  	if l > 0 {
  9803  		n += 1 + l + sovTypes(uint64(l))
  9804  	}
  9805  	if m.Target != nil {
  9806  		n += m.Target.Size()
  9807  	}
  9808  	return n
  9809  }
  9810  
  9811  func (m *SecretReference_File) Size() (n int) {
  9812  	if m == nil {
  9813  		return 0
  9814  	}
  9815  	var l int
  9816  	_ = l
  9817  	if m.File != nil {
  9818  		l = m.File.Size()
  9819  		n += 1 + l + sovTypes(uint64(l))
  9820  	}
  9821  	return n
  9822  }
  9823  func (m *ConfigReference) Size() (n int) {
  9824  	if m == nil {
  9825  		return 0
  9826  	}
  9827  	var l int
  9828  	_ = l
  9829  	l = len(m.ConfigID)
  9830  	if l > 0 {
  9831  		n += 1 + l + sovTypes(uint64(l))
  9832  	}
  9833  	l = len(m.ConfigName)
  9834  	if l > 0 {
  9835  		n += 1 + l + sovTypes(uint64(l))
  9836  	}
  9837  	if m.Target != nil {
  9838  		n += m.Target.Size()
  9839  	}
  9840  	return n
  9841  }
  9842  
  9843  func (m *ConfigReference_File) Size() (n int) {
  9844  	if m == nil {
  9845  		return 0
  9846  	}
  9847  	var l int
  9848  	_ = l
  9849  	if m.File != nil {
  9850  		l = m.File.Size()
  9851  		n += 1 + l + sovTypes(uint64(l))
  9852  	}
  9853  	return n
  9854  }
  9855  func (m *ConfigReference_Runtime) Size() (n int) {
  9856  	if m == nil {
  9857  		return 0
  9858  	}
  9859  	var l int
  9860  	_ = l
  9861  	if m.Runtime != nil {
  9862  		l = m.Runtime.Size()
  9863  		n += 1 + l + sovTypes(uint64(l))
  9864  	}
  9865  	return n
  9866  }
  9867  func (m *BlacklistedCertificate) Size() (n int) {
  9868  	if m == nil {
  9869  		return 0
  9870  	}
  9871  	var l int
  9872  	_ = l
  9873  	if m.Expiry != nil {
  9874  		l = m.Expiry.Size()
  9875  		n += 1 + l + sovTypes(uint64(l))
  9876  	}
  9877  	return n
  9878  }
  9879  
  9880  func (m *HealthConfig) Size() (n int) {
  9881  	if m == nil {
  9882  		return 0
  9883  	}
  9884  	var l int
  9885  	_ = l
  9886  	if len(m.Test) > 0 {
  9887  		for _, s := range m.Test {
  9888  			l = len(s)
  9889  			n += 1 + l + sovTypes(uint64(l))
  9890  		}
  9891  	}
  9892  	if m.Interval != nil {
  9893  		l = m.Interval.Size()
  9894  		n += 1 + l + sovTypes(uint64(l))
  9895  	}
  9896  	if m.Timeout != nil {
  9897  		l = m.Timeout.Size()
  9898  		n += 1 + l + sovTypes(uint64(l))
  9899  	}
  9900  	if m.Retries != 0 {
  9901  		n += 1 + sovTypes(uint64(m.Retries))
  9902  	}
  9903  	if m.StartPeriod != nil {
  9904  		l = m.StartPeriod.Size()
  9905  		n += 1 + l + sovTypes(uint64(l))
  9906  	}
  9907  	return n
  9908  }
  9909  
  9910  func (m *MaybeEncryptedRecord) Size() (n int) {
  9911  	if m == nil {
  9912  		return 0
  9913  	}
  9914  	var l int
  9915  	_ = l
  9916  	if m.Algorithm != 0 {
  9917  		n += 1 + sovTypes(uint64(m.Algorithm))
  9918  	}
  9919  	l = len(m.Data)
  9920  	if l > 0 {
  9921  		n += 1 + l + sovTypes(uint64(l))
  9922  	}
  9923  	l = len(m.Nonce)
  9924  	if l > 0 {
  9925  		n += 1 + l + sovTypes(uint64(l))
  9926  	}
  9927  	return n
  9928  }
  9929  
  9930  func (m *RootRotation) Size() (n int) {
  9931  	if m == nil {
  9932  		return 0
  9933  	}
  9934  	var l int
  9935  	_ = l
  9936  	l = len(m.CACert)
  9937  	if l > 0 {
  9938  		n += 1 + l + sovTypes(uint64(l))
  9939  	}
  9940  	l = len(m.CAKey)
  9941  	if l > 0 {
  9942  		n += 1 + l + sovTypes(uint64(l))
  9943  	}
  9944  	l = len(m.CrossSignedCACert)
  9945  	if l > 0 {
  9946  		n += 1 + l + sovTypes(uint64(l))
  9947  	}
  9948  	return n
  9949  }
  9950  
  9951  func (m *Privileges) Size() (n int) {
  9952  	if m == nil {
  9953  		return 0
  9954  	}
  9955  	var l int
  9956  	_ = l
  9957  	if m.CredentialSpec != nil {
  9958  		l = m.CredentialSpec.Size()
  9959  		n += 1 + l + sovTypes(uint64(l))
  9960  	}
  9961  	if m.SELinuxContext != nil {
  9962  		l = m.SELinuxContext.Size()
  9963  		n += 1 + l + sovTypes(uint64(l))
  9964  	}
  9965  	return n
  9966  }
  9967  
  9968  func (m *Privileges_CredentialSpec) Size() (n int) {
  9969  	if m == nil {
  9970  		return 0
  9971  	}
  9972  	var l int
  9973  	_ = l
  9974  	if m.Source != nil {
  9975  		n += m.Source.Size()
  9976  	}
  9977  	return n
  9978  }
  9979  
  9980  func (m *Privileges_CredentialSpec_File) Size() (n int) {
  9981  	if m == nil {
  9982  		return 0
  9983  	}
  9984  	var l int
  9985  	_ = l
  9986  	l = len(m.File)
  9987  	n += 1 + l + sovTypes(uint64(l))
  9988  	return n
  9989  }
  9990  func (m *Privileges_CredentialSpec_Registry) Size() (n int) {
  9991  	if m == nil {
  9992  		return 0
  9993  	}
  9994  	var l int
  9995  	_ = l
  9996  	l = len(m.Registry)
  9997  	n += 1 + l + sovTypes(uint64(l))
  9998  	return n
  9999  }
 10000  func (m *Privileges_CredentialSpec_Config) Size() (n int) {
 10001  	if m == nil {
 10002  		return 0
 10003  	}
 10004  	var l int
 10005  	_ = l
 10006  	l = len(m.Config)
 10007  	n += 1 + l + sovTypes(uint64(l))
 10008  	return n
 10009  }
 10010  func (m *Privileges_SELinuxContext) Size() (n int) {
 10011  	if m == nil {
 10012  		return 0
 10013  	}
 10014  	var l int
 10015  	_ = l
 10016  	if m.Disable {
 10017  		n += 2
 10018  	}
 10019  	l = len(m.User)
 10020  	if l > 0 {
 10021  		n += 1 + l + sovTypes(uint64(l))
 10022  	}
 10023  	l = len(m.Role)
 10024  	if l > 0 {
 10025  		n += 1 + l + sovTypes(uint64(l))
 10026  	}
 10027  	l = len(m.Type)
 10028  	if l > 0 {
 10029  		n += 1 + l + sovTypes(uint64(l))
 10030  	}
 10031  	l = len(m.Level)
 10032  	if l > 0 {
 10033  		n += 1 + l + sovTypes(uint64(l))
 10034  	}
 10035  	return n
 10036  }
 10037  
 10038  func (m *JobStatus) Size() (n int) {
 10039  	if m == nil {
 10040  		return 0
 10041  	}
 10042  	var l int
 10043  	_ = l
 10044  	l = m.JobIteration.Size()
 10045  	n += 1 + l + sovTypes(uint64(l))
 10046  	if m.LastExecution != nil {
 10047  		l = m.LastExecution.Size()
 10048  		n += 1 + l + sovTypes(uint64(l))
 10049  	}
 10050  	return n
 10051  }
 10052  
 10053  func sovTypes(x uint64) (n int) {
 10054  	for {
 10055  		n++
 10056  		x >>= 7
 10057  		if x == 0 {
 10058  			break
 10059  		}
 10060  	}
 10061  	return n
 10062  }
 10063  func sozTypes(x uint64) (n int) {
 10064  	return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63))))
 10065  }
 10066  func (this *Version) String() string {
 10067  	if this == nil {
 10068  		return "nil"
 10069  	}
 10070  	s := strings.Join([]string{`&Version{`,
 10071  		`Index:` + fmt.Sprintf("%v", this.Index) + `,`,
 10072  		`}`,
 10073  	}, "")
 10074  	return s
 10075  }
 10076  func (this *IndexEntry) String() string {
 10077  	if this == nil {
 10078  		return "nil"
 10079  	}
 10080  	s := strings.Join([]string{`&IndexEntry{`,
 10081  		`Key:` + fmt.Sprintf("%v", this.Key) + `,`,
 10082  		`Val:` + fmt.Sprintf("%v", this.Val) + `,`,
 10083  		`}`,
 10084  	}, "")
 10085  	return s
 10086  }
 10087  func (this *Annotations) String() string {
 10088  	if this == nil {
 10089  		return "nil"
 10090  	}
 10091  	keysForLabels := make([]string, 0, len(this.Labels))
 10092  	for k, _ := range this.Labels {
 10093  		keysForLabels = append(keysForLabels, k)
 10094  	}
 10095  	github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
 10096  	mapStringForLabels := "map[string]string{"
 10097  	for _, k := range keysForLabels {
 10098  		mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
 10099  	}
 10100  	mapStringForLabels += "}"
 10101  	s := strings.Join([]string{`&Annotations{`,
 10102  		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
 10103  		`Labels:` + mapStringForLabels + `,`,
 10104  		`Indices:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Indices), "IndexEntry", "IndexEntry", 1), `&`, ``, 1) + `,`,
 10105  		`}`,
 10106  	}, "")
 10107  	return s
 10108  }
 10109  func (this *NamedGenericResource) String() string {
 10110  	if this == nil {
 10111  		return "nil"
 10112  	}
 10113  	s := strings.Join([]string{`&NamedGenericResource{`,
 10114  		`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
 10115  		`Value:` + fmt.Sprintf("%v", this.Value) + `,`,
 10116  		`}`,
 10117  	}, "")
 10118  	return s
 10119  }
 10120  func (this *DiscreteGenericResource) String() string {
 10121  	if this == nil {
 10122  		return "nil"
 10123  	}
 10124  	s := strings.Join([]string{`&DiscreteGenericResource{`,
 10125  		`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
 10126  		`Value:` + fmt.Sprintf("%v", this.Value) + `,`,
 10127  		`}`,
 10128  	}, "")
 10129  	return s
 10130  }
 10131  func (this *GenericResource) String() string {
 10132  	if this == nil {
 10133  		return "nil"
 10134  	}
 10135  	s := strings.Join([]string{`&GenericResource{`,
 10136  		`Resource:` + fmt.Sprintf("%v", this.Resource) + `,`,
 10137  		`}`,
 10138  	}, "")
 10139  	return s
 10140  }
 10141  func (this *GenericResource_NamedResourceSpec) String() string {
 10142  	if this == nil {
 10143  		return "nil"
 10144  	}
 10145  	s := strings.Join([]string{`&GenericResource_NamedResourceSpec{`,
 10146  		`NamedResourceSpec:` + strings.Replace(fmt.Sprintf("%v", this.NamedResourceSpec), "NamedGenericResource", "NamedGenericResource", 1) + `,`,
 10147  		`}`,
 10148  	}, "")
 10149  	return s
 10150  }
 10151  func (this *GenericResource_DiscreteResourceSpec) String() string {
 10152  	if this == nil {
 10153  		return "nil"
 10154  	}
 10155  	s := strings.Join([]string{`&GenericResource_DiscreteResourceSpec{`,
 10156  		`DiscreteResourceSpec:` + strings.Replace(fmt.Sprintf("%v", this.DiscreteResourceSpec), "DiscreteGenericResource", "DiscreteGenericResource", 1) + `,`,
 10157  		`}`,
 10158  	}, "")
 10159  	return s
 10160  }
 10161  func (this *Resources) String() string {
 10162  	if this == nil {
 10163  		return "nil"
 10164  	}
 10165  	s := strings.Join([]string{`&Resources{`,
 10166  		`NanoCPUs:` + fmt.Sprintf("%v", this.NanoCPUs) + `,`,
 10167  		`MemoryBytes:` + fmt.Sprintf("%v", this.MemoryBytes) + `,`,
 10168  		`Generic:` + strings.Replace(fmt.Sprintf("%v", this.Generic), "GenericResource", "GenericResource", 1) + `,`,
 10169  		`}`,
 10170  	}, "")
 10171  	return s
 10172  }
 10173  func (this *ResourceRequirements) String() string {
 10174  	if this == nil {
 10175  		return "nil"
 10176  	}
 10177  	s := strings.Join([]string{`&ResourceRequirements{`,
 10178  		`Limits:` + strings.Replace(fmt.Sprintf("%v", this.Limits), "Resources", "Resources", 1) + `,`,
 10179  		`Reservations:` + strings.Replace(fmt.Sprintf("%v", this.Reservations), "Resources", "Resources", 1) + `,`,
 10180  		`SwapBytes:` + strings.Replace(fmt.Sprintf("%v", this.SwapBytes), "Int64Value", "types.Int64Value", 1) + `,`,
 10181  		`MemorySwappiness:` + strings.Replace(fmt.Sprintf("%v", this.MemorySwappiness), "Int64Value", "types.Int64Value", 1) + `,`,
 10182  		`}`,
 10183  	}, "")
 10184  	return s
 10185  }
 10186  func (this *Platform) String() string {
 10187  	if this == nil {
 10188  		return "nil"
 10189  	}
 10190  	s := strings.Join([]string{`&Platform{`,
 10191  		`Architecture:` + fmt.Sprintf("%v", this.Architecture) + `,`,
 10192  		`OS:` + fmt.Sprintf("%v", this.OS) + `,`,
 10193  		`}`,
 10194  	}, "")
 10195  	return s
 10196  }
 10197  func (this *PluginDescription) String() string {
 10198  	if this == nil {
 10199  		return "nil"
 10200  	}
 10201  	s := strings.Join([]string{`&PluginDescription{`,
 10202  		`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
 10203  		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
 10204  		`}`,
 10205  	}, "")
 10206  	return s
 10207  }
 10208  func (this *EngineDescription) String() string {
 10209  	if this == nil {
 10210  		return "nil"
 10211  	}
 10212  	keysForLabels := make([]string, 0, len(this.Labels))
 10213  	for k, _ := range this.Labels {
 10214  		keysForLabels = append(keysForLabels, k)
 10215  	}
 10216  	github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
 10217  	mapStringForLabels := "map[string]string{"
 10218  	for _, k := range keysForLabels {
 10219  		mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
 10220  	}
 10221  	mapStringForLabels += "}"
 10222  	s := strings.Join([]string{`&EngineDescription{`,
 10223  		`EngineVersion:` + fmt.Sprintf("%v", this.EngineVersion) + `,`,
 10224  		`Labels:` + mapStringForLabels + `,`,
 10225  		`Plugins:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Plugins), "PluginDescription", "PluginDescription", 1), `&`, ``, 1) + `,`,
 10226  		`}`,
 10227  	}, "")
 10228  	return s
 10229  }
 10230  func (this *NodeDescription) String() string {
 10231  	if this == nil {
 10232  		return "nil"
 10233  	}
 10234  	s := strings.Join([]string{`&NodeDescription{`,
 10235  		`Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
 10236  		`Platform:` + strings.Replace(fmt.Sprintf("%v", this.Platform), "Platform", "Platform", 1) + `,`,
 10237  		`Resources:` + strings.Replace(fmt.Sprintf("%v", this.Resources), "Resources", "Resources", 1) + `,`,
 10238  		`Engine:` + strings.Replace(fmt.Sprintf("%v", this.Engine), "EngineDescription", "EngineDescription", 1) + `,`,
 10239  		`TLSInfo:` + strings.Replace(fmt.Sprintf("%v", this.TLSInfo), "NodeTLSInfo", "NodeTLSInfo", 1) + `,`,
 10240  		`FIPS:` + fmt.Sprintf("%v", this.FIPS) + `,`,
 10241  		`}`,
 10242  	}, "")
 10243  	return s
 10244  }
 10245  func (this *NodeTLSInfo) String() string {
 10246  	if this == nil {
 10247  		return "nil"
 10248  	}
 10249  	s := strings.Join([]string{`&NodeTLSInfo{`,
 10250  		`TrustRoot:` + fmt.Sprintf("%v", this.TrustRoot) + `,`,
 10251  		`CertIssuerSubject:` + fmt.Sprintf("%v", this.CertIssuerSubject) + `,`,
 10252  		`CertIssuerPublicKey:` + fmt.Sprintf("%v", this.CertIssuerPublicKey) + `,`,
 10253  		`}`,
 10254  	}, "")
 10255  	return s
 10256  }
 10257  func (this *RaftMemberStatus) String() string {
 10258  	if this == nil {
 10259  		return "nil"
 10260  	}
 10261  	s := strings.Join([]string{`&RaftMemberStatus{`,
 10262  		`Leader:` + fmt.Sprintf("%v", this.Leader) + `,`,
 10263  		`Reachability:` + fmt.Sprintf("%v", this.Reachability) + `,`,
 10264  		`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
 10265  		`}`,
 10266  	}, "")
 10267  	return s
 10268  }
 10269  func (this *NodeStatus) String() string {
 10270  	if this == nil {
 10271  		return "nil"
 10272  	}
 10273  	s := strings.Join([]string{`&NodeStatus{`,
 10274  		`State:` + fmt.Sprintf("%v", this.State) + `,`,
 10275  		`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
 10276  		`Addr:` + fmt.Sprintf("%v", this.Addr) + `,`,
 10277  		`}`,
 10278  	}, "")
 10279  	return s
 10280  }
 10281  func (this *Image) String() string {
 10282  	if this == nil {
 10283  		return "nil"
 10284  	}
 10285  	s := strings.Join([]string{`&Image{`,
 10286  		`Reference:` + fmt.Sprintf("%v", this.Reference) + `,`,
 10287  		`}`,
 10288  	}, "")
 10289  	return s
 10290  }
 10291  func (this *Mount) String() string {
 10292  	if this == nil {
 10293  		return "nil"
 10294  	}
 10295  	s := strings.Join([]string{`&Mount{`,
 10296  		`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
 10297  		`Source:` + fmt.Sprintf("%v", this.Source) + `,`,
 10298  		`Target:` + fmt.Sprintf("%v", this.Target) + `,`,
 10299  		`ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
 10300  		`BindOptions:` + strings.Replace(fmt.Sprintf("%v", this.BindOptions), "Mount_BindOptions", "Mount_BindOptions", 1) + `,`,
 10301  		`VolumeOptions:` + strings.Replace(fmt.Sprintf("%v", this.VolumeOptions), "Mount_VolumeOptions", "Mount_VolumeOptions", 1) + `,`,
 10302  		`TmpfsOptions:` + strings.Replace(fmt.Sprintf("%v", this.TmpfsOptions), "Mount_TmpfsOptions", "Mount_TmpfsOptions", 1) + `,`,
 10303  		`Consistency:` + fmt.Sprintf("%v", this.Consistency) + `,`,
 10304  		`}`,
 10305  	}, "")
 10306  	return s
 10307  }
 10308  func (this *Mount_BindOptions) String() string {
 10309  	if this == nil {
 10310  		return "nil"
 10311  	}
 10312  	s := strings.Join([]string{`&Mount_BindOptions{`,
 10313  		`Propagation:` + fmt.Sprintf("%v", this.Propagation) + `,`,
 10314  		`NonRecursive:` + fmt.Sprintf("%v", this.NonRecursive) + `,`,
 10315  		`}`,
 10316  	}, "")
 10317  	return s
 10318  }
 10319  func (this *Mount_VolumeOptions) String() string {
 10320  	if this == nil {
 10321  		return "nil"
 10322  	}
 10323  	keysForLabels := make([]string, 0, len(this.Labels))
 10324  	for k, _ := range this.Labels {
 10325  		keysForLabels = append(keysForLabels, k)
 10326  	}
 10327  	github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
 10328  	mapStringForLabels := "map[string]string{"
 10329  	for _, k := range keysForLabels {
 10330  		mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
 10331  	}
 10332  	mapStringForLabels += "}"
 10333  	s := strings.Join([]string{`&Mount_VolumeOptions{`,
 10334  		`NoCopy:` + fmt.Sprintf("%v", this.NoCopy) + `,`,
 10335  		`Labels:` + mapStringForLabels + `,`,
 10336  		`DriverConfig:` + strings.Replace(fmt.Sprintf("%v", this.DriverConfig), "Driver", "Driver", 1) + `,`,
 10337  		`}`,
 10338  	}, "")
 10339  	return s
 10340  }
 10341  func (this *Mount_TmpfsOptions) String() string {
 10342  	if this == nil {
 10343  		return "nil"
 10344  	}
 10345  	s := strings.Join([]string{`&Mount_TmpfsOptions{`,
 10346  		`SizeBytes:` + fmt.Sprintf("%v", this.SizeBytes) + `,`,
 10347  		`Mode:` + fmt.Sprintf("%v", this.Mode) + `,`,
 10348  		`Options:` + fmt.Sprintf("%v", this.Options) + `,`,
 10349  		`}`,
 10350  	}, "")
 10351  	return s
 10352  }
 10353  func (this *RestartPolicy) String() string {
 10354  	if this == nil {
 10355  		return "nil"
 10356  	}
 10357  	s := strings.Join([]string{`&RestartPolicy{`,
 10358  		`Condition:` + fmt.Sprintf("%v", this.Condition) + `,`,
 10359  		`Delay:` + strings.Replace(fmt.Sprintf("%v", this.Delay), "Duration", "types.Duration", 1) + `,`,
 10360  		`MaxAttempts:` + fmt.Sprintf("%v", this.MaxAttempts) + `,`,
 10361  		`Window:` + strings.Replace(fmt.Sprintf("%v", this.Window), "Duration", "types.Duration", 1) + `,`,
 10362  		`}`,
 10363  	}, "")
 10364  	return s
 10365  }
 10366  func (this *UpdateConfig) String() string {
 10367  	if this == nil {
 10368  		return "nil"
 10369  	}
 10370  	s := strings.Join([]string{`&UpdateConfig{`,
 10371  		`Parallelism:` + fmt.Sprintf("%v", this.Parallelism) + `,`,
 10372  		`Delay:` + strings.Replace(strings.Replace(this.Delay.String(), "Duration", "types.Duration", 1), `&`, ``, 1) + `,`,
 10373  		`FailureAction:` + fmt.Sprintf("%v", this.FailureAction) + `,`,
 10374  		`Monitor:` + strings.Replace(fmt.Sprintf("%v", this.Monitor), "Duration", "types.Duration", 1) + `,`,
 10375  		`MaxFailureRatio:` + fmt.Sprintf("%v", this.MaxFailureRatio) + `,`,
 10376  		`Order:` + fmt.Sprintf("%v", this.Order) + `,`,
 10377  		`}`,
 10378  	}, "")
 10379  	return s
 10380  }
 10381  func (this *UpdateStatus) String() string {
 10382  	if this == nil {
 10383  		return "nil"
 10384  	}
 10385  	s := strings.Join([]string{`&UpdateStatus{`,
 10386  		`State:` + fmt.Sprintf("%v", this.State) + `,`,
 10387  		`StartedAt:` + strings.Replace(fmt.Sprintf("%v", this.StartedAt), "Timestamp", "types.Timestamp", 1) + `,`,
 10388  		`CompletedAt:` + strings.Replace(fmt.Sprintf("%v", this.CompletedAt), "Timestamp", "types.Timestamp", 1) + `,`,
 10389  		`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
 10390  		`}`,
 10391  	}, "")
 10392  	return s
 10393  }
 10394  func (this *ContainerStatus) String() string {
 10395  	if this == nil {
 10396  		return "nil"
 10397  	}
 10398  	s := strings.Join([]string{`&ContainerStatus{`,
 10399  		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
 10400  		`PID:` + fmt.Sprintf("%v", this.PID) + `,`,
 10401  		`ExitCode:` + fmt.Sprintf("%v", this.ExitCode) + `,`,
 10402  		`}`,
 10403  	}, "")
 10404  	return s
 10405  }
 10406  func (this *PortStatus) String() string {
 10407  	if this == nil {
 10408  		return "nil"
 10409  	}
 10410  	s := strings.Join([]string{`&PortStatus{`,
 10411  		`Ports:` + strings.Replace(fmt.Sprintf("%v", this.Ports), "PortConfig", "PortConfig", 1) + `,`,
 10412  		`}`,
 10413  	}, "")
 10414  	return s
 10415  }
 10416  func (this *TaskStatus) String() string {
 10417  	if this == nil {
 10418  		return "nil"
 10419  	}
 10420  	s := strings.Join([]string{`&TaskStatus{`,
 10421  		`Timestamp:` + strings.Replace(fmt.Sprintf("%v", this.Timestamp), "Timestamp", "types.Timestamp", 1) + `,`,
 10422  		`State:` + fmt.Sprintf("%v", this.State) + `,`,
 10423  		`Message:` + fmt.Sprintf("%v", this.Message) + `,`,
 10424  		`Err:` + fmt.Sprintf("%v", this.Err) + `,`,
 10425  		`RuntimeStatus:` + fmt.Sprintf("%v", this.RuntimeStatus) + `,`,
 10426  		`PortStatus:` + strings.Replace(fmt.Sprintf("%v", this.PortStatus), "PortStatus", "PortStatus", 1) + `,`,
 10427  		`AppliedBy:` + fmt.Sprintf("%v", this.AppliedBy) + `,`,
 10428  		`AppliedAt:` + strings.Replace(fmt.Sprintf("%v", this.AppliedAt), "Timestamp", "types.Timestamp", 1) + `,`,
 10429  		`}`,
 10430  	}, "")
 10431  	return s
 10432  }
 10433  func (this *TaskStatus_Container) String() string {
 10434  	if this == nil {
 10435  		return "nil"
 10436  	}
 10437  	s := strings.Join([]string{`&TaskStatus_Container{`,
 10438  		`Container:` + strings.Replace(fmt.Sprintf("%v", this.Container), "ContainerStatus", "ContainerStatus", 1) + `,`,
 10439  		`}`,
 10440  	}, "")
 10441  	return s
 10442  }
 10443  func (this *NetworkAttachmentConfig) String() string {
 10444  	if this == nil {
 10445  		return "nil"
 10446  	}
 10447  	keysForDriverAttachmentOpts := make([]string, 0, len(this.DriverAttachmentOpts))
 10448  	for k, _ := range this.DriverAttachmentOpts {
 10449  		keysForDriverAttachmentOpts = append(keysForDriverAttachmentOpts, k)
 10450  	}
 10451  	github_com_gogo_protobuf_sortkeys.Strings(keysForDriverAttachmentOpts)
 10452  	mapStringForDriverAttachmentOpts := "map[string]string{"
 10453  	for _, k := range keysForDriverAttachmentOpts {
 10454  		mapStringForDriverAttachmentOpts += fmt.Sprintf("%v: %v,", k, this.DriverAttachmentOpts[k])
 10455  	}
 10456  	mapStringForDriverAttachmentOpts += "}"
 10457  	s := strings.Join([]string{`&NetworkAttachmentConfig{`,
 10458  		`Target:` + fmt.Sprintf("%v", this.Target) + `,`,
 10459  		`Aliases:` + fmt.Sprintf("%v", this.Aliases) + `,`,
 10460  		`Addresses:` + fmt.Sprintf("%v", this.Addresses) + `,`,
 10461  		`DriverAttachmentOpts:` + mapStringForDriverAttachmentOpts + `,`,
 10462  		`}`,
 10463  	}, "")
 10464  	return s
 10465  }
 10466  func (this *IPAMConfig) String() string {
 10467  	if this == nil {
 10468  		return "nil"
 10469  	}
 10470  	keysForReserved := make([]string, 0, len(this.Reserved))
 10471  	for k, _ := range this.Reserved {
 10472  		keysForReserved = append(keysForReserved, k)
 10473  	}
 10474  	github_com_gogo_protobuf_sortkeys.Strings(keysForReserved)
 10475  	mapStringForReserved := "map[string]string{"
 10476  	for _, k := range keysForReserved {
 10477  		mapStringForReserved += fmt.Sprintf("%v: %v,", k, this.Reserved[k])
 10478  	}
 10479  	mapStringForReserved += "}"
 10480  	s := strings.Join([]string{`&IPAMConfig{`,
 10481  		`Family:` + fmt.Sprintf("%v", this.Family) + `,`,
 10482  		`Subnet:` + fmt.Sprintf("%v", this.Subnet) + `,`,
 10483  		`Range:` + fmt.Sprintf("%v", this.Range) + `,`,
 10484  		`Gateway:` + fmt.Sprintf("%v", this.Gateway) + `,`,
 10485  		`Reserved:` + mapStringForReserved + `,`,
 10486  		`}`,
 10487  	}, "")
 10488  	return s
 10489  }
 10490  func (this *PortConfig) String() string {
 10491  	if this == nil {
 10492  		return "nil"
 10493  	}
 10494  	s := strings.Join([]string{`&PortConfig{`,
 10495  		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
 10496  		`Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
 10497  		`TargetPort:` + fmt.Sprintf("%v", this.TargetPort) + `,`,
 10498  		`PublishedPort:` + fmt.Sprintf("%v", this.PublishedPort) + `,`,
 10499  		`PublishMode:` + fmt.Sprintf("%v", this.PublishMode) + `,`,
 10500  		`}`,
 10501  	}, "")
 10502  	return s
 10503  }
 10504  func (this *Driver) String() string {
 10505  	if this == nil {
 10506  		return "nil"
 10507  	}
 10508  	keysForOptions := make([]string, 0, len(this.Options))
 10509  	for k, _ := range this.Options {
 10510  		keysForOptions = append(keysForOptions, k)
 10511  	}
 10512  	github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
 10513  	mapStringForOptions := "map[string]string{"
 10514  	for _, k := range keysForOptions {
 10515  		mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k])
 10516  	}
 10517  	mapStringForOptions += "}"
 10518  	s := strings.Join([]string{`&Driver{`,
 10519  		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
 10520  		`Options:` + mapStringForOptions + `,`,
 10521  		`}`,
 10522  	}, "")
 10523  	return s
 10524  }
 10525  func (this *IPAMOptions) String() string {
 10526  	if this == nil {
 10527  		return "nil"
 10528  	}
 10529  	s := strings.Join([]string{`&IPAMOptions{`,
 10530  		`Driver:` + strings.Replace(fmt.Sprintf("%v", this.Driver), "Driver", "Driver", 1) + `,`,
 10531  		`Configs:` + strings.Replace(fmt.Sprintf("%v", this.Configs), "IPAMConfig", "IPAMConfig", 1) + `,`,
 10532  		`}`,
 10533  	}, "")
 10534  	return s
 10535  }
 10536  func (this *Peer) String() string {
 10537  	if this == nil {
 10538  		return "nil"
 10539  	}
 10540  	s := strings.Join([]string{`&Peer{`,
 10541  		`NodeID:` + fmt.Sprintf("%v", this.NodeID) + `,`,
 10542  		`Addr:` + fmt.Sprintf("%v", this.Addr) + `,`,
 10543  		`}`,
 10544  	}, "")
 10545  	return s
 10546  }
 10547  func (this *WeightedPeer) String() string {
 10548  	if this == nil {
 10549  		return "nil"
 10550  	}
 10551  	s := strings.Join([]string{`&WeightedPeer{`,
 10552  		`Peer:` + strings.Replace(fmt.Sprintf("%v", this.Peer), "Peer", "Peer", 1) + `,`,
 10553  		`Weight:` + fmt.Sprintf("%v", this.Weight) + `,`,
 10554  		`}`,
 10555  	}, "")
 10556  	return s
 10557  }
 10558  func (this *IssuanceStatus) String() string {
 10559  	if this == nil {
 10560  		return "nil"
 10561  	}
 10562  	s := strings.Join([]string{`&IssuanceStatus{`,
 10563  		`State:` + fmt.Sprintf("%v", this.State) + `,`,
 10564  		`Err:` + fmt.Sprintf("%v", this.Err) + `,`,
 10565  		`}`,
 10566  	}, "")
 10567  	return s
 10568  }
 10569  func (this *AcceptancePolicy) String() string {
 10570  	if this == nil {
 10571  		return "nil"
 10572  	}
 10573  	s := strings.Join([]string{`&AcceptancePolicy{`,
 10574  		`Policies:` + strings.Replace(fmt.Sprintf("%v", this.Policies), "AcceptancePolicy_RoleAdmissionPolicy", "AcceptancePolicy_RoleAdmissionPolicy", 1) + `,`,
 10575  		`}`,
 10576  	}, "")
 10577  	return s
 10578  }
 10579  func (this *AcceptancePolicy_RoleAdmissionPolicy) String() string {
 10580  	if this == nil {
 10581  		return "nil"
 10582  	}
 10583  	s := strings.Join([]string{`&AcceptancePolicy_RoleAdmissionPolicy{`,
 10584  		`Role:` + fmt.Sprintf("%v", this.Role) + `,`,
 10585  		`Autoaccept:` + fmt.Sprintf("%v", this.Autoaccept) + `,`,
 10586  		`Secret:` + strings.Replace(fmt.Sprintf("%v", this.Secret), "AcceptancePolicy_RoleAdmissionPolicy_Secret", "AcceptancePolicy_RoleAdmissionPolicy_Secret", 1) + `,`,
 10587  		`}`,
 10588  	}, "")
 10589  	return s
 10590  }
 10591  func (this *AcceptancePolicy_RoleAdmissionPolicy_Secret) String() string {
 10592  	if this == nil {
 10593  		return "nil"
 10594  	}
 10595  	s := strings.Join([]string{`&AcceptancePolicy_RoleAdmissionPolicy_Secret{`,
 10596  		`Data:` + fmt.Sprintf("%v", this.Data) + `,`,
 10597  		`Alg:` + fmt.Sprintf("%v", this.Alg) + `,`,
 10598  		`}`,
 10599  	}, "")
 10600  	return s
 10601  }
 10602  func (this *ExternalCA) String() string {
 10603  	if this == nil {
 10604  		return "nil"
 10605  	}
 10606  	keysForOptions := make([]string, 0, len(this.Options))
 10607  	for k, _ := range this.Options {
 10608  		keysForOptions = append(keysForOptions, k)
 10609  	}
 10610  	github_com_gogo_protobuf_sortkeys.Strings(keysForOptions)
 10611  	mapStringForOptions := "map[string]string{"
 10612  	for _, k := range keysForOptions {
 10613  		mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k])
 10614  	}
 10615  	mapStringForOptions += "}"
 10616  	s := strings.Join([]string{`&ExternalCA{`,
 10617  		`Protocol:` + fmt.Sprintf("%v", this.Protocol) + `,`,
 10618  		`URL:` + fmt.Sprintf("%v", this.URL) + `,`,
 10619  		`Options:` + mapStringForOptions + `,`,
 10620  		`CACert:` + fmt.Sprintf("%v", this.CACert) + `,`,
 10621  		`}`,
 10622  	}, "")
 10623  	return s
 10624  }
 10625  func (this *CAConfig) String() string {
 10626  	if this == nil {
 10627  		return "nil"
 10628  	}
 10629  	s := strings.Join([]string{`&CAConfig{`,
 10630  		`NodeCertExpiry:` + strings.Replace(fmt.Sprintf("%v", this.NodeCertExpiry), "Duration", "types.Duration", 1) + `,`,
 10631  		`ExternalCAs:` + strings.Replace(fmt.Sprintf("%v", this.ExternalCAs), "ExternalCA", "ExternalCA", 1) + `,`,
 10632  		`SigningCACert:` + fmt.Sprintf("%v", this.SigningCACert) + `,`,
 10633  		`SigningCAKey:` + fmt.Sprintf("%v", this.SigningCAKey) + `,`,
 10634  		`ForceRotate:` + fmt.Sprintf("%v", this.ForceRotate) + `,`,
 10635  		`}`,
 10636  	}, "")
 10637  	return s
 10638  }
 10639  func (this *OrchestrationConfig) String() string {
 10640  	if this == nil {
 10641  		return "nil"
 10642  	}
 10643  	s := strings.Join([]string{`&OrchestrationConfig{`,
 10644  		`TaskHistoryRetentionLimit:` + fmt.Sprintf("%v", this.TaskHistoryRetentionLimit) + `,`,
 10645  		`}`,
 10646  	}, "")
 10647  	return s
 10648  }
 10649  func (this *TaskDefaults) String() string {
 10650  	if this == nil {
 10651  		return "nil"
 10652  	}
 10653  	s := strings.Join([]string{`&TaskDefaults{`,
 10654  		`LogDriver:` + strings.Replace(fmt.Sprintf("%v", this.LogDriver), "Driver", "Driver", 1) + `,`,
 10655  		`}`,
 10656  	}, "")
 10657  	return s
 10658  }
 10659  func (this *DispatcherConfig) String() string {
 10660  	if this == nil {
 10661  		return "nil"
 10662  	}
 10663  	s := strings.Join([]string{`&DispatcherConfig{`,
 10664  		`HeartbeatPeriod:` + strings.Replace(fmt.Sprintf("%v", this.HeartbeatPeriod), "Duration", "types.Duration", 1) + `,`,
 10665  		`}`,
 10666  	}, "")
 10667  	return s
 10668  }
 10669  func (this *RaftConfig) String() string {
 10670  	if this == nil {
 10671  		return "nil"
 10672  	}
 10673  	s := strings.Join([]string{`&RaftConfig{`,
 10674  		`SnapshotInterval:` + fmt.Sprintf("%v", this.SnapshotInterval) + `,`,
 10675  		`KeepOldSnapshots:` + fmt.Sprintf("%v", this.KeepOldSnapshots) + `,`,
 10676  		`LogEntriesForSlowFollowers:` + fmt.Sprintf("%v", this.LogEntriesForSlowFollowers) + `,`,
 10677  		`HeartbeatTick:` + fmt.Sprintf("%v", this.HeartbeatTick) + `,`,
 10678  		`ElectionTick:` + fmt.Sprintf("%v", this.ElectionTick) + `,`,
 10679  		`}`,
 10680  	}, "")
 10681  	return s
 10682  }
 10683  func (this *EncryptionConfig) String() string {
 10684  	if this == nil {
 10685  		return "nil"
 10686  	}
 10687  	s := strings.Join([]string{`&EncryptionConfig{`,
 10688  		`AutoLockManagers:` + fmt.Sprintf("%v", this.AutoLockManagers) + `,`,
 10689  		`}`,
 10690  	}, "")
 10691  	return s
 10692  }
 10693  func (this *SpreadOver) String() string {
 10694  	if this == nil {
 10695  		return "nil"
 10696  	}
 10697  	s := strings.Join([]string{`&SpreadOver{`,
 10698  		`SpreadDescriptor:` + fmt.Sprintf("%v", this.SpreadDescriptor) + `,`,
 10699  		`}`,
 10700  	}, "")
 10701  	return s
 10702  }
 10703  func (this *PlacementPreference) String() string {
 10704  	if this == nil {
 10705  		return "nil"
 10706  	}
 10707  	s := strings.Join([]string{`&PlacementPreference{`,
 10708  		`Preference:` + fmt.Sprintf("%v", this.Preference) + `,`,
 10709  		`}`,
 10710  	}, "")
 10711  	return s
 10712  }
 10713  func (this *PlacementPreference_Spread) String() string {
 10714  	if this == nil {
 10715  		return "nil"
 10716  	}
 10717  	s := strings.Join([]string{`&PlacementPreference_Spread{`,
 10718  		`Spread:` + strings.Replace(fmt.Sprintf("%v", this.Spread), "SpreadOver", "SpreadOver", 1) + `,`,
 10719  		`}`,
 10720  	}, "")
 10721  	return s
 10722  }
 10723  func (this *Placement) String() string {
 10724  	if this == nil {
 10725  		return "nil"
 10726  	}
 10727  	s := strings.Join([]string{`&Placement{`,
 10728  		`Constraints:` + fmt.Sprintf("%v", this.Constraints) + `,`,
 10729  		`Preferences:` + strings.Replace(fmt.Sprintf("%v", this.Preferences), "PlacementPreference", "PlacementPreference", 1) + `,`,
 10730  		`Platforms:` + strings.Replace(fmt.Sprintf("%v", this.Platforms), "Platform", "Platform", 1) + `,`,
 10731  		`MaxReplicas:` + fmt.Sprintf("%v", this.MaxReplicas) + `,`,
 10732  		`}`,
 10733  	}, "")
 10734  	return s
 10735  }
 10736  func (this *JoinTokens) String() string {
 10737  	if this == nil {
 10738  		return "nil"
 10739  	}
 10740  	s := strings.Join([]string{`&JoinTokens{`,
 10741  		`Worker:` + fmt.Sprintf("%v", this.Worker) + `,`,
 10742  		`Manager:` + fmt.Sprintf("%v", this.Manager) + `,`,
 10743  		`}`,
 10744  	}, "")
 10745  	return s
 10746  }
 10747  func (this *RootCA) String() string {
 10748  	if this == nil {
 10749  		return "nil"
 10750  	}
 10751  	s := strings.Join([]string{`&RootCA{`,
 10752  		`CAKey:` + fmt.Sprintf("%v", this.CAKey) + `,`,
 10753  		`CACert:` + fmt.Sprintf("%v", this.CACert) + `,`,
 10754  		`CACertHash:` + fmt.Sprintf("%v", this.CACertHash) + `,`,
 10755  		`JoinTokens:` + strings.Replace(strings.Replace(this.JoinTokens.String(), "JoinTokens", "JoinTokens", 1), `&`, ``, 1) + `,`,
 10756  		`RootRotation:` + strings.Replace(fmt.Sprintf("%v", this.RootRotation), "RootRotation", "RootRotation", 1) + `,`,
 10757  		`LastForcedRotation:` + fmt.Sprintf("%v", this.LastForcedRotation) + `,`,
 10758  		`}`,
 10759  	}, "")
 10760  	return s
 10761  }
 10762  func (this *Certificate) String() string {
 10763  	if this == nil {
 10764  		return "nil"
 10765  	}
 10766  	s := strings.Join([]string{`&Certificate{`,
 10767  		`Role:` + fmt.Sprintf("%v", this.Role) + `,`,
 10768  		`CSR:` + fmt.Sprintf("%v", this.CSR) + `,`,
 10769  		`Status:` + strings.Replace(strings.Replace(this.Status.String(), "IssuanceStatus", "IssuanceStatus", 1), `&`, ``, 1) + `,`,
 10770  		`Certificate:` + fmt.Sprintf("%v", this.Certificate) + `,`,
 10771  		`CN:` + fmt.Sprintf("%v", this.CN) + `,`,
 10772  		`}`,
 10773  	}, "")
 10774  	return s
 10775  }
 10776  func (this *EncryptionKey) String() string {
 10777  	if this == nil {
 10778  		return "nil"
 10779  	}
 10780  	s := strings.Join([]string{`&EncryptionKey{`,
 10781  		`Subsystem:` + fmt.Sprintf("%v", this.Subsystem) + `,`,
 10782  		`Algorithm:` + fmt.Sprintf("%v", this.Algorithm) + `,`,
 10783  		`Key:` + fmt.Sprintf("%v", this.Key) + `,`,
 10784  		`LamportTime:` + fmt.Sprintf("%v", this.LamportTime) + `,`,
 10785  		`}`,
 10786  	}, "")
 10787  	return s
 10788  }
 10789  func (this *ManagerStatus) String() string {
 10790  	if this == nil {
 10791  		return "nil"
 10792  	}
 10793  	s := strings.Join([]string{`&ManagerStatus{`,
 10794  		`RaftID:` + fmt.Sprintf("%v", this.RaftID) + `,`,
 10795  		`Addr:` + fmt.Sprintf("%v", this.Addr) + `,`,
 10796  		`Leader:` + fmt.Sprintf("%v", this.Leader) + `,`,
 10797  		`Reachability:` + fmt.Sprintf("%v", this.Reachability) + `,`,
 10798  		`}`,
 10799  	}, "")
 10800  	return s
 10801  }
 10802  func (this *FileTarget) String() string {
 10803  	if this == nil {
 10804  		return "nil"
 10805  	}
 10806  	s := strings.Join([]string{`&FileTarget{`,
 10807  		`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
 10808  		`UID:` + fmt.Sprintf("%v", this.UID) + `,`,
 10809  		`GID:` + fmt.Sprintf("%v", this.GID) + `,`,
 10810  		`Mode:` + fmt.Sprintf("%v", this.Mode) + `,`,
 10811  		`}`,
 10812  	}, "")
 10813  	return s
 10814  }
 10815  func (this *RuntimeTarget) String() string {
 10816  	if this == nil {
 10817  		return "nil"
 10818  	}
 10819  	s := strings.Join([]string{`&RuntimeTarget{`,
 10820  		`}`,
 10821  	}, "")
 10822  	return s
 10823  }
 10824  func (this *SecretReference) String() string {
 10825  	if this == nil {
 10826  		return "nil"
 10827  	}
 10828  	s := strings.Join([]string{`&SecretReference{`,
 10829  		`SecretID:` + fmt.Sprintf("%v", this.SecretID) + `,`,
 10830  		`SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
 10831  		`Target:` + fmt.Sprintf("%v", this.Target) + `,`,
 10832  		`}`,
 10833  	}, "")
 10834  	return s
 10835  }
 10836  func (this *SecretReference_File) String() string {
 10837  	if this == nil {
 10838  		return "nil"
 10839  	}
 10840  	s := strings.Join([]string{`&SecretReference_File{`,
 10841  		`File:` + strings.Replace(fmt.Sprintf("%v", this.File), "FileTarget", "FileTarget", 1) + `,`,
 10842  		`}`,
 10843  	}, "")
 10844  	return s
 10845  }
 10846  func (this *ConfigReference) String() string {
 10847  	if this == nil {
 10848  		return "nil"
 10849  	}
 10850  	s := strings.Join([]string{`&ConfigReference{`,
 10851  		`ConfigID:` + fmt.Sprintf("%v", this.ConfigID) + `,`,
 10852  		`ConfigName:` + fmt.Sprintf("%v", this.ConfigName) + `,`,
 10853  		`Target:` + fmt.Sprintf("%v", this.Target) + `,`,
 10854  		`}`,
 10855  	}, "")
 10856  	return s
 10857  }
 10858  func (this *ConfigReference_File) String() string {
 10859  	if this == nil {
 10860  		return "nil"
 10861  	}
 10862  	s := strings.Join([]string{`&ConfigReference_File{`,
 10863  		`File:` + strings.Replace(fmt.Sprintf("%v", this.File), "FileTarget", "FileTarget", 1) + `,`,
 10864  		`}`,
 10865  	}, "")
 10866  	return s
 10867  }
 10868  func (this *ConfigReference_Runtime) String() string {
 10869  	if this == nil {
 10870  		return "nil"
 10871  	}
 10872  	s := strings.Join([]string{`&ConfigReference_Runtime{`,
 10873  		`Runtime:` + strings.Replace(fmt.Sprintf("%v", this.Runtime), "RuntimeTarget", "RuntimeTarget", 1) + `,`,
 10874  		`}`,
 10875  	}, "")
 10876  	return s
 10877  }
 10878  func (this *BlacklistedCertificate) String() string {
 10879  	if this == nil {
 10880  		return "nil"
 10881  	}
 10882  	s := strings.Join([]string{`&BlacklistedCertificate{`,
 10883  		`Expiry:` + strings.Replace(fmt.Sprintf("%v", this.Expiry), "Timestamp", "types.Timestamp", 1) + `,`,
 10884  		`}`,
 10885  	}, "")
 10886  	return s
 10887  }
 10888  func (this *HealthConfig) String() string {
 10889  	if this == nil {
 10890  		return "nil"
 10891  	}
 10892  	s := strings.Join([]string{`&HealthConfig{`,
 10893  		`Test:` + fmt.Sprintf("%v", this.Test) + `,`,
 10894  		`Interval:` + strings.Replace(fmt.Sprintf("%v", this.Interval), "Duration", "types.Duration", 1) + `,`,
 10895  		`Timeout:` + strings.Replace(fmt.Sprintf("%v", this.Timeout), "Duration", "types.Duration", 1) + `,`,
 10896  		`Retries:` + fmt.Sprintf("%v", this.Retries) + `,`,
 10897  		`StartPeriod:` + strings.Replace(fmt.Sprintf("%v", this.StartPeriod), "Duration", "types.Duration", 1) + `,`,
 10898  		`}`,
 10899  	}, "")
 10900  	return s
 10901  }
 10902  func (this *MaybeEncryptedRecord) String() string {
 10903  	if this == nil {
 10904  		return "nil"
 10905  	}
 10906  	s := strings.Join([]string{`&MaybeEncryptedRecord{`,
 10907  		`Algorithm:` + fmt.Sprintf("%v", this.Algorithm) + `,`,
 10908  		`Data:` + fmt.Sprintf("%v", this.Data) + `,`,
 10909  		`Nonce:` + fmt.Sprintf("%v", this.Nonce) + `,`,
 10910  		`}`,
 10911  	}, "")
 10912  	return s
 10913  }
 10914  func (this *RootRotation) String() string {
 10915  	if this == nil {
 10916  		return "nil"
 10917  	}
 10918  	s := strings.Join([]string{`&RootRotation{`,
 10919  		`CACert:` + fmt.Sprintf("%v", this.CACert) + `,`,
 10920  		`CAKey:` + fmt.Sprintf("%v", this.CAKey) + `,`,
 10921  		`CrossSignedCACert:` + fmt.Sprintf("%v", this.CrossSignedCACert) + `,`,
 10922  		`}`,
 10923  	}, "")
 10924  	return s
 10925  }
 10926  func (this *Privileges) String() string {
 10927  	if this == nil {
 10928  		return "nil"
 10929  	}
 10930  	s := strings.Join([]string{`&Privileges{`,
 10931  		`CredentialSpec:` + strings.Replace(fmt.Sprintf("%v", this.CredentialSpec), "Privileges_CredentialSpec", "Privileges_CredentialSpec", 1) + `,`,
 10932  		`SELinuxContext:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxContext), "Privileges_SELinuxContext", "Privileges_SELinuxContext", 1) + `,`,
 10933  		`}`,
 10934  	}, "")
 10935  	return s
 10936  }
 10937  func (this *Privileges_CredentialSpec) String() string {
 10938  	if this == nil {
 10939  		return "nil"
 10940  	}
 10941  	s := strings.Join([]string{`&Privileges_CredentialSpec{`,
 10942  		`Source:` + fmt.Sprintf("%v", this.Source) + `,`,
 10943  		`}`,
 10944  	}, "")
 10945  	return s
 10946  }
 10947  func (this *Privileges_CredentialSpec_File) String() string {
 10948  	if this == nil {
 10949  		return "nil"
 10950  	}
 10951  	s := strings.Join([]string{`&Privileges_CredentialSpec_File{`,
 10952  		`File:` + fmt.Sprintf("%v", this.File) + `,`,
 10953  		`}`,
 10954  	}, "")
 10955  	return s
 10956  }
 10957  func (this *Privileges_CredentialSpec_Registry) String() string {
 10958  	if this == nil {
 10959  		return "nil"
 10960  	}
 10961  	s := strings.Join([]string{`&Privileges_CredentialSpec_Registry{`,
 10962  		`Registry:` + fmt.Sprintf("%v", this.Registry) + `,`,
 10963  		`}`,
 10964  	}, "")
 10965  	return s
 10966  }
 10967  func (this *Privileges_CredentialSpec_Config) String() string {
 10968  	if this == nil {
 10969  		return "nil"
 10970  	}
 10971  	s := strings.Join([]string{`&Privileges_CredentialSpec_Config{`,
 10972  		`Config:` + fmt.Sprintf("%v", this.Config) + `,`,
 10973  		`}`,
 10974  	}, "")
 10975  	return s
 10976  }
 10977  func (this *Privileges_SELinuxContext) String() string {
 10978  	if this == nil {
 10979  		return "nil"
 10980  	}
 10981  	s := strings.Join([]string{`&Privileges_SELinuxContext{`,
 10982  		`Disable:` + fmt.Sprintf("%v", this.Disable) + `,`,
 10983  		`User:` + fmt.Sprintf("%v", this.User) + `,`,
 10984  		`Role:` + fmt.Sprintf("%v", this.Role) + `,`,
 10985  		`Type:` + fmt.Sprintf("%v", this.Type) + `,`,
 10986  		`Level:` + fmt.Sprintf("%v", this.Level) + `,`,
 10987  		`}`,
 10988  	}, "")
 10989  	return s
 10990  }
 10991  func (this *JobStatus) String() string {
 10992  	if this == nil {
 10993  		return "nil"
 10994  	}
 10995  	s := strings.Join([]string{`&JobStatus{`,
 10996  		`JobIteration:` + strings.Replace(strings.Replace(this.JobIteration.String(), "Version", "Version", 1), `&`, ``, 1) + `,`,
 10997  		`LastExecution:` + strings.Replace(fmt.Sprintf("%v", this.LastExecution), "Timestamp", "types.Timestamp", 1) + `,`,
 10998  		`}`,
 10999  	}, "")
 11000  	return s
 11001  }
 11002  func valueToStringTypes(v interface{}) string {
 11003  	rv := reflect.ValueOf(v)
 11004  	if rv.IsNil() {
 11005  		return "nil"
 11006  	}
 11007  	pv := reflect.Indirect(rv).Interface()
 11008  	return fmt.Sprintf("*%v", pv)
 11009  }
 11010  func (m *Version) Unmarshal(dAtA []byte) error {
 11011  	l := len(dAtA)
 11012  	iNdEx := 0
 11013  	for iNdEx < l {
 11014  		preIndex := iNdEx
 11015  		var wire uint64
 11016  		for shift := uint(0); ; shift += 7 {
 11017  			if shift >= 64 {
 11018  				return ErrIntOverflowTypes
 11019  			}
 11020  			if iNdEx >= l {
 11021  				return io.ErrUnexpectedEOF
 11022  			}
 11023  			b := dAtA[iNdEx]
 11024  			iNdEx++
 11025  			wire |= uint64(b&0x7F) << shift
 11026  			if b < 0x80 {
 11027  				break
 11028  			}
 11029  		}
 11030  		fieldNum := int32(wire >> 3)
 11031  		wireType := int(wire & 0x7)
 11032  		if wireType == 4 {
 11033  			return fmt.Errorf("proto: Version: wiretype end group for non-group")
 11034  		}
 11035  		if fieldNum <= 0 {
 11036  			return fmt.Errorf("proto: Version: illegal tag %d (wire type %d)", fieldNum, wire)
 11037  		}
 11038  		switch fieldNum {
 11039  		case 1:
 11040  			if wireType != 0 {
 11041  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 11042  			}
 11043  			m.Index = 0
 11044  			for shift := uint(0); ; shift += 7 {
 11045  				if shift >= 64 {
 11046  					return ErrIntOverflowTypes
 11047  				}
 11048  				if iNdEx >= l {
 11049  					return io.ErrUnexpectedEOF
 11050  				}
 11051  				b := dAtA[iNdEx]
 11052  				iNdEx++
 11053  				m.Index |= uint64(b&0x7F) << shift
 11054  				if b < 0x80 {
 11055  					break
 11056  				}
 11057  			}
 11058  		default:
 11059  			iNdEx = preIndex
 11060  			skippy, err := skipTypes(dAtA[iNdEx:])
 11061  			if err != nil {
 11062  				return err
 11063  			}
 11064  			if skippy < 0 {
 11065  				return ErrInvalidLengthTypes
 11066  			}
 11067  			if (iNdEx + skippy) < 0 {
 11068  				return ErrInvalidLengthTypes
 11069  			}
 11070  			if (iNdEx + skippy) > l {
 11071  				return io.ErrUnexpectedEOF
 11072  			}
 11073  			iNdEx += skippy
 11074  		}
 11075  	}
 11076  
 11077  	if iNdEx > l {
 11078  		return io.ErrUnexpectedEOF
 11079  	}
 11080  	return nil
 11081  }
 11082  func (m *IndexEntry) Unmarshal(dAtA []byte) error {
 11083  	l := len(dAtA)
 11084  	iNdEx := 0
 11085  	for iNdEx < l {
 11086  		preIndex := iNdEx
 11087  		var wire uint64
 11088  		for shift := uint(0); ; shift += 7 {
 11089  			if shift >= 64 {
 11090  				return ErrIntOverflowTypes
 11091  			}
 11092  			if iNdEx >= l {
 11093  				return io.ErrUnexpectedEOF
 11094  			}
 11095  			b := dAtA[iNdEx]
 11096  			iNdEx++
 11097  			wire |= uint64(b&0x7F) << shift
 11098  			if b < 0x80 {
 11099  				break
 11100  			}
 11101  		}
 11102  		fieldNum := int32(wire >> 3)
 11103  		wireType := int(wire & 0x7)
 11104  		if wireType == 4 {
 11105  			return fmt.Errorf("proto: IndexEntry: wiretype end group for non-group")
 11106  		}
 11107  		if fieldNum <= 0 {
 11108  			return fmt.Errorf("proto: IndexEntry: illegal tag %d (wire type %d)", fieldNum, wire)
 11109  		}
 11110  		switch fieldNum {
 11111  		case 1:
 11112  			if wireType != 2 {
 11113  				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
 11114  			}
 11115  			var stringLen uint64
 11116  			for shift := uint(0); ; shift += 7 {
 11117  				if shift >= 64 {
 11118  					return ErrIntOverflowTypes
 11119  				}
 11120  				if iNdEx >= l {
 11121  					return io.ErrUnexpectedEOF
 11122  				}
 11123  				b := dAtA[iNdEx]
 11124  				iNdEx++
 11125  				stringLen |= uint64(b&0x7F) << shift
 11126  				if b < 0x80 {
 11127  					break
 11128  				}
 11129  			}
 11130  			intStringLen := int(stringLen)
 11131  			if intStringLen < 0 {
 11132  				return ErrInvalidLengthTypes
 11133  			}
 11134  			postIndex := iNdEx + intStringLen
 11135  			if postIndex < 0 {
 11136  				return ErrInvalidLengthTypes
 11137  			}
 11138  			if postIndex > l {
 11139  				return io.ErrUnexpectedEOF
 11140  			}
 11141  			m.Key = string(dAtA[iNdEx:postIndex])
 11142  			iNdEx = postIndex
 11143  		case 2:
 11144  			if wireType != 2 {
 11145  				return fmt.Errorf("proto: wrong wireType = %d for field Val", wireType)
 11146  			}
 11147  			var stringLen uint64
 11148  			for shift := uint(0); ; shift += 7 {
 11149  				if shift >= 64 {
 11150  					return ErrIntOverflowTypes
 11151  				}
 11152  				if iNdEx >= l {
 11153  					return io.ErrUnexpectedEOF
 11154  				}
 11155  				b := dAtA[iNdEx]
 11156  				iNdEx++
 11157  				stringLen |= uint64(b&0x7F) << shift
 11158  				if b < 0x80 {
 11159  					break
 11160  				}
 11161  			}
 11162  			intStringLen := int(stringLen)
 11163  			if intStringLen < 0 {
 11164  				return ErrInvalidLengthTypes
 11165  			}
 11166  			postIndex := iNdEx + intStringLen
 11167  			if postIndex < 0 {
 11168  				return ErrInvalidLengthTypes
 11169  			}
 11170  			if postIndex > l {
 11171  				return io.ErrUnexpectedEOF
 11172  			}
 11173  			m.Val = string(dAtA[iNdEx:postIndex])
 11174  			iNdEx = postIndex
 11175  		default:
 11176  			iNdEx = preIndex
 11177  			skippy, err := skipTypes(dAtA[iNdEx:])
 11178  			if err != nil {
 11179  				return err
 11180  			}
 11181  			if skippy < 0 {
 11182  				return ErrInvalidLengthTypes
 11183  			}
 11184  			if (iNdEx + skippy) < 0 {
 11185  				return ErrInvalidLengthTypes
 11186  			}
 11187  			if (iNdEx + skippy) > l {
 11188  				return io.ErrUnexpectedEOF
 11189  			}
 11190  			iNdEx += skippy
 11191  		}
 11192  	}
 11193  
 11194  	if iNdEx > l {
 11195  		return io.ErrUnexpectedEOF
 11196  	}
 11197  	return nil
 11198  }
 11199  func (m *Annotations) Unmarshal(dAtA []byte) error {
 11200  	l := len(dAtA)
 11201  	iNdEx := 0
 11202  	for iNdEx < l {
 11203  		preIndex := iNdEx
 11204  		var wire uint64
 11205  		for shift := uint(0); ; shift += 7 {
 11206  			if shift >= 64 {
 11207  				return ErrIntOverflowTypes
 11208  			}
 11209  			if iNdEx >= l {
 11210  				return io.ErrUnexpectedEOF
 11211  			}
 11212  			b := dAtA[iNdEx]
 11213  			iNdEx++
 11214  			wire |= uint64(b&0x7F) << shift
 11215  			if b < 0x80 {
 11216  				break
 11217  			}
 11218  		}
 11219  		fieldNum := int32(wire >> 3)
 11220  		wireType := int(wire & 0x7)
 11221  		if wireType == 4 {
 11222  			return fmt.Errorf("proto: Annotations: wiretype end group for non-group")
 11223  		}
 11224  		if fieldNum <= 0 {
 11225  			return fmt.Errorf("proto: Annotations: illegal tag %d (wire type %d)", fieldNum, wire)
 11226  		}
 11227  		switch fieldNum {
 11228  		case 1:
 11229  			if wireType != 2 {
 11230  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 11231  			}
 11232  			var stringLen uint64
 11233  			for shift := uint(0); ; shift += 7 {
 11234  				if shift >= 64 {
 11235  					return ErrIntOverflowTypes
 11236  				}
 11237  				if iNdEx >= l {
 11238  					return io.ErrUnexpectedEOF
 11239  				}
 11240  				b := dAtA[iNdEx]
 11241  				iNdEx++
 11242  				stringLen |= uint64(b&0x7F) << shift
 11243  				if b < 0x80 {
 11244  					break
 11245  				}
 11246  			}
 11247  			intStringLen := int(stringLen)
 11248  			if intStringLen < 0 {
 11249  				return ErrInvalidLengthTypes
 11250  			}
 11251  			postIndex := iNdEx + intStringLen
 11252  			if postIndex < 0 {
 11253  				return ErrInvalidLengthTypes
 11254  			}
 11255  			if postIndex > l {
 11256  				return io.ErrUnexpectedEOF
 11257  			}
 11258  			m.Name = string(dAtA[iNdEx:postIndex])
 11259  			iNdEx = postIndex
 11260  		case 2:
 11261  			if wireType != 2 {
 11262  				return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
 11263  			}
 11264  			var msglen int
 11265  			for shift := uint(0); ; shift += 7 {
 11266  				if shift >= 64 {
 11267  					return ErrIntOverflowTypes
 11268  				}
 11269  				if iNdEx >= l {
 11270  					return io.ErrUnexpectedEOF
 11271  				}
 11272  				b := dAtA[iNdEx]
 11273  				iNdEx++
 11274  				msglen |= int(b&0x7F) << shift
 11275  				if b < 0x80 {
 11276  					break
 11277  				}
 11278  			}
 11279  			if msglen < 0 {
 11280  				return ErrInvalidLengthTypes
 11281  			}
 11282  			postIndex := iNdEx + msglen
 11283  			if postIndex < 0 {
 11284  				return ErrInvalidLengthTypes
 11285  			}
 11286  			if postIndex > l {
 11287  				return io.ErrUnexpectedEOF
 11288  			}
 11289  			if m.Labels == nil {
 11290  				m.Labels = make(map[string]string)
 11291  			}
 11292  			var mapkey string
 11293  			var mapvalue string
 11294  			for iNdEx < postIndex {
 11295  				entryPreIndex := iNdEx
 11296  				var wire uint64
 11297  				for shift := uint(0); ; shift += 7 {
 11298  					if shift >= 64 {
 11299  						return ErrIntOverflowTypes
 11300  					}
 11301  					if iNdEx >= l {
 11302  						return io.ErrUnexpectedEOF
 11303  					}
 11304  					b := dAtA[iNdEx]
 11305  					iNdEx++
 11306  					wire |= uint64(b&0x7F) << shift
 11307  					if b < 0x80 {
 11308  						break
 11309  					}
 11310  				}
 11311  				fieldNum := int32(wire >> 3)
 11312  				if fieldNum == 1 {
 11313  					var stringLenmapkey uint64
 11314  					for shift := uint(0); ; shift += 7 {
 11315  						if shift >= 64 {
 11316  							return ErrIntOverflowTypes
 11317  						}
 11318  						if iNdEx >= l {
 11319  							return io.ErrUnexpectedEOF
 11320  						}
 11321  						b := dAtA[iNdEx]
 11322  						iNdEx++
 11323  						stringLenmapkey |= uint64(b&0x7F) << shift
 11324  						if b < 0x80 {
 11325  							break
 11326  						}
 11327  					}
 11328  					intStringLenmapkey := int(stringLenmapkey)
 11329  					if intStringLenmapkey < 0 {
 11330  						return ErrInvalidLengthTypes
 11331  					}
 11332  					postStringIndexmapkey := iNdEx + intStringLenmapkey
 11333  					if postStringIndexmapkey < 0 {
 11334  						return ErrInvalidLengthTypes
 11335  					}
 11336  					if postStringIndexmapkey > l {
 11337  						return io.ErrUnexpectedEOF
 11338  					}
 11339  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
 11340  					iNdEx = postStringIndexmapkey
 11341  				} else if fieldNum == 2 {
 11342  					var stringLenmapvalue uint64
 11343  					for shift := uint(0); ; shift += 7 {
 11344  						if shift >= 64 {
 11345  							return ErrIntOverflowTypes
 11346  						}
 11347  						if iNdEx >= l {
 11348  							return io.ErrUnexpectedEOF
 11349  						}
 11350  						b := dAtA[iNdEx]
 11351  						iNdEx++
 11352  						stringLenmapvalue |= uint64(b&0x7F) << shift
 11353  						if b < 0x80 {
 11354  							break
 11355  						}
 11356  					}
 11357  					intStringLenmapvalue := int(stringLenmapvalue)
 11358  					if intStringLenmapvalue < 0 {
 11359  						return ErrInvalidLengthTypes
 11360  					}
 11361  					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
 11362  					if postStringIndexmapvalue < 0 {
 11363  						return ErrInvalidLengthTypes
 11364  					}
 11365  					if postStringIndexmapvalue > l {
 11366  						return io.ErrUnexpectedEOF
 11367  					}
 11368  					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
 11369  					iNdEx = postStringIndexmapvalue
 11370  				} else {
 11371  					iNdEx = entryPreIndex
 11372  					skippy, err := skipTypes(dAtA[iNdEx:])
 11373  					if err != nil {
 11374  						return err
 11375  					}
 11376  					if skippy < 0 {
 11377  						return ErrInvalidLengthTypes
 11378  					}
 11379  					if (iNdEx + skippy) > postIndex {
 11380  						return io.ErrUnexpectedEOF
 11381  					}
 11382  					iNdEx += skippy
 11383  				}
 11384  			}
 11385  			m.Labels[mapkey] = mapvalue
 11386  			iNdEx = postIndex
 11387  		case 4:
 11388  			if wireType != 2 {
 11389  				return fmt.Errorf("proto: wrong wireType = %d for field Indices", wireType)
 11390  			}
 11391  			var msglen int
 11392  			for shift := uint(0); ; shift += 7 {
 11393  				if shift >= 64 {
 11394  					return ErrIntOverflowTypes
 11395  				}
 11396  				if iNdEx >= l {
 11397  					return io.ErrUnexpectedEOF
 11398  				}
 11399  				b := dAtA[iNdEx]
 11400  				iNdEx++
 11401  				msglen |= int(b&0x7F) << shift
 11402  				if b < 0x80 {
 11403  					break
 11404  				}
 11405  			}
 11406  			if msglen < 0 {
 11407  				return ErrInvalidLengthTypes
 11408  			}
 11409  			postIndex := iNdEx + msglen
 11410  			if postIndex < 0 {
 11411  				return ErrInvalidLengthTypes
 11412  			}
 11413  			if postIndex > l {
 11414  				return io.ErrUnexpectedEOF
 11415  			}
 11416  			m.Indices = append(m.Indices, IndexEntry{})
 11417  			if err := m.Indices[len(m.Indices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11418  				return err
 11419  			}
 11420  			iNdEx = postIndex
 11421  		default:
 11422  			iNdEx = preIndex
 11423  			skippy, err := skipTypes(dAtA[iNdEx:])
 11424  			if err != nil {
 11425  				return err
 11426  			}
 11427  			if skippy < 0 {
 11428  				return ErrInvalidLengthTypes
 11429  			}
 11430  			if (iNdEx + skippy) < 0 {
 11431  				return ErrInvalidLengthTypes
 11432  			}
 11433  			if (iNdEx + skippy) > l {
 11434  				return io.ErrUnexpectedEOF
 11435  			}
 11436  			iNdEx += skippy
 11437  		}
 11438  	}
 11439  
 11440  	if iNdEx > l {
 11441  		return io.ErrUnexpectedEOF
 11442  	}
 11443  	return nil
 11444  }
 11445  func (m *NamedGenericResource) Unmarshal(dAtA []byte) error {
 11446  	l := len(dAtA)
 11447  	iNdEx := 0
 11448  	for iNdEx < l {
 11449  		preIndex := iNdEx
 11450  		var wire uint64
 11451  		for shift := uint(0); ; shift += 7 {
 11452  			if shift >= 64 {
 11453  				return ErrIntOverflowTypes
 11454  			}
 11455  			if iNdEx >= l {
 11456  				return io.ErrUnexpectedEOF
 11457  			}
 11458  			b := dAtA[iNdEx]
 11459  			iNdEx++
 11460  			wire |= uint64(b&0x7F) << shift
 11461  			if b < 0x80 {
 11462  				break
 11463  			}
 11464  		}
 11465  		fieldNum := int32(wire >> 3)
 11466  		wireType := int(wire & 0x7)
 11467  		if wireType == 4 {
 11468  			return fmt.Errorf("proto: NamedGenericResource: wiretype end group for non-group")
 11469  		}
 11470  		if fieldNum <= 0 {
 11471  			return fmt.Errorf("proto: NamedGenericResource: illegal tag %d (wire type %d)", fieldNum, wire)
 11472  		}
 11473  		switch fieldNum {
 11474  		case 1:
 11475  			if wireType != 2 {
 11476  				return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
 11477  			}
 11478  			var stringLen uint64
 11479  			for shift := uint(0); ; shift += 7 {
 11480  				if shift >= 64 {
 11481  					return ErrIntOverflowTypes
 11482  				}
 11483  				if iNdEx >= l {
 11484  					return io.ErrUnexpectedEOF
 11485  				}
 11486  				b := dAtA[iNdEx]
 11487  				iNdEx++
 11488  				stringLen |= uint64(b&0x7F) << shift
 11489  				if b < 0x80 {
 11490  					break
 11491  				}
 11492  			}
 11493  			intStringLen := int(stringLen)
 11494  			if intStringLen < 0 {
 11495  				return ErrInvalidLengthTypes
 11496  			}
 11497  			postIndex := iNdEx + intStringLen
 11498  			if postIndex < 0 {
 11499  				return ErrInvalidLengthTypes
 11500  			}
 11501  			if postIndex > l {
 11502  				return io.ErrUnexpectedEOF
 11503  			}
 11504  			m.Kind = string(dAtA[iNdEx:postIndex])
 11505  			iNdEx = postIndex
 11506  		case 2:
 11507  			if wireType != 2 {
 11508  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
 11509  			}
 11510  			var stringLen uint64
 11511  			for shift := uint(0); ; shift += 7 {
 11512  				if shift >= 64 {
 11513  					return ErrIntOverflowTypes
 11514  				}
 11515  				if iNdEx >= l {
 11516  					return io.ErrUnexpectedEOF
 11517  				}
 11518  				b := dAtA[iNdEx]
 11519  				iNdEx++
 11520  				stringLen |= uint64(b&0x7F) << shift
 11521  				if b < 0x80 {
 11522  					break
 11523  				}
 11524  			}
 11525  			intStringLen := int(stringLen)
 11526  			if intStringLen < 0 {
 11527  				return ErrInvalidLengthTypes
 11528  			}
 11529  			postIndex := iNdEx + intStringLen
 11530  			if postIndex < 0 {
 11531  				return ErrInvalidLengthTypes
 11532  			}
 11533  			if postIndex > l {
 11534  				return io.ErrUnexpectedEOF
 11535  			}
 11536  			m.Value = string(dAtA[iNdEx:postIndex])
 11537  			iNdEx = postIndex
 11538  		default:
 11539  			iNdEx = preIndex
 11540  			skippy, err := skipTypes(dAtA[iNdEx:])
 11541  			if err != nil {
 11542  				return err
 11543  			}
 11544  			if skippy < 0 {
 11545  				return ErrInvalidLengthTypes
 11546  			}
 11547  			if (iNdEx + skippy) < 0 {
 11548  				return ErrInvalidLengthTypes
 11549  			}
 11550  			if (iNdEx + skippy) > l {
 11551  				return io.ErrUnexpectedEOF
 11552  			}
 11553  			iNdEx += skippy
 11554  		}
 11555  	}
 11556  
 11557  	if iNdEx > l {
 11558  		return io.ErrUnexpectedEOF
 11559  	}
 11560  	return nil
 11561  }
 11562  func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error {
 11563  	l := len(dAtA)
 11564  	iNdEx := 0
 11565  	for iNdEx < l {
 11566  		preIndex := iNdEx
 11567  		var wire uint64
 11568  		for shift := uint(0); ; shift += 7 {
 11569  			if shift >= 64 {
 11570  				return ErrIntOverflowTypes
 11571  			}
 11572  			if iNdEx >= l {
 11573  				return io.ErrUnexpectedEOF
 11574  			}
 11575  			b := dAtA[iNdEx]
 11576  			iNdEx++
 11577  			wire |= uint64(b&0x7F) << shift
 11578  			if b < 0x80 {
 11579  				break
 11580  			}
 11581  		}
 11582  		fieldNum := int32(wire >> 3)
 11583  		wireType := int(wire & 0x7)
 11584  		if wireType == 4 {
 11585  			return fmt.Errorf("proto: DiscreteGenericResource: wiretype end group for non-group")
 11586  		}
 11587  		if fieldNum <= 0 {
 11588  			return fmt.Errorf("proto: DiscreteGenericResource: illegal tag %d (wire type %d)", fieldNum, wire)
 11589  		}
 11590  		switch fieldNum {
 11591  		case 1:
 11592  			if wireType != 2 {
 11593  				return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
 11594  			}
 11595  			var stringLen uint64
 11596  			for shift := uint(0); ; shift += 7 {
 11597  				if shift >= 64 {
 11598  					return ErrIntOverflowTypes
 11599  				}
 11600  				if iNdEx >= l {
 11601  					return io.ErrUnexpectedEOF
 11602  				}
 11603  				b := dAtA[iNdEx]
 11604  				iNdEx++
 11605  				stringLen |= uint64(b&0x7F) << shift
 11606  				if b < 0x80 {
 11607  					break
 11608  				}
 11609  			}
 11610  			intStringLen := int(stringLen)
 11611  			if intStringLen < 0 {
 11612  				return ErrInvalidLengthTypes
 11613  			}
 11614  			postIndex := iNdEx + intStringLen
 11615  			if postIndex < 0 {
 11616  				return ErrInvalidLengthTypes
 11617  			}
 11618  			if postIndex > l {
 11619  				return io.ErrUnexpectedEOF
 11620  			}
 11621  			m.Kind = string(dAtA[iNdEx:postIndex])
 11622  			iNdEx = postIndex
 11623  		case 2:
 11624  			if wireType != 0 {
 11625  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
 11626  			}
 11627  			m.Value = 0
 11628  			for shift := uint(0); ; shift += 7 {
 11629  				if shift >= 64 {
 11630  					return ErrIntOverflowTypes
 11631  				}
 11632  				if iNdEx >= l {
 11633  					return io.ErrUnexpectedEOF
 11634  				}
 11635  				b := dAtA[iNdEx]
 11636  				iNdEx++
 11637  				m.Value |= int64(b&0x7F) << shift
 11638  				if b < 0x80 {
 11639  					break
 11640  				}
 11641  			}
 11642  		default:
 11643  			iNdEx = preIndex
 11644  			skippy, err := skipTypes(dAtA[iNdEx:])
 11645  			if err != nil {
 11646  				return err
 11647  			}
 11648  			if skippy < 0 {
 11649  				return ErrInvalidLengthTypes
 11650  			}
 11651  			if (iNdEx + skippy) < 0 {
 11652  				return ErrInvalidLengthTypes
 11653  			}
 11654  			if (iNdEx + skippy) > l {
 11655  				return io.ErrUnexpectedEOF
 11656  			}
 11657  			iNdEx += skippy
 11658  		}
 11659  	}
 11660  
 11661  	if iNdEx > l {
 11662  		return io.ErrUnexpectedEOF
 11663  	}
 11664  	return nil
 11665  }
 11666  func (m *GenericResource) Unmarshal(dAtA []byte) error {
 11667  	l := len(dAtA)
 11668  	iNdEx := 0
 11669  	for iNdEx < l {
 11670  		preIndex := iNdEx
 11671  		var wire uint64
 11672  		for shift := uint(0); ; shift += 7 {
 11673  			if shift >= 64 {
 11674  				return ErrIntOverflowTypes
 11675  			}
 11676  			if iNdEx >= l {
 11677  				return io.ErrUnexpectedEOF
 11678  			}
 11679  			b := dAtA[iNdEx]
 11680  			iNdEx++
 11681  			wire |= uint64(b&0x7F) << shift
 11682  			if b < 0x80 {
 11683  				break
 11684  			}
 11685  		}
 11686  		fieldNum := int32(wire >> 3)
 11687  		wireType := int(wire & 0x7)
 11688  		if wireType == 4 {
 11689  			return fmt.Errorf("proto: GenericResource: wiretype end group for non-group")
 11690  		}
 11691  		if fieldNum <= 0 {
 11692  			return fmt.Errorf("proto: GenericResource: illegal tag %d (wire type %d)", fieldNum, wire)
 11693  		}
 11694  		switch fieldNum {
 11695  		case 1:
 11696  			if wireType != 2 {
 11697  				return fmt.Errorf("proto: wrong wireType = %d for field NamedResourceSpec", wireType)
 11698  			}
 11699  			var msglen int
 11700  			for shift := uint(0); ; shift += 7 {
 11701  				if shift >= 64 {
 11702  					return ErrIntOverflowTypes
 11703  				}
 11704  				if iNdEx >= l {
 11705  					return io.ErrUnexpectedEOF
 11706  				}
 11707  				b := dAtA[iNdEx]
 11708  				iNdEx++
 11709  				msglen |= int(b&0x7F) << shift
 11710  				if b < 0x80 {
 11711  					break
 11712  				}
 11713  			}
 11714  			if msglen < 0 {
 11715  				return ErrInvalidLengthTypes
 11716  			}
 11717  			postIndex := iNdEx + msglen
 11718  			if postIndex < 0 {
 11719  				return ErrInvalidLengthTypes
 11720  			}
 11721  			if postIndex > l {
 11722  				return io.ErrUnexpectedEOF
 11723  			}
 11724  			v := &NamedGenericResource{}
 11725  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11726  				return err
 11727  			}
 11728  			m.Resource = &GenericResource_NamedResourceSpec{v}
 11729  			iNdEx = postIndex
 11730  		case 2:
 11731  			if wireType != 2 {
 11732  				return fmt.Errorf("proto: wrong wireType = %d for field DiscreteResourceSpec", wireType)
 11733  			}
 11734  			var msglen int
 11735  			for shift := uint(0); ; shift += 7 {
 11736  				if shift >= 64 {
 11737  					return ErrIntOverflowTypes
 11738  				}
 11739  				if iNdEx >= l {
 11740  					return io.ErrUnexpectedEOF
 11741  				}
 11742  				b := dAtA[iNdEx]
 11743  				iNdEx++
 11744  				msglen |= int(b&0x7F) << shift
 11745  				if b < 0x80 {
 11746  					break
 11747  				}
 11748  			}
 11749  			if msglen < 0 {
 11750  				return ErrInvalidLengthTypes
 11751  			}
 11752  			postIndex := iNdEx + msglen
 11753  			if postIndex < 0 {
 11754  				return ErrInvalidLengthTypes
 11755  			}
 11756  			if postIndex > l {
 11757  				return io.ErrUnexpectedEOF
 11758  			}
 11759  			v := &DiscreteGenericResource{}
 11760  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11761  				return err
 11762  			}
 11763  			m.Resource = &GenericResource_DiscreteResourceSpec{v}
 11764  			iNdEx = postIndex
 11765  		default:
 11766  			iNdEx = preIndex
 11767  			skippy, err := skipTypes(dAtA[iNdEx:])
 11768  			if err != nil {
 11769  				return err
 11770  			}
 11771  			if skippy < 0 {
 11772  				return ErrInvalidLengthTypes
 11773  			}
 11774  			if (iNdEx + skippy) < 0 {
 11775  				return ErrInvalidLengthTypes
 11776  			}
 11777  			if (iNdEx + skippy) > l {
 11778  				return io.ErrUnexpectedEOF
 11779  			}
 11780  			iNdEx += skippy
 11781  		}
 11782  	}
 11783  
 11784  	if iNdEx > l {
 11785  		return io.ErrUnexpectedEOF
 11786  	}
 11787  	return nil
 11788  }
 11789  func (m *Resources) Unmarshal(dAtA []byte) error {
 11790  	l := len(dAtA)
 11791  	iNdEx := 0
 11792  	for iNdEx < l {
 11793  		preIndex := iNdEx
 11794  		var wire uint64
 11795  		for shift := uint(0); ; shift += 7 {
 11796  			if shift >= 64 {
 11797  				return ErrIntOverflowTypes
 11798  			}
 11799  			if iNdEx >= l {
 11800  				return io.ErrUnexpectedEOF
 11801  			}
 11802  			b := dAtA[iNdEx]
 11803  			iNdEx++
 11804  			wire |= uint64(b&0x7F) << shift
 11805  			if b < 0x80 {
 11806  				break
 11807  			}
 11808  		}
 11809  		fieldNum := int32(wire >> 3)
 11810  		wireType := int(wire & 0x7)
 11811  		if wireType == 4 {
 11812  			return fmt.Errorf("proto: Resources: wiretype end group for non-group")
 11813  		}
 11814  		if fieldNum <= 0 {
 11815  			return fmt.Errorf("proto: Resources: illegal tag %d (wire type %d)", fieldNum, wire)
 11816  		}
 11817  		switch fieldNum {
 11818  		case 1:
 11819  			if wireType != 0 {
 11820  				return fmt.Errorf("proto: wrong wireType = %d for field NanoCPUs", wireType)
 11821  			}
 11822  			m.NanoCPUs = 0
 11823  			for shift := uint(0); ; shift += 7 {
 11824  				if shift >= 64 {
 11825  					return ErrIntOverflowTypes
 11826  				}
 11827  				if iNdEx >= l {
 11828  					return io.ErrUnexpectedEOF
 11829  				}
 11830  				b := dAtA[iNdEx]
 11831  				iNdEx++
 11832  				m.NanoCPUs |= int64(b&0x7F) << shift
 11833  				if b < 0x80 {
 11834  					break
 11835  				}
 11836  			}
 11837  		case 2:
 11838  			if wireType != 0 {
 11839  				return fmt.Errorf("proto: wrong wireType = %d for field MemoryBytes", wireType)
 11840  			}
 11841  			m.MemoryBytes = 0
 11842  			for shift := uint(0); ; shift += 7 {
 11843  				if shift >= 64 {
 11844  					return ErrIntOverflowTypes
 11845  				}
 11846  				if iNdEx >= l {
 11847  					return io.ErrUnexpectedEOF
 11848  				}
 11849  				b := dAtA[iNdEx]
 11850  				iNdEx++
 11851  				m.MemoryBytes |= int64(b&0x7F) << shift
 11852  				if b < 0x80 {
 11853  					break
 11854  				}
 11855  			}
 11856  		case 3:
 11857  			if wireType != 2 {
 11858  				return fmt.Errorf("proto: wrong wireType = %d for field Generic", wireType)
 11859  			}
 11860  			var msglen int
 11861  			for shift := uint(0); ; shift += 7 {
 11862  				if shift >= 64 {
 11863  					return ErrIntOverflowTypes
 11864  				}
 11865  				if iNdEx >= l {
 11866  					return io.ErrUnexpectedEOF
 11867  				}
 11868  				b := dAtA[iNdEx]
 11869  				iNdEx++
 11870  				msglen |= int(b&0x7F) << shift
 11871  				if b < 0x80 {
 11872  					break
 11873  				}
 11874  			}
 11875  			if msglen < 0 {
 11876  				return ErrInvalidLengthTypes
 11877  			}
 11878  			postIndex := iNdEx + msglen
 11879  			if postIndex < 0 {
 11880  				return ErrInvalidLengthTypes
 11881  			}
 11882  			if postIndex > l {
 11883  				return io.ErrUnexpectedEOF
 11884  			}
 11885  			m.Generic = append(m.Generic, &GenericResource{})
 11886  			if err := m.Generic[len(m.Generic)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11887  				return err
 11888  			}
 11889  			iNdEx = postIndex
 11890  		default:
 11891  			iNdEx = preIndex
 11892  			skippy, err := skipTypes(dAtA[iNdEx:])
 11893  			if err != nil {
 11894  				return err
 11895  			}
 11896  			if skippy < 0 {
 11897  				return ErrInvalidLengthTypes
 11898  			}
 11899  			if (iNdEx + skippy) < 0 {
 11900  				return ErrInvalidLengthTypes
 11901  			}
 11902  			if (iNdEx + skippy) > l {
 11903  				return io.ErrUnexpectedEOF
 11904  			}
 11905  			iNdEx += skippy
 11906  		}
 11907  	}
 11908  
 11909  	if iNdEx > l {
 11910  		return io.ErrUnexpectedEOF
 11911  	}
 11912  	return nil
 11913  }
 11914  func (m *ResourceRequirements) Unmarshal(dAtA []byte) error {
 11915  	l := len(dAtA)
 11916  	iNdEx := 0
 11917  	for iNdEx < l {
 11918  		preIndex := iNdEx
 11919  		var wire uint64
 11920  		for shift := uint(0); ; shift += 7 {
 11921  			if shift >= 64 {
 11922  				return ErrIntOverflowTypes
 11923  			}
 11924  			if iNdEx >= l {
 11925  				return io.ErrUnexpectedEOF
 11926  			}
 11927  			b := dAtA[iNdEx]
 11928  			iNdEx++
 11929  			wire |= uint64(b&0x7F) << shift
 11930  			if b < 0x80 {
 11931  				break
 11932  			}
 11933  		}
 11934  		fieldNum := int32(wire >> 3)
 11935  		wireType := int(wire & 0x7)
 11936  		if wireType == 4 {
 11937  			return fmt.Errorf("proto: ResourceRequirements: wiretype end group for non-group")
 11938  		}
 11939  		if fieldNum <= 0 {
 11940  			return fmt.Errorf("proto: ResourceRequirements: illegal tag %d (wire type %d)", fieldNum, wire)
 11941  		}
 11942  		switch fieldNum {
 11943  		case 1:
 11944  			if wireType != 2 {
 11945  				return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType)
 11946  			}
 11947  			var msglen int
 11948  			for shift := uint(0); ; shift += 7 {
 11949  				if shift >= 64 {
 11950  					return ErrIntOverflowTypes
 11951  				}
 11952  				if iNdEx >= l {
 11953  					return io.ErrUnexpectedEOF
 11954  				}
 11955  				b := dAtA[iNdEx]
 11956  				iNdEx++
 11957  				msglen |= int(b&0x7F) << shift
 11958  				if b < 0x80 {
 11959  					break
 11960  				}
 11961  			}
 11962  			if msglen < 0 {
 11963  				return ErrInvalidLengthTypes
 11964  			}
 11965  			postIndex := iNdEx + msglen
 11966  			if postIndex < 0 {
 11967  				return ErrInvalidLengthTypes
 11968  			}
 11969  			if postIndex > l {
 11970  				return io.ErrUnexpectedEOF
 11971  			}
 11972  			if m.Limits == nil {
 11973  				m.Limits = &Resources{}
 11974  			}
 11975  			if err := m.Limits.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11976  				return err
 11977  			}
 11978  			iNdEx = postIndex
 11979  		case 2:
 11980  			if wireType != 2 {
 11981  				return fmt.Errorf("proto: wrong wireType = %d for field Reservations", wireType)
 11982  			}
 11983  			var msglen int
 11984  			for shift := uint(0); ; shift += 7 {
 11985  				if shift >= 64 {
 11986  					return ErrIntOverflowTypes
 11987  				}
 11988  				if iNdEx >= l {
 11989  					return io.ErrUnexpectedEOF
 11990  				}
 11991  				b := dAtA[iNdEx]
 11992  				iNdEx++
 11993  				msglen |= int(b&0x7F) << shift
 11994  				if b < 0x80 {
 11995  					break
 11996  				}
 11997  			}
 11998  			if msglen < 0 {
 11999  				return ErrInvalidLengthTypes
 12000  			}
 12001  			postIndex := iNdEx + msglen
 12002  			if postIndex < 0 {
 12003  				return ErrInvalidLengthTypes
 12004  			}
 12005  			if postIndex > l {
 12006  				return io.ErrUnexpectedEOF
 12007  			}
 12008  			if m.Reservations == nil {
 12009  				m.Reservations = &Resources{}
 12010  			}
 12011  			if err := m.Reservations.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12012  				return err
 12013  			}
 12014  			iNdEx = postIndex
 12015  		case 3:
 12016  			if wireType != 2 {
 12017  				return fmt.Errorf("proto: wrong wireType = %d for field SwapBytes", wireType)
 12018  			}
 12019  			var msglen int
 12020  			for shift := uint(0); ; shift += 7 {
 12021  				if shift >= 64 {
 12022  					return ErrIntOverflowTypes
 12023  				}
 12024  				if iNdEx >= l {
 12025  					return io.ErrUnexpectedEOF
 12026  				}
 12027  				b := dAtA[iNdEx]
 12028  				iNdEx++
 12029  				msglen |= int(b&0x7F) << shift
 12030  				if b < 0x80 {
 12031  					break
 12032  				}
 12033  			}
 12034  			if msglen < 0 {
 12035  				return ErrInvalidLengthTypes
 12036  			}
 12037  			postIndex := iNdEx + msglen
 12038  			if postIndex < 0 {
 12039  				return ErrInvalidLengthTypes
 12040  			}
 12041  			if postIndex > l {
 12042  				return io.ErrUnexpectedEOF
 12043  			}
 12044  			if m.SwapBytes == nil {
 12045  				m.SwapBytes = &types.Int64Value{}
 12046  			}
 12047  			if err := m.SwapBytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12048  				return err
 12049  			}
 12050  			iNdEx = postIndex
 12051  		case 4:
 12052  			if wireType != 2 {
 12053  				return fmt.Errorf("proto: wrong wireType = %d for field MemorySwappiness", wireType)
 12054  			}
 12055  			var msglen int
 12056  			for shift := uint(0); ; shift += 7 {
 12057  				if shift >= 64 {
 12058  					return ErrIntOverflowTypes
 12059  				}
 12060  				if iNdEx >= l {
 12061  					return io.ErrUnexpectedEOF
 12062  				}
 12063  				b := dAtA[iNdEx]
 12064  				iNdEx++
 12065  				msglen |= int(b&0x7F) << shift
 12066  				if b < 0x80 {
 12067  					break
 12068  				}
 12069  			}
 12070  			if msglen < 0 {
 12071  				return ErrInvalidLengthTypes
 12072  			}
 12073  			postIndex := iNdEx + msglen
 12074  			if postIndex < 0 {
 12075  				return ErrInvalidLengthTypes
 12076  			}
 12077  			if postIndex > l {
 12078  				return io.ErrUnexpectedEOF
 12079  			}
 12080  			if m.MemorySwappiness == nil {
 12081  				m.MemorySwappiness = &types.Int64Value{}
 12082  			}
 12083  			if err := m.MemorySwappiness.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12084  				return err
 12085  			}
 12086  			iNdEx = postIndex
 12087  		default:
 12088  			iNdEx = preIndex
 12089  			skippy, err := skipTypes(dAtA[iNdEx:])
 12090  			if err != nil {
 12091  				return err
 12092  			}
 12093  			if skippy < 0 {
 12094  				return ErrInvalidLengthTypes
 12095  			}
 12096  			if (iNdEx + skippy) < 0 {
 12097  				return ErrInvalidLengthTypes
 12098  			}
 12099  			if (iNdEx + skippy) > l {
 12100  				return io.ErrUnexpectedEOF
 12101  			}
 12102  			iNdEx += skippy
 12103  		}
 12104  	}
 12105  
 12106  	if iNdEx > l {
 12107  		return io.ErrUnexpectedEOF
 12108  	}
 12109  	return nil
 12110  }
 12111  func (m *Platform) Unmarshal(dAtA []byte) error {
 12112  	l := len(dAtA)
 12113  	iNdEx := 0
 12114  	for iNdEx < l {
 12115  		preIndex := iNdEx
 12116  		var wire uint64
 12117  		for shift := uint(0); ; shift += 7 {
 12118  			if shift >= 64 {
 12119  				return ErrIntOverflowTypes
 12120  			}
 12121  			if iNdEx >= l {
 12122  				return io.ErrUnexpectedEOF
 12123  			}
 12124  			b := dAtA[iNdEx]
 12125  			iNdEx++
 12126  			wire |= uint64(b&0x7F) << shift
 12127  			if b < 0x80 {
 12128  				break
 12129  			}
 12130  		}
 12131  		fieldNum := int32(wire >> 3)
 12132  		wireType := int(wire & 0x7)
 12133  		if wireType == 4 {
 12134  			return fmt.Errorf("proto: Platform: wiretype end group for non-group")
 12135  		}
 12136  		if fieldNum <= 0 {
 12137  			return fmt.Errorf("proto: Platform: illegal tag %d (wire type %d)", fieldNum, wire)
 12138  		}
 12139  		switch fieldNum {
 12140  		case 1:
 12141  			if wireType != 2 {
 12142  				return fmt.Errorf("proto: wrong wireType = %d for field Architecture", wireType)
 12143  			}
 12144  			var stringLen uint64
 12145  			for shift := uint(0); ; shift += 7 {
 12146  				if shift >= 64 {
 12147  					return ErrIntOverflowTypes
 12148  				}
 12149  				if iNdEx >= l {
 12150  					return io.ErrUnexpectedEOF
 12151  				}
 12152  				b := dAtA[iNdEx]
 12153  				iNdEx++
 12154  				stringLen |= uint64(b&0x7F) << shift
 12155  				if b < 0x80 {
 12156  					break
 12157  				}
 12158  			}
 12159  			intStringLen := int(stringLen)
 12160  			if intStringLen < 0 {
 12161  				return ErrInvalidLengthTypes
 12162  			}
 12163  			postIndex := iNdEx + intStringLen
 12164  			if postIndex < 0 {
 12165  				return ErrInvalidLengthTypes
 12166  			}
 12167  			if postIndex > l {
 12168  				return io.ErrUnexpectedEOF
 12169  			}
 12170  			m.Architecture = string(dAtA[iNdEx:postIndex])
 12171  			iNdEx = postIndex
 12172  		case 2:
 12173  			if wireType != 2 {
 12174  				return fmt.Errorf("proto: wrong wireType = %d for field OS", wireType)
 12175  			}
 12176  			var stringLen uint64
 12177  			for shift := uint(0); ; shift += 7 {
 12178  				if shift >= 64 {
 12179  					return ErrIntOverflowTypes
 12180  				}
 12181  				if iNdEx >= l {
 12182  					return io.ErrUnexpectedEOF
 12183  				}
 12184  				b := dAtA[iNdEx]
 12185  				iNdEx++
 12186  				stringLen |= uint64(b&0x7F) << shift
 12187  				if b < 0x80 {
 12188  					break
 12189  				}
 12190  			}
 12191  			intStringLen := int(stringLen)
 12192  			if intStringLen < 0 {
 12193  				return ErrInvalidLengthTypes
 12194  			}
 12195  			postIndex := iNdEx + intStringLen
 12196  			if postIndex < 0 {
 12197  				return ErrInvalidLengthTypes
 12198  			}
 12199  			if postIndex > l {
 12200  				return io.ErrUnexpectedEOF
 12201  			}
 12202  			m.OS = string(dAtA[iNdEx:postIndex])
 12203  			iNdEx = postIndex
 12204  		default:
 12205  			iNdEx = preIndex
 12206  			skippy, err := skipTypes(dAtA[iNdEx:])
 12207  			if err != nil {
 12208  				return err
 12209  			}
 12210  			if skippy < 0 {
 12211  				return ErrInvalidLengthTypes
 12212  			}
 12213  			if (iNdEx + skippy) < 0 {
 12214  				return ErrInvalidLengthTypes
 12215  			}
 12216  			if (iNdEx + skippy) > l {
 12217  				return io.ErrUnexpectedEOF
 12218  			}
 12219  			iNdEx += skippy
 12220  		}
 12221  	}
 12222  
 12223  	if iNdEx > l {
 12224  		return io.ErrUnexpectedEOF
 12225  	}
 12226  	return nil
 12227  }
 12228  func (m *PluginDescription) Unmarshal(dAtA []byte) error {
 12229  	l := len(dAtA)
 12230  	iNdEx := 0
 12231  	for iNdEx < l {
 12232  		preIndex := iNdEx
 12233  		var wire uint64
 12234  		for shift := uint(0); ; shift += 7 {
 12235  			if shift >= 64 {
 12236  				return ErrIntOverflowTypes
 12237  			}
 12238  			if iNdEx >= l {
 12239  				return io.ErrUnexpectedEOF
 12240  			}
 12241  			b := dAtA[iNdEx]
 12242  			iNdEx++
 12243  			wire |= uint64(b&0x7F) << shift
 12244  			if b < 0x80 {
 12245  				break
 12246  			}
 12247  		}
 12248  		fieldNum := int32(wire >> 3)
 12249  		wireType := int(wire & 0x7)
 12250  		if wireType == 4 {
 12251  			return fmt.Errorf("proto: PluginDescription: wiretype end group for non-group")
 12252  		}
 12253  		if fieldNum <= 0 {
 12254  			return fmt.Errorf("proto: PluginDescription: illegal tag %d (wire type %d)", fieldNum, wire)
 12255  		}
 12256  		switch fieldNum {
 12257  		case 1:
 12258  			if wireType != 2 {
 12259  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
 12260  			}
 12261  			var stringLen uint64
 12262  			for shift := uint(0); ; shift += 7 {
 12263  				if shift >= 64 {
 12264  					return ErrIntOverflowTypes
 12265  				}
 12266  				if iNdEx >= l {
 12267  					return io.ErrUnexpectedEOF
 12268  				}
 12269  				b := dAtA[iNdEx]
 12270  				iNdEx++
 12271  				stringLen |= uint64(b&0x7F) << shift
 12272  				if b < 0x80 {
 12273  					break
 12274  				}
 12275  			}
 12276  			intStringLen := int(stringLen)
 12277  			if intStringLen < 0 {
 12278  				return ErrInvalidLengthTypes
 12279  			}
 12280  			postIndex := iNdEx + intStringLen
 12281  			if postIndex < 0 {
 12282  				return ErrInvalidLengthTypes
 12283  			}
 12284  			if postIndex > l {
 12285  				return io.ErrUnexpectedEOF
 12286  			}
 12287  			m.Type = string(dAtA[iNdEx:postIndex])
 12288  			iNdEx = postIndex
 12289  		case 2:
 12290  			if wireType != 2 {
 12291  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 12292  			}
 12293  			var stringLen uint64
 12294  			for shift := uint(0); ; shift += 7 {
 12295  				if shift >= 64 {
 12296  					return ErrIntOverflowTypes
 12297  				}
 12298  				if iNdEx >= l {
 12299  					return io.ErrUnexpectedEOF
 12300  				}
 12301  				b := dAtA[iNdEx]
 12302  				iNdEx++
 12303  				stringLen |= uint64(b&0x7F) << shift
 12304  				if b < 0x80 {
 12305  					break
 12306  				}
 12307  			}
 12308  			intStringLen := int(stringLen)
 12309  			if intStringLen < 0 {
 12310  				return ErrInvalidLengthTypes
 12311  			}
 12312  			postIndex := iNdEx + intStringLen
 12313  			if postIndex < 0 {
 12314  				return ErrInvalidLengthTypes
 12315  			}
 12316  			if postIndex > l {
 12317  				return io.ErrUnexpectedEOF
 12318  			}
 12319  			m.Name = string(dAtA[iNdEx:postIndex])
 12320  			iNdEx = postIndex
 12321  		default:
 12322  			iNdEx = preIndex
 12323  			skippy, err := skipTypes(dAtA[iNdEx:])
 12324  			if err != nil {
 12325  				return err
 12326  			}
 12327  			if skippy < 0 {
 12328  				return ErrInvalidLengthTypes
 12329  			}
 12330  			if (iNdEx + skippy) < 0 {
 12331  				return ErrInvalidLengthTypes
 12332  			}
 12333  			if (iNdEx + skippy) > l {
 12334  				return io.ErrUnexpectedEOF
 12335  			}
 12336  			iNdEx += skippy
 12337  		}
 12338  	}
 12339  
 12340  	if iNdEx > l {
 12341  		return io.ErrUnexpectedEOF
 12342  	}
 12343  	return nil
 12344  }
 12345  func (m *EngineDescription) Unmarshal(dAtA []byte) error {
 12346  	l := len(dAtA)
 12347  	iNdEx := 0
 12348  	for iNdEx < l {
 12349  		preIndex := iNdEx
 12350  		var wire uint64
 12351  		for shift := uint(0); ; shift += 7 {
 12352  			if shift >= 64 {
 12353  				return ErrIntOverflowTypes
 12354  			}
 12355  			if iNdEx >= l {
 12356  				return io.ErrUnexpectedEOF
 12357  			}
 12358  			b := dAtA[iNdEx]
 12359  			iNdEx++
 12360  			wire |= uint64(b&0x7F) << shift
 12361  			if b < 0x80 {
 12362  				break
 12363  			}
 12364  		}
 12365  		fieldNum := int32(wire >> 3)
 12366  		wireType := int(wire & 0x7)
 12367  		if wireType == 4 {
 12368  			return fmt.Errorf("proto: EngineDescription: wiretype end group for non-group")
 12369  		}
 12370  		if fieldNum <= 0 {
 12371  			return fmt.Errorf("proto: EngineDescription: illegal tag %d (wire type %d)", fieldNum, wire)
 12372  		}
 12373  		switch fieldNum {
 12374  		case 1:
 12375  			if wireType != 2 {
 12376  				return fmt.Errorf("proto: wrong wireType = %d for field EngineVersion", wireType)
 12377  			}
 12378  			var stringLen uint64
 12379  			for shift := uint(0); ; shift += 7 {
 12380  				if shift >= 64 {
 12381  					return ErrIntOverflowTypes
 12382  				}
 12383  				if iNdEx >= l {
 12384  					return io.ErrUnexpectedEOF
 12385  				}
 12386  				b := dAtA[iNdEx]
 12387  				iNdEx++
 12388  				stringLen |= uint64(b&0x7F) << shift
 12389  				if b < 0x80 {
 12390  					break
 12391  				}
 12392  			}
 12393  			intStringLen := int(stringLen)
 12394  			if intStringLen < 0 {
 12395  				return ErrInvalidLengthTypes
 12396  			}
 12397  			postIndex := iNdEx + intStringLen
 12398  			if postIndex < 0 {
 12399  				return ErrInvalidLengthTypes
 12400  			}
 12401  			if postIndex > l {
 12402  				return io.ErrUnexpectedEOF
 12403  			}
 12404  			m.EngineVersion = string(dAtA[iNdEx:postIndex])
 12405  			iNdEx = postIndex
 12406  		case 2:
 12407  			if wireType != 2 {
 12408  				return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
 12409  			}
 12410  			var msglen int
 12411  			for shift := uint(0); ; shift += 7 {
 12412  				if shift >= 64 {
 12413  					return ErrIntOverflowTypes
 12414  				}
 12415  				if iNdEx >= l {
 12416  					return io.ErrUnexpectedEOF
 12417  				}
 12418  				b := dAtA[iNdEx]
 12419  				iNdEx++
 12420  				msglen |= int(b&0x7F) << shift
 12421  				if b < 0x80 {
 12422  					break
 12423  				}
 12424  			}
 12425  			if msglen < 0 {
 12426  				return ErrInvalidLengthTypes
 12427  			}
 12428  			postIndex := iNdEx + msglen
 12429  			if postIndex < 0 {
 12430  				return ErrInvalidLengthTypes
 12431  			}
 12432  			if postIndex > l {
 12433  				return io.ErrUnexpectedEOF
 12434  			}
 12435  			if m.Labels == nil {
 12436  				m.Labels = make(map[string]string)
 12437  			}
 12438  			var mapkey string
 12439  			var mapvalue string
 12440  			for iNdEx < postIndex {
 12441  				entryPreIndex := iNdEx
 12442  				var wire uint64
 12443  				for shift := uint(0); ; shift += 7 {
 12444  					if shift >= 64 {
 12445  						return ErrIntOverflowTypes
 12446  					}
 12447  					if iNdEx >= l {
 12448  						return io.ErrUnexpectedEOF
 12449  					}
 12450  					b := dAtA[iNdEx]
 12451  					iNdEx++
 12452  					wire |= uint64(b&0x7F) << shift
 12453  					if b < 0x80 {
 12454  						break
 12455  					}
 12456  				}
 12457  				fieldNum := int32(wire >> 3)
 12458  				if fieldNum == 1 {
 12459  					var stringLenmapkey uint64
 12460  					for shift := uint(0); ; shift += 7 {
 12461  						if shift >= 64 {
 12462  							return ErrIntOverflowTypes
 12463  						}
 12464  						if iNdEx >= l {
 12465  							return io.ErrUnexpectedEOF
 12466  						}
 12467  						b := dAtA[iNdEx]
 12468  						iNdEx++
 12469  						stringLenmapkey |= uint64(b&0x7F) << shift
 12470  						if b < 0x80 {
 12471  							break
 12472  						}
 12473  					}
 12474  					intStringLenmapkey := int(stringLenmapkey)
 12475  					if intStringLenmapkey < 0 {
 12476  						return ErrInvalidLengthTypes
 12477  					}
 12478  					postStringIndexmapkey := iNdEx + intStringLenmapkey
 12479  					if postStringIndexmapkey < 0 {
 12480  						return ErrInvalidLengthTypes
 12481  					}
 12482  					if postStringIndexmapkey > l {
 12483  						return io.ErrUnexpectedEOF
 12484  					}
 12485  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
 12486  					iNdEx = postStringIndexmapkey
 12487  				} else if fieldNum == 2 {
 12488  					var stringLenmapvalue uint64
 12489  					for shift := uint(0); ; shift += 7 {
 12490  						if shift >= 64 {
 12491  							return ErrIntOverflowTypes
 12492  						}
 12493  						if iNdEx >= l {
 12494  							return io.ErrUnexpectedEOF
 12495  						}
 12496  						b := dAtA[iNdEx]
 12497  						iNdEx++
 12498  						stringLenmapvalue |= uint64(b&0x7F) << shift
 12499  						if b < 0x80 {
 12500  							break
 12501  						}
 12502  					}
 12503  					intStringLenmapvalue := int(stringLenmapvalue)
 12504  					if intStringLenmapvalue < 0 {
 12505  						return ErrInvalidLengthTypes
 12506  					}
 12507  					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
 12508  					if postStringIndexmapvalue < 0 {
 12509  						return ErrInvalidLengthTypes
 12510  					}
 12511  					if postStringIndexmapvalue > l {
 12512  						return io.ErrUnexpectedEOF
 12513  					}
 12514  					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
 12515  					iNdEx = postStringIndexmapvalue
 12516  				} else {
 12517  					iNdEx = entryPreIndex
 12518  					skippy, err := skipTypes(dAtA[iNdEx:])
 12519  					if err != nil {
 12520  						return err
 12521  					}
 12522  					if skippy < 0 {
 12523  						return ErrInvalidLengthTypes
 12524  					}
 12525  					if (iNdEx + skippy) > postIndex {
 12526  						return io.ErrUnexpectedEOF
 12527  					}
 12528  					iNdEx += skippy
 12529  				}
 12530  			}
 12531  			m.Labels[mapkey] = mapvalue
 12532  			iNdEx = postIndex
 12533  		case 3:
 12534  			if wireType != 2 {
 12535  				return fmt.Errorf("proto: wrong wireType = %d for field Plugins", wireType)
 12536  			}
 12537  			var msglen int
 12538  			for shift := uint(0); ; shift += 7 {
 12539  				if shift >= 64 {
 12540  					return ErrIntOverflowTypes
 12541  				}
 12542  				if iNdEx >= l {
 12543  					return io.ErrUnexpectedEOF
 12544  				}
 12545  				b := dAtA[iNdEx]
 12546  				iNdEx++
 12547  				msglen |= int(b&0x7F) << shift
 12548  				if b < 0x80 {
 12549  					break
 12550  				}
 12551  			}
 12552  			if msglen < 0 {
 12553  				return ErrInvalidLengthTypes
 12554  			}
 12555  			postIndex := iNdEx + msglen
 12556  			if postIndex < 0 {
 12557  				return ErrInvalidLengthTypes
 12558  			}
 12559  			if postIndex > l {
 12560  				return io.ErrUnexpectedEOF
 12561  			}
 12562  			m.Plugins = append(m.Plugins, PluginDescription{})
 12563  			if err := m.Plugins[len(m.Plugins)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12564  				return err
 12565  			}
 12566  			iNdEx = postIndex
 12567  		default:
 12568  			iNdEx = preIndex
 12569  			skippy, err := skipTypes(dAtA[iNdEx:])
 12570  			if err != nil {
 12571  				return err
 12572  			}
 12573  			if skippy < 0 {
 12574  				return ErrInvalidLengthTypes
 12575  			}
 12576  			if (iNdEx + skippy) < 0 {
 12577  				return ErrInvalidLengthTypes
 12578  			}
 12579  			if (iNdEx + skippy) > l {
 12580  				return io.ErrUnexpectedEOF
 12581  			}
 12582  			iNdEx += skippy
 12583  		}
 12584  	}
 12585  
 12586  	if iNdEx > l {
 12587  		return io.ErrUnexpectedEOF
 12588  	}
 12589  	return nil
 12590  }
 12591  func (m *NodeDescription) Unmarshal(dAtA []byte) error {
 12592  	l := len(dAtA)
 12593  	iNdEx := 0
 12594  	for iNdEx < l {
 12595  		preIndex := iNdEx
 12596  		var wire uint64
 12597  		for shift := uint(0); ; shift += 7 {
 12598  			if shift >= 64 {
 12599  				return ErrIntOverflowTypes
 12600  			}
 12601  			if iNdEx >= l {
 12602  				return io.ErrUnexpectedEOF
 12603  			}
 12604  			b := dAtA[iNdEx]
 12605  			iNdEx++
 12606  			wire |= uint64(b&0x7F) << shift
 12607  			if b < 0x80 {
 12608  				break
 12609  			}
 12610  		}
 12611  		fieldNum := int32(wire >> 3)
 12612  		wireType := int(wire & 0x7)
 12613  		if wireType == 4 {
 12614  			return fmt.Errorf("proto: NodeDescription: wiretype end group for non-group")
 12615  		}
 12616  		if fieldNum <= 0 {
 12617  			return fmt.Errorf("proto: NodeDescription: illegal tag %d (wire type %d)", fieldNum, wire)
 12618  		}
 12619  		switch fieldNum {
 12620  		case 1:
 12621  			if wireType != 2 {
 12622  				return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType)
 12623  			}
 12624  			var stringLen uint64
 12625  			for shift := uint(0); ; shift += 7 {
 12626  				if shift >= 64 {
 12627  					return ErrIntOverflowTypes
 12628  				}
 12629  				if iNdEx >= l {
 12630  					return io.ErrUnexpectedEOF
 12631  				}
 12632  				b := dAtA[iNdEx]
 12633  				iNdEx++
 12634  				stringLen |= uint64(b&0x7F) << shift
 12635  				if b < 0x80 {
 12636  					break
 12637  				}
 12638  			}
 12639  			intStringLen := int(stringLen)
 12640  			if intStringLen < 0 {
 12641  				return ErrInvalidLengthTypes
 12642  			}
 12643  			postIndex := iNdEx + intStringLen
 12644  			if postIndex < 0 {
 12645  				return ErrInvalidLengthTypes
 12646  			}
 12647  			if postIndex > l {
 12648  				return io.ErrUnexpectedEOF
 12649  			}
 12650  			m.Hostname = string(dAtA[iNdEx:postIndex])
 12651  			iNdEx = postIndex
 12652  		case 2:
 12653  			if wireType != 2 {
 12654  				return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
 12655  			}
 12656  			var msglen int
 12657  			for shift := uint(0); ; shift += 7 {
 12658  				if shift >= 64 {
 12659  					return ErrIntOverflowTypes
 12660  				}
 12661  				if iNdEx >= l {
 12662  					return io.ErrUnexpectedEOF
 12663  				}
 12664  				b := dAtA[iNdEx]
 12665  				iNdEx++
 12666  				msglen |= int(b&0x7F) << shift
 12667  				if b < 0x80 {
 12668  					break
 12669  				}
 12670  			}
 12671  			if msglen < 0 {
 12672  				return ErrInvalidLengthTypes
 12673  			}
 12674  			postIndex := iNdEx + msglen
 12675  			if postIndex < 0 {
 12676  				return ErrInvalidLengthTypes
 12677  			}
 12678  			if postIndex > l {
 12679  				return io.ErrUnexpectedEOF
 12680  			}
 12681  			if m.Platform == nil {
 12682  				m.Platform = &Platform{}
 12683  			}
 12684  			if err := m.Platform.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12685  				return err
 12686  			}
 12687  			iNdEx = postIndex
 12688  		case 3:
 12689  			if wireType != 2 {
 12690  				return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
 12691  			}
 12692  			var msglen int
 12693  			for shift := uint(0); ; shift += 7 {
 12694  				if shift >= 64 {
 12695  					return ErrIntOverflowTypes
 12696  				}
 12697  				if iNdEx >= l {
 12698  					return io.ErrUnexpectedEOF
 12699  				}
 12700  				b := dAtA[iNdEx]
 12701  				iNdEx++
 12702  				msglen |= int(b&0x7F) << shift
 12703  				if b < 0x80 {
 12704  					break
 12705  				}
 12706  			}
 12707  			if msglen < 0 {
 12708  				return ErrInvalidLengthTypes
 12709  			}
 12710  			postIndex := iNdEx + msglen
 12711  			if postIndex < 0 {
 12712  				return ErrInvalidLengthTypes
 12713  			}
 12714  			if postIndex > l {
 12715  				return io.ErrUnexpectedEOF
 12716  			}
 12717  			if m.Resources == nil {
 12718  				m.Resources = &Resources{}
 12719  			}
 12720  			if err := m.Resources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12721  				return err
 12722  			}
 12723  			iNdEx = postIndex
 12724  		case 4:
 12725  			if wireType != 2 {
 12726  				return fmt.Errorf("proto: wrong wireType = %d for field Engine", wireType)
 12727  			}
 12728  			var msglen int
 12729  			for shift := uint(0); ; shift += 7 {
 12730  				if shift >= 64 {
 12731  					return ErrIntOverflowTypes
 12732  				}
 12733  				if iNdEx >= l {
 12734  					return io.ErrUnexpectedEOF
 12735  				}
 12736  				b := dAtA[iNdEx]
 12737  				iNdEx++
 12738  				msglen |= int(b&0x7F) << shift
 12739  				if b < 0x80 {
 12740  					break
 12741  				}
 12742  			}
 12743  			if msglen < 0 {
 12744  				return ErrInvalidLengthTypes
 12745  			}
 12746  			postIndex := iNdEx + msglen
 12747  			if postIndex < 0 {
 12748  				return ErrInvalidLengthTypes
 12749  			}
 12750  			if postIndex > l {
 12751  				return io.ErrUnexpectedEOF
 12752  			}
 12753  			if m.Engine == nil {
 12754  				m.Engine = &EngineDescription{}
 12755  			}
 12756  			if err := m.Engine.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12757  				return err
 12758  			}
 12759  			iNdEx = postIndex
 12760  		case 5:
 12761  			if wireType != 2 {
 12762  				return fmt.Errorf("proto: wrong wireType = %d for field TLSInfo", wireType)
 12763  			}
 12764  			var msglen int
 12765  			for shift := uint(0); ; shift += 7 {
 12766  				if shift >= 64 {
 12767  					return ErrIntOverflowTypes
 12768  				}
 12769  				if iNdEx >= l {
 12770  					return io.ErrUnexpectedEOF
 12771  				}
 12772  				b := dAtA[iNdEx]
 12773  				iNdEx++
 12774  				msglen |= int(b&0x7F) << shift
 12775  				if b < 0x80 {
 12776  					break
 12777  				}
 12778  			}
 12779  			if msglen < 0 {
 12780  				return ErrInvalidLengthTypes
 12781  			}
 12782  			postIndex := iNdEx + msglen
 12783  			if postIndex < 0 {
 12784  				return ErrInvalidLengthTypes
 12785  			}
 12786  			if postIndex > l {
 12787  				return io.ErrUnexpectedEOF
 12788  			}
 12789  			if m.TLSInfo == nil {
 12790  				m.TLSInfo = &NodeTLSInfo{}
 12791  			}
 12792  			if err := m.TLSInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12793  				return err
 12794  			}
 12795  			iNdEx = postIndex
 12796  		case 6:
 12797  			if wireType != 0 {
 12798  				return fmt.Errorf("proto: wrong wireType = %d for field FIPS", wireType)
 12799  			}
 12800  			var v int
 12801  			for shift := uint(0); ; shift += 7 {
 12802  				if shift >= 64 {
 12803  					return ErrIntOverflowTypes
 12804  				}
 12805  				if iNdEx >= l {
 12806  					return io.ErrUnexpectedEOF
 12807  				}
 12808  				b := dAtA[iNdEx]
 12809  				iNdEx++
 12810  				v |= int(b&0x7F) << shift
 12811  				if b < 0x80 {
 12812  					break
 12813  				}
 12814  			}
 12815  			m.FIPS = bool(v != 0)
 12816  		default:
 12817  			iNdEx = preIndex
 12818  			skippy, err := skipTypes(dAtA[iNdEx:])
 12819  			if err != nil {
 12820  				return err
 12821  			}
 12822  			if skippy < 0 {
 12823  				return ErrInvalidLengthTypes
 12824  			}
 12825  			if (iNdEx + skippy) < 0 {
 12826  				return ErrInvalidLengthTypes
 12827  			}
 12828  			if (iNdEx + skippy) > l {
 12829  				return io.ErrUnexpectedEOF
 12830  			}
 12831  			iNdEx += skippy
 12832  		}
 12833  	}
 12834  
 12835  	if iNdEx > l {
 12836  		return io.ErrUnexpectedEOF
 12837  	}
 12838  	return nil
 12839  }
 12840  func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error {
 12841  	l := len(dAtA)
 12842  	iNdEx := 0
 12843  	for iNdEx < l {
 12844  		preIndex := iNdEx
 12845  		var wire uint64
 12846  		for shift := uint(0); ; shift += 7 {
 12847  			if shift >= 64 {
 12848  				return ErrIntOverflowTypes
 12849  			}
 12850  			if iNdEx >= l {
 12851  				return io.ErrUnexpectedEOF
 12852  			}
 12853  			b := dAtA[iNdEx]
 12854  			iNdEx++
 12855  			wire |= uint64(b&0x7F) << shift
 12856  			if b < 0x80 {
 12857  				break
 12858  			}
 12859  		}
 12860  		fieldNum := int32(wire >> 3)
 12861  		wireType := int(wire & 0x7)
 12862  		if wireType == 4 {
 12863  			return fmt.Errorf("proto: NodeTLSInfo: wiretype end group for non-group")
 12864  		}
 12865  		if fieldNum <= 0 {
 12866  			return fmt.Errorf("proto: NodeTLSInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 12867  		}
 12868  		switch fieldNum {
 12869  		case 1:
 12870  			if wireType != 2 {
 12871  				return fmt.Errorf("proto: wrong wireType = %d for field TrustRoot", wireType)
 12872  			}
 12873  			var byteLen int
 12874  			for shift := uint(0); ; shift += 7 {
 12875  				if shift >= 64 {
 12876  					return ErrIntOverflowTypes
 12877  				}
 12878  				if iNdEx >= l {
 12879  					return io.ErrUnexpectedEOF
 12880  				}
 12881  				b := dAtA[iNdEx]
 12882  				iNdEx++
 12883  				byteLen |= int(b&0x7F) << shift
 12884  				if b < 0x80 {
 12885  					break
 12886  				}
 12887  			}
 12888  			if byteLen < 0 {
 12889  				return ErrInvalidLengthTypes
 12890  			}
 12891  			postIndex := iNdEx + byteLen
 12892  			if postIndex < 0 {
 12893  				return ErrInvalidLengthTypes
 12894  			}
 12895  			if postIndex > l {
 12896  				return io.ErrUnexpectedEOF
 12897  			}
 12898  			m.TrustRoot = append(m.TrustRoot[:0], dAtA[iNdEx:postIndex]...)
 12899  			if m.TrustRoot == nil {
 12900  				m.TrustRoot = []byte{}
 12901  			}
 12902  			iNdEx = postIndex
 12903  		case 2:
 12904  			if wireType != 2 {
 12905  				return fmt.Errorf("proto: wrong wireType = %d for field CertIssuerSubject", wireType)
 12906  			}
 12907  			var byteLen int
 12908  			for shift := uint(0); ; shift += 7 {
 12909  				if shift >= 64 {
 12910  					return ErrIntOverflowTypes
 12911  				}
 12912  				if iNdEx >= l {
 12913  					return io.ErrUnexpectedEOF
 12914  				}
 12915  				b := dAtA[iNdEx]
 12916  				iNdEx++
 12917  				byteLen |= int(b&0x7F) << shift
 12918  				if b < 0x80 {
 12919  					break
 12920  				}
 12921  			}
 12922  			if byteLen < 0 {
 12923  				return ErrInvalidLengthTypes
 12924  			}
 12925  			postIndex := iNdEx + byteLen
 12926  			if postIndex < 0 {
 12927  				return ErrInvalidLengthTypes
 12928  			}
 12929  			if postIndex > l {
 12930  				return io.ErrUnexpectedEOF
 12931  			}
 12932  			m.CertIssuerSubject = append(m.CertIssuerSubject[:0], dAtA[iNdEx:postIndex]...)
 12933  			if m.CertIssuerSubject == nil {
 12934  				m.CertIssuerSubject = []byte{}
 12935  			}
 12936  			iNdEx = postIndex
 12937  		case 3:
 12938  			if wireType != 2 {
 12939  				return fmt.Errorf("proto: wrong wireType = %d for field CertIssuerPublicKey", wireType)
 12940  			}
 12941  			var byteLen int
 12942  			for shift := uint(0); ; shift += 7 {
 12943  				if shift >= 64 {
 12944  					return ErrIntOverflowTypes
 12945  				}
 12946  				if iNdEx >= l {
 12947  					return io.ErrUnexpectedEOF
 12948  				}
 12949  				b := dAtA[iNdEx]
 12950  				iNdEx++
 12951  				byteLen |= int(b&0x7F) << shift
 12952  				if b < 0x80 {
 12953  					break
 12954  				}
 12955  			}
 12956  			if byteLen < 0 {
 12957  				return ErrInvalidLengthTypes
 12958  			}
 12959  			postIndex := iNdEx + byteLen
 12960  			if postIndex < 0 {
 12961  				return ErrInvalidLengthTypes
 12962  			}
 12963  			if postIndex > l {
 12964  				return io.ErrUnexpectedEOF
 12965  			}
 12966  			m.CertIssuerPublicKey = append(m.CertIssuerPublicKey[:0], dAtA[iNdEx:postIndex]...)
 12967  			if m.CertIssuerPublicKey == nil {
 12968  				m.CertIssuerPublicKey = []byte{}
 12969  			}
 12970  			iNdEx = postIndex
 12971  		default:
 12972  			iNdEx = preIndex
 12973  			skippy, err := skipTypes(dAtA[iNdEx:])
 12974  			if err != nil {
 12975  				return err
 12976  			}
 12977  			if skippy < 0 {
 12978  				return ErrInvalidLengthTypes
 12979  			}
 12980  			if (iNdEx + skippy) < 0 {
 12981  				return ErrInvalidLengthTypes
 12982  			}
 12983  			if (iNdEx + skippy) > l {
 12984  				return io.ErrUnexpectedEOF
 12985  			}
 12986  			iNdEx += skippy
 12987  		}
 12988  	}
 12989  
 12990  	if iNdEx > l {
 12991  		return io.ErrUnexpectedEOF
 12992  	}
 12993  	return nil
 12994  }
 12995  func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error {
 12996  	l := len(dAtA)
 12997  	iNdEx := 0
 12998  	for iNdEx < l {
 12999  		preIndex := iNdEx
 13000  		var wire uint64
 13001  		for shift := uint(0); ; shift += 7 {
 13002  			if shift >= 64 {
 13003  				return ErrIntOverflowTypes
 13004  			}
 13005  			if iNdEx >= l {
 13006  				return io.ErrUnexpectedEOF
 13007  			}
 13008  			b := dAtA[iNdEx]
 13009  			iNdEx++
 13010  			wire |= uint64(b&0x7F) << shift
 13011  			if b < 0x80 {
 13012  				break
 13013  			}
 13014  		}
 13015  		fieldNum := int32(wire >> 3)
 13016  		wireType := int(wire & 0x7)
 13017  		if wireType == 4 {
 13018  			return fmt.Errorf("proto: RaftMemberStatus: wiretype end group for non-group")
 13019  		}
 13020  		if fieldNum <= 0 {
 13021  			return fmt.Errorf("proto: RaftMemberStatus: illegal tag %d (wire type %d)", fieldNum, wire)
 13022  		}
 13023  		switch fieldNum {
 13024  		case 1:
 13025  			if wireType != 0 {
 13026  				return fmt.Errorf("proto: wrong wireType = %d for field Leader", wireType)
 13027  			}
 13028  			var v int
 13029  			for shift := uint(0); ; shift += 7 {
 13030  				if shift >= 64 {
 13031  					return ErrIntOverflowTypes
 13032  				}
 13033  				if iNdEx >= l {
 13034  					return io.ErrUnexpectedEOF
 13035  				}
 13036  				b := dAtA[iNdEx]
 13037  				iNdEx++
 13038  				v |= int(b&0x7F) << shift
 13039  				if b < 0x80 {
 13040  					break
 13041  				}
 13042  			}
 13043  			m.Leader = bool(v != 0)
 13044  		case 2:
 13045  			if wireType != 0 {
 13046  				return fmt.Errorf("proto: wrong wireType = %d for field Reachability", wireType)
 13047  			}
 13048  			m.Reachability = 0
 13049  			for shift := uint(0); ; shift += 7 {
 13050  				if shift >= 64 {
 13051  					return ErrIntOverflowTypes
 13052  				}
 13053  				if iNdEx >= l {
 13054  					return io.ErrUnexpectedEOF
 13055  				}
 13056  				b := dAtA[iNdEx]
 13057  				iNdEx++
 13058  				m.Reachability |= RaftMemberStatus_Reachability(b&0x7F) << shift
 13059  				if b < 0x80 {
 13060  					break
 13061  				}
 13062  			}
 13063  		case 3:
 13064  			if wireType != 2 {
 13065  				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
 13066  			}
 13067  			var stringLen uint64
 13068  			for shift := uint(0); ; shift += 7 {
 13069  				if shift >= 64 {
 13070  					return ErrIntOverflowTypes
 13071  				}
 13072  				if iNdEx >= l {
 13073  					return io.ErrUnexpectedEOF
 13074  				}
 13075  				b := dAtA[iNdEx]
 13076  				iNdEx++
 13077  				stringLen |= uint64(b&0x7F) << shift
 13078  				if b < 0x80 {
 13079  					break
 13080  				}
 13081  			}
 13082  			intStringLen := int(stringLen)
 13083  			if intStringLen < 0 {
 13084  				return ErrInvalidLengthTypes
 13085  			}
 13086  			postIndex := iNdEx + intStringLen
 13087  			if postIndex < 0 {
 13088  				return ErrInvalidLengthTypes
 13089  			}
 13090  			if postIndex > l {
 13091  				return io.ErrUnexpectedEOF
 13092  			}
 13093  			m.Message = string(dAtA[iNdEx:postIndex])
 13094  			iNdEx = postIndex
 13095  		default:
 13096  			iNdEx = preIndex
 13097  			skippy, err := skipTypes(dAtA[iNdEx:])
 13098  			if err != nil {
 13099  				return err
 13100  			}
 13101  			if skippy < 0 {
 13102  				return ErrInvalidLengthTypes
 13103  			}
 13104  			if (iNdEx + skippy) < 0 {
 13105  				return ErrInvalidLengthTypes
 13106  			}
 13107  			if (iNdEx + skippy) > l {
 13108  				return io.ErrUnexpectedEOF
 13109  			}
 13110  			iNdEx += skippy
 13111  		}
 13112  	}
 13113  
 13114  	if iNdEx > l {
 13115  		return io.ErrUnexpectedEOF
 13116  	}
 13117  	return nil
 13118  }
 13119  func (m *NodeStatus) Unmarshal(dAtA []byte) error {
 13120  	l := len(dAtA)
 13121  	iNdEx := 0
 13122  	for iNdEx < l {
 13123  		preIndex := iNdEx
 13124  		var wire uint64
 13125  		for shift := uint(0); ; shift += 7 {
 13126  			if shift >= 64 {
 13127  				return ErrIntOverflowTypes
 13128  			}
 13129  			if iNdEx >= l {
 13130  				return io.ErrUnexpectedEOF
 13131  			}
 13132  			b := dAtA[iNdEx]
 13133  			iNdEx++
 13134  			wire |= uint64(b&0x7F) << shift
 13135  			if b < 0x80 {
 13136  				break
 13137  			}
 13138  		}
 13139  		fieldNum := int32(wire >> 3)
 13140  		wireType := int(wire & 0x7)
 13141  		if wireType == 4 {
 13142  			return fmt.Errorf("proto: NodeStatus: wiretype end group for non-group")
 13143  		}
 13144  		if fieldNum <= 0 {
 13145  			return fmt.Errorf("proto: NodeStatus: illegal tag %d (wire type %d)", fieldNum, wire)
 13146  		}
 13147  		switch fieldNum {
 13148  		case 1:
 13149  			if wireType != 0 {
 13150  				return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
 13151  			}
 13152  			m.State = 0
 13153  			for shift := uint(0); ; shift += 7 {
 13154  				if shift >= 64 {
 13155  					return ErrIntOverflowTypes
 13156  				}
 13157  				if iNdEx >= l {
 13158  					return io.ErrUnexpectedEOF
 13159  				}
 13160  				b := dAtA[iNdEx]
 13161  				iNdEx++
 13162  				m.State |= NodeStatus_State(b&0x7F) << shift
 13163  				if b < 0x80 {
 13164  					break
 13165  				}
 13166  			}
 13167  		case 2:
 13168  			if wireType != 2 {
 13169  				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
 13170  			}
 13171  			var stringLen uint64
 13172  			for shift := uint(0); ; shift += 7 {
 13173  				if shift >= 64 {
 13174  					return ErrIntOverflowTypes
 13175  				}
 13176  				if iNdEx >= l {
 13177  					return io.ErrUnexpectedEOF
 13178  				}
 13179  				b := dAtA[iNdEx]
 13180  				iNdEx++
 13181  				stringLen |= uint64(b&0x7F) << shift
 13182  				if b < 0x80 {
 13183  					break
 13184  				}
 13185  			}
 13186  			intStringLen := int(stringLen)
 13187  			if intStringLen < 0 {
 13188  				return ErrInvalidLengthTypes
 13189  			}
 13190  			postIndex := iNdEx + intStringLen
 13191  			if postIndex < 0 {
 13192  				return ErrInvalidLengthTypes
 13193  			}
 13194  			if postIndex > l {
 13195  				return io.ErrUnexpectedEOF
 13196  			}
 13197  			m.Message = string(dAtA[iNdEx:postIndex])
 13198  			iNdEx = postIndex
 13199  		case 3:
 13200  			if wireType != 2 {
 13201  				return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType)
 13202  			}
 13203  			var stringLen uint64
 13204  			for shift := uint(0); ; shift += 7 {
 13205  				if shift >= 64 {
 13206  					return ErrIntOverflowTypes
 13207  				}
 13208  				if iNdEx >= l {
 13209  					return io.ErrUnexpectedEOF
 13210  				}
 13211  				b := dAtA[iNdEx]
 13212  				iNdEx++
 13213  				stringLen |= uint64(b&0x7F) << shift
 13214  				if b < 0x80 {
 13215  					break
 13216  				}
 13217  			}
 13218  			intStringLen := int(stringLen)
 13219  			if intStringLen < 0 {
 13220  				return ErrInvalidLengthTypes
 13221  			}
 13222  			postIndex := iNdEx + intStringLen
 13223  			if postIndex < 0 {
 13224  				return ErrInvalidLengthTypes
 13225  			}
 13226  			if postIndex > l {
 13227  				return io.ErrUnexpectedEOF
 13228  			}
 13229  			m.Addr = string(dAtA[iNdEx:postIndex])
 13230  			iNdEx = postIndex
 13231  		default:
 13232  			iNdEx = preIndex
 13233  			skippy, err := skipTypes(dAtA[iNdEx:])
 13234  			if err != nil {
 13235  				return err
 13236  			}
 13237  			if skippy < 0 {
 13238  				return ErrInvalidLengthTypes
 13239  			}
 13240  			if (iNdEx + skippy) < 0 {
 13241  				return ErrInvalidLengthTypes
 13242  			}
 13243  			if (iNdEx + skippy) > l {
 13244  				return io.ErrUnexpectedEOF
 13245  			}
 13246  			iNdEx += skippy
 13247  		}
 13248  	}
 13249  
 13250  	if iNdEx > l {
 13251  		return io.ErrUnexpectedEOF
 13252  	}
 13253  	return nil
 13254  }
 13255  func (m *Image) Unmarshal(dAtA []byte) error {
 13256  	l := len(dAtA)
 13257  	iNdEx := 0
 13258  	for iNdEx < l {
 13259  		preIndex := iNdEx
 13260  		var wire uint64
 13261  		for shift := uint(0); ; shift += 7 {
 13262  			if shift >= 64 {
 13263  				return ErrIntOverflowTypes
 13264  			}
 13265  			if iNdEx >= l {
 13266  				return io.ErrUnexpectedEOF
 13267  			}
 13268  			b := dAtA[iNdEx]
 13269  			iNdEx++
 13270  			wire |= uint64(b&0x7F) << shift
 13271  			if b < 0x80 {
 13272  				break
 13273  			}
 13274  		}
 13275  		fieldNum := int32(wire >> 3)
 13276  		wireType := int(wire & 0x7)
 13277  		if wireType == 4 {
 13278  			return fmt.Errorf("proto: Image: wiretype end group for non-group")
 13279  		}
 13280  		if fieldNum <= 0 {
 13281  			return fmt.Errorf("proto: Image: illegal tag %d (wire type %d)", fieldNum, wire)
 13282  		}
 13283  		switch fieldNum {
 13284  		case 1:
 13285  			if wireType != 2 {
 13286  				return fmt.Errorf("proto: wrong wireType = %d for field Reference", wireType)
 13287  			}
 13288  			var stringLen uint64
 13289  			for shift := uint(0); ; shift += 7 {
 13290  				if shift >= 64 {
 13291  					return ErrIntOverflowTypes
 13292  				}
 13293  				if iNdEx >= l {
 13294  					return io.ErrUnexpectedEOF
 13295  				}
 13296  				b := dAtA[iNdEx]
 13297  				iNdEx++
 13298  				stringLen |= uint64(b&0x7F) << shift
 13299  				if b < 0x80 {
 13300  					break
 13301  				}
 13302  			}
 13303  			intStringLen := int(stringLen)
 13304  			if intStringLen < 0 {
 13305  				return ErrInvalidLengthTypes
 13306  			}
 13307  			postIndex := iNdEx + intStringLen
 13308  			if postIndex < 0 {
 13309  				return ErrInvalidLengthTypes
 13310  			}
 13311  			if postIndex > l {
 13312  				return io.ErrUnexpectedEOF
 13313  			}
 13314  			m.Reference = string(dAtA[iNdEx:postIndex])
 13315  			iNdEx = postIndex
 13316  		default:
 13317  			iNdEx = preIndex
 13318  			skippy, err := skipTypes(dAtA[iNdEx:])
 13319  			if err != nil {
 13320  				return err
 13321  			}
 13322  			if skippy < 0 {
 13323  				return ErrInvalidLengthTypes
 13324  			}
 13325  			if (iNdEx + skippy) < 0 {
 13326  				return ErrInvalidLengthTypes
 13327  			}
 13328  			if (iNdEx + skippy) > l {
 13329  				return io.ErrUnexpectedEOF
 13330  			}
 13331  			iNdEx += skippy
 13332  		}
 13333  	}
 13334  
 13335  	if iNdEx > l {
 13336  		return io.ErrUnexpectedEOF
 13337  	}
 13338  	return nil
 13339  }
 13340  func (m *Mount) Unmarshal(dAtA []byte) error {
 13341  	l := len(dAtA)
 13342  	iNdEx := 0
 13343  	for iNdEx < l {
 13344  		preIndex := iNdEx
 13345  		var wire uint64
 13346  		for shift := uint(0); ; shift += 7 {
 13347  			if shift >= 64 {
 13348  				return ErrIntOverflowTypes
 13349  			}
 13350  			if iNdEx >= l {
 13351  				return io.ErrUnexpectedEOF
 13352  			}
 13353  			b := dAtA[iNdEx]
 13354  			iNdEx++
 13355  			wire |= uint64(b&0x7F) << shift
 13356  			if b < 0x80 {
 13357  				break
 13358  			}
 13359  		}
 13360  		fieldNum := int32(wire >> 3)
 13361  		wireType := int(wire & 0x7)
 13362  		if wireType == 4 {
 13363  			return fmt.Errorf("proto: Mount: wiretype end group for non-group")
 13364  		}
 13365  		if fieldNum <= 0 {
 13366  			return fmt.Errorf("proto: Mount: illegal tag %d (wire type %d)", fieldNum, wire)
 13367  		}
 13368  		switch fieldNum {
 13369  		case 1:
 13370  			if wireType != 0 {
 13371  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
 13372  			}
 13373  			m.Type = 0
 13374  			for shift := uint(0); ; shift += 7 {
 13375  				if shift >= 64 {
 13376  					return ErrIntOverflowTypes
 13377  				}
 13378  				if iNdEx >= l {
 13379  					return io.ErrUnexpectedEOF
 13380  				}
 13381  				b := dAtA[iNdEx]
 13382  				iNdEx++
 13383  				m.Type |= Mount_MountType(b&0x7F) << shift
 13384  				if b < 0x80 {
 13385  					break
 13386  				}
 13387  			}
 13388  		case 2:
 13389  			if wireType != 2 {
 13390  				return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
 13391  			}
 13392  			var stringLen uint64
 13393  			for shift := uint(0); ; shift += 7 {
 13394  				if shift >= 64 {
 13395  					return ErrIntOverflowTypes
 13396  				}
 13397  				if iNdEx >= l {
 13398  					return io.ErrUnexpectedEOF
 13399  				}
 13400  				b := dAtA[iNdEx]
 13401  				iNdEx++
 13402  				stringLen |= uint64(b&0x7F) << shift
 13403  				if b < 0x80 {
 13404  					break
 13405  				}
 13406  			}
 13407  			intStringLen := int(stringLen)
 13408  			if intStringLen < 0 {
 13409  				return ErrInvalidLengthTypes
 13410  			}
 13411  			postIndex := iNdEx + intStringLen
 13412  			if postIndex < 0 {
 13413  				return ErrInvalidLengthTypes
 13414  			}
 13415  			if postIndex > l {
 13416  				return io.ErrUnexpectedEOF
 13417  			}
 13418  			m.Source = string(dAtA[iNdEx:postIndex])
 13419  			iNdEx = postIndex
 13420  		case 3:
 13421  			if wireType != 2 {
 13422  				return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
 13423  			}
 13424  			var stringLen uint64
 13425  			for shift := uint(0); ; shift += 7 {
 13426  				if shift >= 64 {
 13427  					return ErrIntOverflowTypes
 13428  				}
 13429  				if iNdEx >= l {
 13430  					return io.ErrUnexpectedEOF
 13431  				}
 13432  				b := dAtA[iNdEx]
 13433  				iNdEx++
 13434  				stringLen |= uint64(b&0x7F) << shift
 13435  				if b < 0x80 {
 13436  					break
 13437  				}
 13438  			}
 13439  			intStringLen := int(stringLen)
 13440  			if intStringLen < 0 {
 13441  				return ErrInvalidLengthTypes
 13442  			}
 13443  			postIndex := iNdEx + intStringLen
 13444  			if postIndex < 0 {
 13445  				return ErrInvalidLengthTypes
 13446  			}
 13447  			if postIndex > l {
 13448  				return io.ErrUnexpectedEOF
 13449  			}
 13450  			m.Target = string(dAtA[iNdEx:postIndex])
 13451  			iNdEx = postIndex
 13452  		case 4:
 13453  			if wireType != 0 {
 13454  				return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
 13455  			}
 13456  			var v int
 13457  			for shift := uint(0); ; shift += 7 {
 13458  				if shift >= 64 {
 13459  					return ErrIntOverflowTypes
 13460  				}
 13461  				if iNdEx >= l {
 13462  					return io.ErrUnexpectedEOF
 13463  				}
 13464  				b := dAtA[iNdEx]
 13465  				iNdEx++
 13466  				v |= int(b&0x7F) << shift
 13467  				if b < 0x80 {
 13468  					break
 13469  				}
 13470  			}
 13471  			m.ReadOnly = bool(v != 0)
 13472  		case 5:
 13473  			if wireType != 2 {
 13474  				return fmt.Errorf("proto: wrong wireType = %d for field BindOptions", wireType)
 13475  			}
 13476  			var msglen int
 13477  			for shift := uint(0); ; shift += 7 {
 13478  				if shift >= 64 {
 13479  					return ErrIntOverflowTypes
 13480  				}
 13481  				if iNdEx >= l {
 13482  					return io.ErrUnexpectedEOF
 13483  				}
 13484  				b := dAtA[iNdEx]
 13485  				iNdEx++
 13486  				msglen |= int(b&0x7F) << shift
 13487  				if b < 0x80 {
 13488  					break
 13489  				}
 13490  			}
 13491  			if msglen < 0 {
 13492  				return ErrInvalidLengthTypes
 13493  			}
 13494  			postIndex := iNdEx + msglen
 13495  			if postIndex < 0 {
 13496  				return ErrInvalidLengthTypes
 13497  			}
 13498  			if postIndex > l {
 13499  				return io.ErrUnexpectedEOF
 13500  			}
 13501  			if m.BindOptions == nil {
 13502  				m.BindOptions = &Mount_BindOptions{}
 13503  			}
 13504  			if err := m.BindOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13505  				return err
 13506  			}
 13507  			iNdEx = postIndex
 13508  		case 6:
 13509  			if wireType != 2 {
 13510  				return fmt.Errorf("proto: wrong wireType = %d for field VolumeOptions", wireType)
 13511  			}
 13512  			var msglen int
 13513  			for shift := uint(0); ; shift += 7 {
 13514  				if shift >= 64 {
 13515  					return ErrIntOverflowTypes
 13516  				}
 13517  				if iNdEx >= l {
 13518  					return io.ErrUnexpectedEOF
 13519  				}
 13520  				b := dAtA[iNdEx]
 13521  				iNdEx++
 13522  				msglen |= int(b&0x7F) << shift
 13523  				if b < 0x80 {
 13524  					break
 13525  				}
 13526  			}
 13527  			if msglen < 0 {
 13528  				return ErrInvalidLengthTypes
 13529  			}
 13530  			postIndex := iNdEx + msglen
 13531  			if postIndex < 0 {
 13532  				return ErrInvalidLengthTypes
 13533  			}
 13534  			if postIndex > l {
 13535  				return io.ErrUnexpectedEOF
 13536  			}
 13537  			if m.VolumeOptions == nil {
 13538  				m.VolumeOptions = &Mount_VolumeOptions{}
 13539  			}
 13540  			if err := m.VolumeOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13541  				return err
 13542  			}
 13543  			iNdEx = postIndex
 13544  		case 7:
 13545  			if wireType != 2 {
 13546  				return fmt.Errorf("proto: wrong wireType = %d for field TmpfsOptions", wireType)
 13547  			}
 13548  			var msglen int
 13549  			for shift := uint(0); ; shift += 7 {
 13550  				if shift >= 64 {
 13551  					return ErrIntOverflowTypes
 13552  				}
 13553  				if iNdEx >= l {
 13554  					return io.ErrUnexpectedEOF
 13555  				}
 13556  				b := dAtA[iNdEx]
 13557  				iNdEx++
 13558  				msglen |= int(b&0x7F) << shift
 13559  				if b < 0x80 {
 13560  					break
 13561  				}
 13562  			}
 13563  			if msglen < 0 {
 13564  				return ErrInvalidLengthTypes
 13565  			}
 13566  			postIndex := iNdEx + msglen
 13567  			if postIndex < 0 {
 13568  				return ErrInvalidLengthTypes
 13569  			}
 13570  			if postIndex > l {
 13571  				return io.ErrUnexpectedEOF
 13572  			}
 13573  			if m.TmpfsOptions == nil {
 13574  				m.TmpfsOptions = &Mount_TmpfsOptions{}
 13575  			}
 13576  			if err := m.TmpfsOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13577  				return err
 13578  			}
 13579  			iNdEx = postIndex
 13580  		case 8:
 13581  			if wireType != 0 {
 13582  				return fmt.Errorf("proto: wrong wireType = %d for field Consistency", wireType)
 13583  			}
 13584  			m.Consistency = 0
 13585  			for shift := uint(0); ; shift += 7 {
 13586  				if shift >= 64 {
 13587  					return ErrIntOverflowTypes
 13588  				}
 13589  				if iNdEx >= l {
 13590  					return io.ErrUnexpectedEOF
 13591  				}
 13592  				b := dAtA[iNdEx]
 13593  				iNdEx++
 13594  				m.Consistency |= Mount_MountConsistency(b&0x7F) << shift
 13595  				if b < 0x80 {
 13596  					break
 13597  				}
 13598  			}
 13599  		default:
 13600  			iNdEx = preIndex
 13601  			skippy, err := skipTypes(dAtA[iNdEx:])
 13602  			if err != nil {
 13603  				return err
 13604  			}
 13605  			if skippy < 0 {
 13606  				return ErrInvalidLengthTypes
 13607  			}
 13608  			if (iNdEx + skippy) < 0 {
 13609  				return ErrInvalidLengthTypes
 13610  			}
 13611  			if (iNdEx + skippy) > l {
 13612  				return io.ErrUnexpectedEOF
 13613  			}
 13614  			iNdEx += skippy
 13615  		}
 13616  	}
 13617  
 13618  	if iNdEx > l {
 13619  		return io.ErrUnexpectedEOF
 13620  	}
 13621  	return nil
 13622  }
 13623  func (m *Mount_BindOptions) Unmarshal(dAtA []byte) error {
 13624  	l := len(dAtA)
 13625  	iNdEx := 0
 13626  	for iNdEx < l {
 13627  		preIndex := iNdEx
 13628  		var wire uint64
 13629  		for shift := uint(0); ; shift += 7 {
 13630  			if shift >= 64 {
 13631  				return ErrIntOverflowTypes
 13632  			}
 13633  			if iNdEx >= l {
 13634  				return io.ErrUnexpectedEOF
 13635  			}
 13636  			b := dAtA[iNdEx]
 13637  			iNdEx++
 13638  			wire |= uint64(b&0x7F) << shift
 13639  			if b < 0x80 {
 13640  				break
 13641  			}
 13642  		}
 13643  		fieldNum := int32(wire >> 3)
 13644  		wireType := int(wire & 0x7)
 13645  		if wireType == 4 {
 13646  			return fmt.Errorf("proto: BindOptions: wiretype end group for non-group")
 13647  		}
 13648  		if fieldNum <= 0 {
 13649  			return fmt.Errorf("proto: BindOptions: illegal tag %d (wire type %d)", fieldNum, wire)
 13650  		}
 13651  		switch fieldNum {
 13652  		case 1:
 13653  			if wireType != 0 {
 13654  				return fmt.Errorf("proto: wrong wireType = %d for field Propagation", wireType)
 13655  			}
 13656  			m.Propagation = 0
 13657  			for shift := uint(0); ; shift += 7 {
 13658  				if shift >= 64 {
 13659  					return ErrIntOverflowTypes
 13660  				}
 13661  				if iNdEx >= l {
 13662  					return io.ErrUnexpectedEOF
 13663  				}
 13664  				b := dAtA[iNdEx]
 13665  				iNdEx++
 13666  				m.Propagation |= Mount_BindOptions_MountPropagation(b&0x7F) << shift
 13667  				if b < 0x80 {
 13668  					break
 13669  				}
 13670  			}
 13671  		case 2:
 13672  			if wireType != 0 {
 13673  				return fmt.Errorf("proto: wrong wireType = %d for field NonRecursive", wireType)
 13674  			}
 13675  			var v int
 13676  			for shift := uint(0); ; shift += 7 {
 13677  				if shift >= 64 {
 13678  					return ErrIntOverflowTypes
 13679  				}
 13680  				if iNdEx >= l {
 13681  					return io.ErrUnexpectedEOF
 13682  				}
 13683  				b := dAtA[iNdEx]
 13684  				iNdEx++
 13685  				v |= int(b&0x7F) << shift
 13686  				if b < 0x80 {
 13687  					break
 13688  				}
 13689  			}
 13690  			m.NonRecursive = bool(v != 0)
 13691  		default:
 13692  			iNdEx = preIndex
 13693  			skippy, err := skipTypes(dAtA[iNdEx:])
 13694  			if err != nil {
 13695  				return err
 13696  			}
 13697  			if skippy < 0 {
 13698  				return ErrInvalidLengthTypes
 13699  			}
 13700  			if (iNdEx + skippy) < 0 {
 13701  				return ErrInvalidLengthTypes
 13702  			}
 13703  			if (iNdEx + skippy) > l {
 13704  				return io.ErrUnexpectedEOF
 13705  			}
 13706  			iNdEx += skippy
 13707  		}
 13708  	}
 13709  
 13710  	if iNdEx > l {
 13711  		return io.ErrUnexpectedEOF
 13712  	}
 13713  	return nil
 13714  }
 13715  func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error {
 13716  	l := len(dAtA)
 13717  	iNdEx := 0
 13718  	for iNdEx < l {
 13719  		preIndex := iNdEx
 13720  		var wire uint64
 13721  		for shift := uint(0); ; shift += 7 {
 13722  			if shift >= 64 {
 13723  				return ErrIntOverflowTypes
 13724  			}
 13725  			if iNdEx >= l {
 13726  				return io.ErrUnexpectedEOF
 13727  			}
 13728  			b := dAtA[iNdEx]
 13729  			iNdEx++
 13730  			wire |= uint64(b&0x7F) << shift
 13731  			if b < 0x80 {
 13732  				break
 13733  			}
 13734  		}
 13735  		fieldNum := int32(wire >> 3)
 13736  		wireType := int(wire & 0x7)
 13737  		if wireType == 4 {
 13738  			return fmt.Errorf("proto: VolumeOptions: wiretype end group for non-group")
 13739  		}
 13740  		if fieldNum <= 0 {
 13741  			return fmt.Errorf("proto: VolumeOptions: illegal tag %d (wire type %d)", fieldNum, wire)
 13742  		}
 13743  		switch fieldNum {
 13744  		case 1:
 13745  			if wireType != 0 {
 13746  				return fmt.Errorf("proto: wrong wireType = %d for field NoCopy", wireType)
 13747  			}
 13748  			var v int
 13749  			for shift := uint(0); ; shift += 7 {
 13750  				if shift >= 64 {
 13751  					return ErrIntOverflowTypes
 13752  				}
 13753  				if iNdEx >= l {
 13754  					return io.ErrUnexpectedEOF
 13755  				}
 13756  				b := dAtA[iNdEx]
 13757  				iNdEx++
 13758  				v |= int(b&0x7F) << shift
 13759  				if b < 0x80 {
 13760  					break
 13761  				}
 13762  			}
 13763  			m.NoCopy = bool(v != 0)
 13764  		case 2:
 13765  			if wireType != 2 {
 13766  				return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
 13767  			}
 13768  			var msglen int
 13769  			for shift := uint(0); ; shift += 7 {
 13770  				if shift >= 64 {
 13771  					return ErrIntOverflowTypes
 13772  				}
 13773  				if iNdEx >= l {
 13774  					return io.ErrUnexpectedEOF
 13775  				}
 13776  				b := dAtA[iNdEx]
 13777  				iNdEx++
 13778  				msglen |= int(b&0x7F) << shift
 13779  				if b < 0x80 {
 13780  					break
 13781  				}
 13782  			}
 13783  			if msglen < 0 {
 13784  				return ErrInvalidLengthTypes
 13785  			}
 13786  			postIndex := iNdEx + msglen
 13787  			if postIndex < 0 {
 13788  				return ErrInvalidLengthTypes
 13789  			}
 13790  			if postIndex > l {
 13791  				return io.ErrUnexpectedEOF
 13792  			}
 13793  			if m.Labels == nil {
 13794  				m.Labels = make(map[string]string)
 13795  			}
 13796  			var mapkey string
 13797  			var mapvalue string
 13798  			for iNdEx < postIndex {
 13799  				entryPreIndex := iNdEx
 13800  				var wire uint64
 13801  				for shift := uint(0); ; shift += 7 {
 13802  					if shift >= 64 {
 13803  						return ErrIntOverflowTypes
 13804  					}
 13805  					if iNdEx >= l {
 13806  						return io.ErrUnexpectedEOF
 13807  					}
 13808  					b := dAtA[iNdEx]
 13809  					iNdEx++
 13810  					wire |= uint64(b&0x7F) << shift
 13811  					if b < 0x80 {
 13812  						break
 13813  					}
 13814  				}
 13815  				fieldNum := int32(wire >> 3)
 13816  				if fieldNum == 1 {
 13817  					var stringLenmapkey uint64
 13818  					for shift := uint(0); ; shift += 7 {
 13819  						if shift >= 64 {
 13820  							return ErrIntOverflowTypes
 13821  						}
 13822  						if iNdEx >= l {
 13823  							return io.ErrUnexpectedEOF
 13824  						}
 13825  						b := dAtA[iNdEx]
 13826  						iNdEx++
 13827  						stringLenmapkey |= uint64(b&0x7F) << shift
 13828  						if b < 0x80 {
 13829  							break
 13830  						}
 13831  					}
 13832  					intStringLenmapkey := int(stringLenmapkey)
 13833  					if intStringLenmapkey < 0 {
 13834  						return ErrInvalidLengthTypes
 13835  					}
 13836  					postStringIndexmapkey := iNdEx + intStringLenmapkey
 13837  					if postStringIndexmapkey < 0 {
 13838  						return ErrInvalidLengthTypes
 13839  					}
 13840  					if postStringIndexmapkey > l {
 13841  						return io.ErrUnexpectedEOF
 13842  					}
 13843  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
 13844  					iNdEx = postStringIndexmapkey
 13845  				} else if fieldNum == 2 {
 13846  					var stringLenmapvalue uint64
 13847  					for shift := uint(0); ; shift += 7 {
 13848  						if shift >= 64 {
 13849  							return ErrIntOverflowTypes
 13850  						}
 13851  						if iNdEx >= l {
 13852  							return io.ErrUnexpectedEOF
 13853  						}
 13854  						b := dAtA[iNdEx]
 13855  						iNdEx++
 13856  						stringLenmapvalue |= uint64(b&0x7F) << shift
 13857  						if b < 0x80 {
 13858  							break
 13859  						}
 13860  					}
 13861  					intStringLenmapvalue := int(stringLenmapvalue)
 13862  					if intStringLenmapvalue < 0 {
 13863  						return ErrInvalidLengthTypes
 13864  					}
 13865  					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
 13866  					if postStringIndexmapvalue < 0 {
 13867  						return ErrInvalidLengthTypes
 13868  					}
 13869  					if postStringIndexmapvalue > l {
 13870  						return io.ErrUnexpectedEOF
 13871  					}
 13872  					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
 13873  					iNdEx = postStringIndexmapvalue
 13874  				} else {
 13875  					iNdEx = entryPreIndex
 13876  					skippy, err := skipTypes(dAtA[iNdEx:])
 13877  					if err != nil {
 13878  						return err
 13879  					}
 13880  					if skippy < 0 {
 13881  						return ErrInvalidLengthTypes
 13882  					}
 13883  					if (iNdEx + skippy) > postIndex {
 13884  						return io.ErrUnexpectedEOF
 13885  					}
 13886  					iNdEx += skippy
 13887  				}
 13888  			}
 13889  			m.Labels[mapkey] = mapvalue
 13890  			iNdEx = postIndex
 13891  		case 3:
 13892  			if wireType != 2 {
 13893  				return fmt.Errorf("proto: wrong wireType = %d for field DriverConfig", wireType)
 13894  			}
 13895  			var msglen int
 13896  			for shift := uint(0); ; shift += 7 {
 13897  				if shift >= 64 {
 13898  					return ErrIntOverflowTypes
 13899  				}
 13900  				if iNdEx >= l {
 13901  					return io.ErrUnexpectedEOF
 13902  				}
 13903  				b := dAtA[iNdEx]
 13904  				iNdEx++
 13905  				msglen |= int(b&0x7F) << shift
 13906  				if b < 0x80 {
 13907  					break
 13908  				}
 13909  			}
 13910  			if msglen < 0 {
 13911  				return ErrInvalidLengthTypes
 13912  			}
 13913  			postIndex := iNdEx + msglen
 13914  			if postIndex < 0 {
 13915  				return ErrInvalidLengthTypes
 13916  			}
 13917  			if postIndex > l {
 13918  				return io.ErrUnexpectedEOF
 13919  			}
 13920  			if m.DriverConfig == nil {
 13921  				m.DriverConfig = &Driver{}
 13922  			}
 13923  			if err := m.DriverConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13924  				return err
 13925  			}
 13926  			iNdEx = postIndex
 13927  		default:
 13928  			iNdEx = preIndex
 13929  			skippy, err := skipTypes(dAtA[iNdEx:])
 13930  			if err != nil {
 13931  				return err
 13932  			}
 13933  			if skippy < 0 {
 13934  				return ErrInvalidLengthTypes
 13935  			}
 13936  			if (iNdEx + skippy) < 0 {
 13937  				return ErrInvalidLengthTypes
 13938  			}
 13939  			if (iNdEx + skippy) > l {
 13940  				return io.ErrUnexpectedEOF
 13941  			}
 13942  			iNdEx += skippy
 13943  		}
 13944  	}
 13945  
 13946  	if iNdEx > l {
 13947  		return io.ErrUnexpectedEOF
 13948  	}
 13949  	return nil
 13950  }
 13951  func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error {
 13952  	l := len(dAtA)
 13953  	iNdEx := 0
 13954  	for iNdEx < l {
 13955  		preIndex := iNdEx
 13956  		var wire uint64
 13957  		for shift := uint(0); ; shift += 7 {
 13958  			if shift >= 64 {
 13959  				return ErrIntOverflowTypes
 13960  			}
 13961  			if iNdEx >= l {
 13962  				return io.ErrUnexpectedEOF
 13963  			}
 13964  			b := dAtA[iNdEx]
 13965  			iNdEx++
 13966  			wire |= uint64(b&0x7F) << shift
 13967  			if b < 0x80 {
 13968  				break
 13969  			}
 13970  		}
 13971  		fieldNum := int32(wire >> 3)
 13972  		wireType := int(wire & 0x7)
 13973  		if wireType == 4 {
 13974  			return fmt.Errorf("proto: TmpfsOptions: wiretype end group for non-group")
 13975  		}
 13976  		if fieldNum <= 0 {
 13977  			return fmt.Errorf("proto: TmpfsOptions: illegal tag %d (wire type %d)", fieldNum, wire)
 13978  		}
 13979  		switch fieldNum {
 13980  		case 1:
 13981  			if wireType != 0 {
 13982  				return fmt.Errorf("proto: wrong wireType = %d for field SizeBytes", wireType)
 13983  			}
 13984  			m.SizeBytes = 0
 13985  			for shift := uint(0); ; shift += 7 {
 13986  				if shift >= 64 {
 13987  					return ErrIntOverflowTypes
 13988  				}
 13989  				if iNdEx >= l {
 13990  					return io.ErrUnexpectedEOF
 13991  				}
 13992  				b := dAtA[iNdEx]
 13993  				iNdEx++
 13994  				m.SizeBytes |= int64(b&0x7F) << shift
 13995  				if b < 0x80 {
 13996  					break
 13997  				}
 13998  			}
 13999  		case 2:
 14000  			if wireType != 0 {
 14001  				return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
 14002  			}
 14003  			m.Mode = 0
 14004  			for shift := uint(0); ; shift += 7 {
 14005  				if shift >= 64 {
 14006  					return ErrIntOverflowTypes
 14007  				}
 14008  				if iNdEx >= l {
 14009  					return io.ErrUnexpectedEOF
 14010  				}
 14011  				b := dAtA[iNdEx]
 14012  				iNdEx++
 14013  				m.Mode |= os.FileMode(b&0x7F) << shift
 14014  				if b < 0x80 {
 14015  					break
 14016  				}
 14017  			}
 14018  		case 3:
 14019  			if wireType != 2 {
 14020  				return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
 14021  			}
 14022  			var stringLen uint64
 14023  			for shift := uint(0); ; shift += 7 {
 14024  				if shift >= 64 {
 14025  					return ErrIntOverflowTypes
 14026  				}
 14027  				if iNdEx >= l {
 14028  					return io.ErrUnexpectedEOF
 14029  				}
 14030  				b := dAtA[iNdEx]
 14031  				iNdEx++
 14032  				stringLen |= uint64(b&0x7F) << shift
 14033  				if b < 0x80 {
 14034  					break
 14035  				}
 14036  			}
 14037  			intStringLen := int(stringLen)
 14038  			if intStringLen < 0 {
 14039  				return ErrInvalidLengthTypes
 14040  			}
 14041  			postIndex := iNdEx + intStringLen
 14042  			if postIndex < 0 {
 14043  				return ErrInvalidLengthTypes
 14044  			}
 14045  			if postIndex > l {
 14046  				return io.ErrUnexpectedEOF
 14047  			}
 14048  			m.Options = string(dAtA[iNdEx:postIndex])
 14049  			iNdEx = postIndex
 14050  		default:
 14051  			iNdEx = preIndex
 14052  			skippy, err := skipTypes(dAtA[iNdEx:])
 14053  			if err != nil {
 14054  				return err
 14055  			}
 14056  			if skippy < 0 {
 14057  				return ErrInvalidLengthTypes
 14058  			}
 14059  			if (iNdEx + skippy) < 0 {
 14060  				return ErrInvalidLengthTypes
 14061  			}
 14062  			if (iNdEx + skippy) > l {
 14063  				return io.ErrUnexpectedEOF
 14064  			}
 14065  			iNdEx += skippy
 14066  		}
 14067  	}
 14068  
 14069  	if iNdEx > l {
 14070  		return io.ErrUnexpectedEOF
 14071  	}
 14072  	return nil
 14073  }
 14074  func (m *RestartPolicy) Unmarshal(dAtA []byte) error {
 14075  	l := len(dAtA)
 14076  	iNdEx := 0
 14077  	for iNdEx < l {
 14078  		preIndex := iNdEx
 14079  		var wire uint64
 14080  		for shift := uint(0); ; shift += 7 {
 14081  			if shift >= 64 {
 14082  				return ErrIntOverflowTypes
 14083  			}
 14084  			if iNdEx >= l {
 14085  				return io.ErrUnexpectedEOF
 14086  			}
 14087  			b := dAtA[iNdEx]
 14088  			iNdEx++
 14089  			wire |= uint64(b&0x7F) << shift
 14090  			if b < 0x80 {
 14091  				break
 14092  			}
 14093  		}
 14094  		fieldNum := int32(wire >> 3)
 14095  		wireType := int(wire & 0x7)
 14096  		if wireType == 4 {
 14097  			return fmt.Errorf("proto: RestartPolicy: wiretype end group for non-group")
 14098  		}
 14099  		if fieldNum <= 0 {
 14100  			return fmt.Errorf("proto: RestartPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
 14101  		}
 14102  		switch fieldNum {
 14103  		case 1:
 14104  			if wireType != 0 {
 14105  				return fmt.Errorf("proto: wrong wireType = %d for field Condition", wireType)
 14106  			}
 14107  			m.Condition = 0
 14108  			for shift := uint(0); ; shift += 7 {
 14109  				if shift >= 64 {
 14110  					return ErrIntOverflowTypes
 14111  				}
 14112  				if iNdEx >= l {
 14113  					return io.ErrUnexpectedEOF
 14114  				}
 14115  				b := dAtA[iNdEx]
 14116  				iNdEx++
 14117  				m.Condition |= RestartPolicy_RestartCondition(b&0x7F) << shift
 14118  				if b < 0x80 {
 14119  					break
 14120  				}
 14121  			}
 14122  		case 2:
 14123  			if wireType != 2 {
 14124  				return fmt.Errorf("proto: wrong wireType = %d for field Delay", wireType)
 14125  			}
 14126  			var msglen int
 14127  			for shift := uint(0); ; shift += 7 {
 14128  				if shift >= 64 {
 14129  					return ErrIntOverflowTypes
 14130  				}
 14131  				if iNdEx >= l {
 14132  					return io.ErrUnexpectedEOF
 14133  				}
 14134  				b := dAtA[iNdEx]
 14135  				iNdEx++
 14136  				msglen |= int(b&0x7F) << shift
 14137  				if b < 0x80 {
 14138  					break
 14139  				}
 14140  			}
 14141  			if msglen < 0 {
 14142  				return ErrInvalidLengthTypes
 14143  			}
 14144  			postIndex := iNdEx + msglen
 14145  			if postIndex < 0 {
 14146  				return ErrInvalidLengthTypes
 14147  			}
 14148  			if postIndex > l {
 14149  				return io.ErrUnexpectedEOF
 14150  			}
 14151  			if m.Delay == nil {
 14152  				m.Delay = &types.Duration{}
 14153  			}
 14154  			if err := m.Delay.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14155  				return err
 14156  			}
 14157  			iNdEx = postIndex
 14158  		case 3:
 14159  			if wireType != 0 {
 14160  				return fmt.Errorf("proto: wrong wireType = %d for field MaxAttempts", wireType)
 14161  			}
 14162  			m.MaxAttempts = 0
 14163  			for shift := uint(0); ; shift += 7 {
 14164  				if shift >= 64 {
 14165  					return ErrIntOverflowTypes
 14166  				}
 14167  				if iNdEx >= l {
 14168  					return io.ErrUnexpectedEOF
 14169  				}
 14170  				b := dAtA[iNdEx]
 14171  				iNdEx++
 14172  				m.MaxAttempts |= uint64(b&0x7F) << shift
 14173  				if b < 0x80 {
 14174  					break
 14175  				}
 14176  			}
 14177  		case 4:
 14178  			if wireType != 2 {
 14179  				return fmt.Errorf("proto: wrong wireType = %d for field Window", wireType)
 14180  			}
 14181  			var msglen int
 14182  			for shift := uint(0); ; shift += 7 {
 14183  				if shift >= 64 {
 14184  					return ErrIntOverflowTypes
 14185  				}
 14186  				if iNdEx >= l {
 14187  					return io.ErrUnexpectedEOF
 14188  				}
 14189  				b := dAtA[iNdEx]
 14190  				iNdEx++
 14191  				msglen |= int(b&0x7F) << shift
 14192  				if b < 0x80 {
 14193  					break
 14194  				}
 14195  			}
 14196  			if msglen < 0 {
 14197  				return ErrInvalidLengthTypes
 14198  			}
 14199  			postIndex := iNdEx + msglen
 14200  			if postIndex < 0 {
 14201  				return ErrInvalidLengthTypes
 14202  			}
 14203  			if postIndex > l {
 14204  				return io.ErrUnexpectedEOF
 14205  			}
 14206  			if m.Window == nil {
 14207  				m.Window = &types.Duration{}
 14208  			}
 14209  			if err := m.Window.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14210  				return err
 14211  			}
 14212  			iNdEx = postIndex
 14213  		default:
 14214  			iNdEx = preIndex
 14215  			skippy, err := skipTypes(dAtA[iNdEx:])
 14216  			if err != nil {
 14217  				return err
 14218  			}
 14219  			if skippy < 0 {
 14220  				return ErrInvalidLengthTypes
 14221  			}
 14222  			if (iNdEx + skippy) < 0 {
 14223  				return ErrInvalidLengthTypes
 14224  			}
 14225  			if (iNdEx + skippy) > l {
 14226  				return io.ErrUnexpectedEOF
 14227  			}
 14228  			iNdEx += skippy
 14229  		}
 14230  	}
 14231  
 14232  	if iNdEx > l {
 14233  		return io.ErrUnexpectedEOF
 14234  	}
 14235  	return nil
 14236  }
 14237  func (m *UpdateConfig) Unmarshal(dAtA []byte) error {
 14238  	l := len(dAtA)
 14239  	iNdEx := 0
 14240  	for iNdEx < l {
 14241  		preIndex := iNdEx
 14242  		var wire uint64
 14243  		for shift := uint(0); ; shift += 7 {
 14244  			if shift >= 64 {
 14245  				return ErrIntOverflowTypes
 14246  			}
 14247  			if iNdEx >= l {
 14248  				return io.ErrUnexpectedEOF
 14249  			}
 14250  			b := dAtA[iNdEx]
 14251  			iNdEx++
 14252  			wire |= uint64(b&0x7F) << shift
 14253  			if b < 0x80 {
 14254  				break
 14255  			}
 14256  		}
 14257  		fieldNum := int32(wire >> 3)
 14258  		wireType := int(wire & 0x7)
 14259  		if wireType == 4 {
 14260  			return fmt.Errorf("proto: UpdateConfig: wiretype end group for non-group")
 14261  		}
 14262  		if fieldNum <= 0 {
 14263  			return fmt.Errorf("proto: UpdateConfig: illegal tag %d (wire type %d)", fieldNum, wire)
 14264  		}
 14265  		switch fieldNum {
 14266  		case 1:
 14267  			if wireType != 0 {
 14268  				return fmt.Errorf("proto: wrong wireType = %d for field Parallelism", wireType)
 14269  			}
 14270  			m.Parallelism = 0
 14271  			for shift := uint(0); ; shift += 7 {
 14272  				if shift >= 64 {
 14273  					return ErrIntOverflowTypes
 14274  				}
 14275  				if iNdEx >= l {
 14276  					return io.ErrUnexpectedEOF
 14277  				}
 14278  				b := dAtA[iNdEx]
 14279  				iNdEx++
 14280  				m.Parallelism |= uint64(b&0x7F) << shift
 14281  				if b < 0x80 {
 14282  					break
 14283  				}
 14284  			}
 14285  		case 2:
 14286  			if wireType != 2 {
 14287  				return fmt.Errorf("proto: wrong wireType = %d for field Delay", wireType)
 14288  			}
 14289  			var msglen int
 14290  			for shift := uint(0); ; shift += 7 {
 14291  				if shift >= 64 {
 14292  					return ErrIntOverflowTypes
 14293  				}
 14294  				if iNdEx >= l {
 14295  					return io.ErrUnexpectedEOF
 14296  				}
 14297  				b := dAtA[iNdEx]
 14298  				iNdEx++
 14299  				msglen |= int(b&0x7F) << shift
 14300  				if b < 0x80 {
 14301  					break
 14302  				}
 14303  			}
 14304  			if msglen < 0 {
 14305  				return ErrInvalidLengthTypes
 14306  			}
 14307  			postIndex := iNdEx + msglen
 14308  			if postIndex < 0 {
 14309  				return ErrInvalidLengthTypes
 14310  			}
 14311  			if postIndex > l {
 14312  				return io.ErrUnexpectedEOF
 14313  			}
 14314  			if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Delay, dAtA[iNdEx:postIndex]); err != nil {
 14315  				return err
 14316  			}
 14317  			iNdEx = postIndex
 14318  		case 3:
 14319  			if wireType != 0 {
 14320  				return fmt.Errorf("proto: wrong wireType = %d for field FailureAction", wireType)
 14321  			}
 14322  			m.FailureAction = 0
 14323  			for shift := uint(0); ; shift += 7 {
 14324  				if shift >= 64 {
 14325  					return ErrIntOverflowTypes
 14326  				}
 14327  				if iNdEx >= l {
 14328  					return io.ErrUnexpectedEOF
 14329  				}
 14330  				b := dAtA[iNdEx]
 14331  				iNdEx++
 14332  				m.FailureAction |= UpdateConfig_FailureAction(b&0x7F) << shift
 14333  				if b < 0x80 {
 14334  					break
 14335  				}
 14336  			}
 14337  		case 4:
 14338  			if wireType != 2 {
 14339  				return fmt.Errorf("proto: wrong wireType = %d for field Monitor", wireType)
 14340  			}
 14341  			var msglen int
 14342  			for shift := uint(0); ; shift += 7 {
 14343  				if shift >= 64 {
 14344  					return ErrIntOverflowTypes
 14345  				}
 14346  				if iNdEx >= l {
 14347  					return io.ErrUnexpectedEOF
 14348  				}
 14349  				b := dAtA[iNdEx]
 14350  				iNdEx++
 14351  				msglen |= int(b&0x7F) << shift
 14352  				if b < 0x80 {
 14353  					break
 14354  				}
 14355  			}
 14356  			if msglen < 0 {
 14357  				return ErrInvalidLengthTypes
 14358  			}
 14359  			postIndex := iNdEx + msglen
 14360  			if postIndex < 0 {
 14361  				return ErrInvalidLengthTypes
 14362  			}
 14363  			if postIndex > l {
 14364  				return io.ErrUnexpectedEOF
 14365  			}
 14366  			if m.Monitor == nil {
 14367  				m.Monitor = &types.Duration{}
 14368  			}
 14369  			if err := m.Monitor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14370  				return err
 14371  			}
 14372  			iNdEx = postIndex
 14373  		case 5:
 14374  			if wireType != 5 {
 14375  				return fmt.Errorf("proto: wrong wireType = %d for field MaxFailureRatio", wireType)
 14376  			}
 14377  			var v uint32
 14378  			if (iNdEx + 4) > l {
 14379  				return io.ErrUnexpectedEOF
 14380  			}
 14381  			v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
 14382  			iNdEx += 4
 14383  			m.MaxFailureRatio = float32(math.Float32frombits(v))
 14384  		case 6:
 14385  			if wireType != 0 {
 14386  				return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
 14387  			}
 14388  			m.Order = 0
 14389  			for shift := uint(0); ; shift += 7 {
 14390  				if shift >= 64 {
 14391  					return ErrIntOverflowTypes
 14392  				}
 14393  				if iNdEx >= l {
 14394  					return io.ErrUnexpectedEOF
 14395  				}
 14396  				b := dAtA[iNdEx]
 14397  				iNdEx++
 14398  				m.Order |= UpdateConfig_UpdateOrder(b&0x7F) << shift
 14399  				if b < 0x80 {
 14400  					break
 14401  				}
 14402  			}
 14403  		default:
 14404  			iNdEx = preIndex
 14405  			skippy, err := skipTypes(dAtA[iNdEx:])
 14406  			if err != nil {
 14407  				return err
 14408  			}
 14409  			if skippy < 0 {
 14410  				return ErrInvalidLengthTypes
 14411  			}
 14412  			if (iNdEx + skippy) < 0 {
 14413  				return ErrInvalidLengthTypes
 14414  			}
 14415  			if (iNdEx + skippy) > l {
 14416  				return io.ErrUnexpectedEOF
 14417  			}
 14418  			iNdEx += skippy
 14419  		}
 14420  	}
 14421  
 14422  	if iNdEx > l {
 14423  		return io.ErrUnexpectedEOF
 14424  	}
 14425  	return nil
 14426  }
 14427  func (m *UpdateStatus) Unmarshal(dAtA []byte) error {
 14428  	l := len(dAtA)
 14429  	iNdEx := 0
 14430  	for iNdEx < l {
 14431  		preIndex := iNdEx
 14432  		var wire uint64
 14433  		for shift := uint(0); ; shift += 7 {
 14434  			if shift >= 64 {
 14435  				return ErrIntOverflowTypes
 14436  			}
 14437  			if iNdEx >= l {
 14438  				return io.ErrUnexpectedEOF
 14439  			}
 14440  			b := dAtA[iNdEx]
 14441  			iNdEx++
 14442  			wire |= uint64(b&0x7F) << shift
 14443  			if b < 0x80 {
 14444  				break
 14445  			}
 14446  		}
 14447  		fieldNum := int32(wire >> 3)
 14448  		wireType := int(wire & 0x7)
 14449  		if wireType == 4 {
 14450  			return fmt.Errorf("proto: UpdateStatus: wiretype end group for non-group")
 14451  		}
 14452  		if fieldNum <= 0 {
 14453  			return fmt.Errorf("proto: UpdateStatus: illegal tag %d (wire type %d)", fieldNum, wire)
 14454  		}
 14455  		switch fieldNum {
 14456  		case 1:
 14457  			if wireType != 0 {
 14458  				return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
 14459  			}
 14460  			m.State = 0
 14461  			for shift := uint(0); ; shift += 7 {
 14462  				if shift >= 64 {
 14463  					return ErrIntOverflowTypes
 14464  				}
 14465  				if iNdEx >= l {
 14466  					return io.ErrUnexpectedEOF
 14467  				}
 14468  				b := dAtA[iNdEx]
 14469  				iNdEx++
 14470  				m.State |= UpdateStatus_UpdateState(b&0x7F) << shift
 14471  				if b < 0x80 {
 14472  					break
 14473  				}
 14474  			}
 14475  		case 2:
 14476  			if wireType != 2 {
 14477  				return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
 14478  			}
 14479  			var msglen int
 14480  			for shift := uint(0); ; shift += 7 {
 14481  				if shift >= 64 {
 14482  					return ErrIntOverflowTypes
 14483  				}
 14484  				if iNdEx >= l {
 14485  					return io.ErrUnexpectedEOF
 14486  				}
 14487  				b := dAtA[iNdEx]
 14488  				iNdEx++
 14489  				msglen |= int(b&0x7F) << shift
 14490  				if b < 0x80 {
 14491  					break
 14492  				}
 14493  			}
 14494  			if msglen < 0 {
 14495  				return ErrInvalidLengthTypes
 14496  			}
 14497  			postIndex := iNdEx + msglen
 14498  			if postIndex < 0 {
 14499  				return ErrInvalidLengthTypes
 14500  			}
 14501  			if postIndex > l {
 14502  				return io.ErrUnexpectedEOF
 14503  			}
 14504  			if m.StartedAt == nil {
 14505  				m.StartedAt = &types.Timestamp{}
 14506  			}
 14507  			if err := m.StartedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14508  				return err
 14509  			}
 14510  			iNdEx = postIndex
 14511  		case 3:
 14512  			if wireType != 2 {
 14513  				return fmt.Errorf("proto: wrong wireType = %d for field CompletedAt", wireType)
 14514  			}
 14515  			var msglen int
 14516  			for shift := uint(0); ; shift += 7 {
 14517  				if shift >= 64 {
 14518  					return ErrIntOverflowTypes
 14519  				}
 14520  				if iNdEx >= l {
 14521  					return io.ErrUnexpectedEOF
 14522  				}
 14523  				b := dAtA[iNdEx]
 14524  				iNdEx++
 14525  				msglen |= int(b&0x7F) << shift
 14526  				if b < 0x80 {
 14527  					break
 14528  				}
 14529  			}
 14530  			if msglen < 0 {
 14531  				return ErrInvalidLengthTypes
 14532  			}
 14533  			postIndex := iNdEx + msglen
 14534  			if postIndex < 0 {
 14535  				return ErrInvalidLengthTypes
 14536  			}
 14537  			if postIndex > l {
 14538  				return io.ErrUnexpectedEOF
 14539  			}
 14540  			if m.CompletedAt == nil {
 14541  				m.CompletedAt = &types.Timestamp{}
 14542  			}
 14543  			if err := m.CompletedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14544  				return err
 14545  			}
 14546  			iNdEx = postIndex
 14547  		case 4:
 14548  			if wireType != 2 {
 14549  				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
 14550  			}
 14551  			var stringLen uint64
 14552  			for shift := uint(0); ; shift += 7 {
 14553  				if shift >= 64 {
 14554  					return ErrIntOverflowTypes
 14555  				}
 14556  				if iNdEx >= l {
 14557  					return io.ErrUnexpectedEOF
 14558  				}
 14559  				b := dAtA[iNdEx]
 14560  				iNdEx++
 14561  				stringLen |= uint64(b&0x7F) << shift
 14562  				if b < 0x80 {
 14563  					break
 14564  				}
 14565  			}
 14566  			intStringLen := int(stringLen)
 14567  			if intStringLen < 0 {
 14568  				return ErrInvalidLengthTypes
 14569  			}
 14570  			postIndex := iNdEx + intStringLen
 14571  			if postIndex < 0 {
 14572  				return ErrInvalidLengthTypes
 14573  			}
 14574  			if postIndex > l {
 14575  				return io.ErrUnexpectedEOF
 14576  			}
 14577  			m.Message = string(dAtA[iNdEx:postIndex])
 14578  			iNdEx = postIndex
 14579  		default:
 14580  			iNdEx = preIndex
 14581  			skippy, err := skipTypes(dAtA[iNdEx:])
 14582  			if err != nil {
 14583  				return err
 14584  			}
 14585  			if skippy < 0 {
 14586  				return ErrInvalidLengthTypes
 14587  			}
 14588  			if (iNdEx + skippy) < 0 {
 14589  				return ErrInvalidLengthTypes
 14590  			}
 14591  			if (iNdEx + skippy) > l {
 14592  				return io.ErrUnexpectedEOF
 14593  			}
 14594  			iNdEx += skippy
 14595  		}
 14596  	}
 14597  
 14598  	if iNdEx > l {
 14599  		return io.ErrUnexpectedEOF
 14600  	}
 14601  	return nil
 14602  }
 14603  func (m *ContainerStatus) Unmarshal(dAtA []byte) error {
 14604  	l := len(dAtA)
 14605  	iNdEx := 0
 14606  	for iNdEx < l {
 14607  		preIndex := iNdEx
 14608  		var wire uint64
 14609  		for shift := uint(0); ; shift += 7 {
 14610  			if shift >= 64 {
 14611  				return ErrIntOverflowTypes
 14612  			}
 14613  			if iNdEx >= l {
 14614  				return io.ErrUnexpectedEOF
 14615  			}
 14616  			b := dAtA[iNdEx]
 14617  			iNdEx++
 14618  			wire |= uint64(b&0x7F) << shift
 14619  			if b < 0x80 {
 14620  				break
 14621  			}
 14622  		}
 14623  		fieldNum := int32(wire >> 3)
 14624  		wireType := int(wire & 0x7)
 14625  		if wireType == 4 {
 14626  			return fmt.Errorf("proto: ContainerStatus: wiretype end group for non-group")
 14627  		}
 14628  		if fieldNum <= 0 {
 14629  			return fmt.Errorf("proto: ContainerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
 14630  		}
 14631  		switch fieldNum {
 14632  		case 1:
 14633  			if wireType != 2 {
 14634  				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
 14635  			}
 14636  			var stringLen uint64
 14637  			for shift := uint(0); ; shift += 7 {
 14638  				if shift >= 64 {
 14639  					return ErrIntOverflowTypes
 14640  				}
 14641  				if iNdEx >= l {
 14642  					return io.ErrUnexpectedEOF
 14643  				}
 14644  				b := dAtA[iNdEx]
 14645  				iNdEx++
 14646  				stringLen |= uint64(b&0x7F) << shift
 14647  				if b < 0x80 {
 14648  					break
 14649  				}
 14650  			}
 14651  			intStringLen := int(stringLen)
 14652  			if intStringLen < 0 {
 14653  				return ErrInvalidLengthTypes
 14654  			}
 14655  			postIndex := iNdEx + intStringLen
 14656  			if postIndex < 0 {
 14657  				return ErrInvalidLengthTypes
 14658  			}
 14659  			if postIndex > l {
 14660  				return io.ErrUnexpectedEOF
 14661  			}
 14662  			m.ContainerID = string(dAtA[iNdEx:postIndex])
 14663  			iNdEx = postIndex
 14664  		case 2:
 14665  			if wireType != 0 {
 14666  				return fmt.Errorf("proto: wrong wireType = %d for field PID", wireType)
 14667  			}
 14668  			m.PID = 0
 14669  			for shift := uint(0); ; shift += 7 {
 14670  				if shift >= 64 {
 14671  					return ErrIntOverflowTypes
 14672  				}
 14673  				if iNdEx >= l {
 14674  					return io.ErrUnexpectedEOF
 14675  				}
 14676  				b := dAtA[iNdEx]
 14677  				iNdEx++
 14678  				m.PID |= int32(b&0x7F) << shift
 14679  				if b < 0x80 {
 14680  					break
 14681  				}
 14682  			}
 14683  		case 3:
 14684  			if wireType != 0 {
 14685  				return fmt.Errorf("proto: wrong wireType = %d for field ExitCode", wireType)
 14686  			}
 14687  			m.ExitCode = 0
 14688  			for shift := uint(0); ; shift += 7 {
 14689  				if shift >= 64 {
 14690  					return ErrIntOverflowTypes
 14691  				}
 14692  				if iNdEx >= l {
 14693  					return io.ErrUnexpectedEOF
 14694  				}
 14695  				b := dAtA[iNdEx]
 14696  				iNdEx++
 14697  				m.ExitCode |= int32(b&0x7F) << shift
 14698  				if b < 0x80 {
 14699  					break
 14700  				}
 14701  			}
 14702  		default:
 14703  			iNdEx = preIndex
 14704  			skippy, err := skipTypes(dAtA[iNdEx:])
 14705  			if err != nil {
 14706  				return err
 14707  			}
 14708  			if skippy < 0 {
 14709  				return ErrInvalidLengthTypes
 14710  			}
 14711  			if (iNdEx + skippy) < 0 {
 14712  				return ErrInvalidLengthTypes
 14713  			}
 14714  			if (iNdEx + skippy) > l {
 14715  				return io.ErrUnexpectedEOF
 14716  			}
 14717  			iNdEx += skippy
 14718  		}
 14719  	}
 14720  
 14721  	if iNdEx > l {
 14722  		return io.ErrUnexpectedEOF
 14723  	}
 14724  	return nil
 14725  }
 14726  func (m *PortStatus) Unmarshal(dAtA []byte) error {
 14727  	l := len(dAtA)
 14728  	iNdEx := 0
 14729  	for iNdEx < l {
 14730  		preIndex := iNdEx
 14731  		var wire uint64
 14732  		for shift := uint(0); ; shift += 7 {
 14733  			if shift >= 64 {
 14734  				return ErrIntOverflowTypes
 14735  			}
 14736  			if iNdEx >= l {
 14737  				return io.ErrUnexpectedEOF
 14738  			}
 14739  			b := dAtA[iNdEx]
 14740  			iNdEx++
 14741  			wire |= uint64(b&0x7F) << shift
 14742  			if b < 0x80 {
 14743  				break
 14744  			}
 14745  		}
 14746  		fieldNum := int32(wire >> 3)
 14747  		wireType := int(wire & 0x7)
 14748  		if wireType == 4 {
 14749  			return fmt.Errorf("proto: PortStatus: wiretype end group for non-group")
 14750  		}
 14751  		if fieldNum <= 0 {
 14752  			return fmt.Errorf("proto: PortStatus: illegal tag %d (wire type %d)", fieldNum, wire)
 14753  		}
 14754  		switch fieldNum {
 14755  		case 1:
 14756  			if wireType != 2 {
 14757  				return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
 14758  			}
 14759  			var msglen int
 14760  			for shift := uint(0); ; shift += 7 {
 14761  				if shift >= 64 {
 14762  					return ErrIntOverflowTypes
 14763  				}
 14764  				if iNdEx >= l {
 14765  					return io.ErrUnexpectedEOF
 14766  				}
 14767  				b := dAtA[iNdEx]
 14768  				iNdEx++
 14769  				msglen |= int(b&0x7F) << shift
 14770  				if b < 0x80 {
 14771  					break
 14772  				}
 14773  			}
 14774  			if msglen < 0 {
 14775  				return ErrInvalidLengthTypes
 14776  			}
 14777  			postIndex := iNdEx + msglen
 14778  			if postIndex < 0 {
 14779  				return ErrInvalidLengthTypes
 14780  			}
 14781  			if postIndex > l {
 14782  				return io.ErrUnexpectedEOF
 14783  			}
 14784  			m.Ports = append(m.Ports, &PortConfig{})
 14785  			if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14786  				return err
 14787  			}
 14788  			iNdEx = postIndex
 14789  		default:
 14790  			iNdEx = preIndex
 14791  			skippy, err := skipTypes(dAtA[iNdEx:])
 14792  			if err != nil {
 14793  				return err
 14794  			}
 14795  			if skippy < 0 {
 14796  				return ErrInvalidLengthTypes
 14797  			}
 14798  			if (iNdEx + skippy) < 0 {
 14799  				return ErrInvalidLengthTypes
 14800  			}
 14801  			if (iNdEx + skippy) > l {
 14802  				return io.ErrUnexpectedEOF
 14803  			}
 14804  			iNdEx += skippy
 14805  		}
 14806  	}
 14807  
 14808  	if iNdEx > l {
 14809  		return io.ErrUnexpectedEOF
 14810  	}
 14811  	return nil
 14812  }
 14813  func (m *TaskStatus) Unmarshal(dAtA []byte) error {
 14814  	l := len(dAtA)
 14815  	iNdEx := 0
 14816  	for iNdEx < l {
 14817  		preIndex := iNdEx
 14818  		var wire uint64
 14819  		for shift := uint(0); ; shift += 7 {
 14820  			if shift >= 64 {
 14821  				return ErrIntOverflowTypes
 14822  			}
 14823  			if iNdEx >= l {
 14824  				return io.ErrUnexpectedEOF
 14825  			}
 14826  			b := dAtA[iNdEx]
 14827  			iNdEx++
 14828  			wire |= uint64(b&0x7F) << shift
 14829  			if b < 0x80 {
 14830  				break
 14831  			}
 14832  		}
 14833  		fieldNum := int32(wire >> 3)
 14834  		wireType := int(wire & 0x7)
 14835  		if wireType == 4 {
 14836  			return fmt.Errorf("proto: TaskStatus: wiretype end group for non-group")
 14837  		}
 14838  		if fieldNum <= 0 {
 14839  			return fmt.Errorf("proto: TaskStatus: illegal tag %d (wire type %d)", fieldNum, wire)
 14840  		}
 14841  		switch fieldNum {
 14842  		case 1:
 14843  			if wireType != 2 {
 14844  				return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType)
 14845  			}
 14846  			var msglen int
 14847  			for shift := uint(0); ; shift += 7 {
 14848  				if shift >= 64 {
 14849  					return ErrIntOverflowTypes
 14850  				}
 14851  				if iNdEx >= l {
 14852  					return io.ErrUnexpectedEOF
 14853  				}
 14854  				b := dAtA[iNdEx]
 14855  				iNdEx++
 14856  				msglen |= int(b&0x7F) << shift
 14857  				if b < 0x80 {
 14858  					break
 14859  				}
 14860  			}
 14861  			if msglen < 0 {
 14862  				return ErrInvalidLengthTypes
 14863  			}
 14864  			postIndex := iNdEx + msglen
 14865  			if postIndex < 0 {
 14866  				return ErrInvalidLengthTypes
 14867  			}
 14868  			if postIndex > l {
 14869  				return io.ErrUnexpectedEOF
 14870  			}
 14871  			if m.Timestamp == nil {
 14872  				m.Timestamp = &types.Timestamp{}
 14873  			}
 14874  			if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14875  				return err
 14876  			}
 14877  			iNdEx = postIndex
 14878  		case 2:
 14879  			if wireType != 0 {
 14880  				return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
 14881  			}
 14882  			m.State = 0
 14883  			for shift := uint(0); ; shift += 7 {
 14884  				if shift >= 64 {
 14885  					return ErrIntOverflowTypes
 14886  				}
 14887  				if iNdEx >= l {
 14888  					return io.ErrUnexpectedEOF
 14889  				}
 14890  				b := dAtA[iNdEx]
 14891  				iNdEx++
 14892  				m.State |= TaskState(b&0x7F) << shift
 14893  				if b < 0x80 {
 14894  					break
 14895  				}
 14896  			}
 14897  		case 3:
 14898  			if wireType != 2 {
 14899  				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
 14900  			}
 14901  			var stringLen uint64
 14902  			for shift := uint(0); ; shift += 7 {
 14903  				if shift >= 64 {
 14904  					return ErrIntOverflowTypes
 14905  				}
 14906  				if iNdEx >= l {
 14907  					return io.ErrUnexpectedEOF
 14908  				}
 14909  				b := dAtA[iNdEx]
 14910  				iNdEx++
 14911  				stringLen |= uint64(b&0x7F) << shift
 14912  				if b < 0x80 {
 14913  					break
 14914  				}
 14915  			}
 14916  			intStringLen := int(stringLen)
 14917  			if intStringLen < 0 {
 14918  				return ErrInvalidLengthTypes
 14919  			}
 14920  			postIndex := iNdEx + intStringLen
 14921  			if postIndex < 0 {
 14922  				return ErrInvalidLengthTypes
 14923  			}
 14924  			if postIndex > l {
 14925  				return io.ErrUnexpectedEOF
 14926  			}
 14927  			m.Message = string(dAtA[iNdEx:postIndex])
 14928  			iNdEx = postIndex
 14929  		case 4:
 14930  			if wireType != 2 {
 14931  				return fmt.Errorf("proto: wrong wireType = %d for field Err", wireType)
 14932  			}
 14933  			var stringLen uint64
 14934  			for shift := uint(0); ; shift += 7 {
 14935  				if shift >= 64 {
 14936  					return ErrIntOverflowTypes
 14937  				}
 14938  				if iNdEx >= l {
 14939  					return io.ErrUnexpectedEOF
 14940  				}
 14941  				b := dAtA[iNdEx]
 14942  				iNdEx++
 14943  				stringLen |= uint64(b&0x7F) << shift
 14944  				if b < 0x80 {
 14945  					break
 14946  				}
 14947  			}
 14948  			intStringLen := int(stringLen)
 14949  			if intStringLen < 0 {
 14950  				return ErrInvalidLengthTypes
 14951  			}
 14952  			postIndex := iNdEx + intStringLen
 14953  			if postIndex < 0 {
 14954  				return ErrInvalidLengthTypes
 14955  			}
 14956  			if postIndex > l {
 14957  				return io.ErrUnexpectedEOF
 14958  			}
 14959  			m.Err = string(dAtA[iNdEx:postIndex])
 14960  			iNdEx = postIndex
 14961  		case 5:
 14962  			if wireType != 2 {
 14963  				return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
 14964  			}
 14965  			var msglen int
 14966  			for shift := uint(0); ; shift += 7 {
 14967  				if shift >= 64 {
 14968  					return ErrIntOverflowTypes
 14969  				}
 14970  				if iNdEx >= l {
 14971  					return io.ErrUnexpectedEOF
 14972  				}
 14973  				b := dAtA[iNdEx]
 14974  				iNdEx++
 14975  				msglen |= int(b&0x7F) << shift
 14976  				if b < 0x80 {
 14977  					break
 14978  				}
 14979  			}
 14980  			if msglen < 0 {
 14981  				return ErrInvalidLengthTypes
 14982  			}
 14983  			postIndex := iNdEx + msglen
 14984  			if postIndex < 0 {
 14985  				return ErrInvalidLengthTypes
 14986  			}
 14987  			if postIndex > l {
 14988  				return io.ErrUnexpectedEOF
 14989  			}
 14990  			v := &ContainerStatus{}
 14991  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14992  				return err
 14993  			}
 14994  			m.RuntimeStatus = &TaskStatus_Container{v}
 14995  			iNdEx = postIndex
 14996  		case 6:
 14997  			if wireType != 2 {
 14998  				return fmt.Errorf("proto: wrong wireType = %d for field PortStatus", wireType)
 14999  			}
 15000  			var msglen int
 15001  			for shift := uint(0); ; shift += 7 {
 15002  				if shift >= 64 {
 15003  					return ErrIntOverflowTypes
 15004  				}
 15005  				if iNdEx >= l {
 15006  					return io.ErrUnexpectedEOF
 15007  				}
 15008  				b := dAtA[iNdEx]
 15009  				iNdEx++
 15010  				msglen |= int(b&0x7F) << shift
 15011  				if b < 0x80 {
 15012  					break
 15013  				}
 15014  			}
 15015  			if msglen < 0 {
 15016  				return ErrInvalidLengthTypes
 15017  			}
 15018  			postIndex := iNdEx + msglen
 15019  			if postIndex < 0 {
 15020  				return ErrInvalidLengthTypes
 15021  			}
 15022  			if postIndex > l {
 15023  				return io.ErrUnexpectedEOF
 15024  			}
 15025  			if m.PortStatus == nil {
 15026  				m.PortStatus = &PortStatus{}
 15027  			}
 15028  			if err := m.PortStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15029  				return err
 15030  			}
 15031  			iNdEx = postIndex
 15032  		case 7:
 15033  			if wireType != 2 {
 15034  				return fmt.Errorf("proto: wrong wireType = %d for field AppliedBy", wireType)
 15035  			}
 15036  			var stringLen uint64
 15037  			for shift := uint(0); ; shift += 7 {
 15038  				if shift >= 64 {
 15039  					return ErrIntOverflowTypes
 15040  				}
 15041  				if iNdEx >= l {
 15042  					return io.ErrUnexpectedEOF
 15043  				}
 15044  				b := dAtA[iNdEx]
 15045  				iNdEx++
 15046  				stringLen |= uint64(b&0x7F) << shift
 15047  				if b < 0x80 {
 15048  					break
 15049  				}
 15050  			}
 15051  			intStringLen := int(stringLen)
 15052  			if intStringLen < 0 {
 15053  				return ErrInvalidLengthTypes
 15054  			}
 15055  			postIndex := iNdEx + intStringLen
 15056  			if postIndex < 0 {
 15057  				return ErrInvalidLengthTypes
 15058  			}
 15059  			if postIndex > l {
 15060  				return io.ErrUnexpectedEOF
 15061  			}
 15062  			m.AppliedBy = string(dAtA[iNdEx:postIndex])
 15063  			iNdEx = postIndex
 15064  		case 8:
 15065  			if wireType != 2 {
 15066  				return fmt.Errorf("proto: wrong wireType = %d for field AppliedAt", wireType)
 15067  			}
 15068  			var msglen int
 15069  			for shift := uint(0); ; shift += 7 {
 15070  				if shift >= 64 {
 15071  					return ErrIntOverflowTypes
 15072  				}
 15073  				if iNdEx >= l {
 15074  					return io.ErrUnexpectedEOF
 15075  				}
 15076  				b := dAtA[iNdEx]
 15077  				iNdEx++
 15078  				msglen |= int(b&0x7F) << shift
 15079  				if b < 0x80 {
 15080  					break
 15081  				}
 15082  			}
 15083  			if msglen < 0 {
 15084  				return ErrInvalidLengthTypes
 15085  			}
 15086  			postIndex := iNdEx + msglen
 15087  			if postIndex < 0 {
 15088  				return ErrInvalidLengthTypes
 15089  			}
 15090  			if postIndex > l {
 15091  				return io.ErrUnexpectedEOF
 15092  			}
 15093  			if m.AppliedAt == nil {
 15094  				m.AppliedAt = &types.Timestamp{}
 15095  			}
 15096  			if err := m.AppliedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15097  				return err
 15098  			}
 15099  			iNdEx = postIndex
 15100  		default:
 15101  			iNdEx = preIndex
 15102  			skippy, err := skipTypes(dAtA[iNdEx:])
 15103  			if err != nil {
 15104  				return err
 15105  			}
 15106  			if skippy < 0 {
 15107  				return ErrInvalidLengthTypes
 15108  			}
 15109  			if (iNdEx + skippy) < 0 {
 15110  				return ErrInvalidLengthTypes
 15111  			}
 15112  			if (iNdEx + skippy) > l {
 15113  				return io.ErrUnexpectedEOF
 15114  			}
 15115  			iNdEx += skippy
 15116  		}
 15117  	}
 15118  
 15119  	if iNdEx > l {
 15120  		return io.ErrUnexpectedEOF
 15121  	}
 15122  	return nil
 15123  }
 15124  func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error {
 15125  	l := len(dAtA)
 15126  	iNdEx := 0
 15127  	for iNdEx < l {
 15128  		preIndex := iNdEx
 15129  		var wire uint64
 15130  		for shift := uint(0); ; shift += 7 {
 15131  			if shift >= 64 {
 15132  				return ErrIntOverflowTypes
 15133  			}
 15134  			if iNdEx >= l {
 15135  				return io.ErrUnexpectedEOF
 15136  			}
 15137  			b := dAtA[iNdEx]
 15138  			iNdEx++
 15139  			wire |= uint64(b&0x7F) << shift
 15140  			if b < 0x80 {
 15141  				break
 15142  			}
 15143  		}
 15144  		fieldNum := int32(wire >> 3)
 15145  		wireType := int(wire & 0x7)
 15146  		if wireType == 4 {
 15147  			return fmt.Errorf("proto: NetworkAttachmentConfig: wiretype end group for non-group")
 15148  		}
 15149  		if fieldNum <= 0 {
 15150  			return fmt.Errorf("proto: NetworkAttachmentConfig: illegal tag %d (wire type %d)", fieldNum, wire)
 15151  		}
 15152  		switch fieldNum {
 15153  		case 1:
 15154  			if wireType != 2 {
 15155  				return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
 15156  			}
 15157  			var stringLen uint64
 15158  			for shift := uint(0); ; shift += 7 {
 15159  				if shift >= 64 {
 15160  					return ErrIntOverflowTypes
 15161  				}
 15162  				if iNdEx >= l {
 15163  					return io.ErrUnexpectedEOF
 15164  				}
 15165  				b := dAtA[iNdEx]
 15166  				iNdEx++
 15167  				stringLen |= uint64(b&0x7F) << shift
 15168  				if b < 0x80 {
 15169  					break
 15170  				}
 15171  			}
 15172  			intStringLen := int(stringLen)
 15173  			if intStringLen < 0 {
 15174  				return ErrInvalidLengthTypes
 15175  			}
 15176  			postIndex := iNdEx + intStringLen
 15177  			if postIndex < 0 {
 15178  				return ErrInvalidLengthTypes
 15179  			}
 15180  			if postIndex > l {
 15181  				return io.ErrUnexpectedEOF
 15182  			}
 15183  			m.Target = string(dAtA[iNdEx:postIndex])
 15184  			iNdEx = postIndex
 15185  		case 2:
 15186  			if wireType != 2 {
 15187  				return fmt.Errorf("proto: wrong wireType = %d for field Aliases", wireType)
 15188  			}
 15189  			var stringLen uint64
 15190  			for shift := uint(0); ; shift += 7 {
 15191  				if shift >= 64 {
 15192  					return ErrIntOverflowTypes
 15193  				}
 15194  				if iNdEx >= l {
 15195  					return io.ErrUnexpectedEOF
 15196  				}
 15197  				b := dAtA[iNdEx]
 15198  				iNdEx++
 15199  				stringLen |= uint64(b&0x7F) << shift
 15200  				if b < 0x80 {
 15201  					break
 15202  				}
 15203  			}
 15204  			intStringLen := int(stringLen)
 15205  			if intStringLen < 0 {
 15206  				return ErrInvalidLengthTypes
 15207  			}
 15208  			postIndex := iNdEx + intStringLen
 15209  			if postIndex < 0 {
 15210  				return ErrInvalidLengthTypes
 15211  			}
 15212  			if postIndex > l {
 15213  				return io.ErrUnexpectedEOF
 15214  			}
 15215  			m.Aliases = append(m.Aliases, string(dAtA[iNdEx:postIndex]))
 15216  			iNdEx = postIndex
 15217  		case 3:
 15218  			if wireType != 2 {
 15219  				return fmt.Errorf("proto: wrong wireType = %d for field Addresses", wireType)
 15220  			}
 15221  			var stringLen uint64
 15222  			for shift := uint(0); ; shift += 7 {
 15223  				if shift >= 64 {
 15224  					return ErrIntOverflowTypes
 15225  				}
 15226  				if iNdEx >= l {
 15227  					return io.ErrUnexpectedEOF
 15228  				}
 15229  				b := dAtA[iNdEx]
 15230  				iNdEx++
 15231  				stringLen |= uint64(b&0x7F) << shift
 15232  				if b < 0x80 {
 15233  					break
 15234  				}
 15235  			}
 15236  			intStringLen := int(stringLen)
 15237  			if intStringLen < 0 {
 15238  				return ErrInvalidLengthTypes
 15239  			}
 15240  			postIndex := iNdEx + intStringLen
 15241  			if postIndex < 0 {
 15242  				return ErrInvalidLengthTypes
 15243  			}
 15244  			if postIndex > l {
 15245  				return io.ErrUnexpectedEOF
 15246  			}
 15247  			m.Addresses = append(m.Addresses, string(dAtA[iNdEx:postIndex]))
 15248  			iNdEx = postIndex
 15249  		case 4:
 15250  			if wireType != 2 {
 15251  				return fmt.Errorf("proto: wrong wireType = %d for field DriverAttachmentOpts", wireType)
 15252  			}
 15253  			var msglen int
 15254  			for shift := uint(0); ; shift += 7 {
 15255  				if shift >= 64 {
 15256  					return ErrIntOverflowTypes
 15257  				}
 15258  				if iNdEx >= l {
 15259  					return io.ErrUnexpectedEOF
 15260  				}
 15261  				b := dAtA[iNdEx]
 15262  				iNdEx++
 15263  				msglen |= int(b&0x7F) << shift
 15264  				if b < 0x80 {
 15265  					break
 15266  				}
 15267  			}
 15268  			if msglen < 0 {
 15269  				return ErrInvalidLengthTypes
 15270  			}
 15271  			postIndex := iNdEx + msglen
 15272  			if postIndex < 0 {
 15273  				return ErrInvalidLengthTypes
 15274  			}
 15275  			if postIndex > l {
 15276  				return io.ErrUnexpectedEOF
 15277  			}
 15278  			if m.DriverAttachmentOpts == nil {
 15279  				m.DriverAttachmentOpts = make(map[string]string)
 15280  			}
 15281  			var mapkey string
 15282  			var mapvalue string
 15283  			for iNdEx < postIndex {
 15284  				entryPreIndex := iNdEx
 15285  				var wire uint64
 15286  				for shift := uint(0); ; shift += 7 {
 15287  					if shift >= 64 {
 15288  						return ErrIntOverflowTypes
 15289  					}
 15290  					if iNdEx >= l {
 15291  						return io.ErrUnexpectedEOF
 15292  					}
 15293  					b := dAtA[iNdEx]
 15294  					iNdEx++
 15295  					wire |= uint64(b&0x7F) << shift
 15296  					if b < 0x80 {
 15297  						break
 15298  					}
 15299  				}
 15300  				fieldNum := int32(wire >> 3)
 15301  				if fieldNum == 1 {
 15302  					var stringLenmapkey uint64
 15303  					for shift := uint(0); ; shift += 7 {
 15304  						if shift >= 64 {
 15305  							return ErrIntOverflowTypes
 15306  						}
 15307  						if iNdEx >= l {
 15308  							return io.ErrUnexpectedEOF
 15309  						}
 15310  						b := dAtA[iNdEx]
 15311  						iNdEx++
 15312  						stringLenmapkey |= uint64(b&0x7F) << shift
 15313  						if b < 0x80 {
 15314  							break
 15315  						}
 15316  					}
 15317  					intStringLenmapkey := int(stringLenmapkey)
 15318  					if intStringLenmapkey < 0 {
 15319  						return ErrInvalidLengthTypes
 15320  					}
 15321  					postStringIndexmapkey := iNdEx + intStringLenmapkey
 15322  					if postStringIndexmapkey < 0 {
 15323  						return ErrInvalidLengthTypes
 15324  					}
 15325  					if postStringIndexmapkey > l {
 15326  						return io.ErrUnexpectedEOF
 15327  					}
 15328  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
 15329  					iNdEx = postStringIndexmapkey
 15330  				} else if fieldNum == 2 {
 15331  					var stringLenmapvalue uint64
 15332  					for shift := uint(0); ; shift += 7 {
 15333  						if shift >= 64 {
 15334  							return ErrIntOverflowTypes
 15335  						}
 15336  						if iNdEx >= l {
 15337  							return io.ErrUnexpectedEOF
 15338  						}
 15339  						b := dAtA[iNdEx]
 15340  						iNdEx++
 15341  						stringLenmapvalue |= uint64(b&0x7F) << shift
 15342  						if b < 0x80 {
 15343  							break
 15344  						}
 15345  					}
 15346  					intStringLenmapvalue := int(stringLenmapvalue)
 15347  					if intStringLenmapvalue < 0 {
 15348  						return ErrInvalidLengthTypes
 15349  					}
 15350  					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
 15351  					if postStringIndexmapvalue < 0 {
 15352  						return ErrInvalidLengthTypes
 15353  					}
 15354  					if postStringIndexmapvalue > l {
 15355  						return io.ErrUnexpectedEOF
 15356  					}
 15357  					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
 15358  					iNdEx = postStringIndexmapvalue
 15359  				} else {
 15360  					iNdEx = entryPreIndex
 15361  					skippy, err := skipTypes(dAtA[iNdEx:])
 15362  					if err != nil {
 15363  						return err
 15364  					}
 15365  					if skippy < 0 {
 15366  						return ErrInvalidLengthTypes
 15367  					}
 15368  					if (iNdEx + skippy) > postIndex {
 15369  						return io.ErrUnexpectedEOF
 15370  					}
 15371  					iNdEx += skippy
 15372  				}
 15373  			}
 15374  			m.DriverAttachmentOpts[mapkey] = mapvalue
 15375  			iNdEx = postIndex
 15376  		default:
 15377  			iNdEx = preIndex
 15378  			skippy, err := skipTypes(dAtA[iNdEx:])
 15379  			if err != nil {
 15380  				return err
 15381  			}
 15382  			if skippy < 0 {
 15383  				return ErrInvalidLengthTypes
 15384  			}
 15385  			if (iNdEx + skippy) < 0 {
 15386  				return ErrInvalidLengthTypes
 15387  			}
 15388  			if (iNdEx + skippy) > l {
 15389  				return io.ErrUnexpectedEOF
 15390  			}
 15391  			iNdEx += skippy
 15392  		}
 15393  	}
 15394  
 15395  	if iNdEx > l {
 15396  		return io.ErrUnexpectedEOF
 15397  	}
 15398  	return nil
 15399  }
 15400  func (m *IPAMConfig) Unmarshal(dAtA []byte) error {
 15401  	l := len(dAtA)
 15402  	iNdEx := 0
 15403  	for iNdEx < l {
 15404  		preIndex := iNdEx
 15405  		var wire uint64
 15406  		for shift := uint(0); ; shift += 7 {
 15407  			if shift >= 64 {
 15408  				return ErrIntOverflowTypes
 15409  			}
 15410  			if iNdEx >= l {
 15411  				return io.ErrUnexpectedEOF
 15412  			}
 15413  			b := dAtA[iNdEx]
 15414  			iNdEx++
 15415  			wire |= uint64(b&0x7F) << shift
 15416  			if b < 0x80 {
 15417  				break
 15418  			}
 15419  		}
 15420  		fieldNum := int32(wire >> 3)
 15421  		wireType := int(wire & 0x7)
 15422  		if wireType == 4 {
 15423  			return fmt.Errorf("proto: IPAMConfig: wiretype end group for non-group")
 15424  		}
 15425  		if fieldNum <= 0 {
 15426  			return fmt.Errorf("proto: IPAMConfig: illegal tag %d (wire type %d)", fieldNum, wire)
 15427  		}
 15428  		switch fieldNum {
 15429  		case 1:
 15430  			if wireType != 0 {
 15431  				return fmt.Errorf("proto: wrong wireType = %d for field Family", wireType)
 15432  			}
 15433  			m.Family = 0
 15434  			for shift := uint(0); ; shift += 7 {
 15435  				if shift >= 64 {
 15436  					return ErrIntOverflowTypes
 15437  				}
 15438  				if iNdEx >= l {
 15439  					return io.ErrUnexpectedEOF
 15440  				}
 15441  				b := dAtA[iNdEx]
 15442  				iNdEx++
 15443  				m.Family |= IPAMConfig_AddressFamily(b&0x7F) << shift
 15444  				if b < 0x80 {
 15445  					break
 15446  				}
 15447  			}
 15448  		case 2:
 15449  			if wireType != 2 {
 15450  				return fmt.Errorf("proto: wrong wireType = %d for field Subnet", wireType)
 15451  			}
 15452  			var stringLen uint64
 15453  			for shift := uint(0); ; shift += 7 {
 15454  				if shift >= 64 {
 15455  					return ErrIntOverflowTypes
 15456  				}
 15457  				if iNdEx >= l {
 15458  					return io.ErrUnexpectedEOF
 15459  				}
 15460  				b := dAtA[iNdEx]
 15461  				iNdEx++
 15462  				stringLen |= uint64(b&0x7F) << shift
 15463  				if b < 0x80 {
 15464  					break
 15465  				}
 15466  			}
 15467  			intStringLen := int(stringLen)
 15468  			if intStringLen < 0 {
 15469  				return ErrInvalidLengthTypes
 15470  			}
 15471  			postIndex := iNdEx + intStringLen
 15472  			if postIndex < 0 {
 15473  				return ErrInvalidLengthTypes
 15474  			}
 15475  			if postIndex > l {
 15476  				return io.ErrUnexpectedEOF
 15477  			}
 15478  			m.Subnet = string(dAtA[iNdEx:postIndex])
 15479  			iNdEx = postIndex
 15480  		case 3:
 15481  			if wireType != 2 {
 15482  				return fmt.Errorf("proto: wrong wireType = %d for field Range", wireType)
 15483  			}
 15484  			var stringLen uint64
 15485  			for shift := uint(0); ; shift += 7 {
 15486  				if shift >= 64 {
 15487  					return ErrIntOverflowTypes
 15488  				}
 15489  				if iNdEx >= l {
 15490  					return io.ErrUnexpectedEOF
 15491  				}
 15492  				b := dAtA[iNdEx]
 15493  				iNdEx++
 15494  				stringLen |= uint64(b&0x7F) << shift
 15495  				if b < 0x80 {
 15496  					break
 15497  				}
 15498  			}
 15499  			intStringLen := int(stringLen)
 15500  			if intStringLen < 0 {
 15501  				return ErrInvalidLengthTypes
 15502  			}
 15503  			postIndex := iNdEx + intStringLen
 15504  			if postIndex < 0 {
 15505  				return ErrInvalidLengthTypes
 15506  			}
 15507  			if postIndex > l {
 15508  				return io.ErrUnexpectedEOF
 15509  			}
 15510  			m.Range = string(dAtA[iNdEx:postIndex])
 15511  			iNdEx = postIndex
 15512  		case 4:
 15513  			if wireType != 2 {
 15514  				return fmt.Errorf("proto: wrong wireType = %d for field Gateway", wireType)
 15515  			}
 15516  			var stringLen uint64
 15517  			for shift := uint(0); ; shift += 7 {
 15518  				if shift >= 64 {
 15519  					return ErrIntOverflowTypes
 15520  				}
 15521  				if iNdEx >= l {
 15522  					return io.ErrUnexpectedEOF
 15523  				}
 15524  				b := dAtA[iNdEx]
 15525  				iNdEx++
 15526  				stringLen |= uint64(b&0x7F) << shift
 15527  				if b < 0x80 {
 15528  					break
 15529  				}
 15530  			}
 15531  			intStringLen := int(stringLen)
 15532  			if intStringLen < 0 {
 15533  				return ErrInvalidLengthTypes
 15534  			}
 15535  			postIndex := iNdEx + intStringLen
 15536  			if postIndex < 0 {
 15537  				return ErrInvalidLengthTypes
 15538  			}
 15539  			if postIndex > l {
 15540  				return io.ErrUnexpectedEOF
 15541  			}
 15542  			m.Gateway = string(dAtA[iNdEx:postIndex])
 15543  			iNdEx = postIndex
 15544  		case 5:
 15545  			if wireType != 2 {
 15546  				return fmt.Errorf("proto: wrong wireType = %d for field Reserved", wireType)
 15547  			}
 15548  			var msglen int
 15549  			for shift := uint(0); ; shift += 7 {
 15550  				if shift >= 64 {
 15551  					return ErrIntOverflowTypes
 15552  				}
 15553  				if iNdEx >= l {
 15554  					return io.ErrUnexpectedEOF
 15555  				}
 15556  				b := dAtA[iNdEx]
 15557  				iNdEx++
 15558  				msglen |= int(b&0x7F) << shift
 15559  				if b < 0x80 {
 15560  					break
 15561  				}
 15562  			}
 15563  			if msglen < 0 {
 15564  				return ErrInvalidLengthTypes
 15565  			}
 15566  			postIndex := iNdEx + msglen
 15567  			if postIndex < 0 {
 15568  				return ErrInvalidLengthTypes
 15569  			}
 15570  			if postIndex > l {
 15571  				return io.ErrUnexpectedEOF
 15572  			}
 15573  			if m.Reserved == nil {
 15574  				m.Reserved = make(map[string]string)
 15575  			}
 15576  			var mapkey string
 15577  			var mapvalue string
 15578  			for iNdEx < postIndex {
 15579  				entryPreIndex := iNdEx
 15580  				var wire uint64
 15581  				for shift := uint(0); ; shift += 7 {
 15582  					if shift >= 64 {
 15583  						return ErrIntOverflowTypes
 15584  					}
 15585  					if iNdEx >= l {
 15586  						return io.ErrUnexpectedEOF
 15587  					}
 15588  					b := dAtA[iNdEx]
 15589  					iNdEx++
 15590  					wire |= uint64(b&0x7F) << shift
 15591  					if b < 0x80 {
 15592  						break
 15593  					}
 15594  				}
 15595  				fieldNum := int32(wire >> 3)
 15596  				if fieldNum == 1 {
 15597  					var stringLenmapkey uint64
 15598  					for shift := uint(0); ; shift += 7 {
 15599  						if shift >= 64 {
 15600  							return ErrIntOverflowTypes
 15601  						}
 15602  						if iNdEx >= l {
 15603  							return io.ErrUnexpectedEOF
 15604  						}
 15605  						b := dAtA[iNdEx]
 15606  						iNdEx++
 15607  						stringLenmapkey |= uint64(b&0x7F) << shift
 15608  						if b < 0x80 {
 15609  							break
 15610  						}
 15611  					}
 15612  					intStringLenmapkey := int(stringLenmapkey)
 15613  					if intStringLenmapkey < 0 {
 15614  						return ErrInvalidLengthTypes
 15615  					}
 15616  					postStringIndexmapkey := iNdEx + intStringLenmapkey
 15617  					if postStringIndexmapkey < 0 {
 15618  						return ErrInvalidLengthTypes
 15619  					}
 15620  					if postStringIndexmapkey > l {
 15621  						return io.ErrUnexpectedEOF
 15622  					}
 15623  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
 15624  					iNdEx = postStringIndexmapkey
 15625  				} else if fieldNum == 2 {
 15626  					var stringLenmapvalue uint64
 15627  					for shift := uint(0); ; shift += 7 {
 15628  						if shift >= 64 {
 15629  							return ErrIntOverflowTypes
 15630  						}
 15631  						if iNdEx >= l {
 15632  							return io.ErrUnexpectedEOF
 15633  						}
 15634  						b := dAtA[iNdEx]
 15635  						iNdEx++
 15636  						stringLenmapvalue |= uint64(b&0x7F) << shift
 15637  						if b < 0x80 {
 15638  							break
 15639  						}
 15640  					}
 15641  					intStringLenmapvalue := int(stringLenmapvalue)
 15642  					if intStringLenmapvalue < 0 {
 15643  						return ErrInvalidLengthTypes
 15644  					}
 15645  					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
 15646  					if postStringIndexmapvalue < 0 {
 15647  						return ErrInvalidLengthTypes
 15648  					}
 15649  					if postStringIndexmapvalue > l {
 15650  						return io.ErrUnexpectedEOF
 15651  					}
 15652  					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
 15653  					iNdEx = postStringIndexmapvalue
 15654  				} else {
 15655  					iNdEx = entryPreIndex
 15656  					skippy, err := skipTypes(dAtA[iNdEx:])
 15657  					if err != nil {
 15658  						return err
 15659  					}
 15660  					if skippy < 0 {
 15661  						return ErrInvalidLengthTypes
 15662  					}
 15663  					if (iNdEx + skippy) > postIndex {
 15664  						return io.ErrUnexpectedEOF
 15665  					}
 15666  					iNdEx += skippy
 15667  				}
 15668  			}
 15669  			m.Reserved[mapkey] = mapvalue
 15670  			iNdEx = postIndex
 15671  		default:
 15672  			iNdEx = preIndex
 15673  			skippy, err := skipTypes(dAtA[iNdEx:])
 15674  			if err != nil {
 15675  				return err
 15676  			}
 15677  			if skippy < 0 {
 15678  				return ErrInvalidLengthTypes
 15679  			}
 15680  			if (iNdEx + skippy) < 0 {
 15681  				return ErrInvalidLengthTypes
 15682  			}
 15683  			if (iNdEx + skippy) > l {
 15684  				return io.ErrUnexpectedEOF
 15685  			}
 15686  			iNdEx += skippy
 15687  		}
 15688  	}
 15689  
 15690  	if iNdEx > l {
 15691  		return io.ErrUnexpectedEOF
 15692  	}
 15693  	return nil
 15694  }
 15695  func (m *PortConfig) Unmarshal(dAtA []byte) error {
 15696  	l := len(dAtA)
 15697  	iNdEx := 0
 15698  	for iNdEx < l {
 15699  		preIndex := iNdEx
 15700  		var wire uint64
 15701  		for shift := uint(0); ; shift += 7 {
 15702  			if shift >= 64 {
 15703  				return ErrIntOverflowTypes
 15704  			}
 15705  			if iNdEx >= l {
 15706  				return io.ErrUnexpectedEOF
 15707  			}
 15708  			b := dAtA[iNdEx]
 15709  			iNdEx++
 15710  			wire |= uint64(b&0x7F) << shift
 15711  			if b < 0x80 {
 15712  				break
 15713  			}
 15714  		}
 15715  		fieldNum := int32(wire >> 3)
 15716  		wireType := int(wire & 0x7)
 15717  		if wireType == 4 {
 15718  			return fmt.Errorf("proto: PortConfig: wiretype end group for non-group")
 15719  		}
 15720  		if fieldNum <= 0 {
 15721  			return fmt.Errorf("proto: PortConfig: illegal tag %d (wire type %d)", fieldNum, wire)
 15722  		}
 15723  		switch fieldNum {
 15724  		case 1:
 15725  			if wireType != 2 {
 15726  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 15727  			}
 15728  			var stringLen uint64
 15729  			for shift := uint(0); ; shift += 7 {
 15730  				if shift >= 64 {
 15731  					return ErrIntOverflowTypes
 15732  				}
 15733  				if iNdEx >= l {
 15734  					return io.ErrUnexpectedEOF
 15735  				}
 15736  				b := dAtA[iNdEx]
 15737  				iNdEx++
 15738  				stringLen |= uint64(b&0x7F) << shift
 15739  				if b < 0x80 {
 15740  					break
 15741  				}
 15742  			}
 15743  			intStringLen := int(stringLen)
 15744  			if intStringLen < 0 {
 15745  				return ErrInvalidLengthTypes
 15746  			}
 15747  			postIndex := iNdEx + intStringLen
 15748  			if postIndex < 0 {
 15749  				return ErrInvalidLengthTypes
 15750  			}
 15751  			if postIndex > l {
 15752  				return io.ErrUnexpectedEOF
 15753  			}
 15754  			m.Name = string(dAtA[iNdEx:postIndex])
 15755  			iNdEx = postIndex
 15756  		case 2:
 15757  			if wireType != 0 {
 15758  				return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
 15759  			}
 15760  			m.Protocol = 0
 15761  			for shift := uint(0); ; shift += 7 {
 15762  				if shift >= 64 {
 15763  					return ErrIntOverflowTypes
 15764  				}
 15765  				if iNdEx >= l {
 15766  					return io.ErrUnexpectedEOF
 15767  				}
 15768  				b := dAtA[iNdEx]
 15769  				iNdEx++
 15770  				m.Protocol |= PortConfig_Protocol(b&0x7F) << shift
 15771  				if b < 0x80 {
 15772  					break
 15773  				}
 15774  			}
 15775  		case 3:
 15776  			if wireType != 0 {
 15777  				return fmt.Errorf("proto: wrong wireType = %d for field TargetPort", wireType)
 15778  			}
 15779  			m.TargetPort = 0
 15780  			for shift := uint(0); ; shift += 7 {
 15781  				if shift >= 64 {
 15782  					return ErrIntOverflowTypes
 15783  				}
 15784  				if iNdEx >= l {
 15785  					return io.ErrUnexpectedEOF
 15786  				}
 15787  				b := dAtA[iNdEx]
 15788  				iNdEx++
 15789  				m.TargetPort |= uint32(b&0x7F) << shift
 15790  				if b < 0x80 {
 15791  					break
 15792  				}
 15793  			}
 15794  		case 4:
 15795  			if wireType != 0 {
 15796  				return fmt.Errorf("proto: wrong wireType = %d for field PublishedPort", wireType)
 15797  			}
 15798  			m.PublishedPort = 0
 15799  			for shift := uint(0); ; shift += 7 {
 15800  				if shift >= 64 {
 15801  					return ErrIntOverflowTypes
 15802  				}
 15803  				if iNdEx >= l {
 15804  					return io.ErrUnexpectedEOF
 15805  				}
 15806  				b := dAtA[iNdEx]
 15807  				iNdEx++
 15808  				m.PublishedPort |= uint32(b&0x7F) << shift
 15809  				if b < 0x80 {
 15810  					break
 15811  				}
 15812  			}
 15813  		case 5:
 15814  			if wireType != 0 {
 15815  				return fmt.Errorf("proto: wrong wireType = %d for field PublishMode", wireType)
 15816  			}
 15817  			m.PublishMode = 0
 15818  			for shift := uint(0); ; shift += 7 {
 15819  				if shift >= 64 {
 15820  					return ErrIntOverflowTypes
 15821  				}
 15822  				if iNdEx >= l {
 15823  					return io.ErrUnexpectedEOF
 15824  				}
 15825  				b := dAtA[iNdEx]
 15826  				iNdEx++
 15827  				m.PublishMode |= PortConfig_PublishMode(b&0x7F) << shift
 15828  				if b < 0x80 {
 15829  					break
 15830  				}
 15831  			}
 15832  		default:
 15833  			iNdEx = preIndex
 15834  			skippy, err := skipTypes(dAtA[iNdEx:])
 15835  			if err != nil {
 15836  				return err
 15837  			}
 15838  			if skippy < 0 {
 15839  				return ErrInvalidLengthTypes
 15840  			}
 15841  			if (iNdEx + skippy) < 0 {
 15842  				return ErrInvalidLengthTypes
 15843  			}
 15844  			if (iNdEx + skippy) > l {
 15845  				return io.ErrUnexpectedEOF
 15846  			}
 15847  			iNdEx += skippy
 15848  		}
 15849  	}
 15850  
 15851  	if iNdEx > l {
 15852  		return io.ErrUnexpectedEOF
 15853  	}
 15854  	return nil
 15855  }
 15856  func (m *Driver) Unmarshal(dAtA []byte) error {
 15857  	l := len(dAtA)
 15858  	iNdEx := 0
 15859  	for iNdEx < l {
 15860  		preIndex := iNdEx
 15861  		var wire uint64
 15862  		for shift := uint(0); ; shift += 7 {
 15863  			if shift >= 64 {
 15864  				return ErrIntOverflowTypes
 15865  			}
 15866  			if iNdEx >= l {
 15867  				return io.ErrUnexpectedEOF
 15868  			}
 15869  			b := dAtA[iNdEx]
 15870  			iNdEx++
 15871  			wire |= uint64(b&0x7F) << shift
 15872  			if b < 0x80 {
 15873  				break
 15874  			}
 15875  		}
 15876  		fieldNum := int32(wire >> 3)
 15877  		wireType := int(wire & 0x7)
 15878  		if wireType == 4 {
 15879  			return fmt.Errorf("proto: Driver: wiretype end group for non-group")
 15880  		}
 15881  		if fieldNum <= 0 {
 15882  			return fmt.Errorf("proto: Driver: illegal tag %d (wire type %d)", fieldNum, wire)
 15883  		}
 15884  		switch fieldNum {
 15885  		case 1:
 15886  			if wireType != 2 {
 15887  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 15888  			}
 15889  			var stringLen uint64
 15890  			for shift := uint(0); ; shift += 7 {
 15891  				if shift >= 64 {
 15892  					return ErrIntOverflowTypes
 15893  				}
 15894  				if iNdEx >= l {
 15895  					return io.ErrUnexpectedEOF
 15896  				}
 15897  				b := dAtA[iNdEx]
 15898  				iNdEx++
 15899  				stringLen |= uint64(b&0x7F) << shift
 15900  				if b < 0x80 {
 15901  					break
 15902  				}
 15903  			}
 15904  			intStringLen := int(stringLen)
 15905  			if intStringLen < 0 {
 15906  				return ErrInvalidLengthTypes
 15907  			}
 15908  			postIndex := iNdEx + intStringLen
 15909  			if postIndex < 0 {
 15910  				return ErrInvalidLengthTypes
 15911  			}
 15912  			if postIndex > l {
 15913  				return io.ErrUnexpectedEOF
 15914  			}
 15915  			m.Name = string(dAtA[iNdEx:postIndex])
 15916  			iNdEx = postIndex
 15917  		case 2:
 15918  			if wireType != 2 {
 15919  				return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
 15920  			}
 15921  			var msglen int
 15922  			for shift := uint(0); ; shift += 7 {
 15923  				if shift >= 64 {
 15924  					return ErrIntOverflowTypes
 15925  				}
 15926  				if iNdEx >= l {
 15927  					return io.ErrUnexpectedEOF
 15928  				}
 15929  				b := dAtA[iNdEx]
 15930  				iNdEx++
 15931  				msglen |= int(b&0x7F) << shift
 15932  				if b < 0x80 {
 15933  					break
 15934  				}
 15935  			}
 15936  			if msglen < 0 {
 15937  				return ErrInvalidLengthTypes
 15938  			}
 15939  			postIndex := iNdEx + msglen
 15940  			if postIndex < 0 {
 15941  				return ErrInvalidLengthTypes
 15942  			}
 15943  			if postIndex > l {
 15944  				return io.ErrUnexpectedEOF
 15945  			}
 15946  			if m.Options == nil {
 15947  				m.Options = make(map[string]string)
 15948  			}
 15949  			var mapkey string
 15950  			var mapvalue string
 15951  			for iNdEx < postIndex {
 15952  				entryPreIndex := iNdEx
 15953  				var wire uint64
 15954  				for shift := uint(0); ; shift += 7 {
 15955  					if shift >= 64 {
 15956  						return ErrIntOverflowTypes
 15957  					}
 15958  					if iNdEx >= l {
 15959  						return io.ErrUnexpectedEOF
 15960  					}
 15961  					b := dAtA[iNdEx]
 15962  					iNdEx++
 15963  					wire |= uint64(b&0x7F) << shift
 15964  					if b < 0x80 {
 15965  						break
 15966  					}
 15967  				}
 15968  				fieldNum := int32(wire >> 3)
 15969  				if fieldNum == 1 {
 15970  					var stringLenmapkey uint64
 15971  					for shift := uint(0); ; shift += 7 {
 15972  						if shift >= 64 {
 15973  							return ErrIntOverflowTypes
 15974  						}
 15975  						if iNdEx >= l {
 15976  							return io.ErrUnexpectedEOF
 15977  						}
 15978  						b := dAtA[iNdEx]
 15979  						iNdEx++
 15980  						stringLenmapkey |= uint64(b&0x7F) << shift
 15981  						if b < 0x80 {
 15982  							break
 15983  						}
 15984  					}
 15985  					intStringLenmapkey := int(stringLenmapkey)
 15986  					if intStringLenmapkey < 0 {
 15987  						return ErrInvalidLengthTypes
 15988  					}
 15989  					postStringIndexmapkey := iNdEx + intStringLenmapkey
 15990  					if postStringIndexmapkey < 0 {
 15991  						return ErrInvalidLengthTypes
 15992  					}
 15993  					if postStringIndexmapkey > l {
 15994  						return io.ErrUnexpectedEOF
 15995  					}
 15996  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
 15997  					iNdEx = postStringIndexmapkey
 15998  				} else if fieldNum == 2 {
 15999  					var stringLenmapvalue uint64
 16000  					for shift := uint(0); ; shift += 7 {
 16001  						if shift >= 64 {
 16002  							return ErrIntOverflowTypes
 16003  						}
 16004  						if iNdEx >= l {
 16005  							return io.ErrUnexpectedEOF
 16006  						}
 16007  						b := dAtA[iNdEx]
 16008  						iNdEx++
 16009  						stringLenmapvalue |= uint64(b&0x7F) << shift
 16010  						if b < 0x80 {
 16011  							break
 16012  						}
 16013  					}
 16014  					intStringLenmapvalue := int(stringLenmapvalue)
 16015  					if intStringLenmapvalue < 0 {
 16016  						return ErrInvalidLengthTypes
 16017  					}
 16018  					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
 16019  					if postStringIndexmapvalue < 0 {
 16020  						return ErrInvalidLengthTypes
 16021  					}
 16022  					if postStringIndexmapvalue > l {
 16023  						return io.ErrUnexpectedEOF
 16024  					}
 16025  					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
 16026  					iNdEx = postStringIndexmapvalue
 16027  				} else {
 16028  					iNdEx = entryPreIndex
 16029  					skippy, err := skipTypes(dAtA[iNdEx:])
 16030  					if err != nil {
 16031  						return err
 16032  					}
 16033  					if skippy < 0 {
 16034  						return ErrInvalidLengthTypes
 16035  					}
 16036  					if (iNdEx + skippy) > postIndex {
 16037  						return io.ErrUnexpectedEOF
 16038  					}
 16039  					iNdEx += skippy
 16040  				}
 16041  			}
 16042  			m.Options[mapkey] = mapvalue
 16043  			iNdEx = postIndex
 16044  		default:
 16045  			iNdEx = preIndex
 16046  			skippy, err := skipTypes(dAtA[iNdEx:])
 16047  			if err != nil {
 16048  				return err
 16049  			}
 16050  			if skippy < 0 {
 16051  				return ErrInvalidLengthTypes
 16052  			}
 16053  			if (iNdEx + skippy) < 0 {
 16054  				return ErrInvalidLengthTypes
 16055  			}
 16056  			if (iNdEx + skippy) > l {
 16057  				return io.ErrUnexpectedEOF
 16058  			}
 16059  			iNdEx += skippy
 16060  		}
 16061  	}
 16062  
 16063  	if iNdEx > l {
 16064  		return io.ErrUnexpectedEOF
 16065  	}
 16066  	return nil
 16067  }
 16068  func (m *IPAMOptions) Unmarshal(dAtA []byte) error {
 16069  	l := len(dAtA)
 16070  	iNdEx := 0
 16071  	for iNdEx < l {
 16072  		preIndex := iNdEx
 16073  		var wire uint64
 16074  		for shift := uint(0); ; shift += 7 {
 16075  			if shift >= 64 {
 16076  				return ErrIntOverflowTypes
 16077  			}
 16078  			if iNdEx >= l {
 16079  				return io.ErrUnexpectedEOF
 16080  			}
 16081  			b := dAtA[iNdEx]
 16082  			iNdEx++
 16083  			wire |= uint64(b&0x7F) << shift
 16084  			if b < 0x80 {
 16085  				break
 16086  			}
 16087  		}
 16088  		fieldNum := int32(wire >> 3)
 16089  		wireType := int(wire & 0x7)
 16090  		if wireType == 4 {
 16091  			return fmt.Errorf("proto: IPAMOptions: wiretype end group for non-group")
 16092  		}
 16093  		if fieldNum <= 0 {
 16094  			return fmt.Errorf("proto: IPAMOptions: illegal tag %d (wire type %d)", fieldNum, wire)
 16095  		}
 16096  		switch fieldNum {
 16097  		case 1:
 16098  			if wireType != 2 {
 16099  				return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
 16100  			}
 16101  			var msglen int
 16102  			for shift := uint(0); ; shift += 7 {
 16103  				if shift >= 64 {
 16104  					return ErrIntOverflowTypes
 16105  				}
 16106  				if iNdEx >= l {
 16107  					return io.ErrUnexpectedEOF
 16108  				}
 16109  				b := dAtA[iNdEx]
 16110  				iNdEx++
 16111  				msglen |= int(b&0x7F) << shift
 16112  				if b < 0x80 {
 16113  					break
 16114  				}
 16115  			}
 16116  			if msglen < 0 {
 16117  				return ErrInvalidLengthTypes
 16118  			}
 16119  			postIndex := iNdEx + msglen
 16120  			if postIndex < 0 {
 16121  				return ErrInvalidLengthTypes
 16122  			}
 16123  			if postIndex > l {
 16124  				return io.ErrUnexpectedEOF
 16125  			}
 16126  			if m.Driver == nil {
 16127  				m.Driver = &Driver{}
 16128  			}
 16129  			if err := m.Driver.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16130  				return err
 16131  			}
 16132  			iNdEx = postIndex
 16133  		case 3:
 16134  			if wireType != 2 {
 16135  				return fmt.Errorf("proto: wrong wireType = %d for field Configs", wireType)
 16136  			}
 16137  			var msglen int
 16138  			for shift := uint(0); ; shift += 7 {
 16139  				if shift >= 64 {
 16140  					return ErrIntOverflowTypes
 16141  				}
 16142  				if iNdEx >= l {
 16143  					return io.ErrUnexpectedEOF
 16144  				}
 16145  				b := dAtA[iNdEx]
 16146  				iNdEx++
 16147  				msglen |= int(b&0x7F) << shift
 16148  				if b < 0x80 {
 16149  					break
 16150  				}
 16151  			}
 16152  			if msglen < 0 {
 16153  				return ErrInvalidLengthTypes
 16154  			}
 16155  			postIndex := iNdEx + msglen
 16156  			if postIndex < 0 {
 16157  				return ErrInvalidLengthTypes
 16158  			}
 16159  			if postIndex > l {
 16160  				return io.ErrUnexpectedEOF
 16161  			}
 16162  			m.Configs = append(m.Configs, &IPAMConfig{})
 16163  			if err := m.Configs[len(m.Configs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16164  				return err
 16165  			}
 16166  			iNdEx = postIndex
 16167  		default:
 16168  			iNdEx = preIndex
 16169  			skippy, err := skipTypes(dAtA[iNdEx:])
 16170  			if err != nil {
 16171  				return err
 16172  			}
 16173  			if skippy < 0 {
 16174  				return ErrInvalidLengthTypes
 16175  			}
 16176  			if (iNdEx + skippy) < 0 {
 16177  				return ErrInvalidLengthTypes
 16178  			}
 16179  			if (iNdEx + skippy) > l {
 16180  				return io.ErrUnexpectedEOF
 16181  			}
 16182  			iNdEx += skippy
 16183  		}
 16184  	}
 16185  
 16186  	if iNdEx > l {
 16187  		return io.ErrUnexpectedEOF
 16188  	}
 16189  	return nil
 16190  }
 16191  func (m *Peer) Unmarshal(dAtA []byte) error {
 16192  	l := len(dAtA)
 16193  	iNdEx := 0
 16194  	for iNdEx < l {
 16195  		preIndex := iNdEx
 16196  		var wire uint64
 16197  		for shift := uint(0); ; shift += 7 {
 16198  			if shift >= 64 {
 16199  				return ErrIntOverflowTypes
 16200  			}
 16201  			if iNdEx >= l {
 16202  				return io.ErrUnexpectedEOF
 16203  			}
 16204  			b := dAtA[iNdEx]
 16205  			iNdEx++
 16206  			wire |= uint64(b&0x7F) << shift
 16207  			if b < 0x80 {
 16208  				break
 16209  			}
 16210  		}
 16211  		fieldNum := int32(wire >> 3)
 16212  		wireType := int(wire & 0x7)
 16213  		if wireType == 4 {
 16214  			return fmt.Errorf("proto: Peer: wiretype end group for non-group")
 16215  		}
 16216  		if fieldNum <= 0 {
 16217  			return fmt.Errorf("proto: Peer: illegal tag %d (wire type %d)", fieldNum, wire)
 16218  		}
 16219  		switch fieldNum {
 16220  		case 1:
 16221  			if wireType != 2 {
 16222  				return fmt.Errorf("proto: wrong wireType = %d for field NodeID", wireType)
 16223  			}
 16224  			var stringLen uint64
 16225  			for shift := uint(0); ; shift += 7 {
 16226  				if shift >= 64 {
 16227  					return ErrIntOverflowTypes
 16228  				}
 16229  				if iNdEx >= l {
 16230  					return io.ErrUnexpectedEOF
 16231  				}
 16232  				b := dAtA[iNdEx]
 16233  				iNdEx++
 16234  				stringLen |= uint64(b&0x7F) << shift
 16235  				if b < 0x80 {
 16236  					break
 16237  				}
 16238  			}
 16239  			intStringLen := int(stringLen)
 16240  			if intStringLen < 0 {
 16241  				return ErrInvalidLengthTypes
 16242  			}
 16243  			postIndex := iNdEx + intStringLen
 16244  			if postIndex < 0 {
 16245  				return ErrInvalidLengthTypes
 16246  			}
 16247  			if postIndex > l {
 16248  				return io.ErrUnexpectedEOF
 16249  			}
 16250  			m.NodeID = string(dAtA[iNdEx:postIndex])
 16251  			iNdEx = postIndex
 16252  		case 2:
 16253  			if wireType != 2 {
 16254  				return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType)
 16255  			}
 16256  			var stringLen uint64
 16257  			for shift := uint(0); ; shift += 7 {
 16258  				if shift >= 64 {
 16259  					return ErrIntOverflowTypes
 16260  				}
 16261  				if iNdEx >= l {
 16262  					return io.ErrUnexpectedEOF
 16263  				}
 16264  				b := dAtA[iNdEx]
 16265  				iNdEx++
 16266  				stringLen |= uint64(b&0x7F) << shift
 16267  				if b < 0x80 {
 16268  					break
 16269  				}
 16270  			}
 16271  			intStringLen := int(stringLen)
 16272  			if intStringLen < 0 {
 16273  				return ErrInvalidLengthTypes
 16274  			}
 16275  			postIndex := iNdEx + intStringLen
 16276  			if postIndex < 0 {
 16277  				return ErrInvalidLengthTypes
 16278  			}
 16279  			if postIndex > l {
 16280  				return io.ErrUnexpectedEOF
 16281  			}
 16282  			m.Addr = string(dAtA[iNdEx:postIndex])
 16283  			iNdEx = postIndex
 16284  		default:
 16285  			iNdEx = preIndex
 16286  			skippy, err := skipTypes(dAtA[iNdEx:])
 16287  			if err != nil {
 16288  				return err
 16289  			}
 16290  			if skippy < 0 {
 16291  				return ErrInvalidLengthTypes
 16292  			}
 16293  			if (iNdEx + skippy) < 0 {
 16294  				return ErrInvalidLengthTypes
 16295  			}
 16296  			if (iNdEx + skippy) > l {
 16297  				return io.ErrUnexpectedEOF
 16298  			}
 16299  			iNdEx += skippy
 16300  		}
 16301  	}
 16302  
 16303  	if iNdEx > l {
 16304  		return io.ErrUnexpectedEOF
 16305  	}
 16306  	return nil
 16307  }
 16308  func (m *WeightedPeer) Unmarshal(dAtA []byte) error {
 16309  	l := len(dAtA)
 16310  	iNdEx := 0
 16311  	for iNdEx < l {
 16312  		preIndex := iNdEx
 16313  		var wire uint64
 16314  		for shift := uint(0); ; shift += 7 {
 16315  			if shift >= 64 {
 16316  				return ErrIntOverflowTypes
 16317  			}
 16318  			if iNdEx >= l {
 16319  				return io.ErrUnexpectedEOF
 16320  			}
 16321  			b := dAtA[iNdEx]
 16322  			iNdEx++
 16323  			wire |= uint64(b&0x7F) << shift
 16324  			if b < 0x80 {
 16325  				break
 16326  			}
 16327  		}
 16328  		fieldNum := int32(wire >> 3)
 16329  		wireType := int(wire & 0x7)
 16330  		if wireType == 4 {
 16331  			return fmt.Errorf("proto: WeightedPeer: wiretype end group for non-group")
 16332  		}
 16333  		if fieldNum <= 0 {
 16334  			return fmt.Errorf("proto: WeightedPeer: illegal tag %d (wire type %d)", fieldNum, wire)
 16335  		}
 16336  		switch fieldNum {
 16337  		case 1:
 16338  			if wireType != 2 {
 16339  				return fmt.Errorf("proto: wrong wireType = %d for field Peer", wireType)
 16340  			}
 16341  			var msglen int
 16342  			for shift := uint(0); ; shift += 7 {
 16343  				if shift >= 64 {
 16344  					return ErrIntOverflowTypes
 16345  				}
 16346  				if iNdEx >= l {
 16347  					return io.ErrUnexpectedEOF
 16348  				}
 16349  				b := dAtA[iNdEx]
 16350  				iNdEx++
 16351  				msglen |= int(b&0x7F) << shift
 16352  				if b < 0x80 {
 16353  					break
 16354  				}
 16355  			}
 16356  			if msglen < 0 {
 16357  				return ErrInvalidLengthTypes
 16358  			}
 16359  			postIndex := iNdEx + msglen
 16360  			if postIndex < 0 {
 16361  				return ErrInvalidLengthTypes
 16362  			}
 16363  			if postIndex > l {
 16364  				return io.ErrUnexpectedEOF
 16365  			}
 16366  			if m.Peer == nil {
 16367  				m.Peer = &Peer{}
 16368  			}
 16369  			if err := m.Peer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16370  				return err
 16371  			}
 16372  			iNdEx = postIndex
 16373  		case 2:
 16374  			if wireType != 0 {
 16375  				return fmt.Errorf("proto: wrong wireType = %d for field Weight", wireType)
 16376  			}
 16377  			m.Weight = 0
 16378  			for shift := uint(0); ; shift += 7 {
 16379  				if shift >= 64 {
 16380  					return ErrIntOverflowTypes
 16381  				}
 16382  				if iNdEx >= l {
 16383  					return io.ErrUnexpectedEOF
 16384  				}
 16385  				b := dAtA[iNdEx]
 16386  				iNdEx++
 16387  				m.Weight |= int64(b&0x7F) << shift
 16388  				if b < 0x80 {
 16389  					break
 16390  				}
 16391  			}
 16392  		default:
 16393  			iNdEx = preIndex
 16394  			skippy, err := skipTypes(dAtA[iNdEx:])
 16395  			if err != nil {
 16396  				return err
 16397  			}
 16398  			if skippy < 0 {
 16399  				return ErrInvalidLengthTypes
 16400  			}
 16401  			if (iNdEx + skippy) < 0 {
 16402  				return ErrInvalidLengthTypes
 16403  			}
 16404  			if (iNdEx + skippy) > l {
 16405  				return io.ErrUnexpectedEOF
 16406  			}
 16407  			iNdEx += skippy
 16408  		}
 16409  	}
 16410  
 16411  	if iNdEx > l {
 16412  		return io.ErrUnexpectedEOF
 16413  	}
 16414  	return nil
 16415  }
 16416  func (m *IssuanceStatus) Unmarshal(dAtA []byte) error {
 16417  	l := len(dAtA)
 16418  	iNdEx := 0
 16419  	for iNdEx < l {
 16420  		preIndex := iNdEx
 16421  		var wire uint64
 16422  		for shift := uint(0); ; shift += 7 {
 16423  			if shift >= 64 {
 16424  				return ErrIntOverflowTypes
 16425  			}
 16426  			if iNdEx >= l {
 16427  				return io.ErrUnexpectedEOF
 16428  			}
 16429  			b := dAtA[iNdEx]
 16430  			iNdEx++
 16431  			wire |= uint64(b&0x7F) << shift
 16432  			if b < 0x80 {
 16433  				break
 16434  			}
 16435  		}
 16436  		fieldNum := int32(wire >> 3)
 16437  		wireType := int(wire & 0x7)
 16438  		if wireType == 4 {
 16439  			return fmt.Errorf("proto: IssuanceStatus: wiretype end group for non-group")
 16440  		}
 16441  		if fieldNum <= 0 {
 16442  			return fmt.Errorf("proto: IssuanceStatus: illegal tag %d (wire type %d)", fieldNum, wire)
 16443  		}
 16444  		switch fieldNum {
 16445  		case 1:
 16446  			if wireType != 0 {
 16447  				return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
 16448  			}
 16449  			m.State = 0
 16450  			for shift := uint(0); ; shift += 7 {
 16451  				if shift >= 64 {
 16452  					return ErrIntOverflowTypes
 16453  				}
 16454  				if iNdEx >= l {
 16455  					return io.ErrUnexpectedEOF
 16456  				}
 16457  				b := dAtA[iNdEx]
 16458  				iNdEx++
 16459  				m.State |= IssuanceStatus_State(b&0x7F) << shift
 16460  				if b < 0x80 {
 16461  					break
 16462  				}
 16463  			}
 16464  		case 2:
 16465  			if wireType != 2 {
 16466  				return fmt.Errorf("proto: wrong wireType = %d for field Err", wireType)
 16467  			}
 16468  			var stringLen uint64
 16469  			for shift := uint(0); ; shift += 7 {
 16470  				if shift >= 64 {
 16471  					return ErrIntOverflowTypes
 16472  				}
 16473  				if iNdEx >= l {
 16474  					return io.ErrUnexpectedEOF
 16475  				}
 16476  				b := dAtA[iNdEx]
 16477  				iNdEx++
 16478  				stringLen |= uint64(b&0x7F) << shift
 16479  				if b < 0x80 {
 16480  					break
 16481  				}
 16482  			}
 16483  			intStringLen := int(stringLen)
 16484  			if intStringLen < 0 {
 16485  				return ErrInvalidLengthTypes
 16486  			}
 16487  			postIndex := iNdEx + intStringLen
 16488  			if postIndex < 0 {
 16489  				return ErrInvalidLengthTypes
 16490  			}
 16491  			if postIndex > l {
 16492  				return io.ErrUnexpectedEOF
 16493  			}
 16494  			m.Err = string(dAtA[iNdEx:postIndex])
 16495  			iNdEx = postIndex
 16496  		default:
 16497  			iNdEx = preIndex
 16498  			skippy, err := skipTypes(dAtA[iNdEx:])
 16499  			if err != nil {
 16500  				return err
 16501  			}
 16502  			if skippy < 0 {
 16503  				return ErrInvalidLengthTypes
 16504  			}
 16505  			if (iNdEx + skippy) < 0 {
 16506  				return ErrInvalidLengthTypes
 16507  			}
 16508  			if (iNdEx + skippy) > l {
 16509  				return io.ErrUnexpectedEOF
 16510  			}
 16511  			iNdEx += skippy
 16512  		}
 16513  	}
 16514  
 16515  	if iNdEx > l {
 16516  		return io.ErrUnexpectedEOF
 16517  	}
 16518  	return nil
 16519  }
 16520  func (m *AcceptancePolicy) Unmarshal(dAtA []byte) error {
 16521  	l := len(dAtA)
 16522  	iNdEx := 0
 16523  	for iNdEx < l {
 16524  		preIndex := iNdEx
 16525  		var wire uint64
 16526  		for shift := uint(0); ; shift += 7 {
 16527  			if shift >= 64 {
 16528  				return ErrIntOverflowTypes
 16529  			}
 16530  			if iNdEx >= l {
 16531  				return io.ErrUnexpectedEOF
 16532  			}
 16533  			b := dAtA[iNdEx]
 16534  			iNdEx++
 16535  			wire |= uint64(b&0x7F) << shift
 16536  			if b < 0x80 {
 16537  				break
 16538  			}
 16539  		}
 16540  		fieldNum := int32(wire >> 3)
 16541  		wireType := int(wire & 0x7)
 16542  		if wireType == 4 {
 16543  			return fmt.Errorf("proto: AcceptancePolicy: wiretype end group for non-group")
 16544  		}
 16545  		if fieldNum <= 0 {
 16546  			return fmt.Errorf("proto: AcceptancePolicy: illegal tag %d (wire type %d)", fieldNum, wire)
 16547  		}
 16548  		switch fieldNum {
 16549  		case 1:
 16550  			if wireType != 2 {
 16551  				return fmt.Errorf("proto: wrong wireType = %d for field Policies", wireType)
 16552  			}
 16553  			var msglen int
 16554  			for shift := uint(0); ; shift += 7 {
 16555  				if shift >= 64 {
 16556  					return ErrIntOverflowTypes
 16557  				}
 16558  				if iNdEx >= l {
 16559  					return io.ErrUnexpectedEOF
 16560  				}
 16561  				b := dAtA[iNdEx]
 16562  				iNdEx++
 16563  				msglen |= int(b&0x7F) << shift
 16564  				if b < 0x80 {
 16565  					break
 16566  				}
 16567  			}
 16568  			if msglen < 0 {
 16569  				return ErrInvalidLengthTypes
 16570  			}
 16571  			postIndex := iNdEx + msglen
 16572  			if postIndex < 0 {
 16573  				return ErrInvalidLengthTypes
 16574  			}
 16575  			if postIndex > l {
 16576  				return io.ErrUnexpectedEOF
 16577  			}
 16578  			m.Policies = append(m.Policies, &AcceptancePolicy_RoleAdmissionPolicy{})
 16579  			if err := m.Policies[len(m.Policies)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16580  				return err
 16581  			}
 16582  			iNdEx = postIndex
 16583  		default:
 16584  			iNdEx = preIndex
 16585  			skippy, err := skipTypes(dAtA[iNdEx:])
 16586  			if err != nil {
 16587  				return err
 16588  			}
 16589  			if skippy < 0 {
 16590  				return ErrInvalidLengthTypes
 16591  			}
 16592  			if (iNdEx + skippy) < 0 {
 16593  				return ErrInvalidLengthTypes
 16594  			}
 16595  			if (iNdEx + skippy) > l {
 16596  				return io.ErrUnexpectedEOF
 16597  			}
 16598  			iNdEx += skippy
 16599  		}
 16600  	}
 16601  
 16602  	if iNdEx > l {
 16603  		return io.ErrUnexpectedEOF
 16604  	}
 16605  	return nil
 16606  }
 16607  func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error {
 16608  	l := len(dAtA)
 16609  	iNdEx := 0
 16610  	for iNdEx < l {
 16611  		preIndex := iNdEx
 16612  		var wire uint64
 16613  		for shift := uint(0); ; shift += 7 {
 16614  			if shift >= 64 {
 16615  				return ErrIntOverflowTypes
 16616  			}
 16617  			if iNdEx >= l {
 16618  				return io.ErrUnexpectedEOF
 16619  			}
 16620  			b := dAtA[iNdEx]
 16621  			iNdEx++
 16622  			wire |= uint64(b&0x7F) << shift
 16623  			if b < 0x80 {
 16624  				break
 16625  			}
 16626  		}
 16627  		fieldNum := int32(wire >> 3)
 16628  		wireType := int(wire & 0x7)
 16629  		if wireType == 4 {
 16630  			return fmt.Errorf("proto: RoleAdmissionPolicy: wiretype end group for non-group")
 16631  		}
 16632  		if fieldNum <= 0 {
 16633  			return fmt.Errorf("proto: RoleAdmissionPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
 16634  		}
 16635  		switch fieldNum {
 16636  		case 1:
 16637  			if wireType != 0 {
 16638  				return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
 16639  			}
 16640  			m.Role = 0
 16641  			for shift := uint(0); ; shift += 7 {
 16642  				if shift >= 64 {
 16643  					return ErrIntOverflowTypes
 16644  				}
 16645  				if iNdEx >= l {
 16646  					return io.ErrUnexpectedEOF
 16647  				}
 16648  				b := dAtA[iNdEx]
 16649  				iNdEx++
 16650  				m.Role |= NodeRole(b&0x7F) << shift
 16651  				if b < 0x80 {
 16652  					break
 16653  				}
 16654  			}
 16655  		case 2:
 16656  			if wireType != 0 {
 16657  				return fmt.Errorf("proto: wrong wireType = %d for field Autoaccept", wireType)
 16658  			}
 16659  			var v int
 16660  			for shift := uint(0); ; shift += 7 {
 16661  				if shift >= 64 {
 16662  					return ErrIntOverflowTypes
 16663  				}
 16664  				if iNdEx >= l {
 16665  					return io.ErrUnexpectedEOF
 16666  				}
 16667  				b := dAtA[iNdEx]
 16668  				iNdEx++
 16669  				v |= int(b&0x7F) << shift
 16670  				if b < 0x80 {
 16671  					break
 16672  				}
 16673  			}
 16674  			m.Autoaccept = bool(v != 0)
 16675  		case 3:
 16676  			if wireType != 2 {
 16677  				return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType)
 16678  			}
 16679  			var msglen int
 16680  			for shift := uint(0); ; shift += 7 {
 16681  				if shift >= 64 {
 16682  					return ErrIntOverflowTypes
 16683  				}
 16684  				if iNdEx >= l {
 16685  					return io.ErrUnexpectedEOF
 16686  				}
 16687  				b := dAtA[iNdEx]
 16688  				iNdEx++
 16689  				msglen |= int(b&0x7F) << shift
 16690  				if b < 0x80 {
 16691  					break
 16692  				}
 16693  			}
 16694  			if msglen < 0 {
 16695  				return ErrInvalidLengthTypes
 16696  			}
 16697  			postIndex := iNdEx + msglen
 16698  			if postIndex < 0 {
 16699  				return ErrInvalidLengthTypes
 16700  			}
 16701  			if postIndex > l {
 16702  				return io.ErrUnexpectedEOF
 16703  			}
 16704  			if m.Secret == nil {
 16705  				m.Secret = &AcceptancePolicy_RoleAdmissionPolicy_Secret{}
 16706  			}
 16707  			if err := m.Secret.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16708  				return err
 16709  			}
 16710  			iNdEx = postIndex
 16711  		default:
 16712  			iNdEx = preIndex
 16713  			skippy, err := skipTypes(dAtA[iNdEx:])
 16714  			if err != nil {
 16715  				return err
 16716  			}
 16717  			if skippy < 0 {
 16718  				return ErrInvalidLengthTypes
 16719  			}
 16720  			if (iNdEx + skippy) < 0 {
 16721  				return ErrInvalidLengthTypes
 16722  			}
 16723  			if (iNdEx + skippy) > l {
 16724  				return io.ErrUnexpectedEOF
 16725  			}
 16726  			iNdEx += skippy
 16727  		}
 16728  	}
 16729  
 16730  	if iNdEx > l {
 16731  		return io.ErrUnexpectedEOF
 16732  	}
 16733  	return nil
 16734  }
 16735  func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) error {
 16736  	l := len(dAtA)
 16737  	iNdEx := 0
 16738  	for iNdEx < l {
 16739  		preIndex := iNdEx
 16740  		var wire uint64
 16741  		for shift := uint(0); ; shift += 7 {
 16742  			if shift >= 64 {
 16743  				return ErrIntOverflowTypes
 16744  			}
 16745  			if iNdEx >= l {
 16746  				return io.ErrUnexpectedEOF
 16747  			}
 16748  			b := dAtA[iNdEx]
 16749  			iNdEx++
 16750  			wire |= uint64(b&0x7F) << shift
 16751  			if b < 0x80 {
 16752  				break
 16753  			}
 16754  		}
 16755  		fieldNum := int32(wire >> 3)
 16756  		wireType := int(wire & 0x7)
 16757  		if wireType == 4 {
 16758  			return fmt.Errorf("proto: Secret: wiretype end group for non-group")
 16759  		}
 16760  		if fieldNum <= 0 {
 16761  			return fmt.Errorf("proto: Secret: illegal tag %d (wire type %d)", fieldNum, wire)
 16762  		}
 16763  		switch fieldNum {
 16764  		case 1:
 16765  			if wireType != 2 {
 16766  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 16767  			}
 16768  			var byteLen int
 16769  			for shift := uint(0); ; shift += 7 {
 16770  				if shift >= 64 {
 16771  					return ErrIntOverflowTypes
 16772  				}
 16773  				if iNdEx >= l {
 16774  					return io.ErrUnexpectedEOF
 16775  				}
 16776  				b := dAtA[iNdEx]
 16777  				iNdEx++
 16778  				byteLen |= int(b&0x7F) << shift
 16779  				if b < 0x80 {
 16780  					break
 16781  				}
 16782  			}
 16783  			if byteLen < 0 {
 16784  				return ErrInvalidLengthTypes
 16785  			}
 16786  			postIndex := iNdEx + byteLen
 16787  			if postIndex < 0 {
 16788  				return ErrInvalidLengthTypes
 16789  			}
 16790  			if postIndex > l {
 16791  				return io.ErrUnexpectedEOF
 16792  			}
 16793  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
 16794  			if m.Data == nil {
 16795  				m.Data = []byte{}
 16796  			}
 16797  			iNdEx = postIndex
 16798  		case 2:
 16799  			if wireType != 2 {
 16800  				return fmt.Errorf("proto: wrong wireType = %d for field Alg", wireType)
 16801  			}
 16802  			var stringLen uint64
 16803  			for shift := uint(0); ; shift += 7 {
 16804  				if shift >= 64 {
 16805  					return ErrIntOverflowTypes
 16806  				}
 16807  				if iNdEx >= l {
 16808  					return io.ErrUnexpectedEOF
 16809  				}
 16810  				b := dAtA[iNdEx]
 16811  				iNdEx++
 16812  				stringLen |= uint64(b&0x7F) << shift
 16813  				if b < 0x80 {
 16814  					break
 16815  				}
 16816  			}
 16817  			intStringLen := int(stringLen)
 16818  			if intStringLen < 0 {
 16819  				return ErrInvalidLengthTypes
 16820  			}
 16821  			postIndex := iNdEx + intStringLen
 16822  			if postIndex < 0 {
 16823  				return ErrInvalidLengthTypes
 16824  			}
 16825  			if postIndex > l {
 16826  				return io.ErrUnexpectedEOF
 16827  			}
 16828  			m.Alg = string(dAtA[iNdEx:postIndex])
 16829  			iNdEx = postIndex
 16830  		default:
 16831  			iNdEx = preIndex
 16832  			skippy, err := skipTypes(dAtA[iNdEx:])
 16833  			if err != nil {
 16834  				return err
 16835  			}
 16836  			if skippy < 0 {
 16837  				return ErrInvalidLengthTypes
 16838  			}
 16839  			if (iNdEx + skippy) < 0 {
 16840  				return ErrInvalidLengthTypes
 16841  			}
 16842  			if (iNdEx + skippy) > l {
 16843  				return io.ErrUnexpectedEOF
 16844  			}
 16845  			iNdEx += skippy
 16846  		}
 16847  	}
 16848  
 16849  	if iNdEx > l {
 16850  		return io.ErrUnexpectedEOF
 16851  	}
 16852  	return nil
 16853  }
 16854  func (m *ExternalCA) Unmarshal(dAtA []byte) error {
 16855  	l := len(dAtA)
 16856  	iNdEx := 0
 16857  	for iNdEx < l {
 16858  		preIndex := iNdEx
 16859  		var wire uint64
 16860  		for shift := uint(0); ; shift += 7 {
 16861  			if shift >= 64 {
 16862  				return ErrIntOverflowTypes
 16863  			}
 16864  			if iNdEx >= l {
 16865  				return io.ErrUnexpectedEOF
 16866  			}
 16867  			b := dAtA[iNdEx]
 16868  			iNdEx++
 16869  			wire |= uint64(b&0x7F) << shift
 16870  			if b < 0x80 {
 16871  				break
 16872  			}
 16873  		}
 16874  		fieldNum := int32(wire >> 3)
 16875  		wireType := int(wire & 0x7)
 16876  		if wireType == 4 {
 16877  			return fmt.Errorf("proto: ExternalCA: wiretype end group for non-group")
 16878  		}
 16879  		if fieldNum <= 0 {
 16880  			return fmt.Errorf("proto: ExternalCA: illegal tag %d (wire type %d)", fieldNum, wire)
 16881  		}
 16882  		switch fieldNum {
 16883  		case 1:
 16884  			if wireType != 0 {
 16885  				return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
 16886  			}
 16887  			m.Protocol = 0
 16888  			for shift := uint(0); ; shift += 7 {
 16889  				if shift >= 64 {
 16890  					return ErrIntOverflowTypes
 16891  				}
 16892  				if iNdEx >= l {
 16893  					return io.ErrUnexpectedEOF
 16894  				}
 16895  				b := dAtA[iNdEx]
 16896  				iNdEx++
 16897  				m.Protocol |= ExternalCA_CAProtocol(b&0x7F) << shift
 16898  				if b < 0x80 {
 16899  					break
 16900  				}
 16901  			}
 16902  		case 2:
 16903  			if wireType != 2 {
 16904  				return fmt.Errorf("proto: wrong wireType = %d for field URL", wireType)
 16905  			}
 16906  			var stringLen uint64
 16907  			for shift := uint(0); ; shift += 7 {
 16908  				if shift >= 64 {
 16909  					return ErrIntOverflowTypes
 16910  				}
 16911  				if iNdEx >= l {
 16912  					return io.ErrUnexpectedEOF
 16913  				}
 16914  				b := dAtA[iNdEx]
 16915  				iNdEx++
 16916  				stringLen |= uint64(b&0x7F) << shift
 16917  				if b < 0x80 {
 16918  					break
 16919  				}
 16920  			}
 16921  			intStringLen := int(stringLen)
 16922  			if intStringLen < 0 {
 16923  				return ErrInvalidLengthTypes
 16924  			}
 16925  			postIndex := iNdEx + intStringLen
 16926  			if postIndex < 0 {
 16927  				return ErrInvalidLengthTypes
 16928  			}
 16929  			if postIndex > l {
 16930  				return io.ErrUnexpectedEOF
 16931  			}
 16932  			m.URL = string(dAtA[iNdEx:postIndex])
 16933  			iNdEx = postIndex
 16934  		case 3:
 16935  			if wireType != 2 {
 16936  				return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
 16937  			}
 16938  			var msglen int
 16939  			for shift := uint(0); ; shift += 7 {
 16940  				if shift >= 64 {
 16941  					return ErrIntOverflowTypes
 16942  				}
 16943  				if iNdEx >= l {
 16944  					return io.ErrUnexpectedEOF
 16945  				}
 16946  				b := dAtA[iNdEx]
 16947  				iNdEx++
 16948  				msglen |= int(b&0x7F) << shift
 16949  				if b < 0x80 {
 16950  					break
 16951  				}
 16952  			}
 16953  			if msglen < 0 {
 16954  				return ErrInvalidLengthTypes
 16955  			}
 16956  			postIndex := iNdEx + msglen
 16957  			if postIndex < 0 {
 16958  				return ErrInvalidLengthTypes
 16959  			}
 16960  			if postIndex > l {
 16961  				return io.ErrUnexpectedEOF
 16962  			}
 16963  			if m.Options == nil {
 16964  				m.Options = make(map[string]string)
 16965  			}
 16966  			var mapkey string
 16967  			var mapvalue string
 16968  			for iNdEx < postIndex {
 16969  				entryPreIndex := iNdEx
 16970  				var wire uint64
 16971  				for shift := uint(0); ; shift += 7 {
 16972  					if shift >= 64 {
 16973  						return ErrIntOverflowTypes
 16974  					}
 16975  					if iNdEx >= l {
 16976  						return io.ErrUnexpectedEOF
 16977  					}
 16978  					b := dAtA[iNdEx]
 16979  					iNdEx++
 16980  					wire |= uint64(b&0x7F) << shift
 16981  					if b < 0x80 {
 16982  						break
 16983  					}
 16984  				}
 16985  				fieldNum := int32(wire >> 3)
 16986  				if fieldNum == 1 {
 16987  					var stringLenmapkey uint64
 16988  					for shift := uint(0); ; shift += 7 {
 16989  						if shift >= 64 {
 16990  							return ErrIntOverflowTypes
 16991  						}
 16992  						if iNdEx >= l {
 16993  							return io.ErrUnexpectedEOF
 16994  						}
 16995  						b := dAtA[iNdEx]
 16996  						iNdEx++
 16997  						stringLenmapkey |= uint64(b&0x7F) << shift
 16998  						if b < 0x80 {
 16999  							break
 17000  						}
 17001  					}
 17002  					intStringLenmapkey := int(stringLenmapkey)
 17003  					if intStringLenmapkey < 0 {
 17004  						return ErrInvalidLengthTypes
 17005  					}
 17006  					postStringIndexmapkey := iNdEx + intStringLenmapkey
 17007  					if postStringIndexmapkey < 0 {
 17008  						return ErrInvalidLengthTypes
 17009  					}
 17010  					if postStringIndexmapkey > l {
 17011  						return io.ErrUnexpectedEOF
 17012  					}
 17013  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
 17014  					iNdEx = postStringIndexmapkey
 17015  				} else if fieldNum == 2 {
 17016  					var stringLenmapvalue uint64
 17017  					for shift := uint(0); ; shift += 7 {
 17018  						if shift >= 64 {
 17019  							return ErrIntOverflowTypes
 17020  						}
 17021  						if iNdEx >= l {
 17022  							return io.ErrUnexpectedEOF
 17023  						}
 17024  						b := dAtA[iNdEx]
 17025  						iNdEx++
 17026  						stringLenmapvalue |= uint64(b&0x7F) << shift
 17027  						if b < 0x80 {
 17028  							break
 17029  						}
 17030  					}
 17031  					intStringLenmapvalue := int(stringLenmapvalue)
 17032  					if intStringLenmapvalue < 0 {
 17033  						return ErrInvalidLengthTypes
 17034  					}
 17035  					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
 17036  					if postStringIndexmapvalue < 0 {
 17037  						return ErrInvalidLengthTypes
 17038  					}
 17039  					if postStringIndexmapvalue > l {
 17040  						return io.ErrUnexpectedEOF
 17041  					}
 17042  					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
 17043  					iNdEx = postStringIndexmapvalue
 17044  				} else {
 17045  					iNdEx = entryPreIndex
 17046  					skippy, err := skipTypes(dAtA[iNdEx:])
 17047  					if err != nil {
 17048  						return err
 17049  					}
 17050  					if skippy < 0 {
 17051  						return ErrInvalidLengthTypes
 17052  					}
 17053  					if (iNdEx + skippy) > postIndex {
 17054  						return io.ErrUnexpectedEOF
 17055  					}
 17056  					iNdEx += skippy
 17057  				}
 17058  			}
 17059  			m.Options[mapkey] = mapvalue
 17060  			iNdEx = postIndex
 17061  		case 4:
 17062  			if wireType != 2 {
 17063  				return fmt.Errorf("proto: wrong wireType = %d for field CACert", wireType)
 17064  			}
 17065  			var byteLen int
 17066  			for shift := uint(0); ; shift += 7 {
 17067  				if shift >= 64 {
 17068  					return ErrIntOverflowTypes
 17069  				}
 17070  				if iNdEx >= l {
 17071  					return io.ErrUnexpectedEOF
 17072  				}
 17073  				b := dAtA[iNdEx]
 17074  				iNdEx++
 17075  				byteLen |= int(b&0x7F) << shift
 17076  				if b < 0x80 {
 17077  					break
 17078  				}
 17079  			}
 17080  			if byteLen < 0 {
 17081  				return ErrInvalidLengthTypes
 17082  			}
 17083  			postIndex := iNdEx + byteLen
 17084  			if postIndex < 0 {
 17085  				return ErrInvalidLengthTypes
 17086  			}
 17087  			if postIndex > l {
 17088  				return io.ErrUnexpectedEOF
 17089  			}
 17090  			m.CACert = append(m.CACert[:0], dAtA[iNdEx:postIndex]...)
 17091  			if m.CACert == nil {
 17092  				m.CACert = []byte{}
 17093  			}
 17094  			iNdEx = postIndex
 17095  		default:
 17096  			iNdEx = preIndex
 17097  			skippy, err := skipTypes(dAtA[iNdEx:])
 17098  			if err != nil {
 17099  				return err
 17100  			}
 17101  			if skippy < 0 {
 17102  				return ErrInvalidLengthTypes
 17103  			}
 17104  			if (iNdEx + skippy) < 0 {
 17105  				return ErrInvalidLengthTypes
 17106  			}
 17107  			if (iNdEx + skippy) > l {
 17108  				return io.ErrUnexpectedEOF
 17109  			}
 17110  			iNdEx += skippy
 17111  		}
 17112  	}
 17113  
 17114  	if iNdEx > l {
 17115  		return io.ErrUnexpectedEOF
 17116  	}
 17117  	return nil
 17118  }
 17119  func (m *CAConfig) Unmarshal(dAtA []byte) error {
 17120  	l := len(dAtA)
 17121  	iNdEx := 0
 17122  	for iNdEx < l {
 17123  		preIndex := iNdEx
 17124  		var wire uint64
 17125  		for shift := uint(0); ; shift += 7 {
 17126  			if shift >= 64 {
 17127  				return ErrIntOverflowTypes
 17128  			}
 17129  			if iNdEx >= l {
 17130  				return io.ErrUnexpectedEOF
 17131  			}
 17132  			b := dAtA[iNdEx]
 17133  			iNdEx++
 17134  			wire |= uint64(b&0x7F) << shift
 17135  			if b < 0x80 {
 17136  				break
 17137  			}
 17138  		}
 17139  		fieldNum := int32(wire >> 3)
 17140  		wireType := int(wire & 0x7)
 17141  		if wireType == 4 {
 17142  			return fmt.Errorf("proto: CAConfig: wiretype end group for non-group")
 17143  		}
 17144  		if fieldNum <= 0 {
 17145  			return fmt.Errorf("proto: CAConfig: illegal tag %d (wire type %d)", fieldNum, wire)
 17146  		}
 17147  		switch fieldNum {
 17148  		case 1:
 17149  			if wireType != 2 {
 17150  				return fmt.Errorf("proto: wrong wireType = %d for field NodeCertExpiry", wireType)
 17151  			}
 17152  			var msglen int
 17153  			for shift := uint(0); ; shift += 7 {
 17154  				if shift >= 64 {
 17155  					return ErrIntOverflowTypes
 17156  				}
 17157  				if iNdEx >= l {
 17158  					return io.ErrUnexpectedEOF
 17159  				}
 17160  				b := dAtA[iNdEx]
 17161  				iNdEx++
 17162  				msglen |= int(b&0x7F) << shift
 17163  				if b < 0x80 {
 17164  					break
 17165  				}
 17166  			}
 17167  			if msglen < 0 {
 17168  				return ErrInvalidLengthTypes
 17169  			}
 17170  			postIndex := iNdEx + msglen
 17171  			if postIndex < 0 {
 17172  				return ErrInvalidLengthTypes
 17173  			}
 17174  			if postIndex > l {
 17175  				return io.ErrUnexpectedEOF
 17176  			}
 17177  			if m.NodeCertExpiry == nil {
 17178  				m.NodeCertExpiry = &types.Duration{}
 17179  			}
 17180  			if err := m.NodeCertExpiry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17181  				return err
 17182  			}
 17183  			iNdEx = postIndex
 17184  		case 2:
 17185  			if wireType != 2 {
 17186  				return fmt.Errorf("proto: wrong wireType = %d for field ExternalCAs", wireType)
 17187  			}
 17188  			var msglen int
 17189  			for shift := uint(0); ; shift += 7 {
 17190  				if shift >= 64 {
 17191  					return ErrIntOverflowTypes
 17192  				}
 17193  				if iNdEx >= l {
 17194  					return io.ErrUnexpectedEOF
 17195  				}
 17196  				b := dAtA[iNdEx]
 17197  				iNdEx++
 17198  				msglen |= int(b&0x7F) << shift
 17199  				if b < 0x80 {
 17200  					break
 17201  				}
 17202  			}
 17203  			if msglen < 0 {
 17204  				return ErrInvalidLengthTypes
 17205  			}
 17206  			postIndex := iNdEx + msglen
 17207  			if postIndex < 0 {
 17208  				return ErrInvalidLengthTypes
 17209  			}
 17210  			if postIndex > l {
 17211  				return io.ErrUnexpectedEOF
 17212  			}
 17213  			m.ExternalCAs = append(m.ExternalCAs, &ExternalCA{})
 17214  			if err := m.ExternalCAs[len(m.ExternalCAs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17215  				return err
 17216  			}
 17217  			iNdEx = postIndex
 17218  		case 3:
 17219  			if wireType != 2 {
 17220  				return fmt.Errorf("proto: wrong wireType = %d for field SigningCACert", wireType)
 17221  			}
 17222  			var byteLen int
 17223  			for shift := uint(0); ; shift += 7 {
 17224  				if shift >= 64 {
 17225  					return ErrIntOverflowTypes
 17226  				}
 17227  				if iNdEx >= l {
 17228  					return io.ErrUnexpectedEOF
 17229  				}
 17230  				b := dAtA[iNdEx]
 17231  				iNdEx++
 17232  				byteLen |= int(b&0x7F) << shift
 17233  				if b < 0x80 {
 17234  					break
 17235  				}
 17236  			}
 17237  			if byteLen < 0 {
 17238  				return ErrInvalidLengthTypes
 17239  			}
 17240  			postIndex := iNdEx + byteLen
 17241  			if postIndex < 0 {
 17242  				return ErrInvalidLengthTypes
 17243  			}
 17244  			if postIndex > l {
 17245  				return io.ErrUnexpectedEOF
 17246  			}
 17247  			m.SigningCACert = append(m.SigningCACert[:0], dAtA[iNdEx:postIndex]...)
 17248  			if m.SigningCACert == nil {
 17249  				m.SigningCACert = []byte{}
 17250  			}
 17251  			iNdEx = postIndex
 17252  		case 4:
 17253  			if wireType != 2 {
 17254  				return fmt.Errorf("proto: wrong wireType = %d for field SigningCAKey", wireType)
 17255  			}
 17256  			var byteLen int
 17257  			for shift := uint(0); ; shift += 7 {
 17258  				if shift >= 64 {
 17259  					return ErrIntOverflowTypes
 17260  				}
 17261  				if iNdEx >= l {
 17262  					return io.ErrUnexpectedEOF
 17263  				}
 17264  				b := dAtA[iNdEx]
 17265  				iNdEx++
 17266  				byteLen |= int(b&0x7F) << shift
 17267  				if b < 0x80 {
 17268  					break
 17269  				}
 17270  			}
 17271  			if byteLen < 0 {
 17272  				return ErrInvalidLengthTypes
 17273  			}
 17274  			postIndex := iNdEx + byteLen
 17275  			if postIndex < 0 {
 17276  				return ErrInvalidLengthTypes
 17277  			}
 17278  			if postIndex > l {
 17279  				return io.ErrUnexpectedEOF
 17280  			}
 17281  			m.SigningCAKey = append(m.SigningCAKey[:0], dAtA[iNdEx:postIndex]...)
 17282  			if m.SigningCAKey == nil {
 17283  				m.SigningCAKey = []byte{}
 17284  			}
 17285  			iNdEx = postIndex
 17286  		case 5:
 17287  			if wireType != 0 {
 17288  				return fmt.Errorf("proto: wrong wireType = %d for field ForceRotate", wireType)
 17289  			}
 17290  			m.ForceRotate = 0
 17291  			for shift := uint(0); ; shift += 7 {
 17292  				if shift >= 64 {
 17293  					return ErrIntOverflowTypes
 17294  				}
 17295  				if iNdEx >= l {
 17296  					return io.ErrUnexpectedEOF
 17297  				}
 17298  				b := dAtA[iNdEx]
 17299  				iNdEx++
 17300  				m.ForceRotate |= uint64(b&0x7F) << shift
 17301  				if b < 0x80 {
 17302  					break
 17303  				}
 17304  			}
 17305  		default:
 17306  			iNdEx = preIndex
 17307  			skippy, err := skipTypes(dAtA[iNdEx:])
 17308  			if err != nil {
 17309  				return err
 17310  			}
 17311  			if skippy < 0 {
 17312  				return ErrInvalidLengthTypes
 17313  			}
 17314  			if (iNdEx + skippy) < 0 {
 17315  				return ErrInvalidLengthTypes
 17316  			}
 17317  			if (iNdEx + skippy) > l {
 17318  				return io.ErrUnexpectedEOF
 17319  			}
 17320  			iNdEx += skippy
 17321  		}
 17322  	}
 17323  
 17324  	if iNdEx > l {
 17325  		return io.ErrUnexpectedEOF
 17326  	}
 17327  	return nil
 17328  }
 17329  func (m *OrchestrationConfig) Unmarshal(dAtA []byte) error {
 17330  	l := len(dAtA)
 17331  	iNdEx := 0
 17332  	for iNdEx < l {
 17333  		preIndex := iNdEx
 17334  		var wire uint64
 17335  		for shift := uint(0); ; shift += 7 {
 17336  			if shift >= 64 {
 17337  				return ErrIntOverflowTypes
 17338  			}
 17339  			if iNdEx >= l {
 17340  				return io.ErrUnexpectedEOF
 17341  			}
 17342  			b := dAtA[iNdEx]
 17343  			iNdEx++
 17344  			wire |= uint64(b&0x7F) << shift
 17345  			if b < 0x80 {
 17346  				break
 17347  			}
 17348  		}
 17349  		fieldNum := int32(wire >> 3)
 17350  		wireType := int(wire & 0x7)
 17351  		if wireType == 4 {
 17352  			return fmt.Errorf("proto: OrchestrationConfig: wiretype end group for non-group")
 17353  		}
 17354  		if fieldNum <= 0 {
 17355  			return fmt.Errorf("proto: OrchestrationConfig: illegal tag %d (wire type %d)", fieldNum, wire)
 17356  		}
 17357  		switch fieldNum {
 17358  		case 1:
 17359  			if wireType != 0 {
 17360  				return fmt.Errorf("proto: wrong wireType = %d for field TaskHistoryRetentionLimit", wireType)
 17361  			}
 17362  			m.TaskHistoryRetentionLimit = 0
 17363  			for shift := uint(0); ; shift += 7 {
 17364  				if shift >= 64 {
 17365  					return ErrIntOverflowTypes
 17366  				}
 17367  				if iNdEx >= l {
 17368  					return io.ErrUnexpectedEOF
 17369  				}
 17370  				b := dAtA[iNdEx]
 17371  				iNdEx++
 17372  				m.TaskHistoryRetentionLimit |= int64(b&0x7F) << shift
 17373  				if b < 0x80 {
 17374  					break
 17375  				}
 17376  			}
 17377  		default:
 17378  			iNdEx = preIndex
 17379  			skippy, err := skipTypes(dAtA[iNdEx:])
 17380  			if err != nil {
 17381  				return err
 17382  			}
 17383  			if skippy < 0 {
 17384  				return ErrInvalidLengthTypes
 17385  			}
 17386  			if (iNdEx + skippy) < 0 {
 17387  				return ErrInvalidLengthTypes
 17388  			}
 17389  			if (iNdEx + skippy) > l {
 17390  				return io.ErrUnexpectedEOF
 17391  			}
 17392  			iNdEx += skippy
 17393  		}
 17394  	}
 17395  
 17396  	if iNdEx > l {
 17397  		return io.ErrUnexpectedEOF
 17398  	}
 17399  	return nil
 17400  }
 17401  func (m *TaskDefaults) Unmarshal(dAtA []byte) error {
 17402  	l := len(dAtA)
 17403  	iNdEx := 0
 17404  	for iNdEx < l {
 17405  		preIndex := iNdEx
 17406  		var wire uint64
 17407  		for shift := uint(0); ; shift += 7 {
 17408  			if shift >= 64 {
 17409  				return ErrIntOverflowTypes
 17410  			}
 17411  			if iNdEx >= l {
 17412  				return io.ErrUnexpectedEOF
 17413  			}
 17414  			b := dAtA[iNdEx]
 17415  			iNdEx++
 17416  			wire |= uint64(b&0x7F) << shift
 17417  			if b < 0x80 {
 17418  				break
 17419  			}
 17420  		}
 17421  		fieldNum := int32(wire >> 3)
 17422  		wireType := int(wire & 0x7)
 17423  		if wireType == 4 {
 17424  			return fmt.Errorf("proto: TaskDefaults: wiretype end group for non-group")
 17425  		}
 17426  		if fieldNum <= 0 {
 17427  			return fmt.Errorf("proto: TaskDefaults: illegal tag %d (wire type %d)", fieldNum, wire)
 17428  		}
 17429  		switch fieldNum {
 17430  		case 1:
 17431  			if wireType != 2 {
 17432  				return fmt.Errorf("proto: wrong wireType = %d for field LogDriver", wireType)
 17433  			}
 17434  			var msglen int
 17435  			for shift := uint(0); ; shift += 7 {
 17436  				if shift >= 64 {
 17437  					return ErrIntOverflowTypes
 17438  				}
 17439  				if iNdEx >= l {
 17440  					return io.ErrUnexpectedEOF
 17441  				}
 17442  				b := dAtA[iNdEx]
 17443  				iNdEx++
 17444  				msglen |= int(b&0x7F) << shift
 17445  				if b < 0x80 {
 17446  					break
 17447  				}
 17448  			}
 17449  			if msglen < 0 {
 17450  				return ErrInvalidLengthTypes
 17451  			}
 17452  			postIndex := iNdEx + msglen
 17453  			if postIndex < 0 {
 17454  				return ErrInvalidLengthTypes
 17455  			}
 17456  			if postIndex > l {
 17457  				return io.ErrUnexpectedEOF
 17458  			}
 17459  			if m.LogDriver == nil {
 17460  				m.LogDriver = &Driver{}
 17461  			}
 17462  			if err := m.LogDriver.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17463  				return err
 17464  			}
 17465  			iNdEx = postIndex
 17466  		default:
 17467  			iNdEx = preIndex
 17468  			skippy, err := skipTypes(dAtA[iNdEx:])
 17469  			if err != nil {
 17470  				return err
 17471  			}
 17472  			if skippy < 0 {
 17473  				return ErrInvalidLengthTypes
 17474  			}
 17475  			if (iNdEx + skippy) < 0 {
 17476  				return ErrInvalidLengthTypes
 17477  			}
 17478  			if (iNdEx + skippy) > l {
 17479  				return io.ErrUnexpectedEOF
 17480  			}
 17481  			iNdEx += skippy
 17482  		}
 17483  	}
 17484  
 17485  	if iNdEx > l {
 17486  		return io.ErrUnexpectedEOF
 17487  	}
 17488  	return nil
 17489  }
 17490  func (m *DispatcherConfig) Unmarshal(dAtA []byte) error {
 17491  	l := len(dAtA)
 17492  	iNdEx := 0
 17493  	for iNdEx < l {
 17494  		preIndex := iNdEx
 17495  		var wire uint64
 17496  		for shift := uint(0); ; shift += 7 {
 17497  			if shift >= 64 {
 17498  				return ErrIntOverflowTypes
 17499  			}
 17500  			if iNdEx >= l {
 17501  				return io.ErrUnexpectedEOF
 17502  			}
 17503  			b := dAtA[iNdEx]
 17504  			iNdEx++
 17505  			wire |= uint64(b&0x7F) << shift
 17506  			if b < 0x80 {
 17507  				break
 17508  			}
 17509  		}
 17510  		fieldNum := int32(wire >> 3)
 17511  		wireType := int(wire & 0x7)
 17512  		if wireType == 4 {
 17513  			return fmt.Errorf("proto: DispatcherConfig: wiretype end group for non-group")
 17514  		}
 17515  		if fieldNum <= 0 {
 17516  			return fmt.Errorf("proto: DispatcherConfig: illegal tag %d (wire type %d)", fieldNum, wire)
 17517  		}
 17518  		switch fieldNum {
 17519  		case 1:
 17520  			if wireType != 2 {
 17521  				return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatPeriod", wireType)
 17522  			}
 17523  			var msglen int
 17524  			for shift := uint(0); ; shift += 7 {
 17525  				if shift >= 64 {
 17526  					return ErrIntOverflowTypes
 17527  				}
 17528  				if iNdEx >= l {
 17529  					return io.ErrUnexpectedEOF
 17530  				}
 17531  				b := dAtA[iNdEx]
 17532  				iNdEx++
 17533  				msglen |= int(b&0x7F) << shift
 17534  				if b < 0x80 {
 17535  					break
 17536  				}
 17537  			}
 17538  			if msglen < 0 {
 17539  				return ErrInvalidLengthTypes
 17540  			}
 17541  			postIndex := iNdEx + msglen
 17542  			if postIndex < 0 {
 17543  				return ErrInvalidLengthTypes
 17544  			}
 17545  			if postIndex > l {
 17546  				return io.ErrUnexpectedEOF
 17547  			}
 17548  			if m.HeartbeatPeriod == nil {
 17549  				m.HeartbeatPeriod = &types.Duration{}
 17550  			}
 17551  			if err := m.HeartbeatPeriod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17552  				return err
 17553  			}
 17554  			iNdEx = postIndex
 17555  		default:
 17556  			iNdEx = preIndex
 17557  			skippy, err := skipTypes(dAtA[iNdEx:])
 17558  			if err != nil {
 17559  				return err
 17560  			}
 17561  			if skippy < 0 {
 17562  				return ErrInvalidLengthTypes
 17563  			}
 17564  			if (iNdEx + skippy) < 0 {
 17565  				return ErrInvalidLengthTypes
 17566  			}
 17567  			if (iNdEx + skippy) > l {
 17568  				return io.ErrUnexpectedEOF
 17569  			}
 17570  			iNdEx += skippy
 17571  		}
 17572  	}
 17573  
 17574  	if iNdEx > l {
 17575  		return io.ErrUnexpectedEOF
 17576  	}
 17577  	return nil
 17578  }
 17579  func (m *RaftConfig) Unmarshal(dAtA []byte) error {
 17580  	l := len(dAtA)
 17581  	iNdEx := 0
 17582  	for iNdEx < l {
 17583  		preIndex := iNdEx
 17584  		var wire uint64
 17585  		for shift := uint(0); ; shift += 7 {
 17586  			if shift >= 64 {
 17587  				return ErrIntOverflowTypes
 17588  			}
 17589  			if iNdEx >= l {
 17590  				return io.ErrUnexpectedEOF
 17591  			}
 17592  			b := dAtA[iNdEx]
 17593  			iNdEx++
 17594  			wire |= uint64(b&0x7F) << shift
 17595  			if b < 0x80 {
 17596  				break
 17597  			}
 17598  		}
 17599  		fieldNum := int32(wire >> 3)
 17600  		wireType := int(wire & 0x7)
 17601  		if wireType == 4 {
 17602  			return fmt.Errorf("proto: RaftConfig: wiretype end group for non-group")
 17603  		}
 17604  		if fieldNum <= 0 {
 17605  			return fmt.Errorf("proto: RaftConfig: illegal tag %d (wire type %d)", fieldNum, wire)
 17606  		}
 17607  		switch fieldNum {
 17608  		case 1:
 17609  			if wireType != 0 {
 17610  				return fmt.Errorf("proto: wrong wireType = %d for field SnapshotInterval", wireType)
 17611  			}
 17612  			m.SnapshotInterval = 0
 17613  			for shift := uint(0); ; shift += 7 {
 17614  				if shift >= 64 {
 17615  					return ErrIntOverflowTypes
 17616  				}
 17617  				if iNdEx >= l {
 17618  					return io.ErrUnexpectedEOF
 17619  				}
 17620  				b := dAtA[iNdEx]
 17621  				iNdEx++
 17622  				m.SnapshotInterval |= uint64(b&0x7F) << shift
 17623  				if b < 0x80 {
 17624  					break
 17625  				}
 17626  			}
 17627  		case 2:
 17628  			if wireType != 0 {
 17629  				return fmt.Errorf("proto: wrong wireType = %d for field KeepOldSnapshots", wireType)
 17630  			}
 17631  			m.KeepOldSnapshots = 0
 17632  			for shift := uint(0); ; shift += 7 {
 17633  				if shift >= 64 {
 17634  					return ErrIntOverflowTypes
 17635  				}
 17636  				if iNdEx >= l {
 17637  					return io.ErrUnexpectedEOF
 17638  				}
 17639  				b := dAtA[iNdEx]
 17640  				iNdEx++
 17641  				m.KeepOldSnapshots |= uint64(b&0x7F) << shift
 17642  				if b < 0x80 {
 17643  					break
 17644  				}
 17645  			}
 17646  		case 3:
 17647  			if wireType != 0 {
 17648  				return fmt.Errorf("proto: wrong wireType = %d for field LogEntriesForSlowFollowers", wireType)
 17649  			}
 17650  			m.LogEntriesForSlowFollowers = 0
 17651  			for shift := uint(0); ; shift += 7 {
 17652  				if shift >= 64 {
 17653  					return ErrIntOverflowTypes
 17654  				}
 17655  				if iNdEx >= l {
 17656  					return io.ErrUnexpectedEOF
 17657  				}
 17658  				b := dAtA[iNdEx]
 17659  				iNdEx++
 17660  				m.LogEntriesForSlowFollowers |= uint64(b&0x7F) << shift
 17661  				if b < 0x80 {
 17662  					break
 17663  				}
 17664  			}
 17665  		case 4:
 17666  			if wireType != 0 {
 17667  				return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatTick", wireType)
 17668  			}
 17669  			m.HeartbeatTick = 0
 17670  			for shift := uint(0); ; shift += 7 {
 17671  				if shift >= 64 {
 17672  					return ErrIntOverflowTypes
 17673  				}
 17674  				if iNdEx >= l {
 17675  					return io.ErrUnexpectedEOF
 17676  				}
 17677  				b := dAtA[iNdEx]
 17678  				iNdEx++
 17679  				m.HeartbeatTick |= uint32(b&0x7F) << shift
 17680  				if b < 0x80 {
 17681  					break
 17682  				}
 17683  			}
 17684  		case 5:
 17685  			if wireType != 0 {
 17686  				return fmt.Errorf("proto: wrong wireType = %d for field ElectionTick", wireType)
 17687  			}
 17688  			m.ElectionTick = 0
 17689  			for shift := uint(0); ; shift += 7 {
 17690  				if shift >= 64 {
 17691  					return ErrIntOverflowTypes
 17692  				}
 17693  				if iNdEx >= l {
 17694  					return io.ErrUnexpectedEOF
 17695  				}
 17696  				b := dAtA[iNdEx]
 17697  				iNdEx++
 17698  				m.ElectionTick |= uint32(b&0x7F) << shift
 17699  				if b < 0x80 {
 17700  					break
 17701  				}
 17702  			}
 17703  		default:
 17704  			iNdEx = preIndex
 17705  			skippy, err := skipTypes(dAtA[iNdEx:])
 17706  			if err != nil {
 17707  				return err
 17708  			}
 17709  			if skippy < 0 {
 17710  				return ErrInvalidLengthTypes
 17711  			}
 17712  			if (iNdEx + skippy) < 0 {
 17713  				return ErrInvalidLengthTypes
 17714  			}
 17715  			if (iNdEx + skippy) > l {
 17716  				return io.ErrUnexpectedEOF
 17717  			}
 17718  			iNdEx += skippy
 17719  		}
 17720  	}
 17721  
 17722  	if iNdEx > l {
 17723  		return io.ErrUnexpectedEOF
 17724  	}
 17725  	return nil
 17726  }
 17727  func (m *EncryptionConfig) Unmarshal(dAtA []byte) error {
 17728  	l := len(dAtA)
 17729  	iNdEx := 0
 17730  	for iNdEx < l {
 17731  		preIndex := iNdEx
 17732  		var wire uint64
 17733  		for shift := uint(0); ; shift += 7 {
 17734  			if shift >= 64 {
 17735  				return ErrIntOverflowTypes
 17736  			}
 17737  			if iNdEx >= l {
 17738  				return io.ErrUnexpectedEOF
 17739  			}
 17740  			b := dAtA[iNdEx]
 17741  			iNdEx++
 17742  			wire |= uint64(b&0x7F) << shift
 17743  			if b < 0x80 {
 17744  				break
 17745  			}
 17746  		}
 17747  		fieldNum := int32(wire >> 3)
 17748  		wireType := int(wire & 0x7)
 17749  		if wireType == 4 {
 17750  			return fmt.Errorf("proto: EncryptionConfig: wiretype end group for non-group")
 17751  		}
 17752  		if fieldNum <= 0 {
 17753  			return fmt.Errorf("proto: EncryptionConfig: illegal tag %d (wire type %d)", fieldNum, wire)
 17754  		}
 17755  		switch fieldNum {
 17756  		case 1:
 17757  			if wireType != 0 {
 17758  				return fmt.Errorf("proto: wrong wireType = %d for field AutoLockManagers", wireType)
 17759  			}
 17760  			var v int
 17761  			for shift := uint(0); ; shift += 7 {
 17762  				if shift >= 64 {
 17763  					return ErrIntOverflowTypes
 17764  				}
 17765  				if iNdEx >= l {
 17766  					return io.ErrUnexpectedEOF
 17767  				}
 17768  				b := dAtA[iNdEx]
 17769  				iNdEx++
 17770  				v |= int(b&0x7F) << shift
 17771  				if b < 0x80 {
 17772  					break
 17773  				}
 17774  			}
 17775  			m.AutoLockManagers = bool(v != 0)
 17776  		default:
 17777  			iNdEx = preIndex
 17778  			skippy, err := skipTypes(dAtA[iNdEx:])
 17779  			if err != nil {
 17780  				return err
 17781  			}
 17782  			if skippy < 0 {
 17783  				return ErrInvalidLengthTypes
 17784  			}
 17785  			if (iNdEx + skippy) < 0 {
 17786  				return ErrInvalidLengthTypes
 17787  			}
 17788  			if (iNdEx + skippy) > l {
 17789  				return io.ErrUnexpectedEOF
 17790  			}
 17791  			iNdEx += skippy
 17792  		}
 17793  	}
 17794  
 17795  	if iNdEx > l {
 17796  		return io.ErrUnexpectedEOF
 17797  	}
 17798  	return nil
 17799  }
 17800  func (m *SpreadOver) Unmarshal(dAtA []byte) error {
 17801  	l := len(dAtA)
 17802  	iNdEx := 0
 17803  	for iNdEx < l {
 17804  		preIndex := iNdEx
 17805  		var wire uint64
 17806  		for shift := uint(0); ; shift += 7 {
 17807  			if shift >= 64 {
 17808  				return ErrIntOverflowTypes
 17809  			}
 17810  			if iNdEx >= l {
 17811  				return io.ErrUnexpectedEOF
 17812  			}
 17813  			b := dAtA[iNdEx]
 17814  			iNdEx++
 17815  			wire |= uint64(b&0x7F) << shift
 17816  			if b < 0x80 {
 17817  				break
 17818  			}
 17819  		}
 17820  		fieldNum := int32(wire >> 3)
 17821  		wireType := int(wire & 0x7)
 17822  		if wireType == 4 {
 17823  			return fmt.Errorf("proto: SpreadOver: wiretype end group for non-group")
 17824  		}
 17825  		if fieldNum <= 0 {
 17826  			return fmt.Errorf("proto: SpreadOver: illegal tag %d (wire type %d)", fieldNum, wire)
 17827  		}
 17828  		switch fieldNum {
 17829  		case 1:
 17830  			if wireType != 2 {
 17831  				return fmt.Errorf("proto: wrong wireType = %d for field SpreadDescriptor", wireType)
 17832  			}
 17833  			var stringLen uint64
 17834  			for shift := uint(0); ; shift += 7 {
 17835  				if shift >= 64 {
 17836  					return ErrIntOverflowTypes
 17837  				}
 17838  				if iNdEx >= l {
 17839  					return io.ErrUnexpectedEOF
 17840  				}
 17841  				b := dAtA[iNdEx]
 17842  				iNdEx++
 17843  				stringLen |= uint64(b&0x7F) << shift
 17844  				if b < 0x80 {
 17845  					break
 17846  				}
 17847  			}
 17848  			intStringLen := int(stringLen)
 17849  			if intStringLen < 0 {
 17850  				return ErrInvalidLengthTypes
 17851  			}
 17852  			postIndex := iNdEx + intStringLen
 17853  			if postIndex < 0 {
 17854  				return ErrInvalidLengthTypes
 17855  			}
 17856  			if postIndex > l {
 17857  				return io.ErrUnexpectedEOF
 17858  			}
 17859  			m.SpreadDescriptor = string(dAtA[iNdEx:postIndex])
 17860  			iNdEx = postIndex
 17861  		default:
 17862  			iNdEx = preIndex
 17863  			skippy, err := skipTypes(dAtA[iNdEx:])
 17864  			if err != nil {
 17865  				return err
 17866  			}
 17867  			if skippy < 0 {
 17868  				return ErrInvalidLengthTypes
 17869  			}
 17870  			if (iNdEx + skippy) < 0 {
 17871  				return ErrInvalidLengthTypes
 17872  			}
 17873  			if (iNdEx + skippy) > l {
 17874  				return io.ErrUnexpectedEOF
 17875  			}
 17876  			iNdEx += skippy
 17877  		}
 17878  	}
 17879  
 17880  	if iNdEx > l {
 17881  		return io.ErrUnexpectedEOF
 17882  	}
 17883  	return nil
 17884  }
 17885  func (m *PlacementPreference) Unmarshal(dAtA []byte) error {
 17886  	l := len(dAtA)
 17887  	iNdEx := 0
 17888  	for iNdEx < l {
 17889  		preIndex := iNdEx
 17890  		var wire uint64
 17891  		for shift := uint(0); ; shift += 7 {
 17892  			if shift >= 64 {
 17893  				return ErrIntOverflowTypes
 17894  			}
 17895  			if iNdEx >= l {
 17896  				return io.ErrUnexpectedEOF
 17897  			}
 17898  			b := dAtA[iNdEx]
 17899  			iNdEx++
 17900  			wire |= uint64(b&0x7F) << shift
 17901  			if b < 0x80 {
 17902  				break
 17903  			}
 17904  		}
 17905  		fieldNum := int32(wire >> 3)
 17906  		wireType := int(wire & 0x7)
 17907  		if wireType == 4 {
 17908  			return fmt.Errorf("proto: PlacementPreference: wiretype end group for non-group")
 17909  		}
 17910  		if fieldNum <= 0 {
 17911  			return fmt.Errorf("proto: PlacementPreference: illegal tag %d (wire type %d)", fieldNum, wire)
 17912  		}
 17913  		switch fieldNum {
 17914  		case 1:
 17915  			if wireType != 2 {
 17916  				return fmt.Errorf("proto: wrong wireType = %d for field Spread", wireType)
 17917  			}
 17918  			var msglen int
 17919  			for shift := uint(0); ; shift += 7 {
 17920  				if shift >= 64 {
 17921  					return ErrIntOverflowTypes
 17922  				}
 17923  				if iNdEx >= l {
 17924  					return io.ErrUnexpectedEOF
 17925  				}
 17926  				b := dAtA[iNdEx]
 17927  				iNdEx++
 17928  				msglen |= int(b&0x7F) << shift
 17929  				if b < 0x80 {
 17930  					break
 17931  				}
 17932  			}
 17933  			if msglen < 0 {
 17934  				return ErrInvalidLengthTypes
 17935  			}
 17936  			postIndex := iNdEx + msglen
 17937  			if postIndex < 0 {
 17938  				return ErrInvalidLengthTypes
 17939  			}
 17940  			if postIndex > l {
 17941  				return io.ErrUnexpectedEOF
 17942  			}
 17943  			v := &SpreadOver{}
 17944  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17945  				return err
 17946  			}
 17947  			m.Preference = &PlacementPreference_Spread{v}
 17948  			iNdEx = postIndex
 17949  		default:
 17950  			iNdEx = preIndex
 17951  			skippy, err := skipTypes(dAtA[iNdEx:])
 17952  			if err != nil {
 17953  				return err
 17954  			}
 17955  			if skippy < 0 {
 17956  				return ErrInvalidLengthTypes
 17957  			}
 17958  			if (iNdEx + skippy) < 0 {
 17959  				return ErrInvalidLengthTypes
 17960  			}
 17961  			if (iNdEx + skippy) > l {
 17962  				return io.ErrUnexpectedEOF
 17963  			}
 17964  			iNdEx += skippy
 17965  		}
 17966  	}
 17967  
 17968  	if iNdEx > l {
 17969  		return io.ErrUnexpectedEOF
 17970  	}
 17971  	return nil
 17972  }
 17973  func (m *Placement) Unmarshal(dAtA []byte) error {
 17974  	l := len(dAtA)
 17975  	iNdEx := 0
 17976  	for iNdEx < l {
 17977  		preIndex := iNdEx
 17978  		var wire uint64
 17979  		for shift := uint(0); ; shift += 7 {
 17980  			if shift >= 64 {
 17981  				return ErrIntOverflowTypes
 17982  			}
 17983  			if iNdEx >= l {
 17984  				return io.ErrUnexpectedEOF
 17985  			}
 17986  			b := dAtA[iNdEx]
 17987  			iNdEx++
 17988  			wire |= uint64(b&0x7F) << shift
 17989  			if b < 0x80 {
 17990  				break
 17991  			}
 17992  		}
 17993  		fieldNum := int32(wire >> 3)
 17994  		wireType := int(wire & 0x7)
 17995  		if wireType == 4 {
 17996  			return fmt.Errorf("proto: Placement: wiretype end group for non-group")
 17997  		}
 17998  		if fieldNum <= 0 {
 17999  			return fmt.Errorf("proto: Placement: illegal tag %d (wire type %d)", fieldNum, wire)
 18000  		}
 18001  		switch fieldNum {
 18002  		case 1:
 18003  			if wireType != 2 {
 18004  				return fmt.Errorf("proto: wrong wireType = %d for field Constraints", wireType)
 18005  			}
 18006  			var stringLen uint64
 18007  			for shift := uint(0); ; shift += 7 {
 18008  				if shift >= 64 {
 18009  					return ErrIntOverflowTypes
 18010  				}
 18011  				if iNdEx >= l {
 18012  					return io.ErrUnexpectedEOF
 18013  				}
 18014  				b := dAtA[iNdEx]
 18015  				iNdEx++
 18016  				stringLen |= uint64(b&0x7F) << shift
 18017  				if b < 0x80 {
 18018  					break
 18019  				}
 18020  			}
 18021  			intStringLen := int(stringLen)
 18022  			if intStringLen < 0 {
 18023  				return ErrInvalidLengthTypes
 18024  			}
 18025  			postIndex := iNdEx + intStringLen
 18026  			if postIndex < 0 {
 18027  				return ErrInvalidLengthTypes
 18028  			}
 18029  			if postIndex > l {
 18030  				return io.ErrUnexpectedEOF
 18031  			}
 18032  			m.Constraints = append(m.Constraints, string(dAtA[iNdEx:postIndex]))
 18033  			iNdEx = postIndex
 18034  		case 2:
 18035  			if wireType != 2 {
 18036  				return fmt.Errorf("proto: wrong wireType = %d for field Preferences", wireType)
 18037  			}
 18038  			var msglen int
 18039  			for shift := uint(0); ; shift += 7 {
 18040  				if shift >= 64 {
 18041  					return ErrIntOverflowTypes
 18042  				}
 18043  				if iNdEx >= l {
 18044  					return io.ErrUnexpectedEOF
 18045  				}
 18046  				b := dAtA[iNdEx]
 18047  				iNdEx++
 18048  				msglen |= int(b&0x7F) << shift
 18049  				if b < 0x80 {
 18050  					break
 18051  				}
 18052  			}
 18053  			if msglen < 0 {
 18054  				return ErrInvalidLengthTypes
 18055  			}
 18056  			postIndex := iNdEx + msglen
 18057  			if postIndex < 0 {
 18058  				return ErrInvalidLengthTypes
 18059  			}
 18060  			if postIndex > l {
 18061  				return io.ErrUnexpectedEOF
 18062  			}
 18063  			m.Preferences = append(m.Preferences, &PlacementPreference{})
 18064  			if err := m.Preferences[len(m.Preferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18065  				return err
 18066  			}
 18067  			iNdEx = postIndex
 18068  		case 3:
 18069  			if wireType != 2 {
 18070  				return fmt.Errorf("proto: wrong wireType = %d for field Platforms", wireType)
 18071  			}
 18072  			var msglen int
 18073  			for shift := uint(0); ; shift += 7 {
 18074  				if shift >= 64 {
 18075  					return ErrIntOverflowTypes
 18076  				}
 18077  				if iNdEx >= l {
 18078  					return io.ErrUnexpectedEOF
 18079  				}
 18080  				b := dAtA[iNdEx]
 18081  				iNdEx++
 18082  				msglen |= int(b&0x7F) << shift
 18083  				if b < 0x80 {
 18084  					break
 18085  				}
 18086  			}
 18087  			if msglen < 0 {
 18088  				return ErrInvalidLengthTypes
 18089  			}
 18090  			postIndex := iNdEx + msglen
 18091  			if postIndex < 0 {
 18092  				return ErrInvalidLengthTypes
 18093  			}
 18094  			if postIndex > l {
 18095  				return io.ErrUnexpectedEOF
 18096  			}
 18097  			m.Platforms = append(m.Platforms, &Platform{})
 18098  			if err := m.Platforms[len(m.Platforms)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18099  				return err
 18100  			}
 18101  			iNdEx = postIndex
 18102  		case 4:
 18103  			if wireType != 0 {
 18104  				return fmt.Errorf("proto: wrong wireType = %d for field MaxReplicas", wireType)
 18105  			}
 18106  			m.MaxReplicas = 0
 18107  			for shift := uint(0); ; shift += 7 {
 18108  				if shift >= 64 {
 18109  					return ErrIntOverflowTypes
 18110  				}
 18111  				if iNdEx >= l {
 18112  					return io.ErrUnexpectedEOF
 18113  				}
 18114  				b := dAtA[iNdEx]
 18115  				iNdEx++
 18116  				m.MaxReplicas |= uint64(b&0x7F) << shift
 18117  				if b < 0x80 {
 18118  					break
 18119  				}
 18120  			}
 18121  		default:
 18122  			iNdEx = preIndex
 18123  			skippy, err := skipTypes(dAtA[iNdEx:])
 18124  			if err != nil {
 18125  				return err
 18126  			}
 18127  			if skippy < 0 {
 18128  				return ErrInvalidLengthTypes
 18129  			}
 18130  			if (iNdEx + skippy) < 0 {
 18131  				return ErrInvalidLengthTypes
 18132  			}
 18133  			if (iNdEx + skippy) > l {
 18134  				return io.ErrUnexpectedEOF
 18135  			}
 18136  			iNdEx += skippy
 18137  		}
 18138  	}
 18139  
 18140  	if iNdEx > l {
 18141  		return io.ErrUnexpectedEOF
 18142  	}
 18143  	return nil
 18144  }
 18145  func (m *JoinTokens) Unmarshal(dAtA []byte) error {
 18146  	l := len(dAtA)
 18147  	iNdEx := 0
 18148  	for iNdEx < l {
 18149  		preIndex := iNdEx
 18150  		var wire uint64
 18151  		for shift := uint(0); ; shift += 7 {
 18152  			if shift >= 64 {
 18153  				return ErrIntOverflowTypes
 18154  			}
 18155  			if iNdEx >= l {
 18156  				return io.ErrUnexpectedEOF
 18157  			}
 18158  			b := dAtA[iNdEx]
 18159  			iNdEx++
 18160  			wire |= uint64(b&0x7F) << shift
 18161  			if b < 0x80 {
 18162  				break
 18163  			}
 18164  		}
 18165  		fieldNum := int32(wire >> 3)
 18166  		wireType := int(wire & 0x7)
 18167  		if wireType == 4 {
 18168  			return fmt.Errorf("proto: JoinTokens: wiretype end group for non-group")
 18169  		}
 18170  		if fieldNum <= 0 {
 18171  			return fmt.Errorf("proto: JoinTokens: illegal tag %d (wire type %d)", fieldNum, wire)
 18172  		}
 18173  		switch fieldNum {
 18174  		case 1:
 18175  			if wireType != 2 {
 18176  				return fmt.Errorf("proto: wrong wireType = %d for field Worker", wireType)
 18177  			}
 18178  			var stringLen uint64
 18179  			for shift := uint(0); ; shift += 7 {
 18180  				if shift >= 64 {
 18181  					return ErrIntOverflowTypes
 18182  				}
 18183  				if iNdEx >= l {
 18184  					return io.ErrUnexpectedEOF
 18185  				}
 18186  				b := dAtA[iNdEx]
 18187  				iNdEx++
 18188  				stringLen |= uint64(b&0x7F) << shift
 18189  				if b < 0x80 {
 18190  					break
 18191  				}
 18192  			}
 18193  			intStringLen := int(stringLen)
 18194  			if intStringLen < 0 {
 18195  				return ErrInvalidLengthTypes
 18196  			}
 18197  			postIndex := iNdEx + intStringLen
 18198  			if postIndex < 0 {
 18199  				return ErrInvalidLengthTypes
 18200  			}
 18201  			if postIndex > l {
 18202  				return io.ErrUnexpectedEOF
 18203  			}
 18204  			m.Worker = string(dAtA[iNdEx:postIndex])
 18205  			iNdEx = postIndex
 18206  		case 2:
 18207  			if wireType != 2 {
 18208  				return fmt.Errorf("proto: wrong wireType = %d for field Manager", wireType)
 18209  			}
 18210  			var stringLen uint64
 18211  			for shift := uint(0); ; shift += 7 {
 18212  				if shift >= 64 {
 18213  					return ErrIntOverflowTypes
 18214  				}
 18215  				if iNdEx >= l {
 18216  					return io.ErrUnexpectedEOF
 18217  				}
 18218  				b := dAtA[iNdEx]
 18219  				iNdEx++
 18220  				stringLen |= uint64(b&0x7F) << shift
 18221  				if b < 0x80 {
 18222  					break
 18223  				}
 18224  			}
 18225  			intStringLen := int(stringLen)
 18226  			if intStringLen < 0 {
 18227  				return ErrInvalidLengthTypes
 18228  			}
 18229  			postIndex := iNdEx + intStringLen
 18230  			if postIndex < 0 {
 18231  				return ErrInvalidLengthTypes
 18232  			}
 18233  			if postIndex > l {
 18234  				return io.ErrUnexpectedEOF
 18235  			}
 18236  			m.Manager = string(dAtA[iNdEx:postIndex])
 18237  			iNdEx = postIndex
 18238  		default:
 18239  			iNdEx = preIndex
 18240  			skippy, err := skipTypes(dAtA[iNdEx:])
 18241  			if err != nil {
 18242  				return err
 18243  			}
 18244  			if skippy < 0 {
 18245  				return ErrInvalidLengthTypes
 18246  			}
 18247  			if (iNdEx + skippy) < 0 {
 18248  				return ErrInvalidLengthTypes
 18249  			}
 18250  			if (iNdEx + skippy) > l {
 18251  				return io.ErrUnexpectedEOF
 18252  			}
 18253  			iNdEx += skippy
 18254  		}
 18255  	}
 18256  
 18257  	if iNdEx > l {
 18258  		return io.ErrUnexpectedEOF
 18259  	}
 18260  	return nil
 18261  }
 18262  func (m *RootCA) Unmarshal(dAtA []byte) error {
 18263  	l := len(dAtA)
 18264  	iNdEx := 0
 18265  	for iNdEx < l {
 18266  		preIndex := iNdEx
 18267  		var wire uint64
 18268  		for shift := uint(0); ; shift += 7 {
 18269  			if shift >= 64 {
 18270  				return ErrIntOverflowTypes
 18271  			}
 18272  			if iNdEx >= l {
 18273  				return io.ErrUnexpectedEOF
 18274  			}
 18275  			b := dAtA[iNdEx]
 18276  			iNdEx++
 18277  			wire |= uint64(b&0x7F) << shift
 18278  			if b < 0x80 {
 18279  				break
 18280  			}
 18281  		}
 18282  		fieldNum := int32(wire >> 3)
 18283  		wireType := int(wire & 0x7)
 18284  		if wireType == 4 {
 18285  			return fmt.Errorf("proto: RootCA: wiretype end group for non-group")
 18286  		}
 18287  		if fieldNum <= 0 {
 18288  			return fmt.Errorf("proto: RootCA: illegal tag %d (wire type %d)", fieldNum, wire)
 18289  		}
 18290  		switch fieldNum {
 18291  		case 1:
 18292  			if wireType != 2 {
 18293  				return fmt.Errorf("proto: wrong wireType = %d for field CAKey", wireType)
 18294  			}
 18295  			var byteLen int
 18296  			for shift := uint(0); ; shift += 7 {
 18297  				if shift >= 64 {
 18298  					return ErrIntOverflowTypes
 18299  				}
 18300  				if iNdEx >= l {
 18301  					return io.ErrUnexpectedEOF
 18302  				}
 18303  				b := dAtA[iNdEx]
 18304  				iNdEx++
 18305  				byteLen |= int(b&0x7F) << shift
 18306  				if b < 0x80 {
 18307  					break
 18308  				}
 18309  			}
 18310  			if byteLen < 0 {
 18311  				return ErrInvalidLengthTypes
 18312  			}
 18313  			postIndex := iNdEx + byteLen
 18314  			if postIndex < 0 {
 18315  				return ErrInvalidLengthTypes
 18316  			}
 18317  			if postIndex > l {
 18318  				return io.ErrUnexpectedEOF
 18319  			}
 18320  			m.CAKey = append(m.CAKey[:0], dAtA[iNdEx:postIndex]...)
 18321  			if m.CAKey == nil {
 18322  				m.CAKey = []byte{}
 18323  			}
 18324  			iNdEx = postIndex
 18325  		case 2:
 18326  			if wireType != 2 {
 18327  				return fmt.Errorf("proto: wrong wireType = %d for field CACert", wireType)
 18328  			}
 18329  			var byteLen int
 18330  			for shift := uint(0); ; shift += 7 {
 18331  				if shift >= 64 {
 18332  					return ErrIntOverflowTypes
 18333  				}
 18334  				if iNdEx >= l {
 18335  					return io.ErrUnexpectedEOF
 18336  				}
 18337  				b := dAtA[iNdEx]
 18338  				iNdEx++
 18339  				byteLen |= int(b&0x7F) << shift
 18340  				if b < 0x80 {
 18341  					break
 18342  				}
 18343  			}
 18344  			if byteLen < 0 {
 18345  				return ErrInvalidLengthTypes
 18346  			}
 18347  			postIndex := iNdEx + byteLen
 18348  			if postIndex < 0 {
 18349  				return ErrInvalidLengthTypes
 18350  			}
 18351  			if postIndex > l {
 18352  				return io.ErrUnexpectedEOF
 18353  			}
 18354  			m.CACert = append(m.CACert[:0], dAtA[iNdEx:postIndex]...)
 18355  			if m.CACert == nil {
 18356  				m.CACert = []byte{}
 18357  			}
 18358  			iNdEx = postIndex
 18359  		case 3:
 18360  			if wireType != 2 {
 18361  				return fmt.Errorf("proto: wrong wireType = %d for field CACertHash", wireType)
 18362  			}
 18363  			var stringLen uint64
 18364  			for shift := uint(0); ; shift += 7 {
 18365  				if shift >= 64 {
 18366  					return ErrIntOverflowTypes
 18367  				}
 18368  				if iNdEx >= l {
 18369  					return io.ErrUnexpectedEOF
 18370  				}
 18371  				b := dAtA[iNdEx]
 18372  				iNdEx++
 18373  				stringLen |= uint64(b&0x7F) << shift
 18374  				if b < 0x80 {
 18375  					break
 18376  				}
 18377  			}
 18378  			intStringLen := int(stringLen)
 18379  			if intStringLen < 0 {
 18380  				return ErrInvalidLengthTypes
 18381  			}
 18382  			postIndex := iNdEx + intStringLen
 18383  			if postIndex < 0 {
 18384  				return ErrInvalidLengthTypes
 18385  			}
 18386  			if postIndex > l {
 18387  				return io.ErrUnexpectedEOF
 18388  			}
 18389  			m.CACertHash = string(dAtA[iNdEx:postIndex])
 18390  			iNdEx = postIndex
 18391  		case 4:
 18392  			if wireType != 2 {
 18393  				return fmt.Errorf("proto: wrong wireType = %d for field JoinTokens", wireType)
 18394  			}
 18395  			var msglen int
 18396  			for shift := uint(0); ; shift += 7 {
 18397  				if shift >= 64 {
 18398  					return ErrIntOverflowTypes
 18399  				}
 18400  				if iNdEx >= l {
 18401  					return io.ErrUnexpectedEOF
 18402  				}
 18403  				b := dAtA[iNdEx]
 18404  				iNdEx++
 18405  				msglen |= int(b&0x7F) << shift
 18406  				if b < 0x80 {
 18407  					break
 18408  				}
 18409  			}
 18410  			if msglen < 0 {
 18411  				return ErrInvalidLengthTypes
 18412  			}
 18413  			postIndex := iNdEx + msglen
 18414  			if postIndex < 0 {
 18415  				return ErrInvalidLengthTypes
 18416  			}
 18417  			if postIndex > l {
 18418  				return io.ErrUnexpectedEOF
 18419  			}
 18420  			if err := m.JoinTokens.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18421  				return err
 18422  			}
 18423  			iNdEx = postIndex
 18424  		case 5:
 18425  			if wireType != 2 {
 18426  				return fmt.Errorf("proto: wrong wireType = %d for field RootRotation", wireType)
 18427  			}
 18428  			var msglen int
 18429  			for shift := uint(0); ; shift += 7 {
 18430  				if shift >= 64 {
 18431  					return ErrIntOverflowTypes
 18432  				}
 18433  				if iNdEx >= l {
 18434  					return io.ErrUnexpectedEOF
 18435  				}
 18436  				b := dAtA[iNdEx]
 18437  				iNdEx++
 18438  				msglen |= int(b&0x7F) << shift
 18439  				if b < 0x80 {
 18440  					break
 18441  				}
 18442  			}
 18443  			if msglen < 0 {
 18444  				return ErrInvalidLengthTypes
 18445  			}
 18446  			postIndex := iNdEx + msglen
 18447  			if postIndex < 0 {
 18448  				return ErrInvalidLengthTypes
 18449  			}
 18450  			if postIndex > l {
 18451  				return io.ErrUnexpectedEOF
 18452  			}
 18453  			if m.RootRotation == nil {
 18454  				m.RootRotation = &RootRotation{}
 18455  			}
 18456  			if err := m.RootRotation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18457  				return err
 18458  			}
 18459  			iNdEx = postIndex
 18460  		case 6:
 18461  			if wireType != 0 {
 18462  				return fmt.Errorf("proto: wrong wireType = %d for field LastForcedRotation", wireType)
 18463  			}
 18464  			m.LastForcedRotation = 0
 18465  			for shift := uint(0); ; shift += 7 {
 18466  				if shift >= 64 {
 18467  					return ErrIntOverflowTypes
 18468  				}
 18469  				if iNdEx >= l {
 18470  					return io.ErrUnexpectedEOF
 18471  				}
 18472  				b := dAtA[iNdEx]
 18473  				iNdEx++
 18474  				m.LastForcedRotation |= uint64(b&0x7F) << shift
 18475  				if b < 0x80 {
 18476  					break
 18477  				}
 18478  			}
 18479  		default:
 18480  			iNdEx = preIndex
 18481  			skippy, err := skipTypes(dAtA[iNdEx:])
 18482  			if err != nil {
 18483  				return err
 18484  			}
 18485  			if skippy < 0 {
 18486  				return ErrInvalidLengthTypes
 18487  			}
 18488  			if (iNdEx + skippy) < 0 {
 18489  				return ErrInvalidLengthTypes
 18490  			}
 18491  			if (iNdEx + skippy) > l {
 18492  				return io.ErrUnexpectedEOF
 18493  			}
 18494  			iNdEx += skippy
 18495  		}
 18496  	}
 18497  
 18498  	if iNdEx > l {
 18499  		return io.ErrUnexpectedEOF
 18500  	}
 18501  	return nil
 18502  }
 18503  func (m *Certificate) Unmarshal(dAtA []byte) error {
 18504  	l := len(dAtA)
 18505  	iNdEx := 0
 18506  	for iNdEx < l {
 18507  		preIndex := iNdEx
 18508  		var wire uint64
 18509  		for shift := uint(0); ; shift += 7 {
 18510  			if shift >= 64 {
 18511  				return ErrIntOverflowTypes
 18512  			}
 18513  			if iNdEx >= l {
 18514  				return io.ErrUnexpectedEOF
 18515  			}
 18516  			b := dAtA[iNdEx]
 18517  			iNdEx++
 18518  			wire |= uint64(b&0x7F) << shift
 18519  			if b < 0x80 {
 18520  				break
 18521  			}
 18522  		}
 18523  		fieldNum := int32(wire >> 3)
 18524  		wireType := int(wire & 0x7)
 18525  		if wireType == 4 {
 18526  			return fmt.Errorf("proto: Certificate: wiretype end group for non-group")
 18527  		}
 18528  		if fieldNum <= 0 {
 18529  			return fmt.Errorf("proto: Certificate: illegal tag %d (wire type %d)", fieldNum, wire)
 18530  		}
 18531  		switch fieldNum {
 18532  		case 1:
 18533  			if wireType != 0 {
 18534  				return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
 18535  			}
 18536  			m.Role = 0
 18537  			for shift := uint(0); ; shift += 7 {
 18538  				if shift >= 64 {
 18539  					return ErrIntOverflowTypes
 18540  				}
 18541  				if iNdEx >= l {
 18542  					return io.ErrUnexpectedEOF
 18543  				}
 18544  				b := dAtA[iNdEx]
 18545  				iNdEx++
 18546  				m.Role |= NodeRole(b&0x7F) << shift
 18547  				if b < 0x80 {
 18548  					break
 18549  				}
 18550  			}
 18551  		case 2:
 18552  			if wireType != 2 {
 18553  				return fmt.Errorf("proto: wrong wireType = %d for field CSR", wireType)
 18554  			}
 18555  			var byteLen int
 18556  			for shift := uint(0); ; shift += 7 {
 18557  				if shift >= 64 {
 18558  					return ErrIntOverflowTypes
 18559  				}
 18560  				if iNdEx >= l {
 18561  					return io.ErrUnexpectedEOF
 18562  				}
 18563  				b := dAtA[iNdEx]
 18564  				iNdEx++
 18565  				byteLen |= int(b&0x7F) << shift
 18566  				if b < 0x80 {
 18567  					break
 18568  				}
 18569  			}
 18570  			if byteLen < 0 {
 18571  				return ErrInvalidLengthTypes
 18572  			}
 18573  			postIndex := iNdEx + byteLen
 18574  			if postIndex < 0 {
 18575  				return ErrInvalidLengthTypes
 18576  			}
 18577  			if postIndex > l {
 18578  				return io.ErrUnexpectedEOF
 18579  			}
 18580  			m.CSR = append(m.CSR[:0], dAtA[iNdEx:postIndex]...)
 18581  			if m.CSR == nil {
 18582  				m.CSR = []byte{}
 18583  			}
 18584  			iNdEx = postIndex
 18585  		case 3:
 18586  			if wireType != 2 {
 18587  				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
 18588  			}
 18589  			var msglen int
 18590  			for shift := uint(0); ; shift += 7 {
 18591  				if shift >= 64 {
 18592  					return ErrIntOverflowTypes
 18593  				}
 18594  				if iNdEx >= l {
 18595  					return io.ErrUnexpectedEOF
 18596  				}
 18597  				b := dAtA[iNdEx]
 18598  				iNdEx++
 18599  				msglen |= int(b&0x7F) << shift
 18600  				if b < 0x80 {
 18601  					break
 18602  				}
 18603  			}
 18604  			if msglen < 0 {
 18605  				return ErrInvalidLengthTypes
 18606  			}
 18607  			postIndex := iNdEx + msglen
 18608  			if postIndex < 0 {
 18609  				return ErrInvalidLengthTypes
 18610  			}
 18611  			if postIndex > l {
 18612  				return io.ErrUnexpectedEOF
 18613  			}
 18614  			if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18615  				return err
 18616  			}
 18617  			iNdEx = postIndex
 18618  		case 4:
 18619  			if wireType != 2 {
 18620  				return fmt.Errorf("proto: wrong wireType = %d for field Certificate", wireType)
 18621  			}
 18622  			var byteLen int
 18623  			for shift := uint(0); ; shift += 7 {
 18624  				if shift >= 64 {
 18625  					return ErrIntOverflowTypes
 18626  				}
 18627  				if iNdEx >= l {
 18628  					return io.ErrUnexpectedEOF
 18629  				}
 18630  				b := dAtA[iNdEx]
 18631  				iNdEx++
 18632  				byteLen |= int(b&0x7F) << shift
 18633  				if b < 0x80 {
 18634  					break
 18635  				}
 18636  			}
 18637  			if byteLen < 0 {
 18638  				return ErrInvalidLengthTypes
 18639  			}
 18640  			postIndex := iNdEx + byteLen
 18641  			if postIndex < 0 {
 18642  				return ErrInvalidLengthTypes
 18643  			}
 18644  			if postIndex > l {
 18645  				return io.ErrUnexpectedEOF
 18646  			}
 18647  			m.Certificate = append(m.Certificate[:0], dAtA[iNdEx:postIndex]...)
 18648  			if m.Certificate == nil {
 18649  				m.Certificate = []byte{}
 18650  			}
 18651  			iNdEx = postIndex
 18652  		case 5:
 18653  			if wireType != 2 {
 18654  				return fmt.Errorf("proto: wrong wireType = %d for field CN", wireType)
 18655  			}
 18656  			var stringLen uint64
 18657  			for shift := uint(0); ; shift += 7 {
 18658  				if shift >= 64 {
 18659  					return ErrIntOverflowTypes
 18660  				}
 18661  				if iNdEx >= l {
 18662  					return io.ErrUnexpectedEOF
 18663  				}
 18664  				b := dAtA[iNdEx]
 18665  				iNdEx++
 18666  				stringLen |= uint64(b&0x7F) << shift
 18667  				if b < 0x80 {
 18668  					break
 18669  				}
 18670  			}
 18671  			intStringLen := int(stringLen)
 18672  			if intStringLen < 0 {
 18673  				return ErrInvalidLengthTypes
 18674  			}
 18675  			postIndex := iNdEx + intStringLen
 18676  			if postIndex < 0 {
 18677  				return ErrInvalidLengthTypes
 18678  			}
 18679  			if postIndex > l {
 18680  				return io.ErrUnexpectedEOF
 18681  			}
 18682  			m.CN = string(dAtA[iNdEx:postIndex])
 18683  			iNdEx = postIndex
 18684  		default:
 18685  			iNdEx = preIndex
 18686  			skippy, err := skipTypes(dAtA[iNdEx:])
 18687  			if err != nil {
 18688  				return err
 18689  			}
 18690  			if skippy < 0 {
 18691  				return ErrInvalidLengthTypes
 18692  			}
 18693  			if (iNdEx + skippy) < 0 {
 18694  				return ErrInvalidLengthTypes
 18695  			}
 18696  			if (iNdEx + skippy) > l {
 18697  				return io.ErrUnexpectedEOF
 18698  			}
 18699  			iNdEx += skippy
 18700  		}
 18701  	}
 18702  
 18703  	if iNdEx > l {
 18704  		return io.ErrUnexpectedEOF
 18705  	}
 18706  	return nil
 18707  }
 18708  func (m *EncryptionKey) Unmarshal(dAtA []byte) error {
 18709  	l := len(dAtA)
 18710  	iNdEx := 0
 18711  	for iNdEx < l {
 18712  		preIndex := iNdEx
 18713  		var wire uint64
 18714  		for shift := uint(0); ; shift += 7 {
 18715  			if shift >= 64 {
 18716  				return ErrIntOverflowTypes
 18717  			}
 18718  			if iNdEx >= l {
 18719  				return io.ErrUnexpectedEOF
 18720  			}
 18721  			b := dAtA[iNdEx]
 18722  			iNdEx++
 18723  			wire |= uint64(b&0x7F) << shift
 18724  			if b < 0x80 {
 18725  				break
 18726  			}
 18727  		}
 18728  		fieldNum := int32(wire >> 3)
 18729  		wireType := int(wire & 0x7)
 18730  		if wireType == 4 {
 18731  			return fmt.Errorf("proto: EncryptionKey: wiretype end group for non-group")
 18732  		}
 18733  		if fieldNum <= 0 {
 18734  			return fmt.Errorf("proto: EncryptionKey: illegal tag %d (wire type %d)", fieldNum, wire)
 18735  		}
 18736  		switch fieldNum {
 18737  		case 1:
 18738  			if wireType != 2 {
 18739  				return fmt.Errorf("proto: wrong wireType = %d for field Subsystem", wireType)
 18740  			}
 18741  			var stringLen uint64
 18742  			for shift := uint(0); ; shift += 7 {
 18743  				if shift >= 64 {
 18744  					return ErrIntOverflowTypes
 18745  				}
 18746  				if iNdEx >= l {
 18747  					return io.ErrUnexpectedEOF
 18748  				}
 18749  				b := dAtA[iNdEx]
 18750  				iNdEx++
 18751  				stringLen |= uint64(b&0x7F) << shift
 18752  				if b < 0x80 {
 18753  					break
 18754  				}
 18755  			}
 18756  			intStringLen := int(stringLen)
 18757  			if intStringLen < 0 {
 18758  				return ErrInvalidLengthTypes
 18759  			}
 18760  			postIndex := iNdEx + intStringLen
 18761  			if postIndex < 0 {
 18762  				return ErrInvalidLengthTypes
 18763  			}
 18764  			if postIndex > l {
 18765  				return io.ErrUnexpectedEOF
 18766  			}
 18767  			m.Subsystem = string(dAtA[iNdEx:postIndex])
 18768  			iNdEx = postIndex
 18769  		case 2:
 18770  			if wireType != 0 {
 18771  				return fmt.Errorf("proto: wrong wireType = %d for field Algorithm", wireType)
 18772  			}
 18773  			m.Algorithm = 0
 18774  			for shift := uint(0); ; shift += 7 {
 18775  				if shift >= 64 {
 18776  					return ErrIntOverflowTypes
 18777  				}
 18778  				if iNdEx >= l {
 18779  					return io.ErrUnexpectedEOF
 18780  				}
 18781  				b := dAtA[iNdEx]
 18782  				iNdEx++
 18783  				m.Algorithm |= EncryptionKey_Algorithm(b&0x7F) << shift
 18784  				if b < 0x80 {
 18785  					break
 18786  				}
 18787  			}
 18788  		case 3:
 18789  			if wireType != 2 {
 18790  				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
 18791  			}
 18792  			var byteLen int
 18793  			for shift := uint(0); ; shift += 7 {
 18794  				if shift >= 64 {
 18795  					return ErrIntOverflowTypes
 18796  				}
 18797  				if iNdEx >= l {
 18798  					return io.ErrUnexpectedEOF
 18799  				}
 18800  				b := dAtA[iNdEx]
 18801  				iNdEx++
 18802  				byteLen |= int(b&0x7F) << shift
 18803  				if b < 0x80 {
 18804  					break
 18805  				}
 18806  			}
 18807  			if byteLen < 0 {
 18808  				return ErrInvalidLengthTypes
 18809  			}
 18810  			postIndex := iNdEx + byteLen
 18811  			if postIndex < 0 {
 18812  				return ErrInvalidLengthTypes
 18813  			}
 18814  			if postIndex > l {
 18815  				return io.ErrUnexpectedEOF
 18816  			}
 18817  			m.Key = append(m.Key[:0], dAtA[iNdEx:postIndex]...)
 18818  			if m.Key == nil {
 18819  				m.Key = []byte{}
 18820  			}
 18821  			iNdEx = postIndex
 18822  		case 4:
 18823  			if wireType != 0 {
 18824  				return fmt.Errorf("proto: wrong wireType = %d for field LamportTime", wireType)
 18825  			}
 18826  			m.LamportTime = 0
 18827  			for shift := uint(0); ; shift += 7 {
 18828  				if shift >= 64 {
 18829  					return ErrIntOverflowTypes
 18830  				}
 18831  				if iNdEx >= l {
 18832  					return io.ErrUnexpectedEOF
 18833  				}
 18834  				b := dAtA[iNdEx]
 18835  				iNdEx++
 18836  				m.LamportTime |= uint64(b&0x7F) << shift
 18837  				if b < 0x80 {
 18838  					break
 18839  				}
 18840  			}
 18841  		default:
 18842  			iNdEx = preIndex
 18843  			skippy, err := skipTypes(dAtA[iNdEx:])
 18844  			if err != nil {
 18845  				return err
 18846  			}
 18847  			if skippy < 0 {
 18848  				return ErrInvalidLengthTypes
 18849  			}
 18850  			if (iNdEx + skippy) < 0 {
 18851  				return ErrInvalidLengthTypes
 18852  			}
 18853  			if (iNdEx + skippy) > l {
 18854  				return io.ErrUnexpectedEOF
 18855  			}
 18856  			iNdEx += skippy
 18857  		}
 18858  	}
 18859  
 18860  	if iNdEx > l {
 18861  		return io.ErrUnexpectedEOF
 18862  	}
 18863  	return nil
 18864  }
 18865  func (m *ManagerStatus) Unmarshal(dAtA []byte) error {
 18866  	l := len(dAtA)
 18867  	iNdEx := 0
 18868  	for iNdEx < l {
 18869  		preIndex := iNdEx
 18870  		var wire uint64
 18871  		for shift := uint(0); ; shift += 7 {
 18872  			if shift >= 64 {
 18873  				return ErrIntOverflowTypes
 18874  			}
 18875  			if iNdEx >= l {
 18876  				return io.ErrUnexpectedEOF
 18877  			}
 18878  			b := dAtA[iNdEx]
 18879  			iNdEx++
 18880  			wire |= uint64(b&0x7F) << shift
 18881  			if b < 0x80 {
 18882  				break
 18883  			}
 18884  		}
 18885  		fieldNum := int32(wire >> 3)
 18886  		wireType := int(wire & 0x7)
 18887  		if wireType == 4 {
 18888  			return fmt.Errorf("proto: ManagerStatus: wiretype end group for non-group")
 18889  		}
 18890  		if fieldNum <= 0 {
 18891  			return fmt.Errorf("proto: ManagerStatus: illegal tag %d (wire type %d)", fieldNum, wire)
 18892  		}
 18893  		switch fieldNum {
 18894  		case 1:
 18895  			if wireType != 0 {
 18896  				return fmt.Errorf("proto: wrong wireType = %d for field RaftID", wireType)
 18897  			}
 18898  			m.RaftID = 0
 18899  			for shift := uint(0); ; shift += 7 {
 18900  				if shift >= 64 {
 18901  					return ErrIntOverflowTypes
 18902  				}
 18903  				if iNdEx >= l {
 18904  					return io.ErrUnexpectedEOF
 18905  				}
 18906  				b := dAtA[iNdEx]
 18907  				iNdEx++
 18908  				m.RaftID |= uint64(b&0x7F) << shift
 18909  				if b < 0x80 {
 18910  					break
 18911  				}
 18912  			}
 18913  		case 2:
 18914  			if wireType != 2 {
 18915  				return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType)
 18916  			}
 18917  			var stringLen uint64
 18918  			for shift := uint(0); ; shift += 7 {
 18919  				if shift >= 64 {
 18920  					return ErrIntOverflowTypes
 18921  				}
 18922  				if iNdEx >= l {
 18923  					return io.ErrUnexpectedEOF
 18924  				}
 18925  				b := dAtA[iNdEx]
 18926  				iNdEx++
 18927  				stringLen |= uint64(b&0x7F) << shift
 18928  				if b < 0x80 {
 18929  					break
 18930  				}
 18931  			}
 18932  			intStringLen := int(stringLen)
 18933  			if intStringLen < 0 {
 18934  				return ErrInvalidLengthTypes
 18935  			}
 18936  			postIndex := iNdEx + intStringLen
 18937  			if postIndex < 0 {
 18938  				return ErrInvalidLengthTypes
 18939  			}
 18940  			if postIndex > l {
 18941  				return io.ErrUnexpectedEOF
 18942  			}
 18943  			m.Addr = string(dAtA[iNdEx:postIndex])
 18944  			iNdEx = postIndex
 18945  		case 3:
 18946  			if wireType != 0 {
 18947  				return fmt.Errorf("proto: wrong wireType = %d for field Leader", wireType)
 18948  			}
 18949  			var v int
 18950  			for shift := uint(0); ; shift += 7 {
 18951  				if shift >= 64 {
 18952  					return ErrIntOverflowTypes
 18953  				}
 18954  				if iNdEx >= l {
 18955  					return io.ErrUnexpectedEOF
 18956  				}
 18957  				b := dAtA[iNdEx]
 18958  				iNdEx++
 18959  				v |= int(b&0x7F) << shift
 18960  				if b < 0x80 {
 18961  					break
 18962  				}
 18963  			}
 18964  			m.Leader = bool(v != 0)
 18965  		case 4:
 18966  			if wireType != 0 {
 18967  				return fmt.Errorf("proto: wrong wireType = %d for field Reachability", wireType)
 18968  			}
 18969  			m.Reachability = 0
 18970  			for shift := uint(0); ; shift += 7 {
 18971  				if shift >= 64 {
 18972  					return ErrIntOverflowTypes
 18973  				}
 18974  				if iNdEx >= l {
 18975  					return io.ErrUnexpectedEOF
 18976  				}
 18977  				b := dAtA[iNdEx]
 18978  				iNdEx++
 18979  				m.Reachability |= RaftMemberStatus_Reachability(b&0x7F) << shift
 18980  				if b < 0x80 {
 18981  					break
 18982  				}
 18983  			}
 18984  		default:
 18985  			iNdEx = preIndex
 18986  			skippy, err := skipTypes(dAtA[iNdEx:])
 18987  			if err != nil {
 18988  				return err
 18989  			}
 18990  			if skippy < 0 {
 18991  				return ErrInvalidLengthTypes
 18992  			}
 18993  			if (iNdEx + skippy) < 0 {
 18994  				return ErrInvalidLengthTypes
 18995  			}
 18996  			if (iNdEx + skippy) > l {
 18997  				return io.ErrUnexpectedEOF
 18998  			}
 18999  			iNdEx += skippy
 19000  		}
 19001  	}
 19002  
 19003  	if iNdEx > l {
 19004  		return io.ErrUnexpectedEOF
 19005  	}
 19006  	return nil
 19007  }
 19008  func (m *FileTarget) Unmarshal(dAtA []byte) error {
 19009  	l := len(dAtA)
 19010  	iNdEx := 0
 19011  	for iNdEx < l {
 19012  		preIndex := iNdEx
 19013  		var wire uint64
 19014  		for shift := uint(0); ; shift += 7 {
 19015  			if shift >= 64 {
 19016  				return ErrIntOverflowTypes
 19017  			}
 19018  			if iNdEx >= l {
 19019  				return io.ErrUnexpectedEOF
 19020  			}
 19021  			b := dAtA[iNdEx]
 19022  			iNdEx++
 19023  			wire |= uint64(b&0x7F) << shift
 19024  			if b < 0x80 {
 19025  				break
 19026  			}
 19027  		}
 19028  		fieldNum := int32(wire >> 3)
 19029  		wireType := int(wire & 0x7)
 19030  		if wireType == 4 {
 19031  			return fmt.Errorf("proto: FileTarget: wiretype end group for non-group")
 19032  		}
 19033  		if fieldNum <= 0 {
 19034  			return fmt.Errorf("proto: FileTarget: illegal tag %d (wire type %d)", fieldNum, wire)
 19035  		}
 19036  		switch fieldNum {
 19037  		case 1:
 19038  			if wireType != 2 {
 19039  				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
 19040  			}
 19041  			var stringLen uint64
 19042  			for shift := uint(0); ; shift += 7 {
 19043  				if shift >= 64 {
 19044  					return ErrIntOverflowTypes
 19045  				}
 19046  				if iNdEx >= l {
 19047  					return io.ErrUnexpectedEOF
 19048  				}
 19049  				b := dAtA[iNdEx]
 19050  				iNdEx++
 19051  				stringLen |= uint64(b&0x7F) << shift
 19052  				if b < 0x80 {
 19053  					break
 19054  				}
 19055  			}
 19056  			intStringLen := int(stringLen)
 19057  			if intStringLen < 0 {
 19058  				return ErrInvalidLengthTypes
 19059  			}
 19060  			postIndex := iNdEx + intStringLen
 19061  			if postIndex < 0 {
 19062  				return ErrInvalidLengthTypes
 19063  			}
 19064  			if postIndex > l {
 19065  				return io.ErrUnexpectedEOF
 19066  			}
 19067  			m.Name = string(dAtA[iNdEx:postIndex])
 19068  			iNdEx = postIndex
 19069  		case 2:
 19070  			if wireType != 2 {
 19071  				return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
 19072  			}
 19073  			var stringLen uint64
 19074  			for shift := uint(0); ; shift += 7 {
 19075  				if shift >= 64 {
 19076  					return ErrIntOverflowTypes
 19077  				}
 19078  				if iNdEx >= l {
 19079  					return io.ErrUnexpectedEOF
 19080  				}
 19081  				b := dAtA[iNdEx]
 19082  				iNdEx++
 19083  				stringLen |= uint64(b&0x7F) << shift
 19084  				if b < 0x80 {
 19085  					break
 19086  				}
 19087  			}
 19088  			intStringLen := int(stringLen)
 19089  			if intStringLen < 0 {
 19090  				return ErrInvalidLengthTypes
 19091  			}
 19092  			postIndex := iNdEx + intStringLen
 19093  			if postIndex < 0 {
 19094  				return ErrInvalidLengthTypes
 19095  			}
 19096  			if postIndex > l {
 19097  				return io.ErrUnexpectedEOF
 19098  			}
 19099  			m.UID = string(dAtA[iNdEx:postIndex])
 19100  			iNdEx = postIndex
 19101  		case 3:
 19102  			if wireType != 2 {
 19103  				return fmt.Errorf("proto: wrong wireType = %d for field GID", wireType)
 19104  			}
 19105  			var stringLen uint64
 19106  			for shift := uint(0); ; shift += 7 {
 19107  				if shift >= 64 {
 19108  					return ErrIntOverflowTypes
 19109  				}
 19110  				if iNdEx >= l {
 19111  					return io.ErrUnexpectedEOF
 19112  				}
 19113  				b := dAtA[iNdEx]
 19114  				iNdEx++
 19115  				stringLen |= uint64(b&0x7F) << shift
 19116  				if b < 0x80 {
 19117  					break
 19118  				}
 19119  			}
 19120  			intStringLen := int(stringLen)
 19121  			if intStringLen < 0 {
 19122  				return ErrInvalidLengthTypes
 19123  			}
 19124  			postIndex := iNdEx + intStringLen
 19125  			if postIndex < 0 {
 19126  				return ErrInvalidLengthTypes
 19127  			}
 19128  			if postIndex > l {
 19129  				return io.ErrUnexpectedEOF
 19130  			}
 19131  			m.GID = string(dAtA[iNdEx:postIndex])
 19132  			iNdEx = postIndex
 19133  		case 4:
 19134  			if wireType != 0 {
 19135  				return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
 19136  			}
 19137  			m.Mode = 0
 19138  			for shift := uint(0); ; shift += 7 {
 19139  				if shift >= 64 {
 19140  					return ErrIntOverflowTypes
 19141  				}
 19142  				if iNdEx >= l {
 19143  					return io.ErrUnexpectedEOF
 19144  				}
 19145  				b := dAtA[iNdEx]
 19146  				iNdEx++
 19147  				m.Mode |= os.FileMode(b&0x7F) << shift
 19148  				if b < 0x80 {
 19149  					break
 19150  				}
 19151  			}
 19152  		default:
 19153  			iNdEx = preIndex
 19154  			skippy, err := skipTypes(dAtA[iNdEx:])
 19155  			if err != nil {
 19156  				return err
 19157  			}
 19158  			if skippy < 0 {
 19159  				return ErrInvalidLengthTypes
 19160  			}
 19161  			if (iNdEx + skippy) < 0 {
 19162  				return ErrInvalidLengthTypes
 19163  			}
 19164  			if (iNdEx + skippy) > l {
 19165  				return io.ErrUnexpectedEOF
 19166  			}
 19167  			iNdEx += skippy
 19168  		}
 19169  	}
 19170  
 19171  	if iNdEx > l {
 19172  		return io.ErrUnexpectedEOF
 19173  	}
 19174  	return nil
 19175  }
 19176  func (m *RuntimeTarget) Unmarshal(dAtA []byte) error {
 19177  	l := len(dAtA)
 19178  	iNdEx := 0
 19179  	for iNdEx < l {
 19180  		preIndex := iNdEx
 19181  		var wire uint64
 19182  		for shift := uint(0); ; shift += 7 {
 19183  			if shift >= 64 {
 19184  				return ErrIntOverflowTypes
 19185  			}
 19186  			if iNdEx >= l {
 19187  				return io.ErrUnexpectedEOF
 19188  			}
 19189  			b := dAtA[iNdEx]
 19190  			iNdEx++
 19191  			wire |= uint64(b&0x7F) << shift
 19192  			if b < 0x80 {
 19193  				break
 19194  			}
 19195  		}
 19196  		fieldNum := int32(wire >> 3)
 19197  		wireType := int(wire & 0x7)
 19198  		if wireType == 4 {
 19199  			return fmt.Errorf("proto: RuntimeTarget: wiretype end group for non-group")
 19200  		}
 19201  		if fieldNum <= 0 {
 19202  			return fmt.Errorf("proto: RuntimeTarget: illegal tag %d (wire type %d)", fieldNum, wire)
 19203  		}
 19204  		switch fieldNum {
 19205  		default:
 19206  			iNdEx = preIndex
 19207  			skippy, err := skipTypes(dAtA[iNdEx:])
 19208  			if err != nil {
 19209  				return err
 19210  			}
 19211  			if skippy < 0 {
 19212  				return ErrInvalidLengthTypes
 19213  			}
 19214  			if (iNdEx + skippy) < 0 {
 19215  				return ErrInvalidLengthTypes
 19216  			}
 19217  			if (iNdEx + skippy) > l {
 19218  				return io.ErrUnexpectedEOF
 19219  			}
 19220  			iNdEx += skippy
 19221  		}
 19222  	}
 19223  
 19224  	if iNdEx > l {
 19225  		return io.ErrUnexpectedEOF
 19226  	}
 19227  	return nil
 19228  }
 19229  func (m *SecretReference) Unmarshal(dAtA []byte) error {
 19230  	l := len(dAtA)
 19231  	iNdEx := 0
 19232  	for iNdEx < l {
 19233  		preIndex := iNdEx
 19234  		var wire uint64
 19235  		for shift := uint(0); ; shift += 7 {
 19236  			if shift >= 64 {
 19237  				return ErrIntOverflowTypes
 19238  			}
 19239  			if iNdEx >= l {
 19240  				return io.ErrUnexpectedEOF
 19241  			}
 19242  			b := dAtA[iNdEx]
 19243  			iNdEx++
 19244  			wire |= uint64(b&0x7F) << shift
 19245  			if b < 0x80 {
 19246  				break
 19247  			}
 19248  		}
 19249  		fieldNum := int32(wire >> 3)
 19250  		wireType := int(wire & 0x7)
 19251  		if wireType == 4 {
 19252  			return fmt.Errorf("proto: SecretReference: wiretype end group for non-group")
 19253  		}
 19254  		if fieldNum <= 0 {
 19255  			return fmt.Errorf("proto: SecretReference: illegal tag %d (wire type %d)", fieldNum, wire)
 19256  		}
 19257  		switch fieldNum {
 19258  		case 1:
 19259  			if wireType != 2 {
 19260  				return fmt.Errorf("proto: wrong wireType = %d for field SecretID", wireType)
 19261  			}
 19262  			var stringLen uint64
 19263  			for shift := uint(0); ; shift += 7 {
 19264  				if shift >= 64 {
 19265  					return ErrIntOverflowTypes
 19266  				}
 19267  				if iNdEx >= l {
 19268  					return io.ErrUnexpectedEOF
 19269  				}
 19270  				b := dAtA[iNdEx]
 19271  				iNdEx++
 19272  				stringLen |= uint64(b&0x7F) << shift
 19273  				if b < 0x80 {
 19274  					break
 19275  				}
 19276  			}
 19277  			intStringLen := int(stringLen)
 19278  			if intStringLen < 0 {
 19279  				return ErrInvalidLengthTypes
 19280  			}
 19281  			postIndex := iNdEx + intStringLen
 19282  			if postIndex < 0 {
 19283  				return ErrInvalidLengthTypes
 19284  			}
 19285  			if postIndex > l {
 19286  				return io.ErrUnexpectedEOF
 19287  			}
 19288  			m.SecretID = string(dAtA[iNdEx:postIndex])
 19289  			iNdEx = postIndex
 19290  		case 2:
 19291  			if wireType != 2 {
 19292  				return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
 19293  			}
 19294  			var stringLen uint64
 19295  			for shift := uint(0); ; shift += 7 {
 19296  				if shift >= 64 {
 19297  					return ErrIntOverflowTypes
 19298  				}
 19299  				if iNdEx >= l {
 19300  					return io.ErrUnexpectedEOF
 19301  				}
 19302  				b := dAtA[iNdEx]
 19303  				iNdEx++
 19304  				stringLen |= uint64(b&0x7F) << shift
 19305  				if b < 0x80 {
 19306  					break
 19307  				}
 19308  			}
 19309  			intStringLen := int(stringLen)
 19310  			if intStringLen < 0 {
 19311  				return ErrInvalidLengthTypes
 19312  			}
 19313  			postIndex := iNdEx + intStringLen
 19314  			if postIndex < 0 {
 19315  				return ErrInvalidLengthTypes
 19316  			}
 19317  			if postIndex > l {
 19318  				return io.ErrUnexpectedEOF
 19319  			}
 19320  			m.SecretName = string(dAtA[iNdEx:postIndex])
 19321  			iNdEx = postIndex
 19322  		case 3:
 19323  			if wireType != 2 {
 19324  				return fmt.Errorf("proto: wrong wireType = %d for field File", wireType)
 19325  			}
 19326  			var msglen int
 19327  			for shift := uint(0); ; shift += 7 {
 19328  				if shift >= 64 {
 19329  					return ErrIntOverflowTypes
 19330  				}
 19331  				if iNdEx >= l {
 19332  					return io.ErrUnexpectedEOF
 19333  				}
 19334  				b := dAtA[iNdEx]
 19335  				iNdEx++
 19336  				msglen |= int(b&0x7F) << shift
 19337  				if b < 0x80 {
 19338  					break
 19339  				}
 19340  			}
 19341  			if msglen < 0 {
 19342  				return ErrInvalidLengthTypes
 19343  			}
 19344  			postIndex := iNdEx + msglen
 19345  			if postIndex < 0 {
 19346  				return ErrInvalidLengthTypes
 19347  			}
 19348  			if postIndex > l {
 19349  				return io.ErrUnexpectedEOF
 19350  			}
 19351  			v := &FileTarget{}
 19352  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19353  				return err
 19354  			}
 19355  			m.Target = &SecretReference_File{v}
 19356  			iNdEx = postIndex
 19357  		default:
 19358  			iNdEx = preIndex
 19359  			skippy, err := skipTypes(dAtA[iNdEx:])
 19360  			if err != nil {
 19361  				return err
 19362  			}
 19363  			if skippy < 0 {
 19364  				return ErrInvalidLengthTypes
 19365  			}
 19366  			if (iNdEx + skippy) < 0 {
 19367  				return ErrInvalidLengthTypes
 19368  			}
 19369  			if (iNdEx + skippy) > l {
 19370  				return io.ErrUnexpectedEOF
 19371  			}
 19372  			iNdEx += skippy
 19373  		}
 19374  	}
 19375  
 19376  	if iNdEx > l {
 19377  		return io.ErrUnexpectedEOF
 19378  	}
 19379  	return nil
 19380  }
 19381  func (m *ConfigReference) Unmarshal(dAtA []byte) error {
 19382  	l := len(dAtA)
 19383  	iNdEx := 0
 19384  	for iNdEx < l {
 19385  		preIndex := iNdEx
 19386  		var wire uint64
 19387  		for shift := uint(0); ; shift += 7 {
 19388  			if shift >= 64 {
 19389  				return ErrIntOverflowTypes
 19390  			}
 19391  			if iNdEx >= l {
 19392  				return io.ErrUnexpectedEOF
 19393  			}
 19394  			b := dAtA[iNdEx]
 19395  			iNdEx++
 19396  			wire |= uint64(b&0x7F) << shift
 19397  			if b < 0x80 {
 19398  				break
 19399  			}
 19400  		}
 19401  		fieldNum := int32(wire >> 3)
 19402  		wireType := int(wire & 0x7)
 19403  		if wireType == 4 {
 19404  			return fmt.Errorf("proto: ConfigReference: wiretype end group for non-group")
 19405  		}
 19406  		if fieldNum <= 0 {
 19407  			return fmt.Errorf("proto: ConfigReference: illegal tag %d (wire type %d)", fieldNum, wire)
 19408  		}
 19409  		switch fieldNum {
 19410  		case 1:
 19411  			if wireType != 2 {
 19412  				return fmt.Errorf("proto: wrong wireType = %d for field ConfigID", wireType)
 19413  			}
 19414  			var stringLen uint64
 19415  			for shift := uint(0); ; shift += 7 {
 19416  				if shift >= 64 {
 19417  					return ErrIntOverflowTypes
 19418  				}
 19419  				if iNdEx >= l {
 19420  					return io.ErrUnexpectedEOF
 19421  				}
 19422  				b := dAtA[iNdEx]
 19423  				iNdEx++
 19424  				stringLen |= uint64(b&0x7F) << shift
 19425  				if b < 0x80 {
 19426  					break
 19427  				}
 19428  			}
 19429  			intStringLen := int(stringLen)
 19430  			if intStringLen < 0 {
 19431  				return ErrInvalidLengthTypes
 19432  			}
 19433  			postIndex := iNdEx + intStringLen
 19434  			if postIndex < 0 {
 19435  				return ErrInvalidLengthTypes
 19436  			}
 19437  			if postIndex > l {
 19438  				return io.ErrUnexpectedEOF
 19439  			}
 19440  			m.ConfigID = string(dAtA[iNdEx:postIndex])
 19441  			iNdEx = postIndex
 19442  		case 2:
 19443  			if wireType != 2 {
 19444  				return fmt.Errorf("proto: wrong wireType = %d for field ConfigName", wireType)
 19445  			}
 19446  			var stringLen uint64
 19447  			for shift := uint(0); ; shift += 7 {
 19448  				if shift >= 64 {
 19449  					return ErrIntOverflowTypes
 19450  				}
 19451  				if iNdEx >= l {
 19452  					return io.ErrUnexpectedEOF
 19453  				}
 19454  				b := dAtA[iNdEx]
 19455  				iNdEx++
 19456  				stringLen |= uint64(b&0x7F) << shift
 19457  				if b < 0x80 {
 19458  					break
 19459  				}
 19460  			}
 19461  			intStringLen := int(stringLen)
 19462  			if intStringLen < 0 {
 19463  				return ErrInvalidLengthTypes
 19464  			}
 19465  			postIndex := iNdEx + intStringLen
 19466  			if postIndex < 0 {
 19467  				return ErrInvalidLengthTypes
 19468  			}
 19469  			if postIndex > l {
 19470  				return io.ErrUnexpectedEOF
 19471  			}
 19472  			m.ConfigName = string(dAtA[iNdEx:postIndex])
 19473  			iNdEx = postIndex
 19474  		case 3:
 19475  			if wireType != 2 {
 19476  				return fmt.Errorf("proto: wrong wireType = %d for field File", wireType)
 19477  			}
 19478  			var msglen int
 19479  			for shift := uint(0); ; shift += 7 {
 19480  				if shift >= 64 {
 19481  					return ErrIntOverflowTypes
 19482  				}
 19483  				if iNdEx >= l {
 19484  					return io.ErrUnexpectedEOF
 19485  				}
 19486  				b := dAtA[iNdEx]
 19487  				iNdEx++
 19488  				msglen |= int(b&0x7F) << shift
 19489  				if b < 0x80 {
 19490  					break
 19491  				}
 19492  			}
 19493  			if msglen < 0 {
 19494  				return ErrInvalidLengthTypes
 19495  			}
 19496  			postIndex := iNdEx + msglen
 19497  			if postIndex < 0 {
 19498  				return ErrInvalidLengthTypes
 19499  			}
 19500  			if postIndex > l {
 19501  				return io.ErrUnexpectedEOF
 19502  			}
 19503  			v := &FileTarget{}
 19504  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19505  				return err
 19506  			}
 19507  			m.Target = &ConfigReference_File{v}
 19508  			iNdEx = postIndex
 19509  		case 4:
 19510  			if wireType != 2 {
 19511  				return fmt.Errorf("proto: wrong wireType = %d for field Runtime", wireType)
 19512  			}
 19513  			var msglen int
 19514  			for shift := uint(0); ; shift += 7 {
 19515  				if shift >= 64 {
 19516  					return ErrIntOverflowTypes
 19517  				}
 19518  				if iNdEx >= l {
 19519  					return io.ErrUnexpectedEOF
 19520  				}
 19521  				b := dAtA[iNdEx]
 19522  				iNdEx++
 19523  				msglen |= int(b&0x7F) << shift
 19524  				if b < 0x80 {
 19525  					break
 19526  				}
 19527  			}
 19528  			if msglen < 0 {
 19529  				return ErrInvalidLengthTypes
 19530  			}
 19531  			postIndex := iNdEx + msglen
 19532  			if postIndex < 0 {
 19533  				return ErrInvalidLengthTypes
 19534  			}
 19535  			if postIndex > l {
 19536  				return io.ErrUnexpectedEOF
 19537  			}
 19538  			v := &RuntimeTarget{}
 19539  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19540  				return err
 19541  			}
 19542  			m.Target = &ConfigReference_Runtime{v}
 19543  			iNdEx = postIndex
 19544  		default:
 19545  			iNdEx = preIndex
 19546  			skippy, err := skipTypes(dAtA[iNdEx:])
 19547  			if err != nil {
 19548  				return err
 19549  			}
 19550  			if skippy < 0 {
 19551  				return ErrInvalidLengthTypes
 19552  			}
 19553  			if (iNdEx + skippy) < 0 {
 19554  				return ErrInvalidLengthTypes
 19555  			}
 19556  			if (iNdEx + skippy) > l {
 19557  				return io.ErrUnexpectedEOF
 19558  			}
 19559  			iNdEx += skippy
 19560  		}
 19561  	}
 19562  
 19563  	if iNdEx > l {
 19564  		return io.ErrUnexpectedEOF
 19565  	}
 19566  	return nil
 19567  }
 19568  func (m *BlacklistedCertificate) Unmarshal(dAtA []byte) error {
 19569  	l := len(dAtA)
 19570  	iNdEx := 0
 19571  	for iNdEx < l {
 19572  		preIndex := iNdEx
 19573  		var wire uint64
 19574  		for shift := uint(0); ; shift += 7 {
 19575  			if shift >= 64 {
 19576  				return ErrIntOverflowTypes
 19577  			}
 19578  			if iNdEx >= l {
 19579  				return io.ErrUnexpectedEOF
 19580  			}
 19581  			b := dAtA[iNdEx]
 19582  			iNdEx++
 19583  			wire |= uint64(b&0x7F) << shift
 19584  			if b < 0x80 {
 19585  				break
 19586  			}
 19587  		}
 19588  		fieldNum := int32(wire >> 3)
 19589  		wireType := int(wire & 0x7)
 19590  		if wireType == 4 {
 19591  			return fmt.Errorf("proto: BlacklistedCertificate: wiretype end group for non-group")
 19592  		}
 19593  		if fieldNum <= 0 {
 19594  			return fmt.Errorf("proto: BlacklistedCertificate: illegal tag %d (wire type %d)", fieldNum, wire)
 19595  		}
 19596  		switch fieldNum {
 19597  		case 1:
 19598  			if wireType != 2 {
 19599  				return fmt.Errorf("proto: wrong wireType = %d for field Expiry", wireType)
 19600  			}
 19601  			var msglen int
 19602  			for shift := uint(0); ; shift += 7 {
 19603  				if shift >= 64 {
 19604  					return ErrIntOverflowTypes
 19605  				}
 19606  				if iNdEx >= l {
 19607  					return io.ErrUnexpectedEOF
 19608  				}
 19609  				b := dAtA[iNdEx]
 19610  				iNdEx++
 19611  				msglen |= int(b&0x7F) << shift
 19612  				if b < 0x80 {
 19613  					break
 19614  				}
 19615  			}
 19616  			if msglen < 0 {
 19617  				return ErrInvalidLengthTypes
 19618  			}
 19619  			postIndex := iNdEx + msglen
 19620  			if postIndex < 0 {
 19621  				return ErrInvalidLengthTypes
 19622  			}
 19623  			if postIndex > l {
 19624  				return io.ErrUnexpectedEOF
 19625  			}
 19626  			if m.Expiry == nil {
 19627  				m.Expiry = &types.Timestamp{}
 19628  			}
 19629  			if err := m.Expiry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19630  				return err
 19631  			}
 19632  			iNdEx = postIndex
 19633  		default:
 19634  			iNdEx = preIndex
 19635  			skippy, err := skipTypes(dAtA[iNdEx:])
 19636  			if err != nil {
 19637  				return err
 19638  			}
 19639  			if skippy < 0 {
 19640  				return ErrInvalidLengthTypes
 19641  			}
 19642  			if (iNdEx + skippy) < 0 {
 19643  				return ErrInvalidLengthTypes
 19644  			}
 19645  			if (iNdEx + skippy) > l {
 19646  				return io.ErrUnexpectedEOF
 19647  			}
 19648  			iNdEx += skippy
 19649  		}
 19650  	}
 19651  
 19652  	if iNdEx > l {
 19653  		return io.ErrUnexpectedEOF
 19654  	}
 19655  	return nil
 19656  }
 19657  func (m *HealthConfig) Unmarshal(dAtA []byte) error {
 19658  	l := len(dAtA)
 19659  	iNdEx := 0
 19660  	for iNdEx < l {
 19661  		preIndex := iNdEx
 19662  		var wire uint64
 19663  		for shift := uint(0); ; shift += 7 {
 19664  			if shift >= 64 {
 19665  				return ErrIntOverflowTypes
 19666  			}
 19667  			if iNdEx >= l {
 19668  				return io.ErrUnexpectedEOF
 19669  			}
 19670  			b := dAtA[iNdEx]
 19671  			iNdEx++
 19672  			wire |= uint64(b&0x7F) << shift
 19673  			if b < 0x80 {
 19674  				break
 19675  			}
 19676  		}
 19677  		fieldNum := int32(wire >> 3)
 19678  		wireType := int(wire & 0x7)
 19679  		if wireType == 4 {
 19680  			return fmt.Errorf("proto: HealthConfig: wiretype end group for non-group")
 19681  		}
 19682  		if fieldNum <= 0 {
 19683  			return fmt.Errorf("proto: HealthConfig: illegal tag %d (wire type %d)", fieldNum, wire)
 19684  		}
 19685  		switch fieldNum {
 19686  		case 1:
 19687  			if wireType != 2 {
 19688  				return fmt.Errorf("proto: wrong wireType = %d for field Test", wireType)
 19689  			}
 19690  			var stringLen uint64
 19691  			for shift := uint(0); ; shift += 7 {
 19692  				if shift >= 64 {
 19693  					return ErrIntOverflowTypes
 19694  				}
 19695  				if iNdEx >= l {
 19696  					return io.ErrUnexpectedEOF
 19697  				}
 19698  				b := dAtA[iNdEx]
 19699  				iNdEx++
 19700  				stringLen |= uint64(b&0x7F) << shift
 19701  				if b < 0x80 {
 19702  					break
 19703  				}
 19704  			}
 19705  			intStringLen := int(stringLen)
 19706  			if intStringLen < 0 {
 19707  				return ErrInvalidLengthTypes
 19708  			}
 19709  			postIndex := iNdEx + intStringLen
 19710  			if postIndex < 0 {
 19711  				return ErrInvalidLengthTypes
 19712  			}
 19713  			if postIndex > l {
 19714  				return io.ErrUnexpectedEOF
 19715  			}
 19716  			m.Test = append(m.Test, string(dAtA[iNdEx:postIndex]))
 19717  			iNdEx = postIndex
 19718  		case 2:
 19719  			if wireType != 2 {
 19720  				return fmt.Errorf("proto: wrong wireType = %d for field Interval", wireType)
 19721  			}
 19722  			var msglen int
 19723  			for shift := uint(0); ; shift += 7 {
 19724  				if shift >= 64 {
 19725  					return ErrIntOverflowTypes
 19726  				}
 19727  				if iNdEx >= l {
 19728  					return io.ErrUnexpectedEOF
 19729  				}
 19730  				b := dAtA[iNdEx]
 19731  				iNdEx++
 19732  				msglen |= int(b&0x7F) << shift
 19733  				if b < 0x80 {
 19734  					break
 19735  				}
 19736  			}
 19737  			if msglen < 0 {
 19738  				return ErrInvalidLengthTypes
 19739  			}
 19740  			postIndex := iNdEx + msglen
 19741  			if postIndex < 0 {
 19742  				return ErrInvalidLengthTypes
 19743  			}
 19744  			if postIndex > l {
 19745  				return io.ErrUnexpectedEOF
 19746  			}
 19747  			if m.Interval == nil {
 19748  				m.Interval = &types.Duration{}
 19749  			}
 19750  			if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19751  				return err
 19752  			}
 19753  			iNdEx = postIndex
 19754  		case 3:
 19755  			if wireType != 2 {
 19756  				return fmt.Errorf("proto: wrong wireType = %d for field Timeout", wireType)
 19757  			}
 19758  			var msglen int
 19759  			for shift := uint(0); ; shift += 7 {
 19760  				if shift >= 64 {
 19761  					return ErrIntOverflowTypes
 19762  				}
 19763  				if iNdEx >= l {
 19764  					return io.ErrUnexpectedEOF
 19765  				}
 19766  				b := dAtA[iNdEx]
 19767  				iNdEx++
 19768  				msglen |= int(b&0x7F) << shift
 19769  				if b < 0x80 {
 19770  					break
 19771  				}
 19772  			}
 19773  			if msglen < 0 {
 19774  				return ErrInvalidLengthTypes
 19775  			}
 19776  			postIndex := iNdEx + msglen
 19777  			if postIndex < 0 {
 19778  				return ErrInvalidLengthTypes
 19779  			}
 19780  			if postIndex > l {
 19781  				return io.ErrUnexpectedEOF
 19782  			}
 19783  			if m.Timeout == nil {
 19784  				m.Timeout = &types.Duration{}
 19785  			}
 19786  			if err := m.Timeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19787  				return err
 19788  			}
 19789  			iNdEx = postIndex
 19790  		case 4:
 19791  			if wireType != 0 {
 19792  				return fmt.Errorf("proto: wrong wireType = %d for field Retries", wireType)
 19793  			}
 19794  			m.Retries = 0
 19795  			for shift := uint(0); ; shift += 7 {
 19796  				if shift >= 64 {
 19797  					return ErrIntOverflowTypes
 19798  				}
 19799  				if iNdEx >= l {
 19800  					return io.ErrUnexpectedEOF
 19801  				}
 19802  				b := dAtA[iNdEx]
 19803  				iNdEx++
 19804  				m.Retries |= int32(b&0x7F) << shift
 19805  				if b < 0x80 {
 19806  					break
 19807  				}
 19808  			}
 19809  		case 5:
 19810  			if wireType != 2 {
 19811  				return fmt.Errorf("proto: wrong wireType = %d for field StartPeriod", wireType)
 19812  			}
 19813  			var msglen int
 19814  			for shift := uint(0); ; shift += 7 {
 19815  				if shift >= 64 {
 19816  					return ErrIntOverflowTypes
 19817  				}
 19818  				if iNdEx >= l {
 19819  					return io.ErrUnexpectedEOF
 19820  				}
 19821  				b := dAtA[iNdEx]
 19822  				iNdEx++
 19823  				msglen |= int(b&0x7F) << shift
 19824  				if b < 0x80 {
 19825  					break
 19826  				}
 19827  			}
 19828  			if msglen < 0 {
 19829  				return ErrInvalidLengthTypes
 19830  			}
 19831  			postIndex := iNdEx + msglen
 19832  			if postIndex < 0 {
 19833  				return ErrInvalidLengthTypes
 19834  			}
 19835  			if postIndex > l {
 19836  				return io.ErrUnexpectedEOF
 19837  			}
 19838  			if m.StartPeriod == nil {
 19839  				m.StartPeriod = &types.Duration{}
 19840  			}
 19841  			if err := m.StartPeriod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19842  				return err
 19843  			}
 19844  			iNdEx = postIndex
 19845  		default:
 19846  			iNdEx = preIndex
 19847  			skippy, err := skipTypes(dAtA[iNdEx:])
 19848  			if err != nil {
 19849  				return err
 19850  			}
 19851  			if skippy < 0 {
 19852  				return ErrInvalidLengthTypes
 19853  			}
 19854  			if (iNdEx + skippy) < 0 {
 19855  				return ErrInvalidLengthTypes
 19856  			}
 19857  			if (iNdEx + skippy) > l {
 19858  				return io.ErrUnexpectedEOF
 19859  			}
 19860  			iNdEx += skippy
 19861  		}
 19862  	}
 19863  
 19864  	if iNdEx > l {
 19865  		return io.ErrUnexpectedEOF
 19866  	}
 19867  	return nil
 19868  }
 19869  func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error {
 19870  	l := len(dAtA)
 19871  	iNdEx := 0
 19872  	for iNdEx < l {
 19873  		preIndex := iNdEx
 19874  		var wire uint64
 19875  		for shift := uint(0); ; shift += 7 {
 19876  			if shift >= 64 {
 19877  				return ErrIntOverflowTypes
 19878  			}
 19879  			if iNdEx >= l {
 19880  				return io.ErrUnexpectedEOF
 19881  			}
 19882  			b := dAtA[iNdEx]
 19883  			iNdEx++
 19884  			wire |= uint64(b&0x7F) << shift
 19885  			if b < 0x80 {
 19886  				break
 19887  			}
 19888  		}
 19889  		fieldNum := int32(wire >> 3)
 19890  		wireType := int(wire & 0x7)
 19891  		if wireType == 4 {
 19892  			return fmt.Errorf("proto: MaybeEncryptedRecord: wiretype end group for non-group")
 19893  		}
 19894  		if fieldNum <= 0 {
 19895  			return fmt.Errorf("proto: MaybeEncryptedRecord: illegal tag %d (wire type %d)", fieldNum, wire)
 19896  		}
 19897  		switch fieldNum {
 19898  		case 1:
 19899  			if wireType != 0 {
 19900  				return fmt.Errorf("proto: wrong wireType = %d for field Algorithm", wireType)
 19901  			}
 19902  			m.Algorithm = 0
 19903  			for shift := uint(0); ; shift += 7 {
 19904  				if shift >= 64 {
 19905  					return ErrIntOverflowTypes
 19906  				}
 19907  				if iNdEx >= l {
 19908  					return io.ErrUnexpectedEOF
 19909  				}
 19910  				b := dAtA[iNdEx]
 19911  				iNdEx++
 19912  				m.Algorithm |= MaybeEncryptedRecord_Algorithm(b&0x7F) << shift
 19913  				if b < 0x80 {
 19914  					break
 19915  				}
 19916  			}
 19917  		case 2:
 19918  			if wireType != 2 {
 19919  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 19920  			}
 19921  			var byteLen int
 19922  			for shift := uint(0); ; shift += 7 {
 19923  				if shift >= 64 {
 19924  					return ErrIntOverflowTypes
 19925  				}
 19926  				if iNdEx >= l {
 19927  					return io.ErrUnexpectedEOF
 19928  				}
 19929  				b := dAtA[iNdEx]
 19930  				iNdEx++
 19931  				byteLen |= int(b&0x7F) << shift
 19932  				if b < 0x80 {
 19933  					break
 19934  				}
 19935  			}
 19936  			if byteLen < 0 {
 19937  				return ErrInvalidLengthTypes
 19938  			}
 19939  			postIndex := iNdEx + byteLen
 19940  			if postIndex < 0 {
 19941  				return ErrInvalidLengthTypes
 19942  			}
 19943  			if postIndex > l {
 19944  				return io.ErrUnexpectedEOF
 19945  			}
 19946  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
 19947  			if m.Data == nil {
 19948  				m.Data = []byte{}
 19949  			}
 19950  			iNdEx = postIndex
 19951  		case 3:
 19952  			if wireType != 2 {
 19953  				return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType)
 19954  			}
 19955  			var byteLen int
 19956  			for shift := uint(0); ; shift += 7 {
 19957  				if shift >= 64 {
 19958  					return ErrIntOverflowTypes
 19959  				}
 19960  				if iNdEx >= l {
 19961  					return io.ErrUnexpectedEOF
 19962  				}
 19963  				b := dAtA[iNdEx]
 19964  				iNdEx++
 19965  				byteLen |= int(b&0x7F) << shift
 19966  				if b < 0x80 {
 19967  					break
 19968  				}
 19969  			}
 19970  			if byteLen < 0 {
 19971  				return ErrInvalidLengthTypes
 19972  			}
 19973  			postIndex := iNdEx + byteLen
 19974  			if postIndex < 0 {
 19975  				return ErrInvalidLengthTypes
 19976  			}
 19977  			if postIndex > l {
 19978  				return io.ErrUnexpectedEOF
 19979  			}
 19980  			m.Nonce = append(m.Nonce[:0], dAtA[iNdEx:postIndex]...)
 19981  			if m.Nonce == nil {
 19982  				m.Nonce = []byte{}
 19983  			}
 19984  			iNdEx = postIndex
 19985  		default:
 19986  			iNdEx = preIndex
 19987  			skippy, err := skipTypes(dAtA[iNdEx:])
 19988  			if err != nil {
 19989  				return err
 19990  			}
 19991  			if skippy < 0 {
 19992  				return ErrInvalidLengthTypes
 19993  			}
 19994  			if (iNdEx + skippy) < 0 {
 19995  				return ErrInvalidLengthTypes
 19996  			}
 19997  			if (iNdEx + skippy) > l {
 19998  				return io.ErrUnexpectedEOF
 19999  			}
 20000  			iNdEx += skippy
 20001  		}
 20002  	}
 20003  
 20004  	if iNdEx > l {
 20005  		return io.ErrUnexpectedEOF
 20006  	}
 20007  	return nil
 20008  }
 20009  func (m *RootRotation) Unmarshal(dAtA []byte) error {
 20010  	l := len(dAtA)
 20011  	iNdEx := 0
 20012  	for iNdEx < l {
 20013  		preIndex := iNdEx
 20014  		var wire uint64
 20015  		for shift := uint(0); ; shift += 7 {
 20016  			if shift >= 64 {
 20017  				return ErrIntOverflowTypes
 20018  			}
 20019  			if iNdEx >= l {
 20020  				return io.ErrUnexpectedEOF
 20021  			}
 20022  			b := dAtA[iNdEx]
 20023  			iNdEx++
 20024  			wire |= uint64(b&0x7F) << shift
 20025  			if b < 0x80 {
 20026  				break
 20027  			}
 20028  		}
 20029  		fieldNum := int32(wire >> 3)
 20030  		wireType := int(wire & 0x7)
 20031  		if wireType == 4 {
 20032  			return fmt.Errorf("proto: RootRotation: wiretype end group for non-group")
 20033  		}
 20034  		if fieldNum <= 0 {
 20035  			return fmt.Errorf("proto: RootRotation: illegal tag %d (wire type %d)", fieldNum, wire)
 20036  		}
 20037  		switch fieldNum {
 20038  		case 1:
 20039  			if wireType != 2 {
 20040  				return fmt.Errorf("proto: wrong wireType = %d for field CACert", wireType)
 20041  			}
 20042  			var byteLen int
 20043  			for shift := uint(0); ; shift += 7 {
 20044  				if shift >= 64 {
 20045  					return ErrIntOverflowTypes
 20046  				}
 20047  				if iNdEx >= l {
 20048  					return io.ErrUnexpectedEOF
 20049  				}
 20050  				b := dAtA[iNdEx]
 20051  				iNdEx++
 20052  				byteLen |= int(b&0x7F) << shift
 20053  				if b < 0x80 {
 20054  					break
 20055  				}
 20056  			}
 20057  			if byteLen < 0 {
 20058  				return ErrInvalidLengthTypes
 20059  			}
 20060  			postIndex := iNdEx + byteLen
 20061  			if postIndex < 0 {
 20062  				return ErrInvalidLengthTypes
 20063  			}
 20064  			if postIndex > l {
 20065  				return io.ErrUnexpectedEOF
 20066  			}
 20067  			m.CACert = append(m.CACert[:0], dAtA[iNdEx:postIndex]...)
 20068  			if m.CACert == nil {
 20069  				m.CACert = []byte{}
 20070  			}
 20071  			iNdEx = postIndex
 20072  		case 2:
 20073  			if wireType != 2 {
 20074  				return fmt.Errorf("proto: wrong wireType = %d for field CAKey", wireType)
 20075  			}
 20076  			var byteLen int
 20077  			for shift := uint(0); ; shift += 7 {
 20078  				if shift >= 64 {
 20079  					return ErrIntOverflowTypes
 20080  				}
 20081  				if iNdEx >= l {
 20082  					return io.ErrUnexpectedEOF
 20083  				}
 20084  				b := dAtA[iNdEx]
 20085  				iNdEx++
 20086  				byteLen |= int(b&0x7F) << shift
 20087  				if b < 0x80 {
 20088  					break
 20089  				}
 20090  			}
 20091  			if byteLen < 0 {
 20092  				return ErrInvalidLengthTypes
 20093  			}
 20094  			postIndex := iNdEx + byteLen
 20095  			if postIndex < 0 {
 20096  				return ErrInvalidLengthTypes
 20097  			}
 20098  			if postIndex > l {
 20099  				return io.ErrUnexpectedEOF
 20100  			}
 20101  			m.CAKey = append(m.CAKey[:0], dAtA[iNdEx:postIndex]...)
 20102  			if m.CAKey == nil {
 20103  				m.CAKey = []byte{}
 20104  			}
 20105  			iNdEx = postIndex
 20106  		case 3:
 20107  			if wireType != 2 {
 20108  				return fmt.Errorf("proto: wrong wireType = %d for field CrossSignedCACert", wireType)
 20109  			}
 20110  			var byteLen int
 20111  			for shift := uint(0); ; shift += 7 {
 20112  				if shift >= 64 {
 20113  					return ErrIntOverflowTypes
 20114  				}
 20115  				if iNdEx >= l {
 20116  					return io.ErrUnexpectedEOF
 20117  				}
 20118  				b := dAtA[iNdEx]
 20119  				iNdEx++
 20120  				byteLen |= int(b&0x7F) << shift
 20121  				if b < 0x80 {
 20122  					break
 20123  				}
 20124  			}
 20125  			if byteLen < 0 {
 20126  				return ErrInvalidLengthTypes
 20127  			}
 20128  			postIndex := iNdEx + byteLen
 20129  			if postIndex < 0 {
 20130  				return ErrInvalidLengthTypes
 20131  			}
 20132  			if postIndex > l {
 20133  				return io.ErrUnexpectedEOF
 20134  			}
 20135  			m.CrossSignedCACert = append(m.CrossSignedCACert[:0], dAtA[iNdEx:postIndex]...)
 20136  			if m.CrossSignedCACert == nil {
 20137  				m.CrossSignedCACert = []byte{}
 20138  			}
 20139  			iNdEx = postIndex
 20140  		default:
 20141  			iNdEx = preIndex
 20142  			skippy, err := skipTypes(dAtA[iNdEx:])
 20143  			if err != nil {
 20144  				return err
 20145  			}
 20146  			if skippy < 0 {
 20147  				return ErrInvalidLengthTypes
 20148  			}
 20149  			if (iNdEx + skippy) < 0 {
 20150  				return ErrInvalidLengthTypes
 20151  			}
 20152  			if (iNdEx + skippy) > l {
 20153  				return io.ErrUnexpectedEOF
 20154  			}
 20155  			iNdEx += skippy
 20156  		}
 20157  	}
 20158  
 20159  	if iNdEx > l {
 20160  		return io.ErrUnexpectedEOF
 20161  	}
 20162  	return nil
 20163  }
 20164  func (m *Privileges) Unmarshal(dAtA []byte) error {
 20165  	l := len(dAtA)
 20166  	iNdEx := 0
 20167  	for iNdEx < l {
 20168  		preIndex := iNdEx
 20169  		var wire uint64
 20170  		for shift := uint(0); ; shift += 7 {
 20171  			if shift >= 64 {
 20172  				return ErrIntOverflowTypes
 20173  			}
 20174  			if iNdEx >= l {
 20175  				return io.ErrUnexpectedEOF
 20176  			}
 20177  			b := dAtA[iNdEx]
 20178  			iNdEx++
 20179  			wire |= uint64(b&0x7F) << shift
 20180  			if b < 0x80 {
 20181  				break
 20182  			}
 20183  		}
 20184  		fieldNum := int32(wire >> 3)
 20185  		wireType := int(wire & 0x7)
 20186  		if wireType == 4 {
 20187  			return fmt.Errorf("proto: Privileges: wiretype end group for non-group")
 20188  		}
 20189  		if fieldNum <= 0 {
 20190  			return fmt.Errorf("proto: Privileges: illegal tag %d (wire type %d)", fieldNum, wire)
 20191  		}
 20192  		switch fieldNum {
 20193  		case 1:
 20194  			if wireType != 2 {
 20195  				return fmt.Errorf("proto: wrong wireType = %d for field CredentialSpec", wireType)
 20196  			}
 20197  			var msglen int
 20198  			for shift := uint(0); ; shift += 7 {
 20199  				if shift >= 64 {
 20200  					return ErrIntOverflowTypes
 20201  				}
 20202  				if iNdEx >= l {
 20203  					return io.ErrUnexpectedEOF
 20204  				}
 20205  				b := dAtA[iNdEx]
 20206  				iNdEx++
 20207  				msglen |= int(b&0x7F) << shift
 20208  				if b < 0x80 {
 20209  					break
 20210  				}
 20211  			}
 20212  			if msglen < 0 {
 20213  				return ErrInvalidLengthTypes
 20214  			}
 20215  			postIndex := iNdEx + msglen
 20216  			if postIndex < 0 {
 20217  				return ErrInvalidLengthTypes
 20218  			}
 20219  			if postIndex > l {
 20220  				return io.ErrUnexpectedEOF
 20221  			}
 20222  			if m.CredentialSpec == nil {
 20223  				m.CredentialSpec = &Privileges_CredentialSpec{}
 20224  			}
 20225  			if err := m.CredentialSpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20226  				return err
 20227  			}
 20228  			iNdEx = postIndex
 20229  		case 2:
 20230  			if wireType != 2 {
 20231  				return fmt.Errorf("proto: wrong wireType = %d for field SELinuxContext", wireType)
 20232  			}
 20233  			var msglen int
 20234  			for shift := uint(0); ; shift += 7 {
 20235  				if shift >= 64 {
 20236  					return ErrIntOverflowTypes
 20237  				}
 20238  				if iNdEx >= l {
 20239  					return io.ErrUnexpectedEOF
 20240  				}
 20241  				b := dAtA[iNdEx]
 20242  				iNdEx++
 20243  				msglen |= int(b&0x7F) << shift
 20244  				if b < 0x80 {
 20245  					break
 20246  				}
 20247  			}
 20248  			if msglen < 0 {
 20249  				return ErrInvalidLengthTypes
 20250  			}
 20251  			postIndex := iNdEx + msglen
 20252  			if postIndex < 0 {
 20253  				return ErrInvalidLengthTypes
 20254  			}
 20255  			if postIndex > l {
 20256  				return io.ErrUnexpectedEOF
 20257  			}
 20258  			if m.SELinuxContext == nil {
 20259  				m.SELinuxContext = &Privileges_SELinuxContext{}
 20260  			}
 20261  			if err := m.SELinuxContext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20262  				return err
 20263  			}
 20264  			iNdEx = postIndex
 20265  		default:
 20266  			iNdEx = preIndex
 20267  			skippy, err := skipTypes(dAtA[iNdEx:])
 20268  			if err != nil {
 20269  				return err
 20270  			}
 20271  			if skippy < 0 {
 20272  				return ErrInvalidLengthTypes
 20273  			}
 20274  			if (iNdEx + skippy) < 0 {
 20275  				return ErrInvalidLengthTypes
 20276  			}
 20277  			if (iNdEx + skippy) > l {
 20278  				return io.ErrUnexpectedEOF
 20279  			}
 20280  			iNdEx += skippy
 20281  		}
 20282  	}
 20283  
 20284  	if iNdEx > l {
 20285  		return io.ErrUnexpectedEOF
 20286  	}
 20287  	return nil
 20288  }
 20289  func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error {
 20290  	l := len(dAtA)
 20291  	iNdEx := 0
 20292  	for iNdEx < l {
 20293  		preIndex := iNdEx
 20294  		var wire uint64
 20295  		for shift := uint(0); ; shift += 7 {
 20296  			if shift >= 64 {
 20297  				return ErrIntOverflowTypes
 20298  			}
 20299  			if iNdEx >= l {
 20300  				return io.ErrUnexpectedEOF
 20301  			}
 20302  			b := dAtA[iNdEx]
 20303  			iNdEx++
 20304  			wire |= uint64(b&0x7F) << shift
 20305  			if b < 0x80 {
 20306  				break
 20307  			}
 20308  		}
 20309  		fieldNum := int32(wire >> 3)
 20310  		wireType := int(wire & 0x7)
 20311  		if wireType == 4 {
 20312  			return fmt.Errorf("proto: CredentialSpec: wiretype end group for non-group")
 20313  		}
 20314  		if fieldNum <= 0 {
 20315  			return fmt.Errorf("proto: CredentialSpec: illegal tag %d (wire type %d)", fieldNum, wire)
 20316  		}
 20317  		switch fieldNum {
 20318  		case 1:
 20319  			if wireType != 2 {
 20320  				return fmt.Errorf("proto: wrong wireType = %d for field File", wireType)
 20321  			}
 20322  			var stringLen uint64
 20323  			for shift := uint(0); ; shift += 7 {
 20324  				if shift >= 64 {
 20325  					return ErrIntOverflowTypes
 20326  				}
 20327  				if iNdEx >= l {
 20328  					return io.ErrUnexpectedEOF
 20329  				}
 20330  				b := dAtA[iNdEx]
 20331  				iNdEx++
 20332  				stringLen |= uint64(b&0x7F) << shift
 20333  				if b < 0x80 {
 20334  					break
 20335  				}
 20336  			}
 20337  			intStringLen := int(stringLen)
 20338  			if intStringLen < 0 {
 20339  				return ErrInvalidLengthTypes
 20340  			}
 20341  			postIndex := iNdEx + intStringLen
 20342  			if postIndex < 0 {
 20343  				return ErrInvalidLengthTypes
 20344  			}
 20345  			if postIndex > l {
 20346  				return io.ErrUnexpectedEOF
 20347  			}
 20348  			m.Source = &Privileges_CredentialSpec_File{string(dAtA[iNdEx:postIndex])}
 20349  			iNdEx = postIndex
 20350  		case 2:
 20351  			if wireType != 2 {
 20352  				return fmt.Errorf("proto: wrong wireType = %d for field Registry", wireType)
 20353  			}
 20354  			var stringLen uint64
 20355  			for shift := uint(0); ; shift += 7 {
 20356  				if shift >= 64 {
 20357  					return ErrIntOverflowTypes
 20358  				}
 20359  				if iNdEx >= l {
 20360  					return io.ErrUnexpectedEOF
 20361  				}
 20362  				b := dAtA[iNdEx]
 20363  				iNdEx++
 20364  				stringLen |= uint64(b&0x7F) << shift
 20365  				if b < 0x80 {
 20366  					break
 20367  				}
 20368  			}
 20369  			intStringLen := int(stringLen)
 20370  			if intStringLen < 0 {
 20371  				return ErrInvalidLengthTypes
 20372  			}
 20373  			postIndex := iNdEx + intStringLen
 20374  			if postIndex < 0 {
 20375  				return ErrInvalidLengthTypes
 20376  			}
 20377  			if postIndex > l {
 20378  				return io.ErrUnexpectedEOF
 20379  			}
 20380  			m.Source = &Privileges_CredentialSpec_Registry{string(dAtA[iNdEx:postIndex])}
 20381  			iNdEx = postIndex
 20382  		case 3:
 20383  			if wireType != 2 {
 20384  				return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType)
 20385  			}
 20386  			var stringLen uint64
 20387  			for shift := uint(0); ; shift += 7 {
 20388  				if shift >= 64 {
 20389  					return ErrIntOverflowTypes
 20390  				}
 20391  				if iNdEx >= l {
 20392  					return io.ErrUnexpectedEOF
 20393  				}
 20394  				b := dAtA[iNdEx]
 20395  				iNdEx++
 20396  				stringLen |= uint64(b&0x7F) << shift
 20397  				if b < 0x80 {
 20398  					break
 20399  				}
 20400  			}
 20401  			intStringLen := int(stringLen)
 20402  			if intStringLen < 0 {
 20403  				return ErrInvalidLengthTypes
 20404  			}
 20405  			postIndex := iNdEx + intStringLen
 20406  			if postIndex < 0 {
 20407  				return ErrInvalidLengthTypes
 20408  			}
 20409  			if postIndex > l {
 20410  				return io.ErrUnexpectedEOF
 20411  			}
 20412  			m.Source = &Privileges_CredentialSpec_Config{string(dAtA[iNdEx:postIndex])}
 20413  			iNdEx = postIndex
 20414  		default:
 20415  			iNdEx = preIndex
 20416  			skippy, err := skipTypes(dAtA[iNdEx:])
 20417  			if err != nil {
 20418  				return err
 20419  			}
 20420  			if skippy < 0 {
 20421  				return ErrInvalidLengthTypes
 20422  			}
 20423  			if (iNdEx + skippy) < 0 {
 20424  				return ErrInvalidLengthTypes
 20425  			}
 20426  			if (iNdEx + skippy) > l {
 20427  				return io.ErrUnexpectedEOF
 20428  			}
 20429  			iNdEx += skippy
 20430  		}
 20431  	}
 20432  
 20433  	if iNdEx > l {
 20434  		return io.ErrUnexpectedEOF
 20435  	}
 20436  	return nil
 20437  }
 20438  func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error {
 20439  	l := len(dAtA)
 20440  	iNdEx := 0
 20441  	for iNdEx < l {
 20442  		preIndex := iNdEx
 20443  		var wire uint64
 20444  		for shift := uint(0); ; shift += 7 {
 20445  			if shift >= 64 {
 20446  				return ErrIntOverflowTypes
 20447  			}
 20448  			if iNdEx >= l {
 20449  				return io.ErrUnexpectedEOF
 20450  			}
 20451  			b := dAtA[iNdEx]
 20452  			iNdEx++
 20453  			wire |= uint64(b&0x7F) << shift
 20454  			if b < 0x80 {
 20455  				break
 20456  			}
 20457  		}
 20458  		fieldNum := int32(wire >> 3)
 20459  		wireType := int(wire & 0x7)
 20460  		if wireType == 4 {
 20461  			return fmt.Errorf("proto: SELinuxContext: wiretype end group for non-group")
 20462  		}
 20463  		if fieldNum <= 0 {
 20464  			return fmt.Errorf("proto: SELinuxContext: illegal tag %d (wire type %d)", fieldNum, wire)
 20465  		}
 20466  		switch fieldNum {
 20467  		case 1:
 20468  			if wireType != 0 {
 20469  				return fmt.Errorf("proto: wrong wireType = %d for field Disable", wireType)
 20470  			}
 20471  			var v int
 20472  			for shift := uint(0); ; shift += 7 {
 20473  				if shift >= 64 {
 20474  					return ErrIntOverflowTypes
 20475  				}
 20476  				if iNdEx >= l {
 20477  					return io.ErrUnexpectedEOF
 20478  				}
 20479  				b := dAtA[iNdEx]
 20480  				iNdEx++
 20481  				v |= int(b&0x7F) << shift
 20482  				if b < 0x80 {
 20483  					break
 20484  				}
 20485  			}
 20486  			m.Disable = bool(v != 0)
 20487  		case 2:
 20488  			if wireType != 2 {
 20489  				return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
 20490  			}
 20491  			var stringLen uint64
 20492  			for shift := uint(0); ; shift += 7 {
 20493  				if shift >= 64 {
 20494  					return ErrIntOverflowTypes
 20495  				}
 20496  				if iNdEx >= l {
 20497  					return io.ErrUnexpectedEOF
 20498  				}
 20499  				b := dAtA[iNdEx]
 20500  				iNdEx++
 20501  				stringLen |= uint64(b&0x7F) << shift
 20502  				if b < 0x80 {
 20503  					break
 20504  				}
 20505  			}
 20506  			intStringLen := int(stringLen)
 20507  			if intStringLen < 0 {
 20508  				return ErrInvalidLengthTypes
 20509  			}
 20510  			postIndex := iNdEx + intStringLen
 20511  			if postIndex < 0 {
 20512  				return ErrInvalidLengthTypes
 20513  			}
 20514  			if postIndex > l {
 20515  				return io.ErrUnexpectedEOF
 20516  			}
 20517  			m.User = string(dAtA[iNdEx:postIndex])
 20518  			iNdEx = postIndex
 20519  		case 3:
 20520  			if wireType != 2 {
 20521  				return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
 20522  			}
 20523  			var stringLen uint64
 20524  			for shift := uint(0); ; shift += 7 {
 20525  				if shift >= 64 {
 20526  					return ErrIntOverflowTypes
 20527  				}
 20528  				if iNdEx >= l {
 20529  					return io.ErrUnexpectedEOF
 20530  				}
 20531  				b := dAtA[iNdEx]
 20532  				iNdEx++
 20533  				stringLen |= uint64(b&0x7F) << shift
 20534  				if b < 0x80 {
 20535  					break
 20536  				}
 20537  			}
 20538  			intStringLen := int(stringLen)
 20539  			if intStringLen < 0 {
 20540  				return ErrInvalidLengthTypes
 20541  			}
 20542  			postIndex := iNdEx + intStringLen
 20543  			if postIndex < 0 {
 20544  				return ErrInvalidLengthTypes
 20545  			}
 20546  			if postIndex > l {
 20547  				return io.ErrUnexpectedEOF
 20548  			}
 20549  			m.Role = string(dAtA[iNdEx:postIndex])
 20550  			iNdEx = postIndex
 20551  		case 4:
 20552  			if wireType != 2 {
 20553  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
 20554  			}
 20555  			var stringLen uint64
 20556  			for shift := uint(0); ; shift += 7 {
 20557  				if shift >= 64 {
 20558  					return ErrIntOverflowTypes
 20559  				}
 20560  				if iNdEx >= l {
 20561  					return io.ErrUnexpectedEOF
 20562  				}
 20563  				b := dAtA[iNdEx]
 20564  				iNdEx++
 20565  				stringLen |= uint64(b&0x7F) << shift
 20566  				if b < 0x80 {
 20567  					break
 20568  				}
 20569  			}
 20570  			intStringLen := int(stringLen)
 20571  			if intStringLen < 0 {
 20572  				return ErrInvalidLengthTypes
 20573  			}
 20574  			postIndex := iNdEx + intStringLen
 20575  			if postIndex < 0 {
 20576  				return ErrInvalidLengthTypes
 20577  			}
 20578  			if postIndex > l {
 20579  				return io.ErrUnexpectedEOF
 20580  			}
 20581  			m.Type = string(dAtA[iNdEx:postIndex])
 20582  			iNdEx = postIndex
 20583  		case 5:
 20584  			if wireType != 2 {
 20585  				return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
 20586  			}
 20587  			var stringLen uint64
 20588  			for shift := uint(0); ; shift += 7 {
 20589  				if shift >= 64 {
 20590  					return ErrIntOverflowTypes
 20591  				}
 20592  				if iNdEx >= l {
 20593  					return io.ErrUnexpectedEOF
 20594  				}
 20595  				b := dAtA[iNdEx]
 20596  				iNdEx++
 20597  				stringLen |= uint64(b&0x7F) << shift
 20598  				if b < 0x80 {
 20599  					break
 20600  				}
 20601  			}
 20602  			intStringLen := int(stringLen)
 20603  			if intStringLen < 0 {
 20604  				return ErrInvalidLengthTypes
 20605  			}
 20606  			postIndex := iNdEx + intStringLen
 20607  			if postIndex < 0 {
 20608  				return ErrInvalidLengthTypes
 20609  			}
 20610  			if postIndex > l {
 20611  				return io.ErrUnexpectedEOF
 20612  			}
 20613  			m.Level = string(dAtA[iNdEx:postIndex])
 20614  			iNdEx = postIndex
 20615  		default:
 20616  			iNdEx = preIndex
 20617  			skippy, err := skipTypes(dAtA[iNdEx:])
 20618  			if err != nil {
 20619  				return err
 20620  			}
 20621  			if skippy < 0 {
 20622  				return ErrInvalidLengthTypes
 20623  			}
 20624  			if (iNdEx + skippy) < 0 {
 20625  				return ErrInvalidLengthTypes
 20626  			}
 20627  			if (iNdEx + skippy) > l {
 20628  				return io.ErrUnexpectedEOF
 20629  			}
 20630  			iNdEx += skippy
 20631  		}
 20632  	}
 20633  
 20634  	if iNdEx > l {
 20635  		return io.ErrUnexpectedEOF
 20636  	}
 20637  	return nil
 20638  }
 20639  func (m *JobStatus) Unmarshal(dAtA []byte) error {
 20640  	l := len(dAtA)
 20641  	iNdEx := 0
 20642  	for iNdEx < l {
 20643  		preIndex := iNdEx
 20644  		var wire uint64
 20645  		for shift := uint(0); ; shift += 7 {
 20646  			if shift >= 64 {
 20647  				return ErrIntOverflowTypes
 20648  			}
 20649  			if iNdEx >= l {
 20650  				return io.ErrUnexpectedEOF
 20651  			}
 20652  			b := dAtA[iNdEx]
 20653  			iNdEx++
 20654  			wire |= uint64(b&0x7F) << shift
 20655  			if b < 0x80 {
 20656  				break
 20657  			}
 20658  		}
 20659  		fieldNum := int32(wire >> 3)
 20660  		wireType := int(wire & 0x7)
 20661  		if wireType == 4 {
 20662  			return fmt.Errorf("proto: JobStatus: wiretype end group for non-group")
 20663  		}
 20664  		if fieldNum <= 0 {
 20665  			return fmt.Errorf("proto: JobStatus: illegal tag %d (wire type %d)", fieldNum, wire)
 20666  		}
 20667  		switch fieldNum {
 20668  		case 1:
 20669  			if wireType != 2 {
 20670  				return fmt.Errorf("proto: wrong wireType = %d for field JobIteration", wireType)
 20671  			}
 20672  			var msglen int
 20673  			for shift := uint(0); ; shift += 7 {
 20674  				if shift >= 64 {
 20675  					return ErrIntOverflowTypes
 20676  				}
 20677  				if iNdEx >= l {
 20678  					return io.ErrUnexpectedEOF
 20679  				}
 20680  				b := dAtA[iNdEx]
 20681  				iNdEx++
 20682  				msglen |= int(b&0x7F) << shift
 20683  				if b < 0x80 {
 20684  					break
 20685  				}
 20686  			}
 20687  			if msglen < 0 {
 20688  				return ErrInvalidLengthTypes
 20689  			}
 20690  			postIndex := iNdEx + msglen
 20691  			if postIndex < 0 {
 20692  				return ErrInvalidLengthTypes
 20693  			}
 20694  			if postIndex > l {
 20695  				return io.ErrUnexpectedEOF
 20696  			}
 20697  			if err := m.JobIteration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20698  				return err
 20699  			}
 20700  			iNdEx = postIndex
 20701  		case 2:
 20702  			if wireType != 2 {
 20703  				return fmt.Errorf("proto: wrong wireType = %d for field LastExecution", wireType)
 20704  			}
 20705  			var msglen int
 20706  			for shift := uint(0); ; shift += 7 {
 20707  				if shift >= 64 {
 20708  					return ErrIntOverflowTypes
 20709  				}
 20710  				if iNdEx >= l {
 20711  					return io.ErrUnexpectedEOF
 20712  				}
 20713  				b := dAtA[iNdEx]
 20714  				iNdEx++
 20715  				msglen |= int(b&0x7F) << shift
 20716  				if b < 0x80 {
 20717  					break
 20718  				}
 20719  			}
 20720  			if msglen < 0 {
 20721  				return ErrInvalidLengthTypes
 20722  			}
 20723  			postIndex := iNdEx + msglen
 20724  			if postIndex < 0 {
 20725  				return ErrInvalidLengthTypes
 20726  			}
 20727  			if postIndex > l {
 20728  				return io.ErrUnexpectedEOF
 20729  			}
 20730  			if m.LastExecution == nil {
 20731  				m.LastExecution = &types.Timestamp{}
 20732  			}
 20733  			if err := m.LastExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20734  				return err
 20735  			}
 20736  			iNdEx = postIndex
 20737  		default:
 20738  			iNdEx = preIndex
 20739  			skippy, err := skipTypes(dAtA[iNdEx:])
 20740  			if err != nil {
 20741  				return err
 20742  			}
 20743  			if skippy < 0 {
 20744  				return ErrInvalidLengthTypes
 20745  			}
 20746  			if (iNdEx + skippy) < 0 {
 20747  				return ErrInvalidLengthTypes
 20748  			}
 20749  			if (iNdEx + skippy) > l {
 20750  				return io.ErrUnexpectedEOF
 20751  			}
 20752  			iNdEx += skippy
 20753  		}
 20754  	}
 20755  
 20756  	if iNdEx > l {
 20757  		return io.ErrUnexpectedEOF
 20758  	}
 20759  	return nil
 20760  }
 20761  func skipTypes(dAtA []byte) (n int, err error) {
 20762  	l := len(dAtA)
 20763  	iNdEx := 0
 20764  	for iNdEx < l {
 20765  		var wire uint64
 20766  		for shift := uint(0); ; shift += 7 {
 20767  			if shift >= 64 {
 20768  				return 0, ErrIntOverflowTypes
 20769  			}
 20770  			if iNdEx >= l {
 20771  				return 0, io.ErrUnexpectedEOF
 20772  			}
 20773  			b := dAtA[iNdEx]
 20774  			iNdEx++
 20775  			wire |= (uint64(b) & 0x7F) << shift
 20776  			if b < 0x80 {
 20777  				break
 20778  			}
 20779  		}
 20780  		wireType := int(wire & 0x7)
 20781  		switch wireType {
 20782  		case 0:
 20783  			for shift := uint(0); ; shift += 7 {
 20784  				if shift >= 64 {
 20785  					return 0, ErrIntOverflowTypes
 20786  				}
 20787  				if iNdEx >= l {
 20788  					return 0, io.ErrUnexpectedEOF
 20789  				}
 20790  				iNdEx++
 20791  				if dAtA[iNdEx-1] < 0x80 {
 20792  					break
 20793  				}
 20794  			}
 20795  			return iNdEx, nil
 20796  		case 1:
 20797  			iNdEx += 8
 20798  			return iNdEx, nil
 20799  		case 2:
 20800  			var length int
 20801  			for shift := uint(0); ; shift += 7 {
 20802  				if shift >= 64 {
 20803  					return 0, ErrIntOverflowTypes
 20804  				}
 20805  				if iNdEx >= l {
 20806  					return 0, io.ErrUnexpectedEOF
 20807  				}
 20808  				b := dAtA[iNdEx]
 20809  				iNdEx++
 20810  				length |= (int(b) & 0x7F) << shift
 20811  				if b < 0x80 {
 20812  					break
 20813  				}
 20814  			}
 20815  			if length < 0 {
 20816  				return 0, ErrInvalidLengthTypes
 20817  			}
 20818  			iNdEx += length
 20819  			if iNdEx < 0 {
 20820  				return 0, ErrInvalidLengthTypes
 20821  			}
 20822  			return iNdEx, nil
 20823  		case 3:
 20824  			for {
 20825  				var innerWire uint64
 20826  				var start int = iNdEx
 20827  				for shift := uint(0); ; shift += 7 {
 20828  					if shift >= 64 {
 20829  						return 0, ErrIntOverflowTypes
 20830  					}
 20831  					if iNdEx >= l {
 20832  						return 0, io.ErrUnexpectedEOF
 20833  					}
 20834  					b := dAtA[iNdEx]
 20835  					iNdEx++
 20836  					innerWire |= (uint64(b) & 0x7F) << shift
 20837  					if b < 0x80 {
 20838  						break
 20839  					}
 20840  				}
 20841  				innerWireType := int(innerWire & 0x7)
 20842  				if innerWireType == 4 {
 20843  					break
 20844  				}
 20845  				next, err := skipTypes(dAtA[start:])
 20846  				if err != nil {
 20847  					return 0, err
 20848  				}
 20849  				iNdEx = start + next
 20850  				if iNdEx < 0 {
 20851  					return 0, ErrInvalidLengthTypes
 20852  				}
 20853  			}
 20854  			return iNdEx, nil
 20855  		case 4:
 20856  			return iNdEx, nil
 20857  		case 5:
 20858  			iNdEx += 4
 20859  			return iNdEx, nil
 20860  		default:
 20861  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
 20862  		}
 20863  	}
 20864  	panic("unreachable")
 20865  }
 20866  
 20867  var (
 20868  	ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling")
 20869  	ErrIntOverflowTypes   = fmt.Errorf("proto: integer overflow")
 20870  )