v0

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Resource_Type_name = map[int32]string{
		0: "TYPE_UNKNOWN",
		1: "TYPE_SYSTEM",
		2: "TYPE_FILE",
		3: "TYPE_SHARE",
		4: "TYPE_SETTING",
		5: "TYPE_BUNDLE",
		6: "TYPE_USER",
		7: "TYPE_GROUP",
	}
	Resource_Type_value = map[string]int32{
		"TYPE_UNKNOWN": 0,
		"TYPE_SYSTEM":  1,
		"TYPE_FILE":    2,
		"TYPE_SHARE":   3,
		"TYPE_SETTING": 4,
		"TYPE_BUNDLE":  5,
		"TYPE_USER":    6,
		"TYPE_GROUP":   7,
	}
)

Enum value maps for Resource_Type.

View Source
var (
	Bundle_Type_name = map[int32]string{
		0: "TYPE_UNKNOWN",
		1: "TYPE_DEFAULT",
		2: "TYPE_ROLE",
	}
	Bundle_Type_value = map[string]int32{
		"TYPE_UNKNOWN": 0,
		"TYPE_DEFAULT": 1,
		"TYPE_ROLE":    2,
	}
)

Enum value maps for Bundle_Type.

View Source
var (
	Permission_Operation_name = map[int32]string{
		0: "OPERATION_UNKNOWN",
		1: "OPERATION_CREATE",
		2: "OPERATION_READ",
		3: "OPERATION_UPDATE",
		4: "OPERATION_DELETE",
		5: "OPERATION_WRITE",
		6: "OPERATION_READWRITE",
	}
	Permission_Operation_value = map[string]int32{
		"OPERATION_UNKNOWN":   0,
		"OPERATION_CREATE":    1,
		"OPERATION_READ":      2,
		"OPERATION_UPDATE":    3,
		"OPERATION_DELETE":    4,
		"OPERATION_WRITE":     5,
		"OPERATION_READWRITE": 6,
	}
)

Enum value maps for Permission_Operation.

View Source
var (
	Permission_Constraint_name = map[int32]string{
		0: "CONSTRAINT_UNKNOWN",
		1: "CONSTRAINT_OWN",
		2: "CONSTRAINT_SHARED",
		3: "CONSTRAINT_ALL",
	}
	Permission_Constraint_value = map[string]int32{
		"CONSTRAINT_UNKNOWN": 0,
		"CONSTRAINT_OWN":     1,
		"CONSTRAINT_SHARED":  2,
		"CONSTRAINT_ALL":     3,
	}
)

Enum value maps for Permission_Constraint.

View Source
var BoolJSONMarshaler = new(jsonpb.Marshaler)

BoolJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Bool. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var BoolJSONUnmarshaler = new(jsonpb.Unmarshaler)

BoolJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Bool. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var BundleJSONMarshaler = new(jsonpb.Marshaler)

BundleJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Bundle. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var BundleJSONUnmarshaler = new(jsonpb.Unmarshaler)

BundleJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Bundle. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var File_ocis_messages_settings_v0_settings_proto protoreflect.FileDescriptor
View Source
var IdentifierJSONMarshaler = new(jsonpb.Marshaler)

IdentifierJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Identifier. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var IdentifierJSONUnmarshaler = new(jsonpb.Unmarshaler)

IdentifierJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Identifier. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var IntJSONMarshaler = new(jsonpb.Marshaler)

IntJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Int. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var IntJSONUnmarshaler = new(jsonpb.Unmarshaler)

IntJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Int. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListOptionJSONMarshaler = new(jsonpb.Marshaler)

ListOptionJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListOption. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListOptionJSONUnmarshaler = new(jsonpb.Unmarshaler)

ListOptionJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListOption. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListOptionValueJSONMarshaler = new(jsonpb.Marshaler)

ListOptionValueJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListOptionValue. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListOptionValueJSONUnmarshaler = new(jsonpb.Unmarshaler)

ListOptionValueJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListOptionValue. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListValueJSONMarshaler = new(jsonpb.Marshaler)

ListValueJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListValue. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ListValueJSONUnmarshaler = new(jsonpb.Unmarshaler)

ListValueJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListValue. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var MultiChoiceListJSONMarshaler = new(jsonpb.Marshaler)

MultiChoiceListJSONMarshaler describes the default jsonpb.Marshaler used by all instances of MultiChoiceList. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var MultiChoiceListJSONUnmarshaler = new(jsonpb.Unmarshaler)

MultiChoiceListJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of MultiChoiceList. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var PermissionJSONMarshaler = new(jsonpb.Marshaler)

PermissionJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Permission. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var PermissionJSONUnmarshaler = new(jsonpb.Unmarshaler)

PermissionJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Permission. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ResourceJSONMarshaler = new(jsonpb.Marshaler)

ResourceJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Resource. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ResourceJSONUnmarshaler = new(jsonpb.Unmarshaler)

ResourceJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Resource. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var SettingJSONMarshaler = new(jsonpb.Marshaler)

SettingJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Setting. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var SettingJSONUnmarshaler = new(jsonpb.Unmarshaler)

SettingJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Setting. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var SingleChoiceListJSONMarshaler = new(jsonpb.Marshaler)

SingleChoiceListJSONMarshaler describes the default jsonpb.Marshaler used by all instances of SingleChoiceList. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var SingleChoiceListJSONUnmarshaler = new(jsonpb.Unmarshaler)

SingleChoiceListJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of SingleChoiceList. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var StringJSONMarshaler = new(jsonpb.Marshaler)

StringJSONMarshaler describes the default jsonpb.Marshaler used by all instances of String. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var StringJSONUnmarshaler = new(jsonpb.Unmarshaler)

StringJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of String. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var UserRoleAssignmentJSONMarshaler = new(jsonpb.Marshaler)

UserRoleAssignmentJSONMarshaler describes the default jsonpb.Marshaler used by all instances of UserRoleAssignment. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var UserRoleAssignmentJSONUnmarshaler = new(jsonpb.Unmarshaler)

UserRoleAssignmentJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of UserRoleAssignment. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ValueJSONMarshaler = new(jsonpb.Marshaler)

ValueJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Value. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ValueJSONUnmarshaler = new(jsonpb.Unmarshaler)

ValueJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Value. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ValueWithIdentifierJSONMarshaler = new(jsonpb.Marshaler)

ValueWithIdentifierJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ValueWithIdentifier. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ValueWithIdentifierJSONUnmarshaler = new(jsonpb.Unmarshaler)

ValueWithIdentifierJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ValueWithIdentifier. This struct is safe to replace or modify but should not be done so concurrently.

Functions

This section is empty.

Types

type Bool

type Bool struct {
	Default bool   `protobuf:"varint,1,opt,name=default,proto3" json:"default,omitempty"`
	Label   string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*Bool) Descriptor deprecated

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

Deprecated: Use Bool.ProtoReflect.Descriptor instead.

func (*Bool) GetDefault

func (x *Bool) GetDefault() bool

func (*Bool) GetLabel

func (x *Bool) GetLabel() string

func (*Bool) MarshalJSON

func (m *Bool) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Bool) ProtoMessage

func (*Bool) ProtoMessage()

func (*Bool) ProtoReflect

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

func (*Bool) Reset

func (x *Bool) Reset()

func (*Bool) String

func (x *Bool) String() string

func (*Bool) UnmarshalJSON

func (m *Bool) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Bundle

type Bundle struct {
	Id          string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type        Bundle_Type `protobuf:"varint,3,opt,name=type,proto3,enum=ocis.messages.settings.v0.Bundle_Type" json:"type,omitempty"`
	Extension   string      `protobuf:"bytes,4,opt,name=extension,proto3" json:"extension,omitempty"`
	DisplayName string      `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Settings    []*Setting  `protobuf:"bytes,6,rep,name=settings,proto3" json:"settings,omitempty"`
	Resource    *Resource   `protobuf:"bytes,7,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*Bundle) Descriptor deprecated

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

Deprecated: Use Bundle.ProtoReflect.Descriptor instead.

func (*Bundle) GetDisplayName

func (x *Bundle) GetDisplayName() string

func (*Bundle) GetExtension

func (x *Bundle) GetExtension() string

func (*Bundle) GetId

func (x *Bundle) GetId() string

func (*Bundle) GetName

func (x *Bundle) GetName() string

func (*Bundle) GetResource

func (x *Bundle) GetResource() *Resource

func (*Bundle) GetSettings

func (x *Bundle) GetSettings() []*Setting

func (*Bundle) GetType

func (x *Bundle) GetType() Bundle_Type

func (*Bundle) MarshalJSON

func (m *Bundle) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Bundle) ProtoMessage

