api

package
v0.12.76 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 28 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LaunchStage_name = map[int32]string{
		0: "LAUNCH_STAGE_UNSPECIFIED",
		1: "EARLY_ACCESS",
		2: "ALPHA",
		3: "BETA",
		4: "GA",
		5: "DEPRECATED",
	}

	LaunchStage_value = map[string]int32{
		"LAUNCH_STAGE_UNSPECIFIED": 0,
		"EARLY_ACCESS":             1,
		"ALPHA":                    2,
		"BETA":                     3,
		"GA":                       4,
		"DEPRECATED":               5,
	}
)

Functions

This section is empty.

Types

type Account

type Account struct {

	// Types that are valid to be assigned to Account:
	//	*Account_User
	//	*Account_ServiceAccount
	Account isAccount_Account `protobuf_oneof:"account"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor

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

Deprecated, Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccount

func (m *Account) GetAccount() isAccount_Account

func (*Account) GetServiceAccount

func (m *Account) GetServiceAccount() *ServiceAccount

func (*Account) GetUser

func (m *Account) GetUser() *User

func (*Account) GotenMessage

func (*Account) GotenMessage()

func (*Account) GotenValidate

func (obj *Account) GotenValidate() error

func (*Account) Marshal

func (m *Account) Marshal() ([]byte, error)

func (*Account) MarshalJSON

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

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (m *Account) ProtoReflect() preflect.Message

func (*Account) Reset

func (m *Account) Reset()

func (*Account) SetAccount

func (m *Account) SetAccount(ofv isAccount_Account)

func (*Account) SetServiceAccount

func (m *Account) SetServiceAccount(fv *ServiceAccount)

func (*Account) SetUser

func (m *Account) SetUser(fv *User)

func (*Account) String

func (m *Account) String() string

func (*Account) Unmarshal

func (m *Account) Unmarshal(b []byte) error

func (*Account) UnmarshalJSON

func (m *Account) UnmarshalJSON(data []byte) error

type Account_ServiceAccount

type Account_ServiceAccount struct {
	ServiceAccount *ServiceAccount `protobuf:"bytes,3,opt,name=service_account,json=serviceAccount,proto3,oneof" firestore:"serviceAccount"`
}

type Account_User

type Account_User struct {
	User *User `protobuf:"bytes,2,opt,name=user,proto3,oneof" firestore:"user"`
}

type LaunchStage

type LaunchStage int32

The launch stage as defined by [Google Cloud Platform Launch Stages](http://cloud.google.com/terms/launch-stages).

const (
	// Do not use this default value.
	LaunchStage_LAUNCH_STAGE_UNSPECIFIED LaunchStage = 0
	// Early Access features are limited to a closed group of testers. To use
	// these features, you must sign up in advance and sign a Trusted Tester
	// agreement (which includes confidentiality provisions). These features may
	// be unstable, changed in backward-incompatible ways, and are not
	// guaranteed to be released.
	LaunchStage_EARLY_ACCESS LaunchStage = 1
	// Alpha is a limited availability test for releases before they are cleared
	// for widespread use. By Alpha, all significant design issues are resolved
	// and we are in the process of verifying functionality. Alpha customers
	// need to apply for access, agree to applicable terms, and have their
	// projects whitelisted. Alpha releases don’t have to be feature complete,
	// no SLAs are provided, and there are no technical support obligations, but
	// they will be far enough along that customers can actually use them in
	// test environments or for limited-use tests -- just like they would in
	// normal production cases.
	LaunchStage_ALPHA LaunchStage = 2
	// Beta is the point at which we are ready to open a release for any
	// customer to use. There are no SLA or technical support obligations in a
	// Beta release. Products will be complete from a feature perspective, but
	// may have some open outstanding issues. Beta releases are suitable for
	// limited production use cases.
	LaunchStage_BETA LaunchStage = 3
	// GA features are open to all developers and are considered stable and
	// fully qualified for production use.
	LaunchStage_GA LaunchStage = 4
	// Deprecated features are scheduled to be shut down and removed. For more
	// information, see the “Deprecation Policy” section of our [Terms of
	// Service](https://cloud.google.com/terms/)
	// and the [Google Cloud Platform Subject to the Deprecation
	// Policy](https://cloud.google.com/terms/deprecation) documentation.
	LaunchStage_DEPRECATED LaunchStage = 5
)

func (LaunchStage) Descriptor

func (LaunchStage) Descriptor() preflect.EnumDescriptor

func (LaunchStage) Enum

func (x LaunchStage) Enum() *LaunchStage

func (LaunchStage) EnumDescriptor

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

Deprecated, Use LaunchStage.ProtoReflect.Descriptor instead.

func (LaunchStage) Number

func (x LaunchStage) Number() preflect.EnumNumber

func (LaunchStage) String

func (x LaunchStage) String() string

func (LaunchStage) Type

func (LaunchStage) Type() preflect.EnumType

type ServiceAccount

type ServiceAccount struct {
	Type         string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" firestore:"type"`
	ClientEmail  string `protobuf:"bytes,2,opt,name=client_email,proto3" json:"client_email,omitempty" firestore:"client_email"`
	PrivateKeyId string `protobuf:"bytes,3,opt,name=private_key_id,proto3" json:"private_key_id,omitempty" firestore:"private_key_id"`
	PrivateKey   string `protobuf:"bytes,4,opt,name=private_key,proto3" json:"private_key,omitempty" firestore:"private_key"`
	// contains filtered or unexported fields
}

