annotations

package
v0.0.0-...-44e983f Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PackageVersionStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "FROZEN",
		2: "ACTIVE",
		3: "NEXT_MAJOR_VERSION_CANDIDATE",
	}
	PackageVersionStatus_value = map[string]int32{
		"UNKNOWN":                      0,
		"FROZEN":                       1,
		"ACTIVE":                       2,
		"NEXT_MAJOR_VERSION_CANDIDATE": 3,
	}
)

Enum value maps for PackageVersionStatus.

View Source
var (
	// optional udpa.annotations.MigrateAnnotation enum_migrate = 171962766;
	E_EnumMigrate = &file_udpa_annotations_migrate_proto_extTypes[2]
)

Extension fields to descriptorpb.EnumOptions.

View Source
var (
	// optional udpa.annotations.MigrateAnnotation enum_value_migrate = 171962766;
	E_EnumValueMigrate = &file_udpa_annotations_migrate_proto_extTypes[3]
)

Extension fields to descriptorpb.EnumValueOptions.

View Source
var (
	// optional udpa.annotations.FieldMigrateAnnotation field_migrate = 171962766;
	E_FieldMigrate = &file_udpa_annotations_migrate_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional udpa.annotations.FileMigrateAnnotation file_migrate = 171962766;
	E_FileMigrate = &file_udpa_annotations_migrate_proto_extTypes[4]
)

Extension fields to descriptorpb.FileOptions.

View Source
var (
	// optional udpa.annotations.StatusAnnotation file_status = 222707719;
	E_FileStatus = &file_udpa_annotations_status_proto_extTypes[0]
)

Extension fields to descriptorpb.FileOptions.

