1272 lines
44 KiB
Go
1272 lines
44 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v7.34.1
|
|
// source: galaxy_repository.proto
|
|
|
|
package generated
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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)
|
|
)
|
|
|
|
type TestConnectionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TestConnectionRequest) Reset() {
|
|
*x = TestConnectionRequest{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TestConnectionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TestConnectionRequest) ProtoMessage() {}
|
|
|
|
func (x *TestConnectionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TestConnectionRequest.ProtoReflect.Descriptor instead.
|
|
func (*TestConnectionRequest) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type TestConnectionReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TestConnectionReply) Reset() {
|
|
*x = TestConnectionReply{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TestConnectionReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TestConnectionReply) ProtoMessage() {}
|
|
|
|
func (x *TestConnectionReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TestConnectionReply.ProtoReflect.Descriptor instead.
|
|
func (*TestConnectionReply) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *TestConnectionReply) GetOk() bool {
|
|
if x != nil {
|
|
return x.Ok
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetLastDeployTimeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetLastDeployTimeRequest) Reset() {
|
|
*x = GetLastDeployTimeRequest{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetLastDeployTimeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLastDeployTimeRequest) ProtoMessage() {}
|
|
|
|
func (x *GetLastDeployTimeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetLastDeployTimeRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetLastDeployTimeRequest) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type GetLastDeployTimeReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Present bool `protobuf:"varint,1,opt,name=present,proto3" json:"present,omitempty"`
|
|
TimeOfLastDeploy *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time_of_last_deploy,json=timeOfLastDeploy,proto3" json:"time_of_last_deploy,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetLastDeployTimeReply) Reset() {
|
|
*x = GetLastDeployTimeReply{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetLastDeployTimeReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLastDeployTimeReply) ProtoMessage() {}
|
|
|
|
func (x *GetLastDeployTimeReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetLastDeployTimeReply.ProtoReflect.Descriptor instead.
|
|
func (*GetLastDeployTimeReply) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetLastDeployTimeReply) GetPresent() bool {
|
|
if x != nil {
|
|
return x.Present
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetLastDeployTimeReply) GetTimeOfLastDeploy() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.TimeOfLastDeploy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DiscoverHierarchyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Maximum number of objects to return. The server applies its default when
|
|
// unset and rejects non-positive values.
|
|
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
// Opaque token returned by a previous DiscoverHierarchy response.
|
|
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
|
|
// Optional. When set, return only this object and its descendants.
|
|
// Empty = full hierarchy.
|
|
//
|
|
// Types that are valid to be assigned to Root:
|
|
//
|
|
// *DiscoverHierarchyRequest_RootGobjectId
|
|
// *DiscoverHierarchyRequest_RootTagName
|
|
// *DiscoverHierarchyRequest_RootContainedPath
|
|
Root isDiscoverHierarchyRequest_Root `protobuf_oneof:"root"`
|
|
// Optional. Cap on descendant depth from root. Zero returns only the root.
|
|
// Unset means unlimited depth.
|
|
MaxDepth *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=max_depth,json=maxDepth,proto3" json:"max_depth,omitempty"`
|
|
// Optional object category id filters.
|
|
CategoryIds []int32 `protobuf:"varint,7,rep,packed,name=category_ids,json=categoryIds,proto3" json:"category_ids,omitempty"`
|
|
// Optional case-insensitive substring filters against template names.
|
|
TemplateChainContains []string `protobuf:"bytes,8,rep,name=template_chain_contains,json=templateChainContains,proto3" json:"template_chain_contains,omitempty"`
|
|
// Optional anchored, case-insensitive glob over object tag_name.
|
|
TagNameGlob string `protobuf:"bytes,9,opt,name=tag_name_glob,json=tagNameGlob,proto3" json:"tag_name_glob,omitempty"`
|
|
// Optional. Unset or true includes attributes. False returns object skeletons.
|
|
IncludeAttributes *bool `protobuf:"varint,10,opt,name=include_attributes,json=includeAttributes,proto3,oneof" json:"include_attributes,omitempty"`
|
|
// Optional. Return only objects with at least one alarm-bearing attribute.
|
|
AlarmBearingOnly bool `protobuf:"varint,11,opt,name=alarm_bearing_only,json=alarmBearingOnly,proto3" json:"alarm_bearing_only,omitempty"`
|
|
// Optional. Return only objects with at least one historized attribute.
|
|
HistorizedOnly bool `protobuf:"varint,12,opt,name=historized_only,json=historizedOnly,proto3" json:"historized_only,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) Reset() {
|
|
*x = DiscoverHierarchyRequest{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DiscoverHierarchyRequest) ProtoMessage() {}
|
|
|
|
func (x *DiscoverHierarchyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DiscoverHierarchyRequest.ProtoReflect.Descriptor instead.
|
|
func (*DiscoverHierarchyRequest) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetPageToken() string {
|
|
if x != nil {
|
|
return x.PageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetRoot() isDiscoverHierarchyRequest_Root {
|
|
if x != nil {
|
|
return x.Root
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetRootGobjectId() int32 {
|
|
if x != nil {
|
|
if x, ok := x.Root.(*DiscoverHierarchyRequest_RootGobjectId); ok {
|
|
return x.RootGobjectId
|
|
}
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetRootTagName() string {
|
|
if x != nil {
|
|
if x, ok := x.Root.(*DiscoverHierarchyRequest_RootTagName); ok {
|
|
return x.RootTagName
|
|
}
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetRootContainedPath() string {
|
|
if x != nil {
|
|
if x, ok := x.Root.(*DiscoverHierarchyRequest_RootContainedPath); ok {
|
|
return x.RootContainedPath
|
|
}
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetMaxDepth() *wrapperspb.Int32Value {
|
|
if x != nil {
|
|
return x.MaxDepth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetCategoryIds() []int32 {
|
|
if x != nil {
|
|
return x.CategoryIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetTemplateChainContains() []string {
|
|
if x != nil {
|
|
return x.TemplateChainContains
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetTagNameGlob() string {
|
|
if x != nil {
|
|
return x.TagNameGlob
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetIncludeAttributes() bool {
|
|
if x != nil && x.IncludeAttributes != nil {
|
|
return *x.IncludeAttributes
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetAlarmBearingOnly() bool {
|
|
if x != nil {
|
|
return x.AlarmBearingOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DiscoverHierarchyRequest) GetHistorizedOnly() bool {
|
|
if x != nil {
|
|
return x.HistorizedOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
type isDiscoverHierarchyRequest_Root interface {
|
|
isDiscoverHierarchyRequest_Root()
|
|
}
|
|
|
|
type DiscoverHierarchyRequest_RootGobjectId struct {
|
|
RootGobjectId int32 `protobuf:"varint,3,opt,name=root_gobject_id,json=rootGobjectId,proto3,oneof"`
|
|
}
|
|
|
|
type DiscoverHierarchyRequest_RootTagName struct {
|
|
RootTagName string `protobuf:"bytes,4,opt,name=root_tag_name,json=rootTagName,proto3,oneof"`
|
|
}
|
|
|
|
type DiscoverHierarchyRequest_RootContainedPath struct {
|
|
RootContainedPath string `protobuf:"bytes,5,opt,name=root_contained_path,json=rootContainedPath,proto3,oneof"`
|
|
}
|
|
|
|
func (*DiscoverHierarchyRequest_RootGobjectId) isDiscoverHierarchyRequest_Root() {}
|
|
|
|
func (*DiscoverHierarchyRequest_RootTagName) isDiscoverHierarchyRequest_Root() {}
|
|
|
|
func (*DiscoverHierarchyRequest_RootContainedPath) isDiscoverHierarchyRequest_Root() {}
|
|
|
|
type DiscoverHierarchyReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Objects []*GalaxyObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
|
|
// Non-empty when another page is available.
|
|
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
// Total number of objects in the cached hierarchy at the time of the call.
|
|
TotalObjectCount int32 `protobuf:"varint,3,opt,name=total_object_count,json=totalObjectCount,proto3" json:"total_object_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DiscoverHierarchyReply) Reset() {
|
|
*x = DiscoverHierarchyReply{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DiscoverHierarchyReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DiscoverHierarchyReply) ProtoMessage() {}
|
|
|
|
func (x *DiscoverHierarchyReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DiscoverHierarchyReply.ProtoReflect.Descriptor instead.
|
|
func (*DiscoverHierarchyReply) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DiscoverHierarchyReply) GetObjects() []*GalaxyObject {
|
|
if x != nil {
|
|
return x.Objects
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DiscoverHierarchyReply) GetNextPageToken() string {
|
|
if x != nil {
|
|
return x.NextPageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DiscoverHierarchyReply) GetTotalObjectCount() int32 {
|
|
if x != nil {
|
|
return x.TotalObjectCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WatchDeployEventsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Optional. When set, the bootstrap event is suppressed if the cached deploy
|
|
// time matches this value. Future events are still emitted normally.
|
|
LastSeenDeployTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_seen_deploy_time,json=lastSeenDeployTime,proto3" json:"last_seen_deploy_time,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WatchDeployEventsRequest) Reset() {
|
|
*x = WatchDeployEventsRequest{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WatchDeployEventsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WatchDeployEventsRequest) ProtoMessage() {}
|
|
|
|
func (x *WatchDeployEventsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WatchDeployEventsRequest.ProtoReflect.Descriptor instead.
|
|
func (*WatchDeployEventsRequest) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *WatchDeployEventsRequest) GetLastSeenDeployTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastSeenDeployTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeployEvent struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Monotonically increasing per server start. Gaps indicate dropped events.
|
|
Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
// Server wall-clock when the cache observed the deploy.
|
|
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
|
|
// Galaxy.time_of_last_deploy. Absent only when the Galaxy table reports null.
|
|
TimeOfLastDeploy *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time_of_last_deploy,json=timeOfLastDeploy,proto3" json:"time_of_last_deploy,omitempty"`
|
|
TimeOfLastDeployPresent bool `protobuf:"varint,4,opt,name=time_of_last_deploy_present,json=timeOfLastDeployPresent,proto3" json:"time_of_last_deploy_present,omitempty"`
|
|
ObjectCount int32 `protobuf:"varint,5,opt,name=object_count,json=objectCount,proto3" json:"object_count,omitempty"`
|
|
AttributeCount int32 `protobuf:"varint,6,opt,name=attribute_count,json=attributeCount,proto3" json:"attribute_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeployEvent) Reset() {
|
|
*x = DeployEvent{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeployEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeployEvent) ProtoMessage() {}
|
|
|
|
func (x *DeployEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeployEvent.ProtoReflect.Descriptor instead.
|
|
func (*DeployEvent) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *DeployEvent) GetSequence() uint64 {
|
|
if x != nil {
|
|
return x.Sequence
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeployEvent) GetObservedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ObservedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeployEvent) GetTimeOfLastDeploy() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.TimeOfLastDeploy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeployEvent) GetTimeOfLastDeployPresent() bool {
|
|
if x != nil {
|
|
return x.TimeOfLastDeployPresent
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeployEvent) GetObjectCount() int32 {
|
|
if x != nil {
|
|
return x.ObjectCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeployEvent) GetAttributeCount() int32 {
|
|
if x != nil {
|
|
return x.AttributeCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GalaxyObject struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GobjectId int32 `protobuf:"varint,1,opt,name=gobject_id,json=gobjectId,proto3" json:"gobject_id,omitempty"`
|
|
TagName string `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
|
|
ContainedName string `protobuf:"bytes,3,opt,name=contained_name,json=containedName,proto3" json:"contained_name,omitempty"`
|
|
BrowseName string `protobuf:"bytes,4,opt,name=browse_name,json=browseName,proto3" json:"browse_name,omitempty"`
|
|
ParentGobjectId int32 `protobuf:"varint,5,opt,name=parent_gobject_id,json=parentGobjectId,proto3" json:"parent_gobject_id,omitempty"`
|
|
IsArea bool `protobuf:"varint,6,opt,name=is_area,json=isArea,proto3" json:"is_area,omitempty"`
|
|
CategoryId int32 `protobuf:"varint,7,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
|
|
HostedByGobjectId int32 `protobuf:"varint,8,opt,name=hosted_by_gobject_id,json=hostedByGobjectId,proto3" json:"hosted_by_gobject_id,omitempty"`
|
|
TemplateChain []string `protobuf:"bytes,9,rep,name=template_chain,json=templateChain,proto3" json:"template_chain,omitempty"`
|
|
Attributes []*GalaxyAttribute `protobuf:"bytes,10,rep,name=attributes,proto3" json:"attributes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GalaxyObject) Reset() {
|
|
*x = GalaxyObject{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GalaxyObject) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GalaxyObject) ProtoMessage() {}
|
|
|
|
func (x *GalaxyObject) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GalaxyObject.ProtoReflect.Descriptor instead.
|
|
func (*GalaxyObject) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GalaxyObject) GetGobjectId() int32 {
|
|
if x != nil {
|
|
return x.GobjectId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GalaxyObject) GetTagName() string {
|
|
if x != nil {
|
|
return x.TagName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GalaxyObject) GetContainedName() string {
|
|
if x != nil {
|
|
return x.ContainedName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GalaxyObject) GetBrowseName() string {
|
|
if x != nil {
|
|
return x.BrowseName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GalaxyObject) GetParentGobjectId() int32 {
|
|
if x != nil {
|
|
return x.ParentGobjectId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GalaxyObject) GetIsArea() bool {
|
|
if x != nil {
|
|
return x.IsArea
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GalaxyObject) GetCategoryId() int32 {
|
|
if x != nil {
|
|
return x.CategoryId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GalaxyObject) GetHostedByGobjectId() int32 {
|
|
if x != nil {
|
|
return x.HostedByGobjectId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GalaxyObject) GetTemplateChain() []string {
|
|
if x != nil {
|
|
return x.TemplateChain
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GalaxyObject) GetAttributes() []*GalaxyAttribute {
|
|
if x != nil {
|
|
return x.Attributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GalaxyAttribute struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"`
|
|
FullTagReference string `protobuf:"bytes,2,opt,name=full_tag_reference,json=fullTagReference,proto3" json:"full_tag_reference,omitempty"`
|
|
// Raw Galaxy SQL `dbo.data_type` identifier, passed through unchanged.
|
|
// This is NOT a member of `mxaccess_gateway.v1.MxDataType` — Galaxy's
|
|
// type enumeration is distinct from MXAccess's wire data-type enum and
|
|
// the two must not be cast or compared. The GalaxyRepository service is
|
|
// metadata-only and deliberately does not share types with
|
|
// mxaccess_gateway.proto. See docs/GalaxyRepository.md.
|
|
MxDataType int32 `protobuf:"varint,3,opt,name=mx_data_type,json=mxDataType,proto3" json:"mx_data_type,omitempty"`
|
|
// Human-readable name from Galaxy's `dbo.data_type` table (e.g. "Float",
|
|
// "Integer", "Boolean"). Free-form Galaxy text; not a stable enum.
|
|
DataTypeName string `protobuf:"bytes,4,opt,name=data_type_name,json=dataTypeName,proto3" json:"data_type_name,omitempty"`
|
|
IsArray bool `protobuf:"varint,5,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"`
|
|
ArrayDimension int32 `protobuf:"varint,6,opt,name=array_dimension,json=arrayDimension,proto3" json:"array_dimension,omitempty"`
|
|
ArrayDimensionPresent bool `protobuf:"varint,7,opt,name=array_dimension_present,json=arrayDimensionPresent,proto3" json:"array_dimension_present,omitempty"`
|
|
// Raw Galaxy SQL attribute-category identifier, passed through unchanged.
|
|
// Galaxy-specific; not mapped to any gateway enum. See
|
|
// docs/GalaxyRepository.md.
|
|
MxAttributeCategory int32 `protobuf:"varint,8,opt,name=mx_attribute_category,json=mxAttributeCategory,proto3" json:"mx_attribute_category,omitempty"`
|
|
// Raw Galaxy SQL security-classification identifier, passed through
|
|
// unchanged. Galaxy-specific; not mapped to any gateway enum. See
|
|
// docs/GalaxyRepository.md.
|
|
SecurityClassification int32 `protobuf:"varint,9,opt,name=security_classification,json=securityClassification,proto3" json:"security_classification,omitempty"`
|
|
IsHistorized bool `protobuf:"varint,10,opt,name=is_historized,json=isHistorized,proto3" json:"is_historized,omitempty"`
|
|
IsAlarm bool `protobuf:"varint,11,opt,name=is_alarm,json=isAlarm,proto3" json:"is_alarm,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GalaxyAttribute) Reset() {
|
|
*x = GalaxyAttribute{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GalaxyAttribute) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GalaxyAttribute) ProtoMessage() {}
|
|
|
|
func (x *GalaxyAttribute) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GalaxyAttribute.ProtoReflect.Descriptor instead.
|
|
func (*GalaxyAttribute) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GalaxyAttribute) GetAttributeName() string {
|
|
if x != nil {
|
|
return x.AttributeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GalaxyAttribute) GetFullTagReference() string {
|
|
if x != nil {
|
|
return x.FullTagReference
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GalaxyAttribute) GetMxDataType() int32 {
|
|
if x != nil {
|
|
return x.MxDataType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GalaxyAttribute) GetDataTypeName() string {
|
|
if x != nil {
|
|
return x.DataTypeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GalaxyAttribute) GetIsArray() bool {
|
|
if x != nil {
|
|
return x.IsArray
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GalaxyAttribute) GetArrayDimension() int32 {
|
|
if x != nil {
|
|
return x.ArrayDimension
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GalaxyAttribute) GetArrayDimensionPresent() bool {
|
|
if x != nil {
|
|
return x.ArrayDimensionPresent
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GalaxyAttribute) GetMxAttributeCategory() int32 {
|
|
if x != nil {
|
|
return x.MxAttributeCategory
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GalaxyAttribute) GetSecurityClassification() int32 {
|
|
if x != nil {
|
|
return x.SecurityClassification
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GalaxyAttribute) GetIsHistorized() bool {
|
|
if x != nil {
|
|
return x.IsHistorized
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GalaxyAttribute) GetIsAlarm() bool {
|
|
if x != nil {
|
|
return x.IsAlarm
|
|
}
|
|
return false
|
|
}
|
|
|
|
type BrowseChildrenRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Parent selector. Empty oneof returns root objects (parent_gobject_id == 0).
|
|
//
|
|
// Types that are valid to be assigned to Parent:
|
|
//
|
|
// *BrowseChildrenRequest_ParentGobjectId
|
|
// *BrowseChildrenRequest_ParentTagName
|
|
// *BrowseChildrenRequest_ParentContainedPath
|
|
Parent isBrowseChildrenRequest_Parent `protobuf_oneof:"parent"`
|
|
// Maximum number of direct children to return. Server default 500; cap 5000.
|
|
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
// Opaque token returned by a previous BrowseChildren response. Bound to the
|
|
// cache sequence, parent selector, and the filter set; a mismatch returns
|
|
// InvalidArgument.
|
|
PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
|
|
// --- Filter parity with DiscoverHierarchy. AND-combined. ---
|
|
CategoryIds []int32 `protobuf:"varint,6,rep,packed,name=category_ids,json=categoryIds,proto3" json:"category_ids,omitempty"`
|
|
TemplateChainContains []string `protobuf:"bytes,7,rep,name=template_chain_contains,json=templateChainContains,proto3" json:"template_chain_contains,omitempty"`
|
|
TagNameGlob string `protobuf:"bytes,8,opt,name=tag_name_glob,json=tagNameGlob,proto3" json:"tag_name_glob,omitempty"`
|
|
IncludeAttributes *bool `protobuf:"varint,9,opt,name=include_attributes,json=includeAttributes,proto3,oneof" json:"include_attributes,omitempty"`
|
|
AlarmBearingOnly bool `protobuf:"varint,10,opt,name=alarm_bearing_only,json=alarmBearingOnly,proto3" json:"alarm_bearing_only,omitempty"`
|
|
HistorizedOnly bool `protobuf:"varint,11,opt,name=historized_only,json=historizedOnly,proto3" json:"historized_only,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) Reset() {
|
|
*x = BrowseChildrenRequest{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BrowseChildrenRequest) ProtoMessage() {}
|
|
|
|
func (x *BrowseChildrenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BrowseChildrenRequest.ProtoReflect.Descriptor instead.
|
|
func (*BrowseChildrenRequest) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetParent() isBrowseChildrenRequest_Parent {
|
|
if x != nil {
|
|
return x.Parent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetParentGobjectId() int32 {
|
|
if x != nil {
|
|
if x, ok := x.Parent.(*BrowseChildrenRequest_ParentGobjectId); ok {
|
|
return x.ParentGobjectId
|
|
}
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetParentTagName() string {
|
|
if x != nil {
|
|
if x, ok := x.Parent.(*BrowseChildrenRequest_ParentTagName); ok {
|
|
return x.ParentTagName
|
|
}
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetParentContainedPath() string {
|
|
if x != nil {
|
|
if x, ok := x.Parent.(*BrowseChildrenRequest_ParentContainedPath); ok {
|
|
return x.ParentContainedPath
|
|
}
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetPageToken() string {
|
|
if x != nil {
|
|
return x.PageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetCategoryIds() []int32 {
|
|
if x != nil {
|
|
return x.CategoryIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetTemplateChainContains() []string {
|
|
if x != nil {
|
|
return x.TemplateChainContains
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetTagNameGlob() string {
|
|
if x != nil {
|
|
return x.TagNameGlob
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetIncludeAttributes() bool {
|
|
if x != nil && x.IncludeAttributes != nil {
|
|
return *x.IncludeAttributes
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetAlarmBearingOnly() bool {
|
|
if x != nil {
|
|
return x.AlarmBearingOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BrowseChildrenRequest) GetHistorizedOnly() bool {
|
|
if x != nil {
|
|
return x.HistorizedOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
type isBrowseChildrenRequest_Parent interface {
|
|
isBrowseChildrenRequest_Parent()
|
|
}
|
|
|
|
type BrowseChildrenRequest_ParentGobjectId struct {
|
|
ParentGobjectId int32 `protobuf:"varint,1,opt,name=parent_gobject_id,json=parentGobjectId,proto3,oneof"`
|
|
}
|
|
|
|
type BrowseChildrenRequest_ParentTagName struct {
|
|
ParentTagName string `protobuf:"bytes,2,opt,name=parent_tag_name,json=parentTagName,proto3,oneof"`
|
|
}
|
|
|
|
type BrowseChildrenRequest_ParentContainedPath struct {
|
|
ParentContainedPath string `protobuf:"bytes,3,opt,name=parent_contained_path,json=parentContainedPath,proto3,oneof"`
|
|
}
|
|
|
|
func (*BrowseChildrenRequest_ParentGobjectId) isBrowseChildrenRequest_Parent() {}
|
|
|
|
func (*BrowseChildrenRequest_ParentTagName) isBrowseChildrenRequest_Parent() {}
|
|
|
|
func (*BrowseChildrenRequest_ParentContainedPath) isBrowseChildrenRequest_Parent() {}
|
|
|
|
type BrowseChildrenReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Direct children matching the filter, sorted areas-first then by
|
|
// case-insensitive display name (same order as the dashboard tree).
|
|
Children []*GalaxyObject `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
|
|
// Non-empty when another page of siblings is available.
|
|
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
// Total matching direct children of the parent (post-filter).
|
|
TotalChildCount int32 `protobuf:"varint,3,opt,name=total_child_count,json=totalChildCount,proto3" json:"total_child_count,omitempty"`
|
|
// Parallel array, indexed with `children`. True when the child has at least
|
|
// one matching descendant under the same filter set. Lets a UI choose
|
|
// whether to draw an expand triangle without an extra round trip.
|
|
ChildHasChildren []bool `protobuf:"varint,4,rep,packed,name=child_has_children,json=childHasChildren,proto3" json:"child_has_children,omitempty"`
|
|
// Cache sequence this reply was projected from. Clients may pass it back as
|
|
// part of the page_token contract. Mismatch on the next page -> InvalidArgument.
|
|
CacheSequence uint64 `protobuf:"varint,5,opt,name=cache_sequence,json=cacheSequence,proto3" json:"cache_sequence,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BrowseChildrenReply) Reset() {
|
|
*x = BrowseChildrenReply{}
|
|
mi := &file_galaxy_repository_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BrowseChildrenReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BrowseChildrenReply) ProtoMessage() {}
|
|
|
|
func (x *BrowseChildrenReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_galaxy_repository_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BrowseChildrenReply.ProtoReflect.Descriptor instead.
|
|
func (*BrowseChildrenReply) Descriptor() ([]byte, []int) {
|
|
return file_galaxy_repository_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *BrowseChildrenReply) GetChildren() []*GalaxyObject {
|
|
if x != nil {
|
|
return x.Children
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BrowseChildrenReply) GetNextPageToken() string {
|
|
if x != nil {
|
|
return x.NextPageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BrowseChildrenReply) GetTotalChildCount() int32 {
|
|
if x != nil {
|
|
return x.TotalChildCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BrowseChildrenReply) GetChildHasChildren() []bool {
|
|
if x != nil {
|
|
return x.ChildHasChildren
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BrowseChildrenReply) GetCacheSequence() uint64 {
|
|
if x != nil {
|
|
return x.CacheSequence
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_galaxy_repository_proto protoreflect.FileDescriptor
|
|
|
|
const file_galaxy_repository_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x17galaxy_repository.proto\x12\x14galaxy_repository.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x17\n" +
|
|
"\x15TestConnectionRequest\"%\n" +
|
|
"\x13TestConnectionReply\x12\x0e\n" +
|
|
"\x02ok\x18\x01 \x01(\bR\x02ok\"\x1a\n" +
|
|
"\x18GetLastDeployTimeRequest\"}\n" +
|
|
"\x16GetLastDeployTimeReply\x12\x18\n" +
|
|
"\apresent\x18\x01 \x01(\bR\apresent\x12I\n" +
|
|
"\x13time_of_last_deploy\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x10timeOfLastDeploy\"\xbb\x04\n" +
|
|
"\x18DiscoverHierarchyRequest\x12\x1b\n" +
|
|
"\tpage_size\x18\x01 \x01(\x05R\bpageSize\x12\x1d\n" +
|
|
"\n" +
|
|
"page_token\x18\x02 \x01(\tR\tpageToken\x12(\n" +
|
|
"\x0froot_gobject_id\x18\x03 \x01(\x05H\x00R\rrootGobjectId\x12$\n" +
|
|
"\rroot_tag_name\x18\x04 \x01(\tH\x00R\vrootTagName\x120\n" +
|
|
"\x13root_contained_path\x18\x05 \x01(\tH\x00R\x11rootContainedPath\x128\n" +
|
|
"\tmax_depth\x18\x06 \x01(\v2\x1b.google.protobuf.Int32ValueR\bmaxDepth\x12!\n" +
|
|
"\fcategory_ids\x18\a \x03(\x05R\vcategoryIds\x126\n" +
|
|
"\x17template_chain_contains\x18\b \x03(\tR\x15templateChainContains\x12\"\n" +
|
|
"\rtag_name_glob\x18\t \x01(\tR\vtagNameGlob\x122\n" +
|
|
"\x12include_attributes\x18\n" +
|
|
" \x01(\bH\x01R\x11includeAttributes\x88\x01\x01\x12,\n" +
|
|
"\x12alarm_bearing_only\x18\v \x01(\bR\x10alarmBearingOnly\x12'\n" +
|
|
"\x0fhistorized_only\x18\f \x01(\bR\x0ehistorizedOnlyB\x06\n" +
|
|
"\x04rootB\x15\n" +
|
|
"\x13_include_attributes\"\xac\x01\n" +
|
|
"\x16DiscoverHierarchyReply\x12<\n" +
|
|
"\aobjects\x18\x01 \x03(\v2\".galaxy_repository.v1.GalaxyObjectR\aobjects\x12&\n" +
|
|
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12,\n" +
|
|
"\x12total_object_count\x18\x03 \x01(\x05R\x10totalObjectCount\"i\n" +
|
|
"\x18WatchDeployEventsRequest\x12M\n" +
|
|
"\x15last_seen_deploy_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\x12lastSeenDeployTime\"\xbb\x02\n" +
|
|
"\vDeployEvent\x12\x1a\n" +
|
|
"\bsequence\x18\x01 \x01(\x04R\bsequence\x12;\n" +
|
|
"\vobserved_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"observedAt\x12I\n" +
|
|
"\x13time_of_last_deploy\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x10timeOfLastDeploy\x12<\n" +
|
|
"\x1btime_of_last_deploy_present\x18\x04 \x01(\bR\x17timeOfLastDeployPresent\x12!\n" +
|
|
"\fobject_count\x18\x05 \x01(\x05R\vobjectCount\x12'\n" +
|
|
"\x0fattribute_count\x18\x06 \x01(\x05R\x0eattributeCount\"\x95\x03\n" +
|
|
"\fGalaxyObject\x12\x1d\n" +
|
|
"\n" +
|
|
"gobject_id\x18\x01 \x01(\x05R\tgobjectId\x12\x19\n" +
|
|
"\btag_name\x18\x02 \x01(\tR\atagName\x12%\n" +
|
|
"\x0econtained_name\x18\x03 \x01(\tR\rcontainedName\x12\x1f\n" +
|
|
"\vbrowse_name\x18\x04 \x01(\tR\n" +
|
|
"browseName\x12*\n" +
|
|
"\x11parent_gobject_id\x18\x05 \x01(\x05R\x0fparentGobjectId\x12\x17\n" +
|
|
"\ais_area\x18\x06 \x01(\bR\x06isArea\x12\x1f\n" +
|
|
"\vcategory_id\x18\a \x01(\x05R\n" +
|
|
"categoryId\x12/\n" +
|
|
"\x14hosted_by_gobject_id\x18\b \x01(\x05R\x11hostedByGobjectId\x12%\n" +
|
|
"\x0etemplate_chain\x18\t \x03(\tR\rtemplateChain\x12E\n" +
|
|
"\n" +
|
|
"attributes\x18\n" +
|
|
" \x03(\v2%.galaxy_repository.v1.GalaxyAttributeR\n" +
|
|
"attributes\"\xd7\x03\n" +
|
|
"\x0fGalaxyAttribute\x12%\n" +
|
|
"\x0eattribute_name\x18\x01 \x01(\tR\rattributeName\x12,\n" +
|
|
"\x12full_tag_reference\x18\x02 \x01(\tR\x10fullTagReference\x12 \n" +
|
|
"\fmx_data_type\x18\x03 \x01(\x05R\n" +
|
|
"mxDataType\x12$\n" +
|
|
"\x0edata_type_name\x18\x04 \x01(\tR\fdataTypeName\x12\x19\n" +
|
|
"\bis_array\x18\x05 \x01(\bR\aisArray\x12'\n" +
|
|
"\x0farray_dimension\x18\x06 \x01(\x05R\x0earrayDimension\x126\n" +
|
|
"\x17array_dimension_present\x18\a \x01(\bR\x15arrayDimensionPresent\x122\n" +
|
|
"\x15mx_attribute_category\x18\b \x01(\x05R\x13mxAttributeCategory\x127\n" +
|
|
"\x17security_classification\x18\t \x01(\x05R\x16securityClassification\x12#\n" +
|
|
"\ris_historized\x18\n" +
|
|
" \x01(\bR\fisHistorized\x12\x19\n" +
|
|
"\bis_alarm\x18\v \x01(\bR\aisAlarm\"\x8c\x04\n" +
|
|
"\x15BrowseChildrenRequest\x12,\n" +
|
|
"\x11parent_gobject_id\x18\x01 \x01(\x05H\x00R\x0fparentGobjectId\x12(\n" +
|
|
"\x0fparent_tag_name\x18\x02 \x01(\tH\x00R\rparentTagName\x124\n" +
|
|
"\x15parent_contained_path\x18\x03 \x01(\tH\x00R\x13parentContainedPath\x12\x1b\n" +
|
|
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x1d\n" +
|
|
"\n" +
|
|
"page_token\x18\x05 \x01(\tR\tpageToken\x12!\n" +
|
|
"\fcategory_ids\x18\x06 \x03(\x05R\vcategoryIds\x126\n" +
|
|
"\x17template_chain_contains\x18\a \x03(\tR\x15templateChainContains\x12\"\n" +
|
|
"\rtag_name_glob\x18\b \x01(\tR\vtagNameGlob\x122\n" +
|
|
"\x12include_attributes\x18\t \x01(\bH\x01R\x11includeAttributes\x88\x01\x01\x12,\n" +
|
|
"\x12alarm_bearing_only\x18\n" +
|
|
" \x01(\bR\x10alarmBearingOnly\x12'\n" +
|
|
"\x0fhistorized_only\x18\v \x01(\bR\x0ehistorizedOnlyB\b\n" +
|
|
"\x06parentB\x15\n" +
|
|
"\x13_include_attributes\"\xfe\x01\n" +
|
|
"\x13BrowseChildrenReply\x12>\n" +
|
|
"\bchildren\x18\x01 \x03(\v2\".galaxy_repository.v1.GalaxyObjectR\bchildren\x12&\n" +
|
|
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12*\n" +
|
|
"\x11total_child_count\x18\x03 \x01(\x05R\x0ftotalChildCount\x12,\n" +
|
|
"\x12child_has_children\x18\x04 \x03(\bR\x10childHasChildren\x12%\n" +
|
|
"\x0ecache_sequence\x18\x05 \x01(\x04R\rcacheSequence2\xb6\x04\n" +
|
|
"\x10GalaxyRepository\x12h\n" +
|
|
"\x0eTestConnection\x12+.galaxy_repository.v1.TestConnectionRequest\x1a).galaxy_repository.v1.TestConnectionReply\x12q\n" +
|
|
"\x11GetLastDeployTime\x12..galaxy_repository.v1.GetLastDeployTimeRequest\x1a,.galaxy_repository.v1.GetLastDeployTimeReply\x12q\n" +
|
|
"\x11DiscoverHierarchy\x12..galaxy_repository.v1.DiscoverHierarchyRequest\x1a,.galaxy_repository.v1.DiscoverHierarchyReply\x12h\n" +
|
|
"\x11WatchDeployEvents\x12..galaxy_repository.v1.WatchDeployEventsRequest\x1a!.galaxy_repository.v1.DeployEvent0\x01\x12h\n" +
|
|
"\x0eBrowseChildren\x12+.galaxy_repository.v1.BrowseChildrenRequest\x1a).galaxy_repository.v1.BrowseChildrenReplyB-\xaa\x02*ZB.MOM.WW.MxGateway.Contracts.Proto.Galaxyb\x06proto3"
|
|
|
|
var (
|
|
file_galaxy_repository_proto_rawDescOnce sync.Once
|
|
file_galaxy_repository_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_galaxy_repository_proto_rawDescGZIP() []byte {
|
|
file_galaxy_repository_proto_rawDescOnce.Do(func() {
|
|
file_galaxy_repository_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_galaxy_repository_proto_rawDesc), len(file_galaxy_repository_proto_rawDesc)))
|
|
})
|
|
return file_galaxy_repository_proto_rawDescData
|
|
}
|
|
|
|
var file_galaxy_repository_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
var file_galaxy_repository_proto_goTypes = []any{
|
|
(*TestConnectionRequest)(nil), // 0: galaxy_repository.v1.TestConnectionRequest
|
|
(*TestConnectionReply)(nil), // 1: galaxy_repository.v1.TestConnectionReply
|
|
(*GetLastDeployTimeRequest)(nil), // 2: galaxy_repository.v1.GetLastDeployTimeRequest
|
|
(*GetLastDeployTimeReply)(nil), // 3: galaxy_repository.v1.GetLastDeployTimeReply
|
|
(*DiscoverHierarchyRequest)(nil), // 4: galaxy_repository.v1.DiscoverHierarchyRequest
|
|
(*DiscoverHierarchyReply)(nil), // 5: galaxy_repository.v1.DiscoverHierarchyReply
|
|
(*WatchDeployEventsRequest)(nil), // 6: galaxy_repository.v1.WatchDeployEventsRequest
|
|
(*DeployEvent)(nil), // 7: galaxy_repository.v1.DeployEvent
|
|
(*GalaxyObject)(nil), // 8: galaxy_repository.v1.GalaxyObject
|
|
(*GalaxyAttribute)(nil), // 9: galaxy_repository.v1.GalaxyAttribute
|
|
(*BrowseChildrenRequest)(nil), // 10: galaxy_repository.v1.BrowseChildrenRequest
|
|
(*BrowseChildrenReply)(nil), // 11: galaxy_repository.v1.BrowseChildrenReply
|
|
(*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
|
|
(*wrapperspb.Int32Value)(nil), // 13: google.protobuf.Int32Value
|
|
}
|
|
var file_galaxy_repository_proto_depIdxs = []int32{
|
|
12, // 0: galaxy_repository.v1.GetLastDeployTimeReply.time_of_last_deploy:type_name -> google.protobuf.Timestamp
|
|
13, // 1: galaxy_repository.v1.DiscoverHierarchyRequest.max_depth:type_name -> google.protobuf.Int32Value
|
|
8, // 2: galaxy_repository.v1.DiscoverHierarchyReply.objects:type_name -> galaxy_repository.v1.GalaxyObject
|
|
12, // 3: galaxy_repository.v1.WatchDeployEventsRequest.last_seen_deploy_time:type_name -> google.protobuf.Timestamp
|
|
12, // 4: galaxy_repository.v1.DeployEvent.observed_at:type_name -> google.protobuf.Timestamp
|
|
12, // 5: galaxy_repository.v1.DeployEvent.time_of_last_deploy:type_name -> google.protobuf.Timestamp
|
|
9, // 6: galaxy_repository.v1.GalaxyObject.attributes:type_name -> galaxy_repository.v1.GalaxyAttribute
|
|
8, // 7: galaxy_repository.v1.BrowseChildrenReply.children:type_name -> galaxy_repository.v1.GalaxyObject
|
|
0, // 8: galaxy_repository.v1.GalaxyRepository.TestConnection:input_type -> galaxy_repository.v1.TestConnectionRequest
|
|
2, // 9: galaxy_repository.v1.GalaxyRepository.GetLastDeployTime:input_type -> galaxy_repository.v1.GetLastDeployTimeRequest
|
|
4, // 10: galaxy_repository.v1.GalaxyRepository.DiscoverHierarchy:input_type -> galaxy_repository.v1.DiscoverHierarchyRequest
|
|
6, // 11: galaxy_repository.v1.GalaxyRepository.WatchDeployEvents:input_type -> galaxy_repository.v1.WatchDeployEventsRequest
|
|
10, // 12: galaxy_repository.v1.GalaxyRepository.BrowseChildren:input_type -> galaxy_repository.v1.BrowseChildrenRequest
|
|
1, // 13: galaxy_repository.v1.GalaxyRepository.TestConnection:output_type -> galaxy_repository.v1.TestConnectionReply
|
|
3, // 14: galaxy_repository.v1.GalaxyRepository.GetLastDeployTime:output_type -> galaxy_repository.v1.GetLastDeployTimeReply
|
|
5, // 15: galaxy_repository.v1.GalaxyRepository.DiscoverHierarchy:output_type -> galaxy_repository.v1.DiscoverHierarchyReply
|
|
7, // 16: galaxy_repository.v1.GalaxyRepository.WatchDeployEvents:output_type -> galaxy_repository.v1.DeployEvent
|
|
11, // 17: galaxy_repository.v1.GalaxyRepository.BrowseChildren:output_type -> galaxy_repository.v1.BrowseChildrenReply
|
|
13, // [13:18] is the sub-list for method output_type
|
|
8, // [8:13] is the sub-list for method input_type
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
0, // [0:8] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_galaxy_repository_proto_init() }
|
|
func file_galaxy_repository_proto_init() {
|
|
if File_galaxy_repository_proto != nil {
|
|
return
|
|
}
|
|
file_galaxy_repository_proto_msgTypes[4].OneofWrappers = []any{
|
|
(*DiscoverHierarchyRequest_RootGobjectId)(nil),
|
|
(*DiscoverHierarchyRequest_RootTagName)(nil),
|
|
(*DiscoverHierarchyRequest_RootContainedPath)(nil),
|
|
}
|
|
file_galaxy_repository_proto_msgTypes[10].OneofWrappers = []any{
|
|
(*BrowseChildrenRequest_ParentGobjectId)(nil),
|
|
(*BrowseChildrenRequest_ParentTagName)(nil),
|
|
(*BrowseChildrenRequest_ParentContainedPath)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_galaxy_repository_proto_rawDesc), len(file_galaxy_repository_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 12,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_galaxy_repository_proto_goTypes,
|
|
DependencyIndexes: file_galaxy_repository_proto_depIdxs,
|
|
MessageInfos: file_galaxy_repository_proto_msgTypes,
|
|
}.Build()
|
|
File_galaxy_repository_proto = out.File
|
|
file_galaxy_repository_proto_goTypes = nil
|
|
file_galaxy_repository_proto_depIdxs = nil
|
|
}
|