func (*ServiceAccount) Clone

func (o *ServiceAccount) Clone() *ServiceAccount

func (*ServiceAccount) CloneRaw

func (*ServiceAccount) Descriptor

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

Deprecated, Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) GetClientEmail

func (m *ServiceAccount) GetClientEmail() string

func (*ServiceAccount) GetPrivateKey

func (m *ServiceAccount) GetPrivateKey() string

func (*ServiceAccount) GetPrivateKeyId

func (m *ServiceAccount) GetPrivateKeyId() string

func (*ServiceAccount) GetType

func (m *ServiceAccount) GetType() string

func (*ServiceAccount) GotenMessage

func (*ServiceAccount) GotenMessage()

func (*ServiceAccount) GotenObjectExt

func (o *ServiceAccount) GotenObjectExt()

func (*ServiceAccount) GotenValidate

func (obj *ServiceAccount) GotenValidate() error

func (*ServiceAccount) MakeDiffFieldMask

func (o *ServiceAccount) MakeDiffFieldMask(other *ServiceAccount) *ServiceAccount_FieldMask

func (*ServiceAccount) MakeFullFieldMask

func (o *ServiceAccount) MakeFullFieldMask() *ServiceAccount_FieldMask

func (*ServiceAccount) MakeRawDiffFieldMask

func (o *ServiceAccount) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask

func (*ServiceAccount) MakeRawFullFieldMask

func (o *ServiceAccount) MakeRawFullFieldMask() gotenobject.FieldMask

func (*ServiceAccount) Marshal

func (m *ServiceAccount) Marshal() ([]byte, error)

func (*ServiceAccount) MarshalJSON

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

func (*ServiceAccount) Merge

func (o *ServiceAccount) Merge(source *ServiceAccount)

func (*ServiceAccount) MergeRaw

func (o *ServiceAccount) MergeRaw(source gotenobject.GotenObjectExt)

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect

func (m *ServiceAccount) ProtoReflect() preflect.Message

func (*ServiceAccount) Reset

func (m *ServiceAccount) Reset()

func (*ServiceAccount) SetClientEmail

func (m *ServiceAccount) SetClientEmail(fv string)

func (*ServiceAccount) SetPrivateKey

func (m *ServiceAccount) SetPrivateKey(fv string)

func (*ServiceAccount) SetPrivateKeyId

func (m *ServiceAccount) SetPrivateKeyId(fv string)

func (*ServiceAccount) SetType

func (m *ServiceAccount) SetType(fv string)

func (*ServiceAccount) String

func (m *ServiceAccount) String() string

func (*ServiceAccount) Unmarshal

func (m *ServiceAccount) Unmarshal(b []byte) error

func (*ServiceAccount) UnmarshalJSON

func (m *ServiceAccount) UnmarshalJSON(data []byte) error

type ServiceAccountFieldPathBuilder

type ServiceAccountFieldPathBuilder struct{}

