annotations

package
v0.0.0-...-94cd6a6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Enum_Scope_name = map[int32]string{
		0: "SCOPE_UNSPECIFIED",
		1: "SCOPE_ADMIN",
		2: "SCOPE_USER",
	}
	Enum_Scope_value = map[string]int32{
		"SCOPE_UNSPECIFIED": 0,
		"SCOPE_ADMIN":       1,
		"SCOPE_USER":        2,
	}
)

Enum value maps for Enum_Scope.

View Source
var (
	// optional cloudstack.annotations.FieldOptions field = 1000;
	E_Field = &file_cloudstack_annotations_annotations_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional cloudstack.annotations.MessageOptions message = 1000;
	E_Message = &file_cloudstack_annotations_annotations_proto_extTypes[1]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var (
	// optional cloudstack.annotations.MethodOptions method = 1000;
	E_Method = &file_cloudstack_annotations_annotations_proto_extTypes[3]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional cloudstack.annotations.ServiceOptions service = 1000;
	E_Service = &file_cloudstack_annotations_annotations_proto_extTypes[2]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var File_cloudstack_annotations_annotations_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Enum

type Enum struct {
	// contains filtered or unexported fields
}

func (*Enum) Descriptor deprecated

func (*Enum) Descriptor() ([]byte, []int)

Deprecated: Use Enum.ProtoReflect.Descriptor instead.

func (*Enum) ProtoMessage

func (*Enum) ProtoMessage()

func (*Enum) ProtoReflect

func (x *Enum) ProtoReflect() protoreflect.Message

func (*Enum) Reset

func (x *Enum) Reset()

func (*Enum) String

func (x *Enum) String() string

type Enum_Scope

type Enum_Scope int32
const (
	Enum_SCOPE_UNSPECIFIED Enum_Scope = 0
	Enum_SCOPE_ADMIN       Enum_Scope = 1
	Enum_SCOPE_USER        Enum_Scope = 2
)

func (Enum_Scope) Descriptor

func (Enum_Scope) Descriptor() protoreflect.EnumDescriptor

func (Enum_Scope) Enum

func (x Enum_Scope) Enum() *Enum_Scope

func (Enum_Scope) EnumDescriptor deprecated

func (Enum_Scope) EnumDescriptor() ([]byte, []int)

Deprecated: Use Enum_Scope.Descriptor instead.

func (Enum_Scope) Number

func (x Enum_Scope) Number() protoreflect.EnumNumber

func (Enum_Scope) String

func (x Enum_Scope) String() string

func (Enum_Scope) Type

type FieldOptions

type FieldOptions struct {
	Scope          []Enum_Scope `protobuf:"varint,1000,rep,packed,name=scope,enum=cloudstack.annotations.Enum_Scope" json:"scope,omitempty"`
	CloudstackName *string      `protobuf:"bytes,1001,opt,name=cloudstack_name,json=cloudstackName" json:"cloudstack_name,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldOptions) Descriptor deprecated

func (*FieldOptions) Descriptor() ([]byte, []int)

Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead.

func (*FieldOptions) GetCloudstackName

func (x *FieldOptions) GetCloudstackName() string

func (*FieldOptions) GetScope

func (x *FieldOptions) GetScope() []Enum_Scope

func (*FieldOptions) ProtoMessage

func (*FieldOptions) ProtoMessage()

func (*FieldOptions) ProtoReflect

func (x *FieldOptions) ProtoReflect() protoreflect.Message

func (*FieldOptions) Reset

func (x *FieldOptions) Reset()

func (*FieldOptions) String

func (x *FieldOptions) String() string

type MessageOptions

type MessageOptions struct {
	Scope          []Enum_Scope `protobuf:"varint,1000,rep,packed,name=scope,enum=cloudstack.annotations.Enum_Scope" json:"scope,omitempty"`
	CloudstackName *string      `protobuf:"bytes,1001,opt,name=cloudstack_name,json=cloudstackName" json:"cloudstack_name,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageOptions) Descriptor deprecated

func (*MessageOptions) Descriptor() ([]byte, []int)

Deprecated: Use MessageOptions.ProtoReflect.Descriptor instead.

func (*MessageOptions) GetCloudstackName

func (x *MessageOptions) GetCloudstackName() string

func (*MessageOptions) GetScope

func (x *MessageOptions) GetScope() []Enum_Scope

func (*MessageOptions) ProtoMessage

func (*MessageOptions) ProtoMessage()

func (*MessageOptions) ProtoReflect

func (x *MessageOptions) ProtoReflect() protoreflect.Message

func (*MessageOptions) Reset

func (x *MessageOptions) Reset()

func (*MessageOptions) String

func (x *MessageOptions) String() string

type MethodOptions

type MethodOptions struct {
	Scope          []Enum_Scope `protobuf:"varint,1000,rep,packed,name=scope,enum=cloudstack.annotations.Enum_Scope" json:"scope,omitempty"`
	CloudstackName *string      `protobuf:"bytes,1001,opt,name=cloudstack_name,json=cloudstackName" json:"cloudstack_name,omitempty"`
	// contains filtered or unexported fields
}

func (*MethodOptions) Descriptor deprecated

func (*MethodOptions) Descriptor() ([]byte, []int)

Deprecated: Use MethodOptions.ProtoReflect.Descriptor instead.

func (*MethodOptions) GetCloudstackName

func (x *MethodOptions) GetCloudstackName() string

func (*MethodOptions) GetScope

func (x *MethodOptions) GetScope() []Enum_Scope

func (*MethodOptions) ProtoMessage

func (*MethodOptions) ProtoMessage()

func (*MethodOptions) ProtoReflect

func (x *MethodOptions) ProtoReflect() protoreflect.Message

func (*MethodOptions) Reset

func (x *MethodOptions) Reset()

func (*MethodOptions) String

func (x *MethodOptions) String() string

type ServiceOptions

type ServiceOptions struct {
	Scope          []Enum_Scope `protobuf:"varint,1000,rep,packed,name=scope,enum=cloudstack.annotations.Enum_Scope" json:"scope,omitempty"`
	CloudstackName *string      `protobuf:"bytes,1001,opt,name=cloudstack_name,json=cloudstackName" json:"cloudstack_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceOptions) Descriptor deprecated

func (*ServiceOptions) Descriptor() ([]byte, []int)

Deprecated: Use ServiceOptions.ProtoReflect.Descriptor instead.

func (*ServiceOptions) GetCloudstackName

func (x *ServiceOptions) GetCloudstackName() string

func (*ServiceOptions) GetScope

func (x *ServiceOptions) GetScope() []Enum_Scope

func (*ServiceOptions) ProtoMessage

func (*ServiceOptions) ProtoMessage()

func (*ServiceOptions) ProtoReflect

func (x *ServiceOptions) ProtoReflect() protoreflect.Message

func (*ServiceOptions) Reset

func (x *ServiceOptions) Reset()

func (*ServiceOptions) String

func (x *ServiceOptions) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL