mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-21 22:30:22 -04:00
127 lines
5.2 KiB
Go
127 lines
5.2 KiB
Go
![]() |
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: google/api/log.proto
|
||
|
|
||
|
package serviceconfig // import "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
import label "google.golang.org/genproto/googleapis/api/label"
|
||
|
|
||
|
// 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
|
||
|
|
||
|
// A description of a log type. Example in YAML format:
|
||
|
//
|
||
|
// - name: library.googleapis.com/activity_history
|
||
|
// description: The history of borrowing and returning library items.
|
||
|
// display_name: Activity
|
||
|
// labels:
|
||
|
// - key: /customer_id
|
||
|
// description: Identifier of a library customer
|
||
|
type LogDescriptor struct {
|
||
|
// The name of the log. It must be less than 512 characters long and can
|
||
|
// include the following characters: upper- and lower-case alphanumeric
|
||
|
// characters [A-Za-z0-9], and punctuation characters including
|
||
|
// slash, underscore, hyphen, period [/_-.].
|
||
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
// The set of labels that are available to describe a specific log entry.
|
||
|
// Runtime requests that contain labels not specified here are
|
||
|
// considered invalid.
|
||
|
Labels []*label.LabelDescriptor `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
|
||
|
// A human-readable description of this log. This information appears in
|
||
|
// the documentation and can contain details.
|
||
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
||
|
// The human-readable name for this log. This information appears on
|
||
|
// the user interface and should be concise.
|
||
|
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *LogDescriptor) Reset() { *m = LogDescriptor{} }
|
||
|
func (m *LogDescriptor) String() string { return proto.CompactTextString(m) }
|
||
|
func (*LogDescriptor) ProtoMessage() {}
|
||
|
func (*LogDescriptor) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_log_de92a25ed5c88332, []int{0}
|
||
|
}
|
||
|
func (m *LogDescriptor) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_LogDescriptor.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *LogDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_LogDescriptor.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *LogDescriptor) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_LogDescriptor.Merge(dst, src)
|
||
|
}
|
||
|
func (m *LogDescriptor) XXX_Size() int {
|
||
|
return xxx_messageInfo_LogDescriptor.Size(m)
|
||
|
}
|
||
|
func (m *LogDescriptor) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_LogDescriptor.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_LogDescriptor proto.InternalMessageInfo
|
||
|
|
||
|
func (m *LogDescriptor) GetName() string {
|
||
|
if m != nil {
|
||
|
return m.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *LogDescriptor) GetLabels() []*label.LabelDescriptor {
|
||
|
if m != nil {
|
||
|
return m.Labels
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *LogDescriptor) GetDescription() string {
|
||
|
if m != nil {
|
||
|
return m.Description
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *LogDescriptor) GetDisplayName() string {
|
||
|
if m != nil {
|
||
|
return m.DisplayName
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*LogDescriptor)(nil), "google.api.LogDescriptor")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("google/api/log.proto", fileDescriptor_log_de92a25ed5c88332) }
|
||
|
|
||
|
var fileDescriptor_log_de92a25ed5c88332 = []byte{
|
||
|
// 238 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xc1, 0x4a, 0xc3, 0x40,
|
||
|
0x10, 0x86, 0x49, 0x1b, 0x8a, 0x6e, 0xd5, 0xc3, 0x22, 0x12, 0xf4, 0x12, 0x3d, 0xf5, 0xb4, 0x01,
|
||
|
0x7b, 0xf4, 0x64, 0x51, 0x44, 0x08, 0x12, 0x7a, 0xf4, 0x22, 0xd3, 0x74, 0x1c, 0x46, 0x36, 0x3b,
|
||
|
0xcb, 0x6e, 0x11, 0x7c, 0x18, 0x2f, 0x3e, 0xa9, 0x74, 0x13, 0x68, 0x7a, 0xdb, 0xfd, 0xe6, 0x9b,
|
||
|
0x7f, 0x66, 0xd4, 0x25, 0x89, 0x90, 0xc5, 0x0a, 0x3c, 0x57, 0x56, 0xc8, 0xf8, 0x20, 0x3b, 0xd1,
|
||
|
0xaa, 0xa7, 0x06, 0x3c, 0x5f, 0x5f, 0x8d, 0x0d, 0xd8, 0xa0, 0xed, 0x9d, 0xbb, 0xdf, 0x4c, 0x9d,
|
||
|
0xd7, 0x42, 0x4f, 0x18, 0xdb, 0xc0, 0x7e, 0x27, 0x41, 0x6b, 0x95, 0x3b, 0xe8, 0xb0, 0xc8, 0xca,
|
||
|
0x6c, 0x71, 0xba, 0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