func NewServiceAccountFieldPathBuilder

func NewServiceAccountFieldPathBuilder() ServiceAccountFieldPathBuilder

func (ServiceAccountFieldPathBuilder) ClientEmail

func (ServiceAccountFieldPathBuilder) PrivateKey

func (ServiceAccountFieldPathBuilder) PrivateKeyId

func (ServiceAccountFieldPathBuilder) Type

type ServiceAccountPathSelectorClientEmail

type ServiceAccountPathSelectorClientEmail struct{}

func (ServiceAccountPathSelectorClientEmail) FieldPath

func (ServiceAccountPathSelectorClientEmail) WithArrayOfValues

func (ServiceAccountPathSelectorClientEmail) WithValue

type ServiceAccountPathSelectorPrivateKey

type ServiceAccountPathSelectorPrivateKey struct{}

func (ServiceAccountPathSelectorPrivateKey) FieldPath

func (ServiceAccountPathSelectorPrivateKey) WithArrayOfValues

func (ServiceAccountPathSelectorPrivateKey) WithValue

type ServiceAccountPathSelectorPrivateKeyId

type ServiceAccountPathSelectorPrivateKeyId struct{}

func (ServiceAccountPathSelectorPrivateKeyId) FieldPath

func (ServiceAccountPathSelectorPrivateKeyId) WithArrayOfValues

func (ServiceAccountPathSelectorPrivateKeyId) WithValue

type ServiceAccountPathSelectorType

type ServiceAccountPathSelectorType struct{}

func (ServiceAccountPathSelectorType) FieldPath

func (ServiceAccountPathSelectorType) WithArrayOfValues

func (ServiceAccountPathSelectorType) WithValue

type ServiceAccount_FieldMask

type ServiceAccount_FieldMask struct {
	Paths []ServiceAccount_FieldPath
}

func FullServiceAccount_FieldMask

func FullServiceAccount_FieldMask() *ServiceAccount_FieldMask

func (*ServiceAccount_FieldMask) AppendPath

func (fieldMask *ServiceAccount_FieldMask) AppendPath(path ServiceAccount_FieldPath)

func (*ServiceAccount_FieldMask) AppendRawPath

func (fieldMask *ServiceAccount_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*ServiceAccount_FieldMask) DecodeFirestore

func (fieldMask *ServiceAccount_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*ServiceAccount_FieldMask) EncodeFirestore

func (fieldMask *ServiceAccount_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*ServiceAccount_FieldMask) FilterInputFields

func (fieldMask *ServiceAccount_FieldMask) FilterInputFields() *ServiceAccount_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ServiceAccount_FieldMask) FromProtoFieldMask

func (fieldMask *ServiceAccount_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*ServiceAccount_FieldMask) GetPaths

func (fieldMask *ServiceAccount_FieldMask) GetPaths() []ServiceAccount_FieldPath

func (*ServiceAccount_FieldMask) GetRawPaths

func (fieldMask *ServiceAccount_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*ServiceAccount_FieldMask) IsFull

func (fieldMask *ServiceAccount_FieldMask) IsFull() bool

func (ServiceAccount_FieldMask) Marshal

