...

Source file src/github.com/google/certificate-transparency-go/trillian/ctfe/configpb/config.pb.go

Documentation: github.com/google/certificate-transparency-go/trillian/ctfe/configpb

     1  // Copyright 2017 Google LLC. All Rights Reserved.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.28.1
    18  // 	protoc        v3.20.1
    19  // source: trillian/ctfe/configpb/config.proto
    20  
    21  package configpb
    22  
    23  import (
    24  	keyspb "github.com/google/trillian/crypto/keyspb"
    25  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    26  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    27  	anypb "google.golang.org/protobuf/types/known/anypb"
    28  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    29  	reflect "reflect"
    30  	sync "sync"
    31  )
    32  
    33  const (
    34  	// Verify that this generated code is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    36  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    37  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    38  )
    39  
    40  type LogBackend struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// name defines the name of the log backend for use in LogConfig messages and must be unique.
    46  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    47  	// backend_spec defines the RPC endpoint that clients should use to send requests
    48  	// to this log backend. These should be in the same format as rpcBackendFlag in the
    49  	// CTFE main and must not be an empty string.
    50  	BackendSpec string `protobuf:"bytes,2,opt,name=backend_spec,json=backendSpec,proto3" json:"backend_spec,omitempty"`
    51  }
    52  
    53  func (x *LogBackend) Reset() {
    54  	*x = LogBackend{}
    55  	if protoimpl.UnsafeEnabled {
    56  		mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[0]
    57  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    58  		ms.StoreMessageInfo(mi)
    59  	}
    60  }
    61  
    62  func (x *LogBackend) String() string {
    63  	return protoimpl.X.MessageStringOf(x)
    64  }
    65  
    66  func (*LogBackend) ProtoMessage() {}
    67  
    68  func (x *LogBackend) ProtoReflect() protoreflect.Message {
    69  	mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[0]
    70  	if protoimpl.UnsafeEnabled && x != nil {
    71  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    72  		if ms.LoadMessageInfo() == nil {
    73  			ms.StoreMessageInfo(mi)
    74  		}
    75  		return ms
    76  	}
    77  	return mi.MessageOf(x)
    78  }
    79  
    80  // Deprecated: Use LogBackend.ProtoReflect.Descriptor instead.
    81  func (*LogBackend) Descriptor() ([]byte, []int) {
    82  	return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{0}
    83  }
    84  
    85  func (x *LogBackend) GetName() string {
    86  	if x != nil {
    87  		return x.Name
    88  	}
    89  	return ""
    90  }
    91  
    92  func (x *LogBackend) GetBackendSpec() string {
    93  	if x != nil {
    94  		return x.BackendSpec
    95  	}
    96  	return ""
    97  }
    98  
    99  // LogBackendSet supports a configuration where a single set of frontends handle
   100  // requests for multiple backends. For example this could be used to run different
   101  // backends in different geographic regions.
   102  type LogBackendSet struct {
   103  	state         protoimpl.MessageState
   104  	sizeCache     protoimpl.SizeCache
   105  	unknownFields protoimpl.UnknownFields
   106  
   107  	Backend []*LogBackend `protobuf:"bytes,1,rep,name=backend,proto3" json:"backend,omitempty"`
   108  }
   109  
   110  func (x *LogBackendSet) Reset() {
   111  	*x = LogBackendSet{}
   112  	if protoimpl.UnsafeEnabled {
   113  		mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[1]
   114  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   115  		ms.StoreMessageInfo(mi)
   116  	}
   117  }
   118  
   119  func (x *LogBackendSet) String() string {
   120  	return protoimpl.X.MessageStringOf(x)
   121  }
   122  
   123  func (*LogBackendSet) ProtoMessage() {}
   124  
   125  func (x *LogBackendSet) ProtoReflect() protoreflect.Message {
   126  	mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[1]
   127  	if protoimpl.UnsafeEnabled && x != nil {
   128  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   129  		if ms.LoadMessageInfo() == nil {
   130  			ms.StoreMessageInfo(mi)
   131  		}
   132  		return ms
   133  	}
   134  	return mi.MessageOf(x)
   135  }
   136  
   137  // Deprecated: Use LogBackendSet.ProtoReflect.Descriptor instead.
   138  func (*LogBackendSet) Descriptor() ([]byte, []int) {
   139  	return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{1}
   140  }
   141  
   142  func (x *LogBackendSet) GetBackend() []*LogBackend {
   143  	if x != nil {
   144  		return x.Backend
   145  	}
   146  	return nil
   147  }
   148  
   149  // LogConfigSet is a set of LogConfig messages.
   150  type LogConfigSet struct {
   151  	state         protoimpl.MessageState
   152  	sizeCache     protoimpl.SizeCache
   153  	unknownFields protoimpl.UnknownFields
   154  
   155  	Config []*LogConfig `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty"`
   156  }
   157  
   158  func (x *LogConfigSet) Reset() {
   159  	*x = LogConfigSet{}
   160  	if protoimpl.UnsafeEnabled {
   161  		mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[2]
   162  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   163  		ms.StoreMessageInfo(mi)
   164  	}
   165  }
   166  
   167  func (x *LogConfigSet) String() string {
   168  	return protoimpl.X.MessageStringOf(x)
   169  }
   170  
   171  func (*LogConfigSet) ProtoMessage() {}
   172  
   173  func (x *LogConfigSet) ProtoReflect() protoreflect.Message {
   174  	mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[2]
   175  	if protoimpl.UnsafeEnabled && x != nil {
   176  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   177  		if ms.LoadMessageInfo() == nil {
   178  			ms.StoreMessageInfo(mi)
   179  		}
   180  		return ms
   181  	}
   182  	return mi.MessageOf(x)
   183  }
   184  
   185  // Deprecated: Use LogConfigSet.ProtoReflect.Descriptor instead.
   186  func (*LogConfigSet) Descriptor() ([]byte, []int) {
   187  	return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{2}
   188  }
   189  
   190  func (x *LogConfigSet) GetConfig() []*LogConfig {
   191  	if x != nil {
   192  		return x.Config
   193  	}
   194  	return nil
   195  }
   196  
   197  // LogConfig describes the configuration options for a log instance.
   198  //
   199  // NEXT_ID: 20
   200  type LogConfig struct {
   201  	state         protoimpl.MessageState
   202  	sizeCache     protoimpl.SizeCache
   203  	unknownFields protoimpl.UnknownFields
   204  
   205  	// The ID of a Trillian tree that stores the log data. The tree type must be
   206  	// LOG for regular CT logs. For mirror logs it must be either PREORDERED_LOG
   207  	// or LOG, and can change at runtime. CTFE in mirror mode uses only read API
   208  	// which is common for both types.
   209  	LogId int64 `protobuf:"varint,1,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"`
   210  	// prefix is the name of the log. It will come after the global or
   211  	// override handler prefix. For example if the handler prefix is "/logs"
   212  	// and prefix is "vogon" the get-sth handler for this log will be
   213  	// available at "/logs/vogon/ct/v1/get-sth". The prefix cannot be empty
   214  	// and must not include "/" path separator characters.
   215  	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
   216  	// override_handler_prefix if set to a non empty value overrides the global
   217  	// handler prefix for an individual log. For example this field is set to
   218  	// "/otherlogs" then a log with prefix "vogon" will make it's get-sth handler
   219  	// available at "/otherlogs/vogon/ct/v1/get-sth" regardless of what the
   220  	// global prefix is. Can be set to '/' to make the get-sth handler register
   221  	// at "/vogon/ct/v1/get-sth".
   222  	OverrideHandlerPrefix string `protobuf:"bytes,13,opt,name=override_handler_prefix,json=overrideHandlerPrefix,proto3" json:"override_handler_prefix,omitempty"`
   223  	// Paths to the files containing root certificates that are acceptable to the
   224  	// log. The certs are served through get-roots endpoint. Optional in mirrors.
   225  	RootsPemFile []string `protobuf:"bytes,3,rep,name=roots_pem_file,json=rootsPemFile,proto3" json:"roots_pem_file,omitempty"`
   226  	// The private key used for signing STHs etc. Not required for mirrors.
   227  	PrivateKey *anypb.Any `protobuf:"bytes,4,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
   228  	// The public key matching the above private key (if both are present). It is
   229  	// used only by mirror logs for verifying the source log's signatures, but can
   230  	// be specified for regular logs as well for the convenience of test tools.
   231  	PublicKey *keyspb.PublicKey `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
   232  	// If reject_expired is true then the certificate validity period will be
   233  	// checked against the current time during the validation of submissions.
   234  	// This will cause expired certificates to be rejected.
   235  	RejectExpired bool `protobuf:"varint,6,opt,name=reject_expired,json=rejectExpired,proto3" json:"reject_expired,omitempty"`
   236  	// If reject_unexpired is true then CTFE rejects certificates that are either
   237  	// currently valid or not yet valid.
   238  	RejectUnexpired bool `protobuf:"varint,17,opt,name=reject_unexpired,json=rejectUnexpired,proto3" json:"reject_unexpired,omitempty"`
   239  	// If set, ext_key_usages will restrict the set of such usages that the
   240  	// server will accept. By default all are accepted. The values specified
   241  	// must be ones known to the x509 package.
   242  	ExtKeyUsages []string `protobuf:"bytes,7,rep,name=ext_key_usages,json=extKeyUsages,proto3" json:"ext_key_usages,omitempty"`
   243  	// not_after_start defines the start of the range of acceptable NotAfter
   244  	// values, inclusive.
   245  	// Leaving this unset implies no lower bound to the range.
   246  	NotAfterStart *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=not_after_start,json=notAfterStart,proto3" json:"not_after_start,omitempty"`
   247  	// not_after_limit defines the end of the range of acceptable NotAfter values,
   248  	// exclusive.
   249  	// Leaving this unset implies no upper bound to the range.
   250  	NotAfterLimit *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=not_after_limit,json=notAfterLimit,proto3" json:"not_after_limit,omitempty"`
   251  	// accept_only_ca controls whether or not *only* certificates with the CA bit
   252  	// set will be accepted.
   253  	AcceptOnlyCa bool `protobuf:"varint,10,opt,name=accept_only_ca,json=acceptOnlyCa,proto3" json:"accept_only_ca,omitempty"`
   254  	// backend_name if set indicates which backend serves this log. The name must be
   255  	// one of those defined in the LogBackendSet.
   256  	LogBackendName string `protobuf:"bytes,11,opt,name=log_backend_name,json=logBackendName,proto3" json:"log_backend_name,omitempty"`
   257  	// If set, the log is a mirror, i.e. it serves the data of another (source)
   258  	// log. It doesn't handle write requests (add-chain, etc.), so it's not a
   259  	// fully fledged RFC-6962 log, but the tree read requests like get-entries and
   260  	// get-consistency-proof are compatible. A mirror doesn't have the source
   261  	// log's key and can't sign STHs. Consequently, the log operator must ensure
   262  	// to channel source log's STHs into CTFE.
   263  	IsMirror bool `protobuf:"varint,12,opt,name=is_mirror,json=isMirror,proto3" json:"is_mirror,omitempty"`
   264  	// If set, the log serves only read endpoints, and rejects writes through the
   265  	// add-[pre-]chain endpoint.
   266  	IsReadonly bool `protobuf:"varint,19,opt,name=is_readonly,json=isReadonly,proto3" json:"is_readonly,omitempty"`
   267  	// The Maximum Merge Delay (MMD) of this log in seconds. See RFC6962 section 3
   268  	// for definition of MMD. If zero, the log does not provide an MMD guarantee
   269  	// (for example, it is a frozen log).
   270  	MaxMergeDelaySec int32 `protobuf:"varint,14,opt,name=max_merge_delay_sec,json=maxMergeDelaySec,proto3" json:"max_merge_delay_sec,omitempty"`
   271  	// The merge delay that the underlying log implementation is able/targeting to
   272  	// provide. This option is exposed in CTFE metrics, and can be particularly
   273  	// useful to catch when the log is behind but has not yet violated the strict
   274  	// MMD limit.
   275  	// Log operator should decide what exactly EMD means for them. For example, it
   276  	// can be a 99-th percentile of merge delays that they observe, and they can
   277  	// alert on the actual merge delay going above a certain multiple of this EMD.
   278  	ExpectedMergeDelaySec int32 `protobuf:"varint,15,opt,name=expected_merge_delay_sec,json=expectedMergeDelaySec,proto3" json:"expected_merge_delay_sec,omitempty"`
   279  	// The STH that this log will serve permanently (if present). Frozen STH must
   280  	// be signed by this log's private key, and will be verified using the public
   281  	// key specified in this config.
   282  	FrozenSth *SignedTreeHead `protobuf:"bytes,16,opt,name=frozen_sth,json=frozenSth,proto3" json:"frozen_sth,omitempty"`
   283  	// A list of X.509 extension OIDs, in dotted string form (e.g. "2.3.4.5")
   284  	// which should cause submissions to be rejected.
   285  	RejectExtensions []string `protobuf:"bytes,18,rep,name=reject_extensions,json=rejectExtensions,proto3" json:"reject_extensions,omitempty"`
   286  }
   287  
   288  func (x *LogConfig) Reset() {
   289  	*x = LogConfig{}
   290  	if protoimpl.UnsafeEnabled {
   291  		mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[3]
   292  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   293  		ms.StoreMessageInfo(mi)
   294  	}
   295  }
   296  
   297  func (x *LogConfig) String() string {
   298  	return protoimpl.X.MessageStringOf(x)
   299  }
   300  
   301  func (*LogConfig) ProtoMessage() {}
   302  
   303  func (x *LogConfig) ProtoReflect() protoreflect.Message {
   304  	mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[3]
   305  	if protoimpl.UnsafeEnabled && x != nil {
   306  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   307  		if ms.LoadMessageInfo() == nil {
   308  			ms.StoreMessageInfo(mi)
   309  		}
   310  		return ms
   311  	}
   312  	return mi.MessageOf(x)
   313  }
   314  
   315  // Deprecated: Use LogConfig.ProtoReflect.Descriptor instead.
   316  func (*LogConfig) Descriptor() ([]byte, []int) {
   317  	return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{3}
   318  }
   319  
   320  func (x *LogConfig) GetLogId() int64 {
   321  	if x != nil {
   322  		return x.LogId
   323  	}
   324  	return 0
   325  }
   326  
   327  func (x *LogConfig) GetPrefix() string {
   328  	if x != nil {
   329  		return x.Prefix
   330  	}
   331  	return ""
   332  }
   333  
   334  func (x *LogConfig) GetOverrideHandlerPrefix() string {
   335  	if x != nil {
   336  		return x.OverrideHandlerPrefix
   337  	}
   338  	return ""
   339  }
   340  
   341  func (x *LogConfig) GetRootsPemFile() []string {
   342  	if x != nil {
   343  		return x.RootsPemFile
   344  	}
   345  	return nil
   346  }
   347  
   348  func (x *LogConfig) GetPrivateKey() *anypb.Any {
   349  	if x != nil {
   350  		return x.PrivateKey
   351  	}
   352  	return nil
   353  }
   354  
   355  func (x *LogConfig) GetPublicKey() *keyspb.PublicKey {
   356  	if x != nil {
   357  		return x.PublicKey
   358  	}
   359  	return nil
   360  }
   361  
   362  func (x *LogConfig) GetRejectExpired() bool {
   363  	if x != nil {
   364  		return x.RejectExpired
   365  	}
   366  	return false
   367  }
   368  
   369  func (x *LogConfig) GetRejectUnexpired() bool {
   370  	if x != nil {
   371  		return x.RejectUnexpired
   372  	}
   373  	return false
   374  }
   375  
   376  func (x *LogConfig) GetExtKeyUsages() []string {
   377  	if x != nil {
   378  		return x.ExtKeyUsages
   379  	}
   380  	return nil
   381  }
   382  
   383  func (x *LogConfig) GetNotAfterStart() *timestamppb.Timestamp {
   384  	if x != nil {
   385  		return x.NotAfterStart
   386  	}
   387  	return nil
   388  }
   389  
   390  func (x *LogConfig) GetNotAfterLimit() *timestamppb.Timestamp {
   391  	if x != nil {
   392  		return x.NotAfterLimit
   393  	}
   394  	return nil
   395  }
   396  
   397  func (x *LogConfig) GetAcceptOnlyCa() bool {
   398  	if x != nil {
   399  		return x.AcceptOnlyCa
   400  	}
   401  	return false
   402  }
   403  
   404  func (x *LogConfig) GetLogBackendName() string {
   405  	if x != nil {
   406  		return x.LogBackendName
   407  	}
   408  	return ""
   409  }
   410  
   411  func (x *LogConfig) GetIsMirror() bool {
   412  	if x != nil {
   413  		return x.IsMirror
   414  	}
   415  	return false
   416  }
   417  
   418  func (x *LogConfig) GetIsReadonly() bool {
   419  	if x != nil {
   420  		return x.IsReadonly
   421  	}
   422  	return false
   423  }
   424  
   425  func (x *LogConfig) GetMaxMergeDelaySec() int32 {
   426  	if x != nil {
   427  		return x.MaxMergeDelaySec
   428  	}
   429  	return 0
   430  }
   431  
   432  func (x *LogConfig) GetExpectedMergeDelaySec() int32 {
   433  	if x != nil {
   434  		return x.ExpectedMergeDelaySec
   435  	}
   436  	return 0
   437  }
   438  
   439  func (x *LogConfig) GetFrozenSth() *SignedTreeHead {
   440  	if x != nil {
   441  		return x.FrozenSth
   442  	}
   443  	return nil
   444  }
   445  
   446  func (x *LogConfig) GetRejectExtensions() []string {
   447  	if x != nil {
   448  		return x.RejectExtensions
   449  	}
   450  	return nil
   451  }
   452  
   453  // LogMultiConfig wraps up a LogBackendSet and corresponding LogConfigSet so
   454  // that they can easily be parsed as a single proto.
   455  type LogMultiConfig struct {
   456  	state         protoimpl.MessageState
   457  	sizeCache     protoimpl.SizeCache
   458  	unknownFields protoimpl.UnknownFields
   459  
   460  	// The set of backends that this configuration will use to send requests to.
   461  	// The names of the backends in the LogBackendSet must all be distinct.
   462  	Backends *LogBackendSet `protobuf:"bytes,1,opt,name=backends,proto3" json:"backends,omitempty"`
   463  	// The set of logs that will use the above backends. All the protos in this
   464  	// LogConfigSet must set a valid log_backend_name for the config to be usable.
   465  	LogConfigs *LogConfigSet `protobuf:"bytes,2,opt,name=log_configs,json=logConfigs,proto3" json:"log_configs,omitempty"`
   466  }
   467  
   468  func (x *LogMultiConfig) Reset() {
   469  	*x = LogMultiConfig{}
   470  	if protoimpl.UnsafeEnabled {
   471  		mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[4]
   472  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   473  		ms.StoreMessageInfo(mi)
   474  	}
   475  }
   476  
   477  func (x *LogMultiConfig) String() string {
   478  	return protoimpl.X.MessageStringOf(x)
   479  }
   480  
   481  func (*LogMultiConfig) ProtoMessage() {}
   482  
   483  func (x *LogMultiConfig) ProtoReflect() protoreflect.Message {
   484  	mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[4]
   485  	if protoimpl.UnsafeEnabled && x != nil {
   486  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   487  		if ms.LoadMessageInfo() == nil {
   488  			ms.StoreMessageInfo(mi)
   489  		}
   490  		return ms
   491  	}
   492  	return mi.MessageOf(x)
   493  }
   494  
   495  // Deprecated: Use LogMultiConfig.ProtoReflect.Descriptor instead.
   496  func (*LogMultiConfig) Descriptor() ([]byte, []int) {
   497  	return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{4}
   498  }
   499  
   500  func (x *LogMultiConfig) GetBackends() *LogBackendSet {
   501  	if x != nil {
   502  		return x.Backends
   503  	}
   504  	return nil
   505  }
   506  
   507  func (x *LogMultiConfig) GetLogConfigs() *LogConfigSet {
   508  	if x != nil {
   509  		return x.LogConfigs
   510  	}
   511  	return nil
   512  }
   513  
   514  // SignedTreeHead represents the structure returned by the get-sth CT method.
   515  // See RFC6962 sections 3.5 and 4.3 for reference.
   516  // TODO(pavelkalinnikov): Find a better place for this type.
   517  type SignedTreeHead struct {
   518  	state         protoimpl.MessageState
   519  	sizeCache     protoimpl.SizeCache
   520  	unknownFields protoimpl.UnknownFields
   521  
   522  	TreeSize          int64  `protobuf:"varint,1,opt,name=tree_size,json=treeSize,proto3" json:"tree_size,omitempty"`
   523  	Timestamp         int64  `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
   524  	Sha256RootHash    []byte `protobuf:"bytes,3,opt,name=sha256_root_hash,json=sha256RootHash,proto3" json:"sha256_root_hash,omitempty"`
   525  	TreeHeadSignature []byte `protobuf:"bytes,4,opt,name=tree_head_signature,json=treeHeadSignature,proto3" json:"tree_head_signature,omitempty"`
   526  }
   527  
   528  func (x *SignedTreeHead) Reset() {
   529  	*x = SignedTreeHead{}
   530  	if protoimpl.UnsafeEnabled {
   531  		mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[5]
   532  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   533  		ms.StoreMessageInfo(mi)
   534  	}
   535  }
   536  
   537  func (x *SignedTreeHead) String() string {
   538  	return protoimpl.X.MessageStringOf(x)
   539  }
   540  
   541  func (*SignedTreeHead) ProtoMessage() {}
   542  
   543  func (x *SignedTreeHead) ProtoReflect() protoreflect.Message {
   544  	mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[5]
   545  	if protoimpl.UnsafeEnabled && x != nil {
   546  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   547  		if ms.LoadMessageInfo() == nil {
   548  			ms.StoreMessageInfo(mi)
   549  		}
   550  		return ms
   551  	}
   552  	return mi.MessageOf(x)
   553  }
   554  
   555  // Deprecated: Use SignedTreeHead.ProtoReflect.Descriptor instead.
   556  func (*SignedTreeHead) Descriptor() ([]byte, []int) {
   557  	return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{5}
   558  }
   559  
   560  func (x *SignedTreeHead) GetTreeSize() int64 {
   561  	if x != nil {
   562  		return x.TreeSize
   563  	}
   564  	return 0
   565  }
   566  
   567  func (x *SignedTreeHead) GetTimestamp() int64 {
   568  	if x != nil {
   569  		return x.Timestamp
   570  	}
   571  	return 0
   572  }
   573  
   574  func (x *SignedTreeHead) GetSha256RootHash() []byte {
   575  	if x != nil {
   576  		return x.Sha256RootHash
   577  	}
   578  	return nil
   579  }
   580  
   581  func (x *SignedTreeHead) GetTreeHeadSignature() []byte {
   582  	if x != nil {
   583  		return x.TreeHeadSignature
   584  	}
   585  	return nil
   586  }
   587  
   588  var File_trillian_ctfe_configpb_config_proto protoreflect.FileDescriptor
   589  
   590  var file_trillian_ctfe_configpb_config_proto_rawDesc = []byte{
   591  	0x0a, 0x23, 0x74, 0x72, 0x69, 0x6c, 0x6c, 0x69, 0x61, 0x6e, 0x2f, 0x63, 0x74, 0x66, 0x65, 0x2f,
   592  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   593  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x1a,
   594  	0x1a, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x62, 0x2f, 0x6b,
   595  	0x65, 0x79, 0x73, 0x70, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
   596  	0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79,
   597  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
   598  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
   599  	0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x42, 0x61,
   600  	0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
   601  	0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x61, 0x63,
   602  	0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   603  	0x0b, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x70, 0x65, 0x63, 0x22, 0x3f, 0x0a, 0x0d,
   604  	0x4c, 0x6f, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x74, 0x12, 0x2e, 0x0a,
   605  	0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14,
   606  	0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x42, 0x61, 0x63,
   607  	0x6b, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x22, 0x3b, 0x0a,
   608  	0x0c, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x12, 0x2b, 0x0a,
   609  	0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e,
   610  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66,
   611  	0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xdd, 0x06, 0x0a, 0x09, 0x4c,
   612  	0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x15, 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x5f,
   613  	0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x6f, 0x67, 0x49, 0x64, 0x12,
   614  	0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   615  	0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x36, 0x0a, 0x17, 0x6f, 0x76, 0x65, 0x72, 0x72,
   616  	0x69, 0x64, 0x65, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x65, 0x66,
   617  	0x69, 0x78, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69,
   618  	0x64, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12,
   619  	0x24, 0x0a, 0x0e, 0x72, 0x6f, 0x6f, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x6d, 0x5f, 0x66, 0x69, 0x6c,
   620  	0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x6f, 0x6f, 0x74, 0x73, 0x50, 0x65,
   621  	0x6d, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
   622  	0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
   623  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
   624  	0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x0a,
   625  	0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
   626  	0x32, 0x11, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63,
   627  	0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x25,
   628  	0x0a, 0x0e, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64,
   629  	0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x45, 0x78,
   630  	0x70, 0x69, 0x72, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f,
   631  	0x75, 0x6e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52,
   632  	0x0f, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x6e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64,
   633  	0x12, 0x24, 0x0a, 0x0e, 0x65, 0x78, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67,
   634  	0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x4b, 0x65, 0x79,
   635  	0x55, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x0f, 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x66,
   636  	0x74, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
   637  	0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   638  	0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x6e, 0x6f, 0x74,
   639  	0x41, 0x66, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x42, 0x0a, 0x0f, 0x6e, 0x6f,
   640  	0x74, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20,
   641  	0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   642  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
   643  	0x0d, 0x6e, 0x6f, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24,
   644  	0x0a, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x63, 0x61,
   645  	0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x6e,
   646  	0x6c, 0x79, 0x43, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x6c, 0x6f, 0x67, 0x5f, 0x62, 0x61, 0x63, 0x6b,
   647  	0x65, 0x6e, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
   648  	0x6c, 0x6f, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b,
   649  	0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28,
   650  	0x08, 0x52, 0x08, 0x69, 0x73, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x69,
   651  	0x73, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08,
   652  	0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x12, 0x2d, 0x0a, 0x13,
   653  	0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f,
   654  	0x73, 0x65, 0x63, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x4d, 0x65,
   655  	0x72, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x65, 0x63, 0x12, 0x37, 0x0a, 0x18, 0x65,
   656  	0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x5f, 0x64, 0x65,
   657  	0x6c, 0x61, 0x79, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x65,
   658  	0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x61,
   659  	0x79, 0x53, 0x65, 0x63, 0x12, 0x37, 0x0a, 0x0a, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73,
   660  	0x74, 0x68, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   661  	0x67, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x72, 0x65, 0x65, 0x48, 0x65,
   662  	0x61, 0x64, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x74, 0x68, 0x12, 0x2b, 0x0a,
   663  	0x11, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
   664  	0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74,
   665  	0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7e, 0x0a, 0x0e, 0x4c, 0x6f,
   666  	0x67, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x33, 0x0a, 0x08,
   667  	0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
   668  	0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x42, 0x61, 0x63,
   669  	0x6b, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x74, 0x52, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
   670  	0x73, 0x12, 0x37, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
   671  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70,
   672  	0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x0a,
   673  	0x6c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x0e, 0x53,
   674  	0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x72, 0x65, 0x65, 0x48, 0x65, 0x61, 0x64, 0x12, 0x1b, 0x0a,
   675  	0x09, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
   676  	0x52, 0x08, 0x74, 0x72, 0x65, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69,
   677  	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74,
   678  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x68, 0x61, 0x32,
   679  	0x35, 0x36, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01,
   680  	0x28, 0x0c, 0x52, 0x0e, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x52, 0x6f, 0x6f, 0x74, 0x48, 0x61,
   681  	0x73, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x5f,
   682  	0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52,
   683  	0x11, 0x74, 0x72, 0x65, 0x65, 0x48, 0x65, 0x61, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
   684  	0x72, 0x65, 0x42, 0x46, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
   685  	0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63,
   686  	0x61, 0x74, 0x65, 0x2d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x63, 0x79,
   687  	0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x72, 0x69, 0x6c, 0x6c, 0x69, 0x61, 0x6e, 0x2f, 0x63, 0x74, 0x66,
   688  	0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   689  	0x6f, 0x33,
   690  }
   691  
   692  var (
   693  	file_trillian_ctfe_configpb_config_proto_rawDescOnce sync.Once
   694  	file_trillian_ctfe_configpb_config_proto_rawDescData = file_trillian_ctfe_configpb_config_proto_rawDesc
   695  )
   696  
   697  func file_trillian_ctfe_configpb_config_proto_rawDescGZIP() []byte {
   698  	file_trillian_ctfe_configpb_config_proto_rawDescOnce.Do(func() {
   699  		file_trillian_ctfe_configpb_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_trillian_ctfe_configpb_config_proto_rawDescData)
   700  	})
   701  	return file_trillian_ctfe_configpb_config_proto_rawDescData
   702  }
   703  
   704  var file_trillian_ctfe_configpb_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   705  var file_trillian_ctfe_configpb_config_proto_goTypes = []interface{}{
   706  	(*LogBackend)(nil),            // 0: configpb.LogBackend
   707  	(*LogBackendSet)(nil),         // 1: configpb.LogBackendSet
   708  	(*LogConfigSet)(nil),          // 2: configpb.LogConfigSet
   709  	(*LogConfig)(nil),             // 3: configpb.LogConfig
   710  	(*LogMultiConfig)(nil),        // 4: configpb.LogMultiConfig
   711  	(*SignedTreeHead)(nil),        // 5: configpb.SignedTreeHead
   712  	(*anypb.Any)(nil),             // 6: google.protobuf.Any
   713  	(*keyspb.PublicKey)(nil),      // 7: keyspb.PublicKey
   714  	(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
   715  }
   716  var file_trillian_ctfe_configpb_config_proto_depIdxs = []int32{
   717  	0, // 0: configpb.LogBackendSet.backend:type_name -> configpb.LogBackend
   718  	3, // 1: configpb.LogConfigSet.config:type_name -> configpb.LogConfig
   719  	6, // 2: configpb.LogConfig.private_key:type_name -> google.protobuf.Any
   720  	7, // 3: configpb.LogConfig.public_key:type_name -> keyspb.PublicKey
   721  	8, // 4: configpb.LogConfig.not_after_start:type_name -> google.protobuf.Timestamp
   722  	8, // 5: configpb.LogConfig.not_after_limit:type_name -> google.protobuf.Timestamp
   723  	5, // 6: configpb.LogConfig.frozen_sth:type_name -> configpb.SignedTreeHead
   724  	1, // 7: configpb.LogMultiConfig.backends:type_name -> configpb.LogBackendSet
   725  	2, // 8: configpb.LogMultiConfig.log_configs:type_name -> configpb.LogConfigSet
   726  	9, // [9:9] is the sub-list for method output_type
   727  	9, // [9:9] is the sub-list for method input_type
   728  	9, // [9:9] is the sub-list for extension type_name
   729  	9, // [9:9] is the sub-list for extension extendee
   730  	0, // [0:9] is the sub-list for field type_name
   731  }
   732  
   733  func init() { file_trillian_ctfe_configpb_config_proto_init() }
   734  func file_trillian_ctfe_configpb_config_proto_init() {
   735  	if File_trillian_ctfe_configpb_config_proto != nil {
   736  		return
   737  	}
   738  	if !protoimpl.UnsafeEnabled {
   739  		file_trillian_ctfe_configpb_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   740  			switch v := v.(*LogBackend); i {
   741  			case 0:
   742  				return &v.state
   743  			case 1:
   744  				return &v.sizeCache
   745  			case 2:
   746  				return &v.unknownFields
   747  			default:
   748  				return nil
   749  			}
   750  		}
   751  		file_trillian_ctfe_configpb_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   752  			switch v := v.(*LogBackendSet); i {
   753  			case 0:
   754  				return &v.state
   755  			case 1:
   756  				return &v.sizeCache
   757  			case 2:
   758  				return &v.unknownFields
   759  			default:
   760  				return nil
   761  			}
   762  		}
   763  		file_trillian_ctfe_configpb_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   764  			switch v := v.(*LogConfigSet); i {
   765  			case 0:
   766  				return &v.state
   767  			case 1:
   768  				return &v.sizeCache
   769  			case 2:
   770  				return &v.unknownFields
   771  			default:
   772  				return nil
   773  			}
   774  		}
   775  		file_trillian_ctfe_configpb_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   776  			switch v := v.(*LogConfig); i {
   777  			case 0:
   778  				return &v.state
   779  			case 1:
   780  				return &v.sizeCache
   781  			case 2:
   782  				return &v.unknownFields
   783  			default:
   784  				return nil
   785  			}
   786  		}
   787  		file_trillian_ctfe_configpb_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   788  			switch v := v.(*LogMultiConfig); i {
   789  			case 0:
   790  				return &v.state
   791  			case 1:
   792  				return &v.sizeCache
   793  			case 2:
   794  				return &v.unknownFields
   795  			default:
   796  				return nil
   797  			}
   798  		}
   799  		file_trillian_ctfe_configpb_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   800  			switch v := v.(*SignedTreeHead); i {
   801  			case 0:
   802  				return &v.state
   803  			case 1:
   804  				return &v.sizeCache
   805  			case 2:
   806  				return &v.unknownFields
   807  			default:
   808  				return nil
   809  			}
   810  		}
   811  	}
   812  	type x struct{}
   813  	out := protoimpl.TypeBuilder{
   814  		File: protoimpl.DescBuilder{
   815  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   816  			RawDescriptor: file_trillian_ctfe_configpb_config_proto_rawDesc,
   817  			NumEnums:      0,
   818  			NumMessages:   6,
   819  			NumExtensions: 0,
   820  			NumServices:   0,
   821  		},
   822  		GoTypes:           file_trillian_ctfe_configpb_config_proto_goTypes,
   823  		DependencyIndexes: file_trillian_ctfe_configpb_config_proto_depIdxs,
   824  		MessageInfos:      file_trillian_ctfe_configpb_config_proto_msgTypes,
   825  	}.Build()
   826  	File_trillian_ctfe_configpb_config_proto = out.File
   827  	file_trillian_ctfe_configpb_config_proto_rawDesc = nil
   828  	file_trillian_ctfe_configpb_config_proto_goTypes = nil
   829  	file_trillian_ctfe_configpb_config_proto_depIdxs = nil
   830  }
   831  

View as plain text