thrift

package
v0.0.0-...-7428086 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type Beta

type Beta struct {
}

func NewBeta

func NewBeta() *Beta

func (*Beta) Read

func (x *Beta) Read(p thrift.Protocol) error

func (*Beta) Write

func (x *Beta) Write(p thrift.Protocol) error

type BetaBuilder deprecated

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

Deprecated: Use Beta.Set* methods instead or set the fields directly.

func NewBetaBuilder

func NewBetaBuilder() *BetaBuilder

func (*BetaBuilder) Emit

func (x *BetaBuilder) Emit() *Beta

type Bit

type Bit struct {
}

func NewBit

func NewBit() *Bit

func (*Bit) Read

func (x *Bit) Read(p thrift.Protocol) error

func (*Bit) Write

func (x *Bit) Write(p thrift.Protocol) error

type BitBuilder deprecated

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

Deprecated: Use Bit.Set* methods instead or set the fields directly.

func NewBitBuilder

func NewBitBuilder() *BitBuilder

func (*BitBuilder) Emit

func (x *BitBuilder) Emit() *Bit

type BitmaskEnum

type BitmaskEnum struct {
}

func NewBitmaskEnum

func NewBitmaskEnum() *BitmaskEnum

func (*BitmaskEnum) Read

func (x *BitmaskEnum) Read(p thrift.Protocol) error

func (*BitmaskEnum) Write

func (x *BitmaskEnum) Write(p thrift.Protocol) error

type BitmaskEnumBuilder deprecated

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

Deprecated: Use BitmaskEnum.Set* methods instead or set the fields directly.

func NewBitmaskEnumBuilder

func NewBitmaskEnumBuilder() *BitmaskEnumBuilder

func (*BitmaskEnumBuilder) Emit

func (x *BitmaskEnumBuilder) Emit() *BitmaskEnum

type Box

type Box struct {
}

func NewBox

func NewBox() *Box

func (*Box) Read

func (x *Box) Read(p thrift.Protocol) error

func (*Box) Write

func (x *Box) Write(p thrift.Protocol) error

type BoxBuilder deprecated

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

Deprecated: Use Box.Set* methods instead or set the fields directly.

func NewBoxBuilder

func NewBoxBuilder() *BoxBuilder

func (*BoxBuilder) Emit

func (x *BoxBuilder) Emit() *Box

type Deprecated

type Deprecated struct {
	Message string `thrift:"message,1" json:"message" db:"message"`
}

func NewDeprecated

func NewDeprecated() *Deprecated

func (*Deprecated) GetMessage

func (x *Deprecated) GetMessage() string

func (*Deprecated) Read

func (x *Deprecated) Read(p thrift.Protocol) error

func (*Deprecated) SetMessage

func (x *Deprecated) SetMessage(value string) *Deprecated

func (*Deprecated) Write

func (x *Deprecated) Write(p thrift.Protocol) error

type DeprecatedBuilder deprecated

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

Deprecated: Use Deprecated.Set* methods instead or set the fields directly.

func NewDeprecatedBuilder

func NewDeprecatedBuilder() *DeprecatedBuilder

func (*DeprecatedBuilder) Emit

func (x *DeprecatedBuilder) Emit() *Deprecated

func (*DeprecatedBuilder) Message

func (x *DeprecatedBuilder) Message(value string) *DeprecatedBuilder

type ExceptionMessage

type ExceptionMessage struct {
	Field string `thrift:"field,1" json:"field" db:"field"`
}

func NewExceptionMessage

func NewExceptionMessage() *ExceptionMessage

func (*ExceptionMessage) GetField

func (x *ExceptionMessage) GetField() string

func (*ExceptionMessage) Read

func (*ExceptionMessage) SetField

func (x *ExceptionMessage) SetField(value string) *ExceptionMessage

func (*ExceptionMessage) Write

func (x *ExceptionMessage) Write(p thrift.Protocol) error

type ExceptionMessageBuilder deprecated

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

Deprecated: Use ExceptionMessage.Set* methods instead or set the fields directly.

func NewExceptionMessageBuilder

func NewExceptionMessageBuilder() *ExceptionMessageBuilder