func (*Bundle) ProtoMessage()

func (*Bundle) ProtoReflect

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

func (*Bundle) Reset

func (x *Bundle) Reset()

func (*Bundle) String

func (x *Bundle) String() string

func (*Bundle) UnmarshalJSON

func (m *Bundle) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Bundle_Type

type Bundle_Type int32
const (
	Bundle_TYPE_UNKNOWN Bundle_Type = 0
	Bundle_TYPE_DEFAULT Bundle_Type = 1
	Bundle_TYPE_ROLE    Bundle_Type = 2
)

func (Bundle_Type) Descriptor

func (Bundle_Type) Enum

func (x Bundle_Type) Enum() *Bundle_Type

func (Bundle_Type) EnumDescriptor deprecated

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

Deprecated: Use Bundle_Type.Descriptor instead.

func (Bundle_Type) Number

func (x Bundle_Type) Number() protoreflect.EnumNumber

func (Bundle_Type) String

func (x Bundle_Type) String() string

func (Bundle_Type) Type

type Identifier

type Identifier struct {
	Extension string `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"`
	Bundle    string `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
	Setting   string `protobuf:"bytes,3,opt,name=setting,proto3" json:"setting,omitempty"`
	// contains filtered or unexported fields
}

func (*Identifier) Descriptor deprecated

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

Deprecated: Use Identifier.ProtoReflect.Descriptor instead.

func (*Identifier) GetBundle

func (x *Identifier) GetBundle() string

func (*Identifier) GetExtension

func (x *Identifier) GetExtension() string

func (*Identifier) GetSetting

func (x *Identifier) GetSetting() string

func (*Identifier) MarshalJSON

func (m *Identifier) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Identifier) ProtoMessage

func (*Identifier) ProtoMessage()

func (*Identifier) ProtoReflect

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

func (*Identifier) Reset

func (x *Identifier) Reset()

func (*Identifier) String

func (x *Identifier) String() string

func (*Identifier) UnmarshalJSON

func (m *Identifier) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Int

type Int struct {
	Default     int64  `protobuf:"varint,1,opt,name=default,proto3" json:"default,omitempty"`
	Min         int64  `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"`
	Max         int64  `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
	Step        int64  `protobuf:"varint,4,opt,name=step,proto3" json:"step,omitempty"`
	Placeholder string `protobuf:"bytes,5,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
	// contains filtered or unexported fields
}

func (*Int) Descriptor deprecated

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

Deprecated: Use Int.ProtoReflect.Descriptor instead.

func (*Int) GetDefault

func (x *Int) GetDefault() int64

func (*Int) GetMax

func (x *Int) GetMax() int64

func (*Int) GetMin

func (x *Int) GetMin() int64

func (*Int) GetPlaceholder

func (x *Int) GetPlaceholder() string

func (*Int) GetStep

func (x *Int) GetStep() int64

func (*Int) MarshalJSON

func (m *Int) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Int) ProtoMessage

func (*Int) ProtoMessage()

func (*Int) ProtoReflect

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

func (*Int) Reset

func (x *Int) Reset()

func (*Int) String

func (x *Int) String() string

func (*Int) UnmarshalJSON

func (m *Int) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type ListOption

