Moved to google.golang.org/genproto/googleapis/api/annotations
Fixes #52
This commit is contained in:
		
							
								
								
									
										224
									
								
								vendor/google.golang.org/genproto/googleapis/logging/type/http_request.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										224
									
								
								vendor/google.golang.org/genproto/googleapis/logging/type/http_request.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,224 @@
 | 
			
		||||
// Code generated by protoc-gen-go.
 | 
			
		||||
// source: google/logging/type/http_request.proto
 | 
			
		||||
// DO NOT EDIT!
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
Package ltype is a generated protocol buffer package.
 | 
			
		||||
 | 
			
		||||
It is generated from these files:
 | 
			
		||||
	google/logging/type/http_request.proto
 | 
			
		||||
	google/logging/type/log_severity.proto
 | 
			
		||||
 | 
			
		||||
It has these top-level messages:
 | 
			
		||||
	HttpRequest
 | 
			
		||||
*/
 | 
			
		||||
package ltype
 | 
			
		||||
 | 
			
		||||
import proto "github.com/golang/protobuf/proto"
 | 
			
		||||
import fmt "fmt"
 | 
			
		||||
import math "math"
 | 
			
		||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
 | 
			
		||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
 | 
			
		||||
 | 
			
		||||
// 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 common proto for logging HTTP requests. Only contains semantics
 | 
			
		||||
// defined by the HTTP specification. Product-specific logging
 | 
			
		||||
// information MUST be defined in a separate message.
 | 
			
		||||
type HttpRequest struct {
 | 
			
		||||
	// The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
 | 
			
		||||
	RequestMethod string `protobuf:"bytes,1,opt,name=request_method,json=requestMethod" json:"request_method,omitempty"`
 | 
			
		||||
	// The scheme (http, https), the host name, the path and the query
 | 
			
		||||
	// portion of the URL that was requested.
 | 
			
		||||
	// Example: `"http://example.com/some/info?color=red"`.
 | 
			
		||||
	RequestUrl string `protobuf:"bytes,2,opt,name=request_url,json=requestUrl" json:"request_url,omitempty"`
 | 
			
		||||
	// The size of the HTTP request message in bytes, including the request
 | 
			
		||||
	// headers and the request body.
 | 
			
		||||
	RequestSize int64 `protobuf:"varint,3,opt,name=request_size,json=requestSize" json:"request_size,omitempty"`
 | 
			
		||||
	// The response code indicating the status of response.
 | 
			
		||||
	// Examples: 200, 404.
 | 
			
		||||
	Status int32 `protobuf:"varint,4,opt,name=status" json:"status,omitempty"`
 | 
			
		||||
	// The size of the HTTP response message sent back to the client, in bytes,
 | 
			
		||||
	// including the response headers and the response body.
 | 
			
		||||
	ResponseSize int64 `protobuf:"varint,5,opt,name=response_size,json=responseSize" json:"response_size,omitempty"`
 | 
			
		||||
	// The user agent sent by the client. Example:
 | 
			
		||||
	// `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
 | 
			
		||||
	UserAgent string `protobuf:"bytes,6,opt,name=user_agent,json=userAgent" json:"user_agent,omitempty"`
 | 
			
		||||
	// The IP address (IPv4 or IPv6) of the client that issued the HTTP
 | 
			
		||||
	// request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
 | 
			
		||||
	RemoteIp string `protobuf:"bytes,7,opt,name=remote_ip,json=remoteIp" json:"remote_ip,omitempty"`
 | 
			
		||||
	// The IP address (IPv4 or IPv6) of the origin server that the request was
 | 
			
		||||
	// sent to.
 | 
			
		||||
	ServerIp string `protobuf:"bytes,13,opt,name=server_ip,json=serverIp" json:"server_ip,omitempty"`
 | 
			
		||||
	// The referer URL of the request, as defined in
 | 
			
		||||
	// [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
 | 
			
		||||
	Referer string `protobuf:"bytes,8,opt,name=referer" json:"referer,omitempty"`
 | 
			
		||||
	// The request processing latency on the server, from the time the request was
 | 
			
		||||
	// received until the response was sent.
 | 
			
		||||
	Latency *google_protobuf1.Duration `protobuf:"bytes,14,opt,name=latency" json:"latency,omitempty"`
 | 
			
		||||
	// Whether or not a cache lookup was attempted.
 | 
			
		||||
	CacheLookup bool `protobuf:"varint,11,opt,name=cache_lookup,json=cacheLookup" json:"cache_lookup,omitempty"`
 | 
			
		||||
	// Whether or not an entity was served from cache
 | 
			
		||||
	// (with or without validation).
 | 
			
		||||
	CacheHit bool `protobuf:"varint,9,opt,name=cache_hit,json=cacheHit" json:"cache_hit,omitempty"`
 | 
			
		||||
	// Whether or not the response was validated with the origin server before
 | 
			
		||||
	// being served from cache. This field is only meaningful if `cache_hit` is
 | 
			
		||||
	// True.
 | 
			
		||||
	CacheValidatedWithOriginServer bool `protobuf:"varint,10,opt,name=cache_validated_with_origin_server,json=cacheValidatedWithOriginServer" json:"cache_validated_with_origin_server,omitempty"`
 | 
			
		||||
	// The number of HTTP response bytes inserted into cache. Set only when a
 | 
			
		||||
	// cache fill was attempted.
 | 
			
		||||
	CacheFillBytes int64 `protobuf:"varint,12,opt,name=cache_fill_bytes,json=cacheFillBytes" json:"cache_fill_bytes,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) Reset()                    { *m = HttpRequest{} }
 | 
			
		||||
func (m *HttpRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*HttpRequest) ProtoMessage()               {}
 | 
			
		||||
func (*HttpRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetRequestMethod() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.RequestMethod
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetRequestUrl() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.RequestUrl
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetRequestSize() int64 {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.RequestSize
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetStatus() int32 {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Status
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetResponseSize() int64 {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.ResponseSize
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetUserAgent() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.UserAgent
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetRemoteIp() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.RemoteIp
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetServerIp() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.ServerIp
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetReferer() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Referer
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetLatency() *google_protobuf1.Duration {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Latency
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetCacheLookup() bool {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.CacheLookup
 | 
			
		||||
	}
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetCacheHit() bool {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.CacheHit
 | 
			
		||||
	}
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetCacheValidatedWithOriginServer() bool {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.CacheValidatedWithOriginServer
 | 
			
		||||
	}
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *HttpRequest) GetCacheFillBytes() int64 {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.CacheFillBytes
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
	proto.RegisterType((*HttpRequest)(nil), "google.logging.type.HttpRequest")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() { proto.RegisterFile("google/logging/type/http_request.proto", fileDescriptor0) }
 | 
			
		||||
 | 
			
		||||
var fileDescriptor0 = []byte{
 | 
			
		||||
	// 488 bytes of a gzipped FileDescriptorProto
 | 
			
		||||
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x5b, 0x6b, 0x14, 0x31,
 | 
			
		||||
	0x14, 0xc7, 0x99, 0x5e, 0xf6, 0x92, 0xbd, 0x50, 0x22, 0x68, 0x5a, 0xb5, 0xae, 0x15, 0x65, 0x9e,
 | 
			
		||||
	0x66, 0xc0, 0xbe, 0x08, 0x3e, 0xb9, 0x8a, 0xb6, 0x52, 0xb1, 0x4c, 0xbd, 0x80, 0x2f, 0x43, 0x76,
 | 
			
		||||
	0xf7, 0x6c, 0x26, 0x98, 0x9d, 0xc4, 0x24, 0x53, 0xd9, 0xbe, 0xfa, 0x11, 0xfc, 0x16, 0x7e, 0x4a,
 | 
			
		||||
	0x99, 0x93, 0x0c, 0x28, 0xf4, 0x65, 0x21, 0xbf, 0xff, 0xef, 0x3f, 0x67, 0xf6, 0x4c, 0xc8, 0x33,
 | 
			
		||||
	0xa1, 0xb5, 0x50, 0x90, 0x2b, 0x2d, 0x84, 0xac, 0x45, 0xee, 0xb7, 0x06, 0xf2, 0xca, 0x7b, 0x53,
 | 
			
		||||
	0x5a, 0xf8, 0xd1, 0x80, 0xf3, 0x99, 0xb1, 0xda, 0x6b, 0x7a, 0x27, 0x78, 0x59, 0xf4, 0xb2, 0xd6,
 | 
			
		||||
	0x3b, 0x7a, 0x10, 0xcb, 0xdc, 0xc8, 0x9c, 0xd7, 0xb5, 0xf6, 0xdc, 0x4b, 0x5d, 0xbb, 0x50, 0x39,
 | 
			
		||||
	0x3a, 0x8e, 0x29, 0x9e, 0x16, 0xcd, 0x3a, 0x5f, 0x35, 0x16, 0x85, 0x90, 0x9f, 0xfc, 0xde, 0x23,
 | 
			
		||||
	0xa3, 0x33, 0xef, 0x4d, 0x11, 0x06, 0xd1, 0xa7, 0x64, 0x1a, 0x67, 0x96, 0x1b, 0xf0, 0x95, 0x5e,
 | 
			
		||||
	0xb1, 0x64, 0x96, 0xa4, 0xc3, 0x62, 0x12, 0xe9, 0x07, 0x84, 0xf4, 0x11, 0x19, 0x75, 0x5a, 0x63,
 | 
			
		||||
	0x15, 0xdb, 0x41, 0x87, 0x44, 0xf4, 0xd9, 0x2a, 0xfa, 0x98, 0x8c, 0x3b, 0xc1, 0xc9, 0x1b, 0x60,
 | 
			
		||||
	0xbb, 0xb3, 0x24, 0xdd, 0x2d, 0xba, 0xd2, 0x95, 0xbc, 0x01, 0x7a, 0x97, 0xf4, 0x9c, 0xe7, 0xbe,
 | 
			
		||||
	0x71, 0x6c, 0x6f, 0x96, 0xa4, 0xfb, 0x45, 0x3c, 0xd1, 0x27, 0x64, 0x62, 0xc1, 0x19, 0x5d, 0x3b,
 | 
			
		||||
	0x08, 0xdd, 0x7d, 0xec, 0x8e, 0x3b, 0x88, 0xe5, 0x87, 0x84, 0x34, 0x0e, 0x6c, 0xc9, 0x05, 0xd4,
 | 
			
		||||
	0x9e, 0xf5, 0x70, 0xfe, 0xb0, 0x25, 0xaf, 0x5a, 0x40, 0xef, 0x93, 0xa1, 0x85, 0x8d, 0xf6, 0x50,
 | 
			
		||||
	0x4a, 0xc3, 0xfa, 0x98, 0x0e, 0x02, 0x38, 0x37, 0x6d, 0xe8, 0xc0, 0x5e, 0x83, 0x6d, 0xc3, 0x49,
 | 
			
		||||
	0x08, 0x03, 0x38, 0x37, 0x94, 0x91, 0xbe, 0x85, 0x35, 0x58, 0xb0, 0x6c, 0x80, 0x51, 0x77, 0xa4,
 | 
			
		||||
	0xa7, 0xa4, 0xaf, 0xb8, 0x87, 0x7a, 0xb9, 0x65, 0xd3, 0x59, 0x92, 0x8e, 0x9e, 0x1f, 0x66, 0xf1,
 | 
			
		||||
	0x7b, 0x74, 0xcb, 0xcd, 0xde, 0xc4, 0xe5, 0x16, 0x9d, 0xd9, 0xee, 0x61, 0xc9, 0x97, 0x15, 0x94,
 | 
			
		||||
	0x4a, 0xeb, 0xef, 0x8d, 0x61, 0xa3, 0x59, 0x92, 0x0e, 0x8a, 0x11, 0xb2, 0x0b, 0x44, 0xed, 0xeb,
 | 
			
		||||
	0x04, 0xa5, 0x92, 0x9e, 0x0d, 0x31, 0x1f, 0x20, 0x38, 0x93, 0x9e, 0xbe, 0x27, 0x27, 0x21, 0xbc,
 | 
			
		||||
	0xe6, 0x4a, 0xae, 0xb8, 0x87, 0x55, 0xf9, 0x53, 0xfa, 0xaa, 0xd4, 0x56, 0x0a, 0x59, 0x97, 0xe1,
 | 
			
		||||
	0xb5, 0x19, 0xc1, 0xd6, 0x31, 0x9a, 0x5f, 0x3a, 0xf1, 0xab, 0xf4, 0xd5, 0x47, 0xd4, 0xae, 0xd0,
 | 
			
		||||
	0xa2, 0x29, 0x39, 0x08, 0xcf, 0x5a, 0x4b, 0xa5, 0xca, 0xc5, 0xd6, 0x83, 0x63, 0x63, 0xdc, 0xed,
 | 
			
		||||
	0x14, 0xf9, 0x5b, 0xa9, 0xd4, 0xbc, 0xa5, 0xf3, 0x5f, 0x09, 0xb9, 0xb7, 0xd4, 0x9b, 0xec, 0x96,
 | 
			
		||||
	0xfb, 0x36, 0x3f, 0xf8, 0xe7, 0xba, 0x5c, 0xb6, 0x7f, 0xfc, 0x32, 0xf9, 0xf6, 0x22, 0x8a, 0x42,
 | 
			
		||||
	0x2b, 0x5e, 0x8b, 0x4c, 0x5b, 0x91, 0x0b, 0xa8, 0x71, 0x2d, 0x79, 0x88, 0xb8, 0x91, 0xee, 0xbf,
 | 
			
		||||
	0xfb, 0xfd, 0x52, 0xb5, 0xbf, 0x7f, 0x76, 0x0e, 0xdf, 0x85, 0xea, 0x6b, 0xa5, 0x9b, 0x55, 0x76,
 | 
			
		||||
	0x11, 0x27, 0x7d, 0xda, 0x1a, 0x58, 0xf4, 0xf0, 0x01, 0xa7, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff,
 | 
			
		||||
	0x6f, 0xb5, 0x28, 0xee, 0x1f, 0x03, 0x00, 0x00,
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										111
									
								
								vendor/google.golang.org/genproto/googleapis/logging/type/log_severity.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										111
									
								
								vendor/google.golang.org/genproto/googleapis/logging/type/log_severity.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,111 @@
 | 
			
		||||
// Code generated by protoc-gen-go.
 | 
			
		||||
// source: google/logging/type/log_severity.proto
 | 
			
		||||
// DO NOT EDIT!
 | 
			
		||||
 | 
			
		||||
package ltype
 | 
			
		||||
 | 
			
		||||
import proto "github.com/golang/protobuf/proto"
 | 
			
		||||
import fmt "fmt"
 | 
			
		||||
import math "math"
 | 
			
		||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
 | 
			
		||||
 | 
			
		||||
// Reference imports to suppress errors if they are not otherwise used.
 | 
			
		||||
var _ = proto.Marshal
 | 
			
		||||
var _ = fmt.Errorf
 | 
			
		||||
var _ = math.Inf
 | 
			
		||||
 | 
			
		||||
// The severity of the event described in a log entry, expressed as one of the
 | 
			
		||||
// standard severity levels listed below.  For your reference, the levels are
 | 
			
		||||
// assigned the listed numeric values. The effect of using numeric values other
 | 
			
		||||
// than those listed is undefined.
 | 
			
		||||
//
 | 
			
		||||
// You can filter for log entries by severity.  For example, the following
 | 
			
		||||
// filter expression will match log entries with severities `INFO`, `NOTICE`,
 | 
			
		||||
// and `WARNING`:
 | 
			
		||||
//
 | 
			
		||||
//     severity > DEBUG AND severity <= WARNING
 | 
			
		||||
//
 | 
			
		||||
// If you are writing log entries, you should map other severity encodings to
 | 
			
		||||
// one of these standard levels. For example, you might map all of Java's FINE,
 | 
			
		||||
// FINER, and FINEST levels to `LogSeverity.DEBUG`. You can preserve the
 | 
			
		||||
// original severity level in the log entry payload if you wish.
 | 
			
		||||
type LogSeverity int32
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	// (0) The log entry has no assigned severity level.
 | 
			
		||||
	LogSeverity_DEFAULT LogSeverity = 0
 | 
			
		||||
	// (100) Debug or trace information.
 | 
			
		||||
	LogSeverity_DEBUG LogSeverity = 100
 | 
			
		||||
	// (200) Routine information, such as ongoing status or performance.
 | 
			
		||||
	LogSeverity_INFO LogSeverity = 200
 | 
			
		||||
	// (300) Normal but significant events, such as start up, shut down, or
 | 
			
		||||
	// a configuration change.
 | 
			
		||||
	LogSeverity_NOTICE LogSeverity = 300
 | 
			
		||||
	// (400) Warning events might cause problems.
 | 
			
		||||
	LogSeverity_WARNING LogSeverity = 400
 | 
			
		||||
	// (500) Error events are likely to cause problems.
 | 
			
		||||
	LogSeverity_ERROR LogSeverity = 500
 | 
			
		||||
	// (600) Critical events cause more severe problems or outages.
 | 
			
		||||
	LogSeverity_CRITICAL LogSeverity = 600
 | 
			
		||||
	// (700) A person must take an action immediately.
 | 
			
		||||
	LogSeverity_ALERT LogSeverity = 700
 | 
			
		||||
	// (800) One or more systems are unusable.
 | 
			
		||||
	LogSeverity_EMERGENCY LogSeverity = 800
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var LogSeverity_name = map[int32]string{
 | 
			
		||||
	0:   "DEFAULT",
 | 
			
		||||
	100: "DEBUG",
 | 
			
		||||
	200: "INFO",
 | 
			
		||||
	300: "NOTICE",
 | 
			
		||||
	400: "WARNING",
 | 
			
		||||
	500: "ERROR",
 | 
			
		||||
	600: "CRITICAL",
 | 
			
		||||
	700: "ALERT",
 | 
			
		||||
	800: "EMERGENCY",
 | 
			
		||||
}
 | 
			
		||||
var LogSeverity_value = map[string]int32{
 | 
			
		||||
	"DEFAULT":   0,
 | 
			
		||||
	"DEBUG":     100,
 | 
			
		||||
	"INFO":      200,
 | 
			
		||||
	"NOTICE":    300,
 | 
			
		||||
	"WARNING":   400,
 | 
			
		||||
	"ERROR":     500,
 | 
			
		||||
	"CRITICAL":  600,
 | 
			
		||||
	"ALERT":     700,
 | 
			
		||||
	"EMERGENCY": 800,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x LogSeverity) String() string {
 | 
			
		||||
	return proto.EnumName(LogSeverity_name, int32(x))
 | 
			
		||||
}
 | 
			
		||||
func (LogSeverity) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
	proto.RegisterEnum("google.logging.type.LogSeverity", LogSeverity_name, LogSeverity_value)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() { proto.RegisterFile("google/logging/type/log_severity.proto", fileDescriptor1) }
 | 
			
		||||
 | 
			
		||||
var fileDescriptor1 = []byte{
 | 
			
		||||
	// 297 bytes of a gzipped FileDescriptorProto
 | 
			
		||||
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0xcf, 0xcf, 0x4f,
 | 
			
		||||
	0xcf, 0x49, 0xd5, 0xcf, 0xc9, 0x4f, 0x4f, 0xcf, 0xcc, 0x4b, 0xd7, 0x2f, 0xa9, 0x2c, 0x00, 0x73,
 | 
			
		||||
	0xe2, 0x8b, 0x53, 0xcb, 0x52, 0x8b, 0x32, 0x4b, 0x2a, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85,
 | 
			
		||||
	0x84, 0x21, 0xea, 0xf4, 0xa0, 0xea, 0xf4, 0x40, 0xea, 0xa4, 0x64, 0xa0, 0x9a, 0x13, 0x0b, 0x32,
 | 
			
		||||
	0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0x21, 0x5a, 0xb4, 0x9a,
 | 
			
		||||
	0x18, 0xb9, 0xb8, 0x7d, 0xf2, 0xd3, 0x83, 0xa1, 0x06, 0x09, 0x71, 0x73, 0xb1, 0xbb, 0xb8, 0xba,
 | 
			
		||||
	0x39, 0x86, 0xfa, 0x84, 0x08, 0x30, 0x08, 0x71, 0x72, 0xb1, 0xba, 0xb8, 0x3a, 0x85, 0xba, 0x0b,
 | 
			
		||||
	0xa4, 0x08, 0x71, 0x72, 0xb1, 0x78, 0xfa, 0xb9, 0xf9, 0x0b, 0x9c, 0x60, 0x14, 0xe2, 0xe6, 0x62,
 | 
			
		||||
	0xf3, 0xf3, 0x0f, 0xf1, 0x74, 0x76, 0x15, 0x58, 0xc3, 0x24, 0xc4, 0xc3, 0xc5, 0x1e, 0xee, 0x18,
 | 
			
		||||
	0xe4, 0xe7, 0xe9, 0xe7, 0x2e, 0x30, 0x81, 0x59, 0x88, 0x8b, 0x8b, 0xd5, 0x35, 0x28, 0xc8, 0x3f,
 | 
			
		||||
	0x48, 0xe0, 0x0b, 0xb3, 0x10, 0x2f, 0x17, 0x87, 0x73, 0x90, 0x67, 0x88, 0xa7, 0xb3, 0xa3, 0x8f,
 | 
			
		||||
	0xc0, 0x0d, 0x16, 0x90, 0x94, 0xa3, 0x8f, 0x6b, 0x50, 0x88, 0xc0, 0x1e, 0x56, 0x21, 0x3e, 0x2e,
 | 
			
		||||
	0x4e, 0x57, 0x5f, 0xd7, 0x20, 0x77, 0x57, 0x3f, 0xe7, 0x48, 0x81, 0x05, 0x6c, 0x4e, 0xcd, 0x8c,
 | 
			
		||||
	0x5c, 0xe2, 0xc9, 0xf9, 0xb9, 0x7a, 0x58, 0x9c, 0xef, 0x24, 0x80, 0xe4, 0xba, 0x00, 0x90, 0x93,
 | 
			
		||||
	0x03, 0x18, 0xa3, 0x2c, 0xa0, 0x0a, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xf2, 0x8b, 0xd2,
 | 
			
		||||
	0xf5, 0xd3, 0x53, 0xf3, 0xc0, 0x1e, 0xd2, 0x87, 0x48, 0x25, 0x16, 0x64, 0x16, 0xa3, 0x04, 0x97,
 | 
			
		||||
	0x75, 0x0e, 0x88, 0x5c, 0xc5, 0x24, 0xe9, 0x0e, 0xd1, 0xea, 0x9c, 0x93, 0x5f, 0x9a, 0xa2, 0xe7,
 | 
			
		||||
	0x03, 0xb5, 0x29, 0xa4, 0xb2, 0x20, 0x35, 0x89, 0x0d, 0x6c, 0x80, 0x31, 0x20, 0x00, 0x00, 0xff,
 | 
			
		||||
	0xff, 0x1b, 0x91, 0x99, 0x37, 0x6e, 0x01, 0x00, 0x00,
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										490
									
								
								vendor/google.golang.org/genproto/googleapis/logging/v2/log_entry.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										490
									
								
								vendor/google.golang.org/genproto/googleapis/logging/v2/log_entry.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,490 @@
 | 
			
		||||
// Code generated by protoc-gen-go.
 | 
			
		||||
// source: google/logging/v2/log_entry.proto
 | 
			
		||||
// DO NOT EDIT!
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
Package logging is a generated protocol buffer package.
 | 
			
		||||
 | 
			
		||||
It is generated from these files:
 | 
			
		||||
	google/logging/v2/log_entry.proto
 | 
			
		||||
	google/logging/v2/logging.proto
 | 
			
		||||
	google/logging/v2/logging_config.proto
 | 
			
		||||
	google/logging/v2/logging_metrics.proto
 | 
			
		||||
 | 
			
		||||
It has these top-level messages:
 | 
			
		||||
	LogEntry
 | 
			
		||||
	LogEntryOperation
 | 
			
		||||
	LogEntrySourceLocation
 | 
			
		||||
	DeleteLogRequest
 | 
			
		||||
	WriteLogEntriesRequest
 | 
			
		||||
	WriteLogEntriesResponse
 | 
			
		||||
	ListLogEntriesRequest
 | 
			
		||||
	ListLogEntriesResponse
 | 
			
		||||
	ListMonitoredResourceDescriptorsRequest
 | 
			
		||||
	ListMonitoredResourceDescriptorsResponse
 | 
			
		||||
	ListLogsRequest
 | 
			
		||||
	ListLogsResponse
 | 
			
		||||
	LogSink
 | 
			
		||||
	ListSinksRequest
 | 
			
		||||
	ListSinksResponse
 | 
			
		||||
	GetSinkRequest
 | 
			
		||||
	CreateSinkRequest
 | 
			
		||||
	UpdateSinkRequest
 | 
			
		||||
	DeleteSinkRequest
 | 
			
		||||
	LogMetric
 | 
			
		||||
	ListLogMetricsRequest
 | 
			
		||||
	ListLogMetricsResponse
 | 
			
		||||
	GetLogMetricRequest
 | 
			
		||||
	CreateLogMetricRequest
 | 
			
		||||
	UpdateLogMetricRequest
 | 
			
		||||
	DeleteLogMetricRequest
 | 
			
		||||
*/
 | 
			
		||||
package logging
 | 
			
		||||
 | 
			
		||||
import proto "github.com/golang/protobuf/proto"
 | 
			
		||||
import fmt "fmt"
 | 
			
		||||
import math "math"
 | 
			
		||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
 | 
			
		||||
import google_api3 "google.golang.org/genproto/googleapis/api/monitoredres"
 | 
			
		||||
import google_logging_type "google.golang.org/genproto/googleapis/logging/type"
 | 
			
		||||
import google_logging_type1 "google.golang.org/genproto/googleapis/logging/type"
 | 
			
		||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/any"
 | 
			
		||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/struct"
 | 
			
		||||
import google_protobuf4 "github.com/golang/protobuf/ptypes/timestamp"
 | 
			
		||||
 | 
			
		||||
// 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
 | 
			
		||||
 | 
			
		||||
// An individual entry in a log.
 | 
			
		||||
type LogEntry struct {
 | 
			
		||||
	// Required. The resource name of the log to which this log entry belongs:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//     "folders/[FOLDER_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//
 | 
			
		||||
	// `[LOG_ID]` must be URL-encoded within `log_name`. Example:
 | 
			
		||||
	// `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
 | 
			
		||||
	// `[LOG_ID]` must be less than 512 characters long and can only include the
 | 
			
		||||
	// following characters: upper and lower case alphanumeric characters,
 | 
			
		||||
	// forward-slash, underscore, hyphen, and period.
 | 
			
		||||
	//
 | 
			
		||||
	// For backward compatibility, if `log_name` begins with a forward-slash, such
 | 
			
		||||
	// as `/projects/...`, then the log entry is ingested as usual but the
 | 
			
		||||
	// forward-slash is removed. Listing the log entry will not show the leading
 | 
			
		||||
	// slash and filtering for a log name with a leading slash will never return
 | 
			
		||||
	// any results.
 | 
			
		||||
	LogName string `protobuf:"bytes,12,opt,name=log_name,json=logName" json:"log_name,omitempty"`
 | 
			
		||||
	// Required. The monitored resource associated with this log entry.
 | 
			
		||||
	// Example: a log entry that reports a database error would be
 | 
			
		||||
	// associated with the monitored resource designating the particular
 | 
			
		||||
	// database that reported the error.
 | 
			
		||||
	Resource *google_api3.MonitoredResource `protobuf:"bytes,8,opt,name=resource" json:"resource,omitempty"`
 | 
			
		||||
	// Optional. The log entry payload, which can be one of multiple types.
 | 
			
		||||
	//
 | 
			
		||||
	// Types that are valid to be assigned to Payload:
 | 
			
		||||
	//	*LogEntry_ProtoPayload
 | 
			
		||||
	//	*LogEntry_TextPayload
 | 
			
		||||
	//	*LogEntry_JsonPayload
 | 
			
		||||
	Payload isLogEntry_Payload `protobuf_oneof:"payload"`
 | 
			
		||||
	// Optional. The time the event described by the log entry occurred.  If
 | 
			
		||||
	// omitted in a new log entry, Stackdriver Logging will insert the time the
 | 
			
		||||
	// log entry is received.  Stackdriver Logging might reject log entries whose
 | 
			
		||||
	// time stamps are more than a couple of hours in the future. Log entries
 | 
			
		||||
	// with time stamps in the past are accepted.
 | 
			
		||||
	Timestamp *google_protobuf4.Timestamp `protobuf:"bytes,9,opt,name=timestamp" json:"timestamp,omitempty"`
 | 
			
		||||
	// Optional. The severity of the log entry. The default value is
 | 
			
		||||
	// `LogSeverity.DEFAULT`.
 | 
			
		||||
	Severity google_logging_type1.LogSeverity `protobuf:"varint,10,opt,name=severity,enum=google.logging.type.LogSeverity" json:"severity,omitempty"`
 | 
			
		||||
	// Optional. A unique identifier for the log entry. If you provide a value,
 | 
			
		||||
	// then Stackdriver Logging considers other log entries in the same project,
 | 
			
		||||
	// with the same `timestamp`, and with the same `insert_id` to be duplicates
 | 
			
		||||
	// which can be removed.  If omitted in new log entries, then Stackdriver
 | 
			
		||||
	// Logging will insert its own unique identifier. The `insert_id` is used
 | 
			
		||||
	// to order log entries that have the same `timestamp` value.
 | 
			
		||||
	InsertId string `protobuf:"bytes,4,opt,name=insert_id,json=insertId" json:"insert_id,omitempty"`
 | 
			
		||||
	// Optional. Information about the HTTP request associated with this
 | 
			
		||||
	// log entry, if applicable.
 | 
			
		||||
	HttpRequest *google_logging_type.HttpRequest `protobuf:"bytes,7,opt,name=http_request,json=httpRequest" json:"http_request,omitempty"`
 | 
			
		||||
	// Optional. A set of user-defined (key, value) data that provides additional
 | 
			
		||||
	// information about the log entry.
 | 
			
		||||
	Labels map[string]string `protobuf:"bytes,11,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
 | 
			
		||||
	// Optional. Information about an operation associated with the log entry, if
 | 
			
		||||
	// applicable.
 | 
			
		||||
	Operation *LogEntryOperation `protobuf:"bytes,15,opt,name=operation" json:"operation,omitempty"`
 | 
			
		||||
	// Optional. Resource name of the trace associated with the log entry, if any.
 | 
			
		||||
	// If it contains a relative resource name, the name is assumed to be relative
 | 
			
		||||
	// to `//tracing.googleapis.com`. Example:
 | 
			
		||||
	// `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
 | 
			
		||||
	Trace string `protobuf:"bytes,22,opt,name=trace" json:"trace,omitempty"`
 | 
			
		||||
	// Optional. Source code location information associated with the log entry,
 | 
			
		||||
	// if any.
 | 
			
		||||
	SourceLocation *LogEntrySourceLocation `protobuf:"bytes,23,opt,name=source_location,json=sourceLocation" json:"source_location,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) Reset()                    { *m = LogEntry{} }
 | 
			
		||||
func (m *LogEntry) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*LogEntry) ProtoMessage()               {}
 | 
			
		||||
func (*LogEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
 | 
			
		||||
 | 
			
		||||
type isLogEntry_Payload interface {
 | 
			
		||||
	isLogEntry_Payload()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type LogEntry_ProtoPayload struct {
 | 
			
		||||
	ProtoPayload *google_protobuf2.Any `protobuf:"bytes,2,opt,name=proto_payload,json=protoPayload,oneof"`
 | 
			
		||||
}
 | 
			
		||||
type LogEntry_TextPayload struct {
 | 
			
		||||
	TextPayload string `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,oneof"`
 | 
			
		||||
}
 | 
			
		||||
