Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDeviceLifecycleSummaryServiceServer(s grpc.ServiceRegistrar, srv DeviceLifecycleSummaryServiceServer)
- type DateAndModels
- func (*DateAndModels) Descriptor() ([]byte, []int)deprecated
- func (x *DateAndModels) GetDate() *timestamppb.Timestamp
- func (x *DateAndModels) GetModels() *fmp.MapStringInt32
- func (*DateAndModels) ProtoMessage()
- func (x *DateAndModels) ProtoReflect() protoreflect.Message
- func (x *DateAndModels) Reset()
- func (x *DateAndModels) String() string
- type DeviceLifecycleSummary
- func (*DeviceLifecycleSummary) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceLifecycleSummary) GetHardwareLifecycleSummary() *HardwareLifecycleSummary
- func (x *DeviceLifecycleSummary) GetKey() *DeviceLifecycleSummaryKey
- func (x *DeviceLifecycleSummary) GetSoftwareEol() *SoftwareEOL
- func (*DeviceLifecycleSummary) ProtoMessage()
- func (x *DeviceLifecycleSummary) ProtoReflect() protoreflect.Message
- func (x *DeviceLifecycleSummary) Reset()
- func (x *DeviceLifecycleSummary) String() string
- type DeviceLifecycleSummaryKey
- func (*DeviceLifecycleSummaryKey) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceLifecycleSummaryKey) GetDeviceId() *wrapperspb.StringValue
- func (*DeviceLifecycleSummaryKey) ProtoMessage()
- func (x *DeviceLifecycleSummaryKey) ProtoReflect() protoreflect.Message
- func (x *DeviceLifecycleSummaryKey) Reset()
- func (x *DeviceLifecycleSummaryKey) String() string
- type DeviceLifecycleSummaryRequest
- func (*DeviceLifecycleSummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceLifecycleSummaryRequest) GetKey() *DeviceLifecycleSummaryKey
- func (x *DeviceLifecycleSummaryRequest) GetTime() *timestamppb.Timestamp
- func (*DeviceLifecycleSummaryRequest) ProtoMessage()
- func (x *DeviceLifecycleSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceLifecycleSummaryRequest) Reset()
- func (x *DeviceLifecycleSummaryRequest) String() string
- type DeviceLifecycleSummaryResponse
- func (*DeviceLifecycleSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceLifecycleSummaryResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceLifecycleSummaryResponse) GetValue() *DeviceLifecycleSummary
- func (*DeviceLifecycleSummaryResponse) ProtoMessage()
- func (x *DeviceLifecycleSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceLifecycleSummaryResponse) Reset()
- func (x *DeviceLifecycleSummaryResponse) String() string
- type DeviceLifecycleSummaryServiceClient
- type DeviceLifecycleSummaryServiceServer
- type DeviceLifecycleSummaryService_GetAllClient
- type DeviceLifecycleSummaryService_GetAllServer
- type DeviceLifecycleSummaryService_SubscribeClient
- type DeviceLifecycleSummaryService_SubscribeMetaClient
- type DeviceLifecycleSummaryService_SubscribeMetaServer
- type DeviceLifecycleSummaryService_SubscribeServer
- type DeviceLifecycleSummaryStreamRequest
- func (*DeviceLifecycleSummaryStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceLifecycleSummaryStreamRequest) GetPartialEqFilter() []*DeviceLifecycleSummary
- func (x *DeviceLifecycleSummaryStreamRequest) GetTime() *time.TimeBounds
- func (*DeviceLifecycleSummaryStreamRequest) ProtoMessage()
- func (x *DeviceLifecycleSummaryStreamRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceLifecycleSummaryStreamRequest) Reset()
- func (x *DeviceLifecycleSummaryStreamRequest) String() string
- type DeviceLifecycleSummaryStreamResponse
- func (*DeviceLifecycleSummaryStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceLifecycleSummaryStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *DeviceLifecycleSummaryStreamResponse) GetType() subscriptions.Operation
- func (x *DeviceLifecycleSummaryStreamResponse) GetValue() *DeviceLifecycleSummary
- func (*DeviceLifecycleSummaryStreamResponse) ProtoMessage()
- func (x *DeviceLifecycleSummaryStreamResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceLifecycleSummaryStreamResponse) Reset()
- func (x *DeviceLifecycleSummaryStreamResponse) String() string
- type HardwareLifecycleSummary
- func (*HardwareLifecycleSummary) Descriptor() ([]byte, []int)deprecated
- func (x *HardwareLifecycleSummary) GetEndOfHardwareRmaRequests() *DateAndModels
- func (x *HardwareLifecycleSummary) GetEndOfLife() *DateAndModels
- func (x *HardwareLifecycleSummary) GetEndOfSale() *DateAndModels
- func (x *HardwareLifecycleSummary) GetEndOfTacSupport() *DateAndModels
- func (*HardwareLifecycleSummary) ProtoMessage()
- func (x *HardwareLifecycleSummary) ProtoReflect() protoreflect.Message
- func (x *HardwareLifecycleSummary) Reset()
- func (x *HardwareLifecycleSummary) String() string
- type MetaResponse
- func (*MetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MetaResponse) GetCount() *wrapperspb.UInt32Value
- func (x *MetaResponse) GetTime() *timestamppb.Timestamp
- func (x *MetaResponse) GetType() subscriptions.Operation
- func (*MetaResponse) ProtoMessage()
- func (x *MetaResponse) ProtoReflect() protoreflect.Message
- func (x *MetaResponse) Reset()
- func (x *MetaResponse) String() string
- type SoftwareEOL
- func (*SoftwareEOL) Descriptor() ([]byte, []int)deprecated
- func (x *SoftwareEOL) GetEndOfSupport() *timestamppb.Timestamp
- func (x *SoftwareEOL) GetVersion() *wrapperspb.StringValue
- func (*SoftwareEOL) ProtoMessage()
- func (x *SoftwareEOL) ProtoReflect() protoreflect.Message
- func (x *SoftwareEOL) Reset()
- func (x *SoftwareEOL) String() string
- type UnimplementedDeviceLifecycleSummaryServiceServer
- func (UnimplementedDeviceLifecycleSummaryServiceServer) GetAll(*DeviceLifecycleSummaryStreamRequest, ...) error
- func (UnimplementedDeviceLifecycleSummaryServiceServer) GetMeta(context.Context, *DeviceLifecycleSummaryStreamRequest) (*MetaResponse, error)
- func (UnimplementedDeviceLifecycleSummaryServiceServer) GetOne(context.Context, *DeviceLifecycleSummaryRequest) (*DeviceLifecycleSummaryResponse, error)
- func (UnimplementedDeviceLifecycleSummaryServiceServer) Subscribe(*DeviceLifecycleSummaryStreamRequest, ...) error
- func (UnimplementedDeviceLifecycleSummaryServiceServer) SubscribeMeta(*DeviceLifecycleSummaryStreamRequest, ...) error
- type UnsafeDeviceLifecycleSummaryServiceServer
Constants ¶
const ( DeviceLifecycleSummaryService_GetOne_FullMethodName = "/arista.lifecycle.v1.DeviceLifecycleSummaryService/GetOne" DeviceLifecycleSummaryService_GetAll_FullMethodName = "/arista.lifecycle.v1.DeviceLifecycleSummaryService/GetAll" DeviceLifecycleSummaryService_Subscribe_FullMethodName = "/arista.lifecycle.v1.DeviceLifecycleSummaryService/Subscribe" DeviceLifecycleSummaryService_GetMeta_FullMethodName = "/arista.lifecycle.v1.DeviceLifecycleSummaryService/GetMeta" DeviceLifecycleSummaryService_SubscribeMeta_FullMethodName = "/arista.lifecycle.v1.DeviceLifecycleSummaryService/SubscribeMeta" )
Variables ¶
var DeviceLifecycleSummaryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.lifecycle.v1.DeviceLifecycleSummaryService", HandlerType: (*DeviceLifecycleSummaryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _DeviceLifecycleSummaryService_GetOne_Handler, }, { MethodName: "GetMeta", Handler: _DeviceLifecycleSummaryService_GetMeta_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _DeviceLifecycleSummaryService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _DeviceLifecycleSummaryService_Subscribe_Handler, ServerStreams: true, }, { StreamName: "SubscribeMeta", Handler: _DeviceLifecycleSummaryService_SubscribeMeta_Handler, ServerStreams: true, }, }, Metadata: "arista/lifecycle.v1/services.gen.proto", }
DeviceLifecycleSummaryService_ServiceDesc is the grpc.ServiceDesc for DeviceLifecycleSummaryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_arista_lifecycle_v1_lifecycle_proto protoreflect.FileDescriptor
var File_arista_lifecycle_v1_services_gen_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDeviceLifecycleSummaryServiceServer ¶
func RegisterDeviceLifecycleSummaryServiceServer(s grpc.ServiceRegistrar, srv DeviceLifecycleSummaryServiceServer)
Types ¶
type DateAndModels ¶
type DateAndModels struct { // "end of" date Date *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // models with this exact "end of" date // mapped to its count Models *fmp.MapStringInt32 `protobuf:"bytes,2,opt,name=models,proto3" json:"models,omitempty"` // contains filtered or unexported fields }
DateAndModels has an "end of" date along with the models that has this exact "end of" date
func (*DateAndModels) Descriptor
deprecated
func (*DateAndModels) Descriptor() ([]byte, []int)
Deprecated: Use DateAndModels.ProtoReflect.Descriptor instead.
func (*DateAndModels) GetDate ¶
func (x *DateAndModels) GetDate() *timestamppb.Timestamp
func (*DateAndModels) GetModels ¶
func (x *DateAndModels) GetModels() *fmp.MapStringInt32
func (*DateAndModels) ProtoMessage ¶
func (*DateAndModels) ProtoMessage()
func (*DateAndModels) ProtoReflect ¶
func (x *DateAndModels) ProtoReflect() protoreflect.Message
func (*DateAndModels) Reset ¶
func (x *DateAndModels) Reset()
func (*DateAndModels) String ¶
func (x *DateAndModels) String() string
type DeviceLifecycleSummary ¶
type DeviceLifecycleSummary struct { // DeviceLifecycleSummaryKey is the key of // DeviceLifecycleSummary Key *DeviceLifecycleSummaryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // software_eol is the software end of life of // a device SoftwareEol *SoftwareEOL `protobuf:"bytes,2,opt,name=software_eol,json=softwareEol,proto3" json:"software_eol,omitempty"` // hardware_lifecycle_summary is the hardware lifecycle summary // of a device HardwareLifecycleSummary *HardwareLifecycleSummary `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
DeviceLifecycleSummary is the state model that represents the lifecycle summary of a device
func (*DeviceLifecycleSummary) Descriptor
deprecated
func (*DeviceLifecycleSummary) Descriptor() ([]byte, []int)
Deprecated: Use DeviceLifecycleSummary.ProtoReflect.Descriptor instead.
func (*DeviceLifecycleSummary) GetHardwareLifecycleSummary ¶
func (x *DeviceLifecycleSummary) GetHardwareLifecycleSummary() *HardwareLifecycleSummary
func (*DeviceLifecycleSummary) GetKey ¶
func (x *DeviceLifecycleSummary) GetKey() *DeviceLifecycleSummaryKey
func (*DeviceLifecycleSummary) GetSoftwareEol ¶
func (x *DeviceLifecycleSummary) GetSoftwareEol() *SoftwareEOL
func (*DeviceLifecycleSummary) ProtoMessage ¶
func (*DeviceLifecycleSummary) ProtoMessage()
func (*DeviceLifecycleSummary) ProtoReflect ¶
func (x *DeviceLifecycleSummary) ProtoReflect() protoreflect.Message
func (*DeviceLifecycleSummary) Reset ¶
func (x *DeviceLifecycleSummary) Reset()
func (*DeviceLifecycleSummary) String ¶
func (x *DeviceLifecycleSummary) String() string
type DeviceLifecycleSummaryKey ¶
type DeviceLifecycleSummaryKey struct { // device_id is the device ID DeviceId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
DeviceLifecycleSummaryKey is the key type for DeviceLifecycleSummary model
func (*DeviceLifecycleSummaryKey) Descriptor
deprecated
func (*DeviceLifecycleSummaryKey) Descriptor() ([]byte, []int)
Deprecated: Use DeviceLifecycleSummaryKey.ProtoReflect.Descriptor instead.
func (*DeviceLifecycleSummaryKey) GetDeviceId ¶
func (x *DeviceLifecycleSummaryKey) GetDeviceId() *wrapperspb.StringValue
func (*DeviceLifecycleSummaryKey) ProtoMessage ¶
func (*DeviceLifecycleSummaryKey) ProtoMessage()
func (*DeviceLifecycleSummaryKey) ProtoReflect ¶
func (x *DeviceLifecycleSummaryKey) ProtoReflect() protoreflect.Message
func (*DeviceLifecycleSummaryKey) Reset ¶
func (x *DeviceLifecycleSummaryKey) Reset()
func (*DeviceLifecycleSummaryKey) String ¶
func (x *DeviceLifecycleSummaryKey) String() string
type DeviceLifecycleSummaryRequest ¶
type DeviceLifecycleSummaryRequest struct { // Key uniquely identifies a DeviceLifecycleSummary instance to retrieve. // This value must be populated. Key *DeviceLifecycleSummaryKey `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 which it makes the request. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceLifecycleSummaryRequest) Descriptor
deprecated
func (*DeviceLifecycleSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceLifecycleSummaryRequest.ProtoReflect.Descriptor instead.
func (*DeviceLifecycleSummaryRequest) GetKey ¶
func (x *DeviceLifecycleSummaryRequest) GetKey() *DeviceLifecycleSummaryKey
func (*DeviceLifecycleSummaryRequest) GetTime ¶
func (x *DeviceLifecycleSummaryRequest) GetTime() *timestamppb.Timestamp
func (*DeviceLifecycleSummaryRequest) ProtoMessage ¶
func (*DeviceLifecycleSummaryRequest) ProtoMessage()
func (*DeviceLifecycleSummaryRequest) ProtoReflect ¶
func (x *DeviceLifecycleSummaryRequest) ProtoReflect() protoreflect.Message
func (*DeviceLifecycleSummaryRequest) Reset ¶
func (x *DeviceLifecycleSummaryRequest) Reset()
func (*DeviceLifecycleSummaryRequest) String ¶
func (x *DeviceLifecycleSummaryRequest) String() string
type DeviceLifecycleSummaryResponse ¶
type DeviceLifecycleSummaryResponse struct { // 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 *DeviceLifecycleSummary `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // DeviceLifecycleSummary instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceLifecycleSummaryResponse) Descriptor
deprecated
func (*DeviceLifecycleSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceLifecycleSummaryResponse.ProtoReflect.Descriptor instead.
func (*DeviceLifecycleSummaryResponse) GetTime ¶
func (x *DeviceLifecycleSummaryResponse) GetTime() *timestamppb.Timestamp
func (*DeviceLifecycleSummaryResponse) GetValue ¶
func (x *DeviceLifecycleSummaryResponse) GetValue() *DeviceLifecycleSummary
func (*DeviceLifecycleSummaryResponse) ProtoMessage ¶
func (*DeviceLifecycleSummaryResponse) ProtoMessage()
func (*DeviceLifecycleSummaryResponse) ProtoReflect ¶
func (x *DeviceLifecycleSummaryResponse) ProtoReflect() protoreflect.Message
func (*DeviceLifecycleSummaryResponse) Reset ¶
func (x *DeviceLifecycleSummaryResponse) Reset()
func (*DeviceLifecycleSummaryResponse) String ¶
func (x *DeviceLifecycleSummaryResponse) String() string
type DeviceLifecycleSummaryServiceClient ¶
type DeviceLifecycleSummaryServiceClient interface { GetOne(ctx context.Context, in *DeviceLifecycleSummaryRequest, opts ...grpc.CallOption) (*DeviceLifecycleSummaryResponse, error) GetAll(ctx context.Context, in *DeviceLifecycleSummaryStreamRequest, opts ...grpc.CallOption) (DeviceLifecycleSummaryService_GetAllClient, error) Subscribe(ctx context.Context, in *DeviceLifecycleSummaryStreamRequest, opts ...grpc.CallOption) (DeviceLifecycleSummaryService_SubscribeClient, error) GetMeta(ctx context.Context, in *DeviceLifecycleSummaryStreamRequest, opts ...grpc.CallOption) (*MetaResponse, error) SubscribeMeta(ctx context.Context, in *DeviceLifecycleSummaryStreamRequest, opts ...grpc.CallOption) (DeviceLifecycleSummaryService_SubscribeMetaClient, error) }
DeviceLifecycleSummaryServiceClient is the client API for DeviceLifecycleSummaryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeviceLifecycleSummaryServiceClient ¶
func NewDeviceLifecycleSummaryServiceClient(cc grpc.ClientConnInterface) DeviceLifecycleSummaryServiceClient
type DeviceLifecycleSummaryServiceServer ¶
type DeviceLifecycleSummaryServiceServer interface { GetOne(context.Context, *DeviceLifecycleSummaryRequest) (*DeviceLifecycleSummaryResponse, error) GetAll(*DeviceLifecycleSummaryStreamRequest, DeviceLifecycleSummaryService_GetAllServer) error Subscribe(*DeviceLifecycleSummaryStreamRequest, DeviceLifecycleSummaryService_SubscribeServer) error GetMeta(context.Context, *DeviceLifecycleSummaryStreamRequest) (*MetaResponse, error) SubscribeMeta(*DeviceLifecycleSummaryStreamRequest, DeviceLifecycleSummaryService_SubscribeMetaServer) error // contains filtered or unexported methods }
DeviceLifecycleSummaryServiceServer is the server API for DeviceLifecycleSummaryService service. All implementations must embed UnimplementedDeviceLifecycleSummaryServiceServer for forward compatibility
type DeviceLifecycleSummaryService_GetAllClient ¶
type DeviceLifecycleSummaryService_GetAllClient interface { Recv() (*DeviceLifecycleSummaryStreamResponse, error) grpc.ClientStream }
type DeviceLifecycleSummaryService_GetAllServer ¶
type DeviceLifecycleSummaryService_GetAllServer interface { Send(*DeviceLifecycleSummaryStreamResponse) error grpc.ServerStream }
type DeviceLifecycleSummaryService_SubscribeClient ¶
type DeviceLifecycleSummaryService_SubscribeClient interface { Recv() (*DeviceLifecycleSummaryStreamResponse, error) grpc.ClientStream }
type DeviceLifecycleSummaryService_SubscribeMetaClient ¶
type DeviceLifecycleSummaryService_SubscribeMetaClient interface { Recv() (*MetaResponse, error) grpc.ClientStream }
type DeviceLifecycleSummaryService_SubscribeMetaServer ¶
type DeviceLifecycleSummaryService_SubscribeMetaServer interface { Send(*MetaResponse) error grpc.ServerStream }
type DeviceLifecycleSummaryService_SubscribeServer ¶
type DeviceLifecycleSummaryService_SubscribeServer interface { Send(*DeviceLifecycleSummaryStreamResponse) error grpc.ServerStream }
type DeviceLifecycleSummaryStreamRequest ¶
type DeviceLifecycleSummaryStreamRequest struct { // 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 []*DeviceLifecycleSummary `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. // // For GetAll, the fields start and end can be used as follows: // // - end: Returns the state of each DeviceLifecycleSummary at end. // - Each DeviceLifecycleSummary response is fully-specified (all fields set). // - start: Returns the state of each DeviceLifecycleSummary at start, followed by updates until now. // - Each DeviceLifecycleSummary response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each DeviceLifecycleSummary at start, followed by updates // until end. // - Each DeviceLifecycleSummary response at start is fully-specified, but updates until end may // be partial. // // This field is not allowed in the Subscribe RPC. Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*DeviceLifecycleSummaryStreamRequest) Descriptor
deprecated
func (*DeviceLifecycleSummaryStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceLifecycleSummaryStreamRequest.ProtoReflect.Descriptor instead.
func (*DeviceLifecycleSummaryStreamRequest) GetPartialEqFilter ¶
func (x *DeviceLifecycleSummaryStreamRequest) GetPartialEqFilter() []*DeviceLifecycleSummary
func (*DeviceLifecycleSummaryStreamRequest) GetTime ¶
func (x *DeviceLifecycleSummaryStreamRequest) GetTime() *time.TimeBounds
func (*DeviceLifecycleSummaryStreamRequest) ProtoMessage ¶
func (*DeviceLifecycleSummaryStreamRequest) ProtoMessage()
func (*DeviceLifecycleSummaryStreamRequest) ProtoReflect ¶
func (x *DeviceLifecycleSummaryStreamRequest) ProtoReflect() protoreflect.Message
func (*DeviceLifecycleSummaryStreamRequest) Reset ¶
func (x *DeviceLifecycleSummaryStreamRequest) Reset()
func (*DeviceLifecycleSummaryStreamRequest) String ¶
func (x *DeviceLifecycleSummaryStreamRequest) String() string
type DeviceLifecycleSummaryStreamResponse ¶
type DeviceLifecycleSummaryStreamResponse struct { // 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 *DeviceLifecycleSummary `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this DeviceLifecycleSummary's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the DeviceLifecycleSummary 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"` // contains filtered or unexported fields }
func (*DeviceLifecycleSummaryStreamResponse) Descriptor
deprecated
func (*DeviceLifecycleSummaryStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceLifecycleSummaryStreamResponse.ProtoReflect.Descriptor instead.
func (*DeviceLifecycleSummaryStreamResponse) GetTime ¶
func (x *DeviceLifecycleSummaryStreamResponse) GetTime() *timestamppb.Timestamp
func (*DeviceLifecycleSummaryStreamResponse) GetType ¶
func (x *DeviceLifecycleSummaryStreamResponse) GetType() subscriptions.Operation
func (*DeviceLifecycleSummaryStreamResponse) GetValue ¶
func (x *DeviceLifecycleSummaryStreamResponse) GetValue() *DeviceLifecycleSummary
func (*DeviceLifecycleSummaryStreamResponse) ProtoMessage ¶
func (*DeviceLifecycleSummaryStreamResponse) ProtoMessage()
func (*DeviceLifecycleSummaryStreamResponse) ProtoReflect ¶
func (x *DeviceLifecycleSummaryStreamResponse) ProtoReflect() protoreflect.Message
func (*DeviceLifecycleSummaryStreamResponse) Reset ¶
func (x *DeviceLifecycleSummaryStreamResponse) Reset()
func (*DeviceLifecycleSummaryStreamResponse) String ¶
func (x *DeviceLifecycleSummaryStreamResponse) String() string
type HardwareLifecycleSummary ¶
type HardwareLifecycleSummary struct { // end_of_life of a HardwareLifecycleSummary EndOfLife *DateAndModels `protobuf:"bytes,1,opt,name=end_of_life,json=endOfLife,proto3" json:"end_of_life,omitempty"` // end_of_sale of a HardwareLifecycleSummary EndOfSale *DateAndModels `protobuf:"bytes,2,opt,name=end_of_sale,json=endOfSale,proto3" json:"end_of_sale,omitempty"` // end_of_tac_support of a HardwareLifecycleSummary EndOfTacSupport *DateAndModels `protobuf:"bytes,3,opt,name=end_of_tac_support,json=endOfTacSupport,proto3" json:"end_of_tac_support,omitempty"` // end_of_hardware_rma_requests of a HardwareLifecycleSummary EndOfHardwareRmaRequests *DateAndModels `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
HardwareLifecycleSummary represents a hardware lifecycle summary
func (*HardwareLifecycleSummary) Descriptor
deprecated
func (*HardwareLifecycleSummary) Descriptor() ([]byte, []int)
Deprecated: Use HardwareLifecycleSummary.ProtoReflect.Descriptor instead.
func (*HardwareLifecycleSummary) GetEndOfHardwareRmaRequests ¶
func (x *HardwareLifecycleSummary) GetEndOfHardwareRmaRequests() *DateAndModels
func (*HardwareLifecycleSummary) GetEndOfLife ¶
func (x *HardwareLifecycleSummary) GetEndOfLife() *DateAndModels
func (*HardwareLifecycleSummary) GetEndOfSale ¶
func (x *HardwareLifecycleSummary) GetEndOfSale() *DateAndModels
func (*HardwareLifecycleSummary) GetEndOfTacSupport ¶
func (x *HardwareLifecycleSummary) GetEndOfTacSupport() *DateAndModels
func (*HardwareLifecycleSummary) ProtoMessage ¶
func (*HardwareLifecycleSummary) ProtoMessage()
func (*HardwareLifecycleSummary) ProtoReflect ¶
func (x *HardwareLifecycleSummary) ProtoReflect() protoreflect.Message
func (*HardwareLifecycleSummary) Reset ¶
func (x *HardwareLifecycleSummary) Reset()
func (*HardwareLifecycleSummary) String ¶
func (x *HardwareLifecycleSummary) String() string
type MetaResponse ¶
type MetaResponse struct { // Time holds the timestamp of the last item included in the metadata calculation. Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the 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,2,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"` // Count is the number of items present under the conditions of the request. Count *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*MetaResponse) Descriptor
deprecated
func (*MetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use MetaResponse.ProtoReflect.Descriptor instead.
func (*MetaResponse) GetCount ¶
func (x *MetaResponse) GetCount() *wrapperspb.UInt32Value
func (*MetaResponse) GetTime ¶
func (x *MetaResponse) GetTime() *timestamppb.Timestamp
func (*MetaResponse) GetType ¶
func (x *MetaResponse) GetType() subscriptions.Operation
func (*MetaResponse) ProtoMessage ¶
func (*MetaResponse) ProtoMessage()
func (*MetaResponse) ProtoReflect ¶
func (x *MetaResponse) ProtoReflect() protoreflect.Message
func (*MetaResponse) Reset ¶
func (x *MetaResponse) Reset()
func (*MetaResponse) String ¶
func (x *MetaResponse) String() string
type SoftwareEOL ¶
type SoftwareEOL struct { // version of a SoftwareEOL Version *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // end_of_support of a SoftwareEOL EndOfSupport *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_of_support,json=endOfSupport,proto3" json:"end_of_support,omitempty"` // contains filtered or unexported fields }
SoftwareEOL represents a software end of life
func (*SoftwareEOL) Descriptor
deprecated
func (*SoftwareEOL) Descriptor() ([]byte, []int)
Deprecated: Use SoftwareEOL.ProtoReflect.Descriptor instead.
func (*SoftwareEOL) GetEndOfSupport ¶
func (x *SoftwareEOL) GetEndOfSupport() *timestamppb.Timestamp
func (*SoftwareEOL) GetVersion ¶
func (x *SoftwareEOL) GetVersion() *wrapperspb.StringValue
func (*SoftwareEOL) ProtoMessage ¶
func (*SoftwareEOL) ProtoMessage()
func (*SoftwareEOL) ProtoReflect ¶
func (x *SoftwareEOL) ProtoReflect() protoreflect.Message
func (*SoftwareEOL) Reset ¶
func (x *SoftwareEOL) Reset()
func (*SoftwareEOL) String ¶
func (x *SoftwareEOL) String() string
type UnimplementedDeviceLifecycleSummaryServiceServer ¶
type UnimplementedDeviceLifecycleSummaryServiceServer struct { }
UnimplementedDeviceLifecycleSummaryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDeviceLifecycleSummaryServiceServer) SubscribeMeta ¶
type UnsafeDeviceLifecycleSummaryServiceServer ¶
type UnsafeDeviceLifecycleSummaryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeviceLifecycleSummaryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceLifecycleSummaryServiceServer will result in compilation errors.