type ListOption struct {
	Value        *ListOptionValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Default      bool             `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"`
	DisplayValue string           `protobuf:"bytes,3,opt,name=display_value,json=displayValue,proto3" json:"display_value,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOption) Descriptor deprecated

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

Deprecated: Use ListOption.ProtoReflect.Descriptor instead.

func (*ListOption) GetDefault

func (x *ListOption) GetDefault() bool

func (*ListOption) GetDisplayValue

func (x *ListOption) GetDisplayValue() string

func (*ListOption) GetValue

func (x *ListOption) GetValue() *ListOptionValue

func (*ListOption) MarshalJSON

func (m *ListOption) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*ListOption) ProtoMessage

func (*ListOption) ProtoMessage()

func (*ListOption) ProtoReflect

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

func (*ListOption) Reset

func (x *ListOption) Reset()

func (*ListOption) String

func (x *ListOption) String() string

func (*ListOption) UnmarshalJSON

func (m *ListOption) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type ListOptionValue

type ListOptionValue struct {

	// Types that are assignable to Option:
	//	*ListOptionValue_StringValue
	//	*ListOptionValue_IntValue
	Option isListOptionValue_Option `protobuf_oneof:"option"`
	// contains filtered or unexported fields
}

func (*ListOptionValue) Descriptor deprecated

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

Deprecated: Use ListOptionValue.ProtoReflect.Descriptor instead.

func (*ListOptionValue) GetIntValue

func (x *ListOptionValue) GetIntValue() int64

func (*ListOptionValue) GetOption

func (m *ListOptionValue) GetOption() isListOptionValue_Option

func (*ListOptionValue) GetStringValue

func (x *ListOptionValue) GetStringValue() string

func (*ListOptionValue) MarshalJSON

func (m *ListOptionValue) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*ListOptionValue) ProtoMessage

func (*ListOptionValue) ProtoMessage()

func (*ListOptionValue) ProtoReflect

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

func (*ListOptionValue) Reset

func (x *ListOptionValue) Reset()

func (*ListOptionValue) String

func (x *ListOptionValue) String() string

func (*ListOptionValue) UnmarshalJSON

func (m *ListOptionValue) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type ListOptionValue_IntValue

type ListOptionValue_IntValue struct {
	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}

type ListOptionValue_StringValue

type ListOptionValue_StringValue struct {
	StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type ListValue

type ListValue struct {
	Values []*ListOptionValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*ListValue) Descriptor deprecated

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

Deprecated: Use ListValue.ProtoReflect.Descriptor instead.

func (*ListValue) GetValues

func (x *ListValue) GetValues() []*ListOptionValue

func (*ListValue) MarshalJSON

func (m *ListValue) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*ListValue) ProtoMessage

func (*ListValue) ProtoMessage()

func (*ListValue) ProtoReflect

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

func (*ListValue) Reset

func (x *ListValue) Reset()

func (*ListValue) String

func (x *ListValue) String() string

func (*ListValue) UnmarshalJSON

func (m *ListValue) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type MultiChoiceList

type MultiChoiceList struct {
	Options []*ListOption `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiChoiceList) Descriptor deprecated

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

Deprecated: Use MultiChoiceList.ProtoReflect.Descriptor instead.

func (*MultiChoiceList) GetOptions

func (x *MultiChoiceList) GetOptions() []*ListOption

func (*MultiChoiceList) MarshalJSON

func (m *MultiChoiceList) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*MultiChoiceList) ProtoMessage

func (*MultiChoiceList) ProtoMessage()

func (*MultiChoiceList) ProtoReflect

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

func (*MultiChoiceList) Reset

func (x *MultiChoiceList) Reset()

func (*MultiChoiceList) String

func (x *MultiChoiceList) String() string

func (*MultiChoiceList) UnmarshalJSON

func (m *MultiChoiceList) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Permission