type LogEntry_JsonPayload struct {
 | 
			
		||||
	JsonPayload *google_protobuf3.Struct `protobuf:"bytes,6,opt,name=json_payload,json=jsonPayload,oneof"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (*LogEntry_ProtoPayload) isLogEntry_Payload() {}
 | 
			
		||||
func (*LogEntry_TextPayload) isLogEntry_Payload()  {}
 | 
			
		||||
func (*LogEntry_JsonPayload) isLogEntry_Payload()  {}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetPayload() isLogEntry_Payload {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Payload
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetLogName() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.LogName
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetResource() *google_api3.MonitoredResource {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Resource
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetProtoPayload() *google_protobuf2.Any {
 | 
			
		||||
	if x, ok := m.GetPayload().(*LogEntry_ProtoPayload); ok {
 | 
			
		||||
		return x.ProtoPayload
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetTextPayload() string {
 | 
			
		||||
	if x, ok := m.GetPayload().(*LogEntry_TextPayload); ok {
 | 
			
		||||
		return x.TextPayload
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetJsonPayload() *google_protobuf3.Struct {
 | 
			
		||||
	if x, ok := m.GetPayload().(*LogEntry_JsonPayload); ok {
 | 
			
		||||
		return x.JsonPayload
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetTimestamp() *google_protobuf4.Timestamp {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Timestamp
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetSeverity() google_logging_type1.LogSeverity {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Severity
 | 
			
		||||
	}
 | 
			
		||||
	return google_logging_type1.LogSeverity_DEFAULT
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetInsertId() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.InsertId
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetHttpRequest() *google_logging_type.HttpRequest {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.HttpRequest
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetLabels() map[string]string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Labels
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetOperation() *LogEntryOperation {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Operation
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetTrace() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Trace
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntry) GetSourceLocation() *LogEntrySourceLocation {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.SourceLocation
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// XXX_OneofFuncs is for the internal use of the proto package.
 | 
			
		||||
func (*LogEntry) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
 | 
			
		||||
	return _LogEntry_OneofMarshaler, _LogEntry_OneofUnmarshaler, _LogEntry_OneofSizer, []interface{}{
 | 
			
		||||
		(*LogEntry_ProtoPayload)(nil),
 | 
			
		||||
		(*LogEntry_TextPayload)(nil),
 | 
			
		||||
		(*LogEntry_JsonPayload)(nil),
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _LogEntry_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
 | 
			
		||||
	m := msg.(*LogEntry)
 | 
			
		||||
	// payload
 | 
			
		||||
	switch x := m.Payload.(type) {
 | 
			
		||||
	case *LogEntry_ProtoPayload:
 | 
			
		||||
		b.EncodeVarint(2<<3 | proto.WireBytes)
 | 
			
		||||
		if err := b.EncodeMessage(x.ProtoPayload); err != nil {
 | 
			
		||||
			return err
 | 
			
		||||
		}
 | 
			
		||||
	case *LogEntry_TextPayload:
 | 
			
		||||
		b.EncodeVarint(3<<3 | proto.WireBytes)
 | 
			
		||||
		b.EncodeStringBytes(x.TextPayload)
 | 
			
		||||
	case *LogEntry_JsonPayload:
 | 
			
		||||
		b.EncodeVarint(6<<3 | proto.WireBytes)
 | 
			
		||||
		if err := b.EncodeMessage(x.JsonPayload); err != nil {
 | 
			
		||||
			return err
 | 
			
		||||
		}
 | 
			
		||||
	case nil:
 | 
			
		||||
	default:
 | 
			
		||||
		return fmt.Errorf("LogEntry.Payload has unexpected type %T", x)
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _LogEntry_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
 | 
			
		||||
	m := msg.(*LogEntry)
 | 
			
		||||
	switch tag {
 | 
			
		||||
	case 2: // payload.proto_payload
 | 
			
		||||
		if wire != proto.WireBytes {
 | 
			
		||||
			return true, proto.ErrInternalBadWireType
 | 
			
		||||
		}
 | 
			
		||||
		msg := new(google_protobuf2.Any)
 | 
			
		||||
		err := b.DecodeMessage(msg)
 | 
			
		||||
		m.Payload = &LogEntry_ProtoPayload{msg}
 | 
			
		||||
		return true, err
 | 
			
		||||
	case 3: // payload.text_payload
 | 
			
		||||
		if wire != proto.WireBytes {
 | 
			
		||||
			return true, proto.ErrInternalBadWireType
 | 
			
		||||
		}
 | 
			
		||||
		x, err := b.DecodeStringBytes()
 | 
			
		||||
		m.Payload = &LogEntry_TextPayload{x}
 | 
			
		||||
		return true, err
 | 
			
		||||
	case 6: // payload.json_payload
 | 
			
		||||
		if wire != proto.WireBytes {
 | 
			
		||||
			return true, proto.ErrInternalBadWireType
 | 
			
		||||
		}
 | 
			
		||||
		msg := new(google_protobuf3.Struct)
 | 
			
		||||
		err := b.DecodeMessage(msg)
 | 
			
		||||
		m.Payload = &LogEntry_JsonPayload{msg}
 | 
			
		||||
		return true, err
 | 
			
		||||
	default:
 | 
			
		||||
		return false, nil
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _LogEntry_OneofSizer(msg proto.Message) (n int) {
 | 
			
		||||
	m := msg.(*LogEntry)
 | 
			
		||||
	// payload
 | 
			
		||||
	switch x := m.Payload.(type) {
 | 
			
		||||
	case *LogEntry_ProtoPayload:
 | 
			
		||||
		s := proto.Size(x.ProtoPayload)
 | 
			
		||||
		n += proto.SizeVarint(2<<3 | proto.WireBytes)
 | 
			
		||||
		n += proto.SizeVarint(uint64(s))
 | 
			
		||||
		n += s
 | 
			
		||||
	case *LogEntry_TextPayload:
 | 
			
		||||
		n += proto.SizeVarint(3<<3 | proto.WireBytes)
 | 
			
		||||
		n += proto.SizeVarint(uint64(len(x.TextPayload)))
 | 
			
		||||
		n += len(x.TextPayload)
 | 
			
		||||
	case *LogEntry_JsonPayload:
 | 
			
		||||
		s := proto.Size(x.JsonPayload)
 | 
			
		||||
		n += proto.SizeVarint(6<<3 | proto.WireBytes)
 | 
			
		||||
		n += proto.SizeVarint(uint64(s))
 | 
			
		||||
		n += s
 | 
			
		||||
	case nil:
 | 
			
		||||
	default:
 | 
			
		||||
		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
 | 
			
		||||
	}
 | 
			
		||||
	return n
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Additional information about a potentially long-running operation with which
 | 
			
		||||
// a log entry is associated.
 | 
			
		||||
type LogEntryOperation struct {
 | 
			
		||||
	// Optional. An arbitrary operation identifier. Log entries with the
 | 
			
		||||
	// same identifier are assumed to be part of the same operation.
 | 
			
		||||
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
 | 
			
		||||
	// Optional. An arbitrary producer identifier. The combination of
 | 
			
		||||
	// `id` and `producer` must be globally unique.  Examples for `producer`:
 | 
			
		||||
	// `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
 | 
			
		||||
	Producer string `protobuf:"bytes,2,opt,name=producer" json:"producer,omitempty"`
 | 
			
		||||
	// Optional. Set this to True if this is the first log entry in the operation.
 | 
			
		||||
	First bool `protobuf:"varint,3,opt,name=first" json:"first,omitempty"`
 | 
			
		||||
	// Optional. Set this to True if this is the last log entry in the operation.
 | 
			
		||||
	Last bool `protobuf:"varint,4,opt,name=last" json:"last,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntryOperation) Reset()                    { *m = LogEntryOperation{} }
 | 
			
		||||
func (m *LogEntryOperation) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*LogEntryOperation) ProtoMessage()               {}
 | 
			
		||||
func (*LogEntryOperation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
 | 
			
		||||
 | 
			
		||||
func (m *LogEntryOperation) GetId() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Id
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntryOperation) GetProducer() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Producer
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntryOperation) GetFirst() bool {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.First
 | 
			
		||||
	}
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntryOperation) GetLast() bool {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Last
 | 
			
		||||
	}
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Additional information about the source code location that produced the log
 | 
			
		||||
// entry.
 | 
			
		||||
type LogEntrySourceLocation struct {
 | 
			
		||||
	// Optional. Source file name. Depending on the runtime environment, this
 | 
			
		||||
	// might be a simple name or a fully-qualified name.
 | 
			
		||||
	File string `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"`
 | 
			
		||||
	// Optional. Line within the source file. 1-based; 0 indicates no line number
 | 
			
		||||
	// available.
 | 
			
		||||
	Line int64 `protobuf:"varint,2,opt,name=line" json:"line,omitempty"`
 | 
			
		||||
	// Optional. Human-readable name of the function or method being invoked, with
 | 
			
		||||
	// optional context such as the class or package name. This information may be
 | 
			
		||||
	// used in contexts such as the logs viewer, where a file and line number are
 | 
			
		||||
	// less meaningful. The format can vary by language. For example:
 | 
			
		||||
	// `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
 | 
			
		||||
	// (Python).
 | 
			
		||||
	Function string `protobuf:"bytes,3,opt,name=function" json:"function,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntrySourceLocation) Reset()                    { *m = LogEntrySourceLocation{} }
 | 
			
		||||
func (m *LogEntrySourceLocation) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*LogEntrySourceLocation) ProtoMessage()               {}
 | 
			
		||||
func (*LogEntrySourceLocation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
 | 
			
		||||
 | 
			
		||||
func (m *LogEntrySourceLocation) GetFile() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.File
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntrySourceLocation) GetLine() int64 {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Line
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogEntrySourceLocation) GetFunction() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Function
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
	proto.RegisterType((*LogEntry)(nil), "google.logging.v2.LogEntry")
 | 
			
		||||
	proto.RegisterType((*LogEntryOperation)(nil), "google.logging.v2.LogEntryOperation")
 | 
			
		||||
	proto.RegisterType((*LogEntrySourceLocation)(nil), "google.logging.v2.LogEntrySourceLocation")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() { proto.RegisterFile("google/logging/v2/log_entry.proto", fileDescriptor0) }
 | 
			
		||||
 | 
			
		||||
var fileDescriptor0 = []byte{
 | 
			
		||||
	// 679 bytes of a gzipped FileDescriptorProto
 | 
			
		||||
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0xd1, 0x6e, 0xd3, 0x3c,
 | 
			
		||||
	0x14, 0xc7, 0x97, 0x76, 0x5f, 0x97, 0xba, 0xdd, 0xf6, 0xcd, 0x1a, 0x5b, 0x56, 0x86, 0x28, 0x1b,
 | 
			
		||||
	0x82, 0x72, 0x93, 0x4a, 0xe5, 0x66, 0x63, 0x93, 0x10, 0x9d, 0x10, 0x43, 0x2a, 0x30, 0x79, 0x88,
 | 
			
		||||
	0x0b, 0x84, 0x54, 0x79, 0x89, 0x9b, 0x19, 0x52, 0x3b, 0x38, 0x4e, 0x45, 0xaf, 0x78, 0x04, 0xde,
 | 
			
		||||
	0x83, 0x27, 0xe4, 0x12, 0xf9, 0xd8, 0xe9, 0x4a, 0x3b, 0xed, 0xee, 0x9c, 0xfa, 0xf7, 0x3f, 0xff,
 | 
			
		||||
	0xe3, 0xe3, 0x93, 0xa2, 0x47, 0x89, 0x94, 0x49, 0xca, 0xba, 0xa9, 0x4c, 0x12, 0x2e, 0x92, 0xee,
 | 
			
		||||
	0xa4, 0x67, 0xc2, 0x21, 0x13, 0x5a, 0x4d, 0xc3, 0x4c, 0x49, 0x2d, 0xf1, 0x96, 0x45, 0x42, 0x87,
 | 
			
		||||
	0x84, 0x93, 0x5e, 0x6b, 0xdf, 0xa9, 0x68, 0xc6, 0xbb, 0x54, 0x08, 0xa9, 0xa9, 0xe6, 0x52, 0xe4,
 | 
			
		||||
	0x56, 0xd0, 0x3a, 0x9c, 0x3b, 0x1d, 0x4b, 0xc1, 0xb5, 0x54, 0x2c, 0x1e, 0x2a, 0x96, 0xcb, 0x42,
 | 
			
		||||
	0x45, 0xcc, 0x41, 0x4f, 0x16, 0x8c, 0xf5, 0x34, 0x63, 0xdd, 0x6b, 0xad, 0xb3, 0xa1, 0x62, 0xdf,
 | 
			
		||||
	0x0b, 0x96, 0xeb, 0xbb, 0x38, 0xd3, 0x62, 0xce, 0x26, 0x4c, 0x71, 0xed, 0xba, 0x6c, 0xed, 0x39,
 | 
			
		||||
	0x0e, 0xb2, 0xab, 0x62, 0xd4, 0xa5, 0xa2, 0x3c, 0xda, 0x5f, 0x3c, 0xca, 0xb5, 0x2a, 0xa2, 0xd2,
 | 
			
		||||
	0xe0, 0xe1, 0xe2, 0xa9, 0xe6, 0x63, 0x96, 0x6b, 0x3a, 0xce, 0x2c, 0x70, 0xf0, 0xab, 0x86, 0xfc,
 | 
			
		||||
	0x81, 0x4c, 0x5e, 0x9b, 0x91, 0xe0, 0x3d, 0xe4, 0x1b, 0x73, 0x41, 0xc7, 0x2c, 0x68, 0xb6, 0xbd,
 | 
			
		||||
	0x4e, 0x9d, 0xac, 0xa5, 0x32, 0x79, 0x4f, 0xc7, 0x0c, 0x1f, 0x23, 0xbf, 0xbc, 0x63, 0xe0, 0xb7,
 | 
			
		||||
	0xbd, 0x4e, 0xa3, 0xf7, 0x20, 0x74, 0xa3, 0xa3, 0x19, 0x0f, 0xdf, 0x95, 0x93, 0x20, 0x0e, 0x22,
 | 
			
		||||
	0x33, 0x1c, 0x9f, 0xa0, 0x75, 0xf0, 0x1a, 0x66, 0x74, 0x9a, 0x4a, 0x1a, 0x07, 0x15, 0xd0, 0x6f,
 | 
			
		||||
	0x97, 0xfa, 0xb2, 0xb7, 0xf0, 0x95, 0x98, 0x9e, 0xaf, 0x90, 0x26, 0xe4, 0x17, 0x96, 0xc5, 0x87,
 | 
			
		||||
	0xa8, 0xa9, 0xd9, 0x0f, 0x3d, 0xd3, 0x56, 0x4d, 0x5b, 0xe7, 0x2b, 0xa4, 0x61, 0x7e, 0x2d, 0xa1,
 | 
			
		||||
	0x53, 0xd4, 0xfc, 0x9a, 0x4b, 0x31, 0x83, 0x6a, 0x60, 0xb0, 0xbb, 0x64, 0x70, 0x09, 0xa3, 0x31,
 | 
			
		||||
	0x6a, 0x83, 0x97, 0xea, 0x23, 0x54, 0x9f, 0x4d, 0x25, 0xa8, 0x83, 0xb4, 0xb5, 0x24, 0xfd, 0x58,
 | 
			
		||||
	0x12, 0xe4, 0x06, 0xc6, 0xa7, 0xc8, 0x2f, 0x1f, 0x2a, 0x40, 0x6d, 0xaf, 0xb3, 0xd1, 0x6b, 0x87,
 | 
			
		||||
	0x0b, 0xfb, 0x64, 0x5e, 0x34, 0x1c, 0xc8, 0xe4, 0xd2, 0x71, 0x64, 0xa6, 0xc0, 0xf7, 0x51, 0x9d,
 | 
			
		||||
	0x8b, 0x9c, 0x29, 0x3d, 0xe4, 0x71, 0xb0, 0x0a, 0xe3, 0xf6, 0xed, 0x0f, 0x6f, 0x63, 0x7c, 0x86,
 | 
			
		||||
	0x9a, 0xf3, 0xfb, 0x12, 0xac, 0x41, 0x5f, 0xb7, 0x97, 0x3f, 0xd7, 0x3a, 0x23, 0x96, 0x23, 0x8d,
 | 
			
		||||
	0xeb, 0x9b, 0x04, 0xbf, 0x44, 0xb5, 0x94, 0x5e, 0xb1, 0x34, 0x0f, 0x1a, 0xed, 0x6a, 0xa7, 0xd1,
 | 
			
		||||
	0x7b, 0x1a, 0x2e, 0x6d, 0x7b, 0x58, 0x3e, 0x7e, 0x38, 0x00, 0x12, 0x62, 0xe2, 0x64, 0xb8, 0x8f,
 | 
			
		||||
	0xea, 0x32, 0x63, 0x0a, 0x3e, 0x80, 0x60, 0x13, 0x5a, 0x78, 0x7c, 0x47, 0x8d, 0x0f, 0x25, 0x4b,
 | 
			
		||||
	0x6e, 0x64, 0x78, 0x1b, 0xfd, 0xa7, 0x15, 0x8d, 0x58, 0xb0, 0x03, 0x57, 0xb4, 0x09, 0x26, 0x68,
 | 
			
		||||
	0xd3, 0xae, 0xc7, 0x30, 0x95, 0x91, 0xad, 0xbf, 0x0b, 0xf5, 0x9f, 0xdd, 0x51, 0xff, 0x12, 0x14,
 | 
			
		||||
	0x03, 0x27, 0x20, 0x1b, 0xf9, 0x3f, 0x79, 0xeb, 0x18, 0x35, 0xe6, 0x2e, 0x81, 0xff, 0x47, 0xd5,
 | 
			
		||||
	0x6f, 0x6c, 0x1a, 0x78, 0x60, 0x6b, 0x42, 0xd3, 0xca, 0x84, 0xa6, 0x05, 0x83, 0x0d, 0xac, 0x13,
 | 
			
		||||
	0x9b, 0xbc, 0xa8, 0x1c, 0x79, 0xfd, 0x3a, 0x5a, 0x73, 0xcb, 0x73, 0xc0, 0xd1, 0xd6, 0xd2, 0x7d,
 | 
			
		||||
	0xf0, 0x06, 0xaa, 0xf0, 0xd8, 0x95, 0xaa, 0xf0, 0x18, 0xb7, 0x90, 0x9f, 0x29, 0x19, 0x17, 0x11,
 | 
			
		||||
	0x53, 0xae, 0xd8, 0x2c, 0x37, 0x2e, 0x23, 0xae, 0x72, 0x0d, 0xbb, 0xea, 0x13, 0x9b, 0x60, 0x8c,
 | 
			
		||||
	0x56, 0x53, 0x9a, 0x6b, 0x78, 0x68, 0x9f, 0x40, 0x7c, 0xf0, 0x05, 0xed, 0xdc, 0x7e, 0x35, 0x43,
 | 
			
		||||
	0x8f, 0x78, 0xca, 0x9c, 0x23, 0xc4, 0x50, 0x81, 0x0b, 0xdb, 0x7c, 0x95, 0x40, 0x6c, 0xfa, 0x18,
 | 
			
		||||
	0x15, 0x22, 0x82, 0xf9, 0x55, 0x6d, 0x1f, 0x65, 0xde, 0xff, 0x89, 0xee, 0x45, 0x72, 0xbc, 0x3c,
 | 
			
		||||
	0xce, 0xfe, 0x7a, 0x69, 0x7a, 0x01, 0x5f, 0x9a, 0xf7, 0xf9, 0xc8, 0x31, 0x89, 0x4c, 0xa9, 0x48,
 | 
			
		||||
	0x42, 0xa9, 0x92, 0x6e, 0xc2, 0x04, 0xec, 0x7e, 0xd7, 0x1e, 0xd1, 0x8c, 0xe7, 0x73, 0x7f, 0xa3,
 | 
			
		||||
	0x27, 0x2e, 0xfc, 0xe3, 0x79, 0xbf, 0x2b, 0xbb, 0x6f, 0xac, 0xfa, 0x2c, 0x95, 0x45, 0x6c, 0xde,
 | 
			
		||||
	0x0a, 0x7c, 0x3e, 0xf5, 0xae, 0x6a, 0x50, 0xe1, 0xf9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x34,
 | 
			
		||||
	0x32, 0x8a, 0x87, 0x87, 0x05, 0x00, 0x00,
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										734
									
								
								vendor/google.golang.org/genproto/googleapis/logging/v2/logging.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										734
									
								
								vendor/google.golang.org/genproto/googleapis/logging/v2/logging.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,734 @@
 | 
			
		||||
// Code generated by protoc-gen-go.
 | 
			
		||||
// source: google/logging/v2/logging.proto
 | 
			
		||||
// DO NOT EDIT!
 | 
			
		||||
 | 
			
		||||
package logging
 | 
			
		||||
 | 
			
		||||
import proto "github.com/golang/protobuf/proto"
 | 
			
		||||
import fmt "fmt"
 | 
			
		||||
import math "math"
 | 
			
		||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
 | 
			
		||||
import google_api3 "google.golang.org/genproto/googleapis/api/monitoredres"
 | 
			
		||||
import _ "github.com/golang/protobuf/ptypes/duration"
 | 
			
		||||
import google_protobuf5 "github.com/golang/protobuf/ptypes/empty"
 | 
			
		||||
import _ "github.com/golang/protobuf/ptypes/timestamp"
 | 
			
		||||
import _ "google.golang.org/genproto/googleapis/rpc/status"
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	context "golang.org/x/net/context"
 | 
			
		||||
	grpc "google.golang.org/grpc"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// Reference imports to suppress errors if they are not otherwise used.
 | 
			
		||||
var _ = proto.Marshal
 | 
			
		||||
var _ = fmt.Errorf
 | 
			
		||||
var _ = math.Inf
 | 
			
		||||
 | 
			
		||||
// The parameters to DeleteLog.
 | 
			
		||||
type DeleteLogRequest struct {
 | 
			
		||||
	// Required. The resource name of the log to delete:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//     "folders/[FOLDER_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//
 | 
			
		||||
	// `[LOG_ID]` must be URL-encoded. For example,
 | 
			
		||||
	// `"projects/my-project-id/logs/syslog"`,
 | 
			
		||||
	// `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
 | 
			
		||||
	// For more information about log names, see
 | 
			
		||||
	// [LogEntry][google.logging.v2.LogEntry].
 | 
			
		||||
	LogName string `protobuf:"bytes,1,opt,name=log_name,json=logName" json:"log_name,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *DeleteLogRequest) Reset()                    { *m = DeleteLogRequest{} }
 | 
			
		||||
func (m *DeleteLogRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*DeleteLogRequest) ProtoMessage()               {}
 | 
			
		||||
func (*DeleteLogRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
 | 
			
		||||
 | 
			
		||||
func (m *DeleteLogRequest) GetLogName() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.LogName
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to WriteLogEntries.
 | 
			
		||||
type WriteLogEntriesRequest struct {
 | 
			
		||||
	// Optional. A default log resource name that is assigned to all log entries
 | 
			
		||||
	// in `entries` that do not specify a value for `log_name`:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//     "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//     "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//     "folders/[FOLDER_ID]/logs/[LOG_ID]"
 | 
			
		||||
	//
 | 
			
		||||
	// `[LOG_ID]` must be URL-encoded. For example,
 | 
			
		||||
	// `"projects/my-project-id/logs/syslog"` or
 | 
			
		||||
	// `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
 | 
			
		||||
	// For more information about log names, see
 | 
			
		||||
	// [LogEntry][google.logging.v2.LogEntry].
 | 
			
		||||
	LogName string `protobuf:"bytes,1,opt,name=log_name,json=logName" json:"log_name,omitempty"`
 | 
			
		||||
	// Optional. A default monitored resource object that is assigned to all log
 | 
			
		||||
	// entries in `entries` that do not specify a value for `resource`. Example:
 | 
			
		||||
	//
 | 
			
		||||
	//     { "type": "gce_instance",
 | 
			
		||||
	//       "labels": {
 | 
			
		||||
	//         "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
 | 
			
		||||
	//
 | 
			
		||||
	// See [LogEntry][google.logging.v2.LogEntry].
 | 
			
		||||
	Resource *google_api3.MonitoredResource `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"`
 | 
			
		||||
	// Optional. Default labels that are added to the `labels` field of all log
 | 
			
		||||
	// entries in `entries`. If a log entry already has a label with the same key
 | 
			
		||||
	// as a label in this parameter, then the log entry's label is not changed.
 | 
			
		||||
	// See [LogEntry][google.logging.v2.LogEntry].
 | 
			
		||||
	Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
 | 
			
		||||
	// Required.  The log entries to write. Values supplied for the fields
 | 
			
		||||
	// `log_name`, `resource`, and `labels` in this `entries.write` request are
 | 
			
		||||
	// inserted into those log entries in this list that do not provide their own
 | 
			
		||||
	// values.
 | 
			
		||||
	//
 | 
			
		||||
	// Stackdriver Logging also creates and inserts values for `timestamp` and
 | 
			
		||||
	// `insert_id` if the entries do not provide them. The created `insert_id` for
 | 
			
		||||
	// the N'th entry in this list will be greater than earlier entries and less
 | 
			
		||||
	// than later entries.  Otherwise, the order of log entries in this list does
 | 
			
		||||
	// not matter.
 | 
			
		||||
	//
 | 
			
		||||
	// To improve throughput and to avoid exceeding the
 | 
			
		||||
	// [quota limit](/logging/quota-policy) for calls to `entries.write`,
 | 
			
		||||
	// you should write multiple log entries at once rather than
 | 
			
		||||
	// calling this method for each individual log entry.
 | 
			
		||||
	Entries []*LogEntry `protobuf:"bytes,4,rep,name=entries" json:"entries,omitempty"`
 | 
			
		||||
	// Optional. Whether valid entries should be written even if some other
 | 
			
		||||
	// entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any
 | 
			
		||||
	// entry is not written, then the response status is the error associated
 | 
			
		||||
	// with one of the failed entries and the response includes error details
 | 
			
		||||
	// keyed by the entries' zero-based index in the `entries.write` method.
 | 
			
		||||
	PartialSuccess bool `protobuf:"varint,5,opt,name=partial_success,json=partialSuccess" json:"partial_success,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *WriteLogEntriesRequest) Reset()                    { *m = WriteLogEntriesRequest{} }
 | 
			
		||||
func (m *WriteLogEntriesRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*WriteLogEntriesRequest) ProtoMessage()               {}
 | 
			
		||||
func (*WriteLogEntriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
 | 
			
		||||
 | 
			
		||||
func (m *WriteLogEntriesRequest) GetLogName() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.LogName
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *WriteLogEntriesRequest) GetResource() *google_api3.MonitoredResource {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Resource
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *WriteLogEntriesRequest) GetLabels() map[string]string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Labels
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *WriteLogEntriesRequest) GetEntries() []*LogEntry {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Entries
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *WriteLogEntriesRequest) GetPartialSuccess() bool {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.PartialSuccess
 | 
			
		||||
	}
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Result returned from WriteLogEntries.
 | 
			
		||||
// empty
 | 
			
		||||
type WriteLogEntriesResponse struct {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *WriteLogEntriesResponse) Reset()                    { *m = WriteLogEntriesResponse{} }
 | 
			
		||||
func (m *WriteLogEntriesResponse) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*WriteLogEntriesResponse) ProtoMessage()               {}
 | 
			
		||||
func (*WriteLogEntriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
 | 
			
		||||
 | 
			
		||||
// The parameters to `ListLogEntries`.
 | 
			
		||||
type ListLogEntriesRequest struct {
 | 
			
		||||
	// Deprecated. Use `resource_names` instead.  One or more project identifiers
 | 
			
		||||
	// or project numbers from which to retrieve log entries.  Example:
 | 
			
		||||
	// `"my-project-1A"`. If present, these project identifiers are converted to
 | 
			
		||||
	// resource name format and added to the list of resources in
 | 
			
		||||
	// `resource_names`.
 | 
			
		||||
	ProjectIds []string `protobuf:"bytes,1,rep,name=project_ids,json=projectIds" json:"project_ids,omitempty"`
 | 
			
		||||
	// Required. Names of one or more parent resources from which to
 | 
			
		||||
	// retrieve log entries:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]"
 | 
			
		||||
	//     "organizations/[ORGANIZATION_ID]"
 | 
			
		||||
	//     "billingAccounts/[BILLING_ACCOUNT_ID]"
 | 
			
		||||
	//     "folders/[FOLDER_ID]"
 | 
			
		||||
	//
 | 
			
		||||
	// Projects listed in the `project_ids` field are added to this list.
 | 
			
		||||
	ResourceNames []string `protobuf:"bytes,8,rep,name=resource_names,json=resourceNames" json:"resource_names,omitempty"`
 | 
			
		||||
	// Optional. A filter that chooses which log entries to return.  See [Advanced
 | 
			
		||||
	// Logs Filters](/logging/docs/view/advanced_filters).  Only log entries that
 | 
			
		||||
	// match the filter are returned.  An empty filter matches all log entries in
 | 
			
		||||
	// the resources listed in `resource_names`. Referencing a parent resource
 | 
			
		||||
	// that is not listed in `resource_names` will cause the filter to return no
 | 
			
		||||
	// results.
 | 
			
		||||
	// The maximum length of the filter is 20000 characters.
 | 
			
		||||
	Filter string `protobuf:"bytes,2,opt,name=filter" json:"filter,omitempty"`
 | 
			
		||||
	// Optional. How the results should be sorted.  Presently, the only permitted
 | 
			
		||||
	// values are `"timestamp asc"` (default) and `"timestamp desc"`. The first
 | 
			
		||||
	// option returns entries in order of increasing values of
 | 
			
		||||
	// `LogEntry.timestamp` (oldest first), and the second option returns entries
 | 
			
		||||
	// in order of decreasing timestamps (newest first).  Entries with equal
 | 
			
		||||
	// timestamps are returned in order of their `insert_id` values.
 | 
			
		||||
	OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy" json:"order_by,omitempty"`
 | 
			
		||||
	// Optional. The maximum number of results to return from this request.
 | 
			
		||||
	// Non-positive values are ignored.  The presence of `next_page_token` in the
 | 
			
		||||
	// response indicates that more results might be available.
 | 
			
		||||
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
 | 
			
		||||
	// Optional. If present, then retrieve the next batch of results from the
 | 
			
		||||
	// preceding call to this method.  `page_token` must be the value of
 | 
			
		||||
	// `next_page_token` from the previous response.  The values of other method
 | 
			
		||||
	// parameters should be identical to those in the previous call.
 | 
			
		||||
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogEntriesRequest) Reset()                    { *m = ListLogEntriesRequest{} }
 | 
			
		||||