func (*ExceptionMessageBuilder) Emit

func (*ExceptionMessageBuilder) Field

type Experimental

type Experimental struct {
}

func NewExperimental

func NewExperimental() *Experimental

func (*Experimental) Read

func (x *Experimental) Read(p thrift.Protocol) error

func (*Experimental) Write

func (x *Experimental) Write(p thrift.Protocol) error

type ExperimentalBuilder deprecated

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

Deprecated: Use Experimental.Set* methods instead or set the fields directly.

func NewExperimentalBuilder

func NewExperimentalBuilder() *ExperimentalBuilder

func (*ExperimentalBuilder) Emit

func (x *ExperimentalBuilder) Emit() *Experimental

type GenDefaultEnumValue

type GenDefaultEnumValue struct {
	Name string `thrift:"name,1" json:"name" db:"name"`
}

func NewGenDefaultEnumValue

func NewGenDefaultEnumValue() *GenDefaultEnumValue

func (*GenDefaultEnumValue) GetName

func (x *GenDefaultEnumValue) GetName() string

func (*GenDefaultEnumValue) Read

func (*GenDefaultEnumValue) SetName

func (x *GenDefaultEnumValue) SetName(value string) *GenDefaultEnumValue

func (*GenDefaultEnumValue) Write

type GenDefaultEnumValueBuilder deprecated

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

Deprecated: Use GenDefaultEnumValue.Set* methods instead or set the fields directly.

func NewGenDefaultEnumValueBuilder

func NewGenDefaultEnumValueBuilder() *GenDefaultEnumValueBuilder

func (*GenDefaultEnumValueBuilder) Emit

func (*GenDefaultEnumValueBuilder) Name

type GenEnumSet

type GenEnumSet struct {
	Name string `thrift:"name,1" json:"name" db:"name"`
}

func NewGenEnumSet

func NewGenEnumSet() *GenEnumSet

func (*GenEnumSet) GetName

func (x *GenEnumSet) GetName() string

func (*GenEnumSet) Read

func (x *GenEnumSet) Read(p thrift.Protocol) error

func (*GenEnumSet) SetName

func (x *GenEnumSet) SetName(value string) *GenEnumSet

func (*GenEnumSet) Write

func (x *GenEnumSet) Write(p thrift.Protocol) error

type GenEnumSetBuilder deprecated

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

Deprecated: Use GenEnumSet.Set* methods instead or set the fields directly.

func NewGenEnumSetBuilder

func NewGenEnumSetBuilder() *GenEnumSetBuilder

func (*GenEnumSetBuilder) Emit

func (x *GenEnumSetBuilder) Emit() *GenEnumSet

func (*GenEnumSetBuilder) Name

func (x *GenEnumSetBuilder) Name(value string) *GenEnumSetBuilder

type GenerateRuntimeSchema

type GenerateRuntimeSchema struct {
	Name string `thrift:"name,1" json:"name" db:"name"`
}

func NewGenerateRuntimeSchema

func NewGenerateRuntimeSchema() *GenerateRuntimeSchema

func (*GenerateRuntimeSchema) GetName

func (x *GenerateRuntimeSchema) GetName() string

func (*GenerateRuntimeSchema) Read

func (*GenerateRuntimeSchema) SetName

func (*GenerateRuntimeSchema) Write

type GenerateRuntimeSchemaBuilder deprecated

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

Deprecated: Use GenerateRuntimeSchema.Set* methods instead or set the fields directly.

func NewGenerateRuntimeSchemaBuilder

func NewGenerateRuntimeSchemaBuilder() *GenerateRuntimeSchemaBuilder

func (*GenerateRuntimeSchemaBuilder) Emit

func (*GenerateRuntimeSchemaBuilder) Name

type InternBox

type InternBox struct {
}

func NewInternBox

func NewInternBox() *InternBox

func (*InternBox) Read

func (x *InternBox) Read(p thrift.Protocol) error

func (*InternBox) Write

func (x *InternBox) Write(p thrift.Protocol) error

type InternBoxBuilder deprecated

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

Deprecated: Use InternBox.Set* methods instead or set the fields directly.

