Documentation ¶
Index ¶
- Variables
- type Beta
- type BetaBuilderdeprecated
- type Bit
- type BitBuilderdeprecated
- type BitmaskEnum
- type BitmaskEnumBuilderdeprecated
- type Box
- type BoxBuilderdeprecated
- type Deprecated
- type DeprecatedBuilderdeprecated
- type ExceptionMessage
- type ExceptionMessageBuilderdeprecated
- type Experimental
- type ExperimentalBuilderdeprecated
- type GenDefaultEnumValue
- type GenDefaultEnumValueBuilderdeprecated
- type GenEnumSet
- type GenEnumSetBuilderdeprecated
- type GenerateRuntimeSchema
- type GenerateRuntimeSchemaBuilderdeprecated
- type InternBox
- type InternBoxBuilderdeprecated
- type Legacy
- type LegacyBuilderdeprecated
- type Mixin
- type MixinBuilderdeprecated
- type NoBeta
- type NoBetaBuilderdeprecated
- type NoDeprecated
- type NoDeprecatedBuilderdeprecated
- type NoExperimental
- type NoExperimentalBuilderdeprecated
- type NoLegacy
- type NoLegacyBuilderdeprecated
- type NoTesting
- type NoTestingBuilderdeprecated
- type Released
- type ReleasedBuilderdeprecated
- type RequiresBackwardCompatibility
- type RequiresBackwardCompatibilityBuilderdeprecated
- type ReserveIds
- func (x *ReserveIds) GetIdRanges() map[int32]int32
- func (x *ReserveIds) GetIds() []int32
- func (x *ReserveIds) IsSetIdRanges() bool
- func (x *ReserveIds) IsSetIds() bool
- func (x *ReserveIds) Read(p thrift.Protocol) error
- func (x *ReserveIds) SetIdRanges(value map[int32]int32) *ReserveIds
- func (x *ReserveIds) SetIds(value []int32) *ReserveIds
- func (x *ReserveIds) Write(p thrift.Protocol) error
- type ReserveIdsBuilderdeprecated
- type SerializeInFieldIdOrder
- type SerializeInFieldIdOrderBuilderdeprecated
- type TerseWrite
- type TerseWriteBuilderdeprecated
- type Testing
- type TestingBuilderdeprecated
- type V1
- type V1Builderdeprecated
- type V1alpha
- type V1alphaBuilderdeprecated
- type V1beta
- type V1betaBuilderdeprecated
- type V1test
- type V1testBuilderdeprecated
Constants ¶
This section is empty.
Variables ¶
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
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 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
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 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) SetMessage ¶
func (x *Deprecated) SetMessage(value string) *Deprecated
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) SetField ¶
func (x *ExceptionMessage) SetField(value string) *ExceptionMessage
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 (x *ExceptionMessageBuilder) Emit() *ExceptionMessage
func (*ExceptionMessageBuilder) Field ¶
func (x *ExceptionMessageBuilder) Field(value string) *ExceptionMessageBuilder
type Experimental ¶
type Experimental struct { }
func NewExperimental ¶
func NewExperimental() *Experimental
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) SetName ¶
func (x *GenDefaultEnumValue) SetName(value string) *GenDefaultEnumValue
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 (x *GenDefaultEnumValueBuilder) Emit() *GenDefaultEnumValue
func (*GenDefaultEnumValueBuilder) Name ¶
func (x *GenDefaultEnumValueBuilder) Name(value string) *GenDefaultEnumValueBuilder
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) SetName ¶
func (x *GenEnumSet) SetName(value string) *GenEnumSet
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) SetName ¶
func (x *GenerateRuntimeSchema) SetName(value string) *GenerateRuntimeSchema
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 (x *GenerateRuntimeSchemaBuilder) Emit() *GenerateRuntimeSchema
func (*GenerateRuntimeSchemaBuilder) Name ¶
func (x *GenerateRuntimeSchemaBuilder) Name(value string) *GenerateRuntimeSchemaBuilder
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 (*Legacy) GetMessage ¶
func (*Legacy) SetMessage ¶
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 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 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
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
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 ¶
func (x *NoExperimentalBuilder) Emit() *NoExperimental
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 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 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 (x *RequiresBackwardCompatibility) Read(p thrift.Protocol) error
func (*RequiresBackwardCompatibility) SetFieldName ¶
func (x *RequiresBackwardCompatibility) SetFieldName(value bool) *RequiresBackwardCompatibility
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 (x *RequiresBackwardCompatibilityBuilder) Emit() *RequiresBackwardCompatibility
func (*RequiresBackwardCompatibilityBuilder) FieldName ¶
func (x *RequiresBackwardCompatibilityBuilder) FieldName(value bool) *RequiresBackwardCompatibilityBuilder
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) SetIdRanges ¶
func (x *ReserveIds) SetIdRanges(value map[int32]int32) *ReserveIds
func (*ReserveIds) SetIds ¶
func (x *ReserveIds) SetIds(value []int32) *ReserveIds
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
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 ¶
func (x *SerializeInFieldIdOrderBuilder) Emit() *SerializeInFieldIdOrder
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 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 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 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 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