func (fieldMask ServiceAccount_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (ServiceAccount_FieldMask) MarshalJSON

func (fieldMask ServiceAccount_FieldMask) MarshalJSON() ([]byte, error)

func (*ServiceAccount_FieldMask) PathsCount

func (fieldMask *ServiceAccount_FieldMask) PathsCount() int

func (*ServiceAccount_FieldMask) Project

func (fieldMask *ServiceAccount_FieldMask) Project(source *ServiceAccount) *ServiceAccount

func (*ServiceAccount_FieldMask) ProjectRaw

func (*ServiceAccount_FieldMask) ProtoMessage

func (fieldMask *ServiceAccount_FieldMask) ProtoMessage()

func (*ServiceAccount_FieldMask) ProtoReflect

func (fieldMask *ServiceAccount_FieldMask) ProtoReflect() preflect.Message

func (*ServiceAccount_FieldMask) Reset

func (fieldMask *ServiceAccount_FieldMask) Reset()

func (*ServiceAccount_FieldMask) Set

func (fieldMask *ServiceAccount_FieldMask) Set(target, source *ServiceAccount)

func (*ServiceAccount_FieldMask) SetFromCliFlag

func (fieldMask *ServiceAccount_FieldMask) SetFromCliFlag(raw string) error

func (*ServiceAccount_FieldMask) SetRaw

func (fieldMask *ServiceAccount_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*ServiceAccount_FieldMask) Size

func (fieldMask *ServiceAccount_FieldMask) Size() int

func (*ServiceAccount_FieldMask) String

func (fieldMask *ServiceAccount_FieldMask) String() string

func (*ServiceAccount_FieldMask) Subtract

func (*ServiceAccount_FieldMask) SubtractRaw

func (fieldMask *ServiceAccount_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask

func (*ServiceAccount_FieldMask) ToProtoFieldMask

func (fieldMask *ServiceAccount_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*ServiceAccount_FieldMask) Unmarshal

func (fieldMask *ServiceAccount_FieldMask) Unmarshal(data []byte) error

func (*ServiceAccount_FieldMask) UnmarshalJSON

func (fieldMask *ServiceAccount_FieldMask) UnmarshalJSON(data []byte) error

type ServiceAccount_FieldPath

type ServiceAccount_FieldPath interface {
	gotenobject.FieldPath
	Selector() ServiceAccount_FieldPathSelector
	Get(source *ServiceAccount) []interface{}
	GetSingle(source *ServiceAccount) (interface{}, bool)
	ClearValue(item *ServiceAccount)

	// Those methods build corresponding ServiceAccount_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) ServiceAccount_FieldPathValue
	WithIArrayOfValues(values interface{}) ServiceAccount_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) ServiceAccount_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func MustParseServiceAccount_FieldPath

func MustParseServiceAccount_FieldPath(rawField string) ServiceAccount_FieldPath

func ParseServiceAccount_FieldPath

func ParseServiceAccount_FieldPath(rawField string) (ServiceAccount_FieldPath, error)

type ServiceAccount_FieldPathArrayItemValue

type ServiceAccount_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ServiceAccount_FieldPath
	ContainsValue(*ServiceAccount) bool
}

ServiceAccount_FieldPathArrayItemValue allows storing single item in Path-specific values for ServiceAccount according to their type Present only for array (repeated) types.

func MustParseServiceAccount_FieldPathArrayItemValue

func MustParseServiceAccount_FieldPathArrayItemValue(pathStr, valueStr string) ServiceAccount_FieldPathArrayItemValue

func ParseServiceAccount_FieldPathArrayItemValue

func ParseServiceAccount_FieldPathArrayItemValue(pathStr, valueStr string) (ServiceAccount_FieldPathArrayItemValue, error)

ParseServiceAccount_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ServiceAccount_FieldPathArrayOfValues

type ServiceAccount_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ServiceAccount_FieldPath
}

ServiceAccount_FieldPathArrayOfValues allows storing slice of values for ServiceAccount fields according to their type

func MustParseServiceAccount_FieldPathArrayOfValues

func MustParseServiceAccount_FieldPathArrayOfValues(pathStr, valuesStr string) ServiceAccount_FieldPathArrayOfValues

func ParseServiceAccount_FieldPathArrayOfValues

func ParseServiceAccount_FieldPathArrayOfValues(pathStr, valuesStr string) (ServiceAccount_FieldPathArrayOfValues, error)

type ServiceAccount_FieldPathSelector

type ServiceAccount_FieldPathSelector int32
const (
	ServiceAccount_FieldPathSelectorType         ServiceAccount_FieldPathSelector = 0
	ServiceAccount_FieldPathSelectorClientEmail  ServiceAccount_FieldPathSelector = 1
	ServiceAccount_FieldPathSelectorPrivateKeyId ServiceAccount_FieldPathSelector = 2
	ServiceAccount_FieldPathSelectorPrivateKey   ServiceAccount_FieldPathSelector = 3
)

func (ServiceAccount_FieldPathSelector) String

type ServiceAccount_FieldPathValue

type ServiceAccount_FieldPathValue interface {
	ServiceAccount_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ServiceAccount)
	CompareWith(*ServiceAccount) (cmp int, comparable bool)
}