func NewInternBoxBuilder

func NewInternBoxBuilder() *InternBoxBuilder

func (*InternBoxBuilder) Emit

func (x *InternBoxBuilder) Emit() *InternBox

type Legacy

type Legacy struct {
	Message string `thrift:"message,1" json:"message" db:"message"`
}

func NewLegacy

func NewLegacy() *Legacy

func (*Legacy) GetMessage

func (x *Legacy) GetMessage() string

func (*Legacy) Read

func (x *Legacy) Read(p thrift.Protocol) error

func (*Legacy) SetMessage

func (x *Legacy) SetMessage(value string) *Legacy

func (*Legacy) Write

func (x *Legacy) Write(p thrift.Protocol) error

type LegacyBuilder deprecated

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

Deprecated: Use Legacy.Set* methods instead or set the fields directly.

func NewLegacyBuilder

func NewLegacyBuilder() *LegacyBuilder

func (*LegacyBuilder) Emit

func (x *LegacyBuilder) Emit() *Legacy

func (*LegacyBuilder) Message

func (x *LegacyBuilder) Message(value string) *LegacyBuilder

type Mixin

type Mixin struct {
}

func NewMixin

func NewMixin() *Mixin

func (*Mixin) Read

func (x *Mixin) Read(p thrift.Protocol) error

func (*Mixin) Write

func (x *Mixin) Write(p thrift.Protocol) error

type MixinBuilder deprecated

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

Deprecated: Use Mixin.Set* methods instead or set the fields directly.

func NewMixinBuilder

func NewMixinBuilder() *MixinBuilder

func (*MixinBuilder) Emit

func (x *MixinBuilder) Emit() *Mixin

type NoBeta

type NoBeta struct {
}

func NewNoBeta

func NewNoBeta() *NoBeta

func (*NoBeta) Read

func (x *NoBeta) Read(p thrift.Protocol) error

func (*NoBeta) Write

func (x *NoBeta) Write(p thrift.Protocol) error

type NoBetaBuilder deprecated

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

Deprecated: Use NoBeta.Set* methods instead or set the fields directly.

func NewNoBetaBuilder

func NewNoBetaBuilder() *NoBetaBuilder

func (*NoBetaBuilder) Emit

func (x *NoBetaBuilder) Emit() *NoBeta

type NoDeprecated

type NoDeprecated struct {
}

func NewNoDeprecated

func NewNoDeprecated() *NoDeprecated

func (*NoDeprecated) Read

func (x *NoDeprecated) Read(p thrift.Protocol) error

func (*NoDeprecated) Write

func (x *NoDeprecated) Write(p thrift.Protocol) error

type NoDeprecatedBuilder deprecated

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

Deprecated: Use NoDeprecated.Set* methods instead or set the fields directly.

func NewNoDeprecatedBuilder

func NewNoDeprecatedBuilder() *NoDeprecatedBuilder

func (*NoDeprecatedBuilder) Emit

func (x *NoDeprecatedBuilder) Emit() *NoDeprecated

type NoExperimental

type NoExperimental struct {
}

func NewNoExperimental

func NewNoExperimental() *NoExperimental

func (*NoExperimental) Read

func (x *NoExperimental) Read(p thrift.Protocol) error

func (*NoExperimental) Write

func (x *NoExperimental) Write(p thrift.Protocol) error

type NoExperimentalBuilder deprecated

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

Deprecated: Use NoExperimental.Set* methods instead or set the fields directly.

func NewNoExperimentalBuilder

func NewNoExperimentalBuilder() *NoExperimentalBuilder

func (*NoExperimentalBuilder) Emit

type NoLegacy

type NoLegacy struct {
}

func NewNoLegacy

func NewNoLegacy() *NoLegacy

func (*NoLegacy) Read

func (x *NoLegacy) Read(p thrift.Protocol) error

func (*NoLegacy) Write

func (x *NoLegacy) Write(p thrift.Protocol) error

type NoLegacyBuilder deprecated

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

Deprecated: Use NoLegacy.Set* methods instead or set the fields directly.

func NewNoLegacyBuilder

func NewNoLegacyBuilder() *NoLegacyBuilder