func (m *ListLogEntriesRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*ListLogEntriesRequest) ProtoMessage()               {}
 | 
			
		||||
func (*ListLogEntriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
 | 
			
		||||
 | 
			
		||||
func (m *ListLogEntriesRequest) GetProjectIds() []string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.ProjectIds
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogEntriesRequest) GetResourceNames() []string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.ResourceNames
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogEntriesRequest) GetFilter() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Filter
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogEntriesRequest) GetOrderBy() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.OrderBy
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogEntriesRequest) GetPageSize() int32 {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.PageSize
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogEntriesRequest) GetPageToken() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.PageToken
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Result returned from `ListLogEntries`.
 | 
			
		||||
type ListLogEntriesResponse struct {
 | 
			
		||||
	// A list of log entries.
 | 
			
		||||
	Entries []*LogEntry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
 | 
			
		||||
	// If there might be more results than those appearing in this response, then
 | 
			
		||||
	// `nextPageToken` is included.  To get the next set of results, call this
 | 
			
		||||
	// method again using the value of `nextPageToken` as `pageToken`.
 | 
			
		||||
	//
 | 
			
		||||
	// If a value for `next_page_token` appears and the `entries` field is empty,
 | 
			
		||||
	// it means that the search found no log entries so far but it did not have
 | 
			
		||||
	// time to search all the possible log entries.  Retry the method with this
 | 
			
		||||
	// value for `page_token` to continue the search.  Alternatively, consider
 | 
			
		||||
	// speeding up the search by changing your filter to specify a single log name
 | 
			
		||||
	// or resource type, or to narrow the time range of the search.
 | 
			
		||||
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogEntriesResponse) Reset()                    { *m = ListLogEntriesResponse{} }
 | 
			
		||||
