...

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

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

     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/v4alpha/discovery.proto
     6  
     7  package envoy_service_discovery_v4alpha
     8  
     9  import (
    10  	_ "github.com/cncf/udpa/go/udpa/annotations"
    11  	v4alpha "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v4alpha"
    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 *v4alpha.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.v4alpha.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_v4alpha_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_v4alpha_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_v4alpha_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() *v4alpha.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 *v4alpha.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_v4alpha_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_v4alpha_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_v4alpha_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() *v4alpha.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 *v4alpha.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.v4alpha.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_v4alpha_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_v4alpha_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_v4alpha_discovery_proto_rawDescGZIP(), []int{2}
   385  }
   386  
   387  func (x *DeltaDiscoveryRequest) GetNode() *v4alpha.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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_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_v4alpha_discovery_proto protoreflect.FileDescriptor
   686  
   687  var file_envoy_service_discovery_v4alpha_discovery_proto_rawDesc = []byte{
   688  	0x0a, 0x2f, 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, 0x34, 0x61, 0x6c, 0x70, 0x68,
   690  	0x61, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   691  	0x6f, 0x12, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   692  	0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70,
   693  	0x68, 0x61, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   694  	0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x62, 0x61,
   695  	0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   696  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72,
   697  	0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   698  	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
   699  	0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f,
   700  	0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64,
   701  	0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
   702  	0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70,
   703  	0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65,
   704  	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe,
   705  	0x02, 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
   706  	0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
   707  	0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69,
   708  	0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02,
   709  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
   710  	0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61,
   711  	0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x72,
   712  	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20,
   713  	0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d,
   714  	0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04,
   715  	0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x25, 0x0a,
   716  	0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18,
   717  	0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4e,
   718  	0x6f, 0x6e, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65,
   719  	0x74, 0x61, 0x69, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f,
   720  	0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b,
   721  	0x65, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x3a, 0x32, 0x9a, 0xc5, 0x88,
   722  	0x1e, 0x2d, 0x0a, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
   723  	0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44,
   724  	0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
   725  	0xb6, 0x02, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73,
   726  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   727  	0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72,
   728  	0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f,
   729  	0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f,
   730  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e,
   731  	0x79, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06,
   732  	0x63, 0x61, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x61,
   733  	0x6e, 0x61, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c,
   734  	0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12,
   735  	0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
   736  	0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
   737  	0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65,
   738  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65,
   739  	0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
   740  	0x50, 0x6c, 0x61, 0x6e, 0x65, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x6c,
   741  	0x61, 0x6e, 0x65, 0x3a, 0x33, 0x9a, 0xc5, 0x88, 0x1e, 0x2e, 0x0a, 0x2c, 0x65, 0x6e, 0x76, 0x6f,
   742  	0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76,
   743  	0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
   744  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xd4, 0x04, 0x0a, 0x15, 0x44, 0x65, 0x6c,
   745  	0x74, 0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
   746  	0x73, 0x74, 0x12, 0x33, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
   747  	0x32, 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   748  	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4e, 0x6f, 0x64,
   749  	0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f,
   750  	0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55,
   751  	0x72, 0x6c, 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e,
   752  	0x61, 0x6d, 0x65, 0x73, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18, 0x03,
   753  	0x20, 0x03, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61,
   754  	0x6d, 0x65, 0x73, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x3c, 0x0a, 0x1a,
   755  	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x75,
   756  	0x6e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09,
   757  	0x52, 0x18, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x55,
   758  	0x6e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x8f, 0x01, 0x0a, 0x19, 0x69,
   759  	0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,
   760  	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x53,
   761  	0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64,
   762  	0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61,
   763  	0x2e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52,
   764  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65,
   765  	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e,
   766  	0x74, 0x72, 0x79, 0x52, 0x17, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x6f,
   767  	0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e,
   768  	0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x06,
   769  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4e, 0x6f,
   770  	0x6e, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74,
   771  	0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   772  	0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, 0x65,
   773  	0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0x4a, 0x0a, 0x1c, 0x49, 0x6e,
   774  	0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72,
   775  	0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
   776  	0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
   777  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
   778  	0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x37, 0x9a, 0xc5, 0x88, 0x1e, 0x32, 0x0a, 0x30, 0x65,
   779  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73,
   780  	0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44,
   781  	0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
   782  	0xa9, 0x02, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65,
   783  	0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x79,
   784  	0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66,
   785  	0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56,
   786  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x47, 0x0a, 0x09, 0x72, 0x65,
   787  	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,
   788  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69,
   789  	0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
   790  	0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   791  	0x63, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18,
   792  	0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x2b,
   793  	0x0a, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   794  	0x63, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76,
   795  	0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6e,
   796  	0x6f, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63,
   797  	0x65, 0x3a, 0x38, 0x9a, 0xc5, 0x88, 0x1e, 0x33, 0x0a, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
   798  	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72,
   799  	0x79, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76,
   800  	0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa5, 0x03, 0x0a, 0x08,
   801  	0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   802  	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
   803  	0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x61,
   804  	0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
   805  	0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   806  	0x12, 0x30, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01,
   807  	0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   808  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   809  	0x63, 0x65, 0x12, 0x2b, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
   810  	0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   811  	0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12,
   812  	0x5b, 0x0a, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
   813  	0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73,
   814  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
   815  	0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
   816  	0x65, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x0c,
   817  	0x63, 0x61, 0x63, 0x68, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x1a, 0x69, 0x0a, 0x0c,
   818  	0x43, 0x61, 0x63, 0x68, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x20, 0x0a, 0x0c,
   819  	0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x01, 0x20, 0x01,
   820  	0x28, 0x08, 0x52, 0x0a, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x3a, 0x37,
   821  	0x9a, 0xc5, 0x88, 0x1e, 0x32, 0x0a, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72,
   822  	0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76,
   823  	0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65,
   824  	0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x3a, 0x2a, 0x9a, 0xc5, 0x88, 0x1e, 0x25, 0x0a, 0x23,
   825  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69,
   826  	0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75,
   827  	0x72, 0x63, 0x65, 0x42, 0x49, 0x0a, 0x2d, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
   828  	0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
   829  	0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x34, 0x61,
   830  	0x6c, 0x70, 0x68, 0x61, 0x42, 0x0e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x50,
   831  	0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x03, 0x62, 0x06,
   832  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   833  }
   834  
   835  var (
   836  	file_envoy_service_discovery_v4alpha_discovery_proto_rawDescOnce sync.Once
   837  	file_envoy_service_discovery_v4alpha_discovery_proto_rawDescData = file_envoy_service_discovery_v4alpha_discovery_proto_rawDesc
   838  )
   839  
   840  func file_envoy_service_discovery_v4alpha_discovery_proto_rawDescGZIP() []byte {
   841  	file_envoy_service_discovery_v4alpha_discovery_proto_rawDescOnce.Do(func() {
   842  		file_envoy_service_discovery_v4alpha_discovery_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_discovery_v4alpha_discovery_proto_rawDescData)
   843  	})
   844  	return file_envoy_service_discovery_v4alpha_discovery_proto_rawDescData
   845  }
   846  
   847  var file_envoy_service_discovery_v4alpha_discovery_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
   848  var file_envoy_service_discovery_v4alpha_discovery_proto_goTypes = []interface{}{
   849  	(*DiscoveryRequest)(nil),       // 0: envoy.service.discovery.v4alpha.DiscoveryRequest
   850  	(*DiscoveryResponse)(nil),      // 1: envoy.service.discovery.v4alpha.DiscoveryResponse
   851  	(*DeltaDiscoveryRequest)(nil),  // 2: envoy.service.discovery.v4alpha.DeltaDiscoveryRequest
   852  	(*DeltaDiscoveryResponse)(nil), // 3: envoy.service.discovery.v4alpha.DeltaDiscoveryResponse
   853  	(*Resource)(nil),               // 4: envoy.service.discovery.v4alpha.Resource
   854  	nil,                            // 5: envoy.service.discovery.v4alpha.DeltaDiscoveryRequest.InitialResourceVersionsEntry
   855  	(*Resource_CacheControl)(nil),  // 6: envoy.service.discovery.v4alpha.Resource.CacheControl
   856  	(*v4alpha.Node)(nil),           // 7: envoy.config.core.v4alpha.Node
   857  	(*status.Status)(nil),          // 8: google.rpc.Status
   858  	(*any.Any)(nil),                // 9: google.protobuf.Any
   859  	(*v4alpha.ControlPlane)(nil),   // 10: envoy.config.core.v4alpha.ControlPlane
   860  	(*duration.Duration)(nil),      // 11: google.protobuf.Duration
   861  }
   862  var file_envoy_service_discovery_v4alpha_discovery_proto_depIdxs = []int32{
   863  	7,  // 0: envoy.service.discovery.v4alpha.DiscoveryRequest.node:type_name -> envoy.config.core.v4alpha.Node
   864  	8,  // 1: envoy.service.discovery.v4alpha.DiscoveryRequest.error_detail:type_name -> google.rpc.Status
   865  	9,  // 2: envoy.service.discovery.v4alpha.DiscoveryResponse.resources:type_name -> google.protobuf.Any
   866  	10, // 3: envoy.service.discovery.v4alpha.DiscoveryResponse.control_plane:type_name -> envoy.config.core.v4alpha.ControlPlane
   867  	7,  // 4: envoy.service.discovery.v4alpha.DeltaDiscoveryRequest.node:type_name -> envoy.config.core.v4alpha.Node
   868  	5,  // 5: envoy.service.discovery.v4alpha.DeltaDiscoveryRequest.initial_resource_versions:type_name -> envoy.service.discovery.v4alpha.DeltaDiscoveryRequest.InitialResourceVersionsEntry
   869  	8,  // 6: envoy.service.discovery.v4alpha.DeltaDiscoveryRequest.error_detail:type_name -> google.rpc.Status
   870  	4,  // 7: envoy.service.discovery.v4alpha.DeltaDiscoveryResponse.resources:type_name -> envoy.service.discovery.v4alpha.Resource
   871  	9,  // 8: envoy.service.discovery.v4alpha.Resource.resource:type_name -> google.protobuf.Any
   872  	11, // 9: envoy.service.discovery.v4alpha.Resource.ttl:type_name -> google.protobuf.Duration
   873  	6,  // 10: envoy.service.discovery.v4alpha.Resource.cache_control:type_name -> envoy.service.discovery.v4alpha.Resource.CacheControl
   874  	11, // [11:11] is the sub-list for method output_type
   875  	11, // [11:11] is the sub-list for method input_type
   876  	11, // [11:11] is the sub-list for extension type_name
   877  	11, // [11:11] is the sub-list for extension extendee
   878  	0,  // [0:11] is the sub-list for field type_name
   879  }
   880  
   881  func init() { file_envoy_service_discovery_v4alpha_discovery_proto_init() }
   882  func file_envoy_service_discovery_v4alpha_discovery_proto_init() {
   883  	if File_envoy_service_discovery_v4alpha_discovery_proto != nil {
   884  		return
   885  	}
   886  	if !protoimpl.UnsafeEnabled {
   887  		file_envoy_service_discovery_v4alpha_discovery_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   888  			switch v := v.(*DiscoveryRequest); i {
   889  			case 0:
   890  				return &v.state
   891  			case 1:
   892  				return &v.sizeCache
   893  			case 2:
   894  				return &v.unknownFields
   895  			default:
   896  				return nil
   897  			}
   898  		}
   899  		file_envoy_service_discovery_v4alpha_discovery_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   900  			switch v := v.(*DiscoveryResponse); i {
   901  			case 0:
   902  				return &v.state
   903  			case 1:
   904  				return &v.sizeCache
   905  			case 2:
   906  				return &v.unknownFields
   907  			default:
   908  				return nil
   909  			}
   910  		}
   911  		file_envoy_service_discovery_v4alpha_discovery_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   912  			switch v := v.(*DeltaDiscoveryRequest); i {
   913  			case 0:
   914  				return &v.state
   915  			case 1:
   916  				return &v.sizeCache
   917  			case 2:
   918  				return &v.unknownFields
   919  			default:
   920  				return nil
   921  			}
   922  		}
   923  		file_envoy_service_discovery_v4alpha_discovery_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   924  			switch v := v.(*DeltaDiscoveryResponse); i {
   925  			case 0:
   926  				return &v.state
   927  			case 1:
   928  				return &v.sizeCache
   929  			case 2:
   930  				return &v.unknownFields
   931  			default:
   932  				return nil
   933  			}
   934  		}
   935  		file_envoy_service_discovery_v4alpha_discovery_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   936  			switch v := v.(*Resource); i {
   937  			case 0:
   938  				return &v.state
   939  			case 1:
   940  				return &v.sizeCache
   941  			case 2:
   942  				return &v.unknownFields
   943  			default:
   944  				return nil
   945  			}
   946  		}
   947  		file_envoy_service_discovery_v4alpha_discovery_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   948  			switch v := v.(*Resource_CacheControl); i {
   949  			case 0:
   950  				return &v.state
   951  			case 1:
   952  				return &v.sizeCache
   953  			case 2:
   954  				return &v.unknownFields
   955  			default:
   956  				return nil
   957  			}
   958  		}
   959  	}
   960  	type x struct{}
   961  	out := protoimpl.TypeBuilder{
   962  		File: protoimpl.DescBuilder{
   963  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   964  			RawDescriptor: file_envoy_service_discovery_v4alpha_discovery_proto_rawDesc,
   965  			NumEnums:      0,
   966  			NumMessages:   7,
   967  			NumExtensions: 0,
   968  			NumServices:   0,
   969  		},
   970  		GoTypes:           file_envoy_service_discovery_v4alpha_discovery_proto_goTypes,
   971  		DependencyIndexes: file_envoy_service_discovery_v4alpha_discovery_proto_depIdxs,
   972  		MessageInfos:      file_envoy_service_discovery_v4alpha_discovery_proto_msgTypes,
   973  	}.Build()
   974  	File_envoy_service_discovery_v4alpha_discovery_proto = out.File
   975  	file_envoy_service_discovery_v4alpha_discovery_proto_rawDesc = nil
   976  	file_envoy_service_discovery_v4alpha_discovery_proto_goTypes = nil
   977  	file_envoy_service_discovery_v4alpha_discovery_proto_depIdxs = nil
   978  }
   979  

View as plain text