Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBugExposureServiceServer(s grpc.ServiceRegistrar, srv BugExposureServiceServer)
- type Acknowledgement
- func (Acknowledgement) Descriptor() protoreflect.EnumDescriptor
- func (x Acknowledgement) Enum() *Acknowledgement
- func (Acknowledgement) EnumDescriptor() ([]byte, []int)deprecated
- func (x Acknowledgement) Number() protoreflect.EnumNumber
- func (x Acknowledgement) String() string
- func (Acknowledgement) Type() protoreflect.EnumType
- type BugExposure
- func (*BugExposure) Descriptor() ([]byte, []int)deprecated
- func (x *BugExposure) GetBugCount() *wrapperspb.Int32Value
- func (x *BugExposure) GetBugIds() *fmp.RepeatedInt32
- func (x *BugExposure) GetCveCount() *wrapperspb.Int32Value
- func (x *BugExposure) GetCveIds() *fmp.RepeatedInt32
- func (x *BugExposure) GetHighestBugExposure() HighestExposure
- func (x *BugExposure) GetHighestCveExposure() HighestExposure
- func (x *BugExposure) GetKey() *BugExposureKey
- func (*BugExposure) ProtoMessage()
- func (x *BugExposure) ProtoReflect() protoreflect.Message
- func (x *BugExposure) Reset()
- func (x *BugExposure) String() string
- type BugExposureKey
- func (*BugExposureKey) Descriptor() ([]byte, []int)deprecated
- func (x *BugExposureKey) GetAcknowledgement() Acknowledgement
- func (x *BugExposureKey) GetDeviceId() *wrapperspb.StringValue
- func (*BugExposureKey) ProtoMessage()
- func (x *BugExposureKey) ProtoReflect() protoreflect.Message
- func (x *BugExposureKey) Reset()
- func (x *BugExposureKey) String() string
- type BugExposureRequest
- func (*BugExposureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BugExposureRequest) GetKey() *BugExposureKey
- func (x *BugExposureRequest) GetTime() *timestamppb.Timestamp
- func (*BugExposureRequest) ProtoMessage()
- func (x *BugExposureRequest) ProtoReflect() protoreflect.Message
- func (x *BugExposureRequest) Reset()
- func (x *BugExposureRequest) String() string
- type BugExposureResponse
- func (*BugExposureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BugExposureResponse) GetTime() *timestamppb.Timestamp
- func (x *BugExposureResponse) GetValue() *BugExposure
- func (*BugExposureResponse) ProtoMessage()
- func (x *BugExposureResponse) ProtoReflect() protoreflect.Message
- func (x *BugExposureResponse) Reset()
- func (x *BugExposureResponse) String() string
- type BugExposureServiceClient
- type BugExposureServiceServer
- type BugExposureService_GetAllClient
- type BugExposureService_GetAllServer
- type BugExposureService_SubscribeClient
- type BugExposureService_SubscribeMetaClient
- type BugExposureService_SubscribeMetaServer
- type BugExposureService_SubscribeServer
- type BugExposureStreamRequest
- func (*BugExposureStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BugExposureStreamRequest) GetPartialEqFilter() []*BugExposure
- func (x *BugExposureStreamRequest) GetTime() *time.TimeBounds
- func (*BugExposureStreamRequest) ProtoMessage()
- func (x *BugExposureStreamRequest) ProtoReflect() protoreflect.Message
- func (x *BugExposureStreamRequest) Reset()
- func (x *BugExposureStreamRequest) String() string
- type BugExposureStreamResponse
- func (*BugExposureStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BugExposureStreamResponse) GetTime() *timestamppb.Timestamp
- func (x *BugExposureStreamResponse) GetType() subscriptions.Operation
- func (x *BugExposureStreamResponse) GetValue() *BugExposure
- func (*BugExposureStreamResponse) ProtoMessage()
- func (x *BugExposureStreamResponse) ProtoReflect() protoreflect.Message
- func (x *BugExposureStreamResponse) Reset()
- func (x *BugExposureStreamResponse) String() string
- type HighestExposure
- func (HighestExposure) Descriptor() protoreflect.EnumDescriptor
- func (x HighestExposure) Enum() *HighestExposure
- func (HighestExposure) EnumDescriptor() ([]byte, []int)deprecated
- func (x HighestExposure) Number() protoreflect.EnumNumber
- func (x HighestExposure) String() string
- func (HighestExposure) Type() protoreflect.EnumType
- 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 UnimplementedBugExposureServiceServer
- func (UnimplementedBugExposureServiceServer) GetAll(*BugExposureStreamRequest, BugExposureService_GetAllServer) error
- func (UnimplementedBugExposureServiceServer) GetMeta(context.Context, *BugExposureStreamRequest) (*MetaResponse, error)
- func (UnimplementedBugExposureServiceServer) GetOne(context.Context, *BugExposureRequest) (*BugExposureResponse, error)
- func (UnimplementedBugExposureServiceServer) Subscribe(*BugExposureStreamRequest, BugExposureService_SubscribeServer) error
- func (UnimplementedBugExposureServiceServer) SubscribeMeta(*BugExposureStreamRequest, BugExposureService_SubscribeMetaServer) error
- type UnsafeBugExposureServiceServer
Constants ¶
const ( BugExposureService_GetOne_FullMethodName = "/arista.bugexposure.v1.BugExposureService/GetOne" BugExposureService_GetAll_FullMethodName = "/arista.bugexposure.v1.BugExposureService/GetAll" BugExposureService_Subscribe_FullMethodName = "/arista.bugexposure.v1.BugExposureService/Subscribe" BugExposureService_GetMeta_FullMethodName = "/arista.bugexposure.v1.BugExposureService/GetMeta" BugExposureService_SubscribeMeta_FullMethodName = "/arista.bugexposure.v1.BugExposureService/SubscribeMeta" )
Variables ¶
var ( Acknowledgement_name = map[int32]string{ 0: "ACKNOWLEDGEMENT_UNSPECIFIED", 1: "ACKNOWLEDGEMENT_UNACKNOWLEDGED", 2: "ACKNOWLEDGEMENT_ACKNOWLEDGED", } Acknowledgement_value = map[string]int32{ "ACKNOWLEDGEMENT_UNSPECIFIED": 0, "ACKNOWLEDGEMENT_UNACKNOWLEDGED": 1, "ACKNOWLEDGEMENT_ACKNOWLEDGED": 2, } )
Enum value maps for Acknowledgement.
var ( HighestExposure_name = map[int32]string{ 0: "HIGHEST_EXPOSURE_UNSPECIFIED", 1: "HIGHEST_EXPOSURE_NONE", 2: "HIGHEST_EXPOSURE_LOW", 3: "HIGHEST_EXPOSURE_HIGH", } HighestExposure_value = map[string]int32{ "HIGHEST_EXPOSURE_UNSPECIFIED": 0, "HIGHEST_EXPOSURE_NONE": 1, "HIGHEST_EXPOSURE_LOW": 2, "HIGHEST_EXPOSURE_HIGH": 3, } )
Enum value maps for HighestExposure.
var BugExposureService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "arista.bugexposure.v1.BugExposureService", HandlerType: (*BugExposureServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOne", Handler: _BugExposureService_GetOne_Handler, }, { MethodName: "GetMeta", Handler: _BugExposureService_GetMeta_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAll", Handler: _BugExposureService_GetAll_Handler, ServerStreams: true, }, { StreamName: "Subscribe", Handler: _BugExposureService_Subscribe_Handler, ServerStreams: true, }, { StreamName: "SubscribeMeta", Handler: _BugExposureService_SubscribeMeta_Handler, ServerStreams: true, }, }, Metadata: "arista/bugexposure.v1/services.gen.proto", }
BugExposureService_ServiceDesc is the grpc.ServiceDesc for BugExposureService 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_bugexposure_v1_bugexposure_proto protoreflect.FileDescriptor
var File_arista_bugexposure_v1_services_gen_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBugExposureServiceServer ¶
func RegisterBugExposureServiceServer(s grpc.ServiceRegistrar, srv BugExposureServiceServer)
Types ¶
type Acknowledgement ¶
type Acknowledgement int32
Acknowledgement is an enumeration key for a BugExposure model that defines the acknowledgement state for the computed bugs
const ( // Unacknowledged and acknowledged bugs will be computed Acknowledgement_ACKNOWLEDGEMENT_UNSPECIFIED Acknowledgement = 0 // Only unacknowledged bugs will be computed Acknowledgement_ACKNOWLEDGEMENT_UNACKNOWLEDGED Acknowledgement = 1 // Only acknowledged bugs will be computed Acknowledgement_ACKNOWLEDGEMENT_ACKNOWLEDGED Acknowledgement = 2 )
func (Acknowledgement) Descriptor ¶
func (Acknowledgement) Descriptor() protoreflect.EnumDescriptor
func (Acknowledgement) Enum ¶
func (x Acknowledgement) Enum() *Acknowledgement
func (Acknowledgement) EnumDescriptor
deprecated
func (Acknowledgement) EnumDescriptor() ([]byte, []int)
Deprecated: Use Acknowledgement.Descriptor instead.
func (Acknowledgement) Number ¶
func (x Acknowledgement) Number() protoreflect.EnumNumber
func (Acknowledgement) String ¶
func (x Acknowledgement) String() string
func (Acknowledgement) Type ¶
func (Acknowledgement) Type() protoreflect.EnumType
type BugExposure ¶
type BugExposure struct { // BugExposureKey is the key of // BugExposure Key *BugExposureKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // bug_ids is a list of bug alerts affecting the device // with type Bug BugIds *fmp.RepeatedInt32 `protobuf:"bytes,2,opt,name=bug_ids,json=bugIds,proto3" json:"bug_ids,omitempty"` // cve_ids is a list of bug alerts affecting the device // with type CVE CveIds *fmp.RepeatedInt32 `protobuf:"bytes,3,opt,name=cve_ids,json=cveIds,proto3" json:"cve_ids,omitempty"` // bug_count is the number of bug alerts // with type Bug BugCount *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=bug_count,json=bugCount,proto3" json:"bug_count,omitempty"` // cve_count is the number of bug alerts // with type CVE CveCount *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=cve_count,json=cveCount,proto3" json:"cve_count,omitempty"` // highest_bug_exposure is the highest exposure // with type Bug HighestBugExposure HighestExposure `` /* 161-byte string literal not displayed */ // highest_cve_exposure is the highest exposure // with type CVE HighestCveExposure HighestExposure `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
BugExposure is the state model that represents the exposure a device has to bugs
func (*BugExposure) Descriptor
deprecated
func (*BugExposure) Descriptor() ([]byte, []int)
Deprecated: Use BugExposure.ProtoReflect.Descriptor instead.
func (*BugExposure) GetBugCount ¶
func (x *BugExposure) GetBugCount() *wrapperspb.Int32Value
func (*BugExposure) GetBugIds ¶
func (x *BugExposure) GetBugIds() *fmp.RepeatedInt32
func (*BugExposure) GetCveCount ¶
func (x *BugExposure) GetCveCount() *wrapperspb.Int32Value
func (*BugExposure) GetCveIds ¶
func (x *BugExposure) GetCveIds() *fmp.RepeatedInt32
func (*BugExposure) GetHighestBugExposure ¶
func (x *BugExposure) GetHighestBugExposure() HighestExposure
func (*BugExposure) GetHighestCveExposure ¶
func (x *BugExposure) GetHighestCveExposure() HighestExposure
func (*BugExposure) GetKey ¶
func (x *BugExposure) GetKey() *BugExposureKey
func (*BugExposure) ProtoMessage ¶
func (*BugExposure) ProtoMessage()
func (*BugExposure) ProtoReflect ¶
func (x *BugExposure) ProtoReflect() protoreflect.Message
func (*BugExposure) Reset ¶
func (x *BugExposure) Reset()
func (*BugExposure) String ¶
func (x *BugExposure) String() string
type BugExposureKey ¶
type BugExposureKey struct { // device_id is the device ID DeviceId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // acknowledgement is one of the options for // Acknowledgement enum Acknowledgement Acknowledgement `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
BugExposureKey is the key type for BugExposure model
func (*BugExposureKey) Descriptor
deprecated
func (*BugExposureKey) Descriptor() ([]byte, []int)
Deprecated: Use BugExposureKey.ProtoReflect.Descriptor instead.
func (*BugExposureKey) GetAcknowledgement ¶
func (x *BugExposureKey) GetAcknowledgement() Acknowledgement
func (*BugExposureKey) GetDeviceId ¶
func (x *BugExposureKey) GetDeviceId() *wrapperspb.StringValue
func (*BugExposureKey) ProtoMessage ¶
func (*BugExposureKey) ProtoMessage()
func (*BugExposureKey) ProtoReflect ¶
func (x *BugExposureKey) ProtoReflect() protoreflect.Message
func (*BugExposureKey) Reset ¶
func (x *BugExposureKey) Reset()
func (*BugExposureKey) String ¶
func (x *BugExposureKey) String() string
type BugExposureRequest ¶
type BugExposureRequest struct { // Key uniquely identifies a BugExposure instance to retrieve. // This value must be populated. Key *BugExposureKey `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 (*BugExposureRequest) Descriptor
deprecated
func (*BugExposureRequest) Descriptor() ([]byte, []int)
Deprecated: Use BugExposureRequest.ProtoReflect.Descriptor instead.
func (*BugExposureRequest) GetKey ¶
func (x *BugExposureRequest) GetKey() *BugExposureKey
func (*BugExposureRequest) GetTime ¶
func (x *BugExposureRequest) GetTime() *timestamppb.Timestamp
func (*BugExposureRequest) ProtoMessage ¶
func (*BugExposureRequest) ProtoMessage()
func (*BugExposureRequest) ProtoReflect ¶
func (x *BugExposureRequest) ProtoReflect() protoreflect.Message
func (*BugExposureRequest) Reset ¶
func (x *BugExposureRequest) Reset()
func (*BugExposureRequest) String ¶
func (x *BugExposureRequest) String() string
type BugExposureResponse ¶
type BugExposureResponse 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 *BugExposure `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time carries the (UTC) timestamp of the last-modification of the // BugExposure instance in this response. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*BugExposureResponse) Descriptor
deprecated
func (*BugExposureResponse) Descriptor() ([]byte, []int)
Deprecated: Use BugExposureResponse.ProtoReflect.Descriptor instead.
func (*BugExposureResponse) GetTime ¶
func (x *BugExposureResponse) GetTime() *timestamppb.Timestamp
func (*BugExposureResponse) GetValue ¶
func (x *BugExposureResponse) GetValue() *BugExposure
func (*BugExposureResponse) ProtoMessage ¶
func (*BugExposureResponse) ProtoMessage()
func (*BugExposureResponse) ProtoReflect ¶
func (x *BugExposureResponse) ProtoReflect() protoreflect.Message
func (*BugExposureResponse) Reset ¶
func (x *BugExposureResponse) Reset()
func (*BugExposureResponse) String ¶
func (x *BugExposureResponse) String() string
type BugExposureServiceClient ¶
type BugExposureServiceClient interface { GetOne(ctx context.Context, in *BugExposureRequest, opts ...grpc.CallOption) (*BugExposureResponse, error) GetAll(ctx context.Context, in *BugExposureStreamRequest, opts ...grpc.CallOption) (BugExposureService_GetAllClient, error) Subscribe(ctx context.Context, in *BugExposureStreamRequest, opts ...grpc.CallOption) (BugExposureService_SubscribeClient, error) GetMeta(ctx context.Context, in *BugExposureStreamRequest, opts ...grpc.CallOption) (*MetaResponse, error) SubscribeMeta(ctx context.Context, in *BugExposureStreamRequest, opts ...grpc.CallOption) (BugExposureService_SubscribeMetaClient, error) }
BugExposureServiceClient is the client API for BugExposureService 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 NewBugExposureServiceClient ¶
func NewBugExposureServiceClient(cc grpc.ClientConnInterface) BugExposureServiceClient
type BugExposureServiceServer ¶
type BugExposureServiceServer interface { GetOne(context.Context, *BugExposureRequest) (*BugExposureResponse, error) GetAll(*BugExposureStreamRequest, BugExposureService_GetAllServer) error Subscribe(*BugExposureStreamRequest, BugExposureService_SubscribeServer) error GetMeta(context.Context, *BugExposureStreamRequest) (*MetaResponse, error) SubscribeMeta(*BugExposureStreamRequest, BugExposureService_SubscribeMetaServer) error // contains filtered or unexported methods }
BugExposureServiceServer is the server API for BugExposureService service. All implementations must embed UnimplementedBugExposureServiceServer for forward compatibility
type BugExposureService_GetAllClient ¶
type BugExposureService_GetAllClient interface { Recv() (*BugExposureStreamResponse, error) grpc.ClientStream }
type BugExposureService_GetAllServer ¶
type BugExposureService_GetAllServer interface { Send(*BugExposureStreamResponse) error grpc.ServerStream }
type BugExposureService_SubscribeClient ¶
type BugExposureService_SubscribeClient interface { Recv() (*BugExposureStreamResponse, error) grpc.ClientStream }
type BugExposureService_SubscribeMetaClient ¶
type BugExposureService_SubscribeMetaClient interface { Recv() (*MetaResponse, error) grpc.ClientStream }
type BugExposureService_SubscribeMetaServer ¶
type BugExposureService_SubscribeMetaServer interface { Send(*MetaResponse) error grpc.ServerStream }
type BugExposureService_SubscribeServer ¶
type BugExposureService_SubscribeServer interface { Send(*BugExposureStreamResponse) error grpc.ServerStream }
type BugExposureStreamRequest ¶
type BugExposureStreamRequest 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 []*BugExposure `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 BugExposure at end. // - Each BugExposure response is fully-specified (all fields set). // - start: Returns the state of each BugExposure at start, followed by updates until now. // - Each BugExposure response at start is fully-specified, but updates may be partial. // - start and end: Returns the state of each BugExposure at start, followed by updates // until end. // - Each BugExposure 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 (*BugExposureStreamRequest) Descriptor
deprecated
func (*BugExposureStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use BugExposureStreamRequest.ProtoReflect.Descriptor instead.
func (*BugExposureStreamRequest) GetPartialEqFilter ¶
func (x *BugExposureStreamRequest) GetPartialEqFilter() []*BugExposure
func (*BugExposureStreamRequest) GetTime ¶
func (x *BugExposureStreamRequest) GetTime() *time.TimeBounds
func (*BugExposureStreamRequest) ProtoMessage ¶
func (*BugExposureStreamRequest) ProtoMessage()
func (*BugExposureStreamRequest) ProtoReflect ¶
func (x *BugExposureStreamRequest) ProtoReflect() protoreflect.Message
func (*BugExposureStreamRequest) Reset ¶
func (x *BugExposureStreamRequest) Reset()
func (*BugExposureStreamRequest) String ¶
func (x *BugExposureStreamRequest) String() string
type BugExposureStreamResponse ¶
type BugExposureStreamResponse 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 *BugExposure `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Time holds the timestamp of this BugExposure's last modification. Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Operation indicates how the BugExposure 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 (*BugExposureStreamResponse) Descriptor
deprecated
func (*BugExposureStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use BugExposureStreamResponse.ProtoReflect.Descriptor instead.
func (*BugExposureStreamResponse) GetTime ¶
func (x *BugExposureStreamResponse) GetTime() *timestamppb.Timestamp
func (*BugExposureStreamResponse) GetType ¶
func (x *BugExposureStreamResponse) GetType() subscriptions.Operation
func (*BugExposureStreamResponse) GetValue ¶
func (x *BugExposureStreamResponse) GetValue() *BugExposure
func (*BugExposureStreamResponse) ProtoMessage ¶
func (*BugExposureStreamResponse) ProtoMessage()
func (*BugExposureStreamResponse) ProtoReflect ¶
func (x *BugExposureStreamResponse) ProtoReflect() protoreflect.Message
func (*BugExposureStreamResponse) Reset ¶
func (x *BugExposureStreamResponse) Reset()
func (*BugExposureStreamResponse) String ¶
func (x *BugExposureStreamResponse) String() string
type HighestExposure ¶
type HighestExposure int32
HighestExposure is an enumeration that defines the options for highest exposure
const ( // If not given this will be the default value // and it will compute devices with // any highest exposure HighestExposure_HIGHEST_EXPOSURE_UNSPECIFIED HighestExposure = 0 // Not exposed to bugs HighestExposure_HIGHEST_EXPOSURE_NONE HighestExposure = 1 // Highest exposure is to a low priority bug HighestExposure_HIGHEST_EXPOSURE_LOW HighestExposure = 2 // Highest exposure is to a high priority bug HighestExposure_HIGHEST_EXPOSURE_HIGH HighestExposure = 3 )
func (HighestExposure) Descriptor ¶
func (HighestExposure) Descriptor() protoreflect.EnumDescriptor
func (HighestExposure) Enum ¶
func (x HighestExposure) Enum() *HighestExposure
func (HighestExposure) EnumDescriptor
deprecated
func (HighestExposure) EnumDescriptor() ([]byte, []int)
Deprecated: Use HighestExposure.Descriptor instead.
func (HighestExposure) Number ¶
func (x HighestExposure) Number() protoreflect.EnumNumber
func (HighestExposure) String ¶
func (x HighestExposure) String() string
func (HighestExposure) Type ¶
func (HighestExposure) Type() protoreflect.EnumType
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 UnimplementedBugExposureServiceServer ¶
type UnimplementedBugExposureServiceServer struct { }
UnimplementedBugExposureServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBugExposureServiceServer) GetMeta ¶
func (UnimplementedBugExposureServiceServer) GetMeta(context.Context, *BugExposureStreamRequest) (*MetaResponse, error)
func (UnimplementedBugExposureServiceServer) GetOne ¶
func (UnimplementedBugExposureServiceServer) GetOne(context.Context, *BugExposureRequest) (*BugExposureResponse, error)
func (UnimplementedBugExposureServiceServer) SubscribeMeta ¶
func (UnimplementedBugExposureServiceServer) SubscribeMeta(*BugExposureStreamRequest, BugExposureService_SubscribeMetaServer) error
type UnsafeBugExposureServiceServer ¶
type UnsafeBugExposureServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBugExposureServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BugExposureServiceServer will result in compilation errors.