func (m *ListLogEntriesResponse) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*ListLogEntriesResponse) ProtoMessage()               {}
 | 
			
		||||
func (*ListLogEntriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
 | 
			
		||||
 | 
			
		||||
func (m *ListLogEntriesResponse) GetEntries() []*LogEntry {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Entries
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogEntriesResponse) GetNextPageToken() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.NextPageToken
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to ListMonitoredResourceDescriptors
 | 
			
		||||
type ListMonitoredResourceDescriptorsRequest struct {
 | 
			
		||||
	// Optional. The maximum number of results to return from this request.
 | 
			
		||||
	// Non-positive values are ignored.  The presence of `nextPageToken` in the
 | 
			
		||||
	// response indicates that more results might be available.
 | 
			
		||||
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
 | 
			
		||||
	// Optional. If present, then retrieve the next batch of results from the
 | 
			
		||||
	// preceding call to this method.  `pageToken` must be the value of
 | 
			
		||||
	// `nextPageToken` from the previous response.  The values of other method
 | 
			
		||||
	// parameters should be identical to those in the previous call.
 | 
			
		||||
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListMonitoredResourceDescriptorsRequest) Reset() {
 | 
			
		||||
	*m = ListMonitoredResourceDescriptorsRequest{}
 | 
			
		||||
}
 | 
			
		||||
func (m *ListMonitoredResourceDescriptorsRequest) String() string { return proto.CompactTextString(m) }
 | 
			
		||||
func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage()    {}
 | 
			
		||||
func (*ListMonitoredResourceDescriptorsRequest) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return fileDescriptor1, []int{5}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListMonitoredResourceDescriptorsRequest) GetPageSize() int32 {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.PageSize
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListMonitoredResourceDescriptorsRequest) GetPageToken() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.PageToken
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Result returned from ListMonitoredResourceDescriptors.
 | 
			
		||||
type ListMonitoredResourceDescriptorsResponse struct {
 | 
			
		||||
	// A list of resource descriptors.
 | 
			
		||||
	ResourceDescriptors []*google_api3.MonitoredResourceDescriptor `protobuf:"bytes,1,rep,name=resource_descriptors,json=resourceDescriptors" json:"resource_descriptors,omitempty"`
 | 
			
		||||
	// If there might be more results than those appearing in this response, then
 | 
			
		||||
	// `nextPageToken` is included.  To get the next set of results, call this
 | 
			
		||||
	// method again using the value of `nextPageToken` as `pageToken`.
 | 
			
		||||
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListMonitoredResourceDescriptorsResponse) Reset() {
 | 
			
		||||
	*m = ListMonitoredResourceDescriptorsResponse{}
 | 
			
		||||
}
 | 
			
		||||
func (m *ListMonitoredResourceDescriptorsResponse) String() string { return proto.CompactTextString(m) }
 | 
			
		||||
func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage()    {}
 | 
			
		||||
func (*ListMonitoredResourceDescriptorsResponse) Descriptor() ([]byte, []int) {
 | 
			
		||||
	return fileDescriptor1, []int{6}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListMonitoredResourceDescriptorsResponse) GetResourceDescriptors() []*google_api3.MonitoredResourceDescriptor {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.ResourceDescriptors
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListMonitoredResourceDescriptorsResponse) GetNextPageToken() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.NextPageToken
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to ListLogs.
 | 
			
		||||
type ListLogsRequest struct {
 | 
			
		||||
	// Required. The resource name that owns the logs:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]"
 | 
			
		||||
	//     "organizations/[ORGANIZATION_ID]"
 | 
			
		||||
	//     "billingAccounts/[BILLING_ACCOUNT_ID]"
 | 
			
		||||
	//     "folders/[FOLDER_ID]"
 | 
			
		||||
	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
 | 
			
		||||
	// Optional. The maximum number of results to return from this request.
 | 
			
		||||
	// Non-positive values are ignored.  The presence of `nextPageToken` in the
 | 
			
		||||
	// response indicates that more results might be available.
 | 
			
		||||
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
 | 
			
		||||
	// Optional. If present, then retrieve the next batch of results from the
 | 
			
		||||
	// preceding call to this method.  `pageToken` must be the value of
 | 
			
		||||
	// `nextPageToken` from the previous response.  The values of other method
 | 
			
		||||
	// parameters should be identical to those in the previous call.
 | 
			
		||||
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogsRequest) Reset()                    { *m = ListLogsRequest{} }
 | 
			
		||||
func (m *ListLogsRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*ListLogsRequest) ProtoMessage()               {}
 | 
			
		||||
func (*ListLogsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} }
 | 
			
		||||
 | 
			
		||||
func (m *ListLogsRequest) GetParent() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Parent
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogsRequest) GetPageSize() int32 {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.PageSize
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogsRequest) GetPageToken() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.PageToken
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Result returned from ListLogs.
 | 
			
		||||
type ListLogsResponse struct {
 | 
			
		||||
	// A list of log names. For example,
 | 
			
		||||
	// `"projects/my-project/syslog"` or
 | 
			
		||||
	// `"organizations/123/cloudresourcemanager.googleapis.com%2Factivity"`.
 | 
			
		||||
	LogNames []string `protobuf:"bytes,3,rep,name=log_names,json=logNames" json:"log_names,omitempty"`
 | 
			
		||||
	// If there might be more results than those appearing in this response, then
 | 
			
		||||
	// `nextPageToken` is included.  To get the next set of results, call this
 | 
			
		||||
	// method again using the value of `nextPageToken` as `pageToken`.
 | 
			
		||||
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogsResponse) Reset()                    { *m = ListLogsResponse{} }
 | 
			
		||||
func (m *ListLogsResponse) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*ListLogsResponse) ProtoMessage()               {}
 | 
			
		||||
func (*ListLogsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} }
 | 
			
		||||
 | 
			
		||||
func (m *ListLogsResponse) GetLogNames() []string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.LogNames
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogsResponse) GetNextPageToken() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.NextPageToken
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
	proto.RegisterType((*DeleteLogRequest)(nil), "google.logging.v2.DeleteLogRequest")
 | 
			
		||||
	proto.RegisterType((*WriteLogEntriesRequest)(nil), "google.logging.v2.WriteLogEntriesRequest")
 | 
			
		||||
	proto.RegisterType((*WriteLogEntriesResponse)(nil), "google.logging.v2.WriteLogEntriesResponse")
 | 
			
		||||
	proto.RegisterType((*ListLogEntriesRequest)(nil), "google.logging.v2.ListLogEntriesRequest")
 | 
			
		||||
	proto.RegisterType((*ListLogEntriesResponse)(nil), "google.logging.v2.ListLogEntriesResponse")
 | 
			
		||||
	proto.RegisterType((*ListMonitoredResourceDescriptorsRequest)(nil), "google.logging.v2.ListMonitoredResourceDescriptorsRequest")
 | 
			
		||||
	proto.RegisterType((*ListMonitoredResourceDescriptorsResponse)(nil), "google.logging.v2.ListMonitoredResourceDescriptorsResponse")
 | 
			
		||||
	proto.RegisterType((*ListLogsRequest)(nil), "google.logging.v2.ListLogsRequest")
 | 
			
		||||
	proto.RegisterType((*ListLogsResponse)(nil), "google.logging.v2.ListLogsResponse")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Reference imports to suppress errors if they are not otherwise used.
 | 
			
		||||
var _ context.Context
 | 
			
		||||
var _ grpc.ClientConn
 | 
			
		||||
 | 
			
		||||
// This is a compile-time assertion to ensure that this generated file
 | 
			
		||||
// is compatible with the grpc package it is being compiled against.
 | 
			
		||||
const _ = grpc.SupportPackageIsVersion4
 | 
			
		||||
 | 
			
		||||
// Client API for LoggingServiceV2 service
 | 
			
		||||
 | 
			
		||||
