Documentation
¶
Index ¶
- Variables
- type Signature
- type SignatureBehaviour
- func (SignatureBehaviour) Descriptor() protoreflect.EnumDescriptor
- func (x SignatureBehaviour) Enum() *SignatureBehaviour
- func (SignatureBehaviour) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignatureBehaviour) Number() protoreflect.EnumNumber
- func (x SignatureBehaviour) String() string
- func (SignatureBehaviour) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SignatureBehaviour_name = map[int32]string{ 0: "SIGNATURE_BEHAVIOUR_UNSPECIFIED", 1: "SIGNATURE_BEHAVIOUR_OPTIONAL", 2: "SIGNATURE_BEHAVIOUR_REQUIRED", } SignatureBehaviour_value = map[string]int32{ "SIGNATURE_BEHAVIOUR_UNSPECIFIED": 0, "SIGNATURE_BEHAVIOUR_OPTIONAL": 1, "SIGNATURE_BEHAVIOUR_REQUIRED": 2, } )
Enum value maps for SignatureBehaviour.
View Source
var ( // Message Integrity Signature options. // // TODO(paul.molloy): This extension has not been registered with // protobuf-global-extension-registry@google.com. // See: https://chromium.googlesource.com/chromium/src/+/master/third_party/protobuf/docs/options.md // // optional integrity.v1.Signature signature = 1090; E_Signature = &file_integrity_v1_signature_proto_extTypes[0] )
Extension fields to descriptor.FieldOptions.
View Source
var File_integrity_v1_signature_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Signature ¶
type Signature struct { // Indicates if MessageIntegrity code generation is enabled for the message and if it is required or optional. Behaviour SignatureBehaviour `protobuf:"varint,2,opt,name=behaviour,proto3,enum=integrity.v1.SignatureBehaviour" json:"behaviour,omitempty"` // contains filtered or unexported fields }
Signature option for message integrity code generation.
func (*Signature) Descriptor
deprecated
func (*Signature) GetBehaviour ¶
func (x *Signature) GetBehaviour() SignatureBehaviour
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type SignatureBehaviour ¶
type SignatureBehaviour int32
An indicator of if a field is a signature field and if it is required or not.
const ( SignatureBehaviour_SIGNATURE_BEHAVIOUR_UNSPECIFIED SignatureBehaviour = 0 // Don't use, unless to disable the signature from being used. SignatureBehaviour_SIGNATURE_BEHAVIOUR_OPTIONAL SignatureBehaviour = 1 // Allow if field does not have a signature. SignatureBehaviour_SIGNATURE_BEHAVIOUR_REQUIRED SignatureBehaviour = 2 // Fail if field does not have a signature. )
func (SignatureBehaviour) Descriptor ¶
func (SignatureBehaviour) Descriptor() protoreflect.EnumDescriptor
func (SignatureBehaviour) Enum ¶
func (x SignatureBehaviour) Enum() *SignatureBehaviour
func (SignatureBehaviour) EnumDescriptor
deprecated
func (SignatureBehaviour) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignatureBehaviour.Descriptor instead.
func (SignatureBehaviour) Number ¶
func (x SignatureBehaviour) Number() protoreflect.EnumNumber
func (SignatureBehaviour) String ¶
func (x SignatureBehaviour) String() string
func (SignatureBehaviour) Type ¶
func (SignatureBehaviour) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.