abe

package
v2.0.0-...-cccaf7b Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

* A Bit of Everything * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0 * Contact: none@example.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* A Bit of Everything * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0 * Contact: none@example.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* A Bit of Everything * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0 * Contact: none@example.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* A Bit of Everything * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0 * Contact: none@example.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* A Bit of Everything * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0 * Contact: none@example.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* A Bit of Everything * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0 * Contact: none@example.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ABitOfEverything

type ABitOfEverything struct {
	SingleNested *ABitOfEverythingNested  `json:"singleNested,omitempty"`
	Nested       []ABitOfEverythingNested `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue"`
	DoubleValue              float64                           `json:"doubleValue"`
	Int64Value               string                            `json:"int64Value"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	// Numeric enum description.
	EnumValueAnnotation *ExamplepbNumericEnum `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	// Nested object description.
	NestedAnnotation                           *ABitOfEverythingNested `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                   `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                  `json:"requiredStringViaFieldBehaviorAnnotation"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                  `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                  `json:"optionalStringValue,omitempty"`
	// Only digits are allowed.
	ProductId                           []string `json:"productId,omitempty"`
	OptionalStringField                 string   `json:"optionalStringField,omitempty"`
	RequiredStringField1                string   `json:"requiredStringField1"`
	RequiredStringField2                string   `json:"requiredStringField2"`
	RequiredFieldBehaviorJsonNameCustom string   `json:"required_field_behavior_json_name_custom"`
	RequiredFieldSchemaJsonNameCustom   string   `json:"required_field_schema_json_name_custom"`
	TrailingOnly                        string   `json:"trailingOnly,omitempty"`
	// Trailing only dot.
	TrailingOnlyDot string `json:"trailingOnlyDot,omitempty"`
	// Trailing both.
	TrailingBoth string `json:"trailingBoth,omitempty"`
	// This is an example of a multi-line comment.  Trailing multiline.
	TrailingMultiline string   `json:"trailingMultiline,omitempty"`
	Uuids             []string `json:"uuids,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ABitOfEverything1

type ABitOfEverything1 struct {
	SingleNested *ABitOfEverythingNested  `json:"singleNested,omitempty"`
	Nested       []ABitOfEverythingNested `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue"`
	DoubleValue              float64                           `json:"doubleValue"`
	Int64Value               string                            `json:"int64Value"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	// Numeric enum description.
	EnumValueAnnotation *ExamplepbNumericEnum `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	// Nested object description.
	NestedAnnotation                           *ABitOfEverythingNested `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                   `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                  `json:"requiredStringViaFieldBehaviorAnnotation"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                  `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                  `json:"optionalStringValue,omitempty"`
	// Only digits are allowed.
	ProductId                           []string `json:"productId,omitempty"`
	OptionalStringField                 string   `json:"optionalStringField,omitempty"`
	RequiredStringField1                string   `json:"requiredStringField1"`
	RequiredStringField2                string   `json:"requiredStringField2"`
	RequiredFieldBehaviorJsonNameCustom string   `json:"required_field_behavior_json_name_custom"`
	RequiredFieldSchemaJsonNameCustom   string   `json:"required_field_schema_json_name_custom"`
	TrailingOnly                        string   `json:"trailingOnly,omitempty"`
	// Trailing only dot.
	TrailingOnlyDot string `json:"trailingOnlyDot,omitempty"`
	// Trailing both.
	TrailingBoth string `json:"trailingBoth,omitempty"`
	// This is an example of a multi-line comment.  Trailing multiline.
	TrailingMultiline string   `json:"trailingMultiline,omitempty"`
	Uuids             []string `json:"uuids,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ABitOfEverything2

type ABitOfEverything2 struct {
	SingleNested *ABitOfEverythingNested  `json:"singleNested,omitempty"`
	Nested       []ABitOfEverythingNested `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue,omitempty"`
	DoubleValue              float64                           `json:"doubleValue,omitempty"`
	Int64Value               string                            `json:"int64Value,omitempty"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	// Numeric enum description.
	EnumValueAnnotation *ExamplepbNumericEnum `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	// Nested object description.
	NestedAnnotation                           *ABitOfEverythingNested `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                   `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                  `json:"requiredStringViaFieldBehaviorAnnotation,omitempty"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                  `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                  `json:"optionalStringValue,omitempty"`
	// Only digits are allowed.
	ProductId                           []string `json:"productId,omitempty"`
	OptionalStringField                 string   `json:"optionalStringField,omitempty"`
	RequiredStringField1                string   `json:"requiredStringField1,omitempty"`
	RequiredStringField2                string   `json:"requiredStringField2,omitempty"`
	RequiredFieldBehaviorJsonNameCustom string   `json:"required_field_behavior_json_name_custom,omitempty"`
	RequiredFieldSchemaJsonNameCustom   string   `json:"required_field_schema_json_name_custom,omitempty"`
	TrailingOnly                        string   `json:"trailingOnly,omitempty"`
	// Trailing only dot.
	TrailingOnlyDot string `json:"trailingOnlyDot,omitempty"`
	// Trailing both.
	TrailingBoth string `json:"trailingBoth,omitempty"`
	// This is an example of a multi-line comment.  Trailing multiline.
	TrailingMultiline string   `json:"trailingMultiline,omitempty"`
	Uuids             []string `json:"uuids,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ABitOfEverything3

type ABitOfEverything3 struct {
	SingleNested *ABitOfEverythingNested  `json:"singleNested,omitempty"`
	Nested       []ABitOfEverythingNested `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue"`
	DoubleValue              float64                           `json:"doubleValue"`
	Int64Value               string                            `json:"int64Value"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	// Numeric enum description.
	EnumValueAnnotation *ExamplepbNumericEnum `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	// Nested object description.
	NestedAnnotation                           *ABitOfEverythingNested `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                   `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                  `json:"requiredStringViaFieldBehaviorAnnotation"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                  `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                  `json:"optionalStringValue,omitempty"`
	// Only digits are allowed.
	ProductId                           []string `json:"productId,omitempty"`
	OptionalStringField                 string   `json:"optionalStringField,omitempty"`
	RequiredStringField1                string   `json:"requiredStringField1"`
	RequiredStringField2                string   `json:"requiredStringField2"`
	RequiredFieldBehaviorJsonNameCustom string   `json:"required_field_behavior_json_name_custom"`
	RequiredFieldSchemaJsonNameCustom   string   `json:"required_field_schema_json_name_custom"`
	TrailingOnly                        string   `json:"trailingOnly,omitempty"`
	// Trailing only dot.
	TrailingOnlyDot string `json:"trailingOnlyDot,omitempty"`
	// Trailing both.
	TrailingBoth string `json:"trailingBoth,omitempty"`
	// This is an example of a multi-line comment.  Trailing multiline.
	TrailingMultiline string   `json:"trailingMultiline,omitempty"`
	Uuids             []string `json:"uuids,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ABitOfEverything4

type ABitOfEverything4 struct {
	SingleNested *ABitOfEverythingNested  `json:"singleNested,omitempty"`
	Nested       []ABitOfEverythingNested `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue,omitempty"`
	DoubleValue              float64                           `json:"doubleValue,omitempty"`
	Int64Value               string                            `json:"int64Value,omitempty"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	// Numeric enum description.
	EnumValueAnnotation *ExamplepbNumericEnum `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	// Nested object description.
	NestedAnnotation                           *ABitOfEverythingNested `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                   `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                  `json:"requiredStringViaFieldBehaviorAnnotation,omitempty"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                  `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                  `json:"optionalStringValue,omitempty"`
	// Only digits are allowed.
	ProductId                           []string `json:"productId,omitempty"`
	OptionalStringField                 string   `json:"optionalStringField,omitempty"`
	RequiredStringField1                string   `json:"requiredStringField1,omitempty"`
	RequiredStringField2                string   `json:"requiredStringField2,omitempty"`
	RequiredFieldBehaviorJsonNameCustom string   `json:"required_field_behavior_json_name_custom,omitempty"`
	RequiredFieldSchemaJsonNameCustom   string   `json:"required_field_schema_json_name_custom,omitempty"`
	TrailingOnly                        string   `json:"trailingOnly,omitempty"`
	// Trailing only dot.
	TrailingOnlyDot string `json:"trailingOnlyDot,omitempty"`
	// Trailing both.
	TrailingBoth string `json:"trailingBoth,omitempty"`
	// This is an example of a multi-line comment.  Trailing multiline.
	TrailingMultiline string   `json:"trailingMultiline,omitempty"`
	Uuids             []string `json:"uuids,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ABitOfEverything5

type ABitOfEverything5 struct {
	SingleNested *ABitOfEverythingNested  `json:"singleNested,omitempty"`
	Nested       []ABitOfEverythingNested `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue"`
	DoubleValue              float64                           `json:"doubleValue"`
	Int64Value               string                            `json:"int64Value"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	EnumValueAnnotation    *ExamplepbNumericEnum  `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation                   []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	NestedAnnotation                           *ABitOfEverythingNested  `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                    `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                   `json:"requiredStringViaFieldBehaviorAnnotation"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                   `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                   `json:"optionalStringValue,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ABitOfEverything6

type ABitOfEverything6 struct {
	SingleNested *ABitOfEverythingNested  `json:"singleNested,omitempty"`
	Nested       []ABitOfEverythingNested `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue"`
	DoubleValue              float64                           `json:"doubleValue"`
	Int64Value               string                            `json:"int64Value"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	EnumValueAnnotation    *ExamplepbNumericEnum  `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation                   []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	NestedAnnotation                           *ABitOfEverythingNested  `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                    `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                   `json:"requiredStringViaFieldBehaviorAnnotation"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                   `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                   `json:"optionalStringValue,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ABitOfEverything7

type ABitOfEverything7 struct {
	SingleNested *ABitOfEverythingNested  `json:"singleNested,omitempty"`
	Nested       []ABitOfEverythingNested `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue"`
	DoubleValue              float64                           `json:"doubleValue"`
	Int64Value               string                            `json:"int64Value"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	EnumValueAnnotation    *ExamplepbNumericEnum  `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation                   []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	NestedAnnotation                           *ABitOfEverythingNested  `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                    `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                   `json:"requiredStringViaFieldBehaviorAnnotation"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                   `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                   `json:"optionalStringValue,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ABitOfEverything8

type ABitOfEverything8 struct {
	SingleNested *ABitOfEverythingNested  `json:"singleNested,omitempty"`
	Nested       []ABitOfEverythingNested `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue"`
	DoubleValue              float64                           `json:"doubleValue"`
	Int64Value               string                            `json:"int64Value"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	EnumValueAnnotation    *ExamplepbNumericEnum  `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation                   []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	NestedAnnotation                           *ABitOfEverythingNested  `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                    `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                   `json:"requiredStringViaFieldBehaviorAnnotation"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                   `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                   `json:"optionalStringValue,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ABitOfEverythingApiService

type ABitOfEverythingApiService service

func (*ABitOfEverythingApiService) ABitOfEverythingServiceDelete

func (a *ABitOfEverythingApiService) ABitOfEverythingServiceDelete(ctx context.Context, uuid string) (interface{}, *http.Response, error)

ABitOfEverythingApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param uuid

@return interface{}

func (*ABitOfEverythingApiService) ABitOfEverythingServiceGetQuery

func (a *ABitOfEverythingApiService) ABitOfEverythingServiceGetQuery(ctx context.Context, uuidName string, floatValue float32, doubleValue float64, int64Value string, requiredStringViaFieldBehaviorAnnotation string, requiredStringField1 string, requiredStringField2 string, requiredFieldBehaviorJsonNameCustom string, requiredFieldSchemaJsonNameCustom string, localVarOptionals *ABitOfEverythingServiceGetQueryOpts) (interface{}, *http.Response, error)

func (*ABitOfEverythingApiService) ABitOfEverythingServiceOverwriteRequestContentType

func (a *ABitOfEverythingApiService) ABitOfEverythingServiceOverwriteRequestContentType(ctx context.Context, body ExamplepbBody) (interface{}, *http.Response, error)

ABitOfEverythingApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body

@return interface{}

func (*ABitOfEverythingApiService) ABitOfEverythingServiceOverwriteResponseContentType

func (a *ABitOfEverythingApiService) ABitOfEverythingServiceOverwriteResponseContentType(ctx context.Context) (string, *http.Response, error)

ABitOfEverythingApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return string

type ABitOfEverythingServiceDeepPathEchoBody

type ABitOfEverythingServiceDeepPathEchoBody struct {
	SingleNested *ABitOfEverythingServiceDeepPathEchoBodySingleNested `json:"singleNested,omitempty"`
	Uuid         string                                               `json:"uuid"`
	Nested       []ABitOfEverythingNested                             `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue"`
	DoubleValue              float64                           `json:"doubleValue"`
	Int64Value               string                            `json:"int64Value"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	// Numeric enum description.
	EnumValueAnnotation *ExamplepbNumericEnum `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	// Nested object description.
	NestedAnnotation                           *ABitOfEverythingNested `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                   `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                  `json:"requiredStringViaFieldBehaviorAnnotation"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                  `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                  `json:"optionalStringValue,omitempty"`
	// Only digits are allowed.
	ProductId                           []string `json:"productId,omitempty"`
	OptionalStringField                 string   `json:"optionalStringField,omitempty"`
	RequiredStringField1                string   `json:"requiredStringField1"`
	RequiredStringField2                string   `json:"requiredStringField2"`
	RequiredFieldBehaviorJsonNameCustom string   `json:"required_field_behavior_json_name_custom"`
	RequiredFieldSchemaJsonNameCustom   string   `json:"required_field_schema_json_name_custom"`
	TrailingOnly                        string   `json:"trailingOnly,omitempty"`
	// Trailing only dot.
	TrailingOnlyDot string `json:"trailingOnlyDot,omitempty"`
	// Trailing both.
	TrailingBoth string `json:"trailingBoth,omitempty"`
	// This is an example of a multi-line comment.  Trailing multiline.
	TrailingMultiline string   `json:"trailingMultiline,omitempty"`
	Uuids             []string `json:"uuids,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ABitOfEverythingServiceDeepPathEchoBodySingleNested

type ABitOfEverythingServiceDeepPathEchoBodySingleNested struct {
	Amount int64 `json:"amount,omitempty"`
	// DeepEnum description.
	Ok *NestedDeepEnum `json:"ok,omitempty"`
}

Nested is nested type.

type ABitOfEverythingServiceGetQueryOpts

type ABitOfEverythingServiceGetQueryOpts struct {
	SingleNestedName                           optional.String
	SingleNestedAmount                         optional.Int64
	SingleNestedOk                             optional.String
	Uint64Value                                optional.String
	Int32Value                                 optional.Int32
	Fixed64Value                               optional.String
	Fixed32Value                               optional.Int64
	BoolValue                                  optional.Bool
	StringValue                                optional.String
	BytesValue                                 optional.String
	Uint32Value                                optional.Int64
	EnumValue                                  optional.String
	PathEnumValue                              optional.String
	NestedPathEnumValue                        optional.String
	Sfixed32Value                              optional.Int32
	Sfixed64Value                              optional.String
	Sint32Value                                optional.Int32
	Sint64Value                                optional.String
	RepeatedStringValue                        optional.Interface
	OneofEmpty                                 optional.Interface
	OneofString                                optional.String
	MapValue                                   optional.Interface
	MappedStringValue                          optional.String
	MappedNestedValue                          optional.Interface
	NonConventionalNameValue                   optional.String
	TimestampValue                             optional.Time
	RepeatedEnumValue                          optional.Interface
	RepeatedEnumAnnotation                     optional.Interface
	EnumValueAnnotation                        optional.String
	RepeatedStringAnnotation                   optional.Interface
	NestedAnnotationName                       optional.String
	NestedAnnotationAmount                     optional.Int64
	NestedAnnotationOk                         optional.String
	Int64OverrideType                          optional.Int64
	OutputOnlyStringViaFieldBehaviorAnnotation optional.String
	OptionalStringValue                        optional.String
	ProductId                                  optional.Interface
	OptionalStringField                        optional.String
	TrailingOnly                               optional.String
	TrailingOnlyDot                            optional.String
	TrailingBoth                               optional.String
	TrailingMultiline                          optional.String
	Uuids                                      optional.Interface
}

type ABitOfEverythingServicePostWithEmptyBodyBody

type ABitOfEverythingServicePostWithEmptyBodyBody struct {
}

type ABitOfEverythingServiceUpdateBody

type ABitOfEverythingServiceUpdateBody struct {
	SingleNested *ABitOfEverythingNested  `json:"singleNested,omitempty"`
	Nested       []ABitOfEverythingNested `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue"`
	DoubleValue              float64                           `json:"doubleValue"`
	Int64Value               string                            `json:"int64Value"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	// Numeric enum description.
	EnumValueAnnotation *ExamplepbNumericEnum `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	// Nested object description.
	NestedAnnotation                           *ABitOfEverythingNested `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                   `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                  `json:"requiredStringViaFieldBehaviorAnnotation"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                  `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                  `json:"optionalStringValue,omitempty"`
	// Only digits are allowed.
	ProductId                           []string `json:"productId,omitempty"`
	OptionalStringField                 string   `json:"optionalStringField,omitempty"`
	RequiredStringField1                string   `json:"requiredStringField1"`
	RequiredStringField2                string   `json:"requiredStringField2"`
	RequiredFieldBehaviorJsonNameCustom string   `json:"required_field_behavior_json_name_custom"`
	RequiredFieldSchemaJsonNameCustom   string   `json:"required_field_schema_json_name_custom"`
	TrailingOnly                        string   `json:"trailingOnly,omitempty"`
	// Trailing only dot.
	TrailingOnlyDot string `json:"trailingOnlyDot,omitempty"`
	// Trailing both.
	TrailingBoth string `json:"trailingBoth,omitempty"`
	// This is an example of a multi-line comment.  Trailing multiline.
	TrailingMultiline string   `json:"trailingMultiline,omitempty"`
	Uuids             []string `json:"uuids,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ABitOfEverythingServiceUpdateV2Body

type ABitOfEverythingServiceUpdateV2Body struct {
	Abe *ABitOfEverything2 `json:"abe,omitempty"`
	// The paths to update.
	UpdateMask string `json:"updateMask,omitempty"`
}

type Book

type Book struct {
	// Output only. The book's ID.
	Id string `json:"id,omitempty"`
	// Output only. Creation time of the book.
	CreateTime time.Time `json:"createTime,omitempty"`
}

An example resource type from AIP-123 used to test the behavior described in the CreateBookRequest message. See: https://google.aip.dev/123

type ExamplepbABitOfEverythingServiceUpdateBody

type ExamplepbABitOfEverythingServiceUpdateBody struct {
	SingleNested *ABitOfEverythingNested  `json:"singleNested,omitempty"`
	Nested       []ABitOfEverythingNested `json:"nested,omitempty"`
	// Float value field
	FloatValue               float32                           `json:"floatValue"`
	DoubleValue              float64                           `json:"doubleValue"`
	Int64Value               string                            `json:"int64Value"`
	Uint64Value              string                            `json:"uint64Value,omitempty"`
	Int32Value               int32                             `json:"int32Value,omitempty"`
	Fixed64Value             string                            `json:"fixed64Value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32Value,omitempty"`
	BoolValue                bool                              `json:"boolValue,omitempty"`
	StringValue              string                            `json:"stringValue,omitempty"`
	BytesValue               string                            `json:"bytesValue,omitempty"`
	Uint32Value              int64                             `json:"uint32Value,omitempty"`
	EnumValue                *ExamplepbNumericEnum             `json:"enumValue,omitempty"`
	PathEnumValue            *PathenumPathEnum                 `json:"pathEnumValue,omitempty"`
	NestedPathEnumValue      *MessagePathEnumNestedPathEnum    `json:"nestedPathEnumValue,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32Value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64Value,omitempty"`
	Sint32Value              int32                             `json:"sint32Value,omitempty"`
	Sint64Value              string                            `json:"sint64Value,omitempty"`
	RepeatedStringValue      []string                          `json:"repeatedStringValue,omitempty"`
	OneofEmpty               *interface{}                      `json:"oneofEmpty,omitempty"`
	OneofString              string                            `json:"oneofString,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"mapValue,omitempty"`
	MappedStringValue        map[string]string                 `json:"mappedStringValue,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mappedNestedValue,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	TimestampValue           time.Time                         `json:"timestampValue,omitempty"`
	RepeatedEnumValue        []ExamplepbNumericEnum            `json:"repeatedEnumValue,omitempty"`
	// Repeated numeric enum description.
	RepeatedEnumAnnotation []ExamplepbNumericEnum `json:"repeatedEnumAnnotation,omitempty"`
	// Numeric enum description.
	EnumValueAnnotation *ExamplepbNumericEnum `json:"enumValueAnnotation,omitempty"`
	// Repeated string description.
	RepeatedStringAnnotation []string `json:"repeatedStringAnnotation,omitempty"`
	// Repeated nested object description.
	RepeatedNestedAnnotation []ABitOfEverythingNested `json:"repeatedNestedAnnotation,omitempty"`
	// Nested object description.
	NestedAnnotation                           *ABitOfEverythingNested `json:"nestedAnnotation,omitempty"`
	Int64OverrideType                          int64                   `json:"int64OverrideType,omitempty"`
	RequiredStringViaFieldBehaviorAnnotation   string                  `json:"requiredStringViaFieldBehaviorAnnotation"`
	OutputOnlyStringViaFieldBehaviorAnnotation string                  `json:"outputOnlyStringViaFieldBehaviorAnnotation,omitempty"`
	OptionalStringValue                        string                  `json:"optionalStringValue,omitempty"`
	// Only digits are allowed.
	ProductId                           []string `json:"productId,omitempty"`
	OptionalStringField                 string   `json:"optionalStringField,omitempty"`
	RequiredStringField1                string   `json:"requiredStringField1"`
	RequiredStringField2                string   `json:"requiredStringField2"`
	RequiredFieldBehaviorJsonNameCustom string   `json:"required_field_behavior_json_name_custom"`
	RequiredFieldSchemaJsonNameCustom   string   `json:"required_field_schema_json_name_custom"`
	TrailingOnly                        string   `json:"trailingOnly,omitempty"`
	// Trailing only dot.
	TrailingOnlyDot string `json:"trailingOnlyDot,omitempty"`
	// Trailing both.
	TrailingBoth string `json:"trailingBoth,omitempty"`
	// This is an example of a multi-line comment.  Trailing multiline.
	TrailingMultiline string   `json:"trailingMultiline,omitempty"`
	Uuids             []string `json:"uuids,omitempty"`
}

Intentionally complicated message type to cover many features of Protobuf.

type ExamplepbBar

type ExamplepbBar struct {
	Id string `json:"id"`
}

type ExamplepbBook

type ExamplepbBook struct {
	// The resource name of the book.  Format: `publishers/{publisher}/books/{book}`  Example: `publishers/1257894000000000000/books/my-book`
	Name string `json:"name,omitempty"`
	// Output only. The book's ID.
	Id string `json:"id,omitempty"`
	// Output only. Creation time of the book.
	CreateTime time.Time `json:"createTime,omitempty"`
}

An example resource type from AIP-123 used to test the behavior described in the CreateBookRequest message. See: https://google.aip.dev/123

type ExamplepbCheckStatusResponse

type ExamplepbCheckStatusResponse struct {
	Status *RpcStatus `json:"status,omitempty"`
}

type ExamplepbErrorObject

type ExamplepbErrorObject struct {
	// Response code
	Code int32 `json:"code,omitempty"`
	// Response message
	Message string `json:"message,omitempty"`
}

type ExamplepbErrorResponse

type ExamplepbErrorResponse struct {
	// Unique event identifier for server requests
	CorrelationId string                `json:"correlationId,omitempty"`
	Error_        *ExamplepbErrorObject `json:"error,omitempty"`
}

type ExamplepbFoo

type ExamplepbFoo struct {
	Bar *ExamplepbBar `json:"bar"`
}

type ExamplepbRequiredMessageTypeRequest

type ExamplepbRequiredMessageTypeRequest struct {
	Id  string             `json:"id"`
	Foo *ProtoexamplepbFoo `json:"foo"`
}

type ExamplepbSnakeEnumResponse

type ExamplepbSnakeEnumResponse struct {
}

type ExamplepbsnakeCase0Enum

type ExamplepbsnakeCase0Enum string

ExamplepbsnakeCase0Enum : - value_e: buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE - value_f: buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE

const (
	E_ExamplepbsnakeCase0Enum ExamplepbsnakeCase0Enum = "value_e"
	F_ExamplepbsnakeCase0Enum ExamplepbsnakeCase0Enum = "value_f"
)

List of examplepbsnake_case_0_enum

type ExamplepbsnakeCaseEnum

type ExamplepbsnakeCaseEnum string

ExamplepbsnakeCaseEnum : - value_c: buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE - value_d: buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE

const (
	C_ExamplepbsnakeCaseEnum ExamplepbsnakeCaseEnum = "value_c"
	D_ExamplepbsnakeCaseEnum ExamplepbsnakeCaseEnum = "value_d"
)

List of examplepbsnake_case_enum

type OneofenumExampleEnum

type OneofenumExampleEnum string
const (
	UNSPECIFIED_OneofenumExampleEnum OneofenumExampleEnum = "EXAMPLE_ENUM_UNSPECIFIED"
	FIRST_OneofenumExampleEnum       OneofenumExampleEnum = "EXAMPLE_ENUM_FIRST"
)

List of oneofenumExampleEnum

type PathenumsnakeCaseForImport

type PathenumsnakeCaseForImport string

PathenumsnakeCaseForImport : - value_x: buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE - value_y: buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE

const (
	X_PathenumsnakeCaseForImport PathenumsnakeCaseForImport = "value_x"
	Y_PathenumsnakeCaseForImport PathenumsnakeCaseForImport = "value_y"
)

List of pathenumsnake_case_for_import

type ProtobufAny

type ProtobufAny struct {
	// A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one \"/\" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading \".\" is not accepted).  In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows:  * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][]   value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the   URL, or have them precompiled into a binary to avoid any   lookup. Therefore, binary compatibility needs to be preserved   on changes to types. (Use versioned type names to manage   breaking changes.)  Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com.  Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics.
	Type_ string `json:"@type,omitempty"`
}

`Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example \"foo.bar.com/x/y.z\" will yield type name \"y.z\". JSON The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { \"@type\": \"type.googleapis.com/google.profile.Person\", \"firstName\": <string>, \"lastName\": <string> } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { \"@type\": \"type.googleapis.com/google.protobuf.Duration\", \"value\": \"1.212s\" }

type ProtoexamplepbFoo

type ProtoexamplepbFoo struct {
	Bar *ExamplepbBar `json:"bar"`
}

type RpcStatus

type RpcStatus struct {
	// The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
	Code int32 `json:"code,omitempty"`
	// A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
	Message string `json:"message,omitempty"`
	// A list of messages that carry the error details.  There is a common set of message types for APIs to use.
	Details []ProtobufAny `json:"details,omitempty"`
}

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

type SnakeEnumServiceApiService

type SnakeEnumServiceApiService service

func (*SnakeEnumServiceApiService) SnakeEnumServiceSnakeEnum

func (a *SnakeEnumServiceApiService) SnakeEnumServiceSnakeEnum(ctx context.Context, who string, what string, where string) (ExamplepbSnakeEnumResponse, *http.Response, error)

SnakeEnumServiceApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param who
  • @param what
  • @param where

@return ExamplepbSnakeEnumResponse

type SubStringMessage

type SubStringMessage struct {
	Value string `json:"value,omitempty"`
}

type TheBookToUpdate1

type TheBookToUpdate1 struct {
	// Output only. The book's ID.
	Id string `json:"id,omitempty"`
	// Output only. Creation time of the book.
	CreateTime time.Time `json:"createTime,omitempty"`
}

The book's `name` field is used to identify the book to be updated. Format: publishers/{publisher}/books/{book}

type TheBookToUpdateTheBooksNameFieldIsUsedToIdentifyTheBookToBeUpdatedFormatPublisherspublisherbooksbook

type TheBookToUpdateTheBooksNameFieldIsUsedToIdentifyTheBookToBeUpdatedFormatPublisherspublisherbooksbook struct {
	// Output only. The book's ID.
	Id string `json:"id,omitempty"`
	// Output only. Creation time of the book.
	CreateTime time.Time `json:"createTime,omitempty"`
}

type TheBookToUpdate_

type TheBookToUpdate_ struct {
	// Output only. The book's ID.
	Id string `json:"id,omitempty"`
	// Output only. Creation time of the book.
	CreateTime time.Time `json:"createTime,omitempty"`
}

The book's `name` field is used to identify the book to be updated. Format: publishers/{publisher}/books/{book}

type UpdateV2RequestRequestForUpdateIncludesTheMessageAndTheUpdateMask

type UpdateV2RequestRequestForUpdateIncludesTheMessageAndTheUpdateMask struct {
	Abe *ABitOfEverything4 `json:"abe,omitempty"`
	// The paths to update.
	UpdateMask string `json:"updateMask,omitempty"`
}

type UpdateV2RequestRequestForUpdateIncludesTheMessageAndTheUpdateMask1

type UpdateV2RequestRequestForUpdateIncludesTheMessageAndTheUpdateMask1 struct {
	Abe *ABitOfEverything8 `json:"abe,omitempty"`
	// The paths to update.
	UpdateMask string `json:"updateMask,omitempty"`
}

type V1exampledeepPathsingleNestedNameSingleNested

type V1exampledeepPathsingleNestedNameSingleNested struct {
	Amount int64 `json:"amount,omitempty"`
	// DeepEnum description.
	Ok *NestedDeepEnum `json:"ok,omitempty"`
}

Nested is nested type.

Source Files

Jump to

Keyboard shortcuts

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