...

Source file src/github.com/datawire/ambassador/v2/pkg/api/envoy/service/discovery/v3/discovery.pb.go

Documentation: github.com/datawire/ambassador/v2/pkg/api/envoy/service/discovery/v3

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.14.0
     5  // source: envoy/service/discovery/v3/discovery.proto
     6  
     7  package envoy_service_discovery_v3
     8  
     9  import (
    10  	_ "github.com/cncf/udpa/go/udpa/annotations"
    11  	v3 "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v3"
    12  	proto "github.com/golang/protobuf/proto"
    13  	any "github.com/golang/protobuf/ptypes/any"
    14  	duration "github.com/golang/protobuf/ptypes/duration"
    15  	status "google.golang.org/genproto/googleapis/rpc/status"
    16  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    17  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    18  	reflect "reflect"
    19  	sync "sync"
    20  )
    21  
    22  const (
    23  	// Verify that this generated code is sufficiently up-to-date.
    24  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    25  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    26  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    27  )
    28  
    29  // This is a compile-time assertion that a sufficiently up-to-date version
    30  // of the legacy proto package is being used.
    31  const _ = proto.ProtoPackageIsVersion4
    32  
    33  // A DiscoveryRequest requests a set of versioned resources of the same type for
    34  // a given Envoy node on some API.
    35  // [#next-free-field: 7]
    36  type DiscoveryRequest struct {
    37  	state         protoimpl.MessageState
    38  	sizeCache     protoimpl.SizeCache
    39  	unknownFields protoimpl.UnknownFields
    40  
    41  	// The version_info provided in the request messages will be the version_info
    42  	// received with the most recent successfully processed response or empty on
    43  	// the first request. It is expected that no new request is sent after a
    44  	// response is received until the Envoy instance is ready to ACK/NACK the new
    45  	// configuration. ACK/NACK takes place by returning the new API config version
    46  	// as applied or the previous API config version respectively. Each type_url
    47  	// (see below) has an independent version associated with it.
    48  	VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
    49  	// The node making the request.
    50  	Node *v3.Node `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
    51  	// List of resources to subscribe to, e.g. list of cluster names or a route
    52  	// configuration name. If this is empty, all resources for the API are
    53  	// returned. LDS/CDS may have empty resource_names, which will cause all
    54  	// resources for the Envoy instance to be returned. The LDS and CDS responses
    55  	// will then imply a number of resources that need to be fetched via EDS/RDS,
    56  	// which will be explicitly enumerated in resource_names.
    57  	ResourceNames []string `protobuf:"bytes,3,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"`
    58  	// Type of the resource that is being requested, e.g.
    59  	// "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This is implicit
    60  	// in requests made via singleton xDS APIs such as CDS, LDS, etc. but is
    61  	// required for ADS.
    62  	TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
    63  	// nonce corresponding to DiscoveryResponse being ACK/NACKed. See above
    64  	// discussion on version_info and the DiscoveryResponse nonce comment. This
    65  	// may be empty only if 1) this is a non-persistent-stream xDS such as HTTP,
    66  	// or 2) the client has not yet accepted an update in this xDS stream (unlike
    67  	// delta, where it is populated only for new explicit ACKs).
    68  	ResponseNonce string `protobuf:"bytes,5,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"`
    69  	// This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v3.DiscoveryResponse>`
    70  	// failed to update configuration. The *message* field in *error_details* provides the Envoy
    71  	// internal exception related to the failure. It is only intended for consumption during manual
    72  	// debugging, the string provided is not guaranteed to be stable across Envoy versions.
    73  	ErrorDetail *status.Status `protobuf:"bytes,6,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"`
    74  }
    75  
    76  func (x *DiscoveryRequest) Reset() {
    77  	*x = DiscoveryRequest{}
    78  	if protoimpl.UnsafeEnabled {
    79  		mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[0]
    80  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    81  		ms.StoreMessageInfo(mi)
    82  	}
    83  }
    84  
    85  func (x *DiscoveryRequest) String() string {
    86  	return protoimpl.X.MessageStringOf(x)
    87  }
    88  
    89  func (*DiscoveryRequest) ProtoMessage() {}
    90  
    91  func (x *DiscoveryRequest) ProtoReflect() protoreflect.Message {
    92  	mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[0]
    93  	if protoimpl.UnsafeEnabled && x != nil {
    94  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    95  		if ms.LoadMessageInfo() == nil {
    96  			ms.StoreMessageInfo(mi)
    97  		}
    98  		return ms
    99  	}
   100  	return mi.MessageOf(x)
   101  }
   102  
   103  // Deprecated: Use DiscoveryRequest.ProtoReflect.Descriptor instead.
   104  func (*DiscoveryRequest) Descriptor() ([]byte, []int) {
   105  	return file_envoy_service_discovery_v3_discovery_proto_rawDescGZIP(), []int{0}
   106  }
   107  
   108  func (x *DiscoveryRequest) GetVersionInfo() string {
   109  	if x != nil {
   110  		return x.VersionInfo
   111  	}
   112  	return ""
   113  }
   114  
   115  func (x *DiscoveryRequest) GetNode() *v3.Node {
   116  	if x != nil {
   117  		return x.Node
   118  	}
   119  	return nil
   120  }
   121  
   122  func (x *DiscoveryRequest) GetResourceNames() []string {
   123  	if x != nil {
   124  		return x.ResourceNames
   125  	}
   126  	return nil
   127  }
   128  
   129  func (x *DiscoveryRequest) GetTypeUrl() string {
   130  	if x != nil {
   131  		return x.TypeUrl
   132  	}
   133  	return ""
   134  }
   135  
   136  func (x *DiscoveryRequest) GetResponseNonce() string {
   137  	if x != nil {
   138  		return x.ResponseNonce
   139  	}
   140  	return ""
   141  }
   142  
   143  func (x *DiscoveryRequest) GetErrorDetail() *status.Status {
   144  	if x != nil {
   145  		return x.ErrorDetail
   146  	}
   147  	return nil
   148  }
   149  
   150  // [#next-free-field: 7]
   151  type DiscoveryResponse struct {
   152  	state         protoimpl.MessageState
   153  	sizeCache     protoimpl.SizeCache
   154  	unknownFields protoimpl.UnknownFields
   155  
   156  	// The version of the response data.
   157  	VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
   158  	// The response resources. These resources are typed and depend on the API being called.
   159  	Resources []*any.Any `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
   160  	// [#not-implemented-hide:]
   161  	// Canary is used to support two Envoy command line flags:
   162  	//
   163  	// * --terminate-on-canary-transition-failure. When set, Envoy is able to
   164  	//   terminate if it detects that configuration is stuck at canary. Consider
   165  	//   this example sequence of updates:
   166  	//   - Management server applies a canary config successfully.
   167  	//   - Management server rolls back to a production config.
   168  	//   - Envoy rejects the new production config.
   169  	//   Since there is no sensible way to continue receiving configuration
   170  	//   updates, Envoy will then terminate and apply production config from a
   171  	//   clean slate.
   172  	// * --dry-run-canary. When set, a canary response will never be applied, only
   173  	//   validated via a dry run.
   174  	Canary bool `protobuf:"varint,3,opt,name=canary,proto3" json:"canary,omitempty"`
   175  	// Type URL for resources. Identifies the xDS API when muxing over ADS.
   176  	// Must be consistent with the type_url in the 'resources' repeated Any (if non-empty).
   177  	TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
   178  	// For gRPC based subscriptions, the nonce provides a way to explicitly ack a
   179  	// specific DiscoveryResponse in a following DiscoveryRequest. Additional
   180  	// messages may have been sent by Envoy to the management server for the
   181  	// previous version on the stream prior to this DiscoveryResponse, that were
   182  	// unprocessed at response send time. The nonce allows the management server
   183  	// to ignore any further DiscoveryRequests for the previous version until a
   184  	// DiscoveryRequest bearing the nonce. The nonce is optional and is not
   185  	// required for non-stream based xDS implementations.
   186  	Nonce string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
   187  	// [#not-implemented-hide:]
   188  	// The control plane instance that sent the response.
   189  	ControlPlane *v3.ControlPlane `protobuf:"bytes,6,opt,name=control_plane,json=controlPlane,proto3" json:"control_plane,omitempty"`
   190  }
   191  
   192  func (x *DiscoveryResponse) Reset() {
   193  	*x = DiscoveryResponse{}
   194  	if protoimpl.UnsafeEnabled {
   195  		mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[1]
   196  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   197  		ms.StoreMessageInfo(mi)
   198  	}
   199  }
   200  
   201  func (x *DiscoveryResponse) String() string {
   202  	return protoimpl.X.MessageStringOf(x)
   203  }
   204  
   205  func (*DiscoveryResponse) ProtoMessage() {}
   206  
   207  func (x *DiscoveryResponse) ProtoReflect() protoreflect.Message {
   208  	mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[1]
   209  	if protoimpl.UnsafeEnabled && x != nil {
   210  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   211  		if ms.LoadMessageInfo() == nil {
   212  			ms.StoreMessageInfo(mi)
   213  		}
   214  		return ms
   215  	}
   216  	return mi.MessageOf(x)
   217  }
   218  
   219  // Deprecated: Use DiscoveryResponse.ProtoReflect.Descriptor instead.
   220  func (*DiscoveryResponse) Descriptor() ([]byte, []int) {
   221  	return file_envoy_service_discovery_v3_discovery_proto_rawDescGZIP(), []int{1}
   222  }
   223  
   224  func (x *DiscoveryResponse) GetVersionInfo() string {
   225  	if x != nil {
   226  		return x.VersionInfo
   227  	}
   228  	return ""
   229  }
   230  
   231  func (x *DiscoveryResponse) GetResources() []*any.Any {
   232  	if x != nil {
   233  		return x.Resources
   234  	}
   235  	return nil
   236  }
   237  
   238  func (x *DiscoveryResponse) GetCanary() bool {
   239  	if x != nil {
   240  		return x.Canary
   241  	}
   242  	return false
   243  }
   244  
   245  func (x *DiscoveryResponse) GetTypeUrl() string {
   246  	if x != nil {
   247  		return x.TypeUrl
   248  	}
   249  	return ""
   250  }
   251  
   252  func (x *DiscoveryResponse) GetNonce() string {
   253  	if x != nil {
   254  		return x.Nonce
   255  	}
   256  	return ""
   257  }
   258  
   259  func (x *DiscoveryResponse) GetControlPlane() *v3.ControlPlane {
   260  	if x != nil {
   261  		return x.ControlPlane
   262  	}
   263  	return nil
   264  }
   265  
   266  // DeltaDiscoveryRequest and DeltaDiscoveryResponse are used in a new gRPC
   267  // endpoint for Delta xDS.
   268  //
   269  // With Delta xDS, the DeltaDiscoveryResponses do not need to include a full
   270  // snapshot of the tracked resources. Instead, DeltaDiscoveryResponses are a
   271  // diff to the state of a xDS client.
   272  // In Delta XDS there are per-resource versions, which allow tracking state at
   273  // the resource granularity.
   274  // An xDS Delta session is always in the context of a gRPC bidirectional
   275  // stream. This allows the xDS server to keep track of the state of xDS clients
   276  // connected to it.
   277  //
   278  // In Delta xDS the nonce field is required and used to pair
   279  // DeltaDiscoveryResponse to a DeltaDiscoveryRequest ACK or NACK.
   280  // Optionally, a response message level system_version_info is present for
   281  // debugging purposes only.
   282  //
   283  // DeltaDiscoveryRequest plays two independent roles. Any DeltaDiscoveryRequest
   284  // can be either or both of: [1] informing the server of what resources the
   285  // client has gained/lost interest in (using resource_names_subscribe and
   286  // resource_names_unsubscribe), or [2] (N)ACKing an earlier resource update from
   287  // the server (using response_nonce, with presence of error_detail making it a NACK).
   288  // Additionally, the first message (for a given type_url) of a reconnected gRPC stream
   289  // has a third role: informing the server of the resources (and their versions)
   290  // that the client already possesses, using the initial_resource_versions field.
   291  //
   292  // As with state-of-the-world, when multiple resource types are multiplexed (ADS),
   293  // all requests/acknowledgments/updates are logically walled off by type_url:
   294  // a Cluster ACK exists in a completely separate world from a prior Route NACK.
   295  // In particular, initial_resource_versions being sent at the "start" of every
   296  // gRPC stream actually entails a message for each type_url, each with its own
   297  // initial_resource_versions.
   298  // [#next-free-field: 8]
   299  type DeltaDiscoveryRequest struct {
   300  	state         protoimpl.MessageState
   301  	sizeCache     protoimpl.SizeCache
   302  	unknownFields protoimpl.UnknownFields
   303  
   304  	// The node making the request.
   305  	Node *v3.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
   306  	// Type of the resource that is being requested, e.g.
   307  	// "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This does not need to be set if
   308  	// resources are only referenced via *xds_resource_subscribe* and
   309  	// *xds_resources_unsubscribe*.
   310  	TypeUrl string `protobuf:"bytes,2,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
   311  	// DeltaDiscoveryRequests allow the client to add or remove individual
   312  	// resources to the set of tracked resources in the context of a stream.
   313  	// All resource names in the resource_names_subscribe list are added to the
   314  	// set of tracked resources and all resource names in the resource_names_unsubscribe
   315  	// list are removed from the set of tracked resources.
   316  	//
   317  	// *Unlike* state-of-the-world xDS, an empty resource_names_subscribe or
   318  	// resource_names_unsubscribe list simply means that no resources are to be
   319  	// added or removed to the resource list.
   320  	// *Like* state-of-the-world xDS, the server must send updates for all tracked
   321  	// resources, but can also send updates for resources the client has not subscribed to.
   322  	//
   323  	// NOTE: the server must respond with all resources listed in resource_names_subscribe,
   324  	// even if it believes the client has the most recent version of them. The reason:
   325  	// the client may have dropped them, but then regained interest before it had a chance
   326  	// to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd.
   327  	//
   328  	// These two fields can be set in any DeltaDiscoveryRequest, including ACKs
   329  	// and initial_resource_versions.
   330  	//
   331  	// A list of Resource names to add to the list of tracked resources.
   332  	ResourceNamesSubscribe []string `protobuf:"bytes,3,rep,name=resource_names_subscribe,json=resourceNamesSubscribe,proto3" json:"resource_names_subscribe,omitempty"`
   333  	// A list of Resource names to remove from the list of tracked resources.
   334  	ResourceNamesUnsubscribe []string `protobuf:"bytes,4,rep,name=resource_names_unsubscribe,json=resourceNamesUnsubscribe,proto3" json:"resource_names_unsubscribe,omitempty"`
   335  	// Informs the server of the versions of the resources the xDS client knows of, to enable the
   336  	// client to continue the same logical xDS session even in the face of gRPC stream reconnection.
   337  	// It will not be populated: [1] in the very first stream of a session, since the client will
   338  	// not yet have any resources,  [2] in any message after the first in a stream (for a given
   339  	// type_url), since the server will already be correctly tracking the client's state.
   340  	// (In ADS, the first message *of each type_url* of a reconnected stream populates this map.)
   341  	// The map's keys are names of xDS resources known to the xDS client.
   342  	// The map's values are opaque resource versions.
   343  	InitialResourceVersions map[string]string `protobuf:"bytes,5,rep,name=initial_resource_versions,json=initialResourceVersions,proto3" json:"initial_resource_versions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   344  	// When the DeltaDiscoveryRequest is a ACK or NACK message in response
   345  	// to a previous DeltaDiscoveryResponse, the response_nonce must be the
   346  	// nonce in the DeltaDiscoveryResponse.
   347  	// Otherwise (unlike in DiscoveryRequest) response_nonce must be omitted.
   348  	ResponseNonce string `protobuf:"bytes,6,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"`
   349  	// This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_service.discovery.v3.DiscoveryResponse>`
   350  	// failed to update configuration. The *message* field in *error_details*
   351  	// provides the Envoy internal exception related to the failure.
   352  	ErrorDetail *status.Status `protobuf:"bytes,7,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"`
   353  }
   354  
   355  func (x *DeltaDiscoveryRequest) Reset() {
   356  	*x = DeltaDiscoveryRequest{}
   357  	if protoimpl.UnsafeEnabled {
   358  		mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[2]
   359  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   360  		ms.StoreMessageInfo(mi)
   361  	}
   362  }
   363  
   364  func (x *DeltaDiscoveryRequest) String() string {
   365  	return protoimpl.X.MessageStringOf(x)
   366  }
   367  
   368  func (*DeltaDiscoveryRequest) ProtoMessage() {}
   369  
   370  func (x *DeltaDiscoveryRequest) ProtoReflect() protoreflect.Message {
   371  	mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[2]
   372  	if protoimpl.UnsafeEnabled && x != nil {
   373  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   374  		if ms.LoadMessageInfo() == nil {
   375  			ms.StoreMessageInfo(mi)
   376  		}
   377  		return ms
   378  	}
   379  	return mi.MessageOf(x)
   380  }
   381  
   382  // Deprecated: Use DeltaDiscoveryRequest.ProtoReflect.Descriptor instead.
   383  func (*DeltaDiscoveryRequest) Descriptor() ([]byte, []int) {
   384  	return file_envoy_service_discovery_v3_discovery_proto_rawDescGZIP(), []int{2}
   385  }
   386  
   387  func (x *DeltaDiscoveryRequest) GetNode() *v3.Node {
   388  	if x != nil {
   389  		return x.Node
   390  	}
   391  	return nil
   392  }
   393  
   394  func (x *DeltaDiscoveryRequest) GetTypeUrl() string {
   395  	if x != nil {
   396  		return x.TypeUrl
   397  	}
   398  	return ""
   399  }
   400  
   401  func (x *DeltaDiscoveryRequest) GetResourceNamesSubscribe() []string {
   402  	if x != nil {
   403  		return x.ResourceNamesSubscribe
   404  	}
   405  	return nil
   406  }
   407  
   408  func (x *DeltaDiscoveryRequest) GetResourceNamesUnsubscribe() []string {
   409  	if x != nil {
   410  		return x.ResourceNamesUnsubscribe
   411  	}
   412  	return nil
   413  }
   414  
   415  func (x *DeltaDiscoveryRequest) GetInitialResourceVersions() map[string]string {
   416  	if x != nil {
   417  		return x.InitialResourceVersions
   418  	}
   419  	return nil
   420  }
   421  
   422  func (x *DeltaDiscoveryRequest) GetResponseNonce() string {
   423  	if x != nil {
   424  		return x.ResponseNonce
   425  	}
   426  	return ""
   427  }
   428  
   429  func (x *DeltaDiscoveryRequest) GetErrorDetail() *status.Status {
   430  	if x != nil {
   431  		return x.ErrorDetail
   432  	}
   433  	return nil
   434  }
   435  
   436  // [#next-free-field: 7]
   437  type DeltaDiscoveryResponse struct {
   438  	state         protoimpl.MessageState
   439  	sizeCache     protoimpl.SizeCache
   440  	unknownFields protoimpl.UnknownFields
   441  
   442  	// The version of the response data (used for debugging).
   443  	SystemVersionInfo string `protobuf:"bytes,1,opt,name=system_version_info,json=systemVersionInfo,proto3" json:"system_version_info,omitempty"`
   444  	// The response resources. These are typed resources, whose types must match
   445  	// the type_url field.
   446  	Resources []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
   447  	// Type URL for resources. Identifies the xDS API when muxing over ADS.
   448  	// Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty.
   449  	TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
   450  	// Resources names of resources that have be deleted and to be removed from the xDS Client.
   451  	// Removed resources for missing resources can be ignored.
   452  	RemovedResources []string `protobuf:"bytes,6,rep,name=removed_resources,json=removedResources,proto3" json:"removed_resources,omitempty"`
   453  	// The nonce provides a way for DeltaDiscoveryRequests to uniquely
   454  	// reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
   455  	Nonce string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
   456  }
   457  
   458  func (x *DeltaDiscoveryResponse) Reset() {
   459  	*x = DeltaDiscoveryResponse{}
   460  	if protoimpl.UnsafeEnabled {
   461  		mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[3]
   462  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   463  		ms.StoreMessageInfo(mi)
   464  	}
   465  }
   466  
   467  func (x *DeltaDiscoveryResponse) String() string {
   468  	return protoimpl.X.MessageStringOf(x)
   469  }
   470  
   471  func (*DeltaDiscoveryResponse) ProtoMessage() {}
   472  
   473  func (x *DeltaDiscoveryResponse) ProtoReflect() protoreflect.Message {
   474  	mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[3]
   475  	if protoimpl.UnsafeEnabled && x != nil {
   476  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   477  		if ms.LoadMessageInfo() == nil {
   478  			ms.StoreMessageInfo(mi)
   479  		}
   480  		return ms
   481  	}
   482  	return mi.MessageOf(x)
   483  }
   484  
   485  // Deprecated: Use DeltaDiscoveryResponse.ProtoReflect.Descriptor instead.
   486  func (*DeltaDiscoveryResponse) Descriptor() ([]byte, []int) {
   487  	return file_envoy_service_discovery_v3_discovery_proto_rawDescGZIP(), []int{3}
   488  }
   489  
   490  func (x *DeltaDiscoveryResponse) GetSystemVersionInfo() string {
   491  	if x != nil {
   492  		return x.SystemVersionInfo
   493  	}
   494  	return ""
   495  }
   496  
   497  func (x *DeltaDiscoveryResponse) GetResources() []*Resource {
   498  	if x != nil {
   499  		return x.Resources
   500  	}
   501  	return nil
   502  }
   503  
   504  func (x *DeltaDiscoveryResponse) GetTypeUrl() string {
   505  	if x != nil {
   506  		return x.TypeUrl
   507  	}
   508  	return ""
   509  }
   510  
   511  func (x *DeltaDiscoveryResponse) GetRemovedResources() []string {
   512  	if x != nil {
   513  		return x.RemovedResources
   514  	}
   515  	return nil
   516  }
   517  
   518  func (x *DeltaDiscoveryResponse) GetNonce() string {
   519  	if x != nil {
   520  		return x.Nonce
   521  	}
   522  	return ""
   523  }
   524  
   525  // [#next-free-field: 8]
   526  type Resource struct {
   527  	state         protoimpl.MessageState
   528  	sizeCache     protoimpl.SizeCache
   529  	unknownFields protoimpl.UnknownFields
   530  
   531  	// The resource's name, to distinguish it from others of the same type of resource.
   532  	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
   533  	// The aliases are a list of other names that this resource can go by.
   534  	Aliases []string `protobuf:"bytes,4,rep,name=aliases,proto3" json:"aliases,omitempty"`
   535  	// The resource level version. It allows xDS to track the state of individual
   536  	// resources.
   537  	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
   538  	// The resource being tracked.
   539  	Resource *any.Any `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
   540  	// Time-to-live value for the resource. For each resource, a timer is started. The timer is
   541  	// reset each time the resource is received with a new TTL. If the resource is received with
   542  	// no TTL set, the timer is removed for the resource. Upon expiration of the timer, the
   543  	// configuration for the resource will be removed.
   544  	//
   545  	// The TTL can be refreshed or changed by sending a response that doesn't change the resource
   546  	// version. In this case the resource field does not need to be populated, which allows for
   547  	// light-weight "heartbeat" updates to keep a resource with a TTL alive.
   548  	//
   549  	// The TTL feature is meant to support configurations that should be removed in the event of
   550  	// a management server failure. For example, the feature may be used for fault injection
   551  	// testing where the fault injection should be terminated in the event that Envoy loses contact
   552  	// with the management server.
   553  	Ttl *duration.Duration `protobuf:"bytes,6,opt,name=ttl,proto3" json:"ttl,omitempty"`
   554  	// Cache control properties for the resource.
   555  	// [#not-implemented-hide:]
   556  	CacheControl *Resource_CacheControl `protobuf:"bytes,7,opt,name=cache_control,json=cacheControl,proto3" json:"cache_control,omitempty"`
   557  }
   558  
   559  func (x *Resource) Reset() {
   560  	*x = Resource{}
   561  	if protoimpl.UnsafeEnabled {
   562  		mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[4]
   563  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   564  		ms.StoreMessageInfo(mi)
   565  	}
   566  }
   567  
   568  func (x *Resource) String() string {
   569  	return protoimpl.X.MessageStringOf(x)
   570  }
   571  
   572  func (*Resource) ProtoMessage() {}
   573  
   574  func (x *Resource) ProtoReflect() protoreflect.Message {
   575  	mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[4]
   576  	if protoimpl.UnsafeEnabled && x != nil {
   577  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   578  		if ms.LoadMessageInfo() == nil {
   579  			ms.StoreMessageInfo(mi)
   580  		}
   581  		return ms
   582  	}
   583  	return mi.MessageOf(x)
   584  }
   585  
   586  // Deprecated: Use Resource.ProtoReflect.Descriptor instead.
   587  func (*Resource) Descriptor() ([]byte, []int) {
   588  	return file_envoy_service_discovery_v3_discovery_proto_rawDescGZIP(), []int{4}
   589  }
   590  
   591  func (x *Resource) GetName() string {
   592  	if x != nil {
   593  		return x.Name
   594  	}
   595  	return ""
   596  }
   597  
   598  func (x *Resource) GetAliases() []string {
   599  	if x != nil {
   600  		return x.Aliases
   601  	}
   602  	return nil
   603  }
   604  
   605  func (x *Resource) GetVersion() string {
   606  	if x != nil {
   607  		return x.Version
   608  	}
   609  	return ""
   610  }
   611  
   612  func (x *Resource) GetResource() *any.Any {
   613  	if x != nil {
   614  		return x.Resource
   615  	}
   616  	return nil
   617  }
   618  
   619  func (x *Resource) GetTtl() *duration.Duration {
   620  	if x != nil {
   621  		return x.Ttl
   622  	}
   623  	return nil
   624  }
   625  
   626  func (x *Resource) GetCacheControl() *Resource_CacheControl {
   627  	if x != nil {
   628  		return x.CacheControl
   629  	}
   630  	return nil
   631  }
   632  
   633  // Cache control properties for the resource.
   634  // [#not-implemented-hide:]
   635  type Resource_CacheControl struct {
   636  	state         protoimpl.MessageState
   637  	sizeCache     protoimpl.SizeCache
   638  	unknownFields protoimpl.UnknownFields
   639  
   640  	// If true, xDS proxies may not cache this resource.
   641  	// Note that this does not apply to clients other than xDS proxies, which must cache resources
   642  	// for their own use, regardless of the value of this field.
   643  	DoNotCache bool `protobuf:"varint,1,opt,name=do_not_cache,json=doNotCache,proto3" json:"do_not_cache,omitempty"`
   644  }
   645  
   646  func (x *Resource_CacheControl) Reset() {
   647  	*x = Resource_CacheControl{}
   648  	if protoimpl.UnsafeEnabled {
   649  		mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[6]
   650  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   651  		ms.StoreMessageInfo(mi)
   652  	}
   653  }
   654  
   655  func (x *Resource_CacheControl) String() string {
   656  	return protoimpl.X.MessageStringOf(x)
   657  }
   658  
   659  func (*Resource_CacheControl) ProtoMessage() {}
   660  
   661  func (x *Resource_CacheControl) ProtoReflect() protoreflect.Message {
   662  	mi := &file_envoy_service_discovery_v3_discovery_proto_msgTypes[6]
   663  	if protoimpl.UnsafeEnabled && x != nil {
   664  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   665  		if ms.LoadMessageInfo() == nil {
   666  			ms.StoreMessageInfo(mi)
   667  		}
   668  		return ms
   669  	}
   670  	return mi.MessageOf(x)
   671  }
   672  
   673  // Deprecated: Use Resource_CacheControl.ProtoReflect.Descriptor instead.
   674  func (*Resource_CacheControl) Descriptor() ([]byte, []int) {
   675  	return file_envoy_service_discovery_v3_discovery_proto_rawDescGZIP(), []int{4, 0}
   676  }
   677  
   678  func (x *Resource_CacheControl) GetDoNotCache() bool {
   679  	if x != nil {
   680  		return x.DoNotCache
   681  	}
   682  	return false
   683  }
   684  
   685  var File_envoy_service_discovery_v3_discovery_proto protoreflect.FileDescriptor
   686  
   687  var file_envoy_service_discovery_v3_discovery_proto_rawDesc = []byte{
   688  	0x0a, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
   689  	0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x33, 0x2f, 0x64, 0x69, 0x73,
   690  	0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x65, 0x6e,
   691  	0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63,
   692  	0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
   693  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62,
   694  	0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   695  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70,
   696  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
   697  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
   698  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63,
   699  	0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75,
   700  	0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
   701  	0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75,
   702  	0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
   703  	0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64,
   704  	0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76,
   705  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
   706  	0xab, 0x02, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71,
   707  	0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
   708  	0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73,
   709  	0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18,
   710  	0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
   711  	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x64,
   712  	0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75,
   713  	0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,
   714  	0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19,
   715  	0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
   716  	0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73,
   717  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
   718  	0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4e, 0x6f, 0x6e, 0x63, 0x65,
   719  	0x12, 0x35, 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c,
   720  	0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   721  	0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, 0x65, 0x72, 0x72, 0x6f,
   722  	0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x3a, 0x24, 0x9a, 0xc5, 0x88, 0x1e, 0x1f, 0x0a, 0x1d,
   723  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x69, 0x73,
   724  	0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa3, 0x02,
   725  	0x0a, 0x11, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
   726  	0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
   727  	0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69,
   728  	0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   729  	0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   730  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52,
   731  	0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61,
   732  	0x6e, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x61, 0x6e, 0x61,
   733  	0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04,
   734  	0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a,
   735  	0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f,
   736  	0x6e, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x70,
   737  	0x6c, 0x61, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76,
   738  	0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76,
   739  	0x33, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x52, 0x0c,
   740  	0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x3a, 0x25, 0x9a, 0xc5,
   741  	0x88, 0x1e, 0x20, 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
   742  	0x32, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
   743  	0x6e, 0x73, 0x65, 0x22, 0xbc, 0x04, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73,
   744  	0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a,
   745  	0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e,
   746  	0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
   747  	0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a,
   748  	0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   749  	0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x6f,
   750  	0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63,
   751  	0x72, 0x69, 0x62, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x73, 0x6f,
   752  	0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
   753  	0x62, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e,
   754  	0x61, 0x6d, 0x65, 0x73, 0x5f, 0x75, 0x6e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
   755  	0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
   756  	0x4e, 0x61, 0x6d, 0x65, 0x73, 0x55, 0x6e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
   757  	0x12, 0x8a, 0x01, 0x0a, 0x19, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x73,
   758  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05,
   759  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72,
   760  	0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76,
   761  	0x33, 0x2e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
   762  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52,
   763  	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45,
   764  	0x6e, 0x74, 0x72, 0x79, 0x52, 0x17, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73,
   765  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a,
   766  	0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18,
   767  	0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4e,
   768  	0x6f, 0x6e, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65,
   769  	0x74, 0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f,
   770  	0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b,
   771  	0x65, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0x4a, 0x0a, 0x1c, 0x49,
   772  	0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65,
   773  	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
   774  	0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
   775  	0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
   776  	0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x29, 0x9a, 0xc5, 0x88, 0x1e, 0x24, 0x0a, 0x22,
   777  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c,
   778  	0x74, 0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
   779  	0x73, 0x74, 0x22, 0x96, 0x02, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73, 0x63,
   780  	0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a,
   781  	0x13, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
   782  	0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x79, 0x73, 0x74,
   783  	0x65, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x42, 0x0a,
   784  	0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
   785  	0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   786  	0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65,
   787  	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
   788  	0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20,
   789  	0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x2b, 0x0a, 0x11,
   790  	0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
   791  	0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64,
   792  	0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e,
   793  	0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x3a,
   794  	0x2a, 0x9a, 0xc5, 0x88, 0x1e, 0x25, 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70,
   795  	0x69, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76,
   796  	0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xd9, 0x02, 0x0a, 0x08,
   797  	0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   798  	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
   799  	0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x61,
   800  	0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
   801  	0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   802  	0x12, 0x30, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01,
   803  	0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   804  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   805  	0x63, 0x65, 0x12, 0x2b, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
   806  	0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   807  	0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12,
   808  	0x56, 0x0a, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
   809  	0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73,
   810  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
   811  	0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x43, 0x61, 0x63,
   812  	0x68, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x0c, 0x63, 0x61, 0x63, 0x68, 0x65,
   813  	0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x1a, 0x30, 0x0a, 0x0c, 0x43, 0x61, 0x63, 0x68, 0x65,
   814  	0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x20, 0x0a, 0x0c, 0x64, 0x6f, 0x5f, 0x6e, 0x6f,
   815  	0x74, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64,
   816  	0x6f, 0x4e, 0x6f, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x3a, 0x1c, 0x9a, 0xc5, 0x88, 0x1e, 0x17,
   817  	0x0a, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x52,
   818  	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x44, 0x0a, 0x28, 0x69, 0x6f, 0x2e, 0x65, 0x6e,
   819  	0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73,
   820  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
   821  	0x2e, 0x76, 0x33, 0x42, 0x0e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x50, 0x72,
   822  	0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70,
   823  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   824  }
   825  
   826  var (
   827  	file_envoy_service_discovery_v3_discovery_proto_rawDescOnce sync.Once
   828  	file_envoy_service_discovery_v3_discovery_proto_rawDescData = file_envoy_service_discovery_v3_discovery_proto_rawDesc
   829  )
   830  
   831  func file_envoy_service_discovery_v3_discovery_proto_rawDescGZIP() []byte {
   832  	file_envoy_service_discovery_v3_discovery_proto_rawDescOnce.Do(func() {
   833  		file_envoy_service_discovery_v3_discovery_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_discovery_v3_discovery_proto_rawDescData)
   834  	})
   835  	return file_envoy_service_discovery_v3_discovery_proto_rawDescData
   836  }
   837  
   838  var file_envoy_service_discovery_v3_discovery_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
   839  var file_envoy_service_discovery_v3_discovery_proto_goTypes = []interface{}{
   840  	(*DiscoveryRequest)(nil),       // 0: envoy.service.discovery.v3.DiscoveryRequest
   841  	(*DiscoveryResponse)(nil),      // 1: envoy.service.discovery.v3.DiscoveryResponse
   842  	(*DeltaDiscoveryRequest)(nil),  // 2: envoy.service.discovery.v3.DeltaDiscoveryRequest
   843  	(*DeltaDiscoveryResponse)(nil), // 3: envoy.service.discovery.v3.DeltaDiscoveryResponse
   844  	(*Resource)(nil),               // 4: envoy.service.discovery.v3.Resource
   845  	nil,                            // 5: envoy.service.discovery.v3.DeltaDiscoveryRequest.InitialResourceVersionsEntry
   846  	(*Resource_CacheControl)(nil),  // 6: envoy.service.discovery.v3.Resource.CacheControl
   847  	(*v3.Node)(nil),                // 7: envoy.config.core.v3.Node
   848  	(*status.Status)(nil),          // 8: google.rpc.Status
   849  	(*any.Any)(nil),                // 9: google.protobuf.Any
   850  	(*v3.ControlPlane)(nil),        // 10: envoy.config.core.v3.ControlPlane
   851  	(*duration.Duration)(nil),      // 11: google.protobuf.Duration
   852  }
   853  var file_envoy_service_discovery_v3_discovery_proto_depIdxs = []int32{
   854  	7,  // 0: envoy.service.discovery.v3.DiscoveryRequest.node:type_name -> envoy.config.core.v3.Node
   855  	8,  // 1: envoy.service.discovery.v3.DiscoveryRequest.error_detail:type_name -> google.rpc.Status
   856  	9,  // 2: envoy.service.discovery.v3.DiscoveryResponse.resources:type_name -> google.protobuf.Any
   857  	10, // 3: envoy.service.discovery.v3.DiscoveryResponse.control_plane:type_name -> envoy.config.core.v3.ControlPlane
   858  	7,  // 4: envoy.service.discovery.v3.DeltaDiscoveryRequest.node:type_name -> envoy.config.core.v3.Node
   859  	5,  // 5: envoy.service.discovery.v3.DeltaDiscoveryRequest.initial_resource_versions:type_name -> envoy.service.discovery.v3.DeltaDiscoveryRequest.InitialResourceVersionsEntry
   860  	8,  // 6: envoy.service.discovery.v3.DeltaDiscoveryRequest.error_detail:type_name -> google.rpc.Status
   861  	4,  // 7: envoy.service.discovery.v3.DeltaDiscoveryResponse.resources:type_name -> envoy.service.discovery.v3.Resource
   862  	9,  // 8: envoy.service.discovery.v3.Resource.resource:type_name -> google.protobuf.Any
   863  	11, // 9: envoy.service.discovery.v3.Resource.ttl:type_name -> google.protobuf.Duration
   864  	6,  // 10: envoy.service.discovery.v3.Resource.cache_control:type_name -> envoy.service.discovery.v3.Resource.CacheControl
   865  	11, // [11:11] is the sub-list for method output_type
   866  	11, // [11:11] is the sub-list for method input_type
   867  	11, // [11:11] is the sub-list for extension type_name
   868  	11, // [11:11] is the sub-list for extension extendee
   869  	0,  // [0:11] is the sub-list for field type_name
   870  }
   871  
   872  func init() { file_envoy_service_discovery_v3_discovery_proto_init() }
   873  func file_envoy_service_discovery_v3_discovery_proto_init() {
   874  	if File_envoy_service_discovery_v3_discovery_proto != nil {
   875  		return
   876  	}
   877  	if !protoimpl.UnsafeEnabled {
   878  		file_envoy_service_discovery_v3_discovery_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   879  			switch v := v.(*DiscoveryRequest); i {
   880  			case 0:
   881  				return &v.state
   882  			case 1:
   883  				return &v.sizeCache
   884  			case 2:
   885  				return &v.unknownFields
   886  			default:
   887  				return nil
   888  			}
   889  		}
   890  		file_envoy_service_discovery_v3_discovery_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   891  			switch v := v.(*DiscoveryResponse); i {
   892  			case 0:
   893  				return &v.state
   894  			case 1:
   895  				return &v.sizeCache
   896  			case 2:
   897  				return &v.unknownFields
   898  			default:
   899  				return nil
   900  			}
   901  		}
   902  		file_envoy_service_discovery_v3_discovery_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   903  			switch v := v.(*DeltaDiscoveryRequest); i {
   904  			case 0:
   905  				return &v.state
   906  			case 1:
   907  				return &v.sizeCache
   908  			case 2:
   909  				return &v.unknownFields
   910  			default:
   911  				return nil
   912  			}
   913  		}
   914  		file_envoy_service_discovery_v3_discovery_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   915  			switch v := v.(*DeltaDiscoveryResponse); i {
   916  			case 0:
   917  				return &v.state
   918  			case 1:
   919  				return &v.sizeCache
   920  			case 2:
   921  				return &v.unknownFields
   922  			default:
   923  				return nil
   924  			}
   925  		}
   926  		file_envoy_service_discovery_v3_discovery_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   927  			switch v := v.(*Resource); i {
   928  			case 0:
   929  				return &v.state
   930  			case 1:
   931  				return &v.sizeCache
   932  			case 2:
   933  				return &v.unknownFields
   934  			default:
   935  				return nil
   936  			}
   937  		}
   938  		file_envoy_service_discovery_v3_discovery_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   939  			switch v := v.(*Resource_CacheControl); i {
   940  			case 0:
   941  				return &v.state
   942  			case 1:
   943  				return &v.sizeCache
   944  			case 2:
   945  				return &v.unknownFields
   946  			default:
   947  				return nil
   948  			}
   949  		}
   950  	}
   951  	type x struct{}
   952  	out := protoimpl.TypeBuilder{
   953  		File: protoimpl.DescBuilder{
   954  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   955  			RawDescriptor: file_envoy_service_discovery_v3_discovery_proto_rawDesc,
   956  			NumEnums:      0,
   957  			NumMessages:   7,
   958  			NumExtensions: 0,
   959  			NumServices:   0,
   960  		},
   961  		GoTypes:           file_envoy_service_discovery_v3_discovery_proto_goTypes,
   962  		DependencyIndexes: file_envoy_service_discovery_v3_discovery_proto_depIdxs,
   963  		MessageInfos:      file_envoy_service_discovery_v3_discovery_proto_msgTypes,
   964  	}.Build()
   965  	File_envoy_service_discovery_v3_discovery_proto = out.File
   966  	file_envoy_service_discovery_v3_discovery_proto_rawDesc = nil
   967  	file_envoy_service_discovery_v3_discovery_proto_goTypes = nil
   968  	file_envoy_service_discovery_v3_discovery_proto_depIdxs = nil
   969  }
   970  

View as plain text