ServiceAccount_FieldPathValue allows storing values for ServiceAccount fields according to their type

func MustParseServiceAccount_FieldPathValue

func MustParseServiceAccount_FieldPathValue(pathStr, valueStr string) ServiceAccount_FieldPathValue

func ParseServiceAccount_FieldPathValue

func ParseServiceAccount_FieldPathValue(pathStr, valueStr string) (ServiceAccount_FieldPathValue, error)

type ServiceAccount_FieldTerminalPath

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

func (*ServiceAccount_FieldTerminalPath) ClearValue

func (fp *ServiceAccount_FieldTerminalPath) ClearValue(item *ServiceAccount)

func (*ServiceAccount_FieldTerminalPath) ClearValueRaw

func (fp *ServiceAccount_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*ServiceAccount_FieldTerminalPath) Get

func (fp *ServiceAccount_FieldTerminalPath) Get(source *ServiceAccount) (values []interface{})

Get returns all values pointed by specific field from source ServiceAccount

func (*ServiceAccount_FieldTerminalPath) GetDefault

func (fp *ServiceAccount_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*ServiceAccount_FieldTerminalPath) GetRaw

func (fp *ServiceAccount_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*ServiceAccount_FieldTerminalPath) GetSingle

func (fp *ServiceAccount_FieldTerminalPath) GetSingle(source *ServiceAccount) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ServiceAccount

func (*ServiceAccount_FieldTerminalPath) GetSingleRaw

func (fp *ServiceAccount_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*ServiceAccount_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*ServiceAccount_FieldTerminalPath) JSONString

func (fp *ServiceAccount_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ServiceAccount_FieldTerminalPath) Selector