type Permission struct {
	Operation  Permission_Operation  `protobuf:"varint,1,opt,name=operation,proto3,enum=ocis.messages.settings.v0.Permission_Operation" json:"operation,omitempty"`
	Constraint Permission_Constraint `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Permission) Descriptor deprecated

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetConstraint

func (x *Permission) GetConstraint() Permission_Constraint

func (*Permission) GetOperation

func (x *Permission) GetOperation() Permission_Operation

func (*Permission) MarshalJSON

func (m *Permission) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

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

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) String

func (x *Permission) String() string

func (*Permission) UnmarshalJSON

func (m *Permission) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Permission_Constraint

type Permission_Constraint int32
const (
	Permission_CONSTRAINT_UNKNOWN Permission_Constraint = 0
	Permission_CONSTRAINT_OWN     Permission_Constraint = 1
	Permission_CONSTRAINT_SHARED  Permission_Constraint = 2
	Permission_CONSTRAINT_ALL     Permission_Constraint = 3
)

func (Permission_Constraint) Descriptor

func (Permission_Constraint) Enum

func (Permission_Constraint) EnumDescriptor deprecated

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

Deprecated: Use Permission_Constraint.Descriptor instead.

func (Permission_Constraint) Number

func (Permission_Constraint) String

func (x Permission_Constraint) String() string

func (Permission_Constraint) Type

type Permission_Operation

type Permission_Operation int32
const (
	Permission_OPERATION_UNKNOWN   Permission_Operation = 0
	Permission_OPERATION_CREATE    Permission_Operation = 1
	Permission_OPERATION_READ      Permission_Operation = 2
	Permission_OPERATION_UPDATE    Permission_Operation = 3
	Permission_OPERATION_DELETE    Permission_Operation = 4
	Permission_OPERATION_WRITE     Permission_Operation = 5 // WRITE is a combination of CREATE and UPDATE
	Permission_OPERATION_READWRITE Permission_Operation = 6 // READWRITE is a combination of READ and WRITE
)

func (Permission_Operation) Descriptor

func (Permission_Operation) Enum

func (Permission_Operation) EnumDescriptor deprecated

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

Deprecated: Use Permission_Operation.Descriptor instead.

func (Permission_Operation) Number

func (Permission_Operation) String

func (x Permission_Operation) String() string

func (Permission_Operation) Type

type Resource

type Resource struct {
	Type Resource_Type `protobuf:"varint,1,opt,name=type,proto3,enum=ocis.messages.settings.v0.Resource_Type" json:"type,omitempty"`
	Id   string        `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetId

func (x *Resource) GetId() string

func (*Resource) GetType

func (x *Resource) GetType() Resource_Type

func (*Resource) MarshalJSON

func (m *Resource) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

func (*Resource) UnmarshalJSON

func (m *Resource) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Resource_Type

type Resource_Type int32
const (
	Resource_TYPE_UNKNOWN Resource_Type = 0
	Resource_TYPE_SYSTEM  Resource_Type = 1
	Resource_TYPE_FILE    Resource_Type = 2
	Resource_TYPE_SHARE   Resource_Type = 3
	Resource_TYPE_SETTING Resource_Type = 4
	Resource_TYPE_BUNDLE  Resource_Type = 5
	Resource_TYPE_USER    Resource_Type = 6
	Resource_TYPE_GROUP   Resource_Type = 7
)

func (Resource_Type) Descriptor

func (Resource_Type) Enum

func (x Resource_Type) Enum() *Resource_Type

func (Resource_Type) EnumDescriptor deprecated

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

Deprecated: Use Resource_Type.Descriptor instead.

func (Resource_Type) Number

func (Resource_Type) String

func (x Resource_Type) String() string

func (Resource_Type) Type

type Setting

type Setting struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Types that are assignable to Value:
	//	*Setting_IntValue
	//	*Setting_StringValue
	//	*Setting_BoolValue
	//	*Setting_SingleChoiceValue
	//	*Setting_MultiChoiceValue
	//	*Setting_PermissionValue
	Value    isSetting_Value `protobuf_oneof:"value"`
	Resource *Resource       `protobuf:"bytes,11,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*Setting) Descriptor deprecated

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

Deprecated: Use Setting.ProtoReflect.Descriptor instead.

func (*Setting) GetBoolValue

func (x *Setting) GetBoolValue() *Bool

func (*Setting) GetDescription

func (x *Setting) GetDescription() string

func (*Setting) GetDisplayName

func (x *Setting) GetDisplayName() string

func (*Setting) GetId

func (x *Setting) GetId() string

func (*Setting) GetIntValue

func (x *Setting) GetIntValue() *Int

func (*Setting) GetMultiChoiceValue

func (x *Setting) GetMultiChoiceValue() *MultiChoiceList

func (*Setting) GetName

func (x *Setting) GetName() string

func (*Setting) GetPermissionValue

func (x *Setting) GetPermissionValue() *Permission

func (*Setting) GetResource

func (x *Setting) GetResource() *Resource

func (*Setting) GetSingleChoiceValue

func (x *Setting) GetSingleChoiceValue() *SingleChoiceList

func (*Setting) GetStringValue

func (x *Setting) GetStringValue() *String

func (*Setting) GetValue

func (m *Setting) GetValue() isSetting_Value

func (*Setting) MarshalJSON

func (m *Setting) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Setting) ProtoMessage

func (*Setting) ProtoMessage()

func (*Setting) ProtoReflect

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

func (*Setting) Reset

func (x *Setting) Reset()

func (*Setting) String

func (x *Setting) String() string

func (*Setting) UnmarshalJSON

func (m *Setting) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Setting_BoolValue

type Setting_BoolValue struct {
	BoolValue *Bool `protobuf:"bytes,7,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type Setting_IntValue

type Setting_IntValue struct {
	IntValue *Int `protobuf:"bytes,5,opt,name=int_value,json=intValue,proto3,oneof"`
}

type Setting_MultiChoiceValue

type Setting_MultiChoiceValue struct {
	MultiChoiceValue *MultiChoiceList `protobuf:"bytes,9,opt,name=multi_choice_value,json=multiChoiceValue,proto3,oneof"`
}

type Setting_PermissionValue

type Setting_PermissionValue struct {
	PermissionValue *Permission `protobuf:"bytes,10,opt,name=permission_value,json=permissionValue,proto3,oneof"`
}

type Setting_SingleChoiceValue

type Setting_SingleChoiceValue struct {
	SingleChoiceValue *SingleChoiceList `protobuf:"bytes,8,opt,name=single_choice_value,json=singleChoiceValue,proto3,oneof"`
}

type Setting_StringValue

type Setting_StringValue struct {
	StringValue *String `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type SingleChoiceList

type SingleChoiceList struct {
	Options []*ListOption `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*SingleChoiceList) Descriptor deprecated

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

Deprecated: Use SingleChoiceList.ProtoReflect.Descriptor instead.

func (*SingleChoiceList) GetOptions

func (x *SingleChoiceList) GetOptions() []*ListOption

func (*SingleChoiceList) MarshalJSON

func (m *SingleChoiceList) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*SingleChoiceList) ProtoMessage

