779 lines
26 KiB
Go
779 lines
26 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"
|
|
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"`
|
|
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}
|
|
}
|
|
|
|
type DiscoverHierarchyReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Objects []*GalaxyObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,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
|
|
}
|
|
|
|
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"`
|
|
MxDataType int32 `protobuf:"varint,3,opt,name=mx_data_type,json=mxDataType,proto3" json:"mx_data_type,omitempty"`
|
|
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"`
|
|
MxAttributeCategory int32 `protobuf:"varint,8,opt,name=mx_attribute_category,json=mxAttributeCategory,proto3" json:"mx_attribute_category,omitempty"`
|
|
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
|
|
}
|
|
|
|
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\"\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\"\x1a\n" +
|
|
"\x18DiscoverHierarchyRequest\"V\n" +
|
|
"\x16DiscoverHierarchyReply\x12<\n" +
|
|
"\aobjects\x18\x01 \x03(\v2\".galaxy_repository.v1.GalaxyObjectR\aobjects\"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\aisAlarm2\xcc\x03\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\x01B#\xaa\x02 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, 10)
|
|
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
|
|
(*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp
|
|
}
|
|
var file_galaxy_repository_proto_depIdxs = []int32{
|
|
10, // 0: galaxy_repository.v1.GetLastDeployTimeReply.time_of_last_deploy:type_name -> google.protobuf.Timestamp
|
|
8, // 1: galaxy_repository.v1.DiscoverHierarchyReply.objects:type_name -> galaxy_repository.v1.GalaxyObject
|
|
10, // 2: galaxy_repository.v1.WatchDeployEventsRequest.last_seen_deploy_time:type_name -> google.protobuf.Timestamp
|
|
10, // 3: galaxy_repository.v1.DeployEvent.observed_at:type_name -> google.protobuf.Timestamp
|
|
10, // 4: galaxy_repository.v1.DeployEvent.time_of_last_deploy:type_name -> google.protobuf.Timestamp
|
|
9, // 5: galaxy_repository.v1.GalaxyObject.attributes:type_name -> galaxy_repository.v1.GalaxyAttribute
|
|
0, // 6: galaxy_repository.v1.GalaxyRepository.TestConnection:input_type -> galaxy_repository.v1.TestConnectionRequest
|
|
2, // 7: galaxy_repository.v1.GalaxyRepository.GetLastDeployTime:input_type -> galaxy_repository.v1.GetLastDeployTimeRequest
|
|
4, // 8: galaxy_repository.v1.GalaxyRepository.DiscoverHierarchy:input_type -> galaxy_repository.v1.DiscoverHierarchyRequest
|
|
6, // 9: galaxy_repository.v1.GalaxyRepository.WatchDeployEvents:input_type -> galaxy_repository.v1.WatchDeployEventsRequest
|
|
1, // 10: galaxy_repository.v1.GalaxyRepository.TestConnection:output_type -> galaxy_repository.v1.TestConnectionReply
|
|
3, // 11: galaxy_repository.v1.GalaxyRepository.GetLastDeployTime:output_type -> galaxy_repository.v1.GetLastDeployTimeReply
|
|
5, // 12: galaxy_repository.v1.GalaxyRepository.DiscoverHierarchy:output_type -> galaxy_repository.v1.DiscoverHierarchyReply
|
|
7, // 13: galaxy_repository.v1.GalaxyRepository.WatchDeployEvents:output_type -> galaxy_repository.v1.DeployEvent
|
|
10, // [10:14] is the sub-list for method output_type
|
|
6, // [6:10] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] 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
|
|
}
|
|
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: 10,
|
|
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
|
|
}
|