mirror of https://github.com/k3s-io/k3s
105 lines
4.3 KiB
Go
105 lines
4.3 KiB
Go
![]() |
// Code generated by protoc-gen-go.
|
||
|
// source: google/protobuf/any.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
package google_protobuf
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
|
||
|
// This is a compile-time assertion to ensure that this generated file
|
||
|
// is compatible with the proto package it is being compiled against.
|
||
|
// A compilation error at this line likely means your copy of the
|
||
|
// proto package needs to be updated.
|
||
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||
|
|
||
|
// `Any` contains an arbitrary serialized message along with a URL
|
||
|
// that describes the type of the serialized message.
|
||
|
//
|
||
|
//
|
||
|
// 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 Any struct {
|
||
|
// A URL/resource name whose content describes the type of the
|
||
|
// serialized message.
|
||
|
//
|
||
|
// For URLs which use the schema `http`, `https`, or no schema, the
|
||
|
// following restrictions and interpretations apply:
|
||
|
//
|
||
|
// * If no schema is provided, `https` is assumed.
|
||
|
// * The last segment of the URL's path must represent the fully
|
||
|
// qualified name of the type (as in `path/google.protobuf.Duration`).
|
||
|
// * 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.)
|
||
|
//
|
||
|
// Schemas other than `http`, `https` (or the empty schema) might be
|
||
|
// used with implementation specific semantics.
|
||
|
//
|
||
|
TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl" json:"type_url,omitempty"`
|
||
|
// Must be valid serialized data of the above specified type.
|
||
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *Any) Reset() { *m = Any{} }
|
||
|
func (m *Any) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Any) ProtoMessage() {}
|
||
|
func (*Any) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||
|
func (*Any) XXX_WellKnownType() string { return "Any" }
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*Any)(nil), "google.protobuf.Any")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("google/protobuf/any.proto", fileDescriptor0) }
|
||
|
|
||
|
var fileDescriptor0 = []byte{
|
||
|
// 160 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xcf, 0xcf, 0x4f,
|
||
|
0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0xcc, 0xab, 0xd4,
|
||
|
0x03, 0x73, 0x84, 0xf8, 0x21, 0x52, 0x7a, 0x30, 0x29, 0x25, 0x33, 0x2e, 0x66, 0xc7, 0xbc, 0x4a,
|
||
|
0x21, 0x49, 0x2e, 0x8e, 0x92, 0xca, 0x82, 0xd4, 0xf8, 0xd2, 0xa2, 0x1c, 0x09, 0x46, 0x05, 0x46,
|
||
|
0x0d, 0xce, 0x20, 0x76, 0x10, 0x3f, 0xb4, 0x28, 0x47, 0x48, 0x84, 0x8b, 0xb5, 0x2c, 0x31, 0xa7,
|
||
|
0x34, 0x55, 0x82, 0x09, 0x28, 0xce, 0x13, 0x04, 0xe1, 0x38, 0x79, 0x73, 0x09, 0x27, 0xe7, 0xe7,
|
||
|
0xea, 0xa1, 0x19, 0xe7, 0xc4, 0x01, 0x34, 0x2c, 0x00, 0xc4, 0x09, 0x60, 0x5c, 0xc0, 0xc8, 0xb8,
|
||
|
0x88, 0x89, 0xd9, 0x3d, 0xc0, 0x69, 0x15, 0x93, 0x9c, 0x3b, 0x44, 0x59, 0x00, 0x54, 0x99, 0x5e,
|
||
|
0x78, 0x6a, 0x4e, 0x8e, 0x77, 0x5e, 0x7e, 0x79, 0x5e, 0x08, 0xd0, 0x92, 0xe2, 0x24, 0x36, 0xb0,
|
||
|
0x7e, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x83, 0x49, 0xa8, 0x53, 0xb9, 0x00, 0x00, 0x00,
|
||
|
}
|