From c2234502ea5ed3ffb5b7e85edd02fc18386fe2b1 Mon Sep 17 00:00:00 2001 From: Zach Marcantel Date: Tue, 21 Jul 2020 14:58:01 -0500 Subject: [PATCH] Publish cloudvision-apis proto clients Also modifies the provider/gnmi/helper_test Any test. Primarily due to the protov1 Go library being deprecated and moving to the v2 library: 1. skips the Any test until gnmi library updates ModelData. Typically unused unless calling "internal" gRPC methods. 2. the Any::String() method rather than proto.CompactText writer. Equivalent, and usable once we re-enable the test Change-Id: Ic7d3875dc9a9994cc0c1564190dcbbf2146a47e9 --- api/arista/event.v1/event.pb.go | 1220 ++++ api/arista/event.v1/services.gen.pb.go | 1709 ++++++ api/arista/inventory.v1/inventory.pb.go | 523 ++ api/arista/inventory.v1/services.gen.pb.go | 711 +++ api/arista/subscriptions/subscriptions.pb.go | 166 + api/arista/tag.v1/services.gen.pb.go | 5309 ++++++++++++++++++ api/arista/tag.v1/tag.pb.go | 887 +++ api/arista/time/time.pb.go | 171 + api/fmp/extensions.pb.go | 164 + cmd/Collector/libmain/dump.go | 3 +- go.mod | 5 +- go.sum | 45 + provider/gnmi/helpers_test.go | 30 +- 13 files changed, 10926 insertions(+), 17 deletions(-) create mode 100644 api/arista/event.v1/event.pb.go create mode 100644 api/arista/event.v1/services.gen.pb.go create mode 100644 api/arista/inventory.v1/inventory.pb.go create mode 100644 api/arista/inventory.v1/services.gen.pb.go create mode 100644 api/arista/subscriptions/subscriptions.pb.go create mode 100644 api/arista/tag.v1/services.gen.pb.go create mode 100644 api/arista/tag.v1/tag.pb.go create mode 100644 api/arista/time/time.pb.go create mode 100644 api/fmp/extensions.pb.go diff --git a/api/arista/event.v1/event.pb.go b/api/arista/event.v1/event.pb.go new file mode 100644 index 000000000..ed36d0bcb --- /dev/null +++ b/api/arista/event.v1/event.pb.go @@ -0,0 +1,1220 @@ +// Copyright (c) 2020 Arista Networks, Inc. +// Use of this source code is governed by the Apache License 2.0 +// that can be found in the COPYING file. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 +// source: arista/event.v1/event.proto + +package event + +import ( + _ "github.com/aristanetworks/cloudvision-go/api/fmp" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// EventSeverity is the severity level of the event +type EventSeverity int32 + +const ( + EventSeverity_EVENT_SEVERITY_UNSPECIFIED EventSeverity = 0 + EventSeverity_EVENT_SEVERITY_INFO EventSeverity = 1 + EventSeverity_EVENT_SEVERITY_WARNING EventSeverity = 2 + EventSeverity_EVENT_SEVERITY_ERROR EventSeverity = 3 + EventSeverity_EVENT_SEVERITY_CRITICAL EventSeverity = 4 +) + +// Enum value maps for EventSeverity. +var ( + EventSeverity_name = map[int32]string{ + 0: "EVENT_SEVERITY_UNSPECIFIED", + 1: "EVENT_SEVERITY_INFO", + 2: "EVENT_SEVERITY_WARNING", + 3: "EVENT_SEVERITY_ERROR", + 4: "EVENT_SEVERITY_CRITICAL", + } + EventSeverity_value = map[string]int32{ + "EVENT_SEVERITY_UNSPECIFIED": 0, + "EVENT_SEVERITY_INFO": 1, + "EVENT_SEVERITY_WARNING": 2, + "EVENT_SEVERITY_ERROR": 3, + "EVENT_SEVERITY_CRITICAL": 4, + } +) + +func (x EventSeverity) Enum() *EventSeverity { + p := new(EventSeverity) + *p = x + return p +} + +func (x EventSeverity) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EventSeverity) Descriptor() protoreflect.EnumDescriptor { + return file_arista_event_v1_event_proto_enumTypes[0].Descriptor() +} + +func (EventSeverity) Type() protoreflect.EnumType { + return &file_arista_event_v1_event_proto_enumTypes[0] +} + +func (x EventSeverity) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use EventSeverity.Descriptor instead. +func (EventSeverity) EnumDescriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{0} +} + +// ComponentType describes the type of entity on which the event occured +type ComponentType int32 + +const ( + ComponentType_COMPONENT_TYPE_UNSPECIFIED ComponentType = 0 + ComponentType_COMPONENT_TYPE_DEVICE ComponentType = 1 + ComponentType_COMPONENT_TYPE_INTERFACE ComponentType = 2 + ComponentType_COMPONENT_TYPE_TURBINE ComponentType = 3 +) + +// Enum value maps for ComponentType. +var ( + ComponentType_name = map[int32]string{ + 0: "COMPONENT_TYPE_UNSPECIFIED", + 1: "COMPONENT_TYPE_DEVICE", + 2: "COMPONENT_TYPE_INTERFACE", + 3: "COMPONENT_TYPE_TURBINE", + } + ComponentType_value = map[string]int32{ + "COMPONENT_TYPE_UNSPECIFIED": 0, + "COMPONENT_TYPE_DEVICE": 1, + "COMPONENT_TYPE_INTERFACE": 2, + "COMPONENT_TYPE_TURBINE": 3, + } +) + +func (x ComponentType) Enum() *ComponentType { + p := new(ComponentType) + *p = x + return p +} + +func (x ComponentType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ComponentType) Descriptor() protoreflect.EnumDescriptor { + return file_arista_event_v1_event_proto_enumTypes[1].Descriptor() +} + +func (ComponentType) Type() protoreflect.EnumType { + return &file_arista_event_v1_event_proto_enumTypes[1] +} + +func (x ComponentType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ComponentType.Descriptor instead. +func (ComponentType) EnumDescriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{1} +} + +// EventComponent describes an entity on which the event occured +type EventComponent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // type is the type of component + Type ComponentType `protobuf:"varint,1,opt,name=type,proto3,enum=arista.event.v1.ComponentType" json:"type,omitempty"` + // components identifies the entity on which the event occured + Components map[string]string `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *EventComponent) Reset() { + *x = EventComponent{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_event_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventComponent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventComponent) ProtoMessage() {} + +func (x *EventComponent) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_event_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventComponent.ProtoReflect.Descriptor instead. +func (*EventComponent) Descriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{0} +} + +func (x *EventComponent) GetType() ComponentType { + if x != nil { + return x.Type + } + return ComponentType_COMPONENT_TYPE_UNSPECIFIED +} + +func (x *EventComponent) GetComponents() map[string]string { + if x != nil { + return x.Components + } + return nil +} + +// EventComponents contains entities on which an event occured +type EventComponents struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // components describes the components on which an event occured + Components []*EventComponent `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"` +} + +func (x *EventComponents) Reset() { + *x = EventComponents{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_event_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventComponents) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventComponents) ProtoMessage() {} + +func (x *EventComponents) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_event_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventComponents.ProtoReflect.Descriptor instead. +func (*EventComponents) Descriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{1} +} + +func (x *EventComponents) GetComponents() []*EventComponent { + if x != nil { + return x.Components + } + return nil +} + +// EventAck contains acknowledgement information of an event +type EventAck struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ack is the acknowledgement state of an event + Ack *wrappers.BoolValue `protobuf:"bytes,1,opt,name=ack,proto3" json:"ack,omitempty"` + // acker is the user that acknowledged the event + Acker *wrappers.StringValue `protobuf:"bytes,2,opt,name=acker,proto3" json:"acker,omitempty"` + // ack_time is the time of acknowledgement + AckTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=ack_time,json=ackTime,proto3" json:"ack_time,omitempty"` +} + +func (x *EventAck) Reset() { + *x = EventAck{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_event_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAck) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAck) ProtoMessage() {} + +func (x *EventAck) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_event_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventAck.ProtoReflect.Descriptor instead. +func (*EventAck) Descriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{2} +} + +func (x *EventAck) GetAck() *wrappers.BoolValue { + if x != nil { + return x.Ack + } + return nil +} + +func (x *EventAck) GetAcker() *wrappers.StringValue { + if x != nil { + return x.Acker + } + return nil +} + +func (x *EventAck) GetAckTime() *timestamp.Timestamp { + if x != nil { + return x.AckTime + } + return nil +} + +// EventNoteConfig configures a note +type EventNoteConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // note is the text of the note + Note *wrappers.StringValue `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` +} + +func (x *EventNoteConfig) Reset() { + *x = EventNoteConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_event_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventNoteConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventNoteConfig) ProtoMessage() {} + +func (x *EventNoteConfig) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_event_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventNoteConfig.ProtoReflect.Descriptor instead. +func (*EventNoteConfig) Descriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{3} +} + +func (x *EventNoteConfig) GetNote() *wrappers.StringValue { + if x != nil { + return x.Note + } + return nil +} + +// Eventnote is the state of a note +type EventNote struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // note is the text of the note + Note *wrappers.StringValue `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + // note_creator is the creator of the note + NoteCreator *wrappers.StringValue `protobuf:"bytes,2,opt,name=note_creator,json=noteCreator,proto3" json:"note_creator,omitempty"` +} + +func (x *EventNote) Reset() { + *x = EventNote{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_event_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventNote) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventNote) ProtoMessage() {} + +func (x *EventNote) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_event_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventNote.ProtoReflect.Descriptor instead. +func (*EventNote) Descriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{4} +} + +func (x *EventNote) GetNote() *wrappers.StringValue { + if x != nil { + return x.Note + } + return nil +} + +func (x *EventNote) GetNoteCreator() *wrappers.StringValue { + if x != nil { + return x.NoteCreator + } + return nil +} + +// EventKey uniquely identifies an event +type EventKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // key is the event data identifier + Key *wrappers.StringValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // timestamp is the time the event occured + Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *EventKey) Reset() { + *x = EventKey{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_event_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventKey) ProtoMessage() {} + +func (x *EventKey) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_event_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventKey.ProtoReflect.Descriptor instead. +func (*EventKey) Descriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{5} +} + +func (x *EventKey) GetKey() *wrappers.StringValue { + if x != nil { + return x.Key + } + return nil +} + +func (x *EventKey) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +// EventData is additional event data +type EventData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // data is event data specific to the type of this event + Data map[string]string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *EventData) Reset() { + *x = EventData{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_event_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventData) ProtoMessage() {} + +func (x *EventData) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_event_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventData.ProtoReflect.Descriptor instead. +func (*EventData) Descriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{6} +} + +func (x *EventData) GetData() map[string]string { + if x != nil { + return x.Data + } + return nil +} + +// EventNotesConfig configures the notes of an event +type EventNotesConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // notes is keyed by desired note time in Unix time, in milliseconds + Notes map[int64]*EventNoteConfig `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *EventNotesConfig) Reset() { + *x = EventNotesConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_event_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventNotesConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventNotesConfig) ProtoMessage() {} + +func (x *EventNotesConfig) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_event_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventNotesConfig.ProtoReflect.Descriptor instead. +func (*EventNotesConfig) Descriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{7} +} + +func (x *EventNotesConfig) GetNotes() map[int64]*EventNoteConfig { + if x != nil { + return x.Notes + } + return nil +} + +// EventAnnotationConfig configures an event annotation +type EventAnnotationConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // key is the event instance identifier + Key *EventKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // ack is the acknowledgement state of an event + Ack *wrappers.BoolValue `protobuf:"bytes,2,opt,name=ack,proto3" json:"ack,omitempty"` + // notes is the notes on an event + Notes *EventNotesConfig `protobuf:"bytes,3,opt,name=notes,proto3" json:"notes,omitempty"` +} + +func (x *EventAnnotationConfig) Reset() { + *x = EventAnnotationConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_event_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAnnotationConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAnnotationConfig) ProtoMessage() {} + +func (x *EventAnnotationConfig) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_event_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventAnnotationConfig.ProtoReflect.Descriptor instead. +func (*EventAnnotationConfig) Descriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{8} +} + +func (x *EventAnnotationConfig) GetKey() *EventKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *EventAnnotationConfig) GetAck() *wrappers.BoolValue { + if x != nil { + return x.Ack + } + return nil +} + +func (x *EventAnnotationConfig) GetNotes() *EventNotesConfig { + if x != nil { + return x.Notes + } + return nil +} + +// EventNotes is the notes of an event state +type EventNotes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // notes is keyed by the time desired + Notes map[int64]*EventNote `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *EventNotes) Reset() { + *x = EventNotes{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_event_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventNotes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventNotes) ProtoMessage() {} + +func (x *EventNotes) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_event_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventNotes.ProtoReflect.Descriptor instead. +func (*EventNotes) Descriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{9} +} + +func (x *EventNotes) GetNotes() map[int64]*EventNote { + if x != nil { + return x.Notes + } + return nil +} + +// Event is a telemetry event +type Event struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // key is the event instance identifier + Key *EventKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // severity is the severity of the event + Severity EventSeverity `protobuf:"varint,2,opt,name=severity,proto3,enum=arista.event.v1.EventSeverity" json:"severity,omitempty"` + // title is the title of the event + Title *wrappers.StringValue `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` + // description is the description of the event + Description *wrappers.StringValue `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + // event_type is the type of the event + EventType *wrappers.StringValue `protobuf:"bytes,5,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` + // data is the data of the event + Data *EventData `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` + // components is the components on which the event occurred + Components *EventComponents `protobuf:"bytes,7,opt,name=components,proto3" json:"components,omitempty"` + // ack is the acknowledgement status of the event + Ack *EventAck `protobuf:"bytes,8,opt,name=ack,proto3" json:"ack,omitempty"` + // notes is the notes of the event + Notes *EventNotes `protobuf:"bytes,9,opt,name=notes,proto3" json:"notes,omitempty"` + // last_updated_time is the time of the most recent update to the event + LastUpdatedTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=last_updated_time,json=lastUpdatedTime,proto3" json:"last_updated_time,omitempty"` +} + +func (x *Event) Reset() { + *x = Event{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_event_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Event) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Event) ProtoMessage() {} + +func (x *Event) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_event_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Event.ProtoReflect.Descriptor instead. +func (*Event) Descriptor() ([]byte, []int) { + return file_arista_event_v1_event_proto_rawDescGZIP(), []int{10} +} + +func (x *Event) GetKey() *EventKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *Event) GetSeverity() EventSeverity { + if x != nil { + return x.Severity + } + return EventSeverity_EVENT_SEVERITY_UNSPECIFIED +} + +func (x *Event) GetTitle() *wrappers.StringValue { + if x != nil { + return x.Title + } + return nil +} + +func (x *Event) GetDescription() *wrappers.StringValue { + if x != nil { + return x.Description + } + return nil +} + +func (x *Event) GetEventType() *wrappers.StringValue { + if x != nil { + return x.EventType + } + return nil +} + +func (x *Event) GetData() *EventData { + if x != nil { + return x.Data + } + return nil +} + +func (x *Event) GetComponents() *EventComponents { + if x != nil { + return x.Components + } + return nil +} + +func (x *Event) GetAck() *EventAck { + if x != nil { + return x.Ack + } + return nil +} + +func (x *Event) GetNotes() *EventNotes { + if x != nil { + return x.Notes + } + return nil +} + +func (x *Event) GetLastUpdatedTime() *timestamp.Timestamp { + if x != nil { + return x.LastUpdatedTime + } + return nil +} + +var File_arista_event_v1_event_proto protoreflect.FileDescriptor + +var file_arista_event_v1_event_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, + 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x61, + 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x14, 0x66, 0x6d, 0x70, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x01, 0x0a, 0x0e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, + 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, + 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0a, + 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2f, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, + 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x3d, 0x0a, + 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x52, 0x0a, 0x0f, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x12, + 0x3f, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, + 0x6e, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, + 0x22, 0xa3, 0x01, 0x0a, 0x08, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x6b, 0x12, 0x2c, 0x0a, + 0x03, 0x61, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, + 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x03, 0x61, 0x63, 0x6b, 0x12, 0x32, 0x0a, 0x05, 0x61, + 0x63, 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, + 0x35, 0x0a, 0x08, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x61, + 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x43, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, + 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x6f, 0x74, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x22, 0x7e, 0x0a, 0x09, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x3f, 0x0a, 0x0c, 0x6e, 0x6f, + 0x74, 0x65, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, + 0x6e, 0x6f, 0x74, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x7a, 0x0a, 0x08, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x3a, 0x04, 0x80, 0x8e, 0x19, 0x01, 0x22, 0x7e, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x44, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x44, + 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, + 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb2, 0x01, 0x0a, 0x10, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x42, 0x0a, 0x05, + 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4e, + 0x6f, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, + 0x1a, 0x5a, 0x0a, 0x0a, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb3, 0x01, 0x0a, + 0x15, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x03, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x03, 0x61, 0x63, + 0x6b, 0x12, 0x37, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x3a, 0x06, 0xfa, 0x8d, 0x19, 0x02, + 0x72, 0x77, 0x22, 0xa0, 0x01, 0x0a, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, + 0x73, 0x12, 0x3c, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f, + 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x1a, + 0x54, 0x0a, 0x0a, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc3, 0x04, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x2b, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, + 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3a, 0x0a, 0x08, + 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, + 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x3e, 0x0a, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0a, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, + 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, + 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x52, + 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x03, 0x61, + 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x41, 0x63, 0x6b, 0x52, 0x03, 0x61, 0x63, 0x6b, 0x12, 0x31, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, + 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4e, + 0x6f, 0x74, 0x65, 0x73, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x46, 0x0a, 0x11, 0x6c, + 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, + 0x69, 0x6d, 0x65, 0x3a, 0x06, 0xfa, 0x8d, 0x19, 0x02, 0x72, 0x6f, 0x2a, 0x9b, 0x01, 0x0a, 0x0d, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1e, 0x0a, + 0x1a, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, + 0x13, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, + 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, + 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, + 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x45, 0x56, 0x45, + 0x52, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, + 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x43, + 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x04, 0x2a, 0x84, 0x01, 0x0a, 0x0d, 0x43, 0x6f, + 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x43, + 0x4f, 0x4d, 0x50, 0x4f, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x43, + 0x4f, 0x4d, 0x50, 0x4f, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, + 0x56, 0x49, 0x43, 0x45, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x4e, + 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x46, 0x41, + 0x43, 0x45, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x4e, 0x45, 0x4e, + 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x55, 0x52, 0x42, 0x49, 0x4e, 0x45, 0x10, 0x03, + 0x42, 0x28, 0x5a, 0x26, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x2e, 0x76, 0x31, 0x3b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_arista_event_v1_event_proto_rawDescOnce sync.Once + file_arista_event_v1_event_proto_rawDescData = file_arista_event_v1_event_proto_rawDesc +) + +func file_arista_event_v1_event_proto_rawDescGZIP() []byte { + file_arista_event_v1_event_proto_rawDescOnce.Do(func() { + file_arista_event_v1_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_arista_event_v1_event_proto_rawDescData) + }) + return file_arista_event_v1_event_proto_rawDescData +} + +var file_arista_event_v1_event_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_arista_event_v1_event_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_arista_event_v1_event_proto_goTypes = []interface{}{ + (EventSeverity)(0), // 0: arista.event.v1.EventSeverity + (ComponentType)(0), // 1: arista.event.v1.ComponentType + (*EventComponent)(nil), // 2: arista.event.v1.EventComponent + (*EventComponents)(nil), // 3: arista.event.v1.EventComponents + (*EventAck)(nil), // 4: arista.event.v1.EventAck + (*EventNoteConfig)(nil), // 5: arista.event.v1.EventNoteConfig + (*EventNote)(nil), // 6: arista.event.v1.EventNote + (*EventKey)(nil), // 7: arista.event.v1.EventKey + (*EventData)(nil), // 8: arista.event.v1.EventData + (*EventNotesConfig)(nil), // 9: arista.event.v1.EventNotesConfig + (*EventAnnotationConfig)(nil), // 10: arista.event.v1.EventAnnotationConfig + (*EventNotes)(nil), // 11: arista.event.v1.EventNotes + (*Event)(nil), // 12: arista.event.v1.Event + nil, // 13: arista.event.v1.EventComponent.ComponentsEntry + nil, // 14: arista.event.v1.EventData.DataEntry + nil, // 15: arista.event.v1.EventNotesConfig.NotesEntry + nil, // 16: arista.event.v1.EventNotes.NotesEntry + (*wrappers.BoolValue)(nil), // 17: google.protobuf.BoolValue + (*wrappers.StringValue)(nil), // 18: google.protobuf.StringValue + (*timestamp.Timestamp)(nil), // 19: google.protobuf.Timestamp +} +var file_arista_event_v1_event_proto_depIdxs = []int32{ + 1, // 0: arista.event.v1.EventComponent.type:type_name -> arista.event.v1.ComponentType + 13, // 1: arista.event.v1.EventComponent.components:type_name -> arista.event.v1.EventComponent.ComponentsEntry + 2, // 2: arista.event.v1.EventComponents.components:type_name -> arista.event.v1.EventComponent + 17, // 3: arista.event.v1.EventAck.ack:type_name -> google.protobuf.BoolValue + 18, // 4: arista.event.v1.EventAck.acker:type_name -> google.protobuf.StringValue + 19, // 5: arista.event.v1.EventAck.ack_time:type_name -> google.protobuf.Timestamp + 18, // 6: arista.event.v1.EventNoteConfig.note:type_name -> google.protobuf.StringValue + 18, // 7: arista.event.v1.EventNote.note:type_name -> google.protobuf.StringValue + 18, // 8: arista.event.v1.EventNote.note_creator:type_name -> google.protobuf.StringValue + 18, // 9: arista.event.v1.EventKey.key:type_name -> google.protobuf.StringValue + 19, // 10: arista.event.v1.EventKey.timestamp:type_name -> google.protobuf.Timestamp + 14, // 11: arista.event.v1.EventData.data:type_name -> arista.event.v1.EventData.DataEntry + 15, // 12: arista.event.v1.EventNotesConfig.notes:type_name -> arista.event.v1.EventNotesConfig.NotesEntry + 7, // 13: arista.event.v1.EventAnnotationConfig.key:type_name -> arista.event.v1.EventKey + 17, // 14: arista.event.v1.EventAnnotationConfig.ack:type_name -> google.protobuf.BoolValue + 9, // 15: arista.event.v1.EventAnnotationConfig.notes:type_name -> arista.event.v1.EventNotesConfig + 16, // 16: arista.event.v1.EventNotes.notes:type_name -> arista.event.v1.EventNotes.NotesEntry + 7, // 17: arista.event.v1.Event.key:type_name -> arista.event.v1.EventKey + 0, // 18: arista.event.v1.Event.severity:type_name -> arista.event.v1.EventSeverity + 18, // 19: arista.event.v1.Event.title:type_name -> google.protobuf.StringValue + 18, // 20: arista.event.v1.Event.description:type_name -> google.protobuf.StringValue + 18, // 21: arista.event.v1.Event.event_type:type_name -> google.protobuf.StringValue + 8, // 22: arista.event.v1.Event.data:type_name -> arista.event.v1.EventData + 3, // 23: arista.event.v1.Event.components:type_name -> arista.event.v1.EventComponents + 4, // 24: arista.event.v1.Event.ack:type_name -> arista.event.v1.EventAck + 11, // 25: arista.event.v1.Event.notes:type_name -> arista.event.v1.EventNotes + 19, // 26: arista.event.v1.Event.last_updated_time:type_name -> google.protobuf.Timestamp + 5, // 27: arista.event.v1.EventNotesConfig.NotesEntry.value:type_name -> arista.event.v1.EventNoteConfig + 6, // 28: arista.event.v1.EventNotes.NotesEntry.value:type_name -> arista.event.v1.EventNote + 29, // [29:29] is the sub-list for method output_type + 29, // [29:29] is the sub-list for method input_type + 29, // [29:29] is the sub-list for extension type_name + 29, // [29:29] is the sub-list for extension extendee + 0, // [0:29] is the sub-list for field type_name +} + +func init() { file_arista_event_v1_event_proto_init() } +func file_arista_event_v1_event_proto_init() { + if File_arista_event_v1_event_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_arista_event_v1_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventComponent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventComponents); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAck); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_event_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventNoteConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_event_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventNote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_event_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_event_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_event_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventNotesConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_event_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAnnotationConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_event_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventNotes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_event_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Event); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_arista_event_v1_event_proto_rawDesc, + NumEnums: 2, + NumMessages: 15, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_arista_event_v1_event_proto_goTypes, + DependencyIndexes: file_arista_event_v1_event_proto_depIdxs, + EnumInfos: file_arista_event_v1_event_proto_enumTypes, + MessageInfos: file_arista_event_v1_event_proto_msgTypes, + }.Build() + File_arista_event_v1_event_proto = out.File + file_arista_event_v1_event_proto_rawDesc = nil + file_arista_event_v1_event_proto_goTypes = nil + file_arista_event_v1_event_proto_depIdxs = nil +} diff --git a/api/arista/event.v1/services.gen.pb.go b/api/arista/event.v1/services.gen.pb.go new file mode 100644 index 000000000..2a3fe4496 --- /dev/null +++ b/api/arista/event.v1/services.gen.pb.go @@ -0,0 +1,1709 @@ +// Copyright (c) 2020 Arista Networks, Inc. +// Use of this source code is governed by the Apache License 2.0 +// that can be found in the COPYING file. + +// +// Code generated by boomtown. DO NOT EDIT. +// + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 +// source: arista/event.v1/services.gen.proto + +package event + +import ( + subscriptions "github.com/aristanetworks/cloudvision-go/api/arista/subscriptions" + time "github.com/aristanetworks/cloudvision-go/api/arista/time" + context "context" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type EventRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies a Event instance to retrieve. + // This value (and all fields, unless otherwise specified) must be populated. + Key *EventKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the time for which you are interested in the data. + // If no time is given, the server will use the time at twhich it makes the request. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *EventRequest) Reset() { + *x = EventRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventRequest) ProtoMessage() {} + +func (x *EventRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventRequest.ProtoReflect.Descriptor instead. +func (*EventRequest) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{0} +} + +func (x *EventRequest) GetKey() *EventKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *EventRequest) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type EventResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is the value requested. + // This structure will be fully-populated as it exists in the datastore. If + // optional fields were not given at creation, these fields will be empty or + // set to default values. + Value *Event `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time carries the (UTC) timestamp of the last-modification of the + // Event instance in this response. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *EventResponse) Reset() { + *x = EventResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventResponse) ProtoMessage() {} + +func (x *EventResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventResponse.ProtoReflect.Descriptor instead. +func (*EventResponse) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{1} +} + +func (x *EventResponse) GetValue() *Event { + if x != nil { + return x.Value + } + return nil +} + +func (x *EventResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type EventStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. + // This requires all provided fields to be equal to the response. + // + // While transparent to users, this field also allows services to optimize internal + // subscriptions if filter(s) are sufficiently specific. + PartialEqFilter []*Event `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` + // TimeRange allows limiting response data to within a specified time window. + // If this field is populated, at least one of the two time fields are required. + // + // This field is not allowed in the Subscribe RPC. + Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *EventStreamRequest) Reset() { + *x = EventStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventStreamRequest) ProtoMessage() {} + +func (x *EventStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventStreamRequest.ProtoReflect.Descriptor instead. +func (*EventStreamRequest) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{2} +} + +func (x *EventStreamRequest) GetPartialEqFilter() []*Event { + if x != nil { + return x.PartialEqFilter + } + return nil +} + +func (x *EventStreamRequest) GetTime() *time.TimeBounds { + if x != nil { + return x.Time + } + return nil +} + +type EventStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is a value deemed relevant to the initiating request. + // This structure will always have its key-field populated. Which other fields are + // populated, and why, depends on the value of Operation and what triggered this notification. + Value *Event `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time holds the timestamp of this Event's last modification. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + // Operation indicates how the Event value in this response should be considered. + // Under non-subscribe requests, this value should always be INITIAL. In a subscription, + // once all initial data is streamed and the client begins to receive modification updates, + // you should not see INITIAL again. + Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` +} + +func (x *EventStreamResponse) Reset() { + *x = EventStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventStreamResponse) ProtoMessage() {} + +func (x *EventStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventStreamResponse.ProtoReflect.Descriptor instead. +func (*EventStreamResponse) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{3} +} + +func (x *EventStreamResponse) GetValue() *Event { + if x != nil { + return x.Value + } + return nil +} + +func (x *EventStreamResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (x *EventStreamResponse) GetType() subscriptions.Operation { + if x != nil { + return x.Type + } + return subscriptions.Operation_UNSPECIFIED +} + +type EventAnnotationConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies a EventAnnotationConfig instance to retrieve. + // This value (and all fields, unless otherwise specified) must be populated. + Key *EventKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the time for which you are interested in the data. + // If no time is given, the server will use the time at twhich it makes the request. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *EventAnnotationConfigRequest) Reset() { + *x = EventAnnotationConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAnnotationConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAnnotationConfigRequest) ProtoMessage() {} + +func (x *EventAnnotationConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventAnnotationConfigRequest.ProtoReflect.Descriptor instead. +func (*EventAnnotationConfigRequest) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{4} +} + +func (x *EventAnnotationConfigRequest) GetKey() *EventKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *EventAnnotationConfigRequest) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type EventAnnotationConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is the value requested. + // This structure will be fully-populated as it exists in the datastore. If + // optional fields were not given at creation, these fields will be empty or + // set to default values. + Value *EventAnnotationConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time carries the (UTC) timestamp of the last-modification of the + // EventAnnotationConfig instance in this response. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *EventAnnotationConfigResponse) Reset() { + *x = EventAnnotationConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAnnotationConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAnnotationConfigResponse) ProtoMessage() {} + +func (x *EventAnnotationConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventAnnotationConfigResponse.ProtoReflect.Descriptor instead. +func (*EventAnnotationConfigResponse) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{5} +} + +func (x *EventAnnotationConfigResponse) GetValue() *EventAnnotationConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *EventAnnotationConfigResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type EventAnnotationConfigStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. + // This requires all provided fields to be equal to the response. + // + // While transparent to users, this field also allows services to optimize internal + // subscriptions if filter(s) are sufficiently specific. + PartialEqFilter []*EventAnnotationConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` + // TimeRange allows limiting response data to within a specified time window. + // If this field is populated, at least one of the two time fields are required. + // + // This field is not allowed in the Subscribe RPC. + Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *EventAnnotationConfigStreamRequest) Reset() { + *x = EventAnnotationConfigStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAnnotationConfigStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAnnotationConfigStreamRequest) ProtoMessage() {} + +func (x *EventAnnotationConfigStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventAnnotationConfigStreamRequest.ProtoReflect.Descriptor instead. +func (*EventAnnotationConfigStreamRequest) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{6} +} + +func (x *EventAnnotationConfigStreamRequest) GetPartialEqFilter() []*EventAnnotationConfig { + if x != nil { + return x.PartialEqFilter + } + return nil +} + +func (x *EventAnnotationConfigStreamRequest) GetTime() *time.TimeBounds { + if x != nil { + return x.Time + } + return nil +} + +type EventAnnotationConfigStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is a value deemed relevant to the initiating request. + // This structure will always have its key-field populated. Which other fields are + // populated, and why, depends on the value of Operation and what triggered this notification. + Value *EventAnnotationConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time holds the timestamp of this EventAnnotationConfig's last modification. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + // Operation indicates how the EventAnnotationConfig value in this response should be considered. + // Under non-subscribe requests, this value should always be INITIAL. In a subscription, + // once all initial data is streamed and the client begins to receive modification updates, + // you should not see INITIAL again. + Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` +} + +func (x *EventAnnotationConfigStreamResponse) Reset() { + *x = EventAnnotationConfigStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAnnotationConfigStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAnnotationConfigStreamResponse) ProtoMessage() {} + +func (x *EventAnnotationConfigStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventAnnotationConfigStreamResponse.ProtoReflect.Descriptor instead. +func (*EventAnnotationConfigStreamResponse) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{7} +} + +func (x *EventAnnotationConfigStreamResponse) GetValue() *EventAnnotationConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *EventAnnotationConfigStreamResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (x *EventAnnotationConfigStreamResponse) GetType() subscriptions.Operation { + if x != nil { + return x.Type + } + return subscriptions.Operation_UNSPECIFIED +} + +type EventAnnotationConfigSetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // EventAnnotationConfig carries the value to set into the datastore. + // See the documentation on the EventAnnotationConfig struct for which fields are required. + Value *EventAnnotationConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *EventAnnotationConfigSetRequest) Reset() { + *x = EventAnnotationConfigSetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAnnotationConfigSetRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAnnotationConfigSetRequest) ProtoMessage() {} + +func (x *EventAnnotationConfigSetRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventAnnotationConfigSetRequest.ProtoReflect.Descriptor instead. +func (*EventAnnotationConfigSetRequest) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{8} +} + +func (x *EventAnnotationConfigSetRequest) GetValue() *EventAnnotationConfig { + if x != nil { + return x.Value + } + return nil +} + +type EventAnnotationConfigSetResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value carries all the values given in the EventAnnotationConfigSetRequest as well + // as any server-generated values. + Value *EventAnnotationConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time indicates the (UTC) timestamp at which the system recognizes the + // creation. The only guarantees made about this timestamp are: + // + // - it is after the time the request was received + // - a time-ranged query with StartTime==CreatedAt will include this instance. + // + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *EventAnnotationConfigSetResponse) Reset() { + *x = EventAnnotationConfigSetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAnnotationConfigSetResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAnnotationConfigSetResponse) ProtoMessage() {} + +func (x *EventAnnotationConfigSetResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventAnnotationConfigSetResponse.ProtoReflect.Descriptor instead. +func (*EventAnnotationConfigSetResponse) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{9} +} + +func (x *EventAnnotationConfigSetResponse) GetValue() *EventAnnotationConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *EventAnnotationConfigSetResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type EventAnnotationConfigDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key indicates which EventAnnotationConfig instance to remove. + // This field (and all keys, unless otherwise specified) must always be set. + Key *EventKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *EventAnnotationConfigDeleteRequest) Reset() { + *x = EventAnnotationConfigDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAnnotationConfigDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAnnotationConfigDeleteRequest) ProtoMessage() {} + +func (x *EventAnnotationConfigDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventAnnotationConfigDeleteRequest.ProtoReflect.Descriptor instead. +func (*EventAnnotationConfigDeleteRequest) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{10} +} + +func (x *EventAnnotationConfigDeleteRequest) GetKey() *EventKey { + if x != nil { + return x.Key + } + return nil +} + +type EventAnnotationConfigDeleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key echoes back the key of the deleted EventAnnotationConfig instance. + Key *EventKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the (UTC) timestamp at which the system recognizes the + // deletion. The only guarantees made about this timestamp are: + // + // - it is after the time the request was received + // - a time-ranged query with StartTime==DeletedAt will not include this instance. + // + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *EventAnnotationConfigDeleteResponse) Reset() { + *x = EventAnnotationConfigDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAnnotationConfigDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAnnotationConfigDeleteResponse) ProtoMessage() {} + +func (x *EventAnnotationConfigDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_event_v1_services_gen_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventAnnotationConfigDeleteResponse.ProtoReflect.Descriptor instead. +func (*EventAnnotationConfigDeleteResponse) Descriptor() ([]byte, []int) { + return file_arista_event_v1_services_gen_proto_rawDescGZIP(), []int{11} +} + +func (x *EventAnnotationConfigDeleteResponse) GetKey() *EventKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *EventAnnotationConfigDeleteResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +var File_arista_event_v1_services_gen_proto protoreflect.FileDescriptor + +var file_arista_event_v1_services_gen_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, + 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1b, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x16, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, + 0x6d, 0x65, 0x22, 0x6d, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x22, 0x85, 0x01, 0x0a, 0x12, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, + 0x69, 0x61, 0x6c, 0x5f, 0x65, 0x71, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0f, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x61, 0x6c, 0x45, 0x71, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x04, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x6f, 0x75, + 0x6e, 0x64, 0x73, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x13, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x16, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, + 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, + 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x22, 0x7b, 0x0a, 0x1c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x1d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x22, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, + 0x69, 0x61, 0x6c, 0x5f, 0x65, 0x71, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0f, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x61, 0x6c, 0x45, 0x71, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x04, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x6f, 0x75, + 0x6e, 0x64, 0x73, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x23, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, + 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, + 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x22, 0x5f, 0x0a, 0x1f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x90, 0x01, 0x0a, 0x20, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, + 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x22, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x82, 0x01, 0x0a, 0x23, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, + 0x32, 0x88, 0x02, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x47, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x12, 0x1d, 0x2e, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x06, 0x47, 0x65, + 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x23, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, + 0x01, 0x12, 0x58, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x23, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x32, 0xd9, 0x04, 0x0a, 0x1c, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x67, 0x0a, 0x06, + 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x12, 0x2d, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, + 0x33, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x78, 0x0a, 0x09, + 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x33, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x6a, 0x0a, 0x03, 0x53, 0x65, 0x74, 0x12, 0x30, 0x2e, + 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x31, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x73, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x33, 0x2e, 0x61, + 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x34, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x28, 0x5a, 0x26, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x3b, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_arista_event_v1_services_gen_proto_rawDescOnce sync.Once + file_arista_event_v1_services_gen_proto_rawDescData = file_arista_event_v1_services_gen_proto_rawDesc +) + +func file_arista_event_v1_services_gen_proto_rawDescGZIP() []byte { + file_arista_event_v1_services_gen_proto_rawDescOnce.Do(func() { + file_arista_event_v1_services_gen_proto_rawDescData = protoimpl.X.CompressGZIP(file_arista_event_v1_services_gen_proto_rawDescData) + }) + return file_arista_event_v1_services_gen_proto_rawDescData +} + +var file_arista_event_v1_services_gen_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_arista_event_v1_services_gen_proto_goTypes = []interface{}{ + (*EventRequest)(nil), // 0: arista.event.v1.EventRequest + (*EventResponse)(nil), // 1: arista.event.v1.EventResponse + (*EventStreamRequest)(nil), // 2: arista.event.v1.EventStreamRequest + (*EventStreamResponse)(nil), // 3: arista.event.v1.EventStreamResponse + (*EventAnnotationConfigRequest)(nil), // 4: arista.event.v1.EventAnnotationConfigRequest + (*EventAnnotationConfigResponse)(nil), // 5: arista.event.v1.EventAnnotationConfigResponse + (*EventAnnotationConfigStreamRequest)(nil), // 6: arista.event.v1.EventAnnotationConfigStreamRequest + (*EventAnnotationConfigStreamResponse)(nil), // 7: arista.event.v1.EventAnnotationConfigStreamResponse + (*EventAnnotationConfigSetRequest)(nil), // 8: arista.event.v1.EventAnnotationConfigSetRequest + (*EventAnnotationConfigSetResponse)(nil), // 9: arista.event.v1.EventAnnotationConfigSetResponse + (*EventAnnotationConfigDeleteRequest)(nil), // 10: arista.event.v1.EventAnnotationConfigDeleteRequest + (*EventAnnotationConfigDeleteResponse)(nil), // 11: arista.event.v1.EventAnnotationConfigDeleteResponse + (*EventKey)(nil), // 12: arista.event.v1.EventKey + (*timestamp.Timestamp)(nil), // 13: google.protobuf.Timestamp + (*Event)(nil), // 14: arista.event.v1.Event + (*time.TimeBounds)(nil), // 15: arista.time.TimeBounds + (subscriptions.Operation)(0), // 16: arista.subscriptions.Operation + (*EventAnnotationConfig)(nil), // 17: arista.event.v1.EventAnnotationConfig +} +var file_arista_event_v1_services_gen_proto_depIdxs = []int32{ + 12, // 0: arista.event.v1.EventRequest.key:type_name -> arista.event.v1.EventKey + 13, // 1: arista.event.v1.EventRequest.time:type_name -> google.protobuf.Timestamp + 14, // 2: arista.event.v1.EventResponse.value:type_name -> arista.event.v1.Event + 13, // 3: arista.event.v1.EventResponse.time:type_name -> google.protobuf.Timestamp + 14, // 4: arista.event.v1.EventStreamRequest.partial_eq_filter:type_name -> arista.event.v1.Event + 15, // 5: arista.event.v1.EventStreamRequest.time:type_name -> arista.time.TimeBounds + 14, // 6: arista.event.v1.EventStreamResponse.value:type_name -> arista.event.v1.Event + 13, // 7: arista.event.v1.EventStreamResponse.time:type_name -> google.protobuf.Timestamp + 16, // 8: arista.event.v1.EventStreamResponse.type:type_name -> arista.subscriptions.Operation + 12, // 9: arista.event.v1.EventAnnotationConfigRequest.key:type_name -> arista.event.v1.EventKey + 13, // 10: arista.event.v1.EventAnnotationConfigRequest.time:type_name -> google.protobuf.Timestamp + 17, // 11: arista.event.v1.EventAnnotationConfigResponse.value:type_name -> arista.event.v1.EventAnnotationConfig + 13, // 12: arista.event.v1.EventAnnotationConfigResponse.time:type_name -> google.protobuf.Timestamp + 17, // 13: arista.event.v1.EventAnnotationConfigStreamRequest.partial_eq_filter:type_name -> arista.event.v1.EventAnnotationConfig + 15, // 14: arista.event.v1.EventAnnotationConfigStreamRequest.time:type_name -> arista.time.TimeBounds + 17, // 15: arista.event.v1.EventAnnotationConfigStreamResponse.value:type_name -> arista.event.v1.EventAnnotationConfig + 13, // 16: arista.event.v1.EventAnnotationConfigStreamResponse.time:type_name -> google.protobuf.Timestamp + 16, // 17: arista.event.v1.EventAnnotationConfigStreamResponse.type:type_name -> arista.subscriptions.Operation + 17, // 18: arista.event.v1.EventAnnotationConfigSetRequest.value:type_name -> arista.event.v1.EventAnnotationConfig + 17, // 19: arista.event.v1.EventAnnotationConfigSetResponse.value:type_name -> arista.event.v1.EventAnnotationConfig + 13, // 20: arista.event.v1.EventAnnotationConfigSetResponse.time:type_name -> google.protobuf.Timestamp + 12, // 21: arista.event.v1.EventAnnotationConfigDeleteRequest.key:type_name -> arista.event.v1.EventKey + 12, // 22: arista.event.v1.EventAnnotationConfigDeleteResponse.key:type_name -> arista.event.v1.EventKey + 13, // 23: arista.event.v1.EventAnnotationConfigDeleteResponse.time:type_name -> google.protobuf.Timestamp + 0, // 24: arista.event.v1.EventService.GetOne:input_type -> arista.event.v1.EventRequest + 2, // 25: arista.event.v1.EventService.GetAll:input_type -> arista.event.v1.EventStreamRequest + 2, // 26: arista.event.v1.EventService.Subscribe:input_type -> arista.event.v1.EventStreamRequest + 4, // 27: arista.event.v1.EventAnnotationConfigService.GetOne:input_type -> arista.event.v1.EventAnnotationConfigRequest + 6, // 28: arista.event.v1.EventAnnotationConfigService.GetAll:input_type -> arista.event.v1.EventAnnotationConfigStreamRequest + 6, // 29: arista.event.v1.EventAnnotationConfigService.Subscribe:input_type -> arista.event.v1.EventAnnotationConfigStreamRequest + 8, // 30: arista.event.v1.EventAnnotationConfigService.Set:input_type -> arista.event.v1.EventAnnotationConfigSetRequest + 10, // 31: arista.event.v1.EventAnnotationConfigService.Delete:input_type -> arista.event.v1.EventAnnotationConfigDeleteRequest + 1, // 32: arista.event.v1.EventService.GetOne:output_type -> arista.event.v1.EventResponse + 3, // 33: arista.event.v1.EventService.GetAll:output_type -> arista.event.v1.EventStreamResponse + 3, // 34: arista.event.v1.EventService.Subscribe:output_type -> arista.event.v1.EventStreamResponse + 5, // 35: arista.event.v1.EventAnnotationConfigService.GetOne:output_type -> arista.event.v1.EventAnnotationConfigResponse + 7, // 36: arista.event.v1.EventAnnotationConfigService.GetAll:output_type -> arista.event.v1.EventAnnotationConfigStreamResponse + 7, // 37: arista.event.v1.EventAnnotationConfigService.Subscribe:output_type -> arista.event.v1.EventAnnotationConfigStreamResponse + 9, // 38: arista.event.v1.EventAnnotationConfigService.Set:output_type -> arista.event.v1.EventAnnotationConfigSetResponse + 11, // 39: arista.event.v1.EventAnnotationConfigService.Delete:output_type -> arista.event.v1.EventAnnotationConfigDeleteResponse + 32, // [32:40] is the sub-list for method output_type + 24, // [24:32] is the sub-list for method input_type + 24, // [24:24] is the sub-list for extension type_name + 24, // [24:24] is the sub-list for extension extendee + 0, // [0:24] is the sub-list for field type_name +} + +func init() { file_arista_event_v1_services_gen_proto_init() } +func file_arista_event_v1_services_gen_proto_init() { + if File_arista_event_v1_services_gen_proto != nil { + return + } + file_arista_event_v1_event_proto_init() + if !protoimpl.UnsafeEnabled { + file_arista_event_v1_services_gen_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_services_gen_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_services_gen_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_services_gen_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_services_gen_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAnnotationConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_services_gen_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAnnotationConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_services_gen_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAnnotationConfigStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_services_gen_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAnnotationConfigStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_services_gen_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAnnotationConfigSetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_services_gen_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAnnotationConfigSetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_services_gen_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAnnotationConfigDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_event_v1_services_gen_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAnnotationConfigDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_arista_event_v1_services_gen_proto_rawDesc, + NumEnums: 0, + NumMessages: 12, + NumExtensions: 0, + NumServices: 2, + }, + GoTypes: file_arista_event_v1_services_gen_proto_goTypes, + DependencyIndexes: file_arista_event_v1_services_gen_proto_depIdxs, + MessageInfos: file_arista_event_v1_services_gen_proto_msgTypes, + }.Build() + File_arista_event_v1_services_gen_proto = out.File + file_arista_event_v1_services_gen_proto_rawDesc = nil + file_arista_event_v1_services_gen_proto_goTypes = nil + file_arista_event_v1_services_gen_proto_depIdxs = nil +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConnInterface + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// EventServiceClient is the client API for EventService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type EventServiceClient interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(ctx context.Context, in *EventRequest, opts ...grpc.CallOption) (*EventResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(ctx context.Context, in *EventStreamRequest, opts ...grpc.CallOption) (EventService_GetAllClient, error) + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(ctx context.Context, in *EventStreamRequest, opts ...grpc.CallOption) (EventService_SubscribeClient, error) +} + +type eventServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewEventServiceClient(cc grpc.ClientConnInterface) EventServiceClient { + return &eventServiceClient{cc} +} + +func (c *eventServiceClient) GetOne(ctx context.Context, in *EventRequest, opts ...grpc.CallOption) (*EventResponse, error) { + out := new(EventResponse) + err := c.cc.Invoke(ctx, "/arista.event.v1.EventService/GetOne", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *eventServiceClient) GetAll(ctx context.Context, in *EventStreamRequest, opts ...grpc.CallOption) (EventService_GetAllClient, error) { + stream, err := c.cc.NewStream(ctx, &_EventService_serviceDesc.Streams[0], "/arista.event.v1.EventService/GetAll", opts...) + if err != nil { + return nil, err + } + x := &eventServiceGetAllClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type EventService_GetAllClient interface { + Recv() (*EventStreamResponse, error) + grpc.ClientStream +} + +type eventServiceGetAllClient struct { + grpc.ClientStream +} + +func (x *eventServiceGetAllClient) Recv() (*EventStreamResponse, error) { + m := new(EventStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *eventServiceClient) Subscribe(ctx context.Context, in *EventStreamRequest, opts ...grpc.CallOption) (EventService_SubscribeClient, error) { + stream, err := c.cc.NewStream(ctx, &_EventService_serviceDesc.Streams[1], "/arista.event.v1.EventService/Subscribe", opts...) + if err != nil { + return nil, err + } + x := &eventServiceSubscribeClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type EventService_SubscribeClient interface { + Recv() (*EventStreamResponse, error) + grpc.ClientStream +} + +type eventServiceSubscribeClient struct { + grpc.ClientStream +} + +func (x *eventServiceSubscribeClient) Recv() (*EventStreamResponse, error) { + m := new(EventStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// EventServiceServer is the server API for EventService service. +type EventServiceServer interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(context.Context, *EventRequest) (*EventResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(*EventStreamRequest, EventService_GetAllServer) error + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(*EventStreamRequest, EventService_SubscribeServer) error +} + +// UnimplementedEventServiceServer can be embedded to have forward compatible implementations. +type UnimplementedEventServiceServer struct { +} + +func (*UnimplementedEventServiceServer) GetOne(context.Context, *EventRequest) (*EventResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOne not implemented") +} +func (*UnimplementedEventServiceServer) GetAll(*EventStreamRequest, EventService_GetAllServer) error { + return status.Errorf(codes.Unimplemented, "method GetAll not implemented") +} +func (*UnimplementedEventServiceServer) Subscribe(*EventStreamRequest, EventService_SubscribeServer) error { + return status.Errorf(codes.Unimplemented, "method Subscribe not implemented") +} + +func RegisterEventServiceServer(s *grpc.Server, srv EventServiceServer) { + s.RegisterService(&_EventService_serviceDesc, srv) +} + +func _EventService_GetOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EventRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(EventServiceServer).GetOne(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.event.v1.EventService/GetOne", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(EventServiceServer).GetOne(ctx, req.(*EventRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _EventService_GetAll_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(EventStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(EventServiceServer).GetAll(m, &eventServiceGetAllServer{stream}) +} + +type EventService_GetAllServer interface { + Send(*EventStreamResponse) error + grpc.ServerStream +} + +type eventServiceGetAllServer struct { + grpc.ServerStream +} + +func (x *eventServiceGetAllServer) Send(m *EventStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _EventService_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(EventStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(EventServiceServer).Subscribe(m, &eventServiceSubscribeServer{stream}) +} + +type EventService_SubscribeServer interface { + Send(*EventStreamResponse) error + grpc.ServerStream +} + +type eventServiceSubscribeServer struct { + grpc.ServerStream +} + +func (x *eventServiceSubscribeServer) Send(m *EventStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _EventService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "arista.event.v1.EventService", + HandlerType: (*EventServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOne", + Handler: _EventService_GetOne_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetAll", + Handler: _EventService_GetAll_Handler, + ServerStreams: true, + }, + { + StreamName: "Subscribe", + Handler: _EventService_Subscribe_Handler, + ServerStreams: true, + }, + }, + Metadata: "arista/event.v1/services.gen.proto", +} + +// EventAnnotationConfigServiceClient is the client API for EventAnnotationConfigService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type EventAnnotationConfigServiceClient interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(ctx context.Context, in *EventAnnotationConfigRequest, opts ...grpc.CallOption) (*EventAnnotationConfigResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(ctx context.Context, in *EventAnnotationConfigStreamRequest, opts ...grpc.CallOption) (EventAnnotationConfigService_GetAllClient, error) + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(ctx context.Context, in *EventAnnotationConfigStreamRequest, opts ...grpc.CallOption) (EventAnnotationConfigService_SubscribeClient, error) + // Set allows setting values for the entity specified by the key in the request. + // The key must be provided and all fields set (unless otherwise specified). + Set(ctx context.Context, in *EventAnnotationConfigSetRequest, opts ...grpc.CallOption) (*EventAnnotationConfigSetResponse, error) + // Delete will remove the entity specified by the key within the request. + // The key must be provided and all fields populated (unless otherwise specified). + Delete(ctx context.Context, in *EventAnnotationConfigDeleteRequest, opts ...grpc.CallOption) (*EventAnnotationConfigDeleteResponse, error) +} + +type eventAnnotationConfigServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewEventAnnotationConfigServiceClient(cc grpc.ClientConnInterface) EventAnnotationConfigServiceClient { + return &eventAnnotationConfigServiceClient{cc} +} + +func (c *eventAnnotationConfigServiceClient) GetOne(ctx context.Context, in *EventAnnotationConfigRequest, opts ...grpc.CallOption) (*EventAnnotationConfigResponse, error) { + out := new(EventAnnotationConfigResponse) + err := c.cc.Invoke(ctx, "/arista.event.v1.EventAnnotationConfigService/GetOne", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *eventAnnotationConfigServiceClient) GetAll(ctx context.Context, in *EventAnnotationConfigStreamRequest, opts ...grpc.CallOption) (EventAnnotationConfigService_GetAllClient, error) { + stream, err := c.cc.NewStream(ctx, &_EventAnnotationConfigService_serviceDesc.Streams[0], "/arista.event.v1.EventAnnotationConfigService/GetAll", opts...) + if err != nil { + return nil, err + } + x := &eventAnnotationConfigServiceGetAllClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type EventAnnotationConfigService_GetAllClient interface { + Recv() (*EventAnnotationConfigStreamResponse, error) + grpc.ClientStream +} + +type eventAnnotationConfigServiceGetAllClient struct { + grpc.ClientStream +} + +func (x *eventAnnotationConfigServiceGetAllClient) Recv() (*EventAnnotationConfigStreamResponse, error) { + m := new(EventAnnotationConfigStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *eventAnnotationConfigServiceClient) Subscribe(ctx context.Context, in *EventAnnotationConfigStreamRequest, opts ...grpc.CallOption) (EventAnnotationConfigService_SubscribeClient, error) { + stream, err := c.cc.NewStream(ctx, &_EventAnnotationConfigService_serviceDesc.Streams[1], "/arista.event.v1.EventAnnotationConfigService/Subscribe", opts...) + if err != nil { + return nil, err + } + x := &eventAnnotationConfigServiceSubscribeClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type EventAnnotationConfigService_SubscribeClient interface { + Recv() (*EventAnnotationConfigStreamResponse, error) + grpc.ClientStream +} + +type eventAnnotationConfigServiceSubscribeClient struct { + grpc.ClientStream +} + +func (x *eventAnnotationConfigServiceSubscribeClient) Recv() (*EventAnnotationConfigStreamResponse, error) { + m := new(EventAnnotationConfigStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *eventAnnotationConfigServiceClient) Set(ctx context.Context, in *EventAnnotationConfigSetRequest, opts ...grpc.CallOption) (*EventAnnotationConfigSetResponse, error) { + out := new(EventAnnotationConfigSetResponse) + err := c.cc.Invoke(ctx, "/arista.event.v1.EventAnnotationConfigService/Set", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *eventAnnotationConfigServiceClient) Delete(ctx context.Context, in *EventAnnotationConfigDeleteRequest, opts ...grpc.CallOption) (*EventAnnotationConfigDeleteResponse, error) { + out := new(EventAnnotationConfigDeleteResponse) + err := c.cc.Invoke(ctx, "/arista.event.v1.EventAnnotationConfigService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// EventAnnotationConfigServiceServer is the server API for EventAnnotationConfigService service. +type EventAnnotationConfigServiceServer interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(context.Context, *EventAnnotationConfigRequest) (*EventAnnotationConfigResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(*EventAnnotationConfigStreamRequest, EventAnnotationConfigService_GetAllServer) error + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(*EventAnnotationConfigStreamRequest, EventAnnotationConfigService_SubscribeServer) error + // Set allows setting values for the entity specified by the key in the request. + // The key must be provided and all fields set (unless otherwise specified). + Set(context.Context, *EventAnnotationConfigSetRequest) (*EventAnnotationConfigSetResponse, error) + // Delete will remove the entity specified by the key within the request. + // The key must be provided and all fields populated (unless otherwise specified). + Delete(context.Context, *EventAnnotationConfigDeleteRequest) (*EventAnnotationConfigDeleteResponse, error) +} + +// UnimplementedEventAnnotationConfigServiceServer can be embedded to have forward compatible implementations. +type UnimplementedEventAnnotationConfigServiceServer struct { +} + +func (*UnimplementedEventAnnotationConfigServiceServer) GetOne(context.Context, *EventAnnotationConfigRequest) (*EventAnnotationConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOne not implemented") +} +func (*UnimplementedEventAnnotationConfigServiceServer) GetAll(*EventAnnotationConfigStreamRequest, EventAnnotationConfigService_GetAllServer) error { + return status.Errorf(codes.Unimplemented, "method GetAll not implemented") +} +func (*UnimplementedEventAnnotationConfigServiceServer) Subscribe(*EventAnnotationConfigStreamRequest, EventAnnotationConfigService_SubscribeServer) error { + return status.Errorf(codes.Unimplemented, "method Subscribe not implemented") +} +func (*UnimplementedEventAnnotationConfigServiceServer) Set(context.Context, *EventAnnotationConfigSetRequest) (*EventAnnotationConfigSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Set not implemented") +} +func (*UnimplementedEventAnnotationConfigServiceServer) Delete(context.Context, *EventAnnotationConfigDeleteRequest) (*EventAnnotationConfigDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + +func RegisterEventAnnotationConfigServiceServer(s *grpc.Server, srv EventAnnotationConfigServiceServer) { + s.RegisterService(&_EventAnnotationConfigService_serviceDesc, srv) +} + +func _EventAnnotationConfigService_GetOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EventAnnotationConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(EventAnnotationConfigServiceServer).GetOne(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.event.v1.EventAnnotationConfigService/GetOne", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(EventAnnotationConfigServiceServer).GetOne(ctx, req.(*EventAnnotationConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _EventAnnotationConfigService_GetAll_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(EventAnnotationConfigStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(EventAnnotationConfigServiceServer).GetAll(m, &eventAnnotationConfigServiceGetAllServer{stream}) +} + +type EventAnnotationConfigService_GetAllServer interface { + Send(*EventAnnotationConfigStreamResponse) error + grpc.ServerStream +} + +type eventAnnotationConfigServiceGetAllServer struct { + grpc.ServerStream +} + +func (x *eventAnnotationConfigServiceGetAllServer) Send(m *EventAnnotationConfigStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _EventAnnotationConfigService_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(EventAnnotationConfigStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(EventAnnotationConfigServiceServer).Subscribe(m, &eventAnnotationConfigServiceSubscribeServer{stream}) +} + +type EventAnnotationConfigService_SubscribeServer interface { + Send(*EventAnnotationConfigStreamResponse) error + grpc.ServerStream +} + +type eventAnnotationConfigServiceSubscribeServer struct { + grpc.ServerStream +} + +func (x *eventAnnotationConfigServiceSubscribeServer) Send(m *EventAnnotationConfigStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _EventAnnotationConfigService_Set_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EventAnnotationConfigSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(EventAnnotationConfigServiceServer).Set(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.event.v1.EventAnnotationConfigService/Set", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(EventAnnotationConfigServiceServer).Set(ctx, req.(*EventAnnotationConfigSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _EventAnnotationConfigService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EventAnnotationConfigDeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(EventAnnotationConfigServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.event.v1.EventAnnotationConfigService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(EventAnnotationConfigServiceServer).Delete(ctx, req.(*EventAnnotationConfigDeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _EventAnnotationConfigService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "arista.event.v1.EventAnnotationConfigService", + HandlerType: (*EventAnnotationConfigServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOne", + Handler: _EventAnnotationConfigService_GetOne_Handler, + }, + { + MethodName: "Set", + Handler: _EventAnnotationConfigService_Set_Handler, + }, + { + MethodName: "Delete", + Handler: _EventAnnotationConfigService_Delete_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetAll", + Handler: _EventAnnotationConfigService_GetAll_Handler, + ServerStreams: true, + }, + { + StreamName: "Subscribe", + Handler: _EventAnnotationConfigService_Subscribe_Handler, + ServerStreams: true, + }, + }, + Metadata: "arista/event.v1/services.gen.proto", +} diff --git a/api/arista/inventory.v1/inventory.pb.go b/api/arista/inventory.v1/inventory.pb.go new file mode 100644 index 000000000..81140140e --- /dev/null +++ b/api/arista/inventory.v1/inventory.pb.go @@ -0,0 +1,523 @@ +// Copyright (c) 2020 Arista Networks, Inc. +// Use of this source code is governed by the Apache License 2.0 +// that can be found in the COPYING file. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 +// source: arista/inventory.v1/inventory.proto + +package inventory + +import ( + _ "github.com/aristanetworks/cloudvision-go/api/fmp" + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// StreamingStatus the status of streaming telemetry for this device. +type StreamingStatus int32 + +const ( + // Unspecified is the uninitialized state of this enum. + StreamingStatus_STREAMING_STATUS_UNSPECIFIED StreamingStatus = 0 + // Inactive indicates the device is not streaming telemetry. + StreamingStatus_STREAMING_STATUS_INACTIVE StreamingStatus = 1 + // Active indicates the device is streaming telemetry. + StreamingStatus_STREAMING_STATUS_ACTIVE StreamingStatus = 2 +) + +// Enum value maps for StreamingStatus. +var ( + StreamingStatus_name = map[int32]string{ + 0: "STREAMING_STATUS_UNSPECIFIED", + 1: "STREAMING_STATUS_INACTIVE", + 2: "STREAMING_STATUS_ACTIVE", + } + StreamingStatus_value = map[string]int32{ + "STREAMING_STATUS_UNSPECIFIED": 0, + "STREAMING_STATUS_INACTIVE": 1, + "STREAMING_STATUS_ACTIVE": 2, + } +) + +func (x StreamingStatus) Enum() *StreamingStatus { + p := new(StreamingStatus) + *p = x + return p +} + +func (x StreamingStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StreamingStatus) Descriptor() protoreflect.EnumDescriptor { + return file_arista_inventory_v1_inventory_proto_enumTypes[0].Descriptor() +} + +func (StreamingStatus) Type() protoreflect.EnumType { + return &file_arista_inventory_v1_inventory_proto_enumTypes[0] +} + +func (x StreamingStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use StreamingStatus.Descriptor instead. +func (StreamingStatus) EnumDescriptor() ([]byte, []int) { + return file_arista_inventory_v1_inventory_proto_rawDescGZIP(), []int{0} +} + +// ExtendedAttributes wraps any additional, potentially non-standard, features +// or attributes the device reports. +type ExtendedAttributes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // FeatureEnabled is a map of feature name to enabled status. + // If a feature is missing from this map it can be assumed off. + FeatureEnabled map[string]bool `protobuf:"bytes,1,rep,name=feature_enabled,json=featureEnabled,proto3" json:"feature_enabled,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *ExtendedAttributes) Reset() { + *x = ExtendedAttributes{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_inventory_v1_inventory_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExtendedAttributes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExtendedAttributes) ProtoMessage() {} + +func (x *ExtendedAttributes) ProtoReflect() protoreflect.Message { + mi := &file_arista_inventory_v1_inventory_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExtendedAttributes.ProtoReflect.Descriptor instead. +func (*ExtendedAttributes) Descriptor() ([]byte, []int) { + return file_arista_inventory_v1_inventory_proto_rawDescGZIP(), []int{0} +} + +func (x *ExtendedAttributes) GetFeatureEnabled() map[string]bool { + if x != nil { + return x.FeatureEnabled + } + return nil +} + +// DeviceKey uniquely identifies a single device. +type DeviceKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DeviceId *wrappers.StringValue `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` +} + +func (x *DeviceKey) Reset() { + *x = DeviceKey{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_inventory_v1_inventory_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceKey) ProtoMessage() {} + +func (x *DeviceKey) ProtoReflect() protoreflect.Message { + mi := &file_arista_inventory_v1_inventory_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceKey.ProtoReflect.Descriptor instead. +func (*DeviceKey) Descriptor() ([]byte, []int) { + return file_arista_inventory_v1_inventory_proto_rawDescGZIP(), []int{1} +} + +func (x *DeviceKey) GetDeviceId() *wrappers.StringValue { + if x != nil { + return x.DeviceId + } + return nil +} + +// Device is the primary model for this service. +type Device struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The key that uniquely identifies this device. + Key *DeviceKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // SoftwareVersion gives the currently running device software version. + SoftwareVersion *wrappers.StringValue `protobuf:"bytes,2,opt,name=software_version,json=softwareVersion,proto3" json:"software_version,omitempty"` + // ModelName describes the hardware model of this device. + ModelName *wrappers.StringValue `protobuf:"bytes,3,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` + // HardwareREvision describes any revisional data to the model name. + HardwareRevision *wrappers.StringValue `protobuf:"bytes,4,opt,name=hardware_revision,json=hardwareRevision,proto3" json:"hardware_revision,omitempty"` + // FQDN gives the fully qualified hostname to reach the device. + Fqdn *wrappers.StringValue `protobuf:"bytes,10,opt,name=fqdn,proto3" json:"fqdn,omitempty"` + // Hostname is the hostname as reported on the device. + Hostname *wrappers.StringValue `protobuf:"bytes,11,opt,name=hostname,proto3" json:"hostname,omitempty"` + // DomainName provides the domain name the device is registered on. + DomainName *wrappers.StringValue `protobuf:"bytes,12,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` + // SystemMacAddress provides the MAC address of the management port. + SystemMacAddress *wrappers.StringValue `protobuf:"bytes,13,opt,name=system_mac_address,json=systemMacAddress,proto3" json:"system_mac_address,omitempty"` + // BootTime indicates when the device was last booted. + BootTime *timestamp.Timestamp `protobuf:"bytes,20,opt,name=boot_time,json=bootTime,proto3" json:"boot_time,omitempty"` + // StreamingStatus the status of streaming telemetry for this device. + StreamingStatus StreamingStatus `protobuf:"varint,30,opt,name=streaming_status,json=streamingStatus,proto3,enum=arista.inventory.v1.StreamingStatus" json:"streaming_status,omitempty"` + // ExtendedAttributes wraps any additional, potentially non-standard, features + // or attributes the device reports. + ExtendedAttributes *ExtendedAttributes `protobuf:"bytes,31,opt,name=extended_attributes,json=extendedAttributes,proto3" json:"extended_attributes,omitempty"` +} + +func (x *Device) Reset() { + *x = Device{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_inventory_v1_inventory_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Device) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Device) ProtoMessage() {} + +func (x *Device) ProtoReflect() protoreflect.Message { + mi := &file_arista_inventory_v1_inventory_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Device.ProtoReflect.Descriptor instead. +func (*Device) Descriptor() ([]byte, []int) { + return file_arista_inventory_v1_inventory_proto_rawDescGZIP(), []int{2} +} + +func (x *Device) GetKey() *DeviceKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *Device) GetSoftwareVersion() *wrappers.StringValue { + if x != nil { + return x.SoftwareVersion + } + return nil +} + +func (x *Device) GetModelName() *wrappers.StringValue { + if x != nil { + return x.ModelName + } + return nil +} + +func (x *Device) GetHardwareRevision() *wrappers.StringValue { + if x != nil { + return x.HardwareRevision + } + return nil +} + +func (x *Device) GetFqdn() *wrappers.StringValue { + if x != nil { + return x.Fqdn + } + return nil +} + +func (x *Device) GetHostname() *wrappers.StringValue { + if x != nil { + return x.Hostname + } + return nil +} + +func (x *Device) GetDomainName() *wrappers.StringValue { + if x != nil { + return x.DomainName + } + return nil +} + +func (x *Device) GetSystemMacAddress() *wrappers.StringValue { + if x != nil { + return x.SystemMacAddress + } + return nil +} + +func (x *Device) GetBootTime() *timestamp.Timestamp { + if x != nil { + return x.BootTime + } + return nil +} + +func (x *Device) GetStreamingStatus() StreamingStatus { + if x != nil { + return x.StreamingStatus + } + return StreamingStatus_STREAMING_STATUS_UNSPECIFIED +} + +func (x *Device) GetExtendedAttributes() *ExtendedAttributes { + if x != nil { + return x.ExtendedAttributes + } + return nil +} + +var File_arista_inventory_v1_inventory_proto protoreflect.FileDescriptor + +var file_arista_inventory_v1_inventory_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x69, 0x6e, + 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, + 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x66, 0x6d, 0x70, + 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xbd, 0x01, 0x0a, 0x12, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x64, 0x0a, 0x0f, 0x66, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x3b, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, + 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, + 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0x41, + 0x0a, 0x13, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x4c, 0x0a, 0x09, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x39, + 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x3a, 0x04, 0x80, 0x8e, 0x19, 0x01, 0x22, + 0xee, 0x05, 0x0a, 0x06, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x47, 0x0a, 0x10, + 0x73, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x73, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x11, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x72, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x68, 0x61, 0x72, + 0x64, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, + 0x04, 0x66, 0x71, 0x64, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x66, 0x71, 0x64, 0x6e, 0x12, + 0x38, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x12, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x5f, 0x6d, 0x61, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x61, 0x63, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x37, 0x0a, 0x09, 0x62, 0x6f, 0x6f, 0x74, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x08, 0x62, 0x6f, 0x6f, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4f, 0x0a, + 0x10, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f, 0x73, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x58, + 0x0a, 0x13, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x3a, 0x06, 0xfa, 0x8d, 0x19, 0x02, 0x72, 0x6f, + 0x2a, 0x6f, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x49, 0x4e, 0x47, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x49, + 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, + 0x56, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x49, 0x4e, + 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, + 0x02, 0x42, 0x30, 0x5a, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x69, 0x6e, 0x76, + 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x3b, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, + 0x6f, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_arista_inventory_v1_inventory_proto_rawDescOnce sync.Once + file_arista_inventory_v1_inventory_proto_rawDescData = file_arista_inventory_v1_inventory_proto_rawDesc +) + +func file_arista_inventory_v1_inventory_proto_rawDescGZIP() []byte { + file_arista_inventory_v1_inventory_proto_rawDescOnce.Do(func() { + file_arista_inventory_v1_inventory_proto_rawDescData = protoimpl.X.CompressGZIP(file_arista_inventory_v1_inventory_proto_rawDescData) + }) + return file_arista_inventory_v1_inventory_proto_rawDescData +} + +var file_arista_inventory_v1_inventory_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_arista_inventory_v1_inventory_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_arista_inventory_v1_inventory_proto_goTypes = []interface{}{ + (StreamingStatus)(0), // 0: arista.inventory.v1.StreamingStatus + (*ExtendedAttributes)(nil), // 1: arista.inventory.v1.ExtendedAttributes + (*DeviceKey)(nil), // 2: arista.inventory.v1.DeviceKey + (*Device)(nil), // 3: arista.inventory.v1.Device + nil, // 4: arista.inventory.v1.ExtendedAttributes.FeatureEnabledEntry + (*wrappers.StringValue)(nil), // 5: google.protobuf.StringValue + (*timestamp.Timestamp)(nil), // 6: google.protobuf.Timestamp +} +var file_arista_inventory_v1_inventory_proto_depIdxs = []int32{ + 4, // 0: arista.inventory.v1.ExtendedAttributes.feature_enabled:type_name -> arista.inventory.v1.ExtendedAttributes.FeatureEnabledEntry + 5, // 1: arista.inventory.v1.DeviceKey.device_id:type_name -> google.protobuf.StringValue + 2, // 2: arista.inventory.v1.Device.key:type_name -> arista.inventory.v1.DeviceKey + 5, // 3: arista.inventory.v1.Device.software_version:type_name -> google.protobuf.StringValue + 5, // 4: arista.inventory.v1.Device.model_name:type_name -> google.protobuf.StringValue + 5, // 5: arista.inventory.v1.Device.hardware_revision:type_name -> google.protobuf.StringValue + 5, // 6: arista.inventory.v1.Device.fqdn:type_name -> google.protobuf.StringValue + 5, // 7: arista.inventory.v1.Device.hostname:type_name -> google.protobuf.StringValue + 5, // 8: arista.inventory.v1.Device.domain_name:type_name -> google.protobuf.StringValue + 5, // 9: arista.inventory.v1.Device.system_mac_address:type_name -> google.protobuf.StringValue + 6, // 10: arista.inventory.v1.Device.boot_time:type_name -> google.protobuf.Timestamp + 0, // 11: arista.inventory.v1.Device.streaming_status:type_name -> arista.inventory.v1.StreamingStatus + 1, // 12: arista.inventory.v1.Device.extended_attributes:type_name -> arista.inventory.v1.ExtendedAttributes + 13, // [13:13] is the sub-list for method output_type + 13, // [13:13] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name +} + +func init() { file_arista_inventory_v1_inventory_proto_init() } +func file_arista_inventory_v1_inventory_proto_init() { + if File_arista_inventory_v1_inventory_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_arista_inventory_v1_inventory_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtendedAttributes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_inventory_v1_inventory_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_inventory_v1_inventory_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Device); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_arista_inventory_v1_inventory_proto_rawDesc, + NumEnums: 1, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_arista_inventory_v1_inventory_proto_goTypes, + DependencyIndexes: file_arista_inventory_v1_inventory_proto_depIdxs, + EnumInfos: file_arista_inventory_v1_inventory_proto_enumTypes, + MessageInfos: file_arista_inventory_v1_inventory_proto_msgTypes, + }.Build() + File_arista_inventory_v1_inventory_proto = out.File + file_arista_inventory_v1_inventory_proto_rawDesc = nil + file_arista_inventory_v1_inventory_proto_goTypes = nil + file_arista_inventory_v1_inventory_proto_depIdxs = nil +} diff --git a/api/arista/inventory.v1/services.gen.pb.go b/api/arista/inventory.v1/services.gen.pb.go new file mode 100644 index 000000000..327d2acc2 --- /dev/null +++ b/api/arista/inventory.v1/services.gen.pb.go @@ -0,0 +1,711 @@ +// Copyright (c) 2020 Arista Networks, Inc. +// Use of this source code is governed by the Apache License 2.0 +// that can be found in the COPYING file. + +// +// Code generated by boomtown. DO NOT EDIT. +// + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 +// source: arista/inventory.v1/services.gen.proto + +package inventory + +import ( + subscriptions "github.com/aristanetworks/cloudvision-go/api/arista/subscriptions" + time "github.com/aristanetworks/cloudvision-go/api/arista/time" + context "context" + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type DeviceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies a Device instance to retrieve. + // This value (and all fields, unless otherwise specified) must be populated. + Key *DeviceKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the time for which you are interested in the data. + // If no time is given, the server will use the time at twhich it makes the request. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceRequest) Reset() { + *x = DeviceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_inventory_v1_services_gen_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceRequest) ProtoMessage() {} + +func (x *DeviceRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_inventory_v1_services_gen_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceRequest.ProtoReflect.Descriptor instead. +func (*DeviceRequest) Descriptor() ([]byte, []int) { + return file_arista_inventory_v1_services_gen_proto_rawDescGZIP(), []int{0} +} + +func (x *DeviceRequest) GetKey() *DeviceKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *DeviceRequest) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type DeviceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is the value requested. + // This structure will be fully-populated as it exists in the datastore. If + // optional fields were not given at creation, these fields will be empty or + // set to default values. + Value *Device `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time carries the (UTC) timestamp of the last-modification of the + // Device instance in this response. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceResponse) Reset() { + *x = DeviceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_inventory_v1_services_gen_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceResponse) ProtoMessage() {} + +func (x *DeviceResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_inventory_v1_services_gen_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceResponse.ProtoReflect.Descriptor instead. +func (*DeviceResponse) Descriptor() ([]byte, []int) { + return file_arista_inventory_v1_services_gen_proto_rawDescGZIP(), []int{1} +} + +func (x *DeviceResponse) GetValue() *Device { + if x != nil { + return x.Value + } + return nil +} + +func (x *DeviceResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type DeviceStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. + // This requires all provided fields to be equal to the response. + // + // While transparent to users, this field also allows services to optimize internal + // subscriptions if filter(s) are sufficiently specific. + PartialEqFilter []*Device `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` + // TimeRange allows limiting response data to within a specified time window. + // If this field is populated, at least one of the two time fields are required. + // + // This field is not allowed in the Subscribe RPC. + Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceStreamRequest) Reset() { + *x = DeviceStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_inventory_v1_services_gen_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceStreamRequest) ProtoMessage() {} + +func (x *DeviceStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_inventory_v1_services_gen_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceStreamRequest.ProtoReflect.Descriptor instead. +func (*DeviceStreamRequest) Descriptor() ([]byte, []int) { + return file_arista_inventory_v1_services_gen_proto_rawDescGZIP(), []int{2} +} + +func (x *DeviceStreamRequest) GetPartialEqFilter() []*Device { + if x != nil { + return x.PartialEqFilter + } + return nil +} + +func (x *DeviceStreamRequest) GetTime() *time.TimeBounds { + if x != nil { + return x.Time + } + return nil +} + +type DeviceStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is a value deemed relevant to the initiating request. + // This structure will always have its key-field populated. Which other fields are + // populated, and why, depends on the value of Operation and what triggered this notification. + Value *Device `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time holds the timestamp of this Device's last modification. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + // Operation indicates how the Device value in this response should be considered. + // Under non-subscribe requests, this value should always be INITIAL. In a subscription, + // once all initial data is streamed and the client begins to receive modification updates, + // you should not see INITIAL again. + Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` +} + +func (x *DeviceStreamResponse) Reset() { + *x = DeviceStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_inventory_v1_services_gen_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceStreamResponse) ProtoMessage() {} + +func (x *DeviceStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_inventory_v1_services_gen_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceStreamResponse.ProtoReflect.Descriptor instead. +func (*DeviceStreamResponse) Descriptor() ([]byte, []int) { + return file_arista_inventory_v1_services_gen_proto_rawDescGZIP(), []int{3} +} + +func (x *DeviceStreamResponse) GetValue() *Device { + if x != nil { + return x.Value + } + return nil +} + +func (x *DeviceStreamResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (x *DeviceStreamResponse) GetType() subscriptions.Operation { + if x != nil { + return x.Type + } + return subscriptions.Operation_UNSPECIFIED +} + +var File_arista_inventory_v1_services_gen_proto protoreflect.FileDescriptor + +var file_arista_inventory_v1_services_gen_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, + 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x23, 0x61, + 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x16, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x0d, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x69, 0x6e, 0x76, + 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x73, 0x0a, 0x0e, 0x44, 0x65, 0x76, 0x69, + 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, + 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x8b, 0x01, + 0x0a, 0x13, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, + 0x5f, 0x65, 0x71, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, + 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0f, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x45, 0x71, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2b, + 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, + 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x42, + 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x14, + 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x69, 0x6e, 0x76, + 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x73, + 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x32, 0xa7, 0x02, 0x0a, + 0x0d, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x51, + 0x0a, 0x06, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x12, 0x22, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, + 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x5f, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x28, 0x2e, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x69, + 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, + 0x63, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x30, 0x01, 0x12, 0x62, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, + 0x28, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, + 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2f, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x3b, 0x69, + 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_arista_inventory_v1_services_gen_proto_rawDescOnce sync.Once + file_arista_inventory_v1_services_gen_proto_rawDescData = file_arista_inventory_v1_services_gen_proto_rawDesc +) + +func file_arista_inventory_v1_services_gen_proto_rawDescGZIP() []byte { + file_arista_inventory_v1_services_gen_proto_rawDescOnce.Do(func() { + file_arista_inventory_v1_services_gen_proto_rawDescData = protoimpl.X.CompressGZIP(file_arista_inventory_v1_services_gen_proto_rawDescData) + }) + return file_arista_inventory_v1_services_gen_proto_rawDescData +} + +var file_arista_inventory_v1_services_gen_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_arista_inventory_v1_services_gen_proto_goTypes = []interface{}{ + (*DeviceRequest)(nil), // 0: arista.inventory.v1.DeviceRequest + (*DeviceResponse)(nil), // 1: arista.inventory.v1.DeviceResponse + (*DeviceStreamRequest)(nil), // 2: arista.inventory.v1.DeviceStreamRequest + (*DeviceStreamResponse)(nil), // 3: arista.inventory.v1.DeviceStreamResponse + (*DeviceKey)(nil), // 4: arista.inventory.v1.DeviceKey + (*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*Device)(nil), // 6: arista.inventory.v1.Device + (*time.TimeBounds)(nil), // 7: arista.time.TimeBounds + (subscriptions.Operation)(0), // 8: arista.subscriptions.Operation +} +var file_arista_inventory_v1_services_gen_proto_depIdxs = []int32{ + 4, // 0: arista.inventory.v1.DeviceRequest.key:type_name -> arista.inventory.v1.DeviceKey + 5, // 1: arista.inventory.v1.DeviceRequest.time:type_name -> google.protobuf.Timestamp + 6, // 2: arista.inventory.v1.DeviceResponse.value:type_name -> arista.inventory.v1.Device + 5, // 3: arista.inventory.v1.DeviceResponse.time:type_name -> google.protobuf.Timestamp + 6, // 4: arista.inventory.v1.DeviceStreamRequest.partial_eq_filter:type_name -> arista.inventory.v1.Device + 7, // 5: arista.inventory.v1.DeviceStreamRequest.time:type_name -> arista.time.TimeBounds + 6, // 6: arista.inventory.v1.DeviceStreamResponse.value:type_name -> arista.inventory.v1.Device + 5, // 7: arista.inventory.v1.DeviceStreamResponse.time:type_name -> google.protobuf.Timestamp + 8, // 8: arista.inventory.v1.DeviceStreamResponse.type:type_name -> arista.subscriptions.Operation + 0, // 9: arista.inventory.v1.DeviceService.GetOne:input_type -> arista.inventory.v1.DeviceRequest + 2, // 10: arista.inventory.v1.DeviceService.GetAll:input_type -> arista.inventory.v1.DeviceStreamRequest + 2, // 11: arista.inventory.v1.DeviceService.Subscribe:input_type -> arista.inventory.v1.DeviceStreamRequest + 1, // 12: arista.inventory.v1.DeviceService.GetOne:output_type -> arista.inventory.v1.DeviceResponse + 3, // 13: arista.inventory.v1.DeviceService.GetAll:output_type -> arista.inventory.v1.DeviceStreamResponse + 3, // 14: arista.inventory.v1.DeviceService.Subscribe:output_type -> arista.inventory.v1.DeviceStreamResponse + 12, // [12:15] is the sub-list for method output_type + 9, // [9:12] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { file_arista_inventory_v1_services_gen_proto_init() } +func file_arista_inventory_v1_services_gen_proto_init() { + if File_arista_inventory_v1_services_gen_proto != nil { + return + } + file_arista_inventory_v1_inventory_proto_init() + if !protoimpl.UnsafeEnabled { + file_arista_inventory_v1_services_gen_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_inventory_v1_services_gen_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_inventory_v1_services_gen_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_inventory_v1_services_gen_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_arista_inventory_v1_services_gen_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_arista_inventory_v1_services_gen_proto_goTypes, + DependencyIndexes: file_arista_inventory_v1_services_gen_proto_depIdxs, + MessageInfos: file_arista_inventory_v1_services_gen_proto_msgTypes, + }.Build() + File_arista_inventory_v1_services_gen_proto = out.File + file_arista_inventory_v1_services_gen_proto_rawDesc = nil + file_arista_inventory_v1_services_gen_proto_goTypes = nil + file_arista_inventory_v1_services_gen_proto_depIdxs = nil +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConnInterface + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// DeviceServiceClient is the client API for DeviceService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type DeviceServiceClient interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(ctx context.Context, in *DeviceRequest, opts ...grpc.CallOption) (*DeviceResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(ctx context.Context, in *DeviceStreamRequest, opts ...grpc.CallOption) (DeviceService_GetAllClient, error) + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(ctx context.Context, in *DeviceStreamRequest, opts ...grpc.CallOption) (DeviceService_SubscribeClient, error) +} + +type deviceServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewDeviceServiceClient(cc grpc.ClientConnInterface) DeviceServiceClient { + return &deviceServiceClient{cc} +} + +func (c *deviceServiceClient) GetOne(ctx context.Context, in *DeviceRequest, opts ...grpc.CallOption) (*DeviceResponse, error) { + out := new(DeviceResponse) + err := c.cc.Invoke(ctx, "/arista.inventory.v1.DeviceService/GetOne", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceServiceClient) GetAll(ctx context.Context, in *DeviceStreamRequest, opts ...grpc.CallOption) (DeviceService_GetAllClient, error) { + stream, err := c.cc.NewStream(ctx, &_DeviceService_serviceDesc.Streams[0], "/arista.inventory.v1.DeviceService/GetAll", opts...) + if err != nil { + return nil, err + } + x := &deviceServiceGetAllClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DeviceService_GetAllClient interface { + Recv() (*DeviceStreamResponse, error) + grpc.ClientStream +} + +type deviceServiceGetAllClient struct { + grpc.ClientStream +} + +func (x *deviceServiceGetAllClient) Recv() (*DeviceStreamResponse, error) { + m := new(DeviceStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *deviceServiceClient) Subscribe(ctx context.Context, in *DeviceStreamRequest, opts ...grpc.CallOption) (DeviceService_SubscribeClient, error) { + stream, err := c.cc.NewStream(ctx, &_DeviceService_serviceDesc.Streams[1], "/arista.inventory.v1.DeviceService/Subscribe", opts...) + if err != nil { + return nil, err + } + x := &deviceServiceSubscribeClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DeviceService_SubscribeClient interface { + Recv() (*DeviceStreamResponse, error) + grpc.ClientStream +} + +type deviceServiceSubscribeClient struct { + grpc.ClientStream +} + +func (x *deviceServiceSubscribeClient) Recv() (*DeviceStreamResponse, error) { + m := new(DeviceStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// DeviceServiceServer is the server API for DeviceService service. +type DeviceServiceServer interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(context.Context, *DeviceRequest) (*DeviceResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(*DeviceStreamRequest, DeviceService_GetAllServer) error + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(*DeviceStreamRequest, DeviceService_SubscribeServer) error +} + +// UnimplementedDeviceServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDeviceServiceServer struct { +} + +func (*UnimplementedDeviceServiceServer) GetOne(context.Context, *DeviceRequest) (*DeviceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOne not implemented") +} +func (*UnimplementedDeviceServiceServer) GetAll(*DeviceStreamRequest, DeviceService_GetAllServer) error { + return status.Errorf(codes.Unimplemented, "method GetAll not implemented") +} +func (*UnimplementedDeviceServiceServer) Subscribe(*DeviceStreamRequest, DeviceService_SubscribeServer) error { + return status.Errorf(codes.Unimplemented, "method Subscribe not implemented") +} + +func RegisterDeviceServiceServer(s *grpc.Server, srv DeviceServiceServer) { + s.RegisterService(&_DeviceService_serviceDesc, srv) +} + +func _DeviceService_GetOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeviceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceServiceServer).GetOne(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.inventory.v1.DeviceService/GetOne", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceServiceServer).GetOne(ctx, req.(*DeviceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceService_GetAll_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(DeviceStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DeviceServiceServer).GetAll(m, &deviceServiceGetAllServer{stream}) +} + +type DeviceService_GetAllServer interface { + Send(*DeviceStreamResponse) error + grpc.ServerStream +} + +type deviceServiceGetAllServer struct { + grpc.ServerStream +} + +func (x *deviceServiceGetAllServer) Send(m *DeviceStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _DeviceService_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(DeviceStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DeviceServiceServer).Subscribe(m, &deviceServiceSubscribeServer{stream}) +} + +type DeviceService_SubscribeServer interface { + Send(*DeviceStreamResponse) error + grpc.ServerStream +} + +type deviceServiceSubscribeServer struct { + grpc.ServerStream +} + +func (x *deviceServiceSubscribeServer) Send(m *DeviceStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _DeviceService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "arista.inventory.v1.DeviceService", + HandlerType: (*DeviceServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOne", + Handler: _DeviceService_GetOne_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetAll", + Handler: _DeviceService_GetAll_Handler, + ServerStreams: true, + }, + { + StreamName: "Subscribe", + Handler: _DeviceService_Subscribe_Handler, + ServerStreams: true, + }, + }, + Metadata: "arista/inventory.v1/services.gen.proto", +} diff --git a/api/arista/subscriptions/subscriptions.pb.go b/api/arista/subscriptions/subscriptions.pb.go new file mode 100644 index 000000000..5536e9b8d --- /dev/null +++ b/api/arista/subscriptions/subscriptions.pb.go @@ -0,0 +1,166 @@ +// Copyright (c) 2020 Arista Networks, Inc. +// Use of this source code is governed by the Apache License 2.0 +// that can be found in the COPYING file. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 +// source: arista/subscriptions/subscriptions.proto + +package subscriptions + +import ( + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type Operation int32 + +const ( + Operation_UNSPECIFIED Operation = 0 + // INITIAL indicates the associated notification is that of the + // current state and a fully-specified Resource is provided. + Operation_INITIAL Operation = 10 + // INITIAL_SYNC_COMPLETE indicates all existing-state has been + // streamed to the client. This status will be sent in an + // otherwise-empty message and no subsequent INITIAL messages + // should be expected. + Operation_INITIAL_SYNC_COMPLETE Operation = 11 + // UPDATED indicates the associated notification carries + // modification to the last-streamed state. This indicates + // the contained Resource may be a partial diff, though, it + // may contain a fully-specified Resource. + Operation_UPDATED Operation = 20 + // DETLETED indicates the associated notification carries + // a deletion. The Resource's key will always be set in this case, + // but no other fields should be expected. + Operation_DELETED Operation = 30 +) + +// Enum value maps for Operation. +var ( + Operation_name = map[int32]string{ + 0: "UNSPECIFIED", + 10: "INITIAL", + 11: "INITIAL_SYNC_COMPLETE", + 20: "UPDATED", + 30: "DELETED", + } + Operation_value = map[string]int32{ + "UNSPECIFIED": 0, + "INITIAL": 10, + "INITIAL_SYNC_COMPLETE": 11, + "UPDATED": 20, + "DELETED": 30, + } +) + +func (x Operation) Enum() *Operation { + p := new(Operation) + *p = x + return p +} + +func (x Operation) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Operation) Descriptor() protoreflect.EnumDescriptor { + return file_arista_subscriptions_subscriptions_proto_enumTypes[0].Descriptor() +} + +func (Operation) Type() protoreflect.EnumType { + return &file_arista_subscriptions_subscriptions_proto_enumTypes[0] +} + +func (x Operation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Operation.Descriptor instead. +func (Operation) EnumDescriptor() ([]byte, []int) { + return file_arista_subscriptions_subscriptions_proto_rawDescGZIP(), []int{0} +} + +var File_arista_subscriptions_subscriptions_proto protoreflect.FileDescriptor + +var file_arista_subscriptions_subscriptions_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2a, 0x5e, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, + 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, + 0x0a, 0x07, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x10, 0x0a, 0x12, 0x19, 0x0a, 0x15, 0x49, + 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x43, 0x4f, 0x4d, 0x50, + 0x4c, 0x45, 0x54, 0x45, 0x10, 0x0b, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, + 0x44, 0x10, 0x14, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x1e, + 0x42, 0x27, 0x5a, 0x25, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x73, 0x75, 0x62, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_arista_subscriptions_subscriptions_proto_rawDescOnce sync.Once + file_arista_subscriptions_subscriptions_proto_rawDescData = file_arista_subscriptions_subscriptions_proto_rawDesc +) + +func file_arista_subscriptions_subscriptions_proto_rawDescGZIP() []byte { + file_arista_subscriptions_subscriptions_proto_rawDescOnce.Do(func() { + file_arista_subscriptions_subscriptions_proto_rawDescData = protoimpl.X.CompressGZIP(file_arista_subscriptions_subscriptions_proto_rawDescData) + }) + return file_arista_subscriptions_subscriptions_proto_rawDescData +} + +var file_arista_subscriptions_subscriptions_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_arista_subscriptions_subscriptions_proto_goTypes = []interface{}{ + (Operation)(0), // 0: arista.subscriptions.Operation +} +var file_arista_subscriptions_subscriptions_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_arista_subscriptions_subscriptions_proto_init() } +func file_arista_subscriptions_subscriptions_proto_init() { + if File_arista_subscriptions_subscriptions_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_arista_subscriptions_subscriptions_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_arista_subscriptions_subscriptions_proto_goTypes, + DependencyIndexes: file_arista_subscriptions_subscriptions_proto_depIdxs, + EnumInfos: file_arista_subscriptions_subscriptions_proto_enumTypes, + }.Build() + File_arista_subscriptions_subscriptions_proto = out.File + file_arista_subscriptions_subscriptions_proto_rawDesc = nil + file_arista_subscriptions_subscriptions_proto_goTypes = nil + file_arista_subscriptions_subscriptions_proto_depIdxs = nil +} diff --git a/api/arista/tag.v1/services.gen.pb.go b/api/arista/tag.v1/services.gen.pb.go new file mode 100644 index 000000000..d86b57e10 --- /dev/null +++ b/api/arista/tag.v1/services.gen.pb.go @@ -0,0 +1,5309 @@ +// Copyright (c) 2020 Arista Networks, Inc. +// Use of this source code is governed by the Apache License 2.0 +// that can be found in the COPYING file. + +// +// Code generated by boomtown. DO NOT EDIT. +// + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 +// source: arista/tag.v1/services.gen.proto + +package tag + +import ( + subscriptions "github.com/aristanetworks/cloudvision-go/api/arista/subscriptions" + time "github.com/aristanetworks/cloudvision-go/api/arista/time" + context "context" + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type DeviceTagRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies a DeviceTag instance to retrieve. + // This value (and all fields, unless otherwise specified) must be populated. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the time for which you are interested in the data. + // If no time is given, the server will use the time at twhich it makes the request. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagRequest) Reset() { + *x = DeviceTagRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagRequest) ProtoMessage() {} + +func (x *DeviceTagRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagRequest.ProtoReflect.Descriptor instead. +func (*DeviceTagRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{0} +} + +func (x *DeviceTagRequest) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *DeviceTagRequest) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is the value requested. + // This structure will be fully-populated as it exists in the datastore. If + // optional fields were not given at creation, these fields will be empty or + // set to default values. + Value *DeviceTag `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time carries the (UTC) timestamp of the last-modification of the + // DeviceTag instance in this response. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagResponse) Reset() { + *x = DeviceTagResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagResponse) ProtoMessage() {} + +func (x *DeviceTagResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagResponse.ProtoReflect.Descriptor instead. +func (*DeviceTagResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{1} +} + +func (x *DeviceTagResponse) GetValue() *DeviceTag { + if x != nil { + return x.Value + } + return nil +} + +func (x *DeviceTagResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. + // This requires all provided fields to be equal to the response. + // + // While transparent to users, this field also allows services to optimize internal + // subscriptions if filter(s) are sufficiently specific. + PartialEqFilter []*DeviceTag `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` + // TimeRange allows limiting response data to within a specified time window. + // If this field is populated, at least one of the two time fields are required. + // + // This field is not allowed in the Subscribe RPC. + Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagStreamRequest) Reset() { + *x = DeviceTagStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagStreamRequest) ProtoMessage() {} + +func (x *DeviceTagStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagStreamRequest.ProtoReflect.Descriptor instead. +func (*DeviceTagStreamRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{2} +} + +func (x *DeviceTagStreamRequest) GetPartialEqFilter() []*DeviceTag { + if x != nil { + return x.PartialEqFilter + } + return nil +} + +func (x *DeviceTagStreamRequest) GetTime() *time.TimeBounds { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is a value deemed relevant to the initiating request. + // This structure will always have its key-field populated. Which other fields are + // populated, and why, depends on the value of Operation and what triggered this notification. + Value *DeviceTag `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time holds the timestamp of this DeviceTag's last modification. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + // Operation indicates how the DeviceTag value in this response should be considered. + // Under non-subscribe requests, this value should always be INITIAL. In a subscription, + // once all initial data is streamed and the client begins to receive modification updates, + // you should not see INITIAL again. + Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` +} + +func (x *DeviceTagStreamResponse) Reset() { + *x = DeviceTagStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagStreamResponse) ProtoMessage() {} + +func (x *DeviceTagStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagStreamResponse.ProtoReflect.Descriptor instead. +func (*DeviceTagStreamResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{3} +} + +func (x *DeviceTagStreamResponse) GetValue() *DeviceTag { + if x != nil { + return x.Value + } + return nil +} + +func (x *DeviceTagStreamResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (x *DeviceTagStreamResponse) GetType() subscriptions.Operation { + if x != nil { + return x.Type + } + return subscriptions.Operation_UNSPECIFIED +} + +type DeviceTagAssignmentConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies a DeviceTagAssignmentConfig instance to retrieve. + // This value (and all fields, unless otherwise specified) must be populated. + Key *DeviceTagAssignmentKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the time for which you are interested in the data. + // If no time is given, the server will use the time at twhich it makes the request. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagAssignmentConfigRequest) Reset() { + *x = DeviceTagAssignmentConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagAssignmentConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagAssignmentConfigRequest) ProtoMessage() {} + +func (x *DeviceTagAssignmentConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagAssignmentConfigRequest.ProtoReflect.Descriptor instead. +func (*DeviceTagAssignmentConfigRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{4} +} + +func (x *DeviceTagAssignmentConfigRequest) GetKey() *DeviceTagAssignmentKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *DeviceTagAssignmentConfigRequest) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagAssignmentConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is the value requested. + // This structure will be fully-populated as it exists in the datastore. If + // optional fields were not given at creation, these fields will be empty or + // set to default values. + Value *DeviceTagAssignmentConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time carries the (UTC) timestamp of the last-modification of the + // DeviceTagAssignmentConfig instance in this response. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagAssignmentConfigResponse) Reset() { + *x = DeviceTagAssignmentConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagAssignmentConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagAssignmentConfigResponse) ProtoMessage() {} + +func (x *DeviceTagAssignmentConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagAssignmentConfigResponse.ProtoReflect.Descriptor instead. +func (*DeviceTagAssignmentConfigResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{5} +} + +func (x *DeviceTagAssignmentConfigResponse) GetValue() *DeviceTagAssignmentConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *DeviceTagAssignmentConfigResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagAssignmentConfigStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. + // This requires all provided fields to be equal to the response. + // + // While transparent to users, this field also allows services to optimize internal + // subscriptions if filter(s) are sufficiently specific. + PartialEqFilter []*DeviceTagAssignmentConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` + // TimeRange allows limiting response data to within a specified time window. + // If this field is populated, at least one of the two time fields are required. + // + // This field is not allowed in the Subscribe RPC. + Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagAssignmentConfigStreamRequest) Reset() { + *x = DeviceTagAssignmentConfigStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagAssignmentConfigStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagAssignmentConfigStreamRequest) ProtoMessage() {} + +func (x *DeviceTagAssignmentConfigStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagAssignmentConfigStreamRequest.ProtoReflect.Descriptor instead. +func (*DeviceTagAssignmentConfigStreamRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{6} +} + +func (x *DeviceTagAssignmentConfigStreamRequest) GetPartialEqFilter() []*DeviceTagAssignmentConfig { + if x != nil { + return x.PartialEqFilter + } + return nil +} + +func (x *DeviceTagAssignmentConfigStreamRequest) GetTime() *time.TimeBounds { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagAssignmentConfigStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is a value deemed relevant to the initiating request. + // This structure will always have its key-field populated. Which other fields are + // populated, and why, depends on the value of Operation and what triggered this notification. + Value *DeviceTagAssignmentConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time holds the timestamp of this DeviceTagAssignmentConfig's last modification. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + // Operation indicates how the DeviceTagAssignmentConfig value in this response should be considered. + // Under non-subscribe requests, this value should always be INITIAL. In a subscription, + // once all initial data is streamed and the client begins to receive modification updates, + // you should not see INITIAL again. + Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` +} + +func (x *DeviceTagAssignmentConfigStreamResponse) Reset() { + *x = DeviceTagAssignmentConfigStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagAssignmentConfigStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagAssignmentConfigStreamResponse) ProtoMessage() {} + +func (x *DeviceTagAssignmentConfigStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagAssignmentConfigStreamResponse.ProtoReflect.Descriptor instead. +func (*DeviceTagAssignmentConfigStreamResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{7} +} + +func (x *DeviceTagAssignmentConfigStreamResponse) GetValue() *DeviceTagAssignmentConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *DeviceTagAssignmentConfigStreamResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (x *DeviceTagAssignmentConfigStreamResponse) GetType() subscriptions.Operation { + if x != nil { + return x.Type + } + return subscriptions.Operation_UNSPECIFIED +} + +type DeviceTagAssignmentConfigSetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // DeviceTagAssignmentConfig carries the value to set into the datastore. + // See the documentation on the DeviceTagAssignmentConfig struct for which fields are required. + Value *DeviceTagAssignmentConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *DeviceTagAssignmentConfigSetRequest) Reset() { + *x = DeviceTagAssignmentConfigSetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagAssignmentConfigSetRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagAssignmentConfigSetRequest) ProtoMessage() {} + +func (x *DeviceTagAssignmentConfigSetRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagAssignmentConfigSetRequest.ProtoReflect.Descriptor instead. +func (*DeviceTagAssignmentConfigSetRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{8} +} + +func (x *DeviceTagAssignmentConfigSetRequest) GetValue() *DeviceTagAssignmentConfig { + if x != nil { + return x.Value + } + return nil +} + +type DeviceTagAssignmentConfigSetResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value carries all the values given in the DeviceTagAssignmentConfigSetRequest as well + // as any server-generated values. + Value *DeviceTagAssignmentConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time indicates the (UTC) timestamp at which the system recognizes the + // creation. The only guarantees made about this timestamp are: + // + // - it is after the time the request was received + // - a time-ranged query with StartTime==CreatedAt will include this instance. + // + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagAssignmentConfigSetResponse) Reset() { + *x = DeviceTagAssignmentConfigSetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagAssignmentConfigSetResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagAssignmentConfigSetResponse) ProtoMessage() {} + +func (x *DeviceTagAssignmentConfigSetResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagAssignmentConfigSetResponse.ProtoReflect.Descriptor instead. +func (*DeviceTagAssignmentConfigSetResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{9} +} + +func (x *DeviceTagAssignmentConfigSetResponse) GetValue() *DeviceTagAssignmentConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *DeviceTagAssignmentConfigSetResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagAssignmentConfigDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key indicates which DeviceTagAssignmentConfig instance to remove. + // This field (and all keys, unless otherwise specified) must always be set. + Key *DeviceTagAssignmentKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *DeviceTagAssignmentConfigDeleteRequest) Reset() { + *x = DeviceTagAssignmentConfigDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagAssignmentConfigDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagAssignmentConfigDeleteRequest) ProtoMessage() {} + +func (x *DeviceTagAssignmentConfigDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagAssignmentConfigDeleteRequest.ProtoReflect.Descriptor instead. +func (*DeviceTagAssignmentConfigDeleteRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{10} +} + +func (x *DeviceTagAssignmentConfigDeleteRequest) GetKey() *DeviceTagAssignmentKey { + if x != nil { + return x.Key + } + return nil +} + +type DeviceTagAssignmentConfigDeleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key echoes back the key of the deleted DeviceTagAssignmentConfig instance. + Key *DeviceTagAssignmentKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the (UTC) timestamp at which the system recognizes the + // deletion. The only guarantees made about this timestamp are: + // + // - it is after the time the request was received + // - a time-ranged query with StartTime==DeletedAt will not include this instance. + // + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagAssignmentConfigDeleteResponse) Reset() { + *x = DeviceTagAssignmentConfigDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagAssignmentConfigDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagAssignmentConfigDeleteResponse) ProtoMessage() {} + +func (x *DeviceTagAssignmentConfigDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagAssignmentConfigDeleteResponse.ProtoReflect.Descriptor instead. +func (*DeviceTagAssignmentConfigDeleteResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{11} +} + +func (x *DeviceTagAssignmentConfigDeleteResponse) GetKey() *DeviceTagAssignmentKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *DeviceTagAssignmentConfigDeleteResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies a DeviceTagConfig instance to retrieve. + // This value (and all fields, unless otherwise specified) must be populated. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the time for which you are interested in the data. + // If no time is given, the server will use the time at twhich it makes the request. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagConfigRequest) Reset() { + *x = DeviceTagConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagConfigRequest) ProtoMessage() {} + +func (x *DeviceTagConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagConfigRequest.ProtoReflect.Descriptor instead. +func (*DeviceTagConfigRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{12} +} + +func (x *DeviceTagConfigRequest) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *DeviceTagConfigRequest) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is the value requested. + // This structure will be fully-populated as it exists in the datastore. If + // optional fields were not given at creation, these fields will be empty or + // set to default values. + Value *DeviceTagConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time carries the (UTC) timestamp of the last-modification of the + // DeviceTagConfig instance in this response. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagConfigResponse) Reset() { + *x = DeviceTagConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagConfigResponse) ProtoMessage() {} + +func (x *DeviceTagConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagConfigResponse.ProtoReflect.Descriptor instead. +func (*DeviceTagConfigResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{13} +} + +func (x *DeviceTagConfigResponse) GetValue() *DeviceTagConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *DeviceTagConfigResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagConfigStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. + // This requires all provided fields to be equal to the response. + // + // While transparent to users, this field also allows services to optimize internal + // subscriptions if filter(s) are sufficiently specific. + PartialEqFilter []*DeviceTagConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` + // TimeRange allows limiting response data to within a specified time window. + // If this field is populated, at least one of the two time fields are required. + // + // This field is not allowed in the Subscribe RPC. + Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagConfigStreamRequest) Reset() { + *x = DeviceTagConfigStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagConfigStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagConfigStreamRequest) ProtoMessage() {} + +func (x *DeviceTagConfigStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagConfigStreamRequest.ProtoReflect.Descriptor instead. +func (*DeviceTagConfigStreamRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{14} +} + +func (x *DeviceTagConfigStreamRequest) GetPartialEqFilter() []*DeviceTagConfig { + if x != nil { + return x.PartialEqFilter + } + return nil +} + +func (x *DeviceTagConfigStreamRequest) GetTime() *time.TimeBounds { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagConfigStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is a value deemed relevant to the initiating request. + // This structure will always have its key-field populated. Which other fields are + // populated, and why, depends on the value of Operation and what triggered this notification. + Value *DeviceTagConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time holds the timestamp of this DeviceTagConfig's last modification. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + // Operation indicates how the DeviceTagConfig value in this response should be considered. + // Under non-subscribe requests, this value should always be INITIAL. In a subscription, + // once all initial data is streamed and the client begins to receive modification updates, + // you should not see INITIAL again. + Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` +} + +func (x *DeviceTagConfigStreamResponse) Reset() { + *x = DeviceTagConfigStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagConfigStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagConfigStreamResponse) ProtoMessage() {} + +func (x *DeviceTagConfigStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagConfigStreamResponse.ProtoReflect.Descriptor instead. +func (*DeviceTagConfigStreamResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{15} +} + +func (x *DeviceTagConfigStreamResponse) GetValue() *DeviceTagConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *DeviceTagConfigStreamResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (x *DeviceTagConfigStreamResponse) GetType() subscriptions.Operation { + if x != nil { + return x.Type + } + return subscriptions.Operation_UNSPECIFIED +} + +type DeviceTagConfigSetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // DeviceTagConfig carries the value to set into the datastore. + // See the documentation on the DeviceTagConfig struct for which fields are required. + Value *DeviceTagConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *DeviceTagConfigSetRequest) Reset() { + *x = DeviceTagConfigSetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagConfigSetRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagConfigSetRequest) ProtoMessage() {} + +func (x *DeviceTagConfigSetRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagConfigSetRequest.ProtoReflect.Descriptor instead. +func (*DeviceTagConfigSetRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{16} +} + +func (x *DeviceTagConfigSetRequest) GetValue() *DeviceTagConfig { + if x != nil { + return x.Value + } + return nil +} + +type DeviceTagConfigSetResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value carries all the values given in the DeviceTagConfigSetRequest as well + // as any server-generated values. + Value *DeviceTagConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time indicates the (UTC) timestamp at which the system recognizes the + // creation. The only guarantees made about this timestamp are: + // + // - it is after the time the request was received + // - a time-ranged query with StartTime==CreatedAt will include this instance. + // + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagConfigSetResponse) Reset() { + *x = DeviceTagConfigSetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagConfigSetResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagConfigSetResponse) ProtoMessage() {} + +func (x *DeviceTagConfigSetResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagConfigSetResponse.ProtoReflect.Descriptor instead. +func (*DeviceTagConfigSetResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{17} +} + +func (x *DeviceTagConfigSetResponse) GetValue() *DeviceTagConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *DeviceTagConfigSetResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type DeviceTagConfigDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key indicates which DeviceTagConfig instance to remove. + // This field (and all keys, unless otherwise specified) must always be set. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *DeviceTagConfigDeleteRequest) Reset() { + *x = DeviceTagConfigDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagConfigDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagConfigDeleteRequest) ProtoMessage() {} + +func (x *DeviceTagConfigDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagConfigDeleteRequest.ProtoReflect.Descriptor instead. +func (*DeviceTagConfigDeleteRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{18} +} + +func (x *DeviceTagConfigDeleteRequest) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +type DeviceTagConfigDeleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key echoes back the key of the deleted DeviceTagConfig instance. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the (UTC) timestamp at which the system recognizes the + // deletion. The only guarantees made about this timestamp are: + // + // - it is after the time the request was received + // - a time-ranged query with StartTime==DeletedAt will not include this instance. + // + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *DeviceTagConfigDeleteResponse) Reset() { + *x = DeviceTagConfigDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagConfigDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagConfigDeleteResponse) ProtoMessage() {} + +func (x *DeviceTagConfigDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagConfigDeleteResponse.ProtoReflect.Descriptor instead. +func (*DeviceTagConfigDeleteResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{19} +} + +func (x *DeviceTagConfigDeleteResponse) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *DeviceTagConfigDeleteResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies a InterfaceTag instance to retrieve. + // This value (and all fields, unless otherwise specified) must be populated. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the time for which you are interested in the data. + // If no time is given, the server will use the time at twhich it makes the request. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagRequest) Reset() { + *x = InterfaceTagRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagRequest) ProtoMessage() {} + +func (x *InterfaceTagRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagRequest.ProtoReflect.Descriptor instead. +func (*InterfaceTagRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{20} +} + +func (x *InterfaceTagRequest) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *InterfaceTagRequest) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is the value requested. + // This structure will be fully-populated as it exists in the datastore. If + // optional fields were not given at creation, these fields will be empty or + // set to default values. + Value *InterfaceTag `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time carries the (UTC) timestamp of the last-modification of the + // InterfaceTag instance in this response. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagResponse) Reset() { + *x = InterfaceTagResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagResponse) ProtoMessage() {} + +func (x *InterfaceTagResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagResponse.ProtoReflect.Descriptor instead. +func (*InterfaceTagResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{21} +} + +func (x *InterfaceTagResponse) GetValue() *InterfaceTag { + if x != nil { + return x.Value + } + return nil +} + +func (x *InterfaceTagResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. + // This requires all provided fields to be equal to the response. + // + // While transparent to users, this field also allows services to optimize internal + // subscriptions if filter(s) are sufficiently specific. + PartialEqFilter []*InterfaceTag `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` + // TimeRange allows limiting response data to within a specified time window. + // If this field is populated, at least one of the two time fields are required. + // + // This field is not allowed in the Subscribe RPC. + Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagStreamRequest) Reset() { + *x = InterfaceTagStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagStreamRequest) ProtoMessage() {} + +func (x *InterfaceTagStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagStreamRequest.ProtoReflect.Descriptor instead. +func (*InterfaceTagStreamRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{22} +} + +func (x *InterfaceTagStreamRequest) GetPartialEqFilter() []*InterfaceTag { + if x != nil { + return x.PartialEqFilter + } + return nil +} + +func (x *InterfaceTagStreamRequest) GetTime() *time.TimeBounds { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is a value deemed relevant to the initiating request. + // This structure will always have its key-field populated. Which other fields are + // populated, and why, depends on the value of Operation and what triggered this notification. + Value *InterfaceTag `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time holds the timestamp of this InterfaceTag's last modification. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + // Operation indicates how the InterfaceTag value in this response should be considered. + // Under non-subscribe requests, this value should always be INITIAL. In a subscription, + // once all initial data is streamed and the client begins to receive modification updates, + // you should not see INITIAL again. + Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` +} + +func (x *InterfaceTagStreamResponse) Reset() { + *x = InterfaceTagStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagStreamResponse) ProtoMessage() {} + +func (x *InterfaceTagStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagStreamResponse.ProtoReflect.Descriptor instead. +func (*InterfaceTagStreamResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{23} +} + +func (x *InterfaceTagStreamResponse) GetValue() *InterfaceTag { + if x != nil { + return x.Value + } + return nil +} + +func (x *InterfaceTagStreamResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (x *InterfaceTagStreamResponse) GetType() subscriptions.Operation { + if x != nil { + return x.Type + } + return subscriptions.Operation_UNSPECIFIED +} + +type InterfaceTagAssignmentConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies a InterfaceTagAssignmentConfig instance to retrieve. + // This value (and all fields, unless otherwise specified) must be populated. + Key *InterfaceTagAssignmentKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the time for which you are interested in the data. + // If no time is given, the server will use the time at twhich it makes the request. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagAssignmentConfigRequest) Reset() { + *x = InterfaceTagAssignmentConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagAssignmentConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagAssignmentConfigRequest) ProtoMessage() {} + +func (x *InterfaceTagAssignmentConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagAssignmentConfigRequest.ProtoReflect.Descriptor instead. +func (*InterfaceTagAssignmentConfigRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{24} +} + +func (x *InterfaceTagAssignmentConfigRequest) GetKey() *InterfaceTagAssignmentKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *InterfaceTagAssignmentConfigRequest) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagAssignmentConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is the value requested. + // This structure will be fully-populated as it exists in the datastore. If + // optional fields were not given at creation, these fields will be empty or + // set to default values. + Value *InterfaceTagAssignmentConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time carries the (UTC) timestamp of the last-modification of the + // InterfaceTagAssignmentConfig instance in this response. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagAssignmentConfigResponse) Reset() { + *x = InterfaceTagAssignmentConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagAssignmentConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagAssignmentConfigResponse) ProtoMessage() {} + +func (x *InterfaceTagAssignmentConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagAssignmentConfigResponse.ProtoReflect.Descriptor instead. +func (*InterfaceTagAssignmentConfigResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{25} +} + +func (x *InterfaceTagAssignmentConfigResponse) GetValue() *InterfaceTagAssignmentConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *InterfaceTagAssignmentConfigResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagAssignmentConfigStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. + // This requires all provided fields to be equal to the response. + // + // While transparent to users, this field also allows services to optimize internal + // subscriptions if filter(s) are sufficiently specific. + PartialEqFilter []*InterfaceTagAssignmentConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` + // TimeRange allows limiting response data to within a specified time window. + // If this field is populated, at least one of the two time fields are required. + // + // This field is not allowed in the Subscribe RPC. + Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagAssignmentConfigStreamRequest) Reset() { + *x = InterfaceTagAssignmentConfigStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagAssignmentConfigStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagAssignmentConfigStreamRequest) ProtoMessage() {} + +func (x *InterfaceTagAssignmentConfigStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagAssignmentConfigStreamRequest.ProtoReflect.Descriptor instead. +func (*InterfaceTagAssignmentConfigStreamRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{26} +} + +func (x *InterfaceTagAssignmentConfigStreamRequest) GetPartialEqFilter() []*InterfaceTagAssignmentConfig { + if x != nil { + return x.PartialEqFilter + } + return nil +} + +func (x *InterfaceTagAssignmentConfigStreamRequest) GetTime() *time.TimeBounds { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagAssignmentConfigStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is a value deemed relevant to the initiating request. + // This structure will always have its key-field populated. Which other fields are + // populated, and why, depends on the value of Operation and what triggered this notification. + Value *InterfaceTagAssignmentConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time holds the timestamp of this InterfaceTagAssignmentConfig's last modification. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + // Operation indicates how the InterfaceTagAssignmentConfig value in this response should be considered. + // Under non-subscribe requests, this value should always be INITIAL. In a subscription, + // once all initial data is streamed and the client begins to receive modification updates, + // you should not see INITIAL again. + Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` +} + +func (x *InterfaceTagAssignmentConfigStreamResponse) Reset() { + *x = InterfaceTagAssignmentConfigStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagAssignmentConfigStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagAssignmentConfigStreamResponse) ProtoMessage() {} + +func (x *InterfaceTagAssignmentConfigStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagAssignmentConfigStreamResponse.ProtoReflect.Descriptor instead. +func (*InterfaceTagAssignmentConfigStreamResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{27} +} + +func (x *InterfaceTagAssignmentConfigStreamResponse) GetValue() *InterfaceTagAssignmentConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *InterfaceTagAssignmentConfigStreamResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (x *InterfaceTagAssignmentConfigStreamResponse) GetType() subscriptions.Operation { + if x != nil { + return x.Type + } + return subscriptions.Operation_UNSPECIFIED +} + +type InterfaceTagAssignmentConfigSetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // InterfaceTagAssignmentConfig carries the value to set into the datastore. + // See the documentation on the InterfaceTagAssignmentConfig struct for which fields are required. + Value *InterfaceTagAssignmentConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *InterfaceTagAssignmentConfigSetRequest) Reset() { + *x = InterfaceTagAssignmentConfigSetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagAssignmentConfigSetRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagAssignmentConfigSetRequest) ProtoMessage() {} + +func (x *InterfaceTagAssignmentConfigSetRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagAssignmentConfigSetRequest.ProtoReflect.Descriptor instead. +func (*InterfaceTagAssignmentConfigSetRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{28} +} + +func (x *InterfaceTagAssignmentConfigSetRequest) GetValue() *InterfaceTagAssignmentConfig { + if x != nil { + return x.Value + } + return nil +} + +type InterfaceTagAssignmentConfigSetResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value carries all the values given in the InterfaceTagAssignmentConfigSetRequest as well + // as any server-generated values. + Value *InterfaceTagAssignmentConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time indicates the (UTC) timestamp at which the system recognizes the + // creation. The only guarantees made about this timestamp are: + // + // - it is after the time the request was received + // - a time-ranged query with StartTime==CreatedAt will include this instance. + // + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagAssignmentConfigSetResponse) Reset() { + *x = InterfaceTagAssignmentConfigSetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagAssignmentConfigSetResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagAssignmentConfigSetResponse) ProtoMessage() {} + +func (x *InterfaceTagAssignmentConfigSetResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagAssignmentConfigSetResponse.ProtoReflect.Descriptor instead. +func (*InterfaceTagAssignmentConfigSetResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{29} +} + +func (x *InterfaceTagAssignmentConfigSetResponse) GetValue() *InterfaceTagAssignmentConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *InterfaceTagAssignmentConfigSetResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagAssignmentConfigDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key indicates which InterfaceTagAssignmentConfig instance to remove. + // This field (and all keys, unless otherwise specified) must always be set. + Key *InterfaceTagAssignmentKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *InterfaceTagAssignmentConfigDeleteRequest) Reset() { + *x = InterfaceTagAssignmentConfigDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagAssignmentConfigDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagAssignmentConfigDeleteRequest) ProtoMessage() {} + +func (x *InterfaceTagAssignmentConfigDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagAssignmentConfigDeleteRequest.ProtoReflect.Descriptor instead. +func (*InterfaceTagAssignmentConfigDeleteRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{30} +} + +func (x *InterfaceTagAssignmentConfigDeleteRequest) GetKey() *InterfaceTagAssignmentKey { + if x != nil { + return x.Key + } + return nil +} + +type InterfaceTagAssignmentConfigDeleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key echoes back the key of the deleted InterfaceTagAssignmentConfig instance. + Key *InterfaceTagAssignmentKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the (UTC) timestamp at which the system recognizes the + // deletion. The only guarantees made about this timestamp are: + // + // - it is after the time the request was received + // - a time-ranged query with StartTime==DeletedAt will not include this instance. + // + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagAssignmentConfigDeleteResponse) Reset() { + *x = InterfaceTagAssignmentConfigDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagAssignmentConfigDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagAssignmentConfigDeleteResponse) ProtoMessage() {} + +func (x *InterfaceTagAssignmentConfigDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagAssignmentConfigDeleteResponse.ProtoReflect.Descriptor instead. +func (*InterfaceTagAssignmentConfigDeleteResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{31} +} + +func (x *InterfaceTagAssignmentConfigDeleteResponse) GetKey() *InterfaceTagAssignmentKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *InterfaceTagAssignmentConfigDeleteResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies a InterfaceTagConfig instance to retrieve. + // This value (and all fields, unless otherwise specified) must be populated. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the time for which you are interested in the data. + // If no time is given, the server will use the time at twhich it makes the request. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagConfigRequest) Reset() { + *x = InterfaceTagConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagConfigRequest) ProtoMessage() {} + +func (x *InterfaceTagConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagConfigRequest.ProtoReflect.Descriptor instead. +func (*InterfaceTagConfigRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{32} +} + +func (x *InterfaceTagConfigRequest) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *InterfaceTagConfigRequest) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is the value requested. + // This structure will be fully-populated as it exists in the datastore. If + // optional fields were not given at creation, these fields will be empty or + // set to default values. + Value *InterfaceTagConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time carries the (UTC) timestamp of the last-modification of the + // InterfaceTagConfig instance in this response. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagConfigResponse) Reset() { + *x = InterfaceTagConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagConfigResponse) ProtoMessage() {} + +func (x *InterfaceTagConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagConfigResponse.ProtoReflect.Descriptor instead. +func (*InterfaceTagConfigResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{33} +} + +func (x *InterfaceTagConfigResponse) GetValue() *InterfaceTagConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *InterfaceTagConfigResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagConfigStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. + // This requires all provided fields to be equal to the response. + // + // While transparent to users, this field also allows services to optimize internal + // subscriptions if filter(s) are sufficiently specific. + PartialEqFilter []*InterfaceTagConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"` + // TimeRange allows limiting response data to within a specified time window. + // If this field is populated, at least one of the two time fields are required. + // + // This field is not allowed in the Subscribe RPC. + Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagConfigStreamRequest) Reset() { + *x = InterfaceTagConfigStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagConfigStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagConfigStreamRequest) ProtoMessage() {} + +func (x *InterfaceTagConfigStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagConfigStreamRequest.ProtoReflect.Descriptor instead. +func (*InterfaceTagConfigStreamRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{34} +} + +func (x *InterfaceTagConfigStreamRequest) GetPartialEqFilter() []*InterfaceTagConfig { + if x != nil { + return x.PartialEqFilter + } + return nil +} + +func (x *InterfaceTagConfigStreamRequest) GetTime() *time.TimeBounds { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagConfigStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value is a value deemed relevant to the initiating request. + // This structure will always have its key-field populated. Which other fields are + // populated, and why, depends on the value of Operation and what triggered this notification. + Value *InterfaceTagConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time holds the timestamp of this InterfaceTagConfig's last modification. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + // Operation indicates how the InterfaceTagConfig value in this response should be considered. + // Under non-subscribe requests, this value should always be INITIAL. In a subscription, + // once all initial data is streamed and the client begins to receive modification updates, + // you should not see INITIAL again. + Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` +} + +func (x *InterfaceTagConfigStreamResponse) Reset() { + *x = InterfaceTagConfigStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagConfigStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagConfigStreamResponse) ProtoMessage() {} + +func (x *InterfaceTagConfigStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagConfigStreamResponse.ProtoReflect.Descriptor instead. +func (*InterfaceTagConfigStreamResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{35} +} + +func (x *InterfaceTagConfigStreamResponse) GetValue() *InterfaceTagConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *InterfaceTagConfigStreamResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (x *InterfaceTagConfigStreamResponse) GetType() subscriptions.Operation { + if x != nil { + return x.Type + } + return subscriptions.Operation_UNSPECIFIED +} + +type InterfaceTagConfigSetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // InterfaceTagConfig carries the value to set into the datastore. + // See the documentation on the InterfaceTagConfig struct for which fields are required. + Value *InterfaceTagConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *InterfaceTagConfigSetRequest) Reset() { + *x = InterfaceTagConfigSetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagConfigSetRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagConfigSetRequest) ProtoMessage() {} + +func (x *InterfaceTagConfigSetRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagConfigSetRequest.ProtoReflect.Descriptor instead. +func (*InterfaceTagConfigSetRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{36} +} + +func (x *InterfaceTagConfigSetRequest) GetValue() *InterfaceTagConfig { + if x != nil { + return x.Value + } + return nil +} + +type InterfaceTagConfigSetResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Value carries all the values given in the InterfaceTagConfigSetRequest as well + // as any server-generated values. + Value *InterfaceTagConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // Time indicates the (UTC) timestamp at which the system recognizes the + // creation. The only guarantees made about this timestamp are: + // + // - it is after the time the request was received + // - a time-ranged query with StartTime==CreatedAt will include this instance. + // + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagConfigSetResponse) Reset() { + *x = InterfaceTagConfigSetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagConfigSetResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagConfigSetResponse) ProtoMessage() {} + +func (x *InterfaceTagConfigSetResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagConfigSetResponse.ProtoReflect.Descriptor instead. +func (*InterfaceTagConfigSetResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{37} +} + +func (x *InterfaceTagConfigSetResponse) GetValue() *InterfaceTagConfig { + if x != nil { + return x.Value + } + return nil +} + +func (x *InterfaceTagConfigSetResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +type InterfaceTagConfigDeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key indicates which InterfaceTagConfig instance to remove. + // This field (and all keys, unless otherwise specified) must always be set. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *InterfaceTagConfigDeleteRequest) Reset() { + *x = InterfaceTagConfigDeleteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagConfigDeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagConfigDeleteRequest) ProtoMessage() {} + +func (x *InterfaceTagConfigDeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagConfigDeleteRequest.ProtoReflect.Descriptor instead. +func (*InterfaceTagConfigDeleteRequest) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{38} +} + +func (x *InterfaceTagConfigDeleteRequest) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +type InterfaceTagConfigDeleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key echoes back the key of the deleted InterfaceTagConfig instance. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Time indicates the (UTC) timestamp at which the system recognizes the + // deletion. The only guarantees made about this timestamp are: + // + // - it is after the time the request was received + // - a time-ranged query with StartTime==DeletedAt will not include this instance. + // + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *InterfaceTagConfigDeleteResponse) Reset() { + *x = InterfaceTagConfigDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagConfigDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagConfigDeleteResponse) ProtoMessage() {} + +func (x *InterfaceTagConfigDeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_services_gen_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagConfigDeleteResponse.ProtoReflect.Descriptor instead. +func (*InterfaceTagConfigDeleteResponse) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_services_gen_proto_rawDescGZIP(), []int{39} +} + +func (x *InterfaceTagConfigDeleteResponse) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *InterfaceTagConfigDeleteResponse) GetTime() *timestamp.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +var File_arista_tag_v1_services_gen_proto protoreflect.FileDescriptor + +var file_arista_tag_v1_services_gen_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2f, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x0d, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, + 0x31, 0x1a, 0x17, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, + 0x2f, 0x74, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x28, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, + 0x10, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x27, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, + 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x73, 0x0a, 0x11, 0x44, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, + 0x8b, 0x01, 0x0a, 0x16, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x11, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x65, 0x71, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, + 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x52, + 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x45, 0x71, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xae, 0x01, + 0x0a, 0x17, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x8b, + 0x01, 0x0a, 0x20, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, + 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x04, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x93, 0x01, 0x0a, + 0x21, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, + 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, + 0x6d, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x26, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, + 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x54, 0x0a, + 0x11, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x65, 0x71, 0x5f, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x45, 0x71, 0x46, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, + 0x22, 0xce, 0x01, 0x0a, 0x27, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, + 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, + 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x22, 0x65, 0x0a, 0x23, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, + 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x24, 0x44, 0x65, 0x76, + 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x22, 0x61, 0x0a, 0x26, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x22, 0x92, 0x01, 0x0a, 0x27, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x37, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x71, 0x0a, 0x16, 0x44, 0x65, 0x76, + 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x04, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x7f, 0x0a, 0x17, + 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, + 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x97, 0x01, + 0x0a, 0x1c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, + 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x65, 0x71, 0x5f, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, + 0x61, 0x6c, 0x45, 0x71, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x6f, 0x75, 0x6e, 0x64, + 0x73, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xba, 0x01, 0x0a, 0x1d, 0x44, 0x65, 0x76, 0x69, + 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, + 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, + 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x22, 0x51, 0x0a, 0x19, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, + 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x76, 0x69, + 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, + 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x47, 0x0a, 0x1c, + 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x78, 0x0a, 0x1d, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, + 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, + 0x6e, 0x0a, 0x13, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, + 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, + 0x79, 0x0a, 0x14, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, + 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, + 0x54, 0x61, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x19, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, + 0x69, 0x61, 0x6c, 0x5f, 0x65, 0x71, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, + 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, + 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x45, 0x71, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xb4, + 0x01, 0x0a, 0x1a, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, + 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, + 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, + 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x23, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x24, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2b, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, + 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xb1, 0x01, 0x0a, 0x29, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x65, + 0x71, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0f, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x61, 0x6c, 0x45, 0x71, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x04, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x6f, 0x75, + 0x6e, 0x64, 0x73, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x2a, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, + 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x22, 0x6b, 0x0a, 0x26, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, + 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x9c, 0x01, + 0x0a, 0x27, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x67, 0x0a, 0x29, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, + 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, + 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, + 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x98, 0x01, 0x0a, 0x2a, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, + 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, + 0x22, 0x74, 0x0a, 0x19, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, + 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x1a, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, + 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, + 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, + 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x9d, + 0x01, 0x0a, 0x1f, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x65, 0x71, + 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x45, 0x71, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xc0, + 0x01, 0x0a, 0x20, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, + 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x22, 0x57, 0x0a, 0x1c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, + 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x1d, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x4a, 0x0a, 0x1f, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, + 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x22, 0x7b, 0x0a, 0x20, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, + 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, + 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, + 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x32, 0x98, + 0x02, 0x0a, 0x10, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x12, 0x1f, 0x2e, + 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x59, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x25, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x54, 0x61, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x26, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, + 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x09, 0x53, + 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x25, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x26, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, + 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x32, 0xf1, 0x04, 0x0a, 0x20, 0x44, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6b, + 0x0a, 0x06, 0x47, 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x12, 0x2f, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x06, 0x47, + 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x35, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, + 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x61, + 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, + 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7c, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, + 0x69, 0x62, 0x65, 0x12, 0x35, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, + 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x30, 0x01, 0x12, 0x6e, 0x0a, 0x03, 0x53, 0x65, 0x74, 0x12, 0x32, 0x2e, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, + 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x33, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, + 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, + 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x35, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, + 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x83, 0x04, + 0x0a, 0x16, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x4f, + 0x6e, 0x65, 0x12, 0x25, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x65, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x2b, 0x2e, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, + 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x68, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, + 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x2b, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, + 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x30, 0x01, 0x12, 0x5a, 0x0a, 0x03, 0x53, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, + 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, + 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x32, 0xad, 0x02, 0x0a, 0x13, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, + 0x65, 0x54, 0x61, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x51, 0x0a, 0x06, 0x47, + 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x12, 0x22, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, + 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, + 0x0a, 0x06, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x28, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x54, 0x61, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, + 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, + 0x62, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x28, 0x2e, 0x61, + 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, + 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, + 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, + 0x54, 0x61, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x30, 0x01, 0x32, 0x93, 0x05, 0x0a, 0x23, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, + 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x71, 0x0a, 0x06, 0x47, + 0x65, 0x74, 0x4f, 0x6e, 0x65, 0x12, 0x32, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, + 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7f, + 0x0a, 0x06, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x38, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, + 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, + 0x82, 0x01, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x38, 0x2e, + 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, + 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x30, 0x01, 0x12, 0x74, 0x0a, 0x03, 0x53, 0x65, 0x74, 0x12, 0x35, 0x2e, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, + 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, + 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x06, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x12, 0x38, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, + 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, + 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, + 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xa4, 0x04, 0x0a, 0x19, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x4f, 0x6e, + 0x65, 0x12, 0x28, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, + 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, + 0x12, 0x2e, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2f, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x30, 0x01, 0x12, 0x6e, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, + 0x12, 0x2e, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2f, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x30, 0x01, 0x12, 0x60, 0x0a, 0x03, 0x53, 0x65, 0x74, 0x12, 0x2b, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, + 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, + 0x2e, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2f, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x42, 0x24, 0x5a, 0x22, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x74, 0x61, 0x67, 0x2e, + 0x76, 0x31, 0x3b, 0x74, 0x61, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_arista_tag_v1_services_gen_proto_rawDescOnce sync.Once + file_arista_tag_v1_services_gen_proto_rawDescData = file_arista_tag_v1_services_gen_proto_rawDesc +) + +func file_arista_tag_v1_services_gen_proto_rawDescGZIP() []byte { + file_arista_tag_v1_services_gen_proto_rawDescOnce.Do(func() { + file_arista_tag_v1_services_gen_proto_rawDescData = protoimpl.X.CompressGZIP(file_arista_tag_v1_services_gen_proto_rawDescData) + }) + return file_arista_tag_v1_services_gen_proto_rawDescData +} + +var file_arista_tag_v1_services_gen_proto_msgTypes = make([]protoimpl.MessageInfo, 40) +var file_arista_tag_v1_services_gen_proto_goTypes = []interface{}{ + (*DeviceTagRequest)(nil), // 0: arista.tag.v1.DeviceTagRequest + (*DeviceTagResponse)(nil), // 1: arista.tag.v1.DeviceTagResponse + (*DeviceTagStreamRequest)(nil), // 2: arista.tag.v1.DeviceTagStreamRequest + (*DeviceTagStreamResponse)(nil), // 3: arista.tag.v1.DeviceTagStreamResponse + (*DeviceTagAssignmentConfigRequest)(nil), // 4: arista.tag.v1.DeviceTagAssignmentConfigRequest + (*DeviceTagAssignmentConfigResponse)(nil), // 5: arista.tag.v1.DeviceTagAssignmentConfigResponse + (*DeviceTagAssignmentConfigStreamRequest)(nil), // 6: arista.tag.v1.DeviceTagAssignmentConfigStreamRequest + (*DeviceTagAssignmentConfigStreamResponse)(nil), // 7: arista.tag.v1.DeviceTagAssignmentConfigStreamResponse + (*DeviceTagAssignmentConfigSetRequest)(nil), // 8: arista.tag.v1.DeviceTagAssignmentConfigSetRequest + (*DeviceTagAssignmentConfigSetResponse)(nil), // 9: arista.tag.v1.DeviceTagAssignmentConfigSetResponse + (*DeviceTagAssignmentConfigDeleteRequest)(nil), // 10: arista.tag.v1.DeviceTagAssignmentConfigDeleteRequest + (*DeviceTagAssignmentConfigDeleteResponse)(nil), // 11: arista.tag.v1.DeviceTagAssignmentConfigDeleteResponse + (*DeviceTagConfigRequest)(nil), // 12: arista.tag.v1.DeviceTagConfigRequest + (*DeviceTagConfigResponse)(nil), // 13: arista.tag.v1.DeviceTagConfigResponse + (*DeviceTagConfigStreamRequest)(nil), // 14: arista.tag.v1.DeviceTagConfigStreamRequest + (*DeviceTagConfigStreamResponse)(nil), // 15: arista.tag.v1.DeviceTagConfigStreamResponse + (*DeviceTagConfigSetRequest)(nil), // 16: arista.tag.v1.DeviceTagConfigSetRequest + (*DeviceTagConfigSetResponse)(nil), // 17: arista.tag.v1.DeviceTagConfigSetResponse + (*DeviceTagConfigDeleteRequest)(nil), // 18: arista.tag.v1.DeviceTagConfigDeleteRequest + (*DeviceTagConfigDeleteResponse)(nil), // 19: arista.tag.v1.DeviceTagConfigDeleteResponse + (*InterfaceTagRequest)(nil), // 20: arista.tag.v1.InterfaceTagRequest + (*InterfaceTagResponse)(nil), // 21: arista.tag.v1.InterfaceTagResponse + (*InterfaceTagStreamRequest)(nil), // 22: arista.tag.v1.InterfaceTagStreamRequest + (*InterfaceTagStreamResponse)(nil), // 23: arista.tag.v1.InterfaceTagStreamResponse + (*InterfaceTagAssignmentConfigRequest)(nil), // 24: arista.tag.v1.InterfaceTagAssignmentConfigRequest + (*InterfaceTagAssignmentConfigResponse)(nil), // 25: arista.tag.v1.InterfaceTagAssignmentConfigResponse + (*InterfaceTagAssignmentConfigStreamRequest)(nil), // 26: arista.tag.v1.InterfaceTagAssignmentConfigStreamRequest + (*InterfaceTagAssignmentConfigStreamResponse)(nil), // 27: arista.tag.v1.InterfaceTagAssignmentConfigStreamResponse + (*InterfaceTagAssignmentConfigSetRequest)(nil), // 28: arista.tag.v1.InterfaceTagAssignmentConfigSetRequest + (*InterfaceTagAssignmentConfigSetResponse)(nil), // 29: arista.tag.v1.InterfaceTagAssignmentConfigSetResponse + (*InterfaceTagAssignmentConfigDeleteRequest)(nil), // 30: arista.tag.v1.InterfaceTagAssignmentConfigDeleteRequest + (*InterfaceTagAssignmentConfigDeleteResponse)(nil), // 31: arista.tag.v1.InterfaceTagAssignmentConfigDeleteResponse + (*InterfaceTagConfigRequest)(nil), // 32: arista.tag.v1.InterfaceTagConfigRequest + (*InterfaceTagConfigResponse)(nil), // 33: arista.tag.v1.InterfaceTagConfigResponse + (*InterfaceTagConfigStreamRequest)(nil), // 34: arista.tag.v1.InterfaceTagConfigStreamRequest + (*InterfaceTagConfigStreamResponse)(nil), // 35: arista.tag.v1.InterfaceTagConfigStreamResponse + (*InterfaceTagConfigSetRequest)(nil), // 36: arista.tag.v1.InterfaceTagConfigSetRequest + (*InterfaceTagConfigSetResponse)(nil), // 37: arista.tag.v1.InterfaceTagConfigSetResponse + (*InterfaceTagConfigDeleteRequest)(nil), // 38: arista.tag.v1.InterfaceTagConfigDeleteRequest + (*InterfaceTagConfigDeleteResponse)(nil), // 39: arista.tag.v1.InterfaceTagConfigDeleteResponse + (*TagKey)(nil), // 40: arista.tag.v1.TagKey + (*timestamp.Timestamp)(nil), // 41: google.protobuf.Timestamp + (*DeviceTag)(nil), // 42: arista.tag.v1.DeviceTag + (*time.TimeBounds)(nil), // 43: arista.time.TimeBounds + (subscriptions.Operation)(0), // 44: arista.subscriptions.Operation + (*DeviceTagAssignmentKey)(nil), // 45: arista.tag.v1.DeviceTagAssignmentKey + (*DeviceTagAssignmentConfig)(nil), // 46: arista.tag.v1.DeviceTagAssignmentConfig + (*DeviceTagConfig)(nil), // 47: arista.tag.v1.DeviceTagConfig + (*InterfaceTag)(nil), // 48: arista.tag.v1.InterfaceTag + (*InterfaceTagAssignmentKey)(nil), // 49: arista.tag.v1.InterfaceTagAssignmentKey + (*InterfaceTagAssignmentConfig)(nil), // 50: arista.tag.v1.InterfaceTagAssignmentConfig + (*InterfaceTagConfig)(nil), // 51: arista.tag.v1.InterfaceTagConfig +} +var file_arista_tag_v1_services_gen_proto_depIdxs = []int32{ + 40, // 0: arista.tag.v1.DeviceTagRequest.key:type_name -> arista.tag.v1.TagKey + 41, // 1: arista.tag.v1.DeviceTagRequest.time:type_name -> google.protobuf.Timestamp + 42, // 2: arista.tag.v1.DeviceTagResponse.value:type_name -> arista.tag.v1.DeviceTag + 41, // 3: arista.tag.v1.DeviceTagResponse.time:type_name -> google.protobuf.Timestamp + 42, // 4: arista.tag.v1.DeviceTagStreamRequest.partial_eq_filter:type_name -> arista.tag.v1.DeviceTag + 43, // 5: arista.tag.v1.DeviceTagStreamRequest.time:type_name -> arista.time.TimeBounds + 42, // 6: arista.tag.v1.DeviceTagStreamResponse.value:type_name -> arista.tag.v1.DeviceTag + 41, // 7: arista.tag.v1.DeviceTagStreamResponse.time:type_name -> google.protobuf.Timestamp + 44, // 8: arista.tag.v1.DeviceTagStreamResponse.type:type_name -> arista.subscriptions.Operation + 45, // 9: arista.tag.v1.DeviceTagAssignmentConfigRequest.key:type_name -> arista.tag.v1.DeviceTagAssignmentKey + 41, // 10: arista.tag.v1.DeviceTagAssignmentConfigRequest.time:type_name -> google.protobuf.Timestamp + 46, // 11: arista.tag.v1.DeviceTagAssignmentConfigResponse.value:type_name -> arista.tag.v1.DeviceTagAssignmentConfig + 41, // 12: arista.tag.v1.DeviceTagAssignmentConfigResponse.time:type_name -> google.protobuf.Timestamp + 46, // 13: arista.tag.v1.DeviceTagAssignmentConfigStreamRequest.partial_eq_filter:type_name -> arista.tag.v1.DeviceTagAssignmentConfig + 43, // 14: arista.tag.v1.DeviceTagAssignmentConfigStreamRequest.time:type_name -> arista.time.TimeBounds + 46, // 15: arista.tag.v1.DeviceTagAssignmentConfigStreamResponse.value:type_name -> arista.tag.v1.DeviceTagAssignmentConfig + 41, // 16: arista.tag.v1.DeviceTagAssignmentConfigStreamResponse.time:type_name -> google.protobuf.Timestamp + 44, // 17: arista.tag.v1.DeviceTagAssignmentConfigStreamResponse.type:type_name -> arista.subscriptions.Operation + 46, // 18: arista.tag.v1.DeviceTagAssignmentConfigSetRequest.value:type_name -> arista.tag.v1.DeviceTagAssignmentConfig + 46, // 19: arista.tag.v1.DeviceTagAssignmentConfigSetResponse.value:type_name -> arista.tag.v1.DeviceTagAssignmentConfig + 41, // 20: arista.tag.v1.DeviceTagAssignmentConfigSetResponse.time:type_name -> google.protobuf.Timestamp + 45, // 21: arista.tag.v1.DeviceTagAssignmentConfigDeleteRequest.key:type_name -> arista.tag.v1.DeviceTagAssignmentKey + 45, // 22: arista.tag.v1.DeviceTagAssignmentConfigDeleteResponse.key:type_name -> arista.tag.v1.DeviceTagAssignmentKey + 41, // 23: arista.tag.v1.DeviceTagAssignmentConfigDeleteResponse.time:type_name -> google.protobuf.Timestamp + 40, // 24: arista.tag.v1.DeviceTagConfigRequest.key:type_name -> arista.tag.v1.TagKey + 41, // 25: arista.tag.v1.DeviceTagConfigRequest.time:type_name -> google.protobuf.Timestamp + 47, // 26: arista.tag.v1.DeviceTagConfigResponse.value:type_name -> arista.tag.v1.DeviceTagConfig + 41, // 27: arista.tag.v1.DeviceTagConfigResponse.time:type_name -> google.protobuf.Timestamp + 47, // 28: arista.tag.v1.DeviceTagConfigStreamRequest.partial_eq_filter:type_name -> arista.tag.v1.DeviceTagConfig + 43, // 29: arista.tag.v1.DeviceTagConfigStreamRequest.time:type_name -> arista.time.TimeBounds + 47, // 30: arista.tag.v1.DeviceTagConfigStreamResponse.value:type_name -> arista.tag.v1.DeviceTagConfig + 41, // 31: arista.tag.v1.DeviceTagConfigStreamResponse.time:type_name -> google.protobuf.Timestamp + 44, // 32: arista.tag.v1.DeviceTagConfigStreamResponse.type:type_name -> arista.subscriptions.Operation + 47, // 33: arista.tag.v1.DeviceTagConfigSetRequest.value:type_name -> arista.tag.v1.DeviceTagConfig + 47, // 34: arista.tag.v1.DeviceTagConfigSetResponse.value:type_name -> arista.tag.v1.DeviceTagConfig + 41, // 35: arista.tag.v1.DeviceTagConfigSetResponse.time:type_name -> google.protobuf.Timestamp + 40, // 36: arista.tag.v1.DeviceTagConfigDeleteRequest.key:type_name -> arista.tag.v1.TagKey + 40, // 37: arista.tag.v1.DeviceTagConfigDeleteResponse.key:type_name -> arista.tag.v1.TagKey + 41, // 38: arista.tag.v1.DeviceTagConfigDeleteResponse.time:type_name -> google.protobuf.Timestamp + 40, // 39: arista.tag.v1.InterfaceTagRequest.key:type_name -> arista.tag.v1.TagKey + 41, // 40: arista.tag.v1.InterfaceTagRequest.time:type_name -> google.protobuf.Timestamp + 48, // 41: arista.tag.v1.InterfaceTagResponse.value:type_name -> arista.tag.v1.InterfaceTag + 41, // 42: arista.tag.v1.InterfaceTagResponse.time:type_name -> google.protobuf.Timestamp + 48, // 43: arista.tag.v1.InterfaceTagStreamRequest.partial_eq_filter:type_name -> arista.tag.v1.InterfaceTag + 43, // 44: arista.tag.v1.InterfaceTagStreamRequest.time:type_name -> arista.time.TimeBounds + 48, // 45: arista.tag.v1.InterfaceTagStreamResponse.value:type_name -> arista.tag.v1.InterfaceTag + 41, // 46: arista.tag.v1.InterfaceTagStreamResponse.time:type_name -> google.protobuf.Timestamp + 44, // 47: arista.tag.v1.InterfaceTagStreamResponse.type:type_name -> arista.subscriptions.Operation + 49, // 48: arista.tag.v1.InterfaceTagAssignmentConfigRequest.key:type_name -> arista.tag.v1.InterfaceTagAssignmentKey + 41, // 49: arista.tag.v1.InterfaceTagAssignmentConfigRequest.time:type_name -> google.protobuf.Timestamp + 50, // 50: arista.tag.v1.InterfaceTagAssignmentConfigResponse.value:type_name -> arista.tag.v1.InterfaceTagAssignmentConfig + 41, // 51: arista.tag.v1.InterfaceTagAssignmentConfigResponse.time:type_name -> google.protobuf.Timestamp + 50, // 52: arista.tag.v1.InterfaceTagAssignmentConfigStreamRequest.partial_eq_filter:type_name -> arista.tag.v1.InterfaceTagAssignmentConfig + 43, // 53: arista.tag.v1.InterfaceTagAssignmentConfigStreamRequest.time:type_name -> arista.time.TimeBounds + 50, // 54: arista.tag.v1.InterfaceTagAssignmentConfigStreamResponse.value:type_name -> arista.tag.v1.InterfaceTagAssignmentConfig + 41, // 55: arista.tag.v1.InterfaceTagAssignmentConfigStreamResponse.time:type_name -> google.protobuf.Timestamp + 44, // 56: arista.tag.v1.InterfaceTagAssignmentConfigStreamResponse.type:type_name -> arista.subscriptions.Operation + 50, // 57: arista.tag.v1.InterfaceTagAssignmentConfigSetRequest.value:type_name -> arista.tag.v1.InterfaceTagAssignmentConfig + 50, // 58: arista.tag.v1.InterfaceTagAssignmentConfigSetResponse.value:type_name -> arista.tag.v1.InterfaceTagAssignmentConfig + 41, // 59: arista.tag.v1.InterfaceTagAssignmentConfigSetResponse.time:type_name -> google.protobuf.Timestamp + 49, // 60: arista.tag.v1.InterfaceTagAssignmentConfigDeleteRequest.key:type_name -> arista.tag.v1.InterfaceTagAssignmentKey + 49, // 61: arista.tag.v1.InterfaceTagAssignmentConfigDeleteResponse.key:type_name -> arista.tag.v1.InterfaceTagAssignmentKey + 41, // 62: arista.tag.v1.InterfaceTagAssignmentConfigDeleteResponse.time:type_name -> google.protobuf.Timestamp + 40, // 63: arista.tag.v1.InterfaceTagConfigRequest.key:type_name -> arista.tag.v1.TagKey + 41, // 64: arista.tag.v1.InterfaceTagConfigRequest.time:type_name -> google.protobuf.Timestamp + 51, // 65: arista.tag.v1.InterfaceTagConfigResponse.value:type_name -> arista.tag.v1.InterfaceTagConfig + 41, // 66: arista.tag.v1.InterfaceTagConfigResponse.time:type_name -> google.protobuf.Timestamp + 51, // 67: arista.tag.v1.InterfaceTagConfigStreamRequest.partial_eq_filter:type_name -> arista.tag.v1.InterfaceTagConfig + 43, // 68: arista.tag.v1.InterfaceTagConfigStreamRequest.time:type_name -> arista.time.TimeBounds + 51, // 69: arista.tag.v1.InterfaceTagConfigStreamResponse.value:type_name -> arista.tag.v1.InterfaceTagConfig + 41, // 70: arista.tag.v1.InterfaceTagConfigStreamResponse.time:type_name -> google.protobuf.Timestamp + 44, // 71: arista.tag.v1.InterfaceTagConfigStreamResponse.type:type_name -> arista.subscriptions.Operation + 51, // 72: arista.tag.v1.InterfaceTagConfigSetRequest.value:type_name -> arista.tag.v1.InterfaceTagConfig + 51, // 73: arista.tag.v1.InterfaceTagConfigSetResponse.value:type_name -> arista.tag.v1.InterfaceTagConfig + 41, // 74: arista.tag.v1.InterfaceTagConfigSetResponse.time:type_name -> google.protobuf.Timestamp + 40, // 75: arista.tag.v1.InterfaceTagConfigDeleteRequest.key:type_name -> arista.tag.v1.TagKey + 40, // 76: arista.tag.v1.InterfaceTagConfigDeleteResponse.key:type_name -> arista.tag.v1.TagKey + 41, // 77: arista.tag.v1.InterfaceTagConfigDeleteResponse.time:type_name -> google.protobuf.Timestamp + 0, // 78: arista.tag.v1.DeviceTagService.GetOne:input_type -> arista.tag.v1.DeviceTagRequest + 2, // 79: arista.tag.v1.DeviceTagService.GetAll:input_type -> arista.tag.v1.DeviceTagStreamRequest + 2, // 80: arista.tag.v1.DeviceTagService.Subscribe:input_type -> arista.tag.v1.DeviceTagStreamRequest + 4, // 81: arista.tag.v1.DeviceTagAssignmentConfigService.GetOne:input_type -> arista.tag.v1.DeviceTagAssignmentConfigRequest + 6, // 82: arista.tag.v1.DeviceTagAssignmentConfigService.GetAll:input_type -> arista.tag.v1.DeviceTagAssignmentConfigStreamRequest + 6, // 83: arista.tag.v1.DeviceTagAssignmentConfigService.Subscribe:input_type -> arista.tag.v1.DeviceTagAssignmentConfigStreamRequest + 8, // 84: arista.tag.v1.DeviceTagAssignmentConfigService.Set:input_type -> arista.tag.v1.DeviceTagAssignmentConfigSetRequest + 10, // 85: arista.tag.v1.DeviceTagAssignmentConfigService.Delete:input_type -> arista.tag.v1.DeviceTagAssignmentConfigDeleteRequest + 12, // 86: arista.tag.v1.DeviceTagConfigService.GetOne:input_type -> arista.tag.v1.DeviceTagConfigRequest + 14, // 87: arista.tag.v1.DeviceTagConfigService.GetAll:input_type -> arista.tag.v1.DeviceTagConfigStreamRequest + 14, // 88: arista.tag.v1.DeviceTagConfigService.Subscribe:input_type -> arista.tag.v1.DeviceTagConfigStreamRequest + 16, // 89: arista.tag.v1.DeviceTagConfigService.Set:input_type -> arista.tag.v1.DeviceTagConfigSetRequest + 18, // 90: arista.tag.v1.DeviceTagConfigService.Delete:input_type -> arista.tag.v1.DeviceTagConfigDeleteRequest + 20, // 91: arista.tag.v1.InterfaceTagService.GetOne:input_type -> arista.tag.v1.InterfaceTagRequest + 22, // 92: arista.tag.v1.InterfaceTagService.GetAll:input_type -> arista.tag.v1.InterfaceTagStreamRequest + 22, // 93: arista.tag.v1.InterfaceTagService.Subscribe:input_type -> arista.tag.v1.InterfaceTagStreamRequest + 24, // 94: arista.tag.v1.InterfaceTagAssignmentConfigService.GetOne:input_type -> arista.tag.v1.InterfaceTagAssignmentConfigRequest + 26, // 95: arista.tag.v1.InterfaceTagAssignmentConfigService.GetAll:input_type -> arista.tag.v1.InterfaceTagAssignmentConfigStreamRequest + 26, // 96: arista.tag.v1.InterfaceTagAssignmentConfigService.Subscribe:input_type -> arista.tag.v1.InterfaceTagAssignmentConfigStreamRequest + 28, // 97: arista.tag.v1.InterfaceTagAssignmentConfigService.Set:input_type -> arista.tag.v1.InterfaceTagAssignmentConfigSetRequest + 30, // 98: arista.tag.v1.InterfaceTagAssignmentConfigService.Delete:input_type -> arista.tag.v1.InterfaceTagAssignmentConfigDeleteRequest + 32, // 99: arista.tag.v1.InterfaceTagConfigService.GetOne:input_type -> arista.tag.v1.InterfaceTagConfigRequest + 34, // 100: arista.tag.v1.InterfaceTagConfigService.GetAll:input_type -> arista.tag.v1.InterfaceTagConfigStreamRequest + 34, // 101: arista.tag.v1.InterfaceTagConfigService.Subscribe:input_type -> arista.tag.v1.InterfaceTagConfigStreamRequest + 36, // 102: arista.tag.v1.InterfaceTagConfigService.Set:input_type -> arista.tag.v1.InterfaceTagConfigSetRequest + 38, // 103: arista.tag.v1.InterfaceTagConfigService.Delete:input_type -> arista.tag.v1.InterfaceTagConfigDeleteRequest + 1, // 104: arista.tag.v1.DeviceTagService.GetOne:output_type -> arista.tag.v1.DeviceTagResponse + 3, // 105: arista.tag.v1.DeviceTagService.GetAll:output_type -> arista.tag.v1.DeviceTagStreamResponse + 3, // 106: arista.tag.v1.DeviceTagService.Subscribe:output_type -> arista.tag.v1.DeviceTagStreamResponse + 5, // 107: arista.tag.v1.DeviceTagAssignmentConfigService.GetOne:output_type -> arista.tag.v1.DeviceTagAssignmentConfigResponse + 7, // 108: arista.tag.v1.DeviceTagAssignmentConfigService.GetAll:output_type -> arista.tag.v1.DeviceTagAssignmentConfigStreamResponse + 7, // 109: arista.tag.v1.DeviceTagAssignmentConfigService.Subscribe:output_type -> arista.tag.v1.DeviceTagAssignmentConfigStreamResponse + 9, // 110: arista.tag.v1.DeviceTagAssignmentConfigService.Set:output_type -> arista.tag.v1.DeviceTagAssignmentConfigSetResponse + 11, // 111: arista.tag.v1.DeviceTagAssignmentConfigService.Delete:output_type -> arista.tag.v1.DeviceTagAssignmentConfigDeleteResponse + 13, // 112: arista.tag.v1.DeviceTagConfigService.GetOne:output_type -> arista.tag.v1.DeviceTagConfigResponse + 15, // 113: arista.tag.v1.DeviceTagConfigService.GetAll:output_type -> arista.tag.v1.DeviceTagConfigStreamResponse + 15, // 114: arista.tag.v1.DeviceTagConfigService.Subscribe:output_type -> arista.tag.v1.DeviceTagConfigStreamResponse + 17, // 115: arista.tag.v1.DeviceTagConfigService.Set:output_type -> arista.tag.v1.DeviceTagConfigSetResponse + 19, // 116: arista.tag.v1.DeviceTagConfigService.Delete:output_type -> arista.tag.v1.DeviceTagConfigDeleteResponse + 21, // 117: arista.tag.v1.InterfaceTagService.GetOne:output_type -> arista.tag.v1.InterfaceTagResponse + 23, // 118: arista.tag.v1.InterfaceTagService.GetAll:output_type -> arista.tag.v1.InterfaceTagStreamResponse + 23, // 119: arista.tag.v1.InterfaceTagService.Subscribe:output_type -> arista.tag.v1.InterfaceTagStreamResponse + 25, // 120: arista.tag.v1.InterfaceTagAssignmentConfigService.GetOne:output_type -> arista.tag.v1.InterfaceTagAssignmentConfigResponse + 27, // 121: arista.tag.v1.InterfaceTagAssignmentConfigService.GetAll:output_type -> arista.tag.v1.InterfaceTagAssignmentConfigStreamResponse + 27, // 122: arista.tag.v1.InterfaceTagAssignmentConfigService.Subscribe:output_type -> arista.tag.v1.InterfaceTagAssignmentConfigStreamResponse + 29, // 123: arista.tag.v1.InterfaceTagAssignmentConfigService.Set:output_type -> arista.tag.v1.InterfaceTagAssignmentConfigSetResponse + 31, // 124: arista.tag.v1.InterfaceTagAssignmentConfigService.Delete:output_type -> arista.tag.v1.InterfaceTagAssignmentConfigDeleteResponse + 33, // 125: arista.tag.v1.InterfaceTagConfigService.GetOne:output_type -> arista.tag.v1.InterfaceTagConfigResponse + 35, // 126: arista.tag.v1.InterfaceTagConfigService.GetAll:output_type -> arista.tag.v1.InterfaceTagConfigStreamResponse + 35, // 127: arista.tag.v1.InterfaceTagConfigService.Subscribe:output_type -> arista.tag.v1.InterfaceTagConfigStreamResponse + 37, // 128: arista.tag.v1.InterfaceTagConfigService.Set:output_type -> arista.tag.v1.InterfaceTagConfigSetResponse + 39, // 129: arista.tag.v1.InterfaceTagConfigService.Delete:output_type -> arista.tag.v1.InterfaceTagConfigDeleteResponse + 104, // [104:130] is the sub-list for method output_type + 78, // [78:104] is the sub-list for method input_type + 78, // [78:78] is the sub-list for extension type_name + 78, // [78:78] is the sub-list for extension extendee + 0, // [0:78] is the sub-list for field type_name +} + +func init() { file_arista_tag_v1_services_gen_proto_init() } +func file_arista_tag_v1_services_gen_proto_init() { + if File_arista_tag_v1_services_gen_proto != nil { + return + } + file_arista_tag_v1_tag_proto_init() + if !protoimpl.UnsafeEnabled { + file_arista_tag_v1_services_gen_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagAssignmentConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagAssignmentConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagAssignmentConfigStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagAssignmentConfigStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagAssignmentConfigSetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagAssignmentConfigSetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagAssignmentConfigDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagAssignmentConfigDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagConfigStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagConfigStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagConfigSetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagConfigSetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagConfigDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagConfigDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagAssignmentConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagAssignmentConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagAssignmentConfigStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagAssignmentConfigStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagAssignmentConfigSetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagAssignmentConfigSetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagAssignmentConfigDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagAssignmentConfigDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagConfigStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagConfigStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagConfigSetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagConfigSetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagConfigDeleteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_services_gen_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagConfigDeleteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_arista_tag_v1_services_gen_proto_rawDesc, + NumEnums: 0, + NumMessages: 40, + NumExtensions: 0, + NumServices: 6, + }, + GoTypes: file_arista_tag_v1_services_gen_proto_goTypes, + DependencyIndexes: file_arista_tag_v1_services_gen_proto_depIdxs, + MessageInfos: file_arista_tag_v1_services_gen_proto_msgTypes, + }.Build() + File_arista_tag_v1_services_gen_proto = out.File + file_arista_tag_v1_services_gen_proto_rawDesc = nil + file_arista_tag_v1_services_gen_proto_goTypes = nil + file_arista_tag_v1_services_gen_proto_depIdxs = nil +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConnInterface + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// DeviceTagServiceClient is the client API for DeviceTagService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type DeviceTagServiceClient interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(ctx context.Context, in *DeviceTagRequest, opts ...grpc.CallOption) (*DeviceTagResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(ctx context.Context, in *DeviceTagStreamRequest, opts ...grpc.CallOption) (DeviceTagService_GetAllClient, error) + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(ctx context.Context, in *DeviceTagStreamRequest, opts ...grpc.CallOption) (DeviceTagService_SubscribeClient, error) +} + +type deviceTagServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewDeviceTagServiceClient(cc grpc.ClientConnInterface) DeviceTagServiceClient { + return &deviceTagServiceClient{cc} +} + +func (c *deviceTagServiceClient) GetOne(ctx context.Context, in *DeviceTagRequest, opts ...grpc.CallOption) (*DeviceTagResponse, error) { + out := new(DeviceTagResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.DeviceTagService/GetOne", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceTagServiceClient) GetAll(ctx context.Context, in *DeviceTagStreamRequest, opts ...grpc.CallOption) (DeviceTagService_GetAllClient, error) { + stream, err := c.cc.NewStream(ctx, &_DeviceTagService_serviceDesc.Streams[0], "/arista.tag.v1.DeviceTagService/GetAll", opts...) + if err != nil { + return nil, err + } + x := &deviceTagServiceGetAllClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DeviceTagService_GetAllClient interface { + Recv() (*DeviceTagStreamResponse, error) + grpc.ClientStream +} + +type deviceTagServiceGetAllClient struct { + grpc.ClientStream +} + +func (x *deviceTagServiceGetAllClient) Recv() (*DeviceTagStreamResponse, error) { + m := new(DeviceTagStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *deviceTagServiceClient) Subscribe(ctx context.Context, in *DeviceTagStreamRequest, opts ...grpc.CallOption) (DeviceTagService_SubscribeClient, error) { + stream, err := c.cc.NewStream(ctx, &_DeviceTagService_serviceDesc.Streams[1], "/arista.tag.v1.DeviceTagService/Subscribe", opts...) + if err != nil { + return nil, err + } + x := &deviceTagServiceSubscribeClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DeviceTagService_SubscribeClient interface { + Recv() (*DeviceTagStreamResponse, error) + grpc.ClientStream +} + +type deviceTagServiceSubscribeClient struct { + grpc.ClientStream +} + +func (x *deviceTagServiceSubscribeClient) Recv() (*DeviceTagStreamResponse, error) { + m := new(DeviceTagStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// DeviceTagServiceServer is the server API for DeviceTagService service. +type DeviceTagServiceServer interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(context.Context, *DeviceTagRequest) (*DeviceTagResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(*DeviceTagStreamRequest, DeviceTagService_GetAllServer) error + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(*DeviceTagStreamRequest, DeviceTagService_SubscribeServer) error +} + +// UnimplementedDeviceTagServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDeviceTagServiceServer struct { +} + +func (*UnimplementedDeviceTagServiceServer) GetOne(context.Context, *DeviceTagRequest) (*DeviceTagResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOne not implemented") +} +func (*UnimplementedDeviceTagServiceServer) GetAll(*DeviceTagStreamRequest, DeviceTagService_GetAllServer) error { + return status.Errorf(codes.Unimplemented, "method GetAll not implemented") +} +func (*UnimplementedDeviceTagServiceServer) Subscribe(*DeviceTagStreamRequest, DeviceTagService_SubscribeServer) error { + return status.Errorf(codes.Unimplemented, "method Subscribe not implemented") +} + +func RegisterDeviceTagServiceServer(s *grpc.Server, srv DeviceTagServiceServer) { + s.RegisterService(&_DeviceTagService_serviceDesc, srv) +} + +func _DeviceTagService_GetOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeviceTagRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceTagServiceServer).GetOne(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.DeviceTagService/GetOne", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceTagServiceServer).GetOne(ctx, req.(*DeviceTagRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceTagService_GetAll_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(DeviceTagStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DeviceTagServiceServer).GetAll(m, &deviceTagServiceGetAllServer{stream}) +} + +type DeviceTagService_GetAllServer interface { + Send(*DeviceTagStreamResponse) error + grpc.ServerStream +} + +type deviceTagServiceGetAllServer struct { + grpc.ServerStream +} + +func (x *deviceTagServiceGetAllServer) Send(m *DeviceTagStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _DeviceTagService_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(DeviceTagStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DeviceTagServiceServer).Subscribe(m, &deviceTagServiceSubscribeServer{stream}) +} + +type DeviceTagService_SubscribeServer interface { + Send(*DeviceTagStreamResponse) error + grpc.ServerStream +} + +type deviceTagServiceSubscribeServer struct { + grpc.ServerStream +} + +func (x *deviceTagServiceSubscribeServer) Send(m *DeviceTagStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _DeviceTagService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "arista.tag.v1.DeviceTagService", + HandlerType: (*DeviceTagServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOne", + Handler: _DeviceTagService_GetOne_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetAll", + Handler: _DeviceTagService_GetAll_Handler, + ServerStreams: true, + }, + { + StreamName: "Subscribe", + Handler: _DeviceTagService_Subscribe_Handler, + ServerStreams: true, + }, + }, + Metadata: "arista/tag.v1/services.gen.proto", +} + +// DeviceTagAssignmentConfigServiceClient is the client API for DeviceTagAssignmentConfigService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type DeviceTagAssignmentConfigServiceClient interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(ctx context.Context, in *DeviceTagAssignmentConfigRequest, opts ...grpc.CallOption) (*DeviceTagAssignmentConfigResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(ctx context.Context, in *DeviceTagAssignmentConfigStreamRequest, opts ...grpc.CallOption) (DeviceTagAssignmentConfigService_GetAllClient, error) + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(ctx context.Context, in *DeviceTagAssignmentConfigStreamRequest, opts ...grpc.CallOption) (DeviceTagAssignmentConfigService_SubscribeClient, error) + // Set allows setting values for the entity specified by the key in the request. + // The key must be provided and all fields set (unless otherwise specified). + Set(ctx context.Context, in *DeviceTagAssignmentConfigSetRequest, opts ...grpc.CallOption) (*DeviceTagAssignmentConfigSetResponse, error) + // Delete will remove the entity specified by the key within the request. + // The key must be provided and all fields populated (unless otherwise specified). + Delete(ctx context.Context, in *DeviceTagAssignmentConfigDeleteRequest, opts ...grpc.CallOption) (*DeviceTagAssignmentConfigDeleteResponse, error) +} + +type deviceTagAssignmentConfigServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewDeviceTagAssignmentConfigServiceClient(cc grpc.ClientConnInterface) DeviceTagAssignmentConfigServiceClient { + return &deviceTagAssignmentConfigServiceClient{cc} +} + +func (c *deviceTagAssignmentConfigServiceClient) GetOne(ctx context.Context, in *DeviceTagAssignmentConfigRequest, opts ...grpc.CallOption) (*DeviceTagAssignmentConfigResponse, error) { + out := new(DeviceTagAssignmentConfigResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.DeviceTagAssignmentConfigService/GetOne", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceTagAssignmentConfigServiceClient) GetAll(ctx context.Context, in *DeviceTagAssignmentConfigStreamRequest, opts ...grpc.CallOption) (DeviceTagAssignmentConfigService_GetAllClient, error) { + stream, err := c.cc.NewStream(ctx, &_DeviceTagAssignmentConfigService_serviceDesc.Streams[0], "/arista.tag.v1.DeviceTagAssignmentConfigService/GetAll", opts...) + if err != nil { + return nil, err + } + x := &deviceTagAssignmentConfigServiceGetAllClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DeviceTagAssignmentConfigService_GetAllClient interface { + Recv() (*DeviceTagAssignmentConfigStreamResponse, error) + grpc.ClientStream +} + +type deviceTagAssignmentConfigServiceGetAllClient struct { + grpc.ClientStream +} + +func (x *deviceTagAssignmentConfigServiceGetAllClient) Recv() (*DeviceTagAssignmentConfigStreamResponse, error) { + m := new(DeviceTagAssignmentConfigStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *deviceTagAssignmentConfigServiceClient) Subscribe(ctx context.Context, in *DeviceTagAssignmentConfigStreamRequest, opts ...grpc.CallOption) (DeviceTagAssignmentConfigService_SubscribeClient, error) { + stream, err := c.cc.NewStream(ctx, &_DeviceTagAssignmentConfigService_serviceDesc.Streams[1], "/arista.tag.v1.DeviceTagAssignmentConfigService/Subscribe", opts...) + if err != nil { + return nil, err + } + x := &deviceTagAssignmentConfigServiceSubscribeClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DeviceTagAssignmentConfigService_SubscribeClient interface { + Recv() (*DeviceTagAssignmentConfigStreamResponse, error) + grpc.ClientStream +} + +type deviceTagAssignmentConfigServiceSubscribeClient struct { + grpc.ClientStream +} + +func (x *deviceTagAssignmentConfigServiceSubscribeClient) Recv() (*DeviceTagAssignmentConfigStreamResponse, error) { + m := new(DeviceTagAssignmentConfigStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *deviceTagAssignmentConfigServiceClient) Set(ctx context.Context, in *DeviceTagAssignmentConfigSetRequest, opts ...grpc.CallOption) (*DeviceTagAssignmentConfigSetResponse, error) { + out := new(DeviceTagAssignmentConfigSetResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.DeviceTagAssignmentConfigService/Set", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceTagAssignmentConfigServiceClient) Delete(ctx context.Context, in *DeviceTagAssignmentConfigDeleteRequest, opts ...grpc.CallOption) (*DeviceTagAssignmentConfigDeleteResponse, error) { + out := new(DeviceTagAssignmentConfigDeleteResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.DeviceTagAssignmentConfigService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DeviceTagAssignmentConfigServiceServer is the server API for DeviceTagAssignmentConfigService service. +type DeviceTagAssignmentConfigServiceServer interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(context.Context, *DeviceTagAssignmentConfigRequest) (*DeviceTagAssignmentConfigResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(*DeviceTagAssignmentConfigStreamRequest, DeviceTagAssignmentConfigService_GetAllServer) error + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(*DeviceTagAssignmentConfigStreamRequest, DeviceTagAssignmentConfigService_SubscribeServer) error + // Set allows setting values for the entity specified by the key in the request. + // The key must be provided and all fields set (unless otherwise specified). + Set(context.Context, *DeviceTagAssignmentConfigSetRequest) (*DeviceTagAssignmentConfigSetResponse, error) + // Delete will remove the entity specified by the key within the request. + // The key must be provided and all fields populated (unless otherwise specified). + Delete(context.Context, *DeviceTagAssignmentConfigDeleteRequest) (*DeviceTagAssignmentConfigDeleteResponse, error) +} + +// UnimplementedDeviceTagAssignmentConfigServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDeviceTagAssignmentConfigServiceServer struct { +} + +func (*UnimplementedDeviceTagAssignmentConfigServiceServer) GetOne(context.Context, *DeviceTagAssignmentConfigRequest) (*DeviceTagAssignmentConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOne not implemented") +} +func (*UnimplementedDeviceTagAssignmentConfigServiceServer) GetAll(*DeviceTagAssignmentConfigStreamRequest, DeviceTagAssignmentConfigService_GetAllServer) error { + return status.Errorf(codes.Unimplemented, "method GetAll not implemented") +} +func (*UnimplementedDeviceTagAssignmentConfigServiceServer) Subscribe(*DeviceTagAssignmentConfigStreamRequest, DeviceTagAssignmentConfigService_SubscribeServer) error { + return status.Errorf(codes.Unimplemented, "method Subscribe not implemented") +} +func (*UnimplementedDeviceTagAssignmentConfigServiceServer) Set(context.Context, *DeviceTagAssignmentConfigSetRequest) (*DeviceTagAssignmentConfigSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Set not implemented") +} +func (*UnimplementedDeviceTagAssignmentConfigServiceServer) Delete(context.Context, *DeviceTagAssignmentConfigDeleteRequest) (*DeviceTagAssignmentConfigDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + +func RegisterDeviceTagAssignmentConfigServiceServer(s *grpc.Server, srv DeviceTagAssignmentConfigServiceServer) { + s.RegisterService(&_DeviceTagAssignmentConfigService_serviceDesc, srv) +} + +func _DeviceTagAssignmentConfigService_GetOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeviceTagAssignmentConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceTagAssignmentConfigServiceServer).GetOne(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.DeviceTagAssignmentConfigService/GetOne", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceTagAssignmentConfigServiceServer).GetOne(ctx, req.(*DeviceTagAssignmentConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceTagAssignmentConfigService_GetAll_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(DeviceTagAssignmentConfigStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DeviceTagAssignmentConfigServiceServer).GetAll(m, &deviceTagAssignmentConfigServiceGetAllServer{stream}) +} + +type DeviceTagAssignmentConfigService_GetAllServer interface { + Send(*DeviceTagAssignmentConfigStreamResponse) error + grpc.ServerStream +} + +type deviceTagAssignmentConfigServiceGetAllServer struct { + grpc.ServerStream +} + +func (x *deviceTagAssignmentConfigServiceGetAllServer) Send(m *DeviceTagAssignmentConfigStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _DeviceTagAssignmentConfigService_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(DeviceTagAssignmentConfigStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DeviceTagAssignmentConfigServiceServer).Subscribe(m, &deviceTagAssignmentConfigServiceSubscribeServer{stream}) +} + +type DeviceTagAssignmentConfigService_SubscribeServer interface { + Send(*DeviceTagAssignmentConfigStreamResponse) error + grpc.ServerStream +} + +type deviceTagAssignmentConfigServiceSubscribeServer struct { + grpc.ServerStream +} + +func (x *deviceTagAssignmentConfigServiceSubscribeServer) Send(m *DeviceTagAssignmentConfigStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _DeviceTagAssignmentConfigService_Set_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeviceTagAssignmentConfigSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceTagAssignmentConfigServiceServer).Set(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.DeviceTagAssignmentConfigService/Set", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceTagAssignmentConfigServiceServer).Set(ctx, req.(*DeviceTagAssignmentConfigSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceTagAssignmentConfigService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeviceTagAssignmentConfigDeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceTagAssignmentConfigServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.DeviceTagAssignmentConfigService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceTagAssignmentConfigServiceServer).Delete(ctx, req.(*DeviceTagAssignmentConfigDeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _DeviceTagAssignmentConfigService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "arista.tag.v1.DeviceTagAssignmentConfigService", + HandlerType: (*DeviceTagAssignmentConfigServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOne", + Handler: _DeviceTagAssignmentConfigService_GetOne_Handler, + }, + { + MethodName: "Set", + Handler: _DeviceTagAssignmentConfigService_Set_Handler, + }, + { + MethodName: "Delete", + Handler: _DeviceTagAssignmentConfigService_Delete_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetAll", + Handler: _DeviceTagAssignmentConfigService_GetAll_Handler, + ServerStreams: true, + }, + { + StreamName: "Subscribe", + Handler: _DeviceTagAssignmentConfigService_Subscribe_Handler, + ServerStreams: true, + }, + }, + Metadata: "arista/tag.v1/services.gen.proto", +} + +// DeviceTagConfigServiceClient is the client API for DeviceTagConfigService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type DeviceTagConfigServiceClient interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(ctx context.Context, in *DeviceTagConfigRequest, opts ...grpc.CallOption) (*DeviceTagConfigResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(ctx context.Context, in *DeviceTagConfigStreamRequest, opts ...grpc.CallOption) (DeviceTagConfigService_GetAllClient, error) + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(ctx context.Context, in *DeviceTagConfigStreamRequest, opts ...grpc.CallOption) (DeviceTagConfigService_SubscribeClient, error) + // Set allows setting values for the entity specified by the key in the request. + // The key must be provided and all fields set (unless otherwise specified). + Set(ctx context.Context, in *DeviceTagConfigSetRequest, opts ...grpc.CallOption) (*DeviceTagConfigSetResponse, error) + // Delete will remove the entity specified by the key within the request. + // The key must be provided and all fields populated (unless otherwise specified). + Delete(ctx context.Context, in *DeviceTagConfigDeleteRequest, opts ...grpc.CallOption) (*DeviceTagConfigDeleteResponse, error) +} + +type deviceTagConfigServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewDeviceTagConfigServiceClient(cc grpc.ClientConnInterface) DeviceTagConfigServiceClient { + return &deviceTagConfigServiceClient{cc} +} + +func (c *deviceTagConfigServiceClient) GetOne(ctx context.Context, in *DeviceTagConfigRequest, opts ...grpc.CallOption) (*DeviceTagConfigResponse, error) { + out := new(DeviceTagConfigResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.DeviceTagConfigService/GetOne", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceTagConfigServiceClient) GetAll(ctx context.Context, in *DeviceTagConfigStreamRequest, opts ...grpc.CallOption) (DeviceTagConfigService_GetAllClient, error) { + stream, err := c.cc.NewStream(ctx, &_DeviceTagConfigService_serviceDesc.Streams[0], "/arista.tag.v1.DeviceTagConfigService/GetAll", opts...) + if err != nil { + return nil, err + } + x := &deviceTagConfigServiceGetAllClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DeviceTagConfigService_GetAllClient interface { + Recv() (*DeviceTagConfigStreamResponse, error) + grpc.ClientStream +} + +type deviceTagConfigServiceGetAllClient struct { + grpc.ClientStream +} + +func (x *deviceTagConfigServiceGetAllClient) Recv() (*DeviceTagConfigStreamResponse, error) { + m := new(DeviceTagConfigStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *deviceTagConfigServiceClient) Subscribe(ctx context.Context, in *DeviceTagConfigStreamRequest, opts ...grpc.CallOption) (DeviceTagConfigService_SubscribeClient, error) { + stream, err := c.cc.NewStream(ctx, &_DeviceTagConfigService_serviceDesc.Streams[1], "/arista.tag.v1.DeviceTagConfigService/Subscribe", opts...) + if err != nil { + return nil, err + } + x := &deviceTagConfigServiceSubscribeClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DeviceTagConfigService_SubscribeClient interface { + Recv() (*DeviceTagConfigStreamResponse, error) + grpc.ClientStream +} + +type deviceTagConfigServiceSubscribeClient struct { + grpc.ClientStream +} + +func (x *deviceTagConfigServiceSubscribeClient) Recv() (*DeviceTagConfigStreamResponse, error) { + m := new(DeviceTagConfigStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *deviceTagConfigServiceClient) Set(ctx context.Context, in *DeviceTagConfigSetRequest, opts ...grpc.CallOption) (*DeviceTagConfigSetResponse, error) { + out := new(DeviceTagConfigSetResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.DeviceTagConfigService/Set", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceTagConfigServiceClient) Delete(ctx context.Context, in *DeviceTagConfigDeleteRequest, opts ...grpc.CallOption) (*DeviceTagConfigDeleteResponse, error) { + out := new(DeviceTagConfigDeleteResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.DeviceTagConfigService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DeviceTagConfigServiceServer is the server API for DeviceTagConfigService service. +type DeviceTagConfigServiceServer interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(context.Context, *DeviceTagConfigRequest) (*DeviceTagConfigResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(*DeviceTagConfigStreamRequest, DeviceTagConfigService_GetAllServer) error + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(*DeviceTagConfigStreamRequest, DeviceTagConfigService_SubscribeServer) error + // Set allows setting values for the entity specified by the key in the request. + // The key must be provided and all fields set (unless otherwise specified). + Set(context.Context, *DeviceTagConfigSetRequest) (*DeviceTagConfigSetResponse, error) + // Delete will remove the entity specified by the key within the request. + // The key must be provided and all fields populated (unless otherwise specified). + Delete(context.Context, *DeviceTagConfigDeleteRequest) (*DeviceTagConfigDeleteResponse, error) +} + +// UnimplementedDeviceTagConfigServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDeviceTagConfigServiceServer struct { +} + +func (*UnimplementedDeviceTagConfigServiceServer) GetOne(context.Context, *DeviceTagConfigRequest) (*DeviceTagConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOne not implemented") +} +func (*UnimplementedDeviceTagConfigServiceServer) GetAll(*DeviceTagConfigStreamRequest, DeviceTagConfigService_GetAllServer) error { + return status.Errorf(codes.Unimplemented, "method GetAll not implemented") +} +func (*UnimplementedDeviceTagConfigServiceServer) Subscribe(*DeviceTagConfigStreamRequest, DeviceTagConfigService_SubscribeServer) error { + return status.Errorf(codes.Unimplemented, "method Subscribe not implemented") +} +func (*UnimplementedDeviceTagConfigServiceServer) Set(context.Context, *DeviceTagConfigSetRequest) (*DeviceTagConfigSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Set not implemented") +} +func (*UnimplementedDeviceTagConfigServiceServer) Delete(context.Context, *DeviceTagConfigDeleteRequest) (*DeviceTagConfigDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + +func RegisterDeviceTagConfigServiceServer(s *grpc.Server, srv DeviceTagConfigServiceServer) { + s.RegisterService(&_DeviceTagConfigService_serviceDesc, srv) +} + +func _DeviceTagConfigService_GetOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeviceTagConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceTagConfigServiceServer).GetOne(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.DeviceTagConfigService/GetOne", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceTagConfigServiceServer).GetOne(ctx, req.(*DeviceTagConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceTagConfigService_GetAll_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(DeviceTagConfigStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DeviceTagConfigServiceServer).GetAll(m, &deviceTagConfigServiceGetAllServer{stream}) +} + +type DeviceTagConfigService_GetAllServer interface { + Send(*DeviceTagConfigStreamResponse) error + grpc.ServerStream +} + +type deviceTagConfigServiceGetAllServer struct { + grpc.ServerStream +} + +func (x *deviceTagConfigServiceGetAllServer) Send(m *DeviceTagConfigStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _DeviceTagConfigService_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(DeviceTagConfigStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DeviceTagConfigServiceServer).Subscribe(m, &deviceTagConfigServiceSubscribeServer{stream}) +} + +type DeviceTagConfigService_SubscribeServer interface { + Send(*DeviceTagConfigStreamResponse) error + grpc.ServerStream +} + +type deviceTagConfigServiceSubscribeServer struct { + grpc.ServerStream +} + +func (x *deviceTagConfigServiceSubscribeServer) Send(m *DeviceTagConfigStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _DeviceTagConfigService_Set_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeviceTagConfigSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceTagConfigServiceServer).Set(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.DeviceTagConfigService/Set", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceTagConfigServiceServer).Set(ctx, req.(*DeviceTagConfigSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceTagConfigService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeviceTagConfigDeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceTagConfigServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.DeviceTagConfigService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceTagConfigServiceServer).Delete(ctx, req.(*DeviceTagConfigDeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _DeviceTagConfigService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "arista.tag.v1.DeviceTagConfigService", + HandlerType: (*DeviceTagConfigServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOne", + Handler: _DeviceTagConfigService_GetOne_Handler, + }, + { + MethodName: "Set", + Handler: _DeviceTagConfigService_Set_Handler, + }, + { + MethodName: "Delete", + Handler: _DeviceTagConfigService_Delete_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetAll", + Handler: _DeviceTagConfigService_GetAll_Handler, + ServerStreams: true, + }, + { + StreamName: "Subscribe", + Handler: _DeviceTagConfigService_Subscribe_Handler, + ServerStreams: true, + }, + }, + Metadata: "arista/tag.v1/services.gen.proto", +} + +// InterfaceTagServiceClient is the client API for InterfaceTagService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type InterfaceTagServiceClient interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(ctx context.Context, in *InterfaceTagRequest, opts ...grpc.CallOption) (*InterfaceTagResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(ctx context.Context, in *InterfaceTagStreamRequest, opts ...grpc.CallOption) (InterfaceTagService_GetAllClient, error) + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(ctx context.Context, in *InterfaceTagStreamRequest, opts ...grpc.CallOption) (InterfaceTagService_SubscribeClient, error) +} + +type interfaceTagServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewInterfaceTagServiceClient(cc grpc.ClientConnInterface) InterfaceTagServiceClient { + return &interfaceTagServiceClient{cc} +} + +func (c *interfaceTagServiceClient) GetOne(ctx context.Context, in *InterfaceTagRequest, opts ...grpc.CallOption) (*InterfaceTagResponse, error) { + out := new(InterfaceTagResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.InterfaceTagService/GetOne", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *interfaceTagServiceClient) GetAll(ctx context.Context, in *InterfaceTagStreamRequest, opts ...grpc.CallOption) (InterfaceTagService_GetAllClient, error) { + stream, err := c.cc.NewStream(ctx, &_InterfaceTagService_serviceDesc.Streams[0], "/arista.tag.v1.InterfaceTagService/GetAll", opts...) + if err != nil { + return nil, err + } + x := &interfaceTagServiceGetAllClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type InterfaceTagService_GetAllClient interface { + Recv() (*InterfaceTagStreamResponse, error) + grpc.ClientStream +} + +type interfaceTagServiceGetAllClient struct { + grpc.ClientStream +} + +func (x *interfaceTagServiceGetAllClient) Recv() (*InterfaceTagStreamResponse, error) { + m := new(InterfaceTagStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *interfaceTagServiceClient) Subscribe(ctx context.Context, in *InterfaceTagStreamRequest, opts ...grpc.CallOption) (InterfaceTagService_SubscribeClient, error) { + stream, err := c.cc.NewStream(ctx, &_InterfaceTagService_serviceDesc.Streams[1], "/arista.tag.v1.InterfaceTagService/Subscribe", opts...) + if err != nil { + return nil, err + } + x := &interfaceTagServiceSubscribeClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type InterfaceTagService_SubscribeClient interface { + Recv() (*InterfaceTagStreamResponse, error) + grpc.ClientStream +} + +type interfaceTagServiceSubscribeClient struct { + grpc.ClientStream +} + +func (x *interfaceTagServiceSubscribeClient) Recv() (*InterfaceTagStreamResponse, error) { + m := new(InterfaceTagStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// InterfaceTagServiceServer is the server API for InterfaceTagService service. +type InterfaceTagServiceServer interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(context.Context, *InterfaceTagRequest) (*InterfaceTagResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(*InterfaceTagStreamRequest, InterfaceTagService_GetAllServer) error + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(*InterfaceTagStreamRequest, InterfaceTagService_SubscribeServer) error +} + +// UnimplementedInterfaceTagServiceServer can be embedded to have forward compatible implementations. +type UnimplementedInterfaceTagServiceServer struct { +} + +func (*UnimplementedInterfaceTagServiceServer) GetOne(context.Context, *InterfaceTagRequest) (*InterfaceTagResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOne not implemented") +} +func (*UnimplementedInterfaceTagServiceServer) GetAll(*InterfaceTagStreamRequest, InterfaceTagService_GetAllServer) error { + return status.Errorf(codes.Unimplemented, "method GetAll not implemented") +} +func (*UnimplementedInterfaceTagServiceServer) Subscribe(*InterfaceTagStreamRequest, InterfaceTagService_SubscribeServer) error { + return status.Errorf(codes.Unimplemented, "method Subscribe not implemented") +} + +func RegisterInterfaceTagServiceServer(s *grpc.Server, srv InterfaceTagServiceServer) { + s.RegisterService(&_InterfaceTagService_serviceDesc, srv) +} + +func _InterfaceTagService_GetOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InterfaceTagRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InterfaceTagServiceServer).GetOne(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.InterfaceTagService/GetOne", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InterfaceTagServiceServer).GetOne(ctx, req.(*InterfaceTagRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InterfaceTagService_GetAll_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(InterfaceTagStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(InterfaceTagServiceServer).GetAll(m, &interfaceTagServiceGetAllServer{stream}) +} + +type InterfaceTagService_GetAllServer interface { + Send(*InterfaceTagStreamResponse) error + grpc.ServerStream +} + +type interfaceTagServiceGetAllServer struct { + grpc.ServerStream +} + +func (x *interfaceTagServiceGetAllServer) Send(m *InterfaceTagStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _InterfaceTagService_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(InterfaceTagStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(InterfaceTagServiceServer).Subscribe(m, &interfaceTagServiceSubscribeServer{stream}) +} + +type InterfaceTagService_SubscribeServer interface { + Send(*InterfaceTagStreamResponse) error + grpc.ServerStream +} + +type interfaceTagServiceSubscribeServer struct { + grpc.ServerStream +} + +func (x *interfaceTagServiceSubscribeServer) Send(m *InterfaceTagStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _InterfaceTagService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "arista.tag.v1.InterfaceTagService", + HandlerType: (*InterfaceTagServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOne", + Handler: _InterfaceTagService_GetOne_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetAll", + Handler: _InterfaceTagService_GetAll_Handler, + ServerStreams: true, + }, + { + StreamName: "Subscribe", + Handler: _InterfaceTagService_Subscribe_Handler, + ServerStreams: true, + }, + }, + Metadata: "arista/tag.v1/services.gen.proto", +} + +// InterfaceTagAssignmentConfigServiceClient is the client API for InterfaceTagAssignmentConfigService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type InterfaceTagAssignmentConfigServiceClient interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(ctx context.Context, in *InterfaceTagAssignmentConfigRequest, opts ...grpc.CallOption) (*InterfaceTagAssignmentConfigResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(ctx context.Context, in *InterfaceTagAssignmentConfigStreamRequest, opts ...grpc.CallOption) (InterfaceTagAssignmentConfigService_GetAllClient, error) + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(ctx context.Context, in *InterfaceTagAssignmentConfigStreamRequest, opts ...grpc.CallOption) (InterfaceTagAssignmentConfigService_SubscribeClient, error) + // Set allows setting values for the entity specified by the key in the request. + // The key must be provided and all fields set (unless otherwise specified). + Set(ctx context.Context, in *InterfaceTagAssignmentConfigSetRequest, opts ...grpc.CallOption) (*InterfaceTagAssignmentConfigSetResponse, error) + // Delete will remove the entity specified by the key within the request. + // The key must be provided and all fields populated (unless otherwise specified). + Delete(ctx context.Context, in *InterfaceTagAssignmentConfigDeleteRequest, opts ...grpc.CallOption) (*InterfaceTagAssignmentConfigDeleteResponse, error) +} + +type interfaceTagAssignmentConfigServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewInterfaceTagAssignmentConfigServiceClient(cc grpc.ClientConnInterface) InterfaceTagAssignmentConfigServiceClient { + return &interfaceTagAssignmentConfigServiceClient{cc} +} + +func (c *interfaceTagAssignmentConfigServiceClient) GetOne(ctx context.Context, in *InterfaceTagAssignmentConfigRequest, opts ...grpc.CallOption) (*InterfaceTagAssignmentConfigResponse, error) { + out := new(InterfaceTagAssignmentConfigResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.InterfaceTagAssignmentConfigService/GetOne", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *interfaceTagAssignmentConfigServiceClient) GetAll(ctx context.Context, in *InterfaceTagAssignmentConfigStreamRequest, opts ...grpc.CallOption) (InterfaceTagAssignmentConfigService_GetAllClient, error) { + stream, err := c.cc.NewStream(ctx, &_InterfaceTagAssignmentConfigService_serviceDesc.Streams[0], "/arista.tag.v1.InterfaceTagAssignmentConfigService/GetAll", opts...) + if err != nil { + return nil, err + } + x := &interfaceTagAssignmentConfigServiceGetAllClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type InterfaceTagAssignmentConfigService_GetAllClient interface { + Recv() (*InterfaceTagAssignmentConfigStreamResponse, error) + grpc.ClientStream +} + +type interfaceTagAssignmentConfigServiceGetAllClient struct { + grpc.ClientStream +} + +func (x *interfaceTagAssignmentConfigServiceGetAllClient) Recv() (*InterfaceTagAssignmentConfigStreamResponse, error) { + m := new(InterfaceTagAssignmentConfigStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *interfaceTagAssignmentConfigServiceClient) Subscribe(ctx context.Context, in *InterfaceTagAssignmentConfigStreamRequest, opts ...grpc.CallOption) (InterfaceTagAssignmentConfigService_SubscribeClient, error) { + stream, err := c.cc.NewStream(ctx, &_InterfaceTagAssignmentConfigService_serviceDesc.Streams[1], "/arista.tag.v1.InterfaceTagAssignmentConfigService/Subscribe", opts...) + if err != nil { + return nil, err + } + x := &interfaceTagAssignmentConfigServiceSubscribeClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type InterfaceTagAssignmentConfigService_SubscribeClient interface { + Recv() (*InterfaceTagAssignmentConfigStreamResponse, error) + grpc.ClientStream +} + +type interfaceTagAssignmentConfigServiceSubscribeClient struct { + grpc.ClientStream +} + +func (x *interfaceTagAssignmentConfigServiceSubscribeClient) Recv() (*InterfaceTagAssignmentConfigStreamResponse, error) { + m := new(InterfaceTagAssignmentConfigStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *interfaceTagAssignmentConfigServiceClient) Set(ctx context.Context, in *InterfaceTagAssignmentConfigSetRequest, opts ...grpc.CallOption) (*InterfaceTagAssignmentConfigSetResponse, error) { + out := new(InterfaceTagAssignmentConfigSetResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.InterfaceTagAssignmentConfigService/Set", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *interfaceTagAssignmentConfigServiceClient) Delete(ctx context.Context, in *InterfaceTagAssignmentConfigDeleteRequest, opts ...grpc.CallOption) (*InterfaceTagAssignmentConfigDeleteResponse, error) { + out := new(InterfaceTagAssignmentConfigDeleteResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.InterfaceTagAssignmentConfigService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// InterfaceTagAssignmentConfigServiceServer is the server API for InterfaceTagAssignmentConfigService service. +type InterfaceTagAssignmentConfigServiceServer interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(context.Context, *InterfaceTagAssignmentConfigRequest) (*InterfaceTagAssignmentConfigResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(*InterfaceTagAssignmentConfigStreamRequest, InterfaceTagAssignmentConfigService_GetAllServer) error + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(*InterfaceTagAssignmentConfigStreamRequest, InterfaceTagAssignmentConfigService_SubscribeServer) error + // Set allows setting values for the entity specified by the key in the request. + // The key must be provided and all fields set (unless otherwise specified). + Set(context.Context, *InterfaceTagAssignmentConfigSetRequest) (*InterfaceTagAssignmentConfigSetResponse, error) + // Delete will remove the entity specified by the key within the request. + // The key must be provided and all fields populated (unless otherwise specified). + Delete(context.Context, *InterfaceTagAssignmentConfigDeleteRequest) (*InterfaceTagAssignmentConfigDeleteResponse, error) +} + +// UnimplementedInterfaceTagAssignmentConfigServiceServer can be embedded to have forward compatible implementations. +type UnimplementedInterfaceTagAssignmentConfigServiceServer struct { +} + +func (*UnimplementedInterfaceTagAssignmentConfigServiceServer) GetOne(context.Context, *InterfaceTagAssignmentConfigRequest) (*InterfaceTagAssignmentConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOne not implemented") +} +func (*UnimplementedInterfaceTagAssignmentConfigServiceServer) GetAll(*InterfaceTagAssignmentConfigStreamRequest, InterfaceTagAssignmentConfigService_GetAllServer) error { + return status.Errorf(codes.Unimplemented, "method GetAll not implemented") +} +func (*UnimplementedInterfaceTagAssignmentConfigServiceServer) Subscribe(*InterfaceTagAssignmentConfigStreamRequest, InterfaceTagAssignmentConfigService_SubscribeServer) error { + return status.Errorf(codes.Unimplemented, "method Subscribe not implemented") +} +func (*UnimplementedInterfaceTagAssignmentConfigServiceServer) Set(context.Context, *InterfaceTagAssignmentConfigSetRequest) (*InterfaceTagAssignmentConfigSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Set not implemented") +} +func (*UnimplementedInterfaceTagAssignmentConfigServiceServer) Delete(context.Context, *InterfaceTagAssignmentConfigDeleteRequest) (*InterfaceTagAssignmentConfigDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + +func RegisterInterfaceTagAssignmentConfigServiceServer(s *grpc.Server, srv InterfaceTagAssignmentConfigServiceServer) { + s.RegisterService(&_InterfaceTagAssignmentConfigService_serviceDesc, srv) +} + +func _InterfaceTagAssignmentConfigService_GetOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InterfaceTagAssignmentConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InterfaceTagAssignmentConfigServiceServer).GetOne(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.InterfaceTagAssignmentConfigService/GetOne", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InterfaceTagAssignmentConfigServiceServer).GetOne(ctx, req.(*InterfaceTagAssignmentConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InterfaceTagAssignmentConfigService_GetAll_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(InterfaceTagAssignmentConfigStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(InterfaceTagAssignmentConfigServiceServer).GetAll(m, &interfaceTagAssignmentConfigServiceGetAllServer{stream}) +} + +type InterfaceTagAssignmentConfigService_GetAllServer interface { + Send(*InterfaceTagAssignmentConfigStreamResponse) error + grpc.ServerStream +} + +type interfaceTagAssignmentConfigServiceGetAllServer struct { + grpc.ServerStream +} + +func (x *interfaceTagAssignmentConfigServiceGetAllServer) Send(m *InterfaceTagAssignmentConfigStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _InterfaceTagAssignmentConfigService_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(InterfaceTagAssignmentConfigStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(InterfaceTagAssignmentConfigServiceServer).Subscribe(m, &interfaceTagAssignmentConfigServiceSubscribeServer{stream}) +} + +type InterfaceTagAssignmentConfigService_SubscribeServer interface { + Send(*InterfaceTagAssignmentConfigStreamResponse) error + grpc.ServerStream +} + +type interfaceTagAssignmentConfigServiceSubscribeServer struct { + grpc.ServerStream +} + +func (x *interfaceTagAssignmentConfigServiceSubscribeServer) Send(m *InterfaceTagAssignmentConfigStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _InterfaceTagAssignmentConfigService_Set_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InterfaceTagAssignmentConfigSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InterfaceTagAssignmentConfigServiceServer).Set(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.InterfaceTagAssignmentConfigService/Set", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InterfaceTagAssignmentConfigServiceServer).Set(ctx, req.(*InterfaceTagAssignmentConfigSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InterfaceTagAssignmentConfigService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InterfaceTagAssignmentConfigDeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InterfaceTagAssignmentConfigServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.InterfaceTagAssignmentConfigService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InterfaceTagAssignmentConfigServiceServer).Delete(ctx, req.(*InterfaceTagAssignmentConfigDeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _InterfaceTagAssignmentConfigService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "arista.tag.v1.InterfaceTagAssignmentConfigService", + HandlerType: (*InterfaceTagAssignmentConfigServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOne", + Handler: _InterfaceTagAssignmentConfigService_GetOne_Handler, + }, + { + MethodName: "Set", + Handler: _InterfaceTagAssignmentConfigService_Set_Handler, + }, + { + MethodName: "Delete", + Handler: _InterfaceTagAssignmentConfigService_Delete_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetAll", + Handler: _InterfaceTagAssignmentConfigService_GetAll_Handler, + ServerStreams: true, + }, + { + StreamName: "Subscribe", + Handler: _InterfaceTagAssignmentConfigService_Subscribe_Handler, + ServerStreams: true, + }, + }, + Metadata: "arista/tag.v1/services.gen.proto", +} + +// InterfaceTagConfigServiceClient is the client API for InterfaceTagConfigService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type InterfaceTagConfigServiceClient interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(ctx context.Context, in *InterfaceTagConfigRequest, opts ...grpc.CallOption) (*InterfaceTagConfigResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(ctx context.Context, in *InterfaceTagConfigStreamRequest, opts ...grpc.CallOption) (InterfaceTagConfigService_GetAllClient, error) + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(ctx context.Context, in *InterfaceTagConfigStreamRequest, opts ...grpc.CallOption) (InterfaceTagConfigService_SubscribeClient, error) + // Set allows setting values for the entity specified by the key in the request. + // The key must be provided and all fields set (unless otherwise specified). + Set(ctx context.Context, in *InterfaceTagConfigSetRequest, opts ...grpc.CallOption) (*InterfaceTagConfigSetResponse, error) + // Delete will remove the entity specified by the key within the request. + // The key must be provided and all fields populated (unless otherwise specified). + Delete(ctx context.Context, in *InterfaceTagConfigDeleteRequest, opts ...grpc.CallOption) (*InterfaceTagConfigDeleteResponse, error) +} + +type interfaceTagConfigServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewInterfaceTagConfigServiceClient(cc grpc.ClientConnInterface) InterfaceTagConfigServiceClient { + return &interfaceTagConfigServiceClient{cc} +} + +func (c *interfaceTagConfigServiceClient) GetOne(ctx context.Context, in *InterfaceTagConfigRequest, opts ...grpc.CallOption) (*InterfaceTagConfigResponse, error) { + out := new(InterfaceTagConfigResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.InterfaceTagConfigService/GetOne", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *interfaceTagConfigServiceClient) GetAll(ctx context.Context, in *InterfaceTagConfigStreamRequest, opts ...grpc.CallOption) (InterfaceTagConfigService_GetAllClient, error) { + stream, err := c.cc.NewStream(ctx, &_InterfaceTagConfigService_serviceDesc.Streams[0], "/arista.tag.v1.InterfaceTagConfigService/GetAll", opts...) + if err != nil { + return nil, err + } + x := &interfaceTagConfigServiceGetAllClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type InterfaceTagConfigService_GetAllClient interface { + Recv() (*InterfaceTagConfigStreamResponse, error) + grpc.ClientStream +} + +type interfaceTagConfigServiceGetAllClient struct { + grpc.ClientStream +} + +func (x *interfaceTagConfigServiceGetAllClient) Recv() (*InterfaceTagConfigStreamResponse, error) { + m := new(InterfaceTagConfigStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *interfaceTagConfigServiceClient) Subscribe(ctx context.Context, in *InterfaceTagConfigStreamRequest, opts ...grpc.CallOption) (InterfaceTagConfigService_SubscribeClient, error) { + stream, err := c.cc.NewStream(ctx, &_InterfaceTagConfigService_serviceDesc.Streams[1], "/arista.tag.v1.InterfaceTagConfigService/Subscribe", opts...) + if err != nil { + return nil, err + } + x := &interfaceTagConfigServiceSubscribeClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type InterfaceTagConfigService_SubscribeClient interface { + Recv() (*InterfaceTagConfigStreamResponse, error) + grpc.ClientStream +} + +type interfaceTagConfigServiceSubscribeClient struct { + grpc.ClientStream +} + +func (x *interfaceTagConfigServiceSubscribeClient) Recv() (*InterfaceTagConfigStreamResponse, error) { + m := new(InterfaceTagConfigStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *interfaceTagConfigServiceClient) Set(ctx context.Context, in *InterfaceTagConfigSetRequest, opts ...grpc.CallOption) (*InterfaceTagConfigSetResponse, error) { + out := new(InterfaceTagConfigSetResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.InterfaceTagConfigService/Set", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *interfaceTagConfigServiceClient) Delete(ctx context.Context, in *InterfaceTagConfigDeleteRequest, opts ...grpc.CallOption) (*InterfaceTagConfigDeleteResponse, error) { + out := new(InterfaceTagConfigDeleteResponse) + err := c.cc.Invoke(ctx, "/arista.tag.v1.InterfaceTagConfigService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// InterfaceTagConfigServiceServer is the server API for InterfaceTagConfigService service. +type InterfaceTagConfigServiceServer interface { + // GetOne returns a unary model as specified by the key in the request. + // The key must be provided and all fields populated (unless otherwise specified). + GetOne(context.Context, *InterfaceTagConfigRequest) (*InterfaceTagConfigResponse, error) + // GetAll returns all entities for this model, with optional filtering. + GetAll(*InterfaceTagConfigStreamRequest, InterfaceTagConfigService_GetAllServer) error + // Subscribe first returns all initial state known to the system, + // then will send deltas as entities are changed. + Subscribe(*InterfaceTagConfigStreamRequest, InterfaceTagConfigService_SubscribeServer) error + // Set allows setting values for the entity specified by the key in the request. + // The key must be provided and all fields set (unless otherwise specified). + Set(context.Context, *InterfaceTagConfigSetRequest) (*InterfaceTagConfigSetResponse, error) + // Delete will remove the entity specified by the key within the request. + // The key must be provided and all fields populated (unless otherwise specified). + Delete(context.Context, *InterfaceTagConfigDeleteRequest) (*InterfaceTagConfigDeleteResponse, error) +} + +// UnimplementedInterfaceTagConfigServiceServer can be embedded to have forward compatible implementations. +type UnimplementedInterfaceTagConfigServiceServer struct { +} + +func (*UnimplementedInterfaceTagConfigServiceServer) GetOne(context.Context, *InterfaceTagConfigRequest) (*InterfaceTagConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOne not implemented") +} +func (*UnimplementedInterfaceTagConfigServiceServer) GetAll(*InterfaceTagConfigStreamRequest, InterfaceTagConfigService_GetAllServer) error { + return status.Errorf(codes.Unimplemented, "method GetAll not implemented") +} +func (*UnimplementedInterfaceTagConfigServiceServer) Subscribe(*InterfaceTagConfigStreamRequest, InterfaceTagConfigService_SubscribeServer) error { + return status.Errorf(codes.Unimplemented, "method Subscribe not implemented") +} +func (*UnimplementedInterfaceTagConfigServiceServer) Set(context.Context, *InterfaceTagConfigSetRequest) (*InterfaceTagConfigSetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Set not implemented") +} +func (*UnimplementedInterfaceTagConfigServiceServer) Delete(context.Context, *InterfaceTagConfigDeleteRequest) (*InterfaceTagConfigDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + +func RegisterInterfaceTagConfigServiceServer(s *grpc.Server, srv InterfaceTagConfigServiceServer) { + s.RegisterService(&_InterfaceTagConfigService_serviceDesc, srv) +} + +func _InterfaceTagConfigService_GetOne_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InterfaceTagConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InterfaceTagConfigServiceServer).GetOne(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.InterfaceTagConfigService/GetOne", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InterfaceTagConfigServiceServer).GetOne(ctx, req.(*InterfaceTagConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InterfaceTagConfigService_GetAll_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(InterfaceTagConfigStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(InterfaceTagConfigServiceServer).GetAll(m, &interfaceTagConfigServiceGetAllServer{stream}) +} + +type InterfaceTagConfigService_GetAllServer interface { + Send(*InterfaceTagConfigStreamResponse) error + grpc.ServerStream +} + +type interfaceTagConfigServiceGetAllServer struct { + grpc.ServerStream +} + +func (x *interfaceTagConfigServiceGetAllServer) Send(m *InterfaceTagConfigStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _InterfaceTagConfigService_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(InterfaceTagConfigStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(InterfaceTagConfigServiceServer).Subscribe(m, &interfaceTagConfigServiceSubscribeServer{stream}) +} + +type InterfaceTagConfigService_SubscribeServer interface { + Send(*InterfaceTagConfigStreamResponse) error + grpc.ServerStream +} + +type interfaceTagConfigServiceSubscribeServer struct { + grpc.ServerStream +} + +func (x *interfaceTagConfigServiceSubscribeServer) Send(m *InterfaceTagConfigStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _InterfaceTagConfigService_Set_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InterfaceTagConfigSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InterfaceTagConfigServiceServer).Set(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.InterfaceTagConfigService/Set", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InterfaceTagConfigServiceServer).Set(ctx, req.(*InterfaceTagConfigSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InterfaceTagConfigService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InterfaceTagConfigDeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InterfaceTagConfigServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/arista.tag.v1.InterfaceTagConfigService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InterfaceTagConfigServiceServer).Delete(ctx, req.(*InterfaceTagConfigDeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _InterfaceTagConfigService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "arista.tag.v1.InterfaceTagConfigService", + HandlerType: (*InterfaceTagConfigServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetOne", + Handler: _InterfaceTagConfigService_GetOne_Handler, + }, + { + MethodName: "Set", + Handler: _InterfaceTagConfigService_Set_Handler, + }, + { + MethodName: "Delete", + Handler: _InterfaceTagConfigService_Delete_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetAll", + Handler: _InterfaceTagConfigService_GetAll_Handler, + ServerStreams: true, + }, + { + StreamName: "Subscribe", + Handler: _InterfaceTagConfigService_Subscribe_Handler, + ServerStreams: true, + }, + }, + Metadata: "arista/tag.v1/services.gen.proto", +} diff --git a/api/arista/tag.v1/tag.pb.go b/api/arista/tag.v1/tag.pb.go new file mode 100644 index 000000000..380b774c7 --- /dev/null +++ b/api/arista/tag.v1/tag.pb.go @@ -0,0 +1,887 @@ +// Copyright (c) 2020 Arista Networks, Inc. +// Use of this source code is governed by the Apache License 2.0 +// that can be found in the COPYING file. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 +// source: arista/tag.v1/tag.proto + +package tag + +import ( + _ "github.com/aristanetworks/cloudvision-go/api/fmp" + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// CreatorType specifies an entity that creates something. +type CreatorType int32 + +const ( + CreatorType_CREATOR_TYPE_UNSPECIFIED CreatorType = 0 + // CREATOR_TYPE_SYSTEM is the type for something created by the system. + CreatorType_CREATOR_TYPE_SYSTEM CreatorType = 1 + // CREATOR_TYPE_USER is the type for something created by a user. + CreatorType_CREATOR_TYPE_USER CreatorType = 2 +) + +// Enum value maps for CreatorType. +var ( + CreatorType_name = map[int32]string{ + 0: "CREATOR_TYPE_UNSPECIFIED", + 1: "CREATOR_TYPE_SYSTEM", + 2: "CREATOR_TYPE_USER", + } + CreatorType_value = map[string]int32{ + "CREATOR_TYPE_UNSPECIFIED": 0, + "CREATOR_TYPE_SYSTEM": 1, + "CREATOR_TYPE_USER": 2, + } +) + +func (x CreatorType) Enum() *CreatorType { + p := new(CreatorType) + *p = x + return p +} + +func (x CreatorType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CreatorType) Descriptor() protoreflect.EnumDescriptor { + return file_arista_tag_v1_tag_proto_enumTypes[0].Descriptor() +} + +func (CreatorType) Type() protoreflect.EnumType { + return &file_arista_tag_v1_tag_proto_enumTypes[0] +} + +func (x CreatorType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CreatorType.Descriptor instead. +func (CreatorType) EnumDescriptor() ([]byte, []int) { + return file_arista_tag_v1_tag_proto_rawDescGZIP(), []int{0} +} + +// TagKey uniquely identifies a tag for a network element. +type TagKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Label is the label of the tag. + Label *wrappers.StringValue `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` + // Value is the value of the tag. + Value *wrappers.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *TagKey) Reset() { + *x = TagKey{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_tag_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TagKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TagKey) ProtoMessage() {} + +func (x *TagKey) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_tag_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TagKey.ProtoReflect.Descriptor instead. +func (*TagKey) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_tag_proto_rawDescGZIP(), []int{0} +} + +func (x *TagKey) GetLabel() *wrappers.StringValue { + if x != nil { + return x.Label + } + return nil +} + +func (x *TagKey) GetValue() *wrappers.StringValue { + if x != nil { + return x.Value + } + return nil +} + +// InterfaceTagConfig is a label-value pair that may or may +// not be assigned to an interface. +type InterfaceTagConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies the interface tag. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *InterfaceTagConfig) Reset() { + *x = InterfaceTagConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_tag_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagConfig) ProtoMessage() {} + +func (x *InterfaceTagConfig) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_tag_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagConfig.ProtoReflect.Descriptor instead. +func (*InterfaceTagConfig) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_tag_proto_rawDescGZIP(), []int{1} +} + +func (x *InterfaceTagConfig) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +// InterfaceTag is a label-value pair that may or may +// not be assigned to an interface. +type InterfaceTag struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies the interface tag. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // CreatorType is the creator type of the tag. + CreatorType CreatorType `protobuf:"varint,2,opt,name=creator_type,json=creatorType,proto3,enum=arista.tag.v1.CreatorType" json:"creator_type,omitempty"` +} + +func (x *InterfaceTag) Reset() { + *x = InterfaceTag{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_tag_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTag) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTag) ProtoMessage() {} + +func (x *InterfaceTag) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_tag_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTag.ProtoReflect.Descriptor instead. +func (*InterfaceTag) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_tag_proto_rawDescGZIP(), []int{2} +} + +func (x *InterfaceTag) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *InterfaceTag) GetCreatorType() CreatorType { + if x != nil { + return x.CreatorType + } + return CreatorType_CREATOR_TYPE_UNSPECIFIED +} + +// InterfaceTagAssignmentKey uniquely identifies an interface +// tag assignment. +type InterfaceTagAssignmentKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Label is the label of the tag. + Label *wrappers.StringValue `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` + // Value is the value of the tag. + Value *wrappers.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + // DeviceId is the ID of the interface's device. + DeviceId *wrappers.StringValue `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + // InterfaceId is the ID of the interface. + InterfaceId *wrappers.StringValue `protobuf:"bytes,4,opt,name=interface_id,json=interfaceId,proto3" json:"interface_id,omitempty"` +} + +func (x *InterfaceTagAssignmentKey) Reset() { + *x = InterfaceTagAssignmentKey{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_tag_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagAssignmentKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagAssignmentKey) ProtoMessage() {} + +func (x *InterfaceTagAssignmentKey) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_tag_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagAssignmentKey.ProtoReflect.Descriptor instead. +func (*InterfaceTagAssignmentKey) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_tag_proto_rawDescGZIP(), []int{3} +} + +func (x *InterfaceTagAssignmentKey) GetLabel() *wrappers.StringValue { + if x != nil { + return x.Label + } + return nil +} + +func (x *InterfaceTagAssignmentKey) GetValue() *wrappers.StringValue { + if x != nil { + return x.Value + } + return nil +} + +func (x *InterfaceTagAssignmentKey) GetDeviceId() *wrappers.StringValue { + if x != nil { + return x.DeviceId + } + return nil +} + +func (x *InterfaceTagAssignmentKey) GetInterfaceId() *wrappers.StringValue { + if x != nil { + return x.InterfaceId + } + return nil +} + +// InterfaceTagAssignmentConfig is the assignment of an interface tag +// to a specific interface. +type InterfaceTagAssignmentConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies the interface tag assignment. + Key *InterfaceTagAssignmentKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *InterfaceTagAssignmentConfig) Reset() { + *x = InterfaceTagAssignmentConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_tag_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfaceTagAssignmentConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfaceTagAssignmentConfig) ProtoMessage() {} + +func (x *InterfaceTagAssignmentConfig) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_tag_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfaceTagAssignmentConfig.ProtoReflect.Descriptor instead. +func (*InterfaceTagAssignmentConfig) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_tag_proto_rawDescGZIP(), []int{4} +} + +func (x *InterfaceTagAssignmentConfig) GetKey() *InterfaceTagAssignmentKey { + if x != nil { + return x.Key + } + return nil +} + +// DeviceTagConfig is a label-value pair that may or may not +// be assigned to a device. +type DeviceTagConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies the device tag. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *DeviceTagConfig) Reset() { + *x = DeviceTagConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_tag_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagConfig) ProtoMessage() {} + +func (x *DeviceTagConfig) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_tag_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagConfig.ProtoReflect.Descriptor instead. +func (*DeviceTagConfig) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_tag_proto_rawDescGZIP(), []int{5} +} + +func (x *DeviceTagConfig) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +// DeviceTag is a label-value pair that may or may not +// be assigned to a device. +type DeviceTag struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies the device tag. + Key *TagKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // CreatorType is the creator type of the tag. + CreatorType CreatorType `protobuf:"varint,2,opt,name=creator_type,json=creatorType,proto3,enum=arista.tag.v1.CreatorType" json:"creator_type,omitempty"` +} + +func (x *DeviceTag) Reset() { + *x = DeviceTag{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_tag_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTag) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTag) ProtoMessage() {} + +func (x *DeviceTag) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_tag_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTag.ProtoReflect.Descriptor instead. +func (*DeviceTag) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_tag_proto_rawDescGZIP(), []int{6} +} + +func (x *DeviceTag) GetKey() *TagKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *DeviceTag) GetCreatorType() CreatorType { + if x != nil { + return x.CreatorType + } + return CreatorType_CREATOR_TYPE_UNSPECIFIED +} + +// DeviceTagAssignmentKey uniquely identifies a device tag +// assignment. +type DeviceTagAssignmentKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Label is the label of the tag. + Label *wrappers.StringValue `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` + // Value is the value of the tag. + Value *wrappers.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + // DeviceId is the ID of the device. + DeviceId *wrappers.StringValue `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` +} + +func (x *DeviceTagAssignmentKey) Reset() { + *x = DeviceTagAssignmentKey{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_tag_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagAssignmentKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagAssignmentKey) ProtoMessage() {} + +func (x *DeviceTagAssignmentKey) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_tag_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagAssignmentKey.ProtoReflect.Descriptor instead. +func (*DeviceTagAssignmentKey) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_tag_proto_rawDescGZIP(), []int{7} +} + +func (x *DeviceTagAssignmentKey) GetLabel() *wrappers.StringValue { + if x != nil { + return x.Label + } + return nil +} + +func (x *DeviceTagAssignmentKey) GetValue() *wrappers.StringValue { + if x != nil { + return x.Value + } + return nil +} + +func (x *DeviceTagAssignmentKey) GetDeviceId() *wrappers.StringValue { + if x != nil { + return x.DeviceId + } + return nil +} + +// DeviceTagAssignmentConfig is the assignment of a device tag to a +// specific device. +type DeviceTagAssignmentConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key uniquely identifies the device tag assignment. + Key *DeviceTagAssignmentKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *DeviceTagAssignmentConfig) Reset() { + *x = DeviceTagAssignmentConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_tag_v1_tag_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceTagAssignmentConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceTagAssignmentConfig) ProtoMessage() {} + +func (x *DeviceTagAssignmentConfig) ProtoReflect() protoreflect.Message { + mi := &file_arista_tag_v1_tag_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceTagAssignmentConfig.ProtoReflect.Descriptor instead. +func (*DeviceTagAssignmentConfig) Descriptor() ([]byte, []int) { + return file_arista_tag_v1_tag_proto_rawDescGZIP(), []int{8} +} + +func (x *DeviceTagAssignmentConfig) GetKey() *DeviceTagAssignmentKey { + if x != nil { + return x.Key + } + return nil +} + +var File_arista_tag_v1_tag_proto protoreflect.FileDescriptor + +var file_arista_tag_v1_tag_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2f, + 0x74, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, + 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x66, 0x6d, 0x70, 0x2f, 0x65, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, + 0x0a, 0x06, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, + 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x32, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x04, 0x80, 0x8e, 0x19, 0x01, 0x22, 0x45, 0x0a, 0x12, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x3a, 0x06, 0xfa, 0x8d, 0x19, 0x02, 0x72, 0x77, 0x22, 0x7e, 0x0a, + 0x0c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x12, 0x27, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, + 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x61, + 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x06, 0xfa, 0x8d, 0x19, 0x02, 0x72, 0x6f, 0x22, 0x85, 0x02, + 0x0a, 0x19, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x6c, + 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, + 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3f, + 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x49, 0x64, 0x3a, + 0x04, 0x80, 0x8e, 0x19, 0x01, 0x22, 0x62, 0x0a, 0x1c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, + 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x3a, 0x06, 0xfa, 0x8d, 0x19, 0x02, 0x72, 0x77, 0x22, 0x42, 0x0a, 0x0f, 0x44, 0x65, 0x76, + 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x3a, 0x06, 0xfa, 0x8d, 0x19, 0x02, 0x72, 0x77, 0x22, 0x7b, 0x0a, + 0x09, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x12, 0x27, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x3a, 0x06, 0xfa, 0x8d, 0x19, 0x02, 0x72, 0x6f, 0x22, 0xc1, 0x01, 0x0a, 0x16, 0x44, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, + 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x39, 0x0a, + 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, + 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x3a, 0x04, 0x80, 0x8e, 0x19, 0x01, 0x22, 0x5c, + 0x0a, 0x19, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, + 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x37, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x61, 0x72, 0x69, 0x73, 0x74, + 0x61, 0x2e, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, + 0x61, 0x67, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x3a, 0x06, 0xfa, 0x8d, 0x19, 0x02, 0x72, 0x77, 0x2a, 0x5b, 0x0a, 0x0b, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x43, + 0x52, 0x45, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x52, 0x45, + 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, + 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x52, 0x45, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x02, 0x42, 0x24, 0x5a, 0x22, 0x61, 0x72, 0x69, + 0x73, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x72, + 0x69, 0x73, 0x74, 0x61, 0x2f, 0x74, 0x61, 0x67, 0x2e, 0x76, 0x31, 0x3b, 0x74, 0x61, 0x67, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_arista_tag_v1_tag_proto_rawDescOnce sync.Once + file_arista_tag_v1_tag_proto_rawDescData = file_arista_tag_v1_tag_proto_rawDesc +) + +func file_arista_tag_v1_tag_proto_rawDescGZIP() []byte { + file_arista_tag_v1_tag_proto_rawDescOnce.Do(func() { + file_arista_tag_v1_tag_proto_rawDescData = protoimpl.X.CompressGZIP(file_arista_tag_v1_tag_proto_rawDescData) + }) + return file_arista_tag_v1_tag_proto_rawDescData +} + +var file_arista_tag_v1_tag_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_arista_tag_v1_tag_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_arista_tag_v1_tag_proto_goTypes = []interface{}{ + (CreatorType)(0), // 0: arista.tag.v1.CreatorType + (*TagKey)(nil), // 1: arista.tag.v1.TagKey + (*InterfaceTagConfig)(nil), // 2: arista.tag.v1.InterfaceTagConfig + (*InterfaceTag)(nil), // 3: arista.tag.v1.InterfaceTag + (*InterfaceTagAssignmentKey)(nil), // 4: arista.tag.v1.InterfaceTagAssignmentKey + (*InterfaceTagAssignmentConfig)(nil), // 5: arista.tag.v1.InterfaceTagAssignmentConfig + (*DeviceTagConfig)(nil), // 6: arista.tag.v1.DeviceTagConfig + (*DeviceTag)(nil), // 7: arista.tag.v1.DeviceTag + (*DeviceTagAssignmentKey)(nil), // 8: arista.tag.v1.DeviceTagAssignmentKey + (*DeviceTagAssignmentConfig)(nil), // 9: arista.tag.v1.DeviceTagAssignmentConfig + (*wrappers.StringValue)(nil), // 10: google.protobuf.StringValue +} +var file_arista_tag_v1_tag_proto_depIdxs = []int32{ + 10, // 0: arista.tag.v1.TagKey.label:type_name -> google.protobuf.StringValue + 10, // 1: arista.tag.v1.TagKey.value:type_name -> google.protobuf.StringValue + 1, // 2: arista.tag.v1.InterfaceTagConfig.key:type_name -> arista.tag.v1.TagKey + 1, // 3: arista.tag.v1.InterfaceTag.key:type_name -> arista.tag.v1.TagKey + 0, // 4: arista.tag.v1.InterfaceTag.creator_type:type_name -> arista.tag.v1.CreatorType + 10, // 5: arista.tag.v1.InterfaceTagAssignmentKey.label:type_name -> google.protobuf.StringValue + 10, // 6: arista.tag.v1.InterfaceTagAssignmentKey.value:type_name -> google.protobuf.StringValue + 10, // 7: arista.tag.v1.InterfaceTagAssignmentKey.device_id:type_name -> google.protobuf.StringValue + 10, // 8: arista.tag.v1.InterfaceTagAssignmentKey.interface_id:type_name -> google.protobuf.StringValue + 4, // 9: arista.tag.v1.InterfaceTagAssignmentConfig.key:type_name -> arista.tag.v1.InterfaceTagAssignmentKey + 1, // 10: arista.tag.v1.DeviceTagConfig.key:type_name -> arista.tag.v1.TagKey + 1, // 11: arista.tag.v1.DeviceTag.key:type_name -> arista.tag.v1.TagKey + 0, // 12: arista.tag.v1.DeviceTag.creator_type:type_name -> arista.tag.v1.CreatorType + 10, // 13: arista.tag.v1.DeviceTagAssignmentKey.label:type_name -> google.protobuf.StringValue + 10, // 14: arista.tag.v1.DeviceTagAssignmentKey.value:type_name -> google.protobuf.StringValue + 10, // 15: arista.tag.v1.DeviceTagAssignmentKey.device_id:type_name -> google.protobuf.StringValue + 8, // 16: arista.tag.v1.DeviceTagAssignmentConfig.key:type_name -> arista.tag.v1.DeviceTagAssignmentKey + 17, // [17:17] is the sub-list for method output_type + 17, // [17:17] is the sub-list for method input_type + 17, // [17:17] is the sub-list for extension type_name + 17, // [17:17] is the sub-list for extension extendee + 0, // [0:17] is the sub-list for field type_name +} + +func init() { file_arista_tag_v1_tag_proto_init() } +func file_arista_tag_v1_tag_proto_init() { + if File_arista_tag_v1_tag_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_arista_tag_v1_tag_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TagKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_tag_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_tag_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTag); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_tag_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagAssignmentKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_tag_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfaceTagAssignmentConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_tag_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_tag_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTag); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_tag_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagAssignmentKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_arista_tag_v1_tag_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceTagAssignmentConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_arista_tag_v1_tag_proto_rawDesc, + NumEnums: 1, + NumMessages: 9, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_arista_tag_v1_tag_proto_goTypes, + DependencyIndexes: file_arista_tag_v1_tag_proto_depIdxs, + EnumInfos: file_arista_tag_v1_tag_proto_enumTypes, + MessageInfos: file_arista_tag_v1_tag_proto_msgTypes, + }.Build() + File_arista_tag_v1_tag_proto = out.File + file_arista_tag_v1_tag_proto_rawDesc = nil + file_arista_tag_v1_tag_proto_goTypes = nil + file_arista_tag_v1_tag_proto_depIdxs = nil +} diff --git a/api/arista/time/time.pb.go b/api/arista/time/time.pb.go new file mode 100644 index 000000000..1bdc24f25 --- /dev/null +++ b/api/arista/time/time.pb.go @@ -0,0 +1,171 @@ +// Copyright (c) 2020 Arista Networks, Inc. +// Use of this source code is governed by the Apache License 2.0 +// that can be found in the COPYING file. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 +// source: arista/time/time.proto + +package time + +import ( + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type TimeBounds struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Start *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` + End *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` +} + +func (x *TimeBounds) Reset() { + *x = TimeBounds{} + if protoimpl.UnsafeEnabled { + mi := &file_arista_time_time_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TimeBounds) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimeBounds) ProtoMessage() {} + +func (x *TimeBounds) ProtoReflect() protoreflect.Message { + mi := &file_arista_time_time_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimeBounds.ProtoReflect.Descriptor instead. +func (*TimeBounds) Descriptor() ([]byte, []int) { + return file_arista_time_time_proto_rawDescGZIP(), []int{0} +} + +func (x *TimeBounds) GetStart() *timestamp.Timestamp { + if x != nil { + return x.Start + } + return nil +} + +func (x *TimeBounds) GetEnd() *timestamp.Timestamp { + if x != nil { + return x.End + } + return nil +} + +var File_arista_time_time_proto protoreflect.FileDescriptor + +var file_arista_time_time_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, + 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x6f, + 0x75, 0x6e, 0x64, 0x73, 0x12, 0x30, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x03, 0x65, 0x6e, 0x64, 0x42, 0x1e, 0x5a, 0x1c, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_arista_time_time_proto_rawDescOnce sync.Once + file_arista_time_time_proto_rawDescData = file_arista_time_time_proto_rawDesc +) + +func file_arista_time_time_proto_rawDescGZIP() []byte { + file_arista_time_time_proto_rawDescOnce.Do(func() { + file_arista_time_time_proto_rawDescData = protoimpl.X.CompressGZIP(file_arista_time_time_proto_rawDescData) + }) + return file_arista_time_time_proto_rawDescData +} + +var file_arista_time_time_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_arista_time_time_proto_goTypes = []interface{}{ + (*TimeBounds)(nil), // 0: arista.time.TimeBounds + (*timestamp.Timestamp)(nil), // 1: google.protobuf.Timestamp +} +var file_arista_time_time_proto_depIdxs = []int32{ + 1, // 0: arista.time.TimeBounds.start:type_name -> google.protobuf.Timestamp + 1, // 1: arista.time.TimeBounds.end:type_name -> google.protobuf.Timestamp + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_arista_time_time_proto_init() } +func file_arista_time_time_proto_init() { + if File_arista_time_time_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_arista_time_time_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeBounds); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_arista_time_time_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_arista_time_time_proto_goTypes, + DependencyIndexes: file_arista_time_time_proto_depIdxs, + MessageInfos: file_arista_time_time_proto_msgTypes, + }.Build() + File_arista_time_time_proto = out.File + file_arista_time_time_proto_rawDesc = nil + file_arista_time_time_proto_goTypes = nil + file_arista_time_time_proto_depIdxs = nil +} diff --git a/api/fmp/extensions.pb.go b/api/fmp/extensions.pb.go new file mode 100644 index 000000000..0e34bb264 --- /dev/null +++ b/api/fmp/extensions.pb.go @@ -0,0 +1,164 @@ +// Copyright (c) 2020 Arista Networks, Inc. +// Use of this source code is governed by the Apache License 2.0 +// that can be found in the COPYING file. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 +// source: fmp/extensions.proto + +package fmp + +import ( + proto "github.com/golang/protobuf/proto" + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +var file_fmp_extensions_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*descriptor.MessageOptions)(nil), + ExtensionType: (*string)(nil), + Field: 51423, + Name: "fmp.model", + Tag: "bytes,51423,opt,name=model", + Filename: "fmp/extensions.proto", + }, + { + ExtendedType: (*descriptor.MessageOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 51424, + Name: "fmp.model_key", + Tag: "varint,51424,opt,name=model_key", + Filename: "fmp/extensions.proto", + }, + { + ExtendedType: (*descriptor.MessageOptions)(nil), + ExtensionType: (*string)(nil), + Field: 51425, + Name: "fmp.custom_filter", + Tag: "bytes,51425,opt,name=custom_filter", + Filename: "fmp/extensions.proto", + }, + { + ExtendedType: (*descriptor.MessageOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 51426, + Name: "fmp.no_default_filter", + Tag: "varint,51426,opt,name=no_default_filter", + Filename: "fmp/extensions.proto", + }, + { + ExtendedType: (*descriptor.MessageOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 51247, + Name: "fmp.require_set_key", + Tag: "varint,51247,opt,name=require_set_key", + Filename: "fmp/extensions.proto", + }, +} + +// Extension fields to descriptor.MessageOptions. +var ( + // TODO: will need an official number from Google, just like gNMI extensions + // this works for now, though. + // + // optional string model = 51423; + E_Model = &file_fmp_extensions_proto_extTypes[0] + // optional bool model_key = 51424; + E_ModelKey = &file_fmp_extensions_proto_extTypes[1] + // optional string custom_filter = 51425; + E_CustomFilter = &file_fmp_extensions_proto_extTypes[2] + // optional bool no_default_filter = 51426; + E_NoDefaultFilter = &file_fmp_extensions_proto_extTypes[3] + // optional bool require_set_key = 51247; + E_RequireSetKey = &file_fmp_extensions_proto_extTypes[4] +) + +var File_fmp_extensions_proto protoreflect.FileDescriptor + +var file_fmp_extensions_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x66, 0x6d, 0x70, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x66, 0x6d, 0x70, 0x1a, 0x20, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x37, 0x0a, + 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xdf, 0x91, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x3a, 0x3e, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, + 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe0, 0x91, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x4b, 0x65, 0x79, 0x3a, 0x46, 0x0a, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe1, 0x91, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x3a, 0x4d, + 0x0a, 0x11, 0x6e, 0x6f, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe2, 0x91, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x6e, 0x6f, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x3a, 0x49, 0x0a, + 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, + 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0xaf, 0x90, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x53, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x42, 0x16, 0x5a, 0x14, 0x61, 0x72, 0x69, 0x73, + 0x74, 0x61, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x66, 0x6d, 0x70, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_fmp_extensions_proto_goTypes = []interface{}{ + (*descriptor.MessageOptions)(nil), // 0: google.protobuf.MessageOptions +} +var file_fmp_extensions_proto_depIdxs = []int32{ + 0, // 0: fmp.model:extendee -> google.protobuf.MessageOptions + 0, // 1: fmp.model_key:extendee -> google.protobuf.MessageOptions + 0, // 2: fmp.custom_filter:extendee -> google.protobuf.MessageOptions + 0, // 3: fmp.no_default_filter:extendee -> google.protobuf.MessageOptions + 0, // 4: fmp.require_set_key:extendee -> google.protobuf.MessageOptions + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 0, // [0:5] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_fmp_extensions_proto_init() } +func file_fmp_extensions_proto_init() { + if File_fmp_extensions_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_fmp_extensions_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 5, + NumServices: 0, + }, + GoTypes: file_fmp_extensions_proto_goTypes, + DependencyIndexes: file_fmp_extensions_proto_depIdxs, + ExtensionInfos: file_fmp_extensions_proto_extTypes, + }.Build() + File_fmp_extensions_proto = out.File + file_fmp_extensions_proto_rawDesc = nil + file_fmp_extensions_proto_goTypes = nil + file_fmp_extensions_proto_depIdxs = nil +} diff --git a/cmd/Collector/libmain/dump.go b/cmd/Collector/libmain/dump.go index dec16f806..7a9da1248 100644 --- a/cmd/Collector/libmain/dump.go +++ b/cmd/Collector/libmain/dump.go @@ -13,7 +13,6 @@ import ( "github.com/aristanetworks/cloudvision-go/device" pgnmi "github.com/aristanetworks/cloudvision-go/provider/gnmi" - "github.com/golang/protobuf/proto" "github.com/openconfig/gnmi/proto/gnmi" "github.com/sirupsen/logrus" ) @@ -42,7 +41,7 @@ func (d *dumpInfo) processRequest(ctx context.Context, return nil, err } } - err := proto.CompactText(d.file, req) + _, err := d.file.WriteString(req.String()) if err != nil { return nil, err } diff --git a/go.mod b/go.mod index 2d0f5af4a..c861f1d82 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/aristanetworks/goarista v0.0.0-20190911185947-7be905b7e422 github.com/fatih/color v1.7.0 github.com/fsnotify/fsnotify v1.4.7 // indirect - github.com/golang/protobuf v1.3.2 + github.com/golang/protobuf v1.4.1 github.com/mattn/go-colorable v0.1.2 // indirect github.com/mattn/go-isatty v0.0.9 // indirect github.com/openconfig/gnmi v0.0.0-20190823184014-89b2bf29312c @@ -17,7 +17,8 @@ require ( github.com/soniah/gosnmp v1.22.0 golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect - google.golang.org/grpc v1.23.1 + google.golang.org/grpc v1.27.0 + google.golang.org/protobuf v1.25.0 gopkg.in/yaml.v2 v2.2.2 modernc.org/golex v1.0.0 ) diff --git a/go.sum b/go.sum index 0165d57a2..5ca7951d4 100644 --- a/go.sum +++ b/go.sum @@ -6,10 +6,13 @@ github.com/aristanetworks/glog v0.0.0-20180419172825-c15b03b3054f h1:Gj+4e4j6g8z github.com/aristanetworks/glog v0.0.0-20180419172825-c15b03b3054f/go.mod h1:KASm+qXFKs/xjSoWn30NrWBBvdTTQq+UjkhjEJHfSFA= github.com/aristanetworks/goarista v0.0.0-20190911185947-7be905b7e422 h1:ug8NE/EFMHcuiEk5iFaigGZbAzEyDmICEyo+bR4QDQk= github.com/aristanetworks/goarista v0.0.0-20190911185947-7be905b7e422/go.mod h1:D/tb0zPVXnP7fmsLZjtdUhSsumbK/ij54UXjjVgMGxQ= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= @@ -22,7 +25,18 @@ github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfb github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1 h1:ZFgWrT+bLgsYPirOnRfKLYJLvssAegOj/hgyMFdJZe0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/mattn/go-colorable v0.1.2 h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx8mU= @@ -36,6 +50,7 @@ github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/soniah/gosnmp v1.22.0 h1:jVJi8+OGvR+JHIaZKMmnyNP0akJd2vEgNatybwhZvxg= @@ -46,13 +61,22 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a h1:oWX7TPOiFAMXLq8o0ikBYfCJVlRHBcsciT5bXOrH628= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190422165155-953cdadca894 h1:Cz4ceDQGXuKRnVBDTS23GTn/pU5OE2C0WrNTOYK1Uuc= @@ -63,17 +87,38 @@ golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 h1:SvFZT6jyqRaOeXpc5h/JSfZenJ2O330aBsf7JfSUXmQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 h1:Nw54tB0rB7hY/N0NQvRW8DG4Yk3Q6T9cu9RcFQDu1tc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.1 h1:q4XQuHFC6I28BKZpo6IYyb3mNO+l7lSOxRuYTCiDfXk= google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.27.0 h1:rRYRFMVgRv6E0D70Skyfsr28tDXIuuPZyWGMPdMcnXg= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= modernc.org/golex v1.0.0 h1:wWpDlbK8ejRfSyi0frMyhilD3JBvtcx2AdGDnU+JtsE= modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk= diff --git a/provider/gnmi/helpers_test.go b/provider/gnmi/helpers_test.go index 130a52621..cbc3231f9 100644 --- a/provider/gnmi/helpers_test.go +++ b/provider/gnmi/helpers_test.go @@ -11,18 +11,20 @@ import ( "testing" "time" - "github.com/golang/protobuf/proto" - "github.com/golang/protobuf/ptypes/any" "github.com/openconfig/gnmi/proto/gnmi" ) func TestUnmarshal(t *testing.T) { - anyBytes, err := proto.Marshal(&gnmi.ModelData{Name: "foobar"}) - if err != nil { - t.Fatal(err) - } - anyMessage := &any.Any{TypeUrl: "gnmi/ModelData", Value: anyBytes} - anyString := proto.CompactTextString(anyMessage) + // requires gnmi.ModelData to be updated to a protov2 model + // "since the v1 lib was deprecated + /* + anyBytes, err := proto.Marshal(&gnmi.ModelData{Name: "foobar"}) + if err != nil { + t.Fatal(err) + } + anyMessage := &any.Any{TypeUrl: "gnmi/ModelData", Value: anyBytes} + anyString := anyMessage.String() + */ for name, tc := range map[string]struct { val *gnmi.TypedValue @@ -75,11 +77,13 @@ func TestUnmarshal(t *testing.T) { }}, exp: []interface{}{true, "foobar"}, }, - "AnyVal": { - val: &gnmi.TypedValue{ - Value: &gnmi.TypedValue_AnyVal{AnyVal: anyMessage}}, - exp: anyString, - }, + /* + "AnyVal": { + val: &gnmi.TypedValue{ + Value: &gnmi.TypedValue_AnyVal{AnyVal: anyMessage}}, + exp: anyString, + }, + */ "JsonVal": { val: &gnmi.TypedValue{ Value: &gnmi.TypedValue_JsonVal{JsonVal: []byte(`{"foo":"bar"}`)}},