func (*SingleChoiceList) ProtoMessage()

func (*SingleChoiceList) ProtoReflect

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

func (*SingleChoiceList) Reset

func (x *SingleChoiceList) Reset()

func (*SingleChoiceList) String

func (x *SingleChoiceList) String() string

func (*SingleChoiceList) UnmarshalJSON

func (m *SingleChoiceList) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type String

type String struct {
	Default     string `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
	Required    bool   `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
	MinLength   int32  `protobuf:"varint,3,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
	MaxLength   int32  `protobuf:"varint,4,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
	Placeholder string `protobuf:"bytes,5,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
	// contains filtered or unexported fields
}

func (*String) Descriptor deprecated

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

Deprecated: Use String.ProtoReflect.Descriptor instead.

func (*String) GetDefault

func (x *String) GetDefault() string

func (*String) GetMaxLength

func (x *String) GetMaxLength() int32

func (*String) GetMinLength

func (x *String) GetMinLength() int32

func (*String) GetPlaceholder

func (x *String) GetPlaceholder() string

func (*String) GetRequired

func (x *String) GetRequired() bool

func (*String) MarshalJSON

func (m *String) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) ProtoReflect

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

func (*String) Reset

func (x *String) Reset()

func (*String) String

func (x *String) String() string

func (*String) UnmarshalJSON

func (m *String) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type UserRoleAssignment

type UserRoleAssignment struct {

	// id is generated upon saving the assignment
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	AccountUuid string `protobuf:"bytes,2,opt,name=account_uuid,json=accountUuid,proto3" json:"account_uuid,omitempty"`
	// the role_id is a bundle_id internally
	RoleId string `protobuf:"bytes,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRoleAssignment) Descriptor deprecated

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

Deprecated: Use UserRoleAssignment.ProtoReflect.Descriptor instead.

func (*UserRoleAssignment) GetAccountUuid

func (x *UserRoleAssignment) GetAccountUuid() string

func (*UserRoleAssignment) GetId

func (x *UserRoleAssignment) GetId() string

func (*UserRoleAssignment) GetRoleId

func (x *UserRoleAssignment) GetRoleId() string

func (*UserRoleAssignment) MarshalJSON

func (m *UserRoleAssignment) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*UserRoleAssignment) ProtoMessage