func (*ServiceAccount_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (fp *ServiceAccount_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*ServiceAccount_FieldTerminalPath) String

String returns path representation in proto convention

func (*ServiceAccount_FieldTerminalPath) WithIArrayItemValue

func (fp *ServiceAccount_FieldTerminalPath) WithIArrayItemValue(value interface{}) ServiceAccount_FieldPathArrayItemValue

func (*ServiceAccount_FieldTerminalPath) WithIArrayOfValues

func (fp *ServiceAccount_FieldTerminalPath) WithIArrayOfValues(values interface{}) ServiceAccount_FieldPathArrayOfValues

func (*ServiceAccount_FieldTerminalPath) WithIValue

func (fp *ServiceAccount_FieldTerminalPath) WithIValue(value interface{}) ServiceAccount_FieldPathValue

func (*ServiceAccount_FieldTerminalPath) WithRawIArrayItemValue

func (fp *ServiceAccount_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*ServiceAccount_FieldTerminalPath) WithRawIArrayOfValues

func (fp *ServiceAccount_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*ServiceAccount_FieldTerminalPath) WithRawIValue

func (fp *ServiceAccount_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type ServiceAccount_FieldTerminalPathArrayItemValue

type ServiceAccount_FieldTerminalPathArrayItemValue struct {
	ServiceAccount_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceAccount_FieldTerminalPathArrayItemValue) ContainsValue

Contains returns a boolean indicating if value that is being held is present in given 'ServiceAccount'

func (*ServiceAccount_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *ServiceAccount_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object ServiceAccount as interface{}

func (*ServiceAccount_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *ServiceAccount_FieldTerminalPathArrayItemValue) GetSingle(source *ServiceAccount) (interface{}, bool)

func (*ServiceAccount_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *ServiceAccount_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type ServiceAccount_FieldTerminalPathArrayOfValues

type ServiceAccount_FieldTerminalPathArrayOfValues struct {
	ServiceAccount_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceAccount_FieldTerminalPathArrayOfValues) AsClientEmailArrayOfValues

func (fpaov *ServiceAccount_FieldTerminalPathArrayOfValues) AsClientEmailArrayOfValues() ([]string, bool)

func (*ServiceAccount_FieldTerminalPathArrayOfValues) AsPrivateKeyArrayOfValues

func (fpaov *ServiceAccount_FieldTerminalPathArrayOfValues) AsPrivateKeyArrayOfValues() ([]string, bool)

func (*ServiceAccount_FieldTerminalPathArrayOfValues) AsPrivateKeyIdArrayOfValues

func (fpaov *ServiceAccount_FieldTerminalPathArrayOfValues) AsPrivateKeyIdArrayOfValues() ([]string, bool)

func (*ServiceAccount_FieldTerminalPathArrayOfValues) AsTypeArrayOfValues

func (fpaov *ServiceAccount_FieldTerminalPathArrayOfValues) AsTypeArrayOfValues() ([]string, bool)

func (*ServiceAccount_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *ServiceAccount_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type ServiceAccount_FieldTerminalPathValue

type ServiceAccount_FieldTerminalPathValue struct {
	ServiceAccount_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceAccount_FieldTerminalPathValue) AsClientEmailValue

func (fpv *ServiceAccount_FieldTerminalPathValue) AsClientEmailValue() (string, bool)

func (*ServiceAccount_FieldTerminalPathValue) AsPrivateKeyIdValue

func (fpv *ServiceAccount_FieldTerminalPathValue) AsPrivateKeyIdValue() (string, bool)

func (*ServiceAccount_FieldTerminalPathValue) AsPrivateKeyValue

func (fpv *ServiceAccount_FieldTerminalPathValue) AsPrivateKeyValue() (string, bool)

func (*ServiceAccount_FieldTerminalPathValue) AsTypeValue

func (fpv *ServiceAccount_FieldTerminalPathValue) AsTypeValue() (string, bool)

func (*ServiceAccount_FieldTerminalPathValue) CompareWith

func (fpv *ServiceAccount_FieldTerminalPathValue) CompareWith(source *ServiceAccount) (int, bool)

CompareWith compares value in the 'ServiceAccount_FieldTerminalPathValue' with the value under path in 'ServiceAccount'.

func (*ServiceAccount_FieldTerminalPathValue) CompareWithRaw

func (fpv *ServiceAccount_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*ServiceAccount_FieldTerminalPathValue) GetRawValue

func (fpv *ServiceAccount_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'ServiceAccount' as interface{}

func (*ServiceAccount_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object ServiceAccount

func (*ServiceAccount_FieldTerminalPathValue) SetToRaw

func (fpv *ServiceAccount_FieldTerminalPathValue) SetToRaw(target proto.Message)

type User

type User struct {
	Email        string               `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty" firestore:"email"`
	AccessToken  string               `protobuf:"bytes,2,opt,name=access_token,proto3" json:"access_token,omitempty" firestore:"access_token"`
	TokenType    string               `protobuf:"bytes,3,opt,name=token_type,proto3" json:"token_type,omitempty" firestore:"token_type"`
	RefreshToken string               `protobuf:"bytes,4,opt,name=refresh_token,proto3" json:"refresh_token,omitempty" firestore:"refresh_token"`
	Expiry       *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expiry,proto3" json:"expiry,omitempty" firestore:"expiry"`
	// contains filtered or unexported fields
}

func (*User) Descriptor

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

Deprecated, Use User.ProtoReflect.Descriptor instead.

func (*User) GetAccessToken

func (m *User) GetAccessToken() string

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetExpiry

func (m *User) GetExpiry() *timestamp.Timestamp

func (*User) GetRefreshToken

func (m *User) GetRefreshToken() string

func (*User) GetTokenType

func (m *User) GetTokenType() string

func (*User) GotenMessage

func (*User) GotenMessage()

func (*User) GotenValidate

func (obj *User) GotenValidate() error

func (*User) Marshal

func (m *User) Marshal() ([]byte, error)

func (*User) MarshalJSON

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

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (m *User) ProtoReflect() preflect.Message

func (*User) Reset

func (m *User) Reset()

func (*User) SetAccessToken

func (m *User) SetAccessToken(fv string)

func (*User) SetEmail

func (m *User) SetEmail(fv string)

func (*User) SetExpiry

func (m *User) SetExpiry(fv *timestamp.Timestamp)

func (*User) SetRefreshToken

func (m *User) SetRefreshToken(fv string)

func (*User) SetTokenType

func (m *User) SetTokenType(fv string)

func (*User) String

func (m *User) String() string

func (*User) Unmarshal

func (m *User) Unmarshal(b []byte) error

func (*User) UnmarshalJSON

func (m *User) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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