type LoggingServiceV2Client interface {
 | 
			
		||||
	// Deletes all the log entries in a log.
 | 
			
		||||
	// The log reappears if it receives new entries.
 | 
			
		||||
	// Log entries written shortly before the delete operation might not be
 | 
			
		||||
	// deleted.
 | 
			
		||||
	DeleteLog(ctx context.Context, in *DeleteLogRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error)
 | 
			
		||||
	// Writes log entries to Stackdriver Logging.
 | 
			
		||||
	WriteLogEntries(ctx context.Context, in *WriteLogEntriesRequest, opts ...grpc.CallOption) (*WriteLogEntriesResponse, error)
 | 
			
		||||
	// Lists log entries.  Use this method to retrieve log entries from
 | 
			
		||||
	// Stackdriver Logging.  For ways to export log entries, see
 | 
			
		||||
	// [Exporting Logs](/logging/docs/export).
 | 
			
		||||
	ListLogEntries(ctx context.Context, in *ListLogEntriesRequest, opts ...grpc.CallOption) (*ListLogEntriesResponse, error)
 | 
			
		||||
	// Lists the descriptors for monitored resource types used by Stackdriver
 | 
			
		||||
	// Logging.
 | 
			
		||||
	ListMonitoredResourceDescriptors(ctx context.Context, in *ListMonitoredResourceDescriptorsRequest, opts ...grpc.CallOption) (*ListMonitoredResourceDescriptorsResponse, error)
 | 
			
		||||
	// Lists the logs in projects, organizations, folders, or billing accounts.
 | 
			
		||||
	// Only logs that have entries are listed.
 | 
			
		||||
	ListLogs(ctx context.Context, in *ListLogsRequest, opts ...grpc.CallOption) (*ListLogsResponse, error)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type loggingServiceV2Client struct {
 | 
			
		||||
	cc *grpc.ClientConn
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func NewLoggingServiceV2Client(cc *grpc.ClientConn) LoggingServiceV2Client {
 | 
			
		||||
	return &loggingServiceV2Client{cc}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *loggingServiceV2Client) DeleteLog(ctx context.Context, in *DeleteLogRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error) {
 | 
			
		||||
	out := new(google_protobuf5.Empty)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.LoggingServiceV2/DeleteLog", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *loggingServiceV2Client) WriteLogEntries(ctx context.Context, in *WriteLogEntriesRequest, opts ...grpc.CallOption) (*WriteLogEntriesResponse, error) {
 | 
			
		||||
	out := new(WriteLogEntriesResponse)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.LoggingServiceV2/WriteLogEntries", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *loggingServiceV2Client) ListLogEntries(ctx context.Context, in *ListLogEntriesRequest, opts ...grpc.CallOption) (*ListLogEntriesResponse, error) {
 | 
			
		||||
	out := new(ListLogEntriesResponse)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.LoggingServiceV2/ListLogEntries", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *loggingServiceV2Client) ListMonitoredResourceDescriptors(ctx context.Context, in *ListMonitoredResourceDescriptorsRequest, opts ...grpc.CallOption) (*ListMonitoredResourceDescriptorsResponse, error) {
 | 
			
		||||
	out := new(ListMonitoredResourceDescriptorsResponse)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.LoggingServiceV2/ListMonitoredResourceDescriptors", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *loggingServiceV2Client) ListLogs(ctx context.Context, in *ListLogsRequest, opts ...grpc.CallOption) (*ListLogsResponse, error) {
 | 
			
		||||
	out := new(ListLogsResponse)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.LoggingServiceV2/ListLogs", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Server API for LoggingServiceV2 service
 | 
			
		||||
 | 
			
		||||
type LoggingServiceV2Server interface {
 | 
			
		||||
	// Deletes all the log entries in a log.
 | 
			
		||||
	// The log reappears if it receives new entries.
 | 
			
		||||
	// Log entries written shortly before the delete operation might not be
 | 
			
		||||
	// deleted.
 | 
			
		||||
	DeleteLog(context.Context, *DeleteLogRequest) (*google_protobuf5.Empty, error)
 | 
			
		||||
	// Writes log entries to Stackdriver Logging.
 | 
			
		||||
	WriteLogEntries(context.Context, *WriteLogEntriesRequest) (*WriteLogEntriesResponse, error)
 | 
			
		||||
	// Lists log entries.  Use this method to retrieve log entries from
 | 
			
		||||
	// Stackdriver Logging.  For ways to export log entries, see
 | 
			
		||||
	// [Exporting Logs](/logging/docs/export).
 | 
			
		||||
	ListLogEntries(context.Context, *ListLogEntriesRequest) (*ListLogEntriesResponse, error)
 | 
			
		||||
	// Lists the descriptors for monitored resource types used by Stackdriver
 | 
			
		||||
	// Logging.
 | 
			
		||||
	ListMonitoredResourceDescriptors(context.Context, *ListMonitoredResourceDescriptorsRequest) (*ListMonitoredResourceDescriptorsResponse, error)
 | 
			
		||||
	// Lists the logs in projects, organizations, folders, or billing accounts.
 | 
			
		||||
	// Only logs that have entries are listed.
 | 
			
		||||
	ListLogs(context.Context, *ListLogsRequest) (*ListLogsResponse, error)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func RegisterLoggingServiceV2Server(s *grpc.Server, srv LoggingServiceV2Server) {
 | 
			
		||||
	s.RegisterService(&_LoggingServiceV2_serviceDesc, srv)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _LoggingServiceV2_DeleteLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(DeleteLogRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(LoggingServiceV2Server).DeleteLog(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.LoggingServiceV2/DeleteLog",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(LoggingServiceV2Server).DeleteLog(ctx, req.(*DeleteLogRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _LoggingServiceV2_WriteLogEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(WriteLogEntriesRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(LoggingServiceV2Server).WriteLogEntries(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.LoggingServiceV2/WriteLogEntries",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(LoggingServiceV2Server).WriteLogEntries(ctx, req.(*WriteLogEntriesRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _LoggingServiceV2_ListLogEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(ListLogEntriesRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(LoggingServiceV2Server).ListLogEntries(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.LoggingServiceV2/ListLogEntries",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(LoggingServiceV2Server).ListLogEntries(ctx, req.(*ListLogEntriesRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _LoggingServiceV2_ListMonitoredResourceDescriptors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(ListMonitoredResourceDescriptorsRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(LoggingServiceV2Server).ListMonitoredResourceDescriptors(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.LoggingServiceV2/ListMonitoredResourceDescriptors",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(LoggingServiceV2Server).ListMonitoredResourceDescriptors(ctx, req.(*ListMonitoredResourceDescriptorsRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _LoggingServiceV2_ListLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(ListLogsRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(LoggingServiceV2Server).ListLogs(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.LoggingServiceV2/ListLogs",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(LoggingServiceV2Server).ListLogs(ctx, req.(*ListLogsRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var _LoggingServiceV2_serviceDesc = grpc.ServiceDesc{
 | 
			
		||||
	ServiceName: "google.logging.v2.LoggingServiceV2",
 | 
			
		||||
	HandlerType: (*LoggingServiceV2Server)(nil),
 | 
			
		||||
	Methods: []grpc.MethodDesc{
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "DeleteLog",
 | 
			
		||||
			Handler:    _LoggingServiceV2_DeleteLog_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "WriteLogEntries",
 | 
			
		||||
			Handler:    _LoggingServiceV2_WriteLogEntries_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "ListLogEntries",
 | 
			
		||||
			Handler:    _LoggingServiceV2_ListLogEntries_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "ListMonitoredResourceDescriptors",
 | 
			
		||||
			Handler:    _LoggingServiceV2_ListMonitoredResourceDescriptors_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "ListLogs",
 | 
			
		||||
			Handler:    _LoggingServiceV2_ListLogs_Handler,
 | 
			
		||||
		},
 | 
			
		||||
	},
 | 
			
		||||
	Streams:  []grpc.StreamDesc{},
 | 
			
		||||
	Metadata: "google/logging/v2/logging.proto",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() { proto.RegisterFile("google/logging/v2/logging.proto", fileDescriptor1) }
 | 
			
		||||
 | 
			
		||||
var fileDescriptor1 = []byte{
 | 
			
		||||
	// 912 bytes of a gzipped FileDescriptorProto
 | 
			
		||||
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4f, 0x6f, 0x1b, 0x45,
 | 
			
		||||
	0x14, 0xd7, 0xd8, 0x4d, 0x6a, 0xbf, 0xd0, 0xc4, 0x1d, 0x1a, 0xc7, 0xb5, 0xd3, 0xc6, 0x6c, 0x28,
 | 
			
		||||
	0xd9, 0x5a, 0xea, 0xae, 0x30, 0xaa, 0xd4, 0xa6, 0xe2, 0x12, 0x5a, 0x21, 0xa4, 0x14, 0x45, 0x1b,
 | 
			
		||||
	0xd4, 0x4a, 0xbd, 0x58, 0x6b, 0xfb, 0x75, 0x35, 0x74, 0xbd, 0xb3, 0xcc, 0x8c, 0x1d, 0xdc, 0xaa,
 | 
			
		||||
	0x1c, 0x7a, 0xe0, 0x0b, 0xf0, 0x2d, 0x38, 0xf0, 0x2d, 0xb8, 0x72, 0xe1, 0xc2, 0x81, 0x23, 0x1f,
 | 
			
		||||
	0x82, 0x23, 0x9a, 0xd9, 0x59, 0xc7, 0xb1, 0x5d, 0xc7, 0xe5, 0xb6, 0xf3, 0xe6, 0x37, 0xef, 0xfd,
 | 
			
		||||
	0xde, 0xef, 0xfd, 0xb1, 0x61, 0x2f, 0xe2, 0x3c, 0x8a, 0xd1, 0x8f, 0x79, 0x14, 0xb1, 0x24, 0xf2,
 | 
			
		||||
	0x47, 0xed, 0xfc, 0xd3, 0x4b, 0x05, 0x57, 0x9c, 0x5e, 0xcf, 0x00, 0x5e, 0x6e, 0x1d, 0xb5, 0xeb,
 | 
			
		||||
	0xbb, 0xf6, 0x4d, 0x98, 0x32, 0x3f, 0x4c, 0x12, 0xae, 0x42, 0xc5, 0x78, 0x22, 0xb3, 0x07, 0xf5,
 | 
			
		||||
	0xfd, 0xa9, 0xdb, 0x01, 0x4f, 0x98, 0xe2, 0x02, 0xfb, 0x1d, 0x81, 0x92, 0x0f, 0x45, 0x0f, 0x2d,
 | 
			
		||||
	0xe8, 0x93, 0x85, 0x61, 0x3b, 0x98, 0x28, 0x31, 0xb6, 0x90, 0xdb, 0x16, 0x62, 0x4e, 0xdd, 0xe1,
 | 
			
		||||
	0x4b, 0xbf, 0x3f, 0x14, 0x26, 0x90, 0xbd, 0x6f, 0xcc, 0xde, 0xe3, 0x20, 0x55, 0xf9, 0xe3, 0xbd,
 | 
			
		||||
	0xd9, 0x4b, 0xc5, 0x06, 0x28, 0x55, 0x38, 0x48, 0x2d, 0x60, 0xc7, 0x02, 0x44, 0xda, 0xf3, 0xa5,
 | 
			
		||||
	0x0a, 0xd5, 0xd0, 0xd2, 0x77, 0xee, 0x41, 0xe5, 0x31, 0xc6, 0xa8, 0xf0, 0x98, 0x47, 0x01, 0xfe,
 | 
			
		||||
	0x30, 0x44, 0xa9, 0xe8, 0x4d, 0x28, 0x69, 0x76, 0x49, 0x38, 0xc0, 0x1a, 0x69, 0x12, 0xb7, 0x1c,
 | 
			
		||||
	0x5c, 0x8d, 0x79, 0xf4, 0x6d, 0x38, 0x40, 0xe7, 0xaf, 0x02, 0x54, 0x9f, 0x0b, 0x66, 0xe0, 0x4f,
 | 
			
		||||
	0x12, 0x25, 0x18, 0xca, 0xcb, 0x5f, 0xd1, 0x87, 0x50, 0xca, 0x05, 0xa9, 0x15, 0x9a, 0xc4, 0xdd,
 | 
			
		||||
	0x68, 0xdf, 0xf2, 0xac, 0xce, 0x61, 0xca, 0xbc, 0xa7, 0xb9, 0x6c, 0x81, 0x05, 0x05, 0x13, 0x38,
 | 
			
		||||
	0x7d, 0x0a, 0xeb, 0x71, 0xd8, 0xc5, 0x58, 0xd6, 0x8a, 0xcd, 0xa2, 0xbb, 0xd1, 0xbe, 0xef, 0xcd,
 | 
			
		||||
	0x15, 0xc8, 0x5b, 0x4c, 0xc8, 0x3b, 0x36, 0xef, 0xb4, 0x71, 0x1c, 0x58, 0x27, 0xf4, 0x3e, 0x5c,
 | 
			
		||||
	0xc5, 0x0c, 0x55, 0xbb, 0x62, 0xfc, 0x35, 0x16, 0xf8, 0xb3, 0xae, 0xc6, 0x41, 0x8e, 0xa5, 0x07,
 | 
			
		||||
	0xb0, 0x95, 0x86, 0x42, 0xb1, 0x30, 0xee, 0xc8, 0x61, 0xaf, 0x87, 0x52, 0xd6, 0xd6, 0x9a, 0xc4,
 | 
			
		||||
	0x2d, 0x05, 0x9b, 0xd6, 0x7c, 0x9a, 0x59, 0xeb, 0x0f, 0x61, 0x63, 0x2a, 0x2c, 0xad, 0x40, 0xf1,
 | 
			
		||||
	0x15, 0x8e, 0xad, 0x1c, 0xfa, 0x93, 0xde, 0x80, 0xb5, 0x51, 0x18, 0x0f, 0x33, 0x1d, 0xca, 0x41,
 | 
			
		||||
	0x76, 0x38, 0x2c, 0x3c, 0x20, 0xce, 0x4d, 0xd8, 0x99, 0x4b, 0x44, 0xa6, 0x3c, 0x91, 0xe8, 0xfc,
 | 
			
		||||
	0x41, 0x60, 0xfb, 0x98, 0x49, 0x35, 0x2f, 0xfa, 0x1e, 0x6c, 0xa4, 0x82, 0x7f, 0x8f, 0x3d, 0xd5,
 | 
			
		||||
	0x61, 0x7d, 0x59, 0x23, 0xcd, 0xa2, 0x5b, 0x0e, 0xc0, 0x9a, 0xbe, 0xe9, 0x4b, 0x7a, 0x07, 0x36,
 | 
			
		||||
	0x73, 0x2d, 0x4d, 0x69, 0x64, 0xad, 0x64, 0x30, 0xd7, 0x72, 0xab, 0x2e, 0x90, 0xa4, 0x55, 0x58,
 | 
			
		||||
	0x7f, 0xc9, 0x62, 0x85, 0xc2, 0xf2, 0xb2, 0x27, 0x5d, 0x54, 0x2e, 0xfa, 0x28, 0x3a, 0xdd, 0x71,
 | 
			
		||||
	0xad, 0x98, 0x15, 0xd5, 0x9c, 0x8f, 0xc6, 0xb4, 0x01, 0xe5, 0x34, 0x8c, 0xb0, 0x23, 0xd9, 0x6b,
 | 
			
		||||
	0xac, 0x5d, 0x69, 0x12, 0x77, 0x2d, 0x28, 0x69, 0xc3, 0x29, 0x7b, 0x8d, 0xf4, 0x16, 0x80, 0xb9,
 | 
			
		||||
	0x54, 0xfc, 0x15, 0x26, 0x46, 0xab, 0x72, 0x60, 0xe0, 0xdf, 0x69, 0x83, 0x73, 0x06, 0xd5, 0xd9,
 | 
			
		||||
	0x7c, 0xb2, 0x54, 0xa7, 0x0b, 0x44, 0x3e, 0xa0, 0x40, 0x9f, 0xc1, 0x56, 0x82, 0x3f, 0xaa, 0xce,
 | 
			
		||||
	0x54, 0xd0, 0x2c, 0x91, 0x6b, 0xda, 0x7c, 0x32, 0x09, 0x8c, 0x70, 0xa0, 0x03, 0xcf, 0x75, 0xdc,
 | 
			
		||||
	0x63, 0x94, 0x3d, 0xc1, 0x52, 0xc5, 0xc5, 0x44, 0xda, 0x0b, 0xf9, 0x91, 0xa5, 0xf9, 0x15, 0x66,
 | 
			
		||||
	0xf3, 0xfb, 0x8d, 0x80, 0x7b, 0x79, 0x1c, 0x9b, 0xf2, 0x0b, 0xb8, 0x31, 0x29, 0x51, 0xff, 0xfc,
 | 
			
		||||
	0xde, 0xe6, 0x7f, 0xb0, 0x74, 0x52, 0xce, 0xfd, 0x05, 0x1f, 0x8b, 0xf9, 0x18, 0x1f, 0xa0, 0xcb,
 | 
			
		||||
	0x96, 0x2d, 0xc8, 0x24, 0xff, 0x2a, 0xac, 0xa7, 0xa1, 0xc0, 0x44, 0xd9, 0xf6, 0xb5, 0xa7, 0x8b,
 | 
			
		||||
	0xba, 0x14, 0x96, 0xea, 0x52, 0x9c, 0xd5, 0xe5, 0x39, 0x54, 0xce, 0xc3, 0xd8, 0xf4, 0x1b, 0x50,
 | 
			
		||||
	0xce, 0xf7, 0x46, 0x36, 0xe4, 0xe5, 0xa0, 0x64, 0x17, 0xc7, 0xca, 0xfc, 0xdb, 0x7f, 0xaf, 0x41,
 | 
			
		||||
	0xe5, 0x38, 0x6b, 0x90, 0x53, 0x14, 0x23, 0xd6, 0xc3, 0x67, 0x6d, 0x7a, 0x06, 0xe5, 0xc9, 0x6e,
 | 
			
		||||
	0xa3, 0xfb, 0x0b, 0xfa, 0x68, 0x76, 0xf3, 0xd5, 0xab, 0x39, 0x28, 0x5f, 0xa4, 0xde, 0x13, 0xbd,
 | 
			
		||||
	0x65, 0x9d, 0x7b, 0xef, 0xfe, 0xfc, 0xe7, 0x97, 0xc2, 0x41, 0xeb, 0x8e, 0x3f, 0x6a, 0x77, 0x51,
 | 
			
		||||
	0x85, 0x9f, 0xfb, 0x6f, 0x72, 0xce, 0x5f, 0xda, 0x61, 0x93, 0x7e, 0x4b, 0xef, 0x74, 0xe9, 0xb7,
 | 
			
		||||
	0xde, 0xd2, 0x9f, 0x09, 0x6c, 0xcd, 0xcc, 0x32, 0xbd, 0xbb, 0xf2, 0xe2, 0xaa, 0xb7, 0x56, 0x81,
 | 
			
		||||
	0xda, 0xd5, 0xb0, 0x6b, 0x98, 0x55, 0x9d, 0xeb, 0xfa, 0x37, 0xc5, 0x4e, 0xc3, 0xe1, 0x99, 0x06,
 | 
			
		||||
	0x1f, 0x92, 0x16, 0x7d, 0x47, 0x60, 0xf3, 0xe2, 0xa0, 0x51, 0x77, 0xd1, 0x3c, 0x2d, 0xda, 0x2d,
 | 
			
		||||
	0xf5, 0xbb, 0x2b, 0x20, 0x2d, 0x8b, 0x86, 0x61, 0xb1, 0xed, 0x54, 0xa6, 0x59, 0xc4, 0x4c, 0x2a,
 | 
			
		||||
	0x4d, 0xe2, 0x77, 0x02, 0xcd, 0xcb, 0x86, 0x81, 0x1e, 0xbe, 0x27, 0xd8, 0x0a, 0x93, 0x5a, 0x7f,
 | 
			
		||||
	0xf4, 0xbf, 0xde, 0x5a, 0xea, 0xae, 0xa1, 0xee, 0xd0, 0xa6, 0xa6, 0x3e, 0x58, 0x46, 0x71, 0x0c,
 | 
			
		||||
	0xa5, 0xbc, 0x79, 0xa9, 0xf3, 0x7e, 0x6d, 0x26, 0xb4, 0xf6, 0x97, 0x62, 0x6c, 0xf8, 0x4f, 0x4d,
 | 
			
		||||
	0xf8, 0xdb, 0x74, 0x57, 0x87, 0x7f, 0x93, 0x8d, 0xd8, 0x54, 0x4b, 0xbd, 0x35, 0x3d, 0x75, 0xf4,
 | 
			
		||||
	0x13, 0x6c, 0xf7, 0xf8, 0x60, 0xde, 0xdf, 0xd1, 0x47, 0xb6, 0xe9, 0x4f, 0x74, 0xbf, 0x9e, 0x90,
 | 
			
		||||
	0x17, 0x0f, 0x2c, 0x24, 0xe2, 0x71, 0x98, 0x44, 0x1e, 0x17, 0x91, 0x1f, 0x61, 0x62, 0xba, 0xd9,
 | 
			
		||||
	0xcf, 0xae, 0xc2, 0x94, 0xc9, 0xa9, 0xff, 0x21, 0x8f, 0xec, 0xe7, 0xbf, 0x84, 0xfc, 0x5a, 0xd8,
 | 
			
		||||
	0xf9, 0x3a, 0x7b, 0xfd, 0x55, 0xcc, 0x87, 0x7d, 0xcf, 0xba, 0xf6, 0x9e, 0xb5, 0xbb, 0xeb, 0xc6,
 | 
			
		||||
	0xc3, 0x17, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x9f, 0x7c, 0xe8, 0x3f, 0x09, 0x00, 0x00,
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										712
									
								
								vendor/google.golang.org/genproto/googleapis/logging/v2/logging_config.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										712
									
								
								vendor/google.golang.org/genproto/googleapis/logging/v2/logging_config.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,712 @@
 | 
			
		||||
// Code generated by protoc-gen-go.
 | 
			
		||||
// source: google/logging/v2/logging_config.proto
 | 
			
		||||
// DO NOT EDIT!
 | 
			
		||||
 | 
			
		||||
package logging
 | 
			
		||||
 | 
			
		||||
import proto "github.com/golang/protobuf/proto"
 | 
			
		||||
import fmt "fmt"
 | 
			
		||||
import math "math"
 | 
			
		||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
 | 
			
		||||
import google_protobuf5 "github.com/golang/protobuf/ptypes/empty"
 | 
			
		||||
import google_protobuf4 "github.com/golang/protobuf/ptypes/timestamp"
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	context "golang.org/x/net/context"
 | 
			
		||||
	grpc "google.golang.org/grpc"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// Reference imports to suppress errors if they are not otherwise used.
 | 
			
		||||
var _ = proto.Marshal
 | 
			
		||||
var _ = fmt.Errorf
 | 
			
		||||
var _ = math.Inf
 | 
			
		||||
 | 
			
		||||
// Available log entry formats. Log entries can be written to Stackdriver
 | 
			
		||||
// Logging in either format and can be exported in either format.
 | 
			
		||||
// Version 2 is the preferred format.
 | 
			
		||||
type LogSink_VersionFormat int32
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	// An unspecified format version that will default to V2.
 | 
			
		||||
	LogSink_VERSION_FORMAT_UNSPECIFIED LogSink_VersionFormat = 0
 | 
			
		||||
	// `LogEntry` version 2 format.
 | 
			
		||||
	LogSink_V2 LogSink_VersionFormat = 1
 | 
			
		||||
	// `LogEntry` version 1 format.
 | 
			
		||||
	LogSink_V1 LogSink_VersionFormat = 2
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var LogSink_VersionFormat_name = map[int32]string{
 | 
			
		||||
	0: "VERSION_FORMAT_UNSPECIFIED",
 | 
			
		||||
	1: "V2",
 | 
			
		||||
	2: "V1",
 | 
			
		||||
}
 | 
			
		||||
var LogSink_VersionFormat_value = map[string]int32{
 | 
			
		||||
	"VERSION_FORMAT_UNSPECIFIED": 0,
 | 
			
		||||
	"V2": 1,
 | 
			
		||||
	"V1": 2,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x LogSink_VersionFormat) String() string {
 | 
			
		||||
	return proto.EnumName(LogSink_VersionFormat_name, int32(x))
 | 
			
		||||
}
 | 
			
		||||
func (LogSink_VersionFormat) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0, 0} }
 | 
			
		||||
 | 
			
		||||
// Describes a sink used to export log entries to one of the following
 | 
			
		||||
// destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a
 | 
			
		||||
// Cloud Pub/Sub topic.  A logs filter controls which log entries are
 | 
			
		||||
// exported. The sink must be created within a project, organization, billing
 | 
			
		||||
// account, or folder.
 | 
			
		||||
type LogSink struct {
 | 
			
		||||
	// Required. The client-assigned sink identifier, unique within the
 | 
			
		||||
	// project. Example: `"my-syslog-errors-to-pubsub"`.  Sink identifiers are
 | 
			
		||||
	// limited to 100 characters and can include only the following characters:
 | 
			
		||||
	// upper and lower-case alphanumeric characters, underscores, hyphens, and
 | 
			
		||||
	// periods.
 | 
			
		||||
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
 | 
			
		||||
	// Required. The export destination:
 | 
			
		||||
	//
 | 
			
		||||
	//     "storage.googleapis.com/[GCS_BUCKET]"
 | 
			
		||||
	//     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
 | 
			
		||||
	//     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
 | 
			
		||||
	//
 | 
			
		||||
	// The sink's `writer_identity`, set when the sink is created, must
 | 
			
		||||
	// have permission to write to the destination or else the log
 | 
			
		||||
	// entries are not exported.  For more information, see
 | 
			
		||||
	// [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
 | 
			
		||||
	Destination string `protobuf:"bytes,3,opt,name=destination" json:"destination,omitempty"`
 | 
			
		||||
	// Optional.
 | 
			
		||||
	// An [advanced logs filter](/logging/docs/view/advanced_filters).  The only
 | 
			
		||||
	// exported log entries are those that are in the resource owning the sink and
 | 
			
		||||
	// that match the filter. The filter must use the log entry format specified
 | 
			
		||||
	// by the `output_version_format` parameter.  For example, in the v2 format:
 | 
			
		||||
	//
 | 
			
		||||
	//     logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
 | 
			
		||||
	Filter string `protobuf:"bytes,5,opt,name=filter" json:"filter,omitempty"`
 | 
			
		||||
	// Optional. The log entry format to use for this sink's exported log
 | 
			
		||||
	// entries.  The v2 format is used by default.
 | 
			
		||||
	// **The v1 format is deprecated** and should be used only as part of a
 | 
			
		||||
	// migration effort to v2.
 | 
			
		||||
	// See [Migration to the v2 API](/logging/docs/api/v2/migration-to-v2).
 | 
			
		||||
	OutputVersionFormat LogSink_VersionFormat `protobuf:"varint,6,opt,name=output_version_format,json=outputVersionFormat,enum=google.logging.v2.LogSink_VersionFormat" json:"output_version_format,omitempty"`
 | 
			
		||||
	// Output only. An IAM identity—a service account or group—under
 | 
			
		||||
	// which Stackdriver Logging writes the exported log entries to the sink's
 | 
			
		||||
	// destination.  This field is set by
 | 
			
		||||
	// [sinks.create](/logging/docs/api/reference/rest/v2/projects.sinks/create)
 | 
			
		||||
	// and
 | 
			
		||||
	// [sinks.update](/logging/docs/api/reference/rest/v2/projects.sinks/update),
 | 
			
		||||
	// based on the setting of `unique_writer_identity` in those methods.
 | 
			
		||||
	//
 | 
			
		||||
	// Until you grant this identity write-access to the destination, log entry
 | 
			
		||||
	// exports from this sink will fail. For more information,
 | 
			
		||||
	// see [Granting access for a
 | 
			
		||||
	// resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource).
 | 
			
		||||
	// Consult the destination service's documentation to determine the
 | 
			
		||||
	// appropriate IAM roles to assign to the identity.
 | 
			
		||||
	WriterIdentity string `protobuf:"bytes,8,opt,name=writer_identity,json=writerIdentity" json:"writer_identity,omitempty"`
 | 
			
		||||
	// Optional. The time at which this sink will begin exporting log entries.
 | 
			
		||||
	// Log entries are exported only if their timestamp is not earlier than the
 | 
			
		||||
	// start time.  The default value of this field is the time the sink is
 | 
			
		||||
	// created or updated.
 | 
			
		||||
	StartTime *google_protobuf4.Timestamp `protobuf:"bytes,10,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
 | 
			
		||||
	// Optional. The time at which this sink will stop exporting log entries.  Log
 | 
			
		||||
	// entries are exported only if their timestamp is earlier than the end time.
 | 
			
		||||
	// If this field is not supplied, there is no end time.  If both a start time
 | 
			
		||||
	// and an end time are provided, then the end time must be later than the
 | 
			
		||||
	// start time.
 | 
			
		||||
	EndTime *google_protobuf4.Timestamp `protobuf:"bytes,11,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogSink) Reset()                    { *m = LogSink{} }
 | 
			
		||||
func (m *LogSink) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*LogSink) ProtoMessage()               {}
 | 
			
		||||
func (*LogSink) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
 | 
			
		||||
 | 
			
		||||
func (m *LogSink) GetName() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Name
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogSink) GetDestination() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Destination
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogSink) GetFilter() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Filter
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogSink) GetOutputVersionFormat() LogSink_VersionFormat {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.OutputVersionFormat
 | 
			
		||||
	}
 | 
			
		||||
	return LogSink_VERSION_FORMAT_UNSPECIFIED
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogSink) GetWriterIdentity() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.WriterIdentity
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogSink) GetStartTime() *google_protobuf4.Timestamp {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.StartTime
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogSink) GetEndTime() *google_protobuf4.Timestamp {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.EndTime
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to `ListSinks`.
 | 
			
		||||
type ListSinksRequest struct {
 | 
			
		||||
	// Required. The parent resource whose sinks are to be listed:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]"
 | 
			
		||||
	//     "organizations/[ORGANIZATION_ID]"
 | 
			
		||||
	//     "billingAccounts/[BILLING_ACCOUNT_ID]"
 | 
			
		||||
	//     "folders/[FOLDER_ID]"
 | 
			
		||||
	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
 | 
			
		||||
	// Optional. If present, then retrieve the next batch of results from the
 | 
			
		||||
	// preceding call to this method.  `pageToken` must be the value of
 | 
			
		||||
	// `nextPageToken` from the previous response.  The values of other method
 | 
			
		||||
	// parameters should be identical to those in the previous call.
 | 
			
		||||
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
 | 
			
		||||
	// Optional. The maximum number of results to return from this request.
 | 
			
		||||
	// Non-positive values are ignored.  The presence of `nextPageToken` in the
 | 
			
		||||
	// response indicates that more results might be available.
 | 
			
		||||
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListSinksRequest) Reset()                    { *m = ListSinksRequest{} }
 | 
			
		||||
func (m *ListSinksRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*ListSinksRequest) ProtoMessage()               {}
 | 
			
		||||
func (*ListSinksRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
 | 
			
		||||
 | 
			
		||||
func (m *ListSinksRequest) GetParent() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Parent
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListSinksRequest) GetPageToken() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.PageToken
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListSinksRequest) GetPageSize() int32 {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.PageSize
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Result returned from `ListSinks`.
 | 
			
		||||
type ListSinksResponse struct {
 | 
			
		||||
	// A list of sinks.
 | 
			
		||||
	Sinks []*LogSink `protobuf:"bytes,1,rep,name=sinks" json:"sinks,omitempty"`
 | 
			
		||||
	// If there might be more results than appear in this response, then
 | 
			
		||||
	// `nextPageToken` is included.  To get the next set of results, call the same
 | 
			
		||||
	// method again using the value of `nextPageToken` as `pageToken`.
 | 
			
		||||
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListSinksResponse) Reset()                    { *m = ListSinksResponse{} }
 | 
			
		||||
func (m *ListSinksResponse) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*ListSinksResponse) ProtoMessage()               {}
 | 
			
		||||
func (*ListSinksResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
 | 
			
		||||
 | 
			
		||||
func (m *ListSinksResponse) GetSinks() []*LogSink {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Sinks
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListSinksResponse) GetNextPageToken() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.NextPageToken
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to `GetSink`.
 | 
			
		||||
type GetSinkRequest struct {
 | 
			
		||||
	// Required. The resource name of the sink:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//
 | 
			
		||||
	// Example: `"projects/my-project-id/sinks/my-sink-id"`.
 | 
			
		||||
	SinkName string `protobuf:"bytes,1,opt,name=sink_name,json=sinkName" json:"sink_name,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *GetSinkRequest) Reset()                    { *m = GetSinkRequest{} }
 | 
			
		||||
func (m *GetSinkRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*GetSinkRequest) ProtoMessage()               {}
 | 
			
		||||
func (*GetSinkRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
 | 
			
		||||
 | 
			
		||||
func (m *GetSinkRequest) GetSinkName() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.SinkName
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to `CreateSink`.
 | 
			
		||||
type CreateSinkRequest struct {
 | 
			
		||||
	// Required. The resource in which to create the sink:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]"
 | 
			
		||||
	//     "organizations/[ORGANIZATION_ID]"
 | 
			
		||||
	//     "billingAccounts/[BILLING_ACCOUNT_ID]"
 | 
			
		||||
	//     "folders/[FOLDER_ID]"
 | 
			
		||||
	//
 | 
			
		||||
	// Examples: `"projects/my-logging-project"`, `"organizations/123456789"`.
 | 
			
		||||
	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
 | 
			
		||||
	// Required. The new sink, whose `name` parameter is a sink identifier that
 | 
			
		||||
	// is not already in use.
 | 
			
		||||
	Sink *LogSink `protobuf:"bytes,2,opt,name=sink" json:"sink,omitempty"`
 | 
			
		||||
	// Optional. Determines the kind of IAM identity returned as `writer_identity`
 | 
			
		||||
	// in the new sink.  If this value is omitted or set to false, and if the
 | 
			
		||||
	// sink's parent is a project, then the value returned as `writer_identity` is
 | 
			
		||||
	// the same group or service account used by Stackdriver Logging before the
 | 
			
		||||
	// addition of writer identities to this API. The sink's destination must be
 | 
			
		||||
	// in the same project as the sink itself.
 | 
			
		||||
	//
 | 
			
		||||
	// If this field is set to true, or if the sink is owned by a non-project
 | 
			
		||||
	// resource such as an organization, then the value of `writer_identity` will
 | 
			
		||||
	// be a unique service account used only for exports from the new sink.  For
 | 
			
		||||
	// more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink].
 | 
			
		||||
	UniqueWriterIdentity bool `protobuf:"varint,3,opt,name=unique_writer_identity,json=uniqueWriterIdentity" json:"unique_writer_identity,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *CreateSinkRequest) Reset()                    { *m = CreateSinkRequest{} }
 | 
			
		||||
func (m *CreateSinkRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*CreateSinkRequest) ProtoMessage()               {}
 | 
			
		||||
func (*CreateSinkRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
 | 
			
		||||
 | 
			
		||||
func (m *CreateSinkRequest) GetParent() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Parent
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *CreateSinkRequest) GetSink() *LogSink {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Sink
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *CreateSinkRequest) GetUniqueWriterIdentity() bool {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.UniqueWriterIdentity
 | 
			
		||||
	}
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to `UpdateSink`.
 | 
			
		||||
type UpdateSinkRequest struct {
 | 
			
		||||
	// Required. The full resource name of the sink to update, including the
 | 
			
		||||
	// parent resource and the sink identifier:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//
 | 
			
		||||
	// Example: `"projects/my-project-id/sinks/my-sink-id"`.
 | 
			
		||||
	SinkName string `protobuf:"bytes,1,opt,name=sink_name,json=sinkName" json:"sink_name,omitempty"`
 | 
			
		||||
	// Required. The updated sink, whose name is the same identifier that appears
 | 
			
		||||
	// as part of `sink_name`.  If `sink_name` does not exist, then
 | 
			
		||||
	// this method creates a new sink.
 | 
			
		||||
	Sink *LogSink `protobuf:"bytes,2,opt,name=sink" json:"sink,omitempty"`
 | 
			
		||||
	// Optional. See
 | 
			
		||||
	// [sinks.create](/logging/docs/api/reference/rest/v2/projects.sinks/create)
 | 
			
		||||
	// for a description of this field.  When updating a sink, the effect of this
 | 
			
		||||
	// field on the value of `writer_identity` in the updated sink depends on both
 | 
			
		||||
	// the old and new values of this field:
 | 
			
		||||
	//
 | 
			
		||||
	// +   If the old and new values of this field are both false or both true,
 | 
			
		||||
	//     then there is no change to the sink's `writer_identity`.
 | 
			
		||||
	// +   If the old value is false and the new value is true, then
 | 
			
		||||
	//     `writer_identity` is changed to a unique service account.
 | 
			
		||||
	// +   It is an error if the old value is true and the new value is false.
 | 
			
		||||
	UniqueWriterIdentity bool `protobuf:"varint,3,opt,name=unique_writer_identity,json=uniqueWriterIdentity" json:"unique_writer_identity,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *UpdateSinkRequest) Reset()                    { *m = UpdateSinkRequest{} }
 | 
			
		||||
func (m *UpdateSinkRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*UpdateSinkRequest) ProtoMessage()               {}
 | 
			
		||||
func (*UpdateSinkRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
 | 
			
		||||
 | 
			
		||||
func (m *UpdateSinkRequest) GetSinkName() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.SinkName
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *UpdateSinkRequest) GetSink() *LogSink {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Sink
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *UpdateSinkRequest) GetUniqueWriterIdentity() bool {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.UniqueWriterIdentity
 | 
			
		||||
	}
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to `DeleteSink`.
 | 
			
		||||
type DeleteSinkRequest struct {
 | 
			
		||||
	// Required. The full resource name of the sink to delete, including the
 | 
			
		||||
	// parent resource and the sink identifier:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//     "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//     "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//     "folders/[FOLDER_ID]/sinks/[SINK_ID]"
 | 
			
		||||
	//
 | 
			
		||||
	// Example: `"projects/my-project-id/sinks/my-sink-id"`.
 | 
			
		||||
	SinkName string `protobuf:"bytes,1,opt,name=sink_name,json=sinkName" json:"sink_name,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *DeleteSinkRequest) Reset()                    { *m = DeleteSinkRequest{} }
 | 
			
		||||
func (m *DeleteSinkRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*DeleteSinkRequest) ProtoMessage()               {}
 | 
			
		||||
func (*DeleteSinkRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
 | 
			
		||||
 | 
			
		||||
func (m *DeleteSinkRequest) GetSinkName() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.SinkName
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
	proto.RegisterType((*LogSink)(nil), "google.logging.v2.LogSink")
 | 
			
		||||
	proto.RegisterType((*ListSinksRequest)(nil), "google.logging.v2.ListSinksRequest")
 | 
			
		||||
	proto.RegisterType((*ListSinksResponse)(nil), "google.logging.v2.ListSinksResponse")
 | 
			
		||||
	proto.RegisterType((*GetSinkRequest)(nil), "google.logging.v2.GetSinkRequest")
 | 
			
		||||
	proto.RegisterType((*CreateSinkRequest)(nil), "google.logging.v2.CreateSinkRequest")
 | 
			
		||||
	proto.RegisterType((*UpdateSinkRequest)(nil), "google.logging.v2.UpdateSinkRequest")
 | 
			
		||||
	proto.RegisterType((*DeleteSinkRequest)(nil), "google.logging.v2.DeleteSinkRequest")
 | 
			
		||||
	proto.RegisterEnum("google.logging.v2.LogSink_VersionFormat", LogSink_VersionFormat_name, LogSink_VersionFormat_value)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Reference imports to suppress errors if they are not otherwise used.
 | 
			
		||||
var _ context.Context
 | 
			
		||||
var _ grpc.ClientConn
 | 
			
		||||
 | 
			
		||||
// This is a compile-time assertion to ensure that this generated file
 | 
			
		||||
// is compatible with the grpc package it is being compiled against.
 | 
			
		||||
const _ = grpc.SupportPackageIsVersion4
 | 
			
		||||
 | 
			
		||||
// Client API for ConfigServiceV2 service
 | 
			
		||||
 | 
			
		||||
type ConfigServiceV2Client interface {
 | 
			
		||||
	// Lists sinks.
 | 
			
		||||
	ListSinks(ctx context.Context, in *ListSinksRequest, opts ...grpc.CallOption) (*ListSinksResponse, error)
 | 
			
		||||
	// Gets a sink.
 | 
			
		||||
	GetSink(ctx context.Context, in *GetSinkRequest, opts ...grpc.CallOption) (*LogSink, error)
 | 
			
		||||
	// Creates a sink that exports specified log entries to a destination.  The
 | 
			
		||||
	// export of newly-ingested log entries begins immediately, unless the current
 | 
			
		||||
	// time is outside the sink's start and end times or the sink's
 | 
			
		||||
	// `writer_identity` is not permitted to write to the destination.  A sink can
 | 
			
		||||
	// export log entries only from the resource owning the sink.
 | 
			
		||||
	CreateSink(ctx context.Context, in *CreateSinkRequest, opts ...grpc.CallOption) (*LogSink, error)
 | 
			
		||||
	// Updates a sink. If the named sink doesn't exist, then this method is
 | 
			
		||||
	// identical to
 | 
			
		||||
	// [sinks.create](/logging/docs/api/reference/rest/v2/projects.sinks/create).
 | 
			
		||||
	// If the named sink does exist, then this method replaces the following
 | 
			
		||||
	// fields in the existing sink with values from the new sink: `destination`,
 | 
			
		||||
	// `filter`, `output_version_format`, `start_time`, and `end_time`.
 | 
			
		||||
	// The updated filter might also have a new `writer_identity`; see the
 | 
			
		||||
	// `unique_writer_identity` field.
 | 
			
		||||
	UpdateSink(ctx context.Context, in *UpdateSinkRequest, opts ...grpc.CallOption) (*LogSink, error)
 | 
			
		||||
	// Deletes a sink. If the sink has a unique `writer_identity`, then that
 | 
			
		||||
	// service account is also deleted.
 | 
			
		||||
	DeleteSink(ctx context.Context, in *DeleteSinkRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type configServiceV2Client struct {
 | 
			
		||||
	cc *grpc.ClientConn
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func NewConfigServiceV2Client(cc *grpc.ClientConn) ConfigServiceV2Client {
 | 
			
		||||
	return &configServiceV2Client{cc}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *configServiceV2Client) ListSinks(ctx context.Context, in *ListSinksRequest, opts ...grpc.CallOption) (*ListSinksResponse, error) {
 | 
			
		||||
	out := new(ListSinksResponse)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.ConfigServiceV2/ListSinks", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *configServiceV2Client) GetSink(ctx context.Context, in *GetSinkRequest, opts ...grpc.CallOption) (*LogSink, error) {
 | 
			
		||||
	out := new(LogSink)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.ConfigServiceV2/GetSink", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *configServiceV2Client) CreateSink(ctx context.Context, in *CreateSinkRequest, opts ...grpc.CallOption) (*LogSink, error) {
 | 
			
		||||
	out := new(LogSink)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.ConfigServiceV2/CreateSink", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *configServiceV2Client) UpdateSink(ctx context.Context, in *UpdateSinkRequest, opts ...grpc.CallOption) (*LogSink, error) {
 | 
			
		||||
	out := new(LogSink)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.ConfigServiceV2/UpdateSink", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *configServiceV2Client) DeleteSink(ctx context.Context, in *DeleteSinkRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error) {
 | 
			
		||||
	out := new(google_protobuf5.Empty)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.ConfigServiceV2/DeleteSink", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Server API for ConfigServiceV2 service
 | 
			
		||||
 | 
			
		||||
type ConfigServiceV2Server interface {
 | 
			
		||||
	// Lists sinks.
 | 
			
		||||
	ListSinks(context.Context, *ListSinksRequest) (*ListSinksResponse, error)
 | 
			
		||||
	// Gets a sink.
 | 
			
		||||
	GetSink(context.Context, *GetSinkRequest) (*LogSink, error)
 | 
			
		||||
	// Creates a sink that exports specified log entries to a destination.  The
 | 
			
		||||
	// export of newly-ingested log entries begins immediately, unless the current
 | 
			
		||||
	// time is outside the sink's start and end times or the sink's
 | 
			
		||||
	// `writer_identity` is not permitted to write to the destination.  A sink can
 | 
			
		||||
	// export log entries only from the resource owning the sink.
 | 
			
		||||
	CreateSink(context.Context, *CreateSinkRequest) (*LogSink, error)
 | 
			
		||||
	// Updates a sink. If the named sink doesn't exist, then this method is
 | 
			
		||||
	// identical to
 | 
			
		||||
	// [sinks.create](/logging/docs/api/reference/rest/v2/projects.sinks/create).
 | 
			
		||||
	// If the named sink does exist, then this method replaces the following
 | 
			
		||||
	// fields in the existing sink with values from the new sink: `destination`,
 | 
			
		||||
	// `filter`, `output_version_format`, `start_time`, and `end_time`.
 | 
			
		||||
	// The updated filter might also have a new `writer_identity`; see the
 | 
			
		||||
	// `unique_writer_identity` field.
 | 
			
		||||
	UpdateSink(context.Context, *UpdateSinkRequest) (*LogSink, error)
 | 
			
		||||
	// Deletes a sink. If the sink has a unique `writer_identity`, then that
 | 
			
		||||
	// service account is also deleted.
 | 
			
		||||
	DeleteSink(context.Context, *DeleteSinkRequest) (*google_protobuf5.Empty, error)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func RegisterConfigServiceV2Server(s *grpc.Server, srv ConfigServiceV2Server) {
 | 
			
		||||
	s.RegisterService(&_ConfigServiceV2_serviceDesc, srv)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _ConfigServiceV2_ListSinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(ListSinksRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(ConfigServiceV2Server).ListSinks(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.ConfigServiceV2/ListSinks",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(ConfigServiceV2Server).ListSinks(ctx, req.(*ListSinksRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _ConfigServiceV2_GetSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(GetSinkRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(ConfigServiceV2Server).GetSink(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.ConfigServiceV2/GetSink",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(ConfigServiceV2Server).GetSink(ctx, req.(*GetSinkRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _ConfigServiceV2_CreateSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(CreateSinkRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(ConfigServiceV2Server).CreateSink(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.ConfigServiceV2/CreateSink",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(ConfigServiceV2Server).CreateSink(ctx, req.(*CreateSinkRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _ConfigServiceV2_UpdateSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(UpdateSinkRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(ConfigServiceV2Server).UpdateSink(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.ConfigServiceV2/UpdateSink",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(ConfigServiceV2Server).UpdateSink(ctx, req.(*UpdateSinkRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _ConfigServiceV2_DeleteSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(DeleteSinkRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(ConfigServiceV2Server).DeleteSink(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.ConfigServiceV2/DeleteSink",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(ConfigServiceV2Server).DeleteSink(ctx, req.(*DeleteSinkRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var _ConfigServiceV2_serviceDesc = grpc.ServiceDesc{
 | 
			
		||||
	ServiceName: "google.logging.v2.ConfigServiceV2",
 | 
			
		||||
	HandlerType: (*ConfigServiceV2Server)(nil),
 | 
			
		||||
	Methods: []grpc.MethodDesc{
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "ListSinks",
 | 
			
		||||
			Handler:    _ConfigServiceV2_ListSinks_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "GetSink",
 | 
			
		||||
			Handler:    _ConfigServiceV2_GetSink_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "CreateSink",
 | 
			
		||||
			Handler:    _ConfigServiceV2_CreateSink_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "UpdateSink",
 | 
			
		||||
			Handler:    _ConfigServiceV2_UpdateSink_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "DeleteSink",
 | 
			
		||||
			Handler:    _ConfigServiceV2_DeleteSink_Handler,
 | 
			
		||||
		},
 | 
			
		||||
	},
 | 
			
		||||
	Streams:  []grpc.StreamDesc{},
 | 
			
		||||
	Metadata: "google/logging/v2/logging_config.proto",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() { proto.RegisterFile("google/logging/v2/logging_config.proto", fileDescriptor2) }
 | 
			
		||||
 | 
			
		||||
var fileDescriptor2 = []byte{
 | 
			
		||||
	// 787 bytes of a gzipped FileDescriptorProto
 | 
			
		||||
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xed, 0x4e, 0x33, 0x45,
 | 
			
		||||
	0x14, 0x76, 0x0b, 0x94, 0xf6, 0x90, 0x17, 0xda, 0xd1, 0x17, 0x37, 0x8b, 0xaf, 0xd4, 0x15, 0xb0,
 | 
			
		||||
	0xa9, 0x71, 0x17, 0x57, 0x4d, 0xfc, 0x88, 0x31, 0x52, 0x0a, 0x69, 0x82, 0xd0, 0x6c, 0xa1, 0x26,
 | 
			
		||||
	0xc6, 0x64, 0xb3, 0xb4, 0xd3, 0xcd, 0x48, 0x77, 0x66, 0xd9, 0x9d, 0x56, 0x81, 0x90, 0xa8, 0x77,
 | 
			
		||||
	0x40, 0x4c, 0xbc, 0x08, 0x6f, 0xc7, 0x5b, 0xf0, 0x3a, 0x8c, 0x99, 0x99, 0x2d, 0xb4, 0xdd, 0x5a,
 | 
			
		||||
	0xf9, 0xe5, 0xaf, 0x9d, 0xf3, 0x35, 0xcf, 0x73, 0xce, 0x79, 0x32, 0x0b, 0x7b, 0x01, 0x63, 0xc1,
 | 
			
		||||
	0x00, 0xdb, 0x03, 0x16, 0x04, 0x84, 0x06, 0xf6, 0xc8, 0x19, 0x1f, 0xbd, 0x2e, 0xa3, 0x7d, 0x12,
 | 
			
		||||
	0x58, 0x51, 0xcc, 0x38, 0x43, 0x65, 0x95, 0x67, 0xa5, 0x41, 0x6b, 0xe4, 0x18, 0x6f, 0xa5, 0xa5,
 | 
			
		||||
	0x7e, 0x44, 0x6c, 0x9f, 0x52, 0xc6, 0x7d, 0x4e, 0x18, 0x4d, 0x54, 0x81, 0xb1, 0x95, 0x46, 0xa5,
 | 
			
		||||
	0x75, 0x39, 0xec, 0xdb, 0x38, 0x8c, 0xf8, 0x4d, 0x1a, 0xdc, 0x9e, 0x0d, 0x72, 0x12, 0xe2, 0x84,
 | 
			
		||||
	0xfb, 0x61, 0xa4, 0x12, 0xcc, 0x87, 0x25, 0x58, 0x3d, 0x61, 0x41, 0x9b, 0xd0, 0x2b, 0x84, 0x60,
 | 
			
		||||
	0x99, 0xfa, 0x21, 0xd6, 0xb5, 0x8a, 0x56, 0x2d, 0xba, 0xf2, 0x8c, 0x2a, 0xb0, 0xd6, 0xc3, 0x09,
 | 
			
		||||
	0x27, 0x54, 0x62, 0xea, 0x4b, 0x32, 0x34, 0xe9, 0x42, 0x9b, 0x90, 0xef, 0x93, 0x01, 0xc7, 0xb1,
 | 
			
		||||
	0xbe, 0x22, 0x83, 0xa9, 0x85, 0xbe, 0x87, 0x97, 0x6c, 0xc8, 0xa3, 0x21, 0xf7, 0x46, 0x38, 0x4e,
 | 
			
		||||
	0x08, 0xa3, 0x5e, 0x9f, 0xc5, 0xa1, 0xcf, 0xf5, 0x7c, 0x45, 0xab, 0xae, 0x3b, 0x55, 0x2b, 0xd3,
 | 
			
		||||
	0xa8, 0x95, 0x12, 0xb1, 0x3a, 0xaa, 0xe0, 0x48, 0xe6, 0xbb, 0xaf, 0xab, 0x6b, 0xa6, 0x9c, 0xe8,
 | 
			
		||||
	0x3d, 0xd8, 0xf8, 0x31, 0x26, 0x1c, 0xc7, 0x1e, 0xe9, 0x61, 0xca, 0x09, 0xbf, 0xd1, 0x0b, 0x12,
 | 
			
		||||
	0x7e, 0x5d, 0xb9, 0x9b, 0xa9, 0x17, 0x7d, 0x06, 0x90, 0x70, 0x3f, 0xe6, 0x9e, 0xe8, 0x5c, 0x87,
 | 
			
		||||
	0x8a, 0x56, 0x5d, 0x73, 0x8c, 0x31, 0xf6, 0x78, 0x2c, 0xd6, 0xf9, 0x78, 0x2c, 0x6e, 0x51, 0x66,
 | 
			
		||||
	0x0b, 0x1b, 0x7d, 0x02, 0x05, 0x4c, 0x7b, 0xaa, 0x70, 0xed, 0x3f, 0x0b, 0x57, 0x31, 0xed, 0x09,
 | 
			
		||||
	0xcb, 0xfc, 0x0a, 0x5e, 0x4c, 0x73, 0x7d, 0x1b, 0x8c, 0x4e, 0xc3, 0x6d, 0x37, 0xcf, 0x4e, 0xbd,
 | 
			
		||||
	0xa3, 0x33, 0xf7, 0x9b, 0xaf, 0xcf, 0xbd, 0x8b, 0xd3, 0x76, 0xab, 0x51, 0x6f, 0x1e, 0x35, 0x1b,
 | 
			
		||||
	0x87, 0xa5, 0xd7, 0x50, 0x1e, 0x72, 0x1d, 0xa7, 0xa4, 0xc9, 0xef, 0x87, 0xa5, 0x9c, 0xd9, 0x87,
 | 
			
		||||
	0xd2, 0x09, 0x49, 0xb8, 0x18, 0x45, 0xe2, 0xe2, 0xeb, 0x21, 0x4e, 0xb8, 0x98, 0x72, 0xe4, 0xc7,
 | 
			
		||||
	0x98, 0xf2, 0x74, 0x3b, 0xa9, 0x85, 0x5e, 0x01, 0x44, 0x7e, 0x80, 0x3d, 0xce, 0xae, 0x30, 0xd5,
 | 
			
		||||
	0x73, 0x32, 0x56, 0x14, 0x9e, 0x73, 0xe1, 0x40, 0x5b, 0x20, 0x0d, 0x2f, 0x21, 0xb7, 0x58, 0x2e,
 | 
			
		||||
	0x6f, 0xc5, 0x2d, 0x08, 0x47, 0x9b, 0xdc, 0x62, 0x33, 0x84, 0xf2, 0x04, 0x4e, 0x12, 0x31, 0x9a,
 | 
			
		||||
	0x60, 0xb4, 0x0f, 0x2b, 0x89, 0x70, 0xe8, 0x5a, 0x65, 0x69, 0xb2, 0xe3, 0xec, 0x9a, 0x5c, 0x95,
 | 
			
		||||
	0x88, 0xf6, 0x60, 0x83, 0xe2, 0x9f, 0xb8, 0x97, 0xe1, 0xf1, 0x42, 0xb8, 0x5b, 0x63, 0x2e, 0xe6,
 | 
			
		||||
	0x07, 0xb0, 0x7e, 0x8c, 0x25, 0xda, 0xb8, 0xa9, 0x2d, 0x28, 0x8a, 0x2b, 0xbc, 0x09, 0xd5, 0x15,
 | 
			
		||||
	0x84, 0xe3, 0xd4, 0x0f, 0xb1, 0xf9, 0xa0, 0x41, 0xb9, 0x1e, 0x63, 0x9f, 0xe3, 0xc9, 0x92, 0x7f,
 | 
			
		||||
	0x9b, 0x83, 0x05, 0xcb, 0xa2, 0x52, 0x22, 0x2f, 0x66, 0x2d, 0xf3, 0xd0, 0xc7, 0xb0, 0x39, 0xa4,
 | 
			
		||||
	0xe4, 0x7a, 0x88, 0xbd, 0x59, 0x19, 0x89, 0x29, 0x15, 0xdc, 0x37, 0x54, 0xf4, 0xdb, 0x29, 0x31,
 | 
			
		||||
	0x99, 0xbf, 0x6b, 0x50, 0xbe, 0x88, 0x7a, 0x33, 0x9c, 0x16, 0xb5, 0xf1, 0x3f, 0x11, 0xdb, 0x87,
 | 
			
		||||
	0xf2, 0x21, 0x1e, 0xe0, 0xe7, 0xf3, 0x72, 0xfe, 0x5e, 0x86, 0x8d, 0xba, 0x7c, 0x78, 0xda, 0x38,
 | 
			
		||||
	0x1e, 0x91, 0x2e, 0xee, 0x38, 0xe8, 0x1e, 0x8a, 0x8f, 0x82, 0x40, 0xef, 0xce, 0xa3, 0x3a, 0x23,
 | 
			
		||||
	0x4b, 0x63, 0x67, 0x71, 0x92, 0xd2, 0x94, 0xb9, 0xfb, 0xeb, 0x9f, 0x7f, 0xfd, 0x96, 0xdb, 0x46,
 | 
			
		||||
	0xaf, 0xc4, 0xab, 0x77, 0xa7, 0x36, 0xf6, 0x65, 0x14, 0xb3, 0x1f, 0x70, 0x97, 0x27, 0x76, 0xed,
 | 
			
		||||
	0xde, 0x56, 0x42, 0xe2, 0xb0, 0x9a, 0x0a, 0x04, 0xbd, 0x33, 0xe7, 0xde, 0x69, 0xf1, 0x18, 0x0b,
 | 
			
		||||
	0x46, 0x69, 0xd6, 0x24, 0xe0, 0x0e, 0x32, 0x25, 0xe0, 0xe3, 0x10, 0x26, 0x30, 0x15, 0xa4, 0x5d,
 | 
			
		||||
	0xbb, 0x47, 0x77, 0x00, 0x4f, 0x32, 0x43, 0xf3, 0x1a, 0xca, 0xa8, 0x70, 0x21, 0xf6, 0xfb, 0x12,
 | 
			
		||||
	0x7b, 0xd7, 0x5c, 0xdc, 0xec, 0xe7, 0x6a, 0xdb, 0x3f, 0x6b, 0x00, 0x4f, 0x82, 0x9a, 0x8b, 0x9e,
 | 
			
		||||
	0xd1, 0xdb, 0x42, 0xf4, 0x7d, 0x89, 0x5e, 0x33, 0x9e, 0xd1, 0x79, 0x4a, 0x61, 0x04, 0xf0, 0x24,
 | 
			
		||||
	0x9d, 0xb9, 0x0c, 0x32, 0xca, 0x32, 0x36, 0x33, 0xef, 0x60, 0x43, 0xfc, 0x74, 0xc6, 0x73, 0xaf,
 | 
			
		||||
	0x3d, 0x03, 0xfd, 0xe0, 0x17, 0x0d, 0x5e, 0x76, 0x59, 0x98, 0xc5, 0x3b, 0x40, 0x27, 0xea, 0xac,
 | 
			
		||||
	0xe4, 0xd9, 0x12, 0x10, 0x2d, 0xed, 0xbb, 0x4f, 0xd3, 0xc4, 0x80, 0x0d, 0x7c, 0x1a, 0x58, 0x2c,
 | 
			
		||||
	0x0e, 0xec, 0x00, 0x53, 0x49, 0xc0, 0x56, 0x21, 0x3f, 0x22, 0xc9, 0xc4, 0xff, 0xf5, 0x8b, 0xf4,
 | 
			
		||||
	0xf8, 0x47, 0xee, 0xcd, 0x63, 0x55, 0x5a, 0x1f, 0xb0, 0x61, 0xcf, 0x4a, 0x6f, 0xb7, 0x3a, 0xce,
 | 
			
		||||
	0x65, 0x5e, 0x96, 0x7f, 0xf4, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x9e, 0xa5, 0xee, 0x9d,
 | 
			
		||||
	0x07, 0x00, 0x00,
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										565
									
								
								vendor/google.golang.org/genproto/googleapis/logging/v2/logging_metrics.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										565
									
								
								vendor/google.golang.org/genproto/googleapis/logging/v2/logging_metrics.pb.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,565 @@
 | 
			
		||||
// Code generated by protoc-gen-go.
 | 
			
		||||
// source: google/logging/v2/logging_metrics.proto
 | 
			
		||||
// DO NOT EDIT!
 | 
			
		||||
 | 
			
		||||
package logging
 | 
			
		||||
 | 
			
		||||
import proto "github.com/golang/protobuf/proto"
 | 
			
		||||
import fmt "fmt"
 | 
			
		||||
import math "math"
 | 
			
		||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
 | 
			
		||||
import _ "google.golang.org/genproto/googleapis/api/distribution"
 | 
			
		||||
import _ "google.golang.org/genproto/googleapis/api/metric"
 | 
			
		||||
import google_protobuf5 "github.com/golang/protobuf/ptypes/empty"
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	context "golang.org/x/net/context"
 | 
			
		||||
	grpc "google.golang.org/grpc"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// Reference imports to suppress errors if they are not otherwise used.
 | 
			
		||||
var _ = proto.Marshal
 | 
			
		||||
var _ = fmt.Errorf
 | 
			
		||||
var _ = math.Inf
 | 
			
		||||
 | 
			
		||||
// Stackdriver Logging API version.
 | 
			
		||||
type LogMetric_ApiVersion int32
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	// Stackdriver Logging API v2.
 | 
			
		||||
	LogMetric_V2 LogMetric_ApiVersion = 0
 | 
			
		||||
	// Stackdriver Logging API v1.
 | 
			
		||||
	LogMetric_V1 LogMetric_ApiVersion = 1
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var LogMetric_ApiVersion_name = map[int32]string{
 | 
			
		||||
	0: "V2",
 | 
			
		||||
	1: "V1",
 | 
			
		||||
}
 | 
			
		||||
var LogMetric_ApiVersion_value = map[string]int32{
 | 
			
		||||
	"V2": 0,
 | 
			
		||||
	"V1": 1,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (x LogMetric_ApiVersion) String() string {
 | 
			
		||||
	return proto.EnumName(LogMetric_ApiVersion_name, int32(x))
 | 
			
		||||
}
 | 
			
		||||
func (LogMetric_ApiVersion) EnumDescriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 0} }
 | 
			
		||||
 | 
			
		||||
// Describes a logs-based metric.  The value of the metric is the
 | 
			
		||||
// number of log entries that match a logs filter in a given time interval.
 | 
			
		||||
type LogMetric struct {
 | 
			
		||||
	// Required. The client-assigned metric identifier.
 | 
			
		||||
	// Examples: `"error_count"`, `"nginx/requests"`.
 | 
			
		||||
	//
 | 
			
		||||
	// Metric identifiers are limited to 100 characters and can include
 | 
			
		||||
	// only the following characters: `A-Z`, `a-z`, `0-9`, and the
 | 
			
		||||
	// special characters `_-.,+!*',()%/`.  The forward-slash character
 | 
			
		||||
	// (`/`) denotes a hierarchy of name pieces, and it cannot be the
 | 
			
		||||
	// first character of the name.
 | 
			
		||||
	//
 | 
			
		||||
	// The metric identifier in this field must not be
 | 
			
		||||
	// [URL-encoded](https://en.wikipedia.org/wiki/Percent-encoding).
 | 
			
		||||
	// However, when the metric identifier appears as the `[METRIC_ID]`
 | 
			
		||||
	// part of a `metric_name` API parameter, then the metric identifier
 | 
			
		||||
	// must be URL-encoded. Example:
 | 
			
		||||
	// `"projects/my-project/metrics/nginx%2Frequests"`.
 | 
			
		||||
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
 | 
			
		||||
	// Optional. A description of this metric, which is used in documentation.
 | 
			
		||||
	Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
 | 
			
		||||
	// Required. An [advanced logs filter](/logging/docs/view/advanced_filters)
 | 
			
		||||
	// which is used to match log entries.
 | 
			
		||||
	// Example:
 | 
			
		||||
	//
 | 
			
		||||
	//     "resource.type=gae_app AND severity>=ERROR"
 | 
			
		||||
	//
 | 
			
		||||
	// The maximum length of the filter is 20000 characters.
 | 
			
		||||
	Filter string `protobuf:"bytes,3,opt,name=filter" json:"filter,omitempty"`
 | 
			
		||||
	// Output only. The API version that created or updated this metric.
 | 
			
		||||
	// The version also dictates the syntax of the filter expression. When a value
 | 
			
		||||
	// for this field is missing, the default value of V2 should be assumed.
 | 
			
		||||
	Version LogMetric_ApiVersion `protobuf:"varint,4,opt,name=version,enum=google.logging.v2.LogMetric_ApiVersion" json:"version,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogMetric) Reset()                    { *m = LogMetric{} }
 | 
			
		||||
func (m *LogMetric) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*LogMetric) ProtoMessage()               {}
 | 
			
		||||
func (*LogMetric) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
 | 
			
		||||
 | 
			
		||||
func (m *LogMetric) GetName() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Name
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogMetric) GetDescription() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Description
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogMetric) GetFilter() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Filter
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *LogMetric) GetVersion() LogMetric_ApiVersion {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Version
 | 
			
		||||
	}
 | 
			
		||||
	return LogMetric_V2
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to ListLogMetrics.
 | 
			
		||||
type ListLogMetricsRequest struct {
 | 
			
		||||
	// Required. The name of the project containing the metrics:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]"
 | 
			
		||||
	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
 | 
			
		||||
	// Optional. If present, then retrieve the next batch of results from the
 | 
			
		||||
	// preceding call to this method.  `pageToken` must be the value of
 | 
			
		||||
	// `nextPageToken` from the previous response.  The values of other method
 | 
			
		||||
	// parameters should be identical to those in the previous call.
 | 
			
		||||
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
 | 
			
		||||
	// Optional. The maximum number of results to return from this request.
 | 
			
		||||
	// Non-positive values are ignored.  The presence of `nextPageToken` in the
 | 
			
		||||
	// response indicates that more results might be available.
 | 
			
		||||
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogMetricsRequest) Reset()                    { *m = ListLogMetricsRequest{} }
 | 
			
		||||
func (m *ListLogMetricsRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*ListLogMetricsRequest) ProtoMessage()               {}
 | 
			
		||||
func (*ListLogMetricsRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
 | 
			
		||||
 | 
			
		||||
func (m *ListLogMetricsRequest) GetParent() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Parent
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogMetricsRequest) GetPageToken() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.PageToken
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogMetricsRequest) GetPageSize() int32 {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.PageSize
 | 
			
		||||
	}
 | 
			
		||||
	return 0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Result returned from ListLogMetrics.
 | 
			
		||||
type ListLogMetricsResponse struct {
 | 
			
		||||
	// A list of logs-based metrics.
 | 
			
		||||
	Metrics []*LogMetric `protobuf:"bytes,1,rep,name=metrics" json:"metrics,omitempty"`
 | 
			
		||||
	// If there might be more results than appear in this response, then
 | 
			
		||||
	// `nextPageToken` is included.  To get the next set of results, call this
 | 
			
		||||
	// method again using the value of `nextPageToken` as `pageToken`.
 | 
			
		||||
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogMetricsResponse) Reset()                    { *m = ListLogMetricsResponse{} }
 | 
			
		||||
func (m *ListLogMetricsResponse) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*ListLogMetricsResponse) ProtoMessage()               {}
 | 
			
		||||
func (*ListLogMetricsResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{2} }
 | 
			
		||||
 | 
			
		||||
func (m *ListLogMetricsResponse) GetMetrics() []*LogMetric {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Metrics
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *ListLogMetricsResponse) GetNextPageToken() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.NextPageToken
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to GetLogMetric.
 | 
			
		||||
type GetLogMetricRequest struct {
 | 
			
		||||
	// The resource name of the desired metric:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
 | 
			
		||||
	MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName" json:"metric_name,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *GetLogMetricRequest) Reset()                    { *m = GetLogMetricRequest{} }
 | 
			
		||||
func (m *GetLogMetricRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*GetLogMetricRequest) ProtoMessage()               {}
 | 
			
		||||
func (*GetLogMetricRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{3} }
 | 
			
		||||
 | 
			
		||||
func (m *GetLogMetricRequest) GetMetricName() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.MetricName
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to CreateLogMetric.
 | 
			
		||||
type CreateLogMetricRequest struct {
 | 
			
		||||
	// The resource name of the project in which to create the metric:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]"
 | 
			
		||||
	//
 | 
			
		||||
	// The new metric must be provided in the request.
 | 
			
		||||
	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
 | 
			
		||||
	// The new logs-based metric, which must not have an identifier that
 | 
			
		||||
	// already exists.
 | 
			
		||||
	Metric *LogMetric `protobuf:"bytes,2,opt,name=metric" json:"metric,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *CreateLogMetricRequest) Reset()                    { *m = CreateLogMetricRequest{} }
 | 
			
		||||
func (m *CreateLogMetricRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*CreateLogMetricRequest) ProtoMessage()               {}
 | 
			
		||||
func (*CreateLogMetricRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{4} }
 | 
			
		||||
 | 
			
		||||
func (m *CreateLogMetricRequest) GetParent() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Parent
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *CreateLogMetricRequest) GetMetric() *LogMetric {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Metric
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to UpdateLogMetric.
 | 
			
		||||
type UpdateLogMetricRequest struct {
 | 
			
		||||
	// The resource name of the metric to update:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
 | 
			
		||||
	//
 | 
			
		||||
	// The updated metric must be provided in the request and it's
 | 
			
		||||
	// `name` field must be the same as `[METRIC_ID]` If the metric
 | 
			
		||||
	// does not exist in `[PROJECT_ID]`, then a new metric is created.
 | 
			
		||||
	MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName" json:"metric_name,omitempty"`
 | 
			
		||||
	// The updated metric.
 | 
			
		||||
	Metric *LogMetric `protobuf:"bytes,2,opt,name=metric" json:"metric,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *UpdateLogMetricRequest) Reset()                    { *m = UpdateLogMetricRequest{} }
 | 
			
		||||
func (m *UpdateLogMetricRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*UpdateLogMetricRequest) ProtoMessage()               {}
 | 
			
		||||
func (*UpdateLogMetricRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{5} }
 | 
			
		||||
 | 
			
		||||
func (m *UpdateLogMetricRequest) GetMetricName() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.MetricName
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *UpdateLogMetricRequest) GetMetric() *LogMetric {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.Metric
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// The parameters to DeleteLogMetric.
 | 
			
		||||
type DeleteLogMetricRequest struct {
 | 
			
		||||
	// The resource name of the metric to delete:
 | 
			
		||||
	//
 | 
			
		||||
	//     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
 | 
			
		||||
	MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName" json:"metric_name,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *DeleteLogMetricRequest) Reset()                    { *m = DeleteLogMetricRequest{} }
 | 
			
		||||
func (m *DeleteLogMetricRequest) String() string            { return proto.CompactTextString(m) }
 | 
			
		||||
func (*DeleteLogMetricRequest) ProtoMessage()               {}
 | 
			
		||||
func (*DeleteLogMetricRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{6} }
 | 
			
		||||
 | 
			
		||||
func (m *DeleteLogMetricRequest) GetMetricName() string {
 | 
			
		||||
	if m != nil {
 | 
			
		||||
		return m.MetricName
 | 
			
		||||
	}
 | 
			
		||||
	return ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
	proto.RegisterType((*LogMetric)(nil), "google.logging.v2.LogMetric")
 | 
			
		||||
	proto.RegisterType((*ListLogMetricsRequest)(nil), "google.logging.v2.ListLogMetricsRequest")
 | 
			
		||||
	proto.RegisterType((*ListLogMetricsResponse)(nil), "google.logging.v2.ListLogMetricsResponse")
 | 
			
		||||
	proto.RegisterType((*GetLogMetricRequest)(nil), "google.logging.v2.GetLogMetricRequest")
 | 
			
		||||
	proto.RegisterType((*CreateLogMetricRequest)(nil), "google.logging.v2.CreateLogMetricRequest")
 | 
			
		||||
	proto.RegisterType((*UpdateLogMetricRequest)(nil), "google.logging.v2.UpdateLogMetricRequest")
 | 
			
		||||
	proto.RegisterType((*DeleteLogMetricRequest)(nil), "google.logging.v2.DeleteLogMetricRequest")
 | 
			
		||||
	proto.RegisterEnum("google.logging.v2.LogMetric_ApiVersion", LogMetric_ApiVersion_name, LogMetric_ApiVersion_value)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Reference imports to suppress errors if they are not otherwise used.
 | 
			
		||||
var _ context.Context
 | 
			
		||||
var _ grpc.ClientConn
 | 
			
		||||
 | 
			
		||||
// This is a compile-time assertion to ensure that this generated file
 | 
			
		||||
// is compatible with the grpc package it is being compiled against.
 | 
			
		||||
const _ = grpc.SupportPackageIsVersion4
 | 
			
		||||
 | 
			
		||||
// Client API for MetricsServiceV2 service
 | 
			
		||||
 | 
			
		||||
type MetricsServiceV2Client interface {
 | 
			
		||||
	// Lists logs-based metrics.
 | 
			
		||||
	ListLogMetrics(ctx context.Context, in *ListLogMetricsRequest, opts ...grpc.CallOption) (*ListLogMetricsResponse, error)
 | 
			
		||||
	// Gets a logs-based metric.
 | 
			
		||||
	GetLogMetric(ctx context.Context, in *GetLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error)
 | 
			
		||||
	// Creates a logs-based metric.
 | 
			
		||||
	CreateLogMetric(ctx context.Context, in *CreateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error)
 | 
			
		||||
	// Creates or updates a logs-based metric.
 | 
			
		||||
	UpdateLogMetric(ctx context.Context, in *UpdateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error)
 | 
			
		||||
	// Deletes a logs-based metric.
 | 
			
		||||
	DeleteLogMetric(ctx context.Context, in *DeleteLogMetricRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type metricsServiceV2Client struct {
 | 
			
		||||
	cc *grpc.ClientConn
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func NewMetricsServiceV2Client(cc *grpc.ClientConn) MetricsServiceV2Client {
 | 
			
		||||
	return &metricsServiceV2Client{cc}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *metricsServiceV2Client) ListLogMetrics(ctx context.Context, in *ListLogMetricsRequest, opts ...grpc.CallOption) (*ListLogMetricsResponse, error) {
 | 
			
		||||
	out := new(ListLogMetricsResponse)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/ListLogMetrics", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *metricsServiceV2Client) GetLogMetric(ctx context.Context, in *GetLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) {
 | 
			
		||||
	out := new(LogMetric)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/GetLogMetric", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *metricsServiceV2Client) CreateLogMetric(ctx context.Context, in *CreateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) {
 | 
			
		||||
	out := new(LogMetric)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/CreateLogMetric", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *metricsServiceV2Client) UpdateLogMetric(ctx context.Context, in *UpdateLogMetricRequest, opts ...grpc.CallOption) (*LogMetric, error) {
 | 
			
		||||
	out := new(LogMetric)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/UpdateLogMetric", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *metricsServiceV2Client) DeleteLogMetric(ctx context.Context, in *DeleteLogMetricRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error) {
 | 
			
		||||
	out := new(google_protobuf5.Empty)
 | 
			
		||||
	err := grpc.Invoke(ctx, "/google.logging.v2.MetricsServiceV2/DeleteLogMetric", in, out, c.cc, opts...)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return out, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Server API for MetricsServiceV2 service
 | 
			
		||||
 | 
			
		||||
type MetricsServiceV2Server interface {
 | 
			
		||||
	// Lists logs-based metrics.
 | 
			
		||||
	ListLogMetrics(context.Context, *ListLogMetricsRequest) (*ListLogMetricsResponse, error)
 | 
			
		||||
	// Gets a logs-based metric.
 | 
			
		||||
	GetLogMetric(context.Context, *GetLogMetricRequest) (*LogMetric, error)
 | 
			
		||||
	// Creates a logs-based metric.
 | 
			
		||||
	CreateLogMetric(context.Context, *CreateLogMetricRequest) (*LogMetric, error)
 | 
			
		||||
	// Creates or updates a logs-based metric.
 | 
			
		||||
	UpdateLogMetric(context.Context, *UpdateLogMetricRequest) (*LogMetric, error)
 | 
			
		||||
	// Deletes a logs-based metric.
 | 
			
		||||
	DeleteLogMetric(context.Context, *DeleteLogMetricRequest) (*google_protobuf5.Empty, error)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func RegisterMetricsServiceV2Server(s *grpc.Server, srv MetricsServiceV2Server) {
 | 
			
		||||
	s.RegisterService(&_MetricsServiceV2_serviceDesc, srv)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _MetricsServiceV2_ListLogMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(ListLogMetricsRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(MetricsServiceV2Server).ListLogMetrics(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.MetricsServiceV2/ListLogMetrics",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(MetricsServiceV2Server).ListLogMetrics(ctx, req.(*ListLogMetricsRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _MetricsServiceV2_GetLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(GetLogMetricRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(MetricsServiceV2Server).GetLogMetric(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.MetricsServiceV2/GetLogMetric",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(MetricsServiceV2Server).GetLogMetric(ctx, req.(*GetLogMetricRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _MetricsServiceV2_CreateLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(CreateLogMetricRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(MetricsServiceV2Server).CreateLogMetric(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.MetricsServiceV2/CreateLogMetric",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(MetricsServiceV2Server).CreateLogMetric(ctx, req.(*CreateLogMetricRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _MetricsServiceV2_UpdateLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(UpdateLogMetricRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(MetricsServiceV2Server).UpdateLogMetric(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.MetricsServiceV2/UpdateLogMetric",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(MetricsServiceV2Server).UpdateLogMetric(ctx, req.(*UpdateLogMetricRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func _MetricsServiceV2_DeleteLogMetric_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | 
			
		||||
	in := new(DeleteLogMetricRequest)
 | 
			
		||||
	if err := dec(in); err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	if interceptor == nil {
 | 
			
		||||
		return srv.(MetricsServiceV2Server).DeleteLogMetric(ctx, in)
 | 
			
		||||
	}
 | 
			
		||||
	info := &grpc.UnaryServerInfo{
 | 
			
		||||
		Server:     srv,
 | 
			
		||||
		FullMethod: "/google.logging.v2.MetricsServiceV2/DeleteLogMetric",
 | 
			
		||||
	}
 | 
			
		||||
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | 
			
		||||
		return srv.(MetricsServiceV2Server).DeleteLogMetric(ctx, req.(*DeleteLogMetricRequest))
 | 
			
		||||
	}
 | 
			
		||||
	return interceptor(ctx, in, info, handler)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var _MetricsServiceV2_serviceDesc = grpc.ServiceDesc{
 | 
			
		||||
	ServiceName: "google.logging.v2.MetricsServiceV2",
 | 
			
		||||
	HandlerType: (*MetricsServiceV2Server)(nil),
 | 
			
		||||
	Methods: []grpc.MethodDesc{
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "ListLogMetrics",
 | 
			
		||||
			Handler:    _MetricsServiceV2_ListLogMetrics_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "GetLogMetric",
 | 
			
		||||
			Handler:    _MetricsServiceV2_GetLogMetric_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "CreateLogMetric",
 | 
			
		||||
			Handler:    _MetricsServiceV2_CreateLogMetric_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "UpdateLogMetric",
 | 
			
		||||
			Handler:    _MetricsServiceV2_UpdateLogMetric_Handler,
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			MethodName: "DeleteLogMetric",
 | 
			
		||||
			Handler:    _MetricsServiceV2_DeleteLogMetric_Handler,
 | 
			
		||||
		},
 | 
			
		||||
	},
 | 
			
		||||
	Streams:  []grpc.StreamDesc{},
 | 
			
		||||
	Metadata: "google/logging/v2/logging_metrics.proto",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() { proto.RegisterFile("google/logging/v2/logging_metrics.proto", fileDescriptor3) }
 | 
			
		||||
 | 
			
		||||
var fileDescriptor3 = []byte{
 | 
			
		||||
	// 665 bytes of a gzipped FileDescriptorProto
 | 
			
		||||
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x4f, 0x4f, 0x13, 0x41,
 | 
			
		||||
	0x14, 0x77, 0x0a, 0x14, 0x79, 0x28, 0xc5, 0x21, 0x94, 0xa6, 0x40, 0xa8, 0x7b, 0x80, 0xc2, 0x61,
 | 
			
		||||
	0x57, 0x57, 0x43, 0xfc, 0x13, 0x0f, 0x80, 0x86, 0x0b, 0x1a, 0x52, 0xb4, 0x07, 0x2f, 0xcd, 0xd2,
 | 
			
		||||
	0x3e, 0x36, 0x23, 0xed, 0xce, 0xba, 0x33, 0x6d, 0x10, 0xc3, 0x85, 0x70, 0x33, 0xf1, 0xa0, 0xdf,
 | 
			
		||||
	0xc2, 0x8f, 0xe0, 0xd7, 0xd0, 0x8f, 0xe0, 0x07, 0x31, 0x3b, 0x33, 0x0b, 0x6b, 0xbb, 0xd2, 0x86,
 | 
			
		||||
	0x53, 0x67, 0xde, 0xef, 0xbd, 0xfd, 0xfd, 0xde, 0x7b, 0xbf, 0x4c, 0x61, 0xcd, 0xe7, 0xdc, 0x6f,
 | 
			
		||||
	0xa3, 0xd3, 0xe6, 0xbe, 0xcf, 0x02, 0xdf, 0xe9, 0xb9, 0xc9, 0xb1, 0xd1, 0x41, 0x19, 0xb1, 0xa6,
 | 
			
		||||
	0xb0, 0xc3, 0x88, 0x4b, 0x4e, 0xef, 0xe9, 0x44, 0xdb, 0xa0, 0x76, 0xcf, 0x2d, 0x2f, 0x99, 0x5a,
 | 
			
		||||
	0x2f, 0x64, 0x8e, 0x17, 0x04, 0x5c, 0x7a, 0x92, 0xf1, 0xc0, 0x14, 0x94, 0x97, 0x53, 0x68, 0x8b,
 | 
			
		||||
	0x09, 0x19, 0xb1, 0xc3, 0x6e, 0x8c, 0x1b, 0x78, 0x21, 0x05, 0x6b, 0x26, 0x03, 0x2c, 0x1a, 0x40,
 | 
			
		||||
	0xdd, 0x0e, 0xbb, 0x47, 0x0e, 0x76, 0x42, 0xf9, 0x49, 0x83, 0xd6, 0x4f, 0x02, 0x53, 0x7b, 0xdc,
 | 
			
		||||
	0x7f, 0xad, 0x0a, 0x28, 0x85, 0xf1, 0xc0, 0xeb, 0x60, 0x89, 0x54, 0x48, 0x75, 0xaa, 0xa6, 0xce,
 | 
			
		||||
	0xb4, 0x02, 0xd3, 0x2d, 0x14, 0xcd, 0x88, 0x85, 0x31, 0x59, 0x29, 0xa7, 0xa0, 0x74, 0x88, 0x16,
 | 
			
		||||
	0x21, 0x7f, 0xc4, 0xda, 0x12, 0xa3, 0xd2, 0x98, 0x02, 0xcd, 0x8d, 0x6e, 0xc1, 0x64, 0x0f, 0x23,
 | 
			
		||||
	0x11, 0x57, 0x8d, 0x57, 0x48, 0x75, 0xc6, 0x5d, 0xb3, 0x07, 0x7a, 0xb6, 0x2f, 0xc9, 0xed, 0xad,
 | 
			
		||||
	0x90, 0xd5, 0x75, 0x7a, 0x2d, 0xa9, 0xb3, 0x96, 0x00, 0xae, 0xc2, 0x34, 0x0f, 0xb9, 0xba, 0x3b,
 | 
			
		||||
	0x7b, 0x4b, 0xfd, 0x3e, 0x9c, 0x25, 0xd6, 0x31, 0xcc, 0xef, 0x31, 0x21, 0x2f, 0x3f, 0x21, 0x6a,
 | 
			
		||||
	0xf8, 0xb1, 0x8b, 0x42, 0xc6, 0x8a, 0x42, 0x2f, 0xc2, 0x40, 0x9a, 0x4e, 0xcc, 0x8d, 0x2e, 0x03,
 | 
			
		||||
	0x84, 0x9e, 0x8f, 0x0d, 0xc9, 0x8f, 0x31, 0x69, 0x65, 0x2a, 0x8e, 0xbc, 0x8d, 0x03, 0x74, 0x11,
 | 
			
		||||
	0xd4, 0xa5, 0x21, 0xd8, 0x29, 0xaa, 0x5e, 0x26, 0x6a, 0xb7, 0xe3, 0xc0, 0x01, 0x3b, 0x45, 0xeb,
 | 
			
		||||
	0x04, 0x8a, 0xfd, 0x64, 0x22, 0xe4, 0x81, 0x40, 0xba, 0x09, 0x93, 0x66, 0xb5, 0x25, 0x52, 0x19,
 | 
			
		||||
	0xab, 0x4e, 0xbb, 0x4b, 0xd7, 0xf5, 0x59, 0x4b, 0x92, 0xe9, 0x2a, 0x14, 0x02, 0x3c, 0x91, 0x8d,
 | 
			
		||||
	0x01, 0x49, 0x77, 0xe3, 0xf0, 0x7e, 0x22, 0xcb, 0xda, 0x84, 0xb9, 0x5d, 0xbc, 0x22, 0x4e, 0x9a,
 | 
			
		||||
	0x5c, 0x81, 0x69, 0xfd, 0xa5, 0x46, 0x6a, 0x67, 0xa0, 0x43, 0x6f, 0xbc, 0x0e, 0x5a, 0x47, 0x50,
 | 
			
		||||
	0xdc, 0x89, 0xd0, 0x93, 0x38, 0x50, 0xfa, 0xbf, 0xf9, 0x3c, 0x86, 0xbc, 0xae, 0x57, 0x42, 0x86,
 | 
			
		||||
	0x35, 0x62, 0x72, 0x2d, 0x0e, 0xc5, 0x77, 0x61, 0x2b, 0x8b, 0x67, 0x98, 0xc4, 0x1b, 0x12, 0x3e,
 | 
			
		||||
	0x85, 0xe2, 0x4b, 0x6c, 0xe3, 0x0d, 0x08, 0xdd, 0xdf, 0x13, 0x30, 0x6b, 0xf6, 0x77, 0x80, 0x51,
 | 
			
		||||
	0x8f, 0x35, 0xb1, 0xee, 0xd2, 0xaf, 0x04, 0x66, 0xfe, 0xdd, 0x2d, 0xad, 0x66, 0x09, 0xc9, 0xf2,
 | 
			
		||||
	0x5a, 0x79, 0x7d, 0x84, 0x4c, 0x6d, 0x14, 0x6b, 0xed, 0xfc, 0xd7, 0x9f, 0xef, 0xb9, 0xfb, 0x74,
 | 
			
		||||
	0x25, 0x7e, 0x15, 0x3e, 0xeb, 0x99, 0xbf, 0x08, 0x23, 0xfe, 0x01, 0x9b, 0x52, 0x38, 0x1b, 0x67,
 | 
			
		||||
	0x4e, 0xe2, 0x8c, 0x0b, 0x02, 0x77, 0xd2, 0x2b, 0xa7, 0xab, 0x19, 0x24, 0x19, 0x9e, 0x28, 0x5f,
 | 
			
		||||
	0x3b, 0x3f, 0xcb, 0x56, 0xfc, 0x55, 0xba, 0xaa, 0xf8, 0x53, 0x83, 0x4a, 0x89, 0x48, 0x34, 0x38,
 | 
			
		||||
	0x1b, 0x67, 0xf4, 0x0b, 0x81, 0x42, 0x9f, 0x83, 0x68, 0x56, 0xbb, 0xd9, 0x2e, 0x1b, 0x22, 0xc6,
 | 
			
		||||
	0x51, 0x62, 0xd6, 0xad, 0x61, 0xc3, 0x78, 0x66, 0xb6, 0x4e, 0xbf, 0x11, 0x28, 0xf4, 0xf9, 0x2c,
 | 
			
		||||
	0x53, 0x4d, 0xb6, 0x17, 0x87, 0xa8, 0xd9, 0x54, 0x6a, 0x1e, 0x94, 0x47, 0x1c, 0xcd, 0xa5, 0xa8,
 | 
			
		||||
	0x0b, 0x02, 0x85, 0x3e, 0x2f, 0x66, 0x8a, 0xca, 0xf6, 0x6b, 0xb9, 0x98, 0xa4, 0x26, 0x8f, 0xb3,
 | 
			
		||||
	0xfd, 0x2a, 0x7e, 0x9c, 0x93, 0x4d, 0x6d, 0x8c, 0x28, 0x67, 0xfb, 0x9c, 0xc0, 0x7c, 0x93, 0x77,
 | 
			
		||||
	0x06, 0x89, 0xb7, 0xe7, 0xf6, 0xf4, 0xd9, 0x78, 0x71, 0x3f, 0xe6, 0xd9, 0x27, 0xef, 0x9f, 0x98,
 | 
			
		||||
	0x4c, 0x9f, 0xb7, 0xbd, 0xc0, 0xb7, 0x79, 0xe4, 0x3b, 0x3e, 0x06, 0x4a, 0x85, 0xa3, 0x21, 0x2f,
 | 
			
		||||
	0x64, 0x22, 0xf5, 0x2f, 0xf6, 0xdc, 0x1c, 0x7f, 0xe4, 0x16, 0x76, 0x75, 0xe9, 0x4e, 0x9b, 0x77,
 | 
			
		||||
	0x5b, 0xb6, 0xf9, 0xbc, 0x5d, 0x77, 0x0f, 0xf3, 0xaa, 0xfc, 0xd1, 0xdf, 0x00, 0x00, 0x00, 0xff,
 | 
			
		||||
	0xff, 0x22, 0xd3, 0x7f, 0x20, 0x03, 0x07, 0x00, 0x00,
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user