View Source
var (
	// optional udpa.annotations.MigrateAnnotation message_migrate = 171962766;
	E_MessageMigrate = &file_udpa_annotations_migrate_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var (
	// optional udpa.annotations.FieldSecurityAnnotation security = 11122993;
	E_Security = &file_udpa_annotations_security_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional bool sensitive = 76569463;
	E_Sensitive = &file_udpa_annotations_sensitive_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional udpa.annotations.VersioningAnnotation versioning = 7881811;
	E_Versioning = &file_udpa_annotations_versioning_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_udpa_annotations_migrate_proto protoreflect.FileDescriptor
View Source
var File_udpa_annotations_security_proto protoreflect.FileDescriptor
View Source
var File_udpa_annotations_sensitive_proto protoreflect.FileDescriptor
View Source
var File_udpa_annotations_status_proto protoreflect.FileDescriptor
View Source
var File_udpa_annotations_versioning_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FieldMigrateAnnotation

type FieldMigrateAnnotation struct {
	Rename         string `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"`
	OneofPromotion string `protobuf:"bytes,2,opt,name=oneof_promotion,json=oneofPromotion,proto3" json:"oneof_promotion,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldMigrateAnnotation) Descriptor deprecated

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

Deprecated: Use FieldMigrateAnnotation.ProtoReflect.Descriptor instead.

func (*FieldMigrateAnnotation) GetOneofPromotion

func (x *FieldMigrateAnnotation) GetOneofPromotion() string

func (*FieldMigrateAnnotation) GetRename

func (x *FieldMigrateAnnotation) GetRename() string

func (*FieldMigrateAnnotation) ProtoMessage

func (*FieldMigrateAnnotation) ProtoMessage()

func (*FieldMigrateAnnotation) ProtoReflect

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

func (*FieldMigrateAnnotation) Reset

func (x *FieldMigrateAnnotation) Reset()

func (*FieldMigrateAnnotation) String

func (x *FieldMigrateAnnotation) String() string

func (*FieldMigrateAnnotation) Validate

func (m *FieldMigrateAnnotation) Validate() error

Validate checks the field values on FieldMigrateAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FieldMigrateAnnotation) ValidateAll

func (m *FieldMigrateAnnotation) ValidateAll() error

ValidateAll checks the field values on FieldMigrateAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FieldMigrateAnnotationMultiError, or nil if none found.

type FieldMigrateAnnotationMultiError

type FieldMigrateAnnotationMultiError []error

FieldMigrateAnnotationMultiError is an error wrapping multiple validation errors returned by FieldMigrateAnnotation.ValidateAll() if the designated constraints aren't met.

func (FieldMigrateAnnotationMultiError) AllErrors

func (m FieldMigrateAnnotationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FieldMigrateAnnotationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FieldMigrateAnnotationValidationError

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

FieldMigrateAnnotationValidationError is the validation error returned by FieldMigrateAnnotation.Validate if the designated constraints aren't met.

func (FieldMigrateAnnotationValidationError) Cause

Cause function returns cause value.

func (FieldMigrateAnnotationValidationError) Error

Error satisfies the builtin error interface

func (FieldMigrateAnnotationValidationError) ErrorName

ErrorName returns error name.

func (FieldMigrateAnnotationValidationError) Field

Field function returns field value.

func (FieldMigrateAnnotationValidationError) Key

Key function returns key value.

func (FieldMigrateAnnotationValidationError) Reason

Reason function returns reason value.

type FieldSecurityAnnotation

type FieldSecurityAnnotation struct {
	ConfigureForUntrustedDownstream bool `` /* 159-byte string literal not displayed */
	ConfigureForUntrustedUpstream   bool `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FieldSecurityAnnotation) Descriptor deprecated

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

Deprecated: Use FieldSecurityAnnotation.ProtoReflect.Descriptor instead.

func (*FieldSecurityAnnotation) GetConfigureForUntrustedDownstream

func (x *FieldSecurityAnnotation) GetConfigureForUntrustedDownstream() bool

func (*FieldSecurityAnnotation) GetConfigureForUntrustedUpstream

func (x *FieldSecurityAnnotation) GetConfigureForUntrustedUpstream() bool

func (*FieldSecurityAnnotation) ProtoMessage

func (*FieldSecurityAnnotation) ProtoMessage()

func (*FieldSecurityAnnotation) ProtoReflect

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

func (*FieldSecurityAnnotation) Reset

func (x *FieldSecurityAnnotation) Reset()

func (*FieldSecurityAnnotation) String

func (x *FieldSecurityAnnotation) String() string

func (*FieldSecurityAnnotation) Validate

func (m *FieldSecurityAnnotation) Validate() error

Validate checks the field values on FieldSecurityAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FieldSecurityAnnotation) ValidateAll

func (m *FieldSecurityAnnotation) ValidateAll() error

ValidateAll checks the field values on FieldSecurityAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FieldSecurityAnnotationMultiError, or nil if none found.

type FieldSecurityAnnotationMultiError

type FieldSecurityAnnotationMultiError []error

FieldSecurityAnnotationMultiError is an error wrapping multiple validation errors returned by FieldSecurityAnnotation.ValidateAll() if the designated constraints aren't met.

func (FieldSecurityAnnotationMultiError) AllErrors

func (m FieldSecurityAnnotationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FieldSecurityAnnotationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FieldSecurityAnnotationValidationError

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

FieldSecurityAnnotationValidationError is the validation error returned by FieldSecurityAnnotation.Validate if the designated constraints aren't met.

func (FieldSecurityAnnotationValidationError) Cause

Cause function returns cause value.

func (FieldSecurityAnnotationValidationError) Error

Error satisfies the builtin error interface

func (FieldSecurityAnnotationValidationError) ErrorName

ErrorName returns error name.

func (FieldSecurityAnnotationValidationError) Field

Field function returns field value.

func (FieldSecurityAnnotationValidationError) Key

Key function returns key value.

func (FieldSecurityAnnotationValidationError) Reason

Reason function returns reason value.

type FileMigrateAnnotation

type FileMigrateAnnotation struct {
	MoveToPackage string `protobuf:"bytes,2,opt,name=move_to_package,json=moveToPackage,proto3" json:"move_to_package,omitempty"`
	// contains filtered or unexported fields
}

func (*FileMigrateAnnotation) Descriptor deprecated

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

Deprecated: Use FileMigrateAnnotation.ProtoReflect.Descriptor instead.

func (*FileMigrateAnnotation) GetMoveToPackage

func (x *FileMigrateAnnotation) GetMoveToPackage() string

func (*FileMigrateAnnotation) ProtoMessage

func (*FileMigrateAnnotation) ProtoMessage()

func (*FileMigrateAnnotation) ProtoReflect

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

func (*FileMigrateAnnotation) Reset

func (x *FileMigrateAnnotation) Reset()

func (*FileMigrateAnnotation) String

func (x *FileMigrateAnnotation) String() string

func (*FileMigrateAnnotation) Validate

func (m *FileMigrateAnnotation) Validate() error

Validate checks the field values on FileMigrateAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FileMigrateAnnotation) ValidateAll

func (m *FileMigrateAnnotation) ValidateAll() error

ValidateAll checks the field values on FileMigrateAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileMigrateAnnotationMultiError, or nil if none found.

type FileMigrateAnnotationMultiError

type FileMigrateAnnotationMultiError []error

FileMigrateAnnotationMultiError is an error wrapping multiple validation errors returned by FileMigrateAnnotation.ValidateAll() if the designated constraints aren't met.

func (FileMigrateAnnotationMultiError) AllErrors

func (m FileMigrateAnnotationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FileMigrateAnnotationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FileMigrateAnnotationValidationError

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

FileMigrateAnnotationValidationError is the validation error returned by FileMigrateAnnotation.Validate if the designated constraints aren't met.

func (FileMigrateAnnotationValidationError) Cause

Cause function returns cause value.

func (FileMigrateAnnotationValidationError) Error

Error satisfies the builtin error interface

func (FileMigrateAnnotationValidationError) ErrorName

ErrorName returns error name.

func (FileMigrateAnnotationValidationError) Field

Field function returns field value.

func (FileMigrateAnnotationValidationError) Key

Key function returns key value.

func (FileMigrateAnnotationValidationError) Reason

Reason function returns reason value.

type MigrateAnnotation

type MigrateAnnotation struct {
	Rename string `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"`
	// contains filtered or unexported fields
}

func (*MigrateAnnotation) Descriptor deprecated

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

Deprecated: Use MigrateAnnotation.ProtoReflect.Descriptor instead.

func (*MigrateAnnotation) GetRename

func (x *MigrateAnnotation) GetRename() string

func (*MigrateAnnotation) ProtoMessage

func (*MigrateAnnotation) ProtoMessage()

func (*MigrateAnnotation) ProtoReflect

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

func (*MigrateAnnotation) Reset

func (x *MigrateAnnotation) Reset()

func (*MigrateAnnotation) String

func (x *MigrateAnnotation) String() string

func (*MigrateAnnotation) Validate

func (m *MigrateAnnotation) Validate() error

Validate checks the field values on MigrateAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MigrateAnnotation) ValidateAll

func (m *MigrateAnnotation) ValidateAll() error

ValidateAll checks the field values on MigrateAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MigrateAnnotationMultiError, or nil if none found.

type MigrateAnnotationMultiError

type MigrateAnnotationMultiError []error

MigrateAnnotationMultiError is an error wrapping multiple validation errors returned by MigrateAnnotation.ValidateAll() if the designated constraints aren't met.

func (MigrateAnnotationMultiError) AllErrors

func (m MigrateAnnotationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MigrateAnnotationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MigrateAnnotationValidationError

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

MigrateAnnotationValidationError is the validation error returned by MigrateAnnotation.Validate if the designated constraints aren't met.

func (MigrateAnnotationValidationError) Cause

Cause function returns cause value.

func (MigrateAnnotationValidationError) Error

Error satisfies the builtin error interface

func (MigrateAnnotationValidationError) ErrorName

ErrorName returns error name.

func (MigrateAnnotationValidationError) Field

Field function returns field value.

func (MigrateAnnotationValidationError) Key

Key function returns key value.

func (MigrateAnnotationValidationError) Reason

Reason function returns reason value.

type PackageVersionStatus

type PackageVersionStatus int32
const (
	PackageVersionStatus_UNKNOWN                      PackageVersionStatus = 0
	PackageVersionStatus_FROZEN                       PackageVersionStatus = 1
	PackageVersionStatus_ACTIVE                       PackageVersionStatus = 2
	PackageVersionStatus_NEXT_MAJOR_VERSION_CANDIDATE PackageVersionStatus = 3
)

func (PackageVersionStatus) Descriptor

func (PackageVersionStatus) Enum

func (PackageVersionStatus) EnumDescriptor deprecated

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

Deprecated: Use PackageVersionStatus.Descriptor instead.

func (PackageVersionStatus) Number

func (PackageVersionStatus) String

func (x PackageVersionStatus) String() string

func (PackageVersionStatus) Type

type StatusAnnotation

type StatusAnnotation struct {
	WorkInProgress       bool                 `protobuf:"varint,1,opt,name=work_in_progress,json=workInProgress,proto3" json:"work_in_progress,omitempty"`
	PackageVersionStatus PackageVersionStatus `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StatusAnnotation) Descriptor deprecated

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

Deprecated: Use StatusAnnotation.ProtoReflect.Descriptor instead.

func (*StatusAnnotation) GetPackageVersionStatus

func (x *StatusAnnotation) GetPackageVersionStatus() PackageVersionStatus

func (*StatusAnnotation) GetWorkInProgress

func (x *StatusAnnotation) GetWorkInProgress() bool

func (*StatusAnnotation) ProtoMessage

func (*StatusAnnotation) ProtoMessage()

func (*StatusAnnotation) ProtoReflect

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

func (*StatusAnnotation) Reset

func (x *StatusAnnotation) Reset()

func (*StatusAnnotation) String

func (x *StatusAnnotation) String() string

func (*StatusAnnotation) Validate

func (m *StatusAnnotation) Validate() error

Validate checks the field values on StatusAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatusAnnotation) ValidateAll

func (m *StatusAnnotation) ValidateAll() error

ValidateAll checks the field values on StatusAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusAnnotationMultiError, or nil if none found.

type StatusAnnotationMultiError

type StatusAnnotationMultiError []error

StatusAnnotationMultiError is an error wrapping multiple validation errors returned by StatusAnnotation.ValidateAll() if the designated constraints aren't met.

func (StatusAnnotationMultiError) AllErrors

func (m StatusAnnotationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatusAnnotationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StatusAnnotationValidationError

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

StatusAnnotationValidationError is the validation error returned by StatusAnnotation.Validate if the designated constraints aren't met.

func (StatusAnnotationValidationError) Cause

Cause function returns cause value.

func (StatusAnnotationValidationError) Error

Error satisfies the builtin error interface

func (StatusAnnotationValidationError) ErrorName

ErrorName returns error name.

func (StatusAnnotationValidationError) Field

Field function returns field value.

func (StatusAnnotationValidationError) Key

Key function returns key value.

func (StatusAnnotationValidationError) Reason

Reason function returns reason value.

type VersioningAnnotation

type VersioningAnnotation struct {
	PreviousMessageType string `protobuf:"bytes,1,opt,name=previous_message_type,json=previousMessageType,proto3" json:"previous_message_type,omitempty"`
	// contains filtered or unexported fields
}

func (*VersioningAnnotation) Descriptor deprecated

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

Deprecated: Use VersioningAnnotation.ProtoReflect.Descriptor instead.

func (*VersioningAnnotation) GetPreviousMessageType

func (x *VersioningAnnotation) GetPreviousMessageType() string

func (*VersioningAnnotation) ProtoMessage

func (*VersioningAnnotation) ProtoMessage()

func (*VersioningAnnotation) ProtoReflect

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

func (*VersioningAnnotation) Reset

func (x *VersioningAnnotation) Reset()

func (*VersioningAnnotation) String

func (x *VersioningAnnotation) String() string

func (*VersioningAnnotation) Validate

func (m *VersioningAnnotation) Validate() error

Validate checks the field values on VersioningAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*VersioningAnnotation) ValidateAll

func (m *VersioningAnnotation) ValidateAll() error

ValidateAll checks the field values on VersioningAnnotation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VersioningAnnotationMultiError, or nil if none found.

type VersioningAnnotationMultiError

type VersioningAnnotationMultiError []error

VersioningAnnotationMultiError is an error wrapping multiple validation errors returned by VersioningAnnotation.ValidateAll() if the designated constraints aren't met.

func (VersioningAnnotationMultiError) AllErrors

func (m VersioningAnnotationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VersioningAnnotationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type VersioningAnnotationValidationError

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

VersioningAnnotationValidationError is the validation error returned by VersioningAnnotation.Validate if the designated constraints aren't met.

func (VersioningAnnotationValidationError) Cause

Cause function returns cause value.

func (VersioningAnnotationValidationError) Error

Error satisfies the builtin error interface

func (VersioningAnnotationValidationError) ErrorName

ErrorName returns error name.

func (VersioningAnnotationValidationError) Field

Field function returns field value.

func (VersioningAnnotationValidationError) Key

Key function returns key value.

func (VersioningAnnotationValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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