func (*UserRoleAssignment) ProtoMessage()

func (*UserRoleAssignment) ProtoReflect

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

func (*UserRoleAssignment) Reset

func (x *UserRoleAssignment) Reset()

func (*UserRoleAssignment) String

func (x *UserRoleAssignment) String() string

func (*UserRoleAssignment) UnmarshalJSON

func (m *UserRoleAssignment) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Value

type Value struct {

	// id is the id of the Value. It is generated on saving it.
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BundleId string `protobuf:"bytes,2,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
	// setting_id is the id of the setting from within its bundle.
	SettingId   string    `protobuf:"bytes,3,opt,name=setting_id,json=settingId,proto3" json:"setting_id,omitempty"`
	AccountUuid string    `protobuf:"bytes,4,opt,name=account_uuid,json=accountUuid,proto3" json:"account_uuid,omitempty"`
	Resource    *Resource `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
	// Types that are assignable to Value:
	//	*Value_BoolValue
	//	*Value_IntValue
	//	*Value_StringValue
	//	*Value_ListValue
	Value isValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Value) Descriptor deprecated

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetAccountUuid

func (x *Value) GetAccountUuid() string

func (*Value) GetBoolValue

func (x *Value) GetBoolValue() bool

func (*Value) GetBundleId

func (x *Value) GetBundleId() string

func (*Value) GetId

func (x *Value) GetId() string

func (*Value) GetIntValue

func (x *Value) GetIntValue() int64

func (*Value) GetListValue

func (x *Value) GetListValue() *ListValue

func (*Value) GetResource

func (x *Value) GetResource() *Resource

func (*Value) GetSettingId

func (x *Value) GetSettingId() string

func (*Value) GetStringValue

func (x *Value) GetStringValue() string

func (*Value) GetValue

func (m *Value) GetValue() isValue_Value

func (*Value) MarshalJSON

func (m *Value) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

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

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

func (*Value) UnmarshalJSON

func (m *Value) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type ValueWithIdentifier

type ValueWithIdentifier struct {
	Identifier *Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Value      *Value      `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ValueWithIdentifier) Descriptor deprecated

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

Deprecated: Use ValueWithIdentifier.ProtoReflect.Descriptor instead.

func (*ValueWithIdentifier) GetIdentifier

func (x *ValueWithIdentifier) GetIdentifier() *Identifier

func (*ValueWithIdentifier) GetValue

func (x *ValueWithIdentifier) GetValue() *Value

func (*ValueWithIdentifier) MarshalJSON

func (m *ValueWithIdentifier) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*ValueWithIdentifier) ProtoMessage

func (*ValueWithIdentifier) ProtoMessage()

func (*ValueWithIdentifier) ProtoReflect

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

func (*ValueWithIdentifier) Reset

func (x *ValueWithIdentifier) Reset()

func (*ValueWithIdentifier) String

func (x *ValueWithIdentifier) String() string

func (*ValueWithIdentifier) UnmarshalJSON

func (m *ValueWithIdentifier) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Value_BoolValue

type Value_BoolValue struct {
	BoolValue bool `protobuf:"varint,6,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type Value_IntValue

type Value_IntValue struct {
	IntValue int64 `protobuf:"varint,7,opt,name=int_value,json=intValue,proto3,oneof"`
}

type Value_ListValue

type Value_ListValue struct {
	ListValue *ListValue `protobuf:"bytes,9,opt,name=list_value,json=listValue,proto3,oneof"`
}

type Value_StringValue

type Value_StringValue struct {
	StringValue string `protobuf:"bytes,8,opt,name=string_value,json=stringValue,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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