func (*NoLegacyBuilder) Emit

func (x *NoLegacyBuilder) Emit() *NoLegacy

type NoTesting

type NoTesting struct {
}

func NewNoTesting

func NewNoTesting() *NoTesting

func (*NoTesting) Read

func (x *NoTesting) Read(p thrift.Protocol) error

func (*NoTesting) Write

func (x *NoTesting) Write(p thrift.Protocol) error

type NoTestingBuilder deprecated

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

Deprecated: Use NoTesting.Set* methods instead or set the fields directly.

func NewNoTestingBuilder

func NewNoTestingBuilder() *NoTestingBuilder

func (*NoTestingBuilder) Emit

func (x *NoTestingBuilder) Emit() *NoTesting

type Released

type Released struct {
}

func NewReleased

func NewReleased() *Released

func (*Released) Read

func (x *Released) Read(p thrift.Protocol) error

func (*Released) Write

func (x *Released) Write(p thrift.Protocol) error

type ReleasedBuilder deprecated

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

Deprecated: Use Released.Set* methods instead or set the fields directly.

func NewReleasedBuilder

func NewReleasedBuilder() *ReleasedBuilder

func (*ReleasedBuilder) Emit

func (x *ReleasedBuilder) Emit() *Released

type RequiresBackwardCompatibility

type RequiresBackwardCompatibility struct {
	FieldName bool `thrift:"field_name,1" json:"field_name" db:"field_name"`
}

func NewRequiresBackwardCompatibility

func NewRequiresBackwardCompatibility() *RequiresBackwardCompatibility

func (*RequiresBackwardCompatibility) GetFieldName

func (x *RequiresBackwardCompatibility) GetFieldName() bool

func (*RequiresBackwardCompatibility) Read

func (*RequiresBackwardCompatibility) SetFieldName

func (*RequiresBackwardCompatibility) Write

type RequiresBackwardCompatibilityBuilder deprecated

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

Deprecated: Use RequiresBackwardCompatibility.Set* methods instead or set the fields directly.

func NewRequiresBackwardCompatibilityBuilder

func NewRequiresBackwardCompatibilityBuilder() *RequiresBackwardCompatibilityBuilder

func (*RequiresBackwardCompatibilityBuilder) Emit

func (*RequiresBackwardCompatibilityBuilder) FieldName

type ReserveIds

type ReserveIds struct {
	Ids      []int32         `thrift:"ids,1" json:"ids" db:"ids"`
	IdRanges map[int32]int32 `thrift:"id_ranges,2" json:"id_ranges" db:"id_ranges"`
}

func NewReserveIds

func NewReserveIds() *ReserveIds

func (*ReserveIds) GetIdRanges

func (x *ReserveIds) GetIdRanges() map[int32]int32

func (*ReserveIds) GetIds

func (x *ReserveIds) GetIds() []int32

func (*ReserveIds) IsSetIdRanges

func (x *ReserveIds) IsSetIdRanges() bool

func (*ReserveIds) IsSetIds

func (x *ReserveIds) IsSetIds() bool

func (*ReserveIds) Read

func (x *ReserveIds) Read(p thrift.Protocol) error

func (*ReserveIds) SetIdRanges

func (x *ReserveIds) SetIdRanges(value map[int32]int32) *ReserveIds

func (*ReserveIds) SetIds

func (x *ReserveIds) SetIds(value []int32) *ReserveIds

func (*ReserveIds) Write

func (x *ReserveIds) Write(p thrift.Protocol) error

type ReserveIdsBuilder deprecated

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

Deprecated: Use ReserveIds.Set* methods instead or set the fields directly.

func NewReserveIdsBuilder

func NewReserveIdsBuilder() *ReserveIdsBuilder

func (*ReserveIdsBuilder) Emit

func (x *ReserveIdsBuilder) Emit() *ReserveIds

func (*ReserveIdsBuilder) IdRanges

func (x *ReserveIdsBuilder) IdRanges(value map[int32]int32) *ReserveIdsBuilder

func (*ReserveIdsBuilder) Ids

func (x *ReserveIdsBuilder) Ids(value []int32) *ReserveIdsBuilder

type SerializeInFieldIdOrder

type SerializeInFieldIdOrder struct {
}

func NewSerializeInFieldIdOrder

func NewSerializeInFieldIdOrder() *SerializeInFieldIdOrder

func (*SerializeInFieldIdOrder) Read

func (*SerializeInFieldIdOrder) Write

type SerializeInFieldIdOrderBuilder deprecated

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

Deprecated: Use SerializeInFieldIdOrder.Set* methods instead or set the fields directly.

func NewSerializeInFieldIdOrderBuilder

func NewSerializeInFieldIdOrderBuilder() *SerializeInFieldIdOrderBuilder

func (*SerializeInFieldIdOrderBuilder) Emit

type TerseWrite

type TerseWrite struct {
}

func NewTerseWrite

func NewTerseWrite() *TerseWrite

func (*TerseWrite) Read

func (x *TerseWrite) Read(p thrift.Protocol) error

func (*TerseWrite) Write

func (x *TerseWrite) Write(p thrift.Protocol) error

type TerseWriteBuilder deprecated

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

Deprecated: Use TerseWrite.Set* methods instead or set the fields directly.

func NewTerseWriteBuilder

func NewTerseWriteBuilder() *TerseWriteBuilder

func (*TerseWriteBuilder) Emit

func (x *TerseWriteBuilder) Emit() *TerseWrite

type Testing

type Testing struct {
}

func NewTesting

func NewTesting() *Testing

func (*Testing) Read

func (x *Testing) Read(p thrift.Protocol) error

func (*Testing) Write

func (x *Testing) Write(p thrift.Protocol) error

type TestingBuilder deprecated

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

Deprecated: Use Testing.Set* methods instead or set the fields directly.

func NewTestingBuilder

func NewTestingBuilder() *TestingBuilder

func (*TestingBuilder) Emit

func (x *TestingBuilder) Emit() *Testing

type V1

type V1 struct {
}

func NewV1

func NewV1() *V1

func (*V1) Read

func (x *V1) Read(p thrift.Protocol) error

func (*V1) Write

func (x *V1) Write(p thrift.Protocol) error

type V1Builder deprecated

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

Deprecated: Use V1.Set* methods instead or set the fields directly.

func NewV1Builder

func NewV1Builder() *V1Builder

func (*V1Builder) Emit

func (x *V1Builder) Emit() *V1

type V1alpha

type V1alpha struct {
}

func NewV1alpha

func NewV1alpha() *V1alpha

func (*V1alpha) Read

func (x *V1alpha) Read(p thrift.Protocol) error

func (*V1alpha) Write

func (x *V1alpha) Write(p thrift.Protocol) error

type V1alphaBuilder deprecated

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

Deprecated: Use V1alpha.Set* methods instead or set the fields directly.

func NewV1alphaBuilder

func NewV1alphaBuilder() *V1alphaBuilder

func (*V1alphaBuilder) Emit

func (x *V1alphaBuilder) Emit() *V1alpha

type V1beta

type V1beta struct {
}

func NewV1beta

func NewV1beta() *V1beta

func (*V1beta) Read

func (x *V1beta) Read(p thrift.Protocol) error

func (*V1beta) Write

func (x *V1beta) Write(p thrift.Protocol) error

type V1betaBuilder deprecated

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

Deprecated: Use V1beta.Set* methods instead or set the fields directly.

func NewV1betaBuilder

func NewV1betaBuilder() *V1betaBuilder

func (*V1betaBuilder) Emit

func (x *V1betaBuilder) Emit() *V1beta

type V1test

type V1test struct {
}

func NewV1test

func NewV1test() *V1test

func (*V1test) Read

func (x *V1test) Read(p thrift.Protocol) error

func (*V1test) Write

func (x *V1test) Write(p thrift.Protocol) error

type V1testBuilder deprecated

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

Deprecated: Use V1test.Set* methods instead or set the fields directly.

func NewV1testBuilder

func NewV1testBuilder() *V1testBuilder

func (*V1testBuilder) Emit

func (x *V1testBuilder) Emit() *V1test

Jump to

Keyboard shortcuts

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