This commit is contained in:
Manfred Touron
2017-05-18 18:54:23 +02:00
parent dc386661ca
commit 5448f25fd6
645 changed files with 55908 additions and 33297 deletions

View File

@@ -125,12 +125,12 @@ type MetricDescriptor struct {
// that defines the scope of the metric type or of its data; and (2) the
// metric's URL-encoded type, which also appears in the `type` field of this
// descriptor. For example, following is the resource name of a custom
// metric within the GCP project 123456789:
// metric within the GCP project `my-project-id`:
//
// "projects/123456789/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount"
// "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount"
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The metric type, including its DNS name prefix. The type is not
// URL-encoded. All user-defined metric types have the DNS name
// URL-encoded. All user-defined custom metric types have the DNS name
// `custom.googleapis.com`. Metric types should use a natural hierarchical
// grouping. For example:
//

View File

@@ -17,7 +17,9 @@ It is generated from these files:
google/api/log.proto
google/api/logging.proto
google/api/monitoring.proto
google/api/quota.proto
google/api/service.proto
google/api/source_info.proto
google/api/system_parameter.proto
google/api/usage.proto
@@ -43,7 +45,11 @@ It has these top-level messages:
LogDescriptor
Logging
Monitoring
Quota
MetricRule
QuotaLimit
Service
SourceInfo
SystemParameters
SystemParameterRule
SystemParameter

View File

@@ -43,6 +43,11 @@ type Endpoint struct {
Apis []string `protobuf:"bytes,3,rep,name=apis" json:"apis,omitempty"`
// The list of features enabled on this endpoint.
Features []string `protobuf:"bytes,4,rep,name=features" json:"features,omitempty"`
// The specification of an Internet routable address of API frontend that will
// handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary).
// It should be either a valid IPv4 address or a fully-qualified domain name.
// For example, "8.8.8.8" or "myservice.appspot.com".
Target string `protobuf:"bytes,101,opt,name=target" json:"target,omitempty"`
// Allowing
// [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
// cross-domain traffic, would allow the backends served from this endpoint to
@@ -85,6 +90,13 @@ func (m *Endpoint) GetFeatures() []string {
return nil
}
func (m *Endpoint) GetTarget() string {
if m != nil {
return m.Target
}
return ""
}
func (m *Endpoint) GetAllowCors() bool {
if m != nil {
return m.AllowCors
@@ -99,21 +111,21 @@ func init() {
func init() { proto.RegisterFile("google/api/endpoint.proto", fileDescriptor7) }
var fileDescriptor7 = []byte{
// 241 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xbf, 0x4e, 0xc3, 0x30,
0x10, 0xc6, 0xe5, 0x36, 0x40, 0x62, 0x09, 0x06, 0x4f, 0xa6, 0x02, 0x29, 0x62, 0xca, 0x94, 0x0c,
0x8c, 0x4c, 0x14, 0x55, 0x88, 0x2d, 0xca, 0xc8, 0x82, 0x8e, 0x70, 0xb5, 0x2c, 0xb9, 0x77, 0x96,
0x6d, 0xe0, 0x11, 0x78, 0x0f, 0x9e, 0x14, 0xc5, 0x69, 0x81, 0x6e, 0xf7, 0xfd, 0x39, 0xe9, 0xf7,
0xc9, 0x4b, 0xc3, 0x6c, 0x1c, 0x76, 0xe0, 0x6d, 0x87, 0xf4, 0xe6, 0xd9, 0x52, 0x6a, 0x7d, 0xe0,
0xc4, 0x4a, 0xce, 0x51, 0x0b, 0xde, 0xae, 0xae, 0xfe, 0xd5, 0x80, 0x88, 0x13, 0x24, 0xcb, 0x14,
0xe7, 0xe6, 0xcd, 0x97, 0x90, 0xe5, 0x66, 0xff, 0xac, 0x94, 0x2c, 0x08, 0x76, 0xa8, 0x45, 0x2d,
0x9a, 0x6a, 0xc8, 0xb7, 0xd2, 0xf2, 0x0c, 0x9c, 0x85, 0x88, 0x51, 0x2f, 0xea, 0x65, 0x53, 0x0d,
0x07, 0x39, 0xb5, 0xc1, 0xdb, 0xa8, 0x97, 0xd9, 0xce, 0xb7, 0x5a, 0xc9, 0x72, 0x8b, 0x90, 0xde,
0x03, 0x46, 0x5d, 0x64, 0xff, 0x57, 0xab, 0x6b, 0x29, 0xc1, 0x39, 0xfe, 0x7c, 0x19, 0x39, 0x44,
0x7d, 0x52, 0x8b, 0xa6, 0x1c, 0xaa, 0xec, 0x3c, 0x70, 0x88, 0x6b, 0x96, 0x17, 0x23, 0xef, 0xda,
0x3f, 0xf2, 0xf5, 0xf9, 0x01, 0xac, 0x9f, 0x50, 0x7b, 0xf1, 0xbc, 0xd9, 0x87, 0x86, 0x1d, 0x90,
0x69, 0x39, 0x98, 0xce, 0x20, 0xe5, 0x21, 0xdd, 0x1c, 0x4d, 0x10, 0x79, 0x69, 0xc4, 0xf0, 0x61,
0x47, 0x1c, 0x99, 0xb6, 0xd6, 0xdc, 0x1d, 0xa9, 0xef, 0x45, 0xf1, 0x78, 0xdf, 0x3f, 0xbd, 0x9e,
0xe6, 0xc7, 0xdb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfb, 0x43, 0xb9, 0x21, 0x48, 0x01, 0x00,
0x00,
// 253 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x41, 0x4b, 0xc4, 0x30,
0x10, 0x85, 0xe9, 0x6e, 0x5d, 0xdb, 0x01, 0x3d, 0xe4, 0x20, 0x71, 0x51, 0x28, 0x9e, 0x7a, 0x6a,
0x0f, 0x1e, 0x3d, 0xb9, 0xb2, 0x88, 0xb7, 0xd2, 0xa3, 0x17, 0x19, 0xeb, 0x6c, 0x08, 0x64, 0x33,
0x21, 0x89, 0xfa, 0x73, 0x04, 0x7f, 0xa9, 0x34, 0xed, 0xaa, 0x7b, 0x9b, 0xef, 0xbd, 0x37, 0x61,
0x5e, 0xe0, 0x52, 0x31, 0x2b, 0x43, 0x2d, 0x3a, 0xdd, 0x92, 0x7d, 0x73, 0xac, 0x6d, 0x6c, 0x9c,
0xe7, 0xc8, 0x02, 0x26, 0xab, 0x41, 0xa7, 0xd7, 0x57, 0xff, 0x62, 0x68, 0x2d, 0x47, 0x8c, 0x9a,
0x6d, 0x98, 0x92, 0x37, 0x5f, 0x19, 0x14, 0xdb, 0x79, 0x59, 0x08, 0xc8, 0x2d, 0xee, 0x49, 0x66,
0x55, 0x56, 0x97, 0x7d, 0x9a, 0x85, 0x84, 0x53, 0x34, 0x1a, 0x03, 0x05, 0xb9, 0xa8, 0x96, 0x75,
0xd9, 0x1f, 0x70, 0x4c, 0xa3, 0xd3, 0x41, 0x2e, 0x93, 0x9c, 0x66, 0xb1, 0x86, 0x62, 0x47, 0x18,
0xdf, 0x3d, 0x05, 0x99, 0x27, 0xfd, 0x97, 0xc5, 0x05, 0xac, 0x22, 0x7a, 0x45, 0x51, 0x52, 0x7a,
0x7f, 0x26, 0x71, 0x0d, 0x80, 0xc6, 0xf0, 0xe7, 0xcb, 0xc0, 0x3e, 0xc8, 0x93, 0x2a, 0xab, 0x8b,
0xbe, 0x4c, 0xca, 0x03, 0xfb, 0xb0, 0x61, 0x38, 0x1f, 0x78, 0xdf, 0xfc, 0x35, 0xda, 0x9c, 0x1d,
0x0e, 0xee, 0xc6, 0x0a, 0x5d, 0xf6, 0xbc, 0x9d, 0x4d, 0xc5, 0x06, 0xad, 0x6a, 0xd8, 0xab, 0x56,
0x91, 0x4d, 0x05, 0xdb, 0xc9, 0x1a, 0x8f, 0x4b, 0x3f, 0x10, 0xc8, 0x7f, 0xe8, 0x81, 0x06, 0xb6,
0x3b, 0xad, 0xee, 0x8e, 0xe8, 0x7b, 0x91, 0x3f, 0xde, 0x77, 0x4f, 0xaf, 0xab, 0xb4, 0x78, 0xfb,
0x13, 0x00, 0x00, 0xff, 0xff, 0x34, 0x0e, 0xdd, 0x70, 0x60, 0x01, 0x00, 0x00,
}

View File

@@ -0,0 +1,392 @@
// Code generated by protoc-gen-go.
// source: google/api/quota.proto
// DO NOT EDIT!
package serviceconfig
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
// Quota configuration helps to achieve fairness and budgeting in service
// usage.
//
// The quota configuration works this way:
// - The service configuration defines a set of metrics.
// - For API calls, the quota.metric_rules maps methods to metrics with
// corresponding costs.
// - The quota.limits defines limits on the metrics, which will be used for
// quota checks at runtime.
//
// An example quota configuration in yaml format:
//
// quota:
// limits:
//
// - name: apiWriteQpsPerProject
// metric: library.googleapis.com/write_calls
// unit: "1/min/{project}" # rate limit for consumer projects
// values:
// STANDARD: 10000
//
// # The metric rules bind all methods to the read_calls metric,
// # except for the UpdateBook and DeleteBook methods. These two methods
// # are mapped to the write_calls metric, with the UpdateBook method
// # consuming at twice rate as the DeleteBook method.
// metric_rules:
// - selector: "*"
// metric_costs:
// library.googleapis.com/read_calls: 1
// - selector: google.example.library.v1.LibraryService.UpdateBook
// metric_costs:
// library.googleapis.com/write_calls: 2
// - selector: google.example.library.v1.LibraryService.DeleteBook
// metric_costs:
// library.googleapis.com/write_calls: 1
//
// Corresponding Metric definition:
//
// metrics:
// - name: library.googleapis.com/read_calls
// display_name: Read requests
// metric_kind: DELTA
// value_type: INT64
//
// - name: library.googleapis.com/write_calls
// display_name: Write requests
// metric_kind: DELTA
// value_type: INT64
//
type Quota struct {
// List of `QuotaLimit` definitions for the service.
//
// Used by metric-based quotas only.
Limits []*QuotaLimit `protobuf:"bytes,3,rep,name=limits" json:"limits,omitempty"`
// List of `MetricRule` definitions, each one mapping a selected method to one
// or more metrics.
//
// Used by metric-based quotas only.
MetricRules []*MetricRule `protobuf:"bytes,4,rep,name=metric_rules,json=metricRules" json:"metric_rules,omitempty"`
}
func (m *Quota) Reset() { *m = Quota{} }
func (m *Quota) String() string { return proto.CompactTextString(m) }
func (*Quota) ProtoMessage() {}
func (*Quota) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{0} }
func (m *Quota) GetLimits() []*QuotaLimit {
if m != nil {
return m.Limits
}
return nil
}
func (m *Quota) GetMetricRules() []*MetricRule {
if m != nil {
return m.MetricRules
}
return nil
}
// Bind API methods to metrics. Binding a method to a metric causes that
// metric's configured quota, billing, and monitoring behaviors to apply to the
// method call.
//
// Used by metric-based quotas only.
type MetricRule struct {
// Selects the methods to which this rule applies.
//
// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
Selector string `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
// Metrics to update when the selected methods are called, and the associated
// cost applied to each metric.
//
// The key of the map is the metric name, and the values are the amount
// increased for the metric against which the quota limits are defined.
// The value must not be negative.
MetricCosts map[string]int64 `protobuf:"bytes,2,rep,name=metric_costs,json=metricCosts" json:"metric_costs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
}
func (m *MetricRule) Reset() { *m = MetricRule{} }
func (m *MetricRule) String() string { return proto.CompactTextString(m) }
func (*MetricRule) ProtoMessage() {}
func (*MetricRule) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{1} }
func (m *MetricRule) GetSelector() string {
if m != nil {
return m.Selector
}
return ""
}
func (m *MetricRule) GetMetricCosts() map[string]int64 {
if m != nil {
return m.MetricCosts
}
return nil
}
// `QuotaLimit` defines a specific limit that applies over a specified duration
// for a limit type. There can be at most one limit for a duration and limit
// type combination defined within a `QuotaGroup`.
type QuotaLimit struct {
// Name of the quota limit. The name is used to refer to the limit when
// overriding the default limit on per-consumer basis.
//
// For group-based quota limits, the name must be unique within the quota
// group. If a name is not provided, it will be generated from the limit_by
// and duration fields.
//
// For metric-based quota limits, the name must be provided, and it must be
// unique within the service. The name can only include alphanumeric
// characters as well as '-'.
//
// The maximum length of the limit name is 64 characters.
//
// The name of a limit is used as a unique identifier for this limit.
// Therefore, once a limit has been put into use, its name should be
// immutable. You can use the display_name field to provide a user-friendly
// name for the limit. The display name can be evolved over time without
// affecting the identity of the limit.
Name string `protobuf:"bytes,6,opt,name=name" json:"name,omitempty"`
// Optional. User-visible, extended description for this quota limit.
// Should be used only when more context is needed to understand this limit
// than provided by the limit's display name (see: `display_name`).
Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
// Default number of tokens that can be consumed during the specified
// duration. This is the number of tokens assigned when a client
// application developer activates the service for his/her project.
//
// Specifying a value of 0 will block all requests. This can be used if you
// are provisioning quota to selected consumers and blocking others.
// Similarly, a value of -1 will indicate an unlimited quota. No other
// negative values are allowed.
//
// Used by group-based quotas only.
DefaultLimit int64 `protobuf:"varint,3,opt,name=default_limit,json=defaultLimit" json:"default_limit,omitempty"`
// Maximum number of tokens that can be consumed during the specified
// duration. Client application developers can override the default limit up
// to this maximum. If specified, this value cannot be set to a value less
// than the default limit. If not specified, it is set to the default limit.
//
// To allow clients to apply overrides with no upper bound, set this to -1,
// indicating unlimited maximum quota.
//
// Used by group-based quotas only.
MaxLimit int64 `protobuf:"varint,4,opt,name=max_limit,json=maxLimit" json:"max_limit,omitempty"`
// Free tier value displayed in the Developers Console for this limit.
// The free tier is the number of tokens that will be subtracted from the
// billed amount when billing is enabled.
// This field can only be set on a limit with duration "1d", in a billable
// group; it is invalid on any other limit. If this field is not set, it
// defaults to 0, indicating that there is no free tier for this service.
//
// Used by group-based quotas only.
FreeTier int64 `protobuf:"varint,7,opt,name=free_tier,json=freeTier" json:"free_tier,omitempty"`
// Duration of this limit in textual notation. Example: "100s", "24h", "1d".
// For duration longer than a day, only multiple of days is supported. We
// support only "100s" and "1d" for now. Additional support will be added in
// the future. "0" indicates indefinite duration.
//
// Used by group-based quotas only.
Duration string `protobuf:"bytes,5,opt,name=duration" json:"duration,omitempty"`
// The name of the metric this quota limit applies to. The quota limits with
// the same metric will be checked together during runtime. The metric must be
// defined within the service config.
//
// Used by metric-based quotas only.
Metric string `protobuf:"bytes,8,opt,name=metric" json:"metric,omitempty"`
// Specify the unit of the quota limit. It uses the same syntax as
// [Metric.unit][]. The supported unit kinds are determined by the quota
// backend system.
//
// The [Google Service Control](https://cloud.google.com/service-control)
// supports the following unit components:
// * One of the time intevals:
// * "/min" for quota every minute.
// * "/d" for quota every 24 hours, starting 00:00 US Pacific Time.
// * Otherwise the quota won't be reset by time, such as storage limit.
// * One and only one of the granted containers:
// * "/{organization}" quota for an organization.
// * "/{project}" quota for a project.
// * "/{folder}" quota for a folder.
// * "/{resource}" quota for a universal resource.
// * Zero or more quota segmentation dimension. Not all combos are valid.
// * "/{region}" quota for every region. Not to be used with time intervals.
// * Otherwise the resources granted on the target is not segmented.
// * "/{zone}" quota for every zone. Not to be used with time intervals.
// * Otherwise the resources granted on the target is not segmented.
// * "/{resource}" quota for a resource associated with a project or org.
//
// Here are some examples:
// * "1/min/{project}" for quota per minute per project.
// * "1/min/{user}" for quota per minute per user.
// * "1/min/{organization}" for quota per minute per organization.
//
// Note: the order of unit components is insignificant.
// The "1" at the beginning is required to follow the metric unit syntax.
//
// Used by metric-based quotas only.
Unit string `protobuf:"bytes,9,opt,name=unit" json:"unit,omitempty"`
// Tiered limit values. Also allows for regional or zone overrides for these
// values if "/{region}" or "/{zone}" is specified in the unit field.
//
// Currently supported tiers from low to high:
// VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
//
// To apply different limit values for users according to their tiers, specify
// the values for the tiers you want to differentiate. For example:
// {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
//
// The limit value for each tier is optional except for the tier STANDARD.
// The limit value for an unspecified tier falls to the value of its next
// tier towards tier STANDARD. For the above example, the limit value for tier
// STANDARD is 500.
//
// To apply the same limit value for all users, just specify limit value for
// tier STANDARD. For example: {STANDARD:500}.
//
// To apply a regional overide for a tier, add a map entry with key
// "<TIER>/<region>", where <region> is a region name. Similarly, for a zone
// override, add a map entry with key "<TIER>/{zone}".
// Further, a wildcard can be used at the end of a zone name in order to
// specify zone level overrides. For example:
// LOW: 10, STANDARD: 50, HIGH: 100,
// LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
// LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
//
// The regional overrides tier set for each region must be the same as
// the tier set for default limit values. Same rule applies for zone overrides
// tier as well.
//
// Used by metric-based quotas only.
Values map[string]int64 `protobuf:"bytes,10,rep,name=values" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
// User-visible display name for this limit.
// Optional. If not set, the UI will provide a default display name based on
// the quota configuration. This field can be used to override the default
// display name generated from the configuration.
DisplayName string `protobuf:"bytes,12,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
}
func (m *QuotaLimit) Reset() { *m = QuotaLimit{} }
func (m *QuotaLimit) String() string { return proto.CompactTextString(m) }
func (*QuotaLimit) ProtoMessage() {}
func (*QuotaLimit) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{2} }
func (m *QuotaLimit) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *QuotaLimit) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *QuotaLimit) GetDefaultLimit() int64 {
if m != nil {
return m.DefaultLimit
}
return 0
}
func (m *QuotaLimit) GetMaxLimit() int64 {
if m != nil {
return m.MaxLimit
}
return 0
}
func (m *QuotaLimit) GetFreeTier() int64 {
if m != nil {
return m.FreeTier
}
return 0
}
func (m *QuotaLimit) GetDuration() string {
if m != nil {
return m.Duration
}
return ""
}
func (m *QuotaLimit) GetMetric() string {
if m != nil {
return m.Metric
}
return ""
}
func (m *QuotaLimit) GetUnit() string {
if m != nil {
return m.Unit
}
return ""
}
func (m *QuotaLimit) GetValues() map[string]int64 {
if m != nil {
return m.Values
}
return nil
}
func (m *QuotaLimit) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
func init() {
proto.RegisterType((*Quota)(nil), "google.api.Quota")
proto.RegisterType((*MetricRule)(nil), "google.api.MetricRule")
proto.RegisterType((*QuotaLimit)(nil), "google.api.QuotaLimit")
}
func init() { proto.RegisterFile("google/api/quota.proto", fileDescriptor11) }
var fileDescriptor11 = []byte{
// 466 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08,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35, 0x05, 0x34, 0x8e, 0x29, 0x84, 0xd9, 0x47, 0x51, 0xe1, 0xf4,
0x14, 0x46, 0x47, 0xca, 0xdb, 0xbc, 0xc2, 0xb9, 0x82, 0x7b, 0x85, 0xae, 0x8e, 0x3e, 0xe7, 0x3c,
0x3c, 0xca, 0xca, 0xaf, 0xf3, 0x2a, 0xf9, 0x7a, 0x11, 0x91, 0x52, 0x2b, 0x51, 0x97, 0x99, 0x36,
0xe5, 0xb2, 0xc4, 0x9a, 0x96, 0x7d, 0x19, 0x20, 0xd1, 0x48, 0x4b, 0x7f, 0x83, 0x45, 0x73, 0x29,
0x0b, 0x2c, 0x74, 0xbd, 0x95, 0xe5, 0x8b, 0xbf, 0xba, 0x5f, 0x9d, 0xee, 0x9b, 0x57, 0xab, 0xb7,
0xdf, 0xfa, 0x24, 0x7c, 0xf6, 0x27, 0x00, 0x00, 0xff, 0xff, 0x90, 0x7e, 0xf5, 0xab, 0x69, 0x03,
0x00, 0x00,
}

View File

@@ -94,6 +94,8 @@ type Service struct {
Backend *Backend `protobuf:"bytes,8,opt,name=backend" json:"backend,omitempty"`
// HTTP configuration.
Http *google_api.Http `protobuf:"bytes,9,opt,name=http" json:"http,omitempty"`
// Quota configuration.
Quota *Quota `protobuf:"bytes,10,opt,name=quota" json:"quota,omitempty"`
// Auth configuration.
Authentication *Authentication `protobuf:"bytes,11,opt,name=authentication" json:"authentication,omitempty"`
// Context configuration.
@@ -119,6 +121,8 @@ type Service struct {
Monitoring *Monitoring `protobuf:"bytes,28,opt,name=monitoring" json:"monitoring,omitempty"`
// System parameter configuration.
SystemParameters *SystemParameters `protobuf:"bytes,29,opt,name=system_parameters,json=systemParameters" json:"system_parameters,omitempty"`
// Output only. The source information for this configuration if available.
SourceInfo *SourceInfo `protobuf:"bytes,37,opt,name=source_info,json=sourceInfo" json:"source_info,omitempty"`
// Experimental configuration.
Experimental *google_api5.Experimental `protobuf:"bytes,101,opt,name=experimental" json:"experimental,omitempty"`
}
@@ -126,7 +130,7 @@ type Service struct {
func (m *Service) Reset() { *m = Service{} }
func (m *Service) String() string { return proto.CompactTextString(m) }
func (*Service) ProtoMessage() {}
func (*Service) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{0} }
func (*Service) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{0} }
func (m *Service) GetConfigVersion() *google_protobuf5.UInt32Value {
if m != nil {
@@ -205,6 +209,13 @@ func (m *Service) GetHttp() *google_api.Http {
return nil
}
func (m *Service) GetQuota() *Quota {
if m != nil {
return m.Quota
}
return nil
}
func (m *Service) GetAuthentication() *Authentication {
if m != nil {
return m.Authentication
@@ -282,6 +293,13 @@ func (m *Service) GetSystemParameters() *SystemParameters {
return nil
}
func (m *Service) GetSourceInfo() *SourceInfo {
if m != nil {
return m.SourceInfo
}
return nil
}
func (m *Service) GetExperimental() *google_api5.Experimental {
if m != nil {
return m.Experimental
@@ -293,56 +311,59 @@ func init() {
proto.RegisterType((*Service)(nil), "google.api.Service")
}
func init() { proto.RegisterFile("google/api/service.proto", fileDescriptor11) }
func init() { proto.RegisterFile("google/api/service.proto", fileDescriptor12) }
var fileDescriptor11 = []byte{
// 756 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x95, 0x5f, 0x4f, 0xdb, 0x3a,
0x14, 0xc0, 0xd5, 0xd2, 0xc2, 0xad, 0xf9, 0x73, 0xc1, 0x14, 0x30, 0xa5, 0xf7, 0x0a, 0xb6, 0x49,
0x54, 0x9b, 0x48, 0xa5, 0x22, 0xf1, 0xb2, 0x49, 0x13, 0x05, 0xb4, 0x55, 0x62, 0x52, 0x65, 0x06,
0x9a, 0xf6, 0x52, 0xa5, 0x89, 0x09, 0xde, 0x12, 0xdb, 0xb2, 0x1d, 0x46, 0x5f, 0xf7, 0x51, 0xf6,
0x49, 0xa7, 0xd8, 0x09, 0x75, 0xda, 0xf2, 0x86, 0xfd, 0xfb, 0x9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xbd, 0xb6, 0x08, 0x17, 0x0e, 0x3c, 0x03, 0x60, 0x3a,
0x84, 0x50, 0xdb, 0x44, 0xec, 0x2e, 0xf8, 0xff, 0x59, 0x90, 0x63, 0xc2, 0x01, 0xd8, 0x9a, 0x9d,
0x4f, 0x0a, 0xfd, 0x57, 0x6e, 0xf9, 0x2c, 0xfc, 0xc6, 0x48, 0xc3, 0x67, 0x07, 0x6f, 0xaa, 0x99,
0x1d, 0xf8, 0x01, 0xac, 0xb9, 0x33, 0x1c, 0x11, 0x93, 0x05, 0x95, 0x2e, 0xd6, 0xe1, 0xb8, 0x64,
0xf7, 0x59, 0x36, 0x78, 0x12, 0x47, 0xee, 0xaf, 0xe5, 0x33, 0x69, 0x98, 0x35, 0xdd, 0xb0, 0xf2,
0xfd, 0x2a, 0x67, 0x11, 0x8f, 0x7d, 0x16, 0x79, 0x5c, 0x46, 0xdd, 0x88, 0x30, 0xd3, 0x92, 0x5d,
0x8b, 0xb2, 0x46, 0x77, 0x7f, 0x3c, 0xed, 0x54, 0x7a, 0x5f, 0x5a, 0xfd, 0xa9, 0xd6, 0x3e, 0x9d,
0x0f, 0x07, 0xe3, 0x65, 0x13, 0x78, 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0xe7, 0xee, 0x78, 0x1f,
0x74, 0x07, 0x00, 0x00,
var fileDescriptor12 = []byte{
// 809 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x95, 0xdd, 0x6e, 0xdb, 0x36,
0x14, 0x80, 0x61, 0xd7, 0x6e, 0x66, 0x3a, 0xcd, 0x1a, 0xc6, 0x49, 0x19, 0xd7, 0x1b, 0xd2, 0xfd,
0xa0, 0xc6, 0x86, 0xca, 0x80, 0x0b, 0x74, 0x17, 0x1b, 0x30, 0xc4, 0x6d, 0xb0, 0x19, 0xe8, 0x00,
0x8f, 0x59, 0x8b, 0x61, 0x37, 0x06, 0x2d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f, 0x6d, 0xe2, 0xeb, 0xff, 0x03, 0x00, 0x00, 0xff,
0xff, 0xcc, 0xae, 0xb3, 0x8f, 0x0c, 0x08, 0x00, 0x00,
}

View File

@@ -0,0 +1,56 @@
// Code generated by protoc-gen-go.
// source: google/api/source_info.proto
// DO NOT EDIT!
package serviceconfig
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// Source information used to create a Service Config
type SourceInfo struct {
// All files used during config generation.
SourceFiles []*google_protobuf1.Any `protobuf:"bytes,1,rep,name=source_files,json=sourceFiles" json:"source_files,omitempty"`
}
func (m *SourceInfo) Reset() { *m = SourceInfo{} }
func (m *SourceInfo) String() string { return proto.CompactTextString(m) }
func (*SourceInfo) ProtoMessage() {}
func (*SourceInfo) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{0} }
func (m *SourceInfo) GetSourceFiles() []*google_protobuf1.Any {
if m != nil {
return m.SourceFiles
}
return nil
}
func init() {
proto.RegisterType((*SourceInfo)(nil), "google.api.SourceInfo")
}
func init() { proto.RegisterFile("google/api/source_info.proto", fileDescriptor13) }
var fileDescriptor13 = []byte{
// 198 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0xcf, 0xcf, 0x4f,
0xcf, 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x2f, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0x8d, 0xcf, 0xcc,
0x4b, 0xcb, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x82, 0xc8, 0xea, 0x25, 0x16, 0x64,
0x4a, 0x49, 0x42, 0x55, 0x82, 0x65, 0x92, 0x4a, 0xd3, 0xf4, 0x13, 0xf3, 0x2a, 0x21, 0xca, 0x94,
0x5c, 0xb9, 0xb8, 0x82, 0xc1, 0x7a, 0x3d, 0xf3, 0xd2, 0xf2, 0x85, 0xcc, 0xb9, 0x78, 0xa0, 0x26,
0xa5, 0x65, 0xe6, 0xa4, 0x16, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x1b, 0x89, 0xe8, 0x41, 0xcd,
0x82, 0xe9, 0xd7, 0x73, 0xcc, 0xab, 0x0c, 0xe2, 0x86, 0xa8, 0x74, 0x03, 0x29, 0x74, 0x2a, 0xe4,
0xe2, 0x4b, 0xce, 0xcf, 0xd5, 0x43, 0xd8, 0xe9, 0xc4, 0x8f, 0x30, 0x36, 0x00, 0xa4, 0x2d, 0x80,
0x31, 0xca, 0x15, 0x2a, 0x9d, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, 0x94, 0xae, 0x9f,
0x9e, 0x9a, 0x07, 0x36, 0x54, 0x1f, 0x22, 0x95, 0x58, 0x90, 0x59, 0x0c, 0xf1, 0x4f, 0x6a, 0x51,
0x59, 0x66, 0x72, 0x6a, 0x72, 0x7e, 0x5e, 0x5a, 0x66, 0xba, 0x35, 0x0a, 0x6f, 0x11, 0x13, 0x8b,
0xbb, 0x63, 0x80, 0x67, 0x12, 0x1b, 0x58, 0xa3, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x78,
0x5d, 0xab, 0x07, 0x01, 0x00, 0x00,
}

View File

@@ -55,7 +55,7 @@ type SystemParameters struct {
func (m *SystemParameters) Reset() { *m = SystemParameters{} }
func (m *SystemParameters) String() string { return proto.CompactTextString(m) }
func (*SystemParameters) ProtoMessage() {}
func (*SystemParameters) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{0} }
func (*SystemParameters) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{0} }
func (m *SystemParameters) GetRules() []*SystemParameterRule {
if m != nil {
@@ -83,7 +83,7 @@ type SystemParameterRule struct {
func (m *SystemParameterRule) Reset() { *m = SystemParameterRule{} }
func (m *SystemParameterRule) String() string { return proto.CompactTextString(m) }
func (*SystemParameterRule) ProtoMessage() {}
func (*SystemParameterRule) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{1} }
func (*SystemParameterRule) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{1} }
func (m *SystemParameterRule) GetSelector() string {
if m != nil {
@@ -116,7 +116,7 @@ type SystemParameter struct {
func (m *SystemParameter) Reset() { *m = SystemParameter{} }
func (m *SystemParameter) String() string { return proto.CompactTextString(m) }
func (*SystemParameter) ProtoMessage() {}
func (*SystemParameter) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{2} }
func (*SystemParameter) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{2} }
func (m *SystemParameter) GetName() string {
if m != nil {
@@ -145,9 +145,9 @@ func init() {
proto.RegisterType((*SystemParameter)(nil), "google.api.SystemParameter")
}
func init() { proto.RegisterFile("google/api/system_parameter.proto", fileDescriptor12) }
func init() { proto.RegisterFile("google/api/system_parameter.proto", fileDescriptor14) }
var fileDescriptor12 = []byte{
var fileDescriptor14 = []byte{
// 286 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xbf, 0x4e, 0xc3, 0x30,
0x10, 0x87, 0x95, 0xb6, 0x20, 0xb8, 0x4a, 0xfc, 0x71, 0x19, 0x22, 0x18, 0x5a, 0x3a, 0x75, 0x72,

View File

@@ -38,7 +38,7 @@ type Usage struct {
func (m *Usage) Reset() { *m = Usage{} }
func (m *Usage) String() string { return proto.CompactTextString(m) }
func (*Usage) ProtoMessage() {}
func (*Usage) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{0} }
func (*Usage) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{0} }
func (m *Usage) GetRequirements() []string {
if m != nil {
@@ -99,7 +99,7 @@ type UsageRule struct {
func (m *UsageRule) Reset() { *m = UsageRule{} }
func (m *UsageRule) String() string { return proto.CompactTextString(m) }
func (*UsageRule) ProtoMessage() {}
func (*UsageRule) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{1} }
func (*UsageRule) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{1} }
func (m *UsageRule) GetSelector() string {
if m != nil {
@@ -120,9 +120,9 @@ func init() {
proto.RegisterType((*UsageRule)(nil), "google.api.UsageRule")
}
func init() { proto.RegisterFile("google/api/usage.proto", fileDescriptor13) }
func init() { proto.RegisterFile("google/api/usage.proto", fileDescriptor15) }
var fileDescriptor13 = []byte{
var fileDescriptor15 = []byte{
// 303 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xcf, 0x4b, 0x3b, 0x31,
0x10, 0xc5, 0x49, 0xfb, 0x6d, 0xbf, 0x6d, 0x14, 0x0f, 0x01, 0x4b, 0xa8, 0x0a, 0x4b, 0x4f, 0x0b,

View File

@@ -8,10 +8,10 @@ import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_api19 "google.golang.org/genproto/googleapis/api/serviceconfig"
import _ "google.golang.org/genproto/googleapis/api/serviceconfig"
import google_api21 "google.golang.org/genproto/googleapis/api/serviceconfig"
import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
import _ "github.com/golang/protobuf/ptypes/empty"
import _ "google.golang.org/genproto/protobuf/field_mask"
import _ "github.com/golang/protobuf/ptypes/struct"
import _ "google.golang.org/genproto/googleapis/rpc/status"
@@ -26,6 +26,34 @@ var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type GetServiceConfigRequest_ConfigView int32
const (
// Server response includes all fields except SourceInfo.
GetServiceConfigRequest_BASIC GetServiceConfigRequest_ConfigView = 0
// Server response includes all fields including SourceInfo.
// SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile'
// and are only available for configs created using the
// SubmitConfigSource method.
GetServiceConfigRequest_FULL GetServiceConfigRequest_ConfigView = 1
)
var GetServiceConfigRequest_ConfigView_name = map[int32]string{
0: "BASIC",
1: "FULL",
}
var GetServiceConfigRequest_ConfigView_value = map[string]int32{
"BASIC": 0,
"FULL": 1,
}
func (x GetServiceConfigRequest_ConfigView) String() string {
return proto.EnumName(GetServiceConfigRequest_ConfigView_name, int32(x))
}
func (GetServiceConfigRequest_ConfigView) EnumDescriptor() ([]byte, []int) {
return fileDescriptor1, []int{7, 0}
}
// Request message for `ListServices` method.
type ListServicesRequest struct {
// Include services produced by the specified project.
@@ -35,6 +63,12 @@ type ListServicesRequest struct {
// Token identifying which result to start with; returned by a previous list
// call.
PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
// Include services consumed by the specified consumer.
//
// The Google Service Management implementation accepts the following
// forms:
// - project:<project_id>
ConsumerId string `protobuf:"bytes,7,opt,name=consumer_id,json=consumerId" json:"consumer_id,omitempty"`
}
func (m *ListServicesRequest) Reset() { *m = ListServicesRequest{} }
@@ -63,9 +97,16 @@ func (m *ListServicesRequest) GetPageToken() string {
return ""
}
func (m *ListServicesRequest) GetConsumerId() string {
if m != nil {
return m.ConsumerId
}
return ""
}
// Response message for `ListServices` method.
type ListServicesResponse struct {
// The results of the query.
// The returned services will only have the name field set.
Services []*ManagedService `protobuf:"bytes,1,rep,name=services" json:"services,omitempty"`
// Token that can be passed to `ListServices` to resume a paginated query.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
@@ -188,7 +229,11 @@ type GetServiceConfigRequest struct {
// The name of the service. See the [overview](/service-management/overview)
// for naming requirements. For example: `example.googleapis.com`.
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName" json:"service_name,omitempty"`
ConfigId string `protobuf:"bytes,2,opt,name=config_id,json=configId" json:"config_id,omitempty"`
// The id of the service configuration resource.
ConfigId string `protobuf:"bytes,2,opt,name=config_id,json=configId" json:"config_id,omitempty"`
// Specifies which parts of the Service Config should be returned in the
// response.
View GetServiceConfigRequest_ConfigView `protobuf:"varint,3,opt,name=view,enum=google.api.servicemanagement.v1.GetServiceConfigRequest_ConfigView" json:"view,omitempty"`
}
func (m *GetServiceConfigRequest) Reset() { *m = GetServiceConfigRequest{} }
@@ -210,6 +255,13 @@ func (m *GetServiceConfigRequest) GetConfigId() string {
return ""
}
func (m *GetServiceConfigRequest) GetView() GetServiceConfigRequest_ConfigView {
if m != nil {
return m.View
}
return GetServiceConfigRequest_BASIC
}
// Request message for ListServiceConfigs method.
type ListServiceConfigsRequest struct {
// The name of the service. See the [overview](/service-management/overview)
@@ -250,7 +302,7 @@ func (m *ListServiceConfigsRequest) GetPageSize() int32 {
// Response message for ListServiceConfigs method.
type ListServiceConfigsResponse struct {
// The list of service configuration resources.
ServiceConfigs []*google_api19.Service `protobuf:"bytes,1,rep,name=service_configs,json=serviceConfigs" json:"service_configs,omitempty"`
ServiceConfigs []*google_api21.Service `protobuf:"bytes,1,rep,name=service_configs,json=serviceConfigs" json:"service_configs,omitempty"`
// The token of the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
}
@@ -260,7 +312,7 @@ func (m *ListServiceConfigsResponse) String() string { return proto.C
func (*ListServiceConfigsResponse) ProtoMessage() {}
func (*ListServiceConfigsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{9} }
func (m *ListServiceConfigsResponse) GetServiceConfigs() []*google_api19.Service {
func (m *ListServiceConfigsResponse) GetServiceConfigs() []*google_api21.Service {
if m != nil {
return m.ServiceConfigs
}
@@ -280,7 +332,7 @@ type CreateServiceConfigRequest struct {
// for naming requirements. For example: `example.googleapis.com`.
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName" json:"service_name,omitempty"`
// The service configuration resource.
ServiceConfig *google_api19.Service `protobuf:"bytes,2,opt,name=service_config,json=serviceConfig" json:"service_config,omitempty"`
ServiceConfig *google_api21.Service `protobuf:"bytes,2,opt,name=service_config,json=serviceConfig" json:"service_config,omitempty"`
}
func (m *CreateServiceConfigRequest) Reset() { *m = CreateServiceConfigRequest{} }
@@ -295,7 +347,7 @@ func (m *CreateServiceConfigRequest) GetServiceName() string {
return ""
}
func (m *CreateServiceConfigRequest) GetServiceConfig() *google_api19.Service {
func (m *CreateServiceConfigRequest) GetServiceConfig() *google_api21.Service {
if m != nil {
return m.ServiceConfig
}
@@ -344,7 +396,7 @@ func (m *SubmitConfigSourceRequest) GetValidateOnly() bool {
// Response message for SubmitConfigSource method.
type SubmitConfigSourceResponse struct {
// The generated service configuration.
ServiceConfig *google_api19.Service `protobuf:"bytes,1,opt,name=service_config,json=serviceConfig" json:"service_config,omitempty"`
ServiceConfig *google_api21.Service `protobuf:"bytes,1,opt,name=service_config,json=serviceConfig" json:"service_config,omitempty"`
}
func (m *SubmitConfigSourceResponse) Reset() { *m = SubmitConfigSourceResponse{} }
@@ -352,7 +404,7 @@ func (m *SubmitConfigSourceResponse) String() string { return proto.C
func (*SubmitConfigSourceResponse) ProtoMessage() {}
func (*SubmitConfigSourceResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{12} }
func (m *SubmitConfigSourceResponse) GetServiceConfig() *google_api19.Service {
func (m *SubmitConfigSourceResponse) GetServiceConfig() *google_api21.Service {
if m != nil {
return m.ServiceConfig
}
@@ -396,6 +448,15 @@ type ListServiceRolloutsRequest struct {
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
// The max number of items to include in the response list.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
// Use `filter` to return subset of rollouts.
// The following filters are supported:
// -- To limit the results to only those in
// [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
// use filter='status=SUCCESS'
// -- To limit the results to those in
// [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
// or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
Filter string `protobuf:"bytes,4,opt,name=filter" json:"filter,omitempty"`
}
func (m *ListServiceRolloutsRequest) Reset() { *m = ListServiceRolloutsRequest{} }
@@ -424,6 +485,13 @@ func (m *ListServiceRolloutsRequest) GetPageSize() int32 {
return 0
}
func (m *ListServiceRolloutsRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
// Response message for ListServiceRollouts method.
type ListServiceRolloutsResponse struct {
// The list of rollout resources.
@@ -488,7 +556,8 @@ type EnableServiceRequest struct {
// applied to.
//
// The Google Service Management implementation accepts the following
// forms: "project:<project_id>", "project_number:<project_number>".
// forms:
// - "project:<project_id>"
//
// Note: this is made compatible with
// google.api.servicecontrol.v1.Operation.consumer_id.
@@ -523,7 +592,8 @@ type DisableServiceRequest struct {
// applied to.
//
// The Google Service Management implementation accepts the following
// forms: "project:<project_id>", "project_number:<project_number>".
// forms:
// - "project:<project_id>"
//
// Note: this is made compatible with
// google.api.servicecontrol.v1.Operation.consumer_id.
@@ -654,6 +724,7 @@ func init() {
proto.RegisterType((*DisableServiceRequest)(nil), "google.api.servicemanagement.v1.DisableServiceRequest")
proto.RegisterType((*GenerateConfigReportRequest)(nil), "google.api.servicemanagement.v1.GenerateConfigReportRequest")
proto.RegisterType((*GenerateConfigReportResponse)(nil), "google.api.servicemanagement.v1.GenerateConfigReportResponse")
proto.RegisterEnum("google.api.servicemanagement.v1.GetServiceConfigRequest_ConfigView", GetServiceConfigRequest_ConfigView_name, GetServiceConfigRequest_ConfigView_value)
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -667,16 +738,25 @@ const _ = grpc.SupportPackageIsVersion4
// Client API for ServiceManager service
type ServiceManagerClient interface {
// Lists all managed services.
// Lists managed services.
//
// Returns all public services. For authenticated users, also returns all
// services the calling user has "servicemanagement.services.get" permission
// for.
//
// **BETA:** If the caller specifies the `consumer_id`, it returns only the
// services enabled on the consumer. The `consumer_id` must have the format
// of "project:{PROJECT-ID}".
ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
// Gets a managed service.
// Gets a managed service. Authentication is required unless the service is
// public.
GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*ManagedService, error)
// Creates a new managed service.
// Please note one producer project can own no more than 20 services.
//
// Operation<response: ManagedService>
CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
// Deletes a managed service. This method will change the serivce in the
// Deletes a managed service. This method will change the service to the
// `Soft-Delete` state for 30 days. Within this period, service producers may
// call [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService] to restore the service.
// After 30 days, the service will be permanently deleted.
@@ -694,12 +774,12 @@ type ServiceManagerClient interface {
// from the newest to the oldest.
ListServiceConfigs(ctx context.Context, in *ListServiceConfigsRequest, opts ...grpc.CallOption) (*ListServiceConfigsResponse, error)
// Gets a service configuration (version) for a managed service.
GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*google_api19.Service, error)
GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*google_api21.Service, error)
// Creates a new service configuration (version) for a managed service.
// This method only stores the service configuration. To roll out the service
// configuration to backend systems please call
// [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
CreateServiceConfig(ctx context.Context, in *CreateServiceConfigRequest, opts ...grpc.CallOption) (*google_api19.Service, error)
CreateServiceConfig(ctx context.Context, in *CreateServiceConfigRequest, opts ...grpc.CallOption) (*google_api21.Service, error)
// Creates a new service configuration (version) for a managed service based
// on
// user-supplied configuration source files (for example: OpenAPI
@@ -738,14 +818,16 @@ type ServiceManagerClient interface {
// will compare GenerateConfigReportRequest.new_value with the last pushed
// service configuration.
GenerateConfigReport(ctx context.Context, in *GenerateConfigReportRequest, opts ...grpc.CallOption) (*GenerateConfigReportResponse, error)
// Enable a managed service for a project with default setting.
// Enables a [service][google.api.servicemanagement.v1.ManagedService] for a project, so it can be used
// for the project. See
// [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for
// more information.
//
// Operation<response: EnableServiceResponse>
//
// [google.rpc.Status][google.rpc.Status] errors may contain a
// [google.rpc.PreconditionFailure][] error detail.
EnableService(ctx context.Context, in *EnableServiceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
// Disable a managed service for a project.
// Disables a [service][google.api.servicemanagement.v1.ManagedService] for a project, so it can no longer be
// be used for the project. It prevents accidental usage that may cause
// unexpected billing charges or security leaks.
//
// Operation<response: DisableServiceResponse>
DisableService(ctx context.Context, in *DisableServiceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
@@ -813,8 +895,8 @@ func (c *serviceManagerClient) ListServiceConfigs(ctx context.Context, in *ListS
return out, nil
}
func (c *serviceManagerClient) GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*google_api19.Service, error) {
out := new(google_api19.Service)
func (c *serviceManagerClient) GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*google_api21.Service, error) {
out := new(google_api21.Service)
err := grpc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/GetServiceConfig", in, out, c.cc, opts...)
if err != nil {
return nil, err
@@ -822,8 +904,8 @@ func (c *serviceManagerClient) GetServiceConfig(ctx context.Context, in *GetServ
return out, nil
}
func (c *serviceManagerClient) CreateServiceConfig(ctx context.Context, in *CreateServiceConfigRequest, opts ...grpc.CallOption) (*google_api19.Service, error) {
out := new(google_api19.Service)
func (c *serviceManagerClient) CreateServiceConfig(ctx context.Context, in *CreateServiceConfigRequest, opts ...grpc.CallOption) (*google_api21.Service, error) {
out := new(google_api21.Service)
err := grpc.Invoke(ctx, "/google.api.servicemanagement.v1.ServiceManager/CreateServiceConfig", in, out, c.cc, opts...)
if err != nil {
return nil, err
@@ -897,16 +979,25 @@ func (c *serviceManagerClient) DisableService(ctx context.Context, in *DisableSe
// Server API for ServiceManager service
type ServiceManagerServer interface {
// Lists all managed services.
// Lists managed services.
//
// Returns all public services. For authenticated users, also returns all
// services the calling user has "servicemanagement.services.get" permission
// for.
//
// **BETA:** If the caller specifies the `consumer_id`, it returns only the
// services enabled on the consumer. The `consumer_id` must have the format
// of "project:{PROJECT-ID}".
ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
// Gets a managed service.
// Gets a managed service. Authentication is required unless the service is
// public.
GetService(context.Context, *GetServiceRequest) (*ManagedService, error)
// Creates a new managed service.
// Please note one producer project can own no more than 20 services.
//
// Operation<response: ManagedService>
CreateService(context.Context, *CreateServiceRequest) (*google_longrunning.Operation, error)
// Deletes a managed service. This method will change the serivce in the
// Deletes a managed service. This method will change the service to the
// `Soft-Delete` state for 30 days. Within this period, service producers may
// call [UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService] to restore the service.
// After 30 days, the service will be permanently deleted.
@@ -924,12 +1015,12 @@ type ServiceManagerServer interface {
// from the newest to the oldest.
ListServiceConfigs(context.Context, *ListServiceConfigsRequest) (*ListServiceConfigsResponse, error)
// Gets a service configuration (version) for a managed service.
GetServiceConfig(context.Context, *GetServiceConfigRequest) (*google_api19.Service, error)
GetServiceConfig(context.Context, *GetServiceConfigRequest) (*google_api21.Service, error)
// Creates a new service configuration (version) for a managed service.
// This method only stores the service configuration. To roll out the service
// configuration to backend systems please call
// [CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].
CreateServiceConfig(context.Context, *CreateServiceConfigRequest) (*google_api19.Service, error)
CreateServiceConfig(context.Context, *CreateServiceConfigRequest) (*google_api21.Service, error)
// Creates a new service configuration (version) for a managed service based
// on
// user-supplied configuration source files (for example: OpenAPI
@@ -968,14 +1059,16 @@ type ServiceManagerServer interface {
// will compare GenerateConfigReportRequest.new_value with the last pushed
// service configuration.
GenerateConfigReport(context.Context, *GenerateConfigReportRequest) (*GenerateConfigReportResponse, error)
// Enable a managed service for a project with default setting.
// Enables a [service][google.api.servicemanagement.v1.ManagedService] for a project, so it can be used
// for the project. See
// [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for
// more information.
//
// Operation<response: EnableServiceResponse>
//
// [google.rpc.Status][google.rpc.Status] errors may contain a
// [google.rpc.PreconditionFailure][] error detail.
EnableService(context.Context, *EnableServiceRequest) (*google_longrunning.Operation, error)
// Disable a managed service for a project.
// Disables a [service][google.api.servicemanagement.v1.ManagedService] for a project, so it can no longer be
// be used for the project. It prevents accidental usage that may cause
// unexpected billing charges or security leaks.
//
// Operation<response: DisableServiceResponse>
DisableService(context.Context, *DisableServiceRequest) (*google_longrunning.Operation, error)
@@ -1329,89 +1422,94 @@ func init() {
}
var fileDescriptor1 = []byte{
// 1343 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcf, 0x6f, 0xdc, 0x44,
0x14, 0xd6, 0x6c, 0x7f, 0x25, 0x2f, 0xd9, 0x2d, 0x9d, 0x5d, 0xc8, 0xd6, 0xdb, 0xa8, 0xa9, 0x03,
0x25, 0x4a, 0xe9, 0x5a, 0xe9, 0x4f, 0xba, 0x29, 0x87, 0xb6, 0x41, 0x55, 0x04, 0xa5, 0xd1, 0xa6,
0x48, 0x50, 0x90, 0x56, 0x8e, 0x3d, 0x31, 0xa6, 0xde, 0x19, 0xe3, 0xf1, 0xa6, 0x24, 0x51, 0x0e,
0x54, 0x95, 0x90, 0xe8, 0x09, 0xf1, 0xa3, 0x12, 0x47, 0x84, 0x38, 0x70, 0xe0, 0xc2, 0x01, 0x89,
0x03, 0x12, 0x7f, 0x03, 0xff, 0x02, 0x7f, 0x03, 0x67, 0xb4, 0xe3, 0xf1, 0xc6, 0xb3, 0xeb, 0xac,
0xed, 0x08, 0x38, 0xfa, 0x8d, 0xbf, 0xf7, 0xbe, 0x79, 0xf3, 0xcd, 0xf3, 0xb7, 0x0b,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48,
0x5f, 0xe7, 0x5f, 0x23, 0x28, 0x2b, 0xe6, 0x35, 0xc7, 0x87, 0x2b, 0xcd, 0xec, 0x66, 0xb5, 0xf8,
0xa2, 0x60, 0xf5, 0xaa, 0xae, 0x8f, 0xfb, 0x4e, 0x10, 0x91, 0xb8, 0x4f, 0xeb, 0x39, 0x82, 0x8a,
0xea, 0x7b, 0xf1, 0xb5, 0x1c, 0x1e, 0x8b, 0x17, 0x27, 0xd6, 0x14, 0xc4, 0x16, 0xc6, 0x8e, 0xb3,
0x96, 0x1d, 0x65, 0x6e, 0xa1, 0xc5, 0xdb, 0xdf, 0x20, 0x98, 0xb7, 0x58, 0x37, 0x8b, 0xcc, 0xed,
0xaa, 0xea, 0xea, 0xd6, 0xfa, 0xc6, 0x77, 0x0d, 0x3d, 0x5c, 0x93, 0x38, 0x87, 0x79, 0x26, 0x75,
0x9a, 0x2c, 0x70, 0x0c, 0x87, 0x50, 0x61, 0x8b, 0xe5, 0xbf, 0x92, 0xa6, 0xef, 0xf2, 0x03, 0xff,
0x99, 0x5c, 0x1e, 0x09, 0x7e, 0x5f, 0x3a, 0x7a, 0xf7, 0xd6, 0xfa, 0xbd, 0x8d, 0xe3, 0x22, 0xc7,
0xe5, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xb2, 0xf0, 0x70, 0x6f, 0x6b, 0x15, 0x00, 0x00,
// 1420 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4f, 0x6f, 0x1b, 0x45,
0x14, 0x67, 0x9c, 0xb4, 0x4d, 0x5e, 0x62, 0xb7, 0x9d, 0xb8, 0x8d, 0xeb, 0x34, 0x6a, 0xba, 0x81,
0x12, 0xa5, 0xd4, 0xab, 0xa4, 0xff, 0xa8, 0x53, 0x0e, 0x4d, 0x02, 0x55, 0x44, 0x4b, 0x23, 0xa7,
0x05, 0x54, 0x90, 0xac, 0xcd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 0x68, 0x7e, 0xf9, 0x1b, 0x04, 0xb3, 0x26, 0x6b, 0x24, 0x91, 0x59, 0x9e, 0x50, 0x55,
0xdd, 0x7a, 0x5b, 0xf8, 0xae, 0xa3, 0x87, 0xeb, 0x12, 0x67, 0x33, 0xd7, 0xa0, 0x76, 0x85, 0x79,
0xb6, 0x6e, 0x13, 0x2a, 0x64, 0xb1, 0xfc, 0x5f, 0x6a, 0x34, 0x1d, 0x7e, 0xe8, 0x3f, 0xd3, 0xa5,
0x1e, 0xe3, 0xcb, 0xdc, 0xf0, 0xed, 0x5b, 0x1b, 0x77, 0x37, 0x8f, 0x0a, 0x1f, 0x97, 0xff, 0x09,
0x00, 0x00, 0xff, 0xff, 0x50, 0x43, 0x0b, 0xb9, 0x1c, 0x16, 0x00, 0x00,
}

View File

@@ -0,0 +1,970 @@
// Code generated by protoc-gen-go.
// source: google/assistant/embedded/v1alpha1/embedded_assistant.proto
// DO NOT EDIT!
/*
Package embedded is a generated protocol buffer package.
It is generated from these files:
google/assistant/embedded/v1alpha1/embedded_assistant.proto
It has these top-level messages:
ConverseConfig
AudioInConfig
AudioOutConfig
ConverseState
AudioOut
ConverseResult
ConverseRequest
ConverseResponse
*/
package embedded
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_rpc "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
// 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
// Audio encoding of the data sent in the audio message.
// Audio must be one-channel (mono). The only language supported is "en-US".
type AudioInConfig_Encoding int32
const (
// Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][].
AudioInConfig_ENCODING_UNSPECIFIED AudioInConfig_Encoding = 0
// Uncompressed 16-bit signed little-endian samples (Linear PCM).
// This encoding includes no header, only the raw audio bytes.
AudioInConfig_LINEAR16 AudioInConfig_Encoding = 1
// [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio
// Codec) is the recommended encoding because it is
// lossless--therefore recognition is not compromised--and
// requires only about half the bandwidth of `LINEAR16`. This encoding
// includes the `FLAC` stream header followed by audio data. It supports
// 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are
// supported.
AudioInConfig_FLAC AudioInConfig_Encoding = 2
)
var AudioInConfig_Encoding_name = map[int32]string{
0: "ENCODING_UNSPECIFIED",
1: "LINEAR16",
2: "FLAC",
}
var AudioInConfig_Encoding_value = map[string]int32{
"ENCODING_UNSPECIFIED": 0,
"LINEAR16": 1,
"FLAC": 2,
}
func (x AudioInConfig_Encoding) String() string {
return proto.EnumName(AudioInConfig_Encoding_name, int32(x))
}
func (AudioInConfig_Encoding) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
// Audio encoding of the data returned in the audio message. All encodings are
// raw audio bytes with no header, except as indicated below.
type AudioOutConfig_Encoding int32
const (
// Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][].
AudioOutConfig_ENCODING_UNSPECIFIED AudioOutConfig_Encoding = 0
// Uncompressed 16-bit signed little-endian samples (Linear PCM).
AudioOutConfig_LINEAR16 AudioOutConfig_Encoding = 1
// MP3 audio encoding. The sample rate is encoded in the payload.
AudioOutConfig_MP3 AudioOutConfig_Encoding = 2
// Opus-encoded audio wrapped in an ogg container. The result will be a
// file which can be played natively on Android and in some browsers (such
// as Chrome). The quality of the encoding is considerably higher than MP3
// while using the same bitrate. The sample rate is encoded in the payload.
AudioOutConfig_OPUS_IN_OGG AudioOutConfig_Encoding = 3
)
var AudioOutConfig_Encoding_name = map[int32]string{
0: "ENCODING_UNSPECIFIED",
1: "LINEAR16",
2: "MP3",
3: "OPUS_IN_OGG",
}
var AudioOutConfig_Encoding_value = map[string]int32{
"ENCODING_UNSPECIFIED": 0,
"LINEAR16": 1,
"MP3": 2,
"OPUS_IN_OGG": 3,
}
func (x AudioOutConfig_Encoding) String() string {
return proto.EnumName(AudioOutConfig_Encoding_name, int32(x))
}
func (AudioOutConfig_Encoding) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
// Possible states of the microphone after a `Converse` RPC completes.
type ConverseResult_MicrophoneMode int32
const (
// No mode specified.
ConverseResult_MICROPHONE_MODE_UNSPECIFIED ConverseResult_MicrophoneMode = 0
// The service is not expecting a follow-on question from the user.
// The microphone should remain off until the user re-activates it.
ConverseResult_CLOSE_MICROPHONE ConverseResult_MicrophoneMode = 1
// The service is expecting a follow-on question from the user. The
// microphone should be re-opened when the `AudioOut` playback completes
// (by starting a new `Converse` RPC call to send the new audio).
ConverseResult_DIALOG_FOLLOW_ON ConverseResult_MicrophoneMode = 2
)
var ConverseResult_MicrophoneMode_name = map[int32]string{
0: "MICROPHONE_MODE_UNSPECIFIED",
1: "CLOSE_MICROPHONE",
2: "DIALOG_FOLLOW_ON",
}
var ConverseResult_MicrophoneMode_value = map[string]int32{
"MICROPHONE_MODE_UNSPECIFIED": 0,
"CLOSE_MICROPHONE": 1,
"DIALOG_FOLLOW_ON": 2,
}
func (x ConverseResult_MicrophoneMode) String() string {
return proto.EnumName(ConverseResult_MicrophoneMode_name, int32(x))
}
func (ConverseResult_MicrophoneMode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor0, []int{5, 0}
}
// Indicates the type of event.
type ConverseResponse_EventType int32
const (
// No event specified.
ConverseResponse_EVENT_TYPE_UNSPECIFIED ConverseResponse_EventType = 0
// This event indicates that the server has detected the end of the user's
// speech utterance and expects no additional speech. Therefore, the server
// will not process additional audio (although it may subsequently return
// additional results). The client should stop sending additional audio
// data, half-close the gRPC connection, and wait for any additional results
// until the server closes the gRPC connection.
ConverseResponse_END_OF_UTTERANCE ConverseResponse_EventType = 1
)
var ConverseResponse_EventType_name = map[int32]string{
0: "EVENT_TYPE_UNSPECIFIED",
1: "END_OF_UTTERANCE",
}
var ConverseResponse_EventType_value = map[string]int32{
"EVENT_TYPE_UNSPECIFIED": 0,
"END_OF_UTTERANCE": 1,
}
func (x ConverseResponse_EventType) String() string {
return proto.EnumName(ConverseResponse_EventType_name, int32(x))
}
func (ConverseResponse_EventType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor0, []int{7, 0}
}
// Specifies how to process the `ConverseRequest` messages.
type ConverseConfig struct {
// *Required* Specifies how to process the subsequent incoming audio.
AudioInConfig *AudioInConfig `protobuf:"bytes,1,opt,name=audio_in_config,json=audioInConfig" json:"audio_in_config,omitempty"`
// *Required* Specifies how to format the audio that will be returned.
AudioOutConfig *AudioOutConfig `protobuf:"bytes,2,opt,name=audio_out_config,json=audioOutConfig" json:"audio_out_config,omitempty"`
// *Required* Represents the current dialog state.
ConverseState *ConverseState `protobuf:"bytes,3,opt,name=converse_state,json=converseState" json:"converse_state,omitempty"`
}
func (m *ConverseConfig) Reset() { *m = ConverseConfig{} }
func (m *ConverseConfig) String() string { return proto.CompactTextString(m) }
func (*ConverseConfig) ProtoMessage() {}
func (*ConverseConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *ConverseConfig) GetAudioInConfig() *AudioInConfig {
if m != nil {
return m.AudioInConfig
}
return nil
}
func (m *ConverseConfig) GetAudioOutConfig() *AudioOutConfig {
if m != nil {
return m.AudioOutConfig
}
return nil
}
func (m *ConverseConfig) GetConverseState() *ConverseState {
if m != nil {
return m.ConverseState
}
return nil
}
// Specifies how to process the `audio_in` data that will be provided in
// subsequent requests. For recommended settings, see the Google Assistant SDK
// [best practices](https://developers.google.com/assistant/best-practices).
type AudioInConfig struct {
// *Required* Encoding of audio data sent in all `audio_in` messages.
Encoding AudioInConfig_Encoding `protobuf:"varint,1,opt,name=encoding,enum=google.assistant.embedded.v1alpha1.AudioInConfig_Encoding" json:"encoding,omitempty"`
// *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in`
// messages. Valid values are from 16000-24000, but 16000 is optimal.
// For best results, set the sampling rate of the audio source to 16000 Hz.
// If that's not possible, use the native sample rate of the audio source
// (instead of re-sampling).
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz" json:"sample_rate_hertz,omitempty"`
}
func (m *AudioInConfig) Reset() { *m = AudioInConfig{} }
func (m *AudioInConfig) String() string { return proto.CompactTextString(m) }
func (*AudioInConfig) ProtoMessage() {}
func (*AudioInConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *AudioInConfig) GetEncoding() AudioInConfig_Encoding {
if m != nil {
return m.Encoding
}
return AudioInConfig_ENCODING_UNSPECIFIED
}
func (m *AudioInConfig) GetSampleRateHertz() int32 {
if m != nil {
return m.SampleRateHertz
}
return 0
}
// Specifies the desired format for the server to use when it returns
// `audio_out` messages.
type AudioOutConfig struct {
// *Required* The encoding of audio data to be returned in all `audio_out`
// messages.
Encoding AudioOutConfig_Encoding `protobuf:"varint,1,opt,name=encoding,enum=google.assistant.embedded.v1alpha1.AudioOutConfig_Encoding" json:"encoding,omitempty"`
// *Required* The sample rate in Hertz of the audio data returned in
// `audio_out` messages. Valid values are: 16000-24000.
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz" json:"sample_rate_hertz,omitempty"`
// *Required* Current volume setting of the device's audio output.
// Valid values are 1 to 100 (corresponding to 1% to 100%).
VolumePercentage int32 `protobuf:"varint,3,opt,name=volume_percentage,json=volumePercentage" json:"volume_percentage,omitempty"`
}
func (m *AudioOutConfig) Reset() { *m = AudioOutConfig{} }
func (m *AudioOutConfig) String() string { return proto.CompactTextString(m) }
func (*AudioOutConfig) ProtoMessage() {}
func (*AudioOutConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *AudioOutConfig) GetEncoding() AudioOutConfig_Encoding {
if m != nil {
return m.Encoding
}
return AudioOutConfig_ENCODING_UNSPECIFIED
}
func (m *AudioOutConfig) GetSampleRateHertz() int32 {
if m != nil {
return m.SampleRateHertz
}
return 0
}
func (m *AudioOutConfig) GetVolumePercentage() int32 {
if m != nil {
return m.VolumePercentage
}
return 0
}
// Provides information about the current dialog state.
type ConverseState struct {
// *Required* The `conversation_state` value returned in the prior
// `ConverseResponse`. Omit (do not set the field) if there was no prior
// `ConverseResponse`. If there was a prior `ConverseResponse`, do not omit
// this field; doing so will end that conversation (and this new request will
// start a new conversation).
ConversationState []byte `protobuf:"bytes,1,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
}
func (m *ConverseState) Reset() { *m = ConverseState{} }
func (m *ConverseState) String() string { return proto.CompactTextString(m) }
func (*ConverseState) ProtoMessage() {}
func (*ConverseState) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *ConverseState) GetConversationState() []byte {
if m != nil {
return m.ConversationState
}
return nil
}
// The audio containing the assistant's response to the query. Sequential chunks
// of audio data are received in sequential `ConverseResponse` messages.
type AudioOut struct {
// *Output-only* The audio data containing the assistant's response to the
// query. Sequential chunks of audio data are received in sequential
// `ConverseResponse` messages.
AudioData []byte `protobuf:"bytes,1,opt,name=audio_data,json=audioData,proto3" json:"audio_data,omitempty"`
}
func (m *AudioOut) Reset() { *m = AudioOut{} }
func (m *AudioOut) String() string { return proto.CompactTextString(m) }
func (*AudioOut) ProtoMessage() {}
func (*AudioOut) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *AudioOut) GetAudioData() []byte {
if m != nil {
return m.AudioData
}
return nil
}
// The semantic result for the user's spoken query.
type ConverseResult struct {
// *Output-only* The recognized transcript of what the user said.
SpokenRequestText string `protobuf:"bytes,1,opt,name=spoken_request_text,json=spokenRequestText" json:"spoken_request_text,omitempty"`
// *Output-only* The text of the assistant's spoken response. This is only
// returned for an IFTTT action.
SpokenResponseText string `protobuf:"bytes,2,opt,name=spoken_response_text,json=spokenResponseText" json:"spoken_response_text,omitempty"`
// *Output-only* State information for subsequent `ConverseRequest`. This
// value should be saved in the client and returned in the
// `conversation_state` with the next `ConverseRequest`. (The client does not
// need to interpret or otherwise use this value.) There is no need to save
// this information across device restarts.
ConversationState []byte `protobuf:"bytes,3,opt,name=conversation_state,json=conversationState,proto3" json:"conversation_state,omitempty"`
// *Output-only* Specifies the mode of the microphone after this `Converse`
// RPC is processed.
MicrophoneMode ConverseResult_MicrophoneMode `protobuf:"varint,4,opt,name=microphone_mode,json=microphoneMode,enum=google.assistant.embedded.v1alpha1.ConverseResult_MicrophoneMode" json:"microphone_mode,omitempty"`
// *Output-only* Updated volume level. The value will be 0 or omitted
// (indicating no change) unless a voice command such as "Increase the volume"
// or "Set volume level 4" was recognized, in which case the value will be
// between 1 and 100 (corresponding to the new volume level of 1% to 100%).
// Typically, a client should use this volume level when playing the
// `audio_out` data, and retain this value as the current volume level and
// supply it in the `AudioOutConfig` of the next `ConverseRequest`. (Some
// clients may also implement other ways to allow the current volume level to
// be changed, for example, by providing a knob that the user can turn.)
VolumePercentage int32 `protobuf:"varint,5,opt,name=volume_percentage,json=volumePercentage" json:"volume_percentage,omitempty"`
}
func (m *ConverseResult) Reset() { *m = ConverseResult{} }
func (m *ConverseResult) String() string { return proto.CompactTextString(m) }
func (*ConverseResult) ProtoMessage() {}
func (*ConverseResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *ConverseResult) GetSpokenRequestText() string {
if m != nil {
return m.SpokenRequestText
}
return ""
}
func (m *ConverseResult) GetSpokenResponseText() string {
if m != nil {
return m.SpokenResponseText
}
return ""
}
func (m *ConverseResult) GetConversationState() []byte {
if m != nil {
return m.ConversationState
}
return nil
}
func (m *ConverseResult) GetMicrophoneMode() ConverseResult_MicrophoneMode {
if m != nil {
return m.MicrophoneMode
}
return ConverseResult_MICROPHONE_MODE_UNSPECIFIED
}
func (m *ConverseResult) GetVolumePercentage() int32 {
if m != nil {
return m.VolumePercentage
}
return 0
}
// The top-level message sent by the client. Clients must send at least two, and
// typically numerous `ConverseRequest` messages. The first message must
// contain a `config` message and must not contain `audio_in` data. All
// subsequent messages must contain `audio_in` data and must not contain a
// `config` message.
type ConverseRequest struct {
// Exactly one of these fields must be specified in each `ConverseRequest`.
//
// Types that are valid to be assigned to ConverseRequest:
// *ConverseRequest_Config
// *ConverseRequest_AudioIn
ConverseRequest isConverseRequest_ConverseRequest `protobuf_oneof:"converse_request"`
}
func (m *ConverseRequest) Reset() { *m = ConverseRequest{} }
func (m *ConverseRequest) String() string { return proto.CompactTextString(m) }
func (*ConverseRequest) ProtoMessage() {}
func (*ConverseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
type isConverseRequest_ConverseRequest interface {
isConverseRequest_ConverseRequest()
}
type ConverseRequest_Config struct {
Config *ConverseConfig `protobuf:"bytes,1,opt,name=config,oneof"`
}
type ConverseRequest_AudioIn struct {
AudioIn []byte `protobuf:"bytes,2,opt,name=audio_in,json=audioIn,proto3,oneof"`
}
func (*ConverseRequest_Config) isConverseRequest_ConverseRequest() {}
func (*ConverseRequest_AudioIn) isConverseRequest_ConverseRequest() {}
func (m *ConverseRequest) GetConverseRequest() isConverseRequest_ConverseRequest {
if m != nil {
return m.ConverseRequest
}
return nil
}
func (m *ConverseRequest) GetConfig() *ConverseConfig {
if x, ok := m.GetConverseRequest().(*ConverseRequest_Config); ok {
return x.Config
}
return nil
}
func (m *ConverseRequest) GetAudioIn() []byte {
if x, ok := m.GetConverseRequest().(*ConverseRequest_AudioIn); ok {
return x.AudioIn
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*ConverseRequest) 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 _ConverseRequest_OneofMarshaler, _ConverseRequest_OneofUnmarshaler, _ConverseRequest_OneofSizer, []interface{}{
(*ConverseRequest_Config)(nil),
(*ConverseRequest_AudioIn)(nil),
}
}
func _ConverseRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*ConverseRequest)
// converse_request
switch x := m.ConverseRequest.(type) {
case *ConverseRequest_Config:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Config); err != nil {
return err
}
case *ConverseRequest_AudioIn:
b.EncodeVarint(2<<3 | proto.WireBytes)
b.EncodeRawBytes(x.AudioIn)
case nil:
default:
return fmt.Errorf("ConverseRequest.ConverseRequest has unexpected type %T", x)
}
return nil
}
func _ConverseRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*ConverseRequest)
switch tag {
case 1: // converse_request.config
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ConverseConfig)
err := b.DecodeMessage(msg)
m.ConverseRequest = &ConverseRequest_Config{msg}
return true, err
case 2: // converse_request.audio_in
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeRawBytes(true)
m.ConverseRequest = &ConverseRequest_AudioIn{x}
return true, err
default:
return false, nil
}
}
func _ConverseRequest_OneofSizer(msg proto.Message) (n int) {
m := msg.(*ConverseRequest)
// converse_request
switch x := m.ConverseRequest.(type) {
case *ConverseRequest_Config:
s := proto.Size(x.Config)
n += proto.SizeVarint(1<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *ConverseRequest_AudioIn:
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(len(x.AudioIn)))
n += len(x.AudioIn)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// The top-level message received by the client. A series of one or more
// `ConverseResponse` messages are streamed back to the client.
type ConverseResponse struct {
// Exactly one of these fields will be populated in each `ConverseResponse`.
//
// Types that are valid to be assigned to ConverseResponse:
// *ConverseResponse_Error
// *ConverseResponse_EventType_
// *ConverseResponse_AudioOut
// *ConverseResponse_Result
ConverseResponse isConverseResponse_ConverseResponse `protobuf_oneof:"converse_response"`
}
func (m *ConverseResponse) Reset() { *m = ConverseResponse{} }
func (m *ConverseResponse) String() string { return proto.CompactTextString(m) }
func (*ConverseResponse) ProtoMessage() {}
func (*ConverseResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
type isConverseResponse_ConverseResponse interface {
isConverseResponse_ConverseResponse()
}
type ConverseResponse_Error struct {
Error *google_rpc.Status `protobuf:"bytes,1,opt,name=error,oneof"`
}
type ConverseResponse_EventType_ struct {
EventType ConverseResponse_EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,enum=google.assistant.embedded.v1alpha1.ConverseResponse_EventType,oneof"`
}
type ConverseResponse_AudioOut struct {
AudioOut *AudioOut `protobuf:"bytes,3,opt,name=audio_out,json=audioOut,oneof"`
}
type ConverseResponse_Result struct {
Result *ConverseResult `protobuf:"bytes,5,opt,name=result,oneof"`
}
func (*ConverseResponse_Error) isConverseResponse_ConverseResponse() {}
func (*ConverseResponse_EventType_) isConverseResponse_ConverseResponse() {}
func (*ConverseResponse_AudioOut) isConverseResponse_ConverseResponse() {}
func (*ConverseResponse_Result) isConverseResponse_ConverseResponse() {}
func (m *ConverseResponse) GetConverseResponse() isConverseResponse_ConverseResponse {
if m != nil {
return m.ConverseResponse
}
return nil
}
func (m *ConverseResponse) GetError() *google_rpc.Status {
if x, ok := m.GetConverseResponse().(*ConverseResponse_Error); ok {
return x.Error
}
return nil
}
func (m *ConverseResponse) GetEventType() ConverseResponse_EventType {
if x, ok := m.GetConverseResponse().(*ConverseResponse_EventType_); ok {
return x.EventType
}
return ConverseResponse_EVENT_TYPE_UNSPECIFIED
}
func (m *ConverseResponse) GetAudioOut() *AudioOut {
if x, ok := m.GetConverseResponse().(*ConverseResponse_AudioOut); ok {
return x.AudioOut
}
return nil
}
func (m *ConverseResponse) GetResult() *ConverseResult {
if x, ok := m.GetConverseResponse().(*ConverseResponse_Result); ok {
return x.Result
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*ConverseResponse) 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 _ConverseResponse_OneofMarshaler, _ConverseResponse_OneofUnmarshaler, _ConverseResponse_OneofSizer, []interface{}{
(*ConverseResponse_Error)(nil),
(*ConverseResponse_EventType_)(nil),
(*ConverseResponse_AudioOut)(nil),
(*ConverseResponse_Result)(nil),
}
}
func _ConverseResponse_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*ConverseResponse)
// converse_response
switch x := m.ConverseResponse.(type) {
case *ConverseResponse_Error:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Error); err != nil {
return err
}
case *ConverseResponse_EventType_:
b.EncodeVarint(2<<3 | proto.WireVarint)
b.EncodeVarint(uint64(x.EventType))
case *ConverseResponse_AudioOut:
b.EncodeVarint(3<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.AudioOut); err != nil {
return err
}
case *ConverseResponse_Result:
b.EncodeVarint(5<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Result); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("ConverseResponse.ConverseResponse has unexpected type %T", x)
}
return nil
}
func _ConverseResponse_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*ConverseResponse)
switch tag {
case 1: // converse_response.error
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(google_rpc.Status)
err := b.DecodeMessage(msg)
m.ConverseResponse = &ConverseResponse_Error{msg}
return true, err
case 2: // converse_response.event_type
if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeVarint()
m.ConverseResponse = &ConverseResponse_EventType_{ConverseResponse_EventType(x)}
return true, err
case 3: // converse_response.audio_out
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(AudioOut)
err := b.DecodeMessage(msg)
m.ConverseResponse = &ConverseResponse_AudioOut{msg}
return true, err
case 5: // converse_response.result
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ConverseResult)
err := b.DecodeMessage(msg)
m.ConverseResponse = &ConverseResponse_Result{msg}
return true, err
default:
return false, nil
}
}
func _ConverseResponse_OneofSizer(msg proto.Message) (n int) {
m := msg.(*ConverseResponse)
// converse_response
switch x := m.ConverseResponse.(type) {
case *ConverseResponse_Error:
s := proto.Size(x.Error)
n += proto.SizeVarint(1<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *ConverseResponse_EventType_:
n += proto.SizeVarint(2<<3 | proto.WireVarint)
n += proto.SizeVarint(uint64(x.EventType))
case *ConverseResponse_AudioOut:
s := proto.Size(x.AudioOut)
n += proto.SizeVarint(3<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *ConverseResponse_Result:
s := proto.Size(x.Result)
n += proto.SizeVarint(5<<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
}
func init() {
proto.RegisterType((*ConverseConfig)(nil), "google.assistant.embedded.v1alpha1.ConverseConfig")
proto.RegisterType((*AudioInConfig)(nil), "google.assistant.embedded.v1alpha1.AudioInConfig")
proto.RegisterType((*AudioOutConfig)(nil), "google.assistant.embedded.v1alpha1.AudioOutConfig")
proto.RegisterType((*ConverseState)(nil), "google.assistant.embedded.v1alpha1.ConverseState")
proto.RegisterType((*AudioOut)(nil), "google.assistant.embedded.v1alpha1.AudioOut")
proto.RegisterType((*ConverseResult)(nil), "google.assistant.embedded.v1alpha1.ConverseResult")
proto.RegisterType((*ConverseRequest)(nil), "google.assistant.embedded.v1alpha1.ConverseRequest")
proto.RegisterType((*ConverseResponse)(nil), "google.assistant.embedded.v1alpha1.ConverseResponse")
proto.RegisterEnum("google.assistant.embedded.v1alpha1.AudioInConfig_Encoding", AudioInConfig_Encoding_name, AudioInConfig_Encoding_value)
proto.RegisterEnum("google.assistant.embedded.v1alpha1.AudioOutConfig_Encoding", AudioOutConfig_Encoding_name, AudioOutConfig_Encoding_value)
proto.RegisterEnum("google.assistant.embedded.v1alpha1.ConverseResult_MicrophoneMode", ConverseResult_MicrophoneMode_name, ConverseResult_MicrophoneMode_value)
proto.RegisterEnum("google.assistant.embedded.v1alpha1.ConverseResponse_EventType", ConverseResponse_EventType_name, ConverseResponse_EventType_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 EmbeddedAssistant service
type EmbeddedAssistantClient interface {
// Initiates or continues a conversation with the embedded assistant service.
// Each call performs one round-trip, sending an audio request to the service
// and receiving the audio response. Uses bidirectional streaming to receive
// results, such as the `END_OF_UTTERANCE` event, while sending audio.
//
// A conversation is one or more gRPC connections, each consisting of several
// streamed requests and responses.
// For example, the user says *Add to my shopping list* and the assistant
// responds *What do you want to add?*. The sequence of streamed requests and
// responses in the first gRPC message could be:
//
// * ConverseRequest.config
// * ConverseRequest.audio_in
// * ConverseRequest.audio_in
// * ConverseRequest.audio_in
// * ConverseRequest.audio_in
// * ConverseResponse.event_type.END_OF_UTTERANCE
// * ConverseResponse.result.microphone_mode.DIALOG_FOLLOW_ON
// * ConverseResponse.audio_out
// * ConverseResponse.audio_out
// * ConverseResponse.audio_out
//
// The user then says *bagels* and the assistant responds
// *OK, I've added bagels to your shopping list*. This is sent as another gRPC
// connection call to the `Converse` method, again with streamed requests and
// responses, such as:
//
// * ConverseRequest.config
// * ConverseRequest.audio_in
// * ConverseRequest.audio_in
// * ConverseRequest.audio_in
// * ConverseResponse.event_type.END_OF_UTTERANCE
// * ConverseResponse.result.microphone_mode.CLOSE_MICROPHONE
// * ConverseResponse.audio_out
// * ConverseResponse.audio_out
// * ConverseResponse.audio_out
// * ConverseResponse.audio_out
//
// Although the precise order of responses is not guaranteed, sequential
// ConverseResponse.audio_out messages will always contain sequential portions
// of audio.
Converse(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_ConverseClient, error)
}
type embeddedAssistantClient struct {
cc *grpc.ClientConn
}
func NewEmbeddedAssistantClient(cc *grpc.ClientConn) EmbeddedAssistantClient {
return &embeddedAssistantClient{cc}
}
func (c *embeddedAssistantClient) Converse(ctx context.Context, opts ...grpc.CallOption) (EmbeddedAssistant_ConverseClient, error) {
stream, err := grpc.NewClientStream(ctx, &_EmbeddedAssistant_serviceDesc.Streams[0], c.cc, "/google.assistant.embedded.v1alpha1.EmbeddedAssistant/Converse", opts...)
if err != nil {
return nil, err
}
x := &embeddedAssistantConverseClient{stream}
return x, nil
}
type EmbeddedAssistant_ConverseClient interface {
Send(*ConverseRequest) error
Recv() (*ConverseResponse, error)
grpc.ClientStream
}
type embeddedAssistantConverseClient struct {
grpc.ClientStream
}
func (x *embeddedAssistantConverseClient) Send(m *ConverseRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *embeddedAssistantConverseClient) Recv() (*ConverseResponse, error) {
m := new(ConverseResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for EmbeddedAssistant service
type EmbeddedAssistantServer interface {
// Initiates or continues a conversation with the embedded assistant service.
// Each call performs one round-trip, sending an audio request to the service
// and receiving the audio response. Uses bidirectional streaming to receive
// results, such as the `END_OF_UTTERANCE` event, while sending audio.
//
// A conversation is one or more gRPC connections, each consisting of several
// streamed requests and responses.
// For example, the user says *Add to my shopping list* and the assistant
// responds *What do you want to add?*. The sequence of streamed requests and
// responses in the first gRPC message could be:
//
// * ConverseRequest.config
// * ConverseRequest.audio_in
// * ConverseRequest.audio_in
// * ConverseRequest.audio_in
// * ConverseRequest.audio_in
// * ConverseResponse.event_type.END_OF_UTTERANCE
// * ConverseResponse.result.microphone_mode.DIALOG_FOLLOW_ON
// * ConverseResponse.audio_out
// * ConverseResponse.audio_out
// * ConverseResponse.audio_out
//
// The user then says *bagels* and the assistant responds
// *OK, I've added bagels to your shopping list*. This is sent as another gRPC
// connection call to the `Converse` method, again with streamed requests and
// responses, such as:
//
// * ConverseRequest.config
// * ConverseRequest.audio_in
// * ConverseRequest.audio_in
// * ConverseRequest.audio_in
// * ConverseResponse.event_type.END_OF_UTTERANCE
// * ConverseResponse.result.microphone_mode.CLOSE_MICROPHONE
// * ConverseResponse.audio_out
// * ConverseResponse.audio_out
// * ConverseResponse.audio_out
// * ConverseResponse.audio_out
//
// Although the precise order of responses is not guaranteed, sequential
// ConverseResponse.audio_out messages will always contain sequential portions
// of audio.
Converse(EmbeddedAssistant_ConverseServer) error
}
func RegisterEmbeddedAssistantServer(s *grpc.Server, srv EmbeddedAssistantServer) {
s.RegisterService(&_EmbeddedAssistant_serviceDesc, srv)
}
func _EmbeddedAssistant_Converse_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(EmbeddedAssistantServer).Converse(&embeddedAssistantConverseServer{stream})
}
type EmbeddedAssistant_ConverseServer interface {
Send(*ConverseResponse) error
Recv() (*ConverseRequest, error)
grpc.ServerStream
}
type embeddedAssistantConverseServer struct {
grpc.ServerStream
}
func (x *embeddedAssistantConverseServer) Send(m *ConverseResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *embeddedAssistantConverseServer) Recv() (*ConverseRequest, error) {
m := new(ConverseRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
var _EmbeddedAssistant_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.assistant.embedded.v1alpha1.EmbeddedAssistant",
HandlerType: (*EmbeddedAssistantServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "Converse",
Handler: _EmbeddedAssistant_Converse_Handler,
ServerStreams: true,
ClientStreams: true,
},
},
Metadata: "google/assistant/embedded/v1alpha1/embedded_assistant.proto",
}
func init() {
proto.RegisterFile("google/assistant/embedded/v1alpha1/embedded_assistant.proto", fileDescriptor0)
}
var fileDescriptor0 = []byte{
// 892 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x51, 0x73, 0xdb, 0x44,
0x10, 0xb6, 0xec, 0xa6, 0xb5, 0xb7, 0x89, 0x2c, 0x5f, 0x33, 0x90, 0x49, 0x61, 0x60, 0xf4, 0xc0,
0x94, 0x02, 0x72, 0xe3, 0x30, 0x3c, 0x10, 0xe8, 0x8c, 0x63, 0x2b, 0xb1, 0xc1, 0x96, 0x3c, 0x67,
0xa7, 0xa5, 0x0c, 0xcc, 0xcd, 0x55, 0x3e, 0x1c, 0x81, 0x7d, 0x27, 0xa4, 0x73, 0xa6, 0xe1, 0x07,
0xf0, 0xd8, 0xe1, 0x95, 0x67, 0x7e, 0x11, 0xff, 0x88, 0xd1, 0x9d, 0xa4, 0xd8, 0x90, 0x42, 0x1c,
0x1e, 0x6f, 0xf7, 0xbe, 0x4f, 0xbb, 0xdf, 0x7e, 0xb7, 0x23, 0x38, 0x9a, 0x09, 0x31, 0x9b, 0xb3,
0x26, 0x4d, 0x92, 0x30, 0x91, 0x94, 0xcb, 0x26, 0x5b, 0xbc, 0x64, 0xd3, 0x29, 0x9b, 0x36, 0x2f,
0x0e, 0xe8, 0x3c, 0x3a, 0xa7, 0x07, 0x45, 0x84, 0x14, 0x97, 0x9c, 0x28, 0x16, 0x52, 0x20, 0x5b,
0x83, 0x9d, 0xab, 0x78, 0x7e, 0xd5, 0xc9, 0xc1, 0xfb, 0xef, 0xe4, 0x1f, 0x88, 0xc2, 0x26, 0xe5,
0x5c, 0x48, 0x2a, 0x43, 0xc1, 0x13, 0xcd, 0xb0, 0xff, 0x76, 0x96, 0x8d, 0xa3, 0xa0, 0x99, 0x48,
0x2a, 0x97, 0x59, 0xc2, 0xfe, 0xa3, 0x0c, 0x66, 0x47, 0xf0, 0x0b,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0xa8, 0x15, 0xab, 0x3d, 0xdb, 0xbb, 0x1f, 0x6f, 0xb2, 0x3c, 0x7a,
0x25, 0x5c, 0xcd, 0xf7, 0x79, 0xaa, 0x76, 0xac, 0x6c, 0xa3, 0x2c, 0xb0, 0xa1, 0xda, 0xda, 0x70,
0xa9, 0xda, 0x9a, 0xc3, 0xfe, 0x12, 0x6a, 0x45, 0xd1, 0x68, 0x1f, 0xde, 0x72, 0x9f, 0xb9, 0xde,
0x84, 0x4c, 0x5e, 0x8c, 0xae, 0x31, 0x89, 0xeb, 0x75, 0x89, 0x7f, 0x42, 0xce, 0x26, 0x13, 0x17,
0xb7, 0xbd, 0x8e, 0x6b, 0x19, 0xc7, 0x0f, 0xa0, 0xb1, 0x32, 0x0f, 0xad, 0x42, 0xeb, 0xb5, 0x01,
0x0d, 0x37, 0x2b, 0xa1, 0x9d, 0x17, 0x85, 0x2e, 0xa1, 0x9a, 0x57, 0x81, 0x0e, 0x37, 0xab, 0x59,
0xcd, 0x79, 0xff, 0xd3, 0xdb, 0x8c, 0xe4, 0x91, 0xf1, 0xc4, 0x38, 0xfe, 0xd5, 0x80, 0x0f, 0x02,
0xb1, 0xb8, 0x01, 0xfe, 0xd8, 0x2c, 0x0a, 0x1e, 0xa5, 0xff, 0x00, 0x23, 0xe3, 0xdb, 0xaf, 0x32,
0xd4, 0x4c, 0xcc, 0x29, 0x9f, 0x39, 0x22, 0x9e, 0x35, 0x67, 0x8c, 0xab, 0x3f, 0x84, 0xa6, 0x4e,
0xd1, 0x28, 0x4c, 0xfe, 0xed, 0xe7, 0xe5, 0x28, 0x8f, 0xbc, 0xbc, 0xab, 0x60, 0x87, 0x7f, 0x05,
0x00, 0x00, 0xff, 0xff, 0xec, 0x7a, 0x68, 0xfa, 0xf2, 0x08, 0x00, 0x00,
}

View File

@@ -1065,11 +1065,8 @@ type Document struct {
// The language of the document (if not specified, the language is
// automatically detected). Both ISO and BCP-47 language codes are
// accepted.<br>
// **Current Language Restrictions:**
//
// * Only English, Spanish, and Japanese textual content
// are supported, with the following additional restriction:
// * `analyzeSentiment` only supports English text.
// [Language Support](https://cloud.google.com/natural-language/docs/languages)
// lists currently supported languages for each API method.
// If the language (either specified by the caller or automatically detected)
// is not supported by the called API method, an `INVALID_ARGUMENT` error
// is returned.
@@ -1343,7 +1340,7 @@ type Sentiment struct {
// negative).
Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude" json:"magnitude,omitempty"`
// Sentiment score between -1.0 (negative sentiment) and 1.0
// (positive sentiment.)
// (positive sentiment).
Score float32 `protobuf:"fixed32,3,opt,name=score" json:"score,omitempty"`
}
@@ -1576,8 +1573,7 @@ func (m *TextSpan) GetBeginOffset() int32 {
// The sentiment analysis request message.
type AnalyzeSentimentRequest struct {
// Input document. Currently, `analyzeSentiment` only supports English text
// ([Document.language][google.cloud.language.v1.Document.language]="EN").
// Input document.
Document *Document `protobuf:"bytes,1,opt,name=document" json:"document,omitempty"`
// The encoding type used by the API to calculate sentence offsets.
EncodingType EncodingType `protobuf:"varint,2,opt,name=encoding_type,json=encodingType,enum=google.cloud.language.v1.EncodingType" json:"encoding_type,omitempty"`
@@ -1608,7 +1604,7 @@ type AnalyzeSentimentResponse struct {
DocumentSentiment *Sentiment `protobuf:"bytes,1,opt,name=document_sentiment,json=documentSentiment" json:"document_sentiment,omitempty"`
// The language of the text, which will be the same as the language specified
// in the request or, if not specified, the automatically-detected language.
// See `Document.language` field for more details.
// See [Document.language][google.cloud.language.v1.Document.language] field for more details.
Language string `protobuf:"bytes,2,opt,name=language" json:"language,omitempty"`
// The sentiment for all the sentences in the document.
Sentences []*Sentence `protobuf:"bytes,3,rep,name=sentences" json:"sentences,omitempty"`
@@ -1673,7 +1669,7 @@ type AnalyzeEntitiesResponse struct {
Entities []*Entity `protobuf:"bytes,1,rep,name=entities" json:"entities,omitempty"`
// The language of the text, which will be the same as the language specified
// in the request or, if not specified, the automatically-detected language.
// See `Document.language` field for more details.
// See [Document.language][google.cloud.language.v1.Document.language] field for more details.
Language string `protobuf:"bytes,2,opt,name=language" json:"language,omitempty"`
}
@@ -1731,7 +1727,7 @@ type AnalyzeSyntaxResponse struct {
Tokens []*Token `protobuf:"bytes,2,rep,name=tokens" json:"tokens,omitempty"`
// The language of the text, which will be the same as the language specified
// in the request or, if not specified, the automatically-detected language.
// See `Document.language` field for more details.
// See [Document.language][google.cloud.language.v1.Document.language] field for more details.
Language string `protobuf:"bytes,3,opt,name=language" json:"language,omitempty"`
}
@@ -1855,7 +1851,7 @@ type AnnotateTextResponse struct {
DocumentSentiment *Sentiment `protobuf:"bytes,4,opt,name=document_sentiment,json=documentSentiment" json:"document_sentiment,omitempty"`
// The language of the text, which will be the same as the language specified
// in the request or, if not specified, the automatically-detected language.
// See `Document.language` field for more details.
// See [Document.language][google.cloud.language.v1.Document.language] field for more details.
Language string `protobuf:"bytes,5,opt,name=language" json:"language,omitempty"`
}
@@ -1950,8 +1946,9 @@ const _ = grpc.SupportPackageIsVersion4
type LanguageServiceClient interface {
// Analyzes the sentiment of the provided text.
AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error)
// Finds named entities (currently finds proper names) in the text,
// entity types, salience, mentions for each entity, and other properties.
// Finds named entities (currently proper names and common nouns) in the text
// along with entity types, salience, mentions for each entity, and
// other properties.
AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error)
// Analyzes the syntax of the text and provides sentence boundaries and
// tokenization along with part of speech tags, dependency trees, and other
@@ -2011,8 +2008,9 @@ func (c *languageServiceClient) AnnotateText(ctx context.Context, in *AnnotateTe
type LanguageServiceServer interface {
// Analyzes the sentiment of the provided text.
AnalyzeSentiment(context.Context, *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error)
// Finds named entities (currently finds proper names) in the text,
// entity types, salience, mentions for each entity, and other properties.
// Finds named entities (currently proper names and common nouns) in the text
// along with entity types, salience, mentions for each entity, and
// other properties.
AnalyzeEntities(context.Context, *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error)
// Analyzes the syntax of the text and provides sentence boundaries and
// tokenization along with part of speech tags, dependency trees, and other

View File

@@ -1065,11 +1065,8 @@ type Document struct {
// The language of the document (if not specified, the language is
// automatically detected). Both ISO and BCP-47 language codes are
// accepted.<br>
// **Current Language Restrictions:**
//
// * Only English, Spanish, and Japanese textual content
// are supported, with the following additional restriction:
// * `analyzeSentiment` only supports English text.
// [Language Support](https://cloud.google.com/natural-language/docs/languages)
// lists currently supported languages for each API method.
// If the language (either specified by the caller or automatically detected)
// is not supported by the called API method, an `INVALID_ARGUMENT` error
// is returned.
@@ -1347,7 +1344,7 @@ type Sentiment struct {
// negative).
Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude" json:"magnitude,omitempty"`
// Sentiment score between -1.0 (negative sentiment) and 1.0
// (positive sentiment.)
// (positive sentiment).
Score float32 `protobuf:"fixed32,3,opt,name=score" json:"score,omitempty"`
}
@@ -1583,8 +1580,7 @@ func (m *TextSpan) GetBeginOffset() int32 {
// The sentiment analysis request message.
type AnalyzeSentimentRequest struct {
// Input document. Currently, `analyzeSentiment` only supports English text
// ([Document.language][google.cloud.language.v1beta1.Document.language]="EN").
// Input document.
Document *Document `protobuf:"bytes,1,opt,name=document" json:"document,omitempty"`
// The encoding type used by the API to calculate sentence offsets for the
// sentence sentiment.
@@ -1616,6 +1612,7 @@ type AnalyzeSentimentResponse struct {
DocumentSentiment *Sentiment `protobuf:"bytes,1,opt,name=document_sentiment,json=documentSentiment" json:"document_sentiment,omitempty"`
// The language of the text, which will be the same as the language specified
// in the request or, if not specified, the automatically-detected language.
// See [Document.language][google.cloud.language.v1beta1.Document.language] field for more details.
Language string `protobuf:"bytes,2,opt,name=language" json:"language,omitempty"`
// The sentiment for all the sentences in the document.
Sentences []*Sentence `protobuf:"bytes,3,rep,name=sentences" json:"sentences,omitempty"`
@@ -1957,8 +1954,9 @@ const _ = grpc.SupportPackageIsVersion4
type LanguageServiceClient interface {
// Analyzes the sentiment of the provided text.
AnalyzeSentiment(ctx context.Context, in *AnalyzeSentimentRequest, opts ...grpc.CallOption) (*AnalyzeSentimentResponse, error)
// Finds named entities (currently finds proper names) in the text,
// entity types, salience, mentions for each entity, and other properties.
// Finds named entities (currently proper names and common nouns) in the text
// along with entity types, salience, mentions for each entity, and
// other properties.
AnalyzeEntities(ctx context.Context, in *AnalyzeEntitiesRequest, opts ...grpc.CallOption) (*AnalyzeEntitiesResponse, error)
// Analyzes the syntax of the text and provides sentence boundaries and
// tokenization along with part of speech tags, dependency trees, and other
@@ -2018,8 +2016,9 @@ func (c *languageServiceClient) AnnotateText(ctx context.Context, in *AnnotateTe
type LanguageServiceServer interface {
// Analyzes the sentiment of the provided text.
AnalyzeSentiment(context.Context, *AnalyzeSentimentRequest) (*AnalyzeSentimentResponse, error)
// Finds named entities (currently finds proper names) in the text,
// entity types, salience, mentions for each entity, and other properties.
// Finds named entities (currently proper names and common nouns) in the text
// along with entity types, salience, mentions for each entity, and
// other properties.
AnalyzeEntities(context.Context, *AnalyzeEntitiesRequest) (*AnalyzeEntitiesResponse, error)
// Analyzes the syntax of the text and provides sentence boundaries and
// tokenization along with part of speech tags, dependency trees, and other

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -31,7 +31,8 @@ import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
import google_protobuf3 "github.com/golang/protobuf/ptypes/timestamp"
import _ "github.com/golang/protobuf/ptypes/duration"
import google_protobuf4 "github.com/golang/protobuf/ptypes/timestamp"
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
import (
@@ -114,16 +115,26 @@ type StreamingRecognizeResponse_EndpointerType int32
const (
// No endpointer event specified.
StreamingRecognizeResponse_ENDPOINTER_EVENT_UNSPECIFIED StreamingRecognizeResponse_EndpointerType = 0
// Speech has been detected in the audio stream.
// Speech has been detected in the audio stream, and the service is
// beginning to process it.
StreamingRecognizeResponse_START_OF_SPEECH StreamingRecognizeResponse_EndpointerType = 1
// Speech has ceased to be detected in the audio stream.
// Speech has ceased to be detected in the audio stream. (For example, the
// user may have paused after speaking.) If `single_utterance` is `false`,
// the service will continue to process audio, and if subsequent speech is
// detected, will send another START_OF_SPEECH event.
StreamingRecognizeResponse_END_OF_SPEECH StreamingRecognizeResponse_EndpointerType = 2
// The end of the audio stream has been reached. and it is being processed.
// This event is sent after the client has half-closed the input stream gRPC
// connection and the server has received all of the audio. (The server may
// still be processing the audio and may subsequently return additional
// results.)
StreamingRecognizeResponse_END_OF_AUDIO StreamingRecognizeResponse_EndpointerType = 3
// This event is only sent when `single_utterance` is `true`. It indicates
// that the server has detected the end of the user's speech utterance and
// expects no additional speech. Therefore, the server will not process
// additional audio. The client should stop sending additional audio data.
// additional audio (although it may subsequently return additional
// results). The client should stop sending additional audio data,
// half-close the gRPC connection, and wait for any additional results
// until the server closes the gRPC connection.
StreamingRecognizeResponse_END_OF_UTTERANCE StreamingRecognizeResponse_EndpointerType = 4
)
@@ -149,13 +160,12 @@ func (StreamingRecognizeResponse_EndpointerType) EnumDescriptor() ([]byte, []int
return fileDescriptor0, []int{10, 0}
}
// `SyncRecognizeRequest` is the top-level message sent by the client for
// the `SyncRecognize` method.
// The top-level message sent by the client for the `SyncRecognize` method.
type SyncRecognizeRequest struct {
// [Required] The `config` message provides information to the recognizer
// that specifies how to process the request.
// *Required* Provides information to the recognizer that specifies how to
// process the request.
Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
// [Required] The audio data to be recognized.
// *Required* The audio data to be recognized.
Audio *RecognitionAudio `protobuf:"bytes,2,opt,name=audio" json:"audio,omitempty"`
}
@@ -178,13 +188,12 @@ func (m *SyncRecognizeRequest) GetAudio() *RecognitionAudio {
return nil
}
// `AsyncRecognizeRequest` is the top-level message sent by the client for
// the `AsyncRecognize` method.
// The top-level message sent by the client for the `AsyncRecognize` method.
type AsyncRecognizeRequest struct {
// [Required] The `config` message provides information to the recognizer
// that specifies how to process the request.
// *Required* Provides information to the recognizer that specifies how to
// process the request.
Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
// [Required] The audio data to be recognized.
// *Required* The audio data to be recognized.
Audio *RecognitionAudio `protobuf:"bytes,2,opt,name=audio" json:"audio,omitempty"`
}
@@ -207,11 +216,11 @@ func (m *AsyncRecognizeRequest) GetAudio() *RecognitionAudio {
return nil
}
// `StreamingRecognizeRequest` is the top-level message sent by the client for
// the `StreamingRecognize`. Multiple `StreamingRecognizeRequest` messages are
// sent. The first message must contain a `streaming_config` message and must
// not contain `audio` data. All subsequent messages must contain `audio` data
// and must not contain a `streaming_config` message.
// The top-level message sent by the client for the `StreamingRecognize` method.
// Multiple `StreamingRecognizeRequest` messages are sent. The first message
// must contain a `streaming_config` message and must not contain `audio` data.
// All subsequent messages must contain `audio` data and must not contain a
// `streaming_config` message.
type StreamingRecognizeRequest struct {
// Types that are valid to be assigned to StreamingRequest:
// *StreamingRecognizeRequest_StreamingConfig
@@ -329,24 +338,24 @@ func _StreamingRecognizeRequest_OneofSizer(msg proto.Message) (n int) {
return n
}
// The `StreamingRecognitionConfig` message provides information to the
// recognizer that specifies how to process the request.
// Provides information to the recognizer that specifies how to process the
// request.
type StreamingRecognitionConfig struct {
// [Required] The `config` message provides information to the recognizer
// that specifies how to process the request.
// *Required* Provides information to the recognizer that specifies how to
// process the request.
Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
// [Optional] If `false` or omitted, the recognizer will perform continuous
// recognition (continuing to process audio even if the user pauses speaking)
// until the client closes the output stream (gRPC API) or when the maximum
// time limit has been reached. Multiple `StreamingRecognitionResult`s with
// the `is_final` flag set to `true` may be returned.
// *Optional* If `false` or omitted, the recognizer will perform continuous
// recognition (continuing to wait for and process audio even if the user
// pauses speaking) until the client closes the input stream (gRPC API) or
// until the maximum time limit has been reached. May return multiple
// `StreamingRecognitionResult`s with the `is_final` flag set to `true`.
//
// If `true`, the recognizer will detect a single spoken utterance. When it
// detects that the user has paused or stopped speaking, it will return an
// `END_OF_UTTERANCE` event and cease recognition. It will return no more than
// one `StreamingRecognitionResult` with the `is_final` flag set to `true`.
SingleUtterance bool `protobuf:"varint,2,opt,name=single_utterance,json=singleUtterance" json:"single_utterance,omitempty"`
// [Optional] If `true`, interim results (tentative hypotheses) may be
// *Optional* If `true`, interim results (tentative hypotheses) may be
// returned as they become available (these interim results are indicated with
// the `is_final=false` flag).
// If `false` or omitted, only `is_final=true` result(s) are returned.
@@ -379,36 +388,36 @@ func (m *StreamingRecognitionConfig) GetInterimResults() bool {
return false
}
// The `RecognitionConfig` message provides information to the recognizer
// that specifies how to process the request.
// Provides information to the recognizer that specifies how to process the
// request.
type RecognitionConfig struct {
// [Required] Encoding of audio data sent in all `RecognitionAudio` messages.
// *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
Encoding RecognitionConfig_AudioEncoding `protobuf:"varint,1,opt,name=encoding,enum=google.cloud.speech.v1beta1.RecognitionConfig_AudioEncoding" json:"encoding,omitempty"`
// [Required] Sample rate in Hertz of the audio data sent in all
// *Required* Sample rate in Hertz of the audio data sent in all
// `RecognitionAudio` messages. Valid values are: 8000-48000.
// 16000 is optimal. For best results, set the sampling rate of the audio
// source to 16000 Hz. If that's not possible, use the native sample rate of
// the audio source (instead of re-sampling).
SampleRate int32 `protobuf:"varint,2,opt,name=sample_rate,json=sampleRate" json:"sample_rate,omitempty"`
// [Optional] The language of the supplied audio as a BCP-47 language tag.
// *Optional* The language of the supplied audio as a BCP-47 language tag.
// Example: "en-GB" https://www.rfc-editor.org/rfc/bcp/bcp47.txt
// If omitted, defaults to "en-US". See
// [Language Support](https://cloud.google.com/speech/docs/best-practices#language_support)
// [Language Support](https://cloud.google.com/speech/docs/languages)
// for a list of the currently supported language codes.
LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode" json:"language_code,omitempty"`
// [Optional] Maximum number of recognition hypotheses to be returned.
// *Optional* Maximum number of recognition hypotheses to be returned.
// Specifically, the maximum number of `SpeechRecognitionAlternative` messages
// within each `SpeechRecognitionResult`.
// The server may return fewer than `max_alternatives`.
// Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of
// `1`. If omitted, defaults to `1`.
// one. If omitted, will return a maximum of one.
MaxAlternatives int32 `protobuf:"varint,4,opt,name=max_alternatives,json=maxAlternatives" json:"max_alternatives,omitempty"`
// [Optional] If set to `true`, the server will attempt to filter out
// *Optional* If set to `true`, the server will attempt to filter out
// profanities, replacing all but the initial character in each filtered word
// with asterisks, e.g. "f***". If set to `false` or omitted, profanities
// won't be filtered out.
ProfanityFilter bool `protobuf:"varint,5,opt,name=profanity_filter,json=profanityFilter" json:"profanity_filter,omitempty"`
// [Optional] A means to provide context to assist the speech recognition.
// *Optional* A means to provide context to assist the speech recognition.
SpeechContext *SpeechContext `protobuf:"bytes,6,opt,name=speech_context,json=speechContext" json:"speech_context,omitempty"`
}
@@ -462,7 +471,7 @@ func (m *RecognitionConfig) GetSpeechContext() *SpeechContext {
// Provides "hints" to the speech recognizer to favor specific words and phrases
// in the results.
type SpeechContext struct {
// [Optional] A list of strings containing words and phrases "hints" so that
// *Optional* A list of strings containing words and phrases "hints" so that
// the speech recognition is more likely to recognize them. This can be used
// to improve the accuracy for specific words and phrases, for example, if
// specific commands are typically spoken by the user. This can also be used
@@ -600,11 +609,11 @@ func _RecognitionAudio_OneofSizer(msg proto.Message) (n int) {
return n
}
// `SyncRecognizeResponse` is the only message returned to the client by
// `SyncRecognize`. It contains the result as zero or more sequential
// `SpeechRecognitionResult` messages.
// The only message returned to the client by `SyncRecognize`. It
// contains the result as zero or more sequential `SpeechRecognitionResult`
// messages.
type SyncRecognizeResponse struct {
// [Output-only] Sequential list of transcription results corresponding to
// *Output-only* Sequential list of transcription results corresponding to
// sequential portions of audio.
Results []*SpeechRecognitionResult `protobuf:"bytes,2,rep,name=results" json:"results,omitempty"`
}
@@ -621,13 +630,12 @@ func (m *SyncRecognizeResponse) GetResults() []*SpeechRecognitionResult {
return nil
}
// `AsyncRecognizeResponse` is the only message returned to the client by
// `AsyncRecognize`. It contains the result as zero or more sequential
// `SpeechRecognitionResult` messages. It is included in the `result.response`
// field of the `Operation` returned by the `GetOperation` call of the
// `google::longrunning::Operations` service.
// The only message returned to the client by `AsyncRecognize`. It contains the
// result as zero or more sequential `SpeechRecognitionResult` messages. It is
// included in the `result.response` field of the `Operation` returned by the
// `GetOperation` call of the `google::longrunning::Operations` service.
type AsyncRecognizeResponse struct {
// [Output-only] Sequential list of transcription results corresponding to
// *Output-only* Sequential list of transcription results corresponding to
// sequential portions of audio.
Results []*SpeechRecognitionResult `protobuf:"bytes,2,rep,name=results" json:"results,omitempty"`
}
@@ -644,18 +652,17 @@ func (m *AsyncRecognizeResponse) GetResults() []*SpeechRecognitionResult {
return nil
}
// `AsyncRecognizeMetadata` describes the progress of a long-running
// `AsyncRecognize` call. It is included in the `metadata` field of the
// `Operation` returned by the `GetOperation` call of the
// `google::longrunning::Operations` service.
// Describes the progress of a long-running `AsyncRecognize` call. It is
// included in the `metadata` field of the `Operation` returned by the
// `GetOperation` call of the `google::longrunning::Operations` service.
type AsyncRecognizeMetadata struct {
// Approximate percentage of audio processed thus far. Guaranteed to be 100
// when the audio is fully processed and the results are available.
ProgressPercent int32 `protobuf:"varint,1,opt,name=progress_percent,json=progressPercent" json:"progress_percent,omitempty"`
// Time when the request was received.
StartTime *google_protobuf3.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
StartTime *google_protobuf4.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
// Time of the most recent processing update.
LastUpdateTime *google_protobuf3.Timestamp `protobuf:"bytes,3,opt,name=last_update_time,json=lastUpdateTime" json:"last_update_time,omitempty"`
LastUpdateTime *google_protobuf4.Timestamp `protobuf:"bytes,3,opt,name=last_update_time,json=lastUpdateTime" json:"last_update_time,omitempty"`
}
func (m *AsyncRecognizeMetadata) Reset() { *m = AsyncRecognizeMetadata{} }
@@ -670,14 +677,14 @@ func (m *AsyncRecognizeMetadata) GetProgressPercent() int32 {
return 0
}
func (m *AsyncRecognizeMetadata) GetStartTime() *google_protobuf3.Timestamp {
func (m *AsyncRecognizeMetadata) GetStartTime() *google_protobuf4.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
func (m *AsyncRecognizeMetadata) GetLastUpdateTime() *google_protobuf3.Timestamp {
func (m *AsyncRecognizeMetadata) GetLastUpdateTime() *google_protobuf4.Timestamp {
if m != nil {
return m.LastUpdateTime
}
@@ -737,24 +744,27 @@ func (m *AsyncRecognizeMetadata) GetLastUpdateTime() *google_protobuf3.Timestamp
// change, the second portion has a low stability and is very likely to
// change. A UI designer might choose to show only high stability `results`.
//
// - The specific `stability` and `confidence` values shown above are only for
// illustrative purposes. Actual values may vary.
//
// - The `result_index` indicates the portion of audio that has had final
// results returned, and is no longer being processed. For example, the
// `results` in #6 and later correspond to the portion of audio after
// "to be or not to be".
type StreamingRecognizeResponse struct {
// [Output-only] If set, returns a [google.rpc.Status][] message that
// *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
// specifies the error for the operation.
Error *google_rpc.Status `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
// [Output-only] This repeated list contains zero or more results that
// *Output-only* This repeated list contains zero or more results that
// correspond to consecutive portions of the audio currently being processed.
// It contains zero or one `is_final=true` result (the newly settled portion),
// followed by zero or more `is_final=false` results.
Results []*StreamingRecognitionResult `protobuf:"bytes,2,rep,name=results" json:"results,omitempty"`
// [Output-only] Indicates the lowest index in the `results` array that has
// *Output-only* Indicates the lowest index in the `results` array that has
// changed. The repeated `StreamingRecognitionResult` results overwrite past
// results at this index and higher.
ResultIndex int32 `protobuf:"varint,3,opt,name=result_index,json=resultIndex" json:"result_index,omitempty"`
// [Output-only] Indicates the type of endpointer event.
// *Output-only* Indicates the type of endpointer event.
EndpointerType StreamingRecognizeResponse_EndpointerType `protobuf:"varint,4,opt,name=endpointer_type,json=endpointerType,enum=google.cloud.speech.v1beta1.StreamingRecognizeResponse_EndpointerType" json:"endpointer_type,omitempty"`
}
@@ -794,22 +804,20 @@ func (m *StreamingRecognizeResponse) GetEndpointerType() StreamingRecognizeRespo
// A streaming speech recognition result corresponding to a portion of the audio
// that is currently being processed.
type StreamingRecognitionResult struct {
// [Output-only] May contain one or more recognition hypotheses (up to the
// *Output-only* May contain one or more recognition hypotheses (up to the
// maximum specified in `max_alternatives`).
Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives" json:"alternatives,omitempty"`
// [Output-only] If `false`, this `StreamingRecognitionResult` represents an
// *Output-only* If `false`, this `StreamingRecognitionResult` represents an
// interim result that may change. If `true`, this is the final time the
// speech service will return this particular `StreamingRecognitionResult`,
// the recognizer will not return any further hypotheses for this portion of
// the transcript and corresponding audio.
IsFinal bool `protobuf:"varint,2,opt,name=is_final,json=isFinal" json:"is_final,omitempty"`
// [Output-only] An estimate of the probability that the recognizer will not
// *Output-only* An estimate of the likelihood that the recognizer will not
// change its guess about this interim result. Values range from 0.0
// (completely unstable) to 1.0 (completely stable). Note that this is not the
// same as `confidence`, which estimates the probability that a recognition
// result is correct.
// (completely unstable) to 1.0 (completely stable).
// This field is only provided for interim results (`is_final=false`).
// The default of 0.0 is a sentinel value indicating stability was not set.
// The default of 0.0 is a sentinel value indicating `stability` was not set.
Stability float32 `protobuf:"fixed32,3,opt,name=stability" json:"stability,omitempty"`
}
@@ -841,7 +849,7 @@ func (m *StreamingRecognitionResult) GetStability() float32 {
// A speech recognition result corresponding to a portion of the audio.
type SpeechRecognitionResult struct {
// [Output-only] May contain one or more recognition hypotheses (up to the
// *Output-only* May contain one or more recognition hypotheses (up to the
// maximum specified in `max_alternatives`).
Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives" json:"alternatives,omitempty"`
}
@@ -860,13 +868,15 @@ func (m *SpeechRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternat
// Alternative hypotheses (a.k.a. n-best list).
type SpeechRecognitionAlternative struct {
// [Output-only] Transcript text representing the words that the user spoke.
// *Output-only* Transcript text representing the words that the user spoke.
Transcript string `protobuf:"bytes,1,opt,name=transcript" json:"transcript,omitempty"`
// [Output-only] The confidence estimate between 0.0 and 1.0. A higher number
// means the system is more confident that the recognition is correct.
// This field is typically provided only for the top hypothesis, and only for
// `is_final=true` results.
// The default of 0.0 is a sentinel value indicating confidence was not set.
// *Output-only* The confidence estimate between 0.0 and 1.0. A higher number
// indicates an estimated greater likelihood that the recognized words are
// correct. This field is typically provided only for the top hypothesis, and
// only for `is_final=true` results. Clients should not rely on the
// `confidence` field as it is not guaranteed to be accurate, or even set, in
// any of the results.
// The default of 0.0 is a sentinel value indicating `confidence` was not set.
Confidence float32 `protobuf:"fixed32,2,opt,name=confidence" json:"confidence,omitempty"`
}
@@ -919,15 +929,17 @@ const _ = grpc.SupportPackageIsVersion4
// Client API for Speech service
type SpeechClient interface {
// Perform synchronous speech-recognition: receive results after all audio
// Performs synchronous speech recognition: receive results after all audio
// has been sent and processed.
SyncRecognize(ctx context.Context, in *SyncRecognizeRequest, opts ...grpc.CallOption) (*SyncRecognizeResponse, error)
// Perform asynchronous speech-recognition: receive results via the
// google.longrunning.Operations interface. Returns either an
// Performs asynchronous speech recognition: receive results via the
// [google.longrunning.Operations]
// (/speech/reference/rest/v1beta1/operations#Operation)
// interface. Returns either an
// `Operation.error` or an `Operation.response` which contains
// an `AsyncRecognizeResponse` message.
AsyncRecognize(ctx context.Context, in *AsyncRecognizeRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
// Perform bidirectional streaming speech-recognition: receive results while
// Performs bidirectional streaming speech recognition: receive results while
// sending audio. This method is only available via the gRPC API (not REST).
StreamingRecognize(ctx context.Context, opts ...grpc.CallOption) (Speech_StreamingRecognizeClient, error)
}
@@ -992,15 +1004,17 @@ func (x *speechStreamingRecognizeClient) Recv() (*StreamingRecognizeResponse, er
// Server API for Speech service
type SpeechServer interface {
// Perform synchronous speech-recognition: receive results after all audio
// Performs synchronous speech recognition: receive results after all audio
// has been sent and processed.
SyncRecognize(context.Context, *SyncRecognizeRequest) (*SyncRecognizeResponse, error)
// Perform asynchronous speech-recognition: receive results via the
// google.longrunning.Operations interface. Returns either an
// Performs asynchronous speech recognition: receive results via the
// [google.longrunning.Operations]
// (/speech/reference/rest/v1beta1/operations#Operation)
// interface. Returns either an
// `Operation.error` or an `Operation.response` which contains
// an `AsyncRecognizeResponse` message.
AsyncRecognize(context.Context, *AsyncRecognizeRequest) (*google_longrunning.Operation, error)
// Perform bidirectional streaming speech-recognition: receive results while
// Performs bidirectional streaming speech recognition: receive results while
// sending audio. This method is only available via the gRPC API (not REST).
StreamingRecognize(Speech_StreamingRecognizeServer) error
}
@@ -1098,81 +1112,81 @@ var _Speech_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("google/cloud/speech/v1beta1/cloud_speech.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 1206 bytes of a gzipped FileDescriptorProto
// 1214 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4d, 0x6f, 0x1b, 0xc5,
0x1b, 0xcf, 0xda, 0x71, 0x5e, 0x9e, 0xd8, 0xce, 0x76, 0xda, 0xfe, 0xeb, 0xfa, 0x9f, 0xb6, 0x61,
0x2b, 0x44, 0x5a, 0x89, 0x35, 0x09, 0xa8, 0x55, 0x0b, 0x17, 0xc7, 0x59, 0x13, 0x4b, 0x8d, 0x93,
0x4e, 0x1c, 0x8a, 0x90, 0x60, 0x35, 0x59, 0x4f, 0xb6, 0x2b, 0xd9, 0x33, 0xcb, 0xcc, 0x6c, 0x95,
0x70, 0xec, 0x8d, 0x0b, 0x17, 0xbe, 0x00, 0x12, 0x7c, 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0x7c, 0xe5, 0xdf, 0x9d, 0x0f, 0x8d, 0x78, 0x38, 0xa7, 0xad, 0xdf,
0xff, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x25, 0x0d, 0x06, 0x48, 0x1b, 0x0d, 0x00, 0x00,
}

View File

@@ -0,0 +1,865 @@
// Code generated by protoc-gen-go.
// source: google/cloud/support/common.proto
// DO NOT EDIT!
/*
Package common is a generated protocol buffer package.
It is generated from these files:
google/cloud/support/common.proto
It has these top-level messages:
SupportAccount
Case
CustomerIssue
SupportRole
Comment
IssueTaxonomy
*/
package common
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/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
// The current state of this SupportAccount.
type SupportAccount_State int32
const (
// Account is in an unknown state.
SupportAccount_STATE_UNSPECIFIED SupportAccount_State = 0
// Account is in an active state.
SupportAccount_ACTIVE SupportAccount_State = 1
// Account has been created but is being provisioned in support systems.
SupportAccount_PENDING SupportAccount_State = 2
// Account deletion has been requested by the user.
SupportAccount_PENDING_DELETION SupportAccount_State = 3
)
var SupportAccount_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "ACTIVE",
2: "PENDING",
3: "PENDING_DELETION",
}
var SupportAccount_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"PENDING": 2,
"PENDING_DELETION": 3,
}
func (x SupportAccount_State) String() string {
return proto.EnumName(SupportAccount_State_name, int32(x))
}
func (SupportAccount_State) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
// Pricing model applicable to this support account.
type SupportAccount_PricingModel int32
const (
// This account is subscribed to an unknown pricing model.
SupportAccount_PRICING_MODEL_UNKNOWN SupportAccount_PricingModel = 0
// Package based pricing (Platinum, Gold, Silver, Bronze).
SupportAccount_PACKAGES SupportAccount_PricingModel = 1
// Support charges are calculated based on user seats a.k.a,
// "Pick Your Team" model.
SupportAccount_USER_ROLES SupportAccount_PricingModel = 2
)
var SupportAccount_PricingModel_name = map[int32]string{
0: "PRICING_MODEL_UNKNOWN",
1: "PACKAGES",
2: "USER_ROLES",
}
var SupportAccount_PricingModel_value = map[string]int32{
"PRICING_MODEL_UNKNOWN": 0,
"PACKAGES": 1,
"USER_ROLES": 2,
}
func (x SupportAccount_PricingModel) String() string {
return proto.EnumName(SupportAccount_PricingModel_name, int32(x))
}
func (SupportAccount_PricingModel) EnumDescriptor() ([]byte, []int) {
return fileDescriptor0, []int{0, 1}
}
// The case priority with P0 being the most urgent and P4 the least.
type Case_Priority int32
const (
// Priority is undefined or has not been set yet.
Case_PRIORITY_UNSPECIFIED Case_Priority = 0
// Extreme impact on a production service - Service is hard down.
Case_P0 Case_Priority = 1
// Critical impact on a production service - Service is currently unusable.
Case_P1 Case_Priority = 2
// Severe impact on a production service - Service is usable but greatly
// impaired.
Case_P2 Case_Priority = 3
// Medium impact on a production service - Service is available, but
// moderately impaired.
Case_P3 Case_Priority = 4
// General questions or minor issues - Production service is fully
// available.
Case_P4 Case_Priority = 5
)
var Case_Priority_name = map[int32]string{
0: "PRIORITY_UNSPECIFIED",
1: "P0",
2: "P1",
3: "P2",
4: "P3",
5: "P4",
}
var Case_Priority_value = map[string]int32{
"PRIORITY_UNSPECIFIED": 0,
"P0": 1,
"P1": 2,
"P2": 3,
"P3": 4,
"P4": 5,
}
func (x Case_Priority) String() string {
return proto.EnumName(Case_Priority_name, int32(x))
}
func (Case_Priority) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
// The state of a case.
type Case_State int32
const (
// Case is in an unknown state.
Case_STATE_UNSPECIFIED Case_State = 0
// Case has been created but no one is assigned to work on it yet.
Case_NEW Case_State = 1
// Case has been assigned to a support agent.
Case_ASSIGNED Case_State = 2
// A support agent is currently investigating the case.
Case_IN_PROGRESS_GOOGLE_SUPPORT Case_State = 3
// Case has been forwarded to product team for further investigation.
Case_IN_PROGRESS_GOOGLE_ENG Case_State = 4
// Case is under investigation and relates to a known issue.
Case_IN_PROGRESS_KNOWN_ISSUE Case_State = 5
// Case is waiting for a response from the customer.
Case_WAITING_FOR_CUSTOMER_RESPONSE Case_State = 6
// A solution has been offered for the case but it isn't closed yet.
Case_SOLUTION_OFFERED Case_State = 7
// Cases has been fully resolved and is in a closed state.
Case_CLOSED Case_State = 8
)
var Case_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "NEW",
2: "ASSIGNED",
3: "IN_PROGRESS_GOOGLE_SUPPORT",
4: "IN_PROGRESS_GOOGLE_ENG",
5: "IN_PROGRESS_KNOWN_ISSUE",
6: "WAITING_FOR_CUSTOMER_RESPONSE",
7: "SOLUTION_OFFERED",
8: "CLOSED",
}
var Case_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"NEW": 1,
"ASSIGNED": 2,
"IN_PROGRESS_GOOGLE_SUPPORT": 3,
"IN_PROGRESS_GOOGLE_ENG": 4,
"IN_PROGRESS_KNOWN_ISSUE": 5,
"WAITING_FOR_CUSTOMER_RESPONSE": 6,
"SOLUTION_OFFERED": 7,
"CLOSED": 8,
}
func (x Case_State) String() string {
return proto.EnumName(Case_State_name, int32(x))
}
func (Case_State) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 1} }
// The status of a customer issue.
type CustomerIssue_IssueState int32
const (
// Issue in an unknown state.
CustomerIssue_ISSUE_STATE_UNSPECIFIED CustomerIssue_IssueState = 0
// Issue is currently open but the work on it has not been started.
CustomerIssue_OPEN CustomerIssue_IssueState = 1
// Issue is currently being worked on.
CustomerIssue_IN_PROGRESS CustomerIssue_IssueState = 2
// Issue is fixed.
CustomerIssue_FIXED CustomerIssue_IssueState = 3
// Issue has been marked as invalid.
CustomerIssue_WONT_FIX CustomerIssue_IssueState = 4
// Issue verified and in production.
CustomerIssue_VERIFIED CustomerIssue_IssueState = 5
)
var CustomerIssue_IssueState_name = map[int32]string{
0: "ISSUE_STATE_UNSPECIFIED",
1: "OPEN",
2: "IN_PROGRESS",
3: "FIXED",
4: "WONT_FIX",
5: "VERIFIED",
}
var CustomerIssue_IssueState_value = map[string]int32{
"ISSUE_STATE_UNSPECIFIED": 0,
"OPEN": 1,
"IN_PROGRESS": 2,
"FIXED": 3,
"WONT_FIX": 4,
"VERIFIED": 5,
}
func (x CustomerIssue_IssueState) String() string {
return proto.EnumName(CustomerIssue_IssueState_name, int32(x))
}
func (CustomerIssue_IssueState) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
// A role which determines the support resources and features a user might
// get access to.
type SupportRole_Role int32
const (
// An unknown role.
SupportRole_ROLE_UNSPECIFIED SupportRole_Role = 0
// The basic support role.
SupportRole_BASIC SupportRole_Role = 1
// The developer role.
SupportRole_DEVELOPER SupportRole_Role = 2
// The operation role.
SupportRole_OPERATION SupportRole_Role = 3
// The site reliability role.
SupportRole_SITE_RELIABILITY SupportRole_Role = 4
)
var SupportRole_Role_name = map[int32]string{
0: "ROLE_UNSPECIFIED",
1: "BASIC",
2: "DEVELOPER",
3: "OPERATION",
4: "SITE_RELIABILITY",
}
var SupportRole_Role_value = map[string]int32{
"ROLE_UNSPECIFIED": 0,
"BASIC": 1,
"DEVELOPER": 2,
"OPERATION": 3,
"SITE_RELIABILITY": 4,
}
func (x SupportRole_Role) String() string {
return proto.EnumName(SupportRole_Role_name, int32(x))
}
func (SupportRole_Role) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{3, 0} }
// A Google Cloud Platform account that identifies support eligibility for a
// Cloud resource. Currently the Cloud resource can only be an Organization
// but this might change in future.
type SupportAccount struct {
// The resource name for a support account in format
// `supportAccounts/{account_id}`.
// Output only.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Identifier for this entity that gets persisted in storage system. The
// resource name is populated using this field in format
// `supportAccounts/{account_id}`.
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
// The Cloud resource with which this support account is associated.
CloudResource string `protobuf:"bytes,3,opt,name=cloud_resource,json=cloudResource" json:"cloud_resource,omitempty"`
// A user friendly display name assigned to this support account.
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// Indicates the current state of an account.
State SupportAccount_State `protobuf:"varint,5,opt,name=state,enum=google.cloud.support.common.SupportAccount_State" json:"state,omitempty"`
// Time when this account was created.
// Output only.
CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
// The resource name of a billing account associated with this support
// account. For example, `billingAccounts/ABCDEF-012345-567890`.
BillingAccountName string `protobuf:"bytes,7,opt,name=billing_account_name,json=billingAccountName" json:"billing_account_name,omitempty"`
UnifyAccountId string `protobuf:"bytes,8,opt,name=unify_account_id,json=unifyAccountId" json:"unify_account_id,omitempty"`
// The PricingModel applicable to this support account.
PricingModel SupportAccount_PricingModel `protobuf:"varint,9,opt,name=pricing_model,json=pricingModel,enum=google.cloud.support.common.SupportAccount_PricingModel" json:"pricing_model,omitempty"`
}
func (m *SupportAccount) Reset() { *m = SupportAccount{} }
func (m *SupportAccount) String() string { return proto.CompactTextString(m) }
func (*SupportAccount) ProtoMessage() {}
func (*SupportAccount) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *SupportAccount) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *SupportAccount) GetAccountId() string {
if m != nil {
return m.AccountId
}
return ""
}
func (m *SupportAccount) GetCloudResource() string {
if m != nil {
return m.CloudResource
}
return ""
}
func (m *SupportAccount) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
func (m *SupportAccount) GetState() SupportAccount_State {
if m != nil {
return m.State
}
return SupportAccount_STATE_UNSPECIFIED
}
func (m *SupportAccount) GetCreateTime() *google_protobuf1.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *SupportAccount) GetBillingAccountName() string {
if m != nil {
return m.BillingAccountName
}
return ""
}
func (m *SupportAccount) GetUnifyAccountId() string {
if m != nil {
return m.UnifyAccountId
}
return ""
}
func (m *SupportAccount) GetPricingModel() SupportAccount_PricingModel {
if m != nil {
return m.PricingModel
}
return SupportAccount_PRICING_MODEL_UNKNOWN
}
// A support case created by the user.
type Case struct {
// The resource name for the Case in format
// `supportAccounts/{account_id}/cases/{case_id}`
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The short summary of the issue reported in this case.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The board description of issue provided with initial summary.
Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
// The product component for which this Case is reported.
Component string `protobuf:"bytes,4,opt,name=component" json:"component,omitempty"`
// The product subcomponent for which this Case is reported.
Subcomponent string `protobuf:"bytes,5,opt,name=subcomponent" json:"subcomponent,omitempty"`
// Timezone the client sending this request is in.
// It should be in a format IANA recognizes: https://www.iana.org/time-zone
// There is no additional validation done by the API.
ClientTimezone string `protobuf:"bytes,6,opt,name=client_timezone,json=clientTimezone" json:"client_timezone,omitempty"`
// The email addresses that can be copied to receive updates on this case.
// Users can specify a maximum of 10 email addresses.
CcAddresses []string `protobuf:"bytes,7,rep,name=cc_addresses,json=ccAddresses" json:"cc_addresses,omitempty"`
// The Google Cloud Platform project ID for which this case is created.
ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
// List of customer issues associated with this case.
Issues []*CustomerIssue `protobuf:"bytes,10,rep,name=issues" json:"issues,omitempty"`
// The current priority of this case.
Priority Case_Priority `protobuf:"varint,11,opt,name=priority,enum=google.cloud.support.common.Case_Priority" json:"priority,omitempty"`
// The current state of this case.
State Case_State `protobuf:"varint,12,opt,name=state,enum=google.cloud.support.common.Case_State" json:"state,omitempty"`
// Time when this case was created.
// Output only.
CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
// Time when this case was last updated.
// Output only.
UpdateTime *google_protobuf1.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime" json:"update_time,omitempty"`
// Email address of user who created this case.
// Output only. It is inferred from credentials supplied during case creation.
CreatorEmail string `protobuf:"bytes,15,opt,name=creator_email,json=creatorEmail" json:"creator_email,omitempty"`
// The issue category applicable to this case.
Category string `protobuf:"bytes,16,opt,name=category" json:"category,omitempty"`
}
func (m *Case) Reset() { *m = Case{} }
func (m *Case) String() string { return proto.CompactTextString(m) }
func (*Case) ProtoMessage() {}
func (*Case) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *Case) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Case) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
func (m *Case) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Case) GetComponent() string {
if m != nil {
return m.Component
}
return ""
}
func (m *Case) GetSubcomponent() string {
if m != nil {
return m.Subcomponent
}
return ""
}
func (m *Case) GetClientTimezone() string {
if m != nil {
return m.ClientTimezone
}
return ""
}
func (m *Case) GetCcAddresses() []string {
if m != nil {
return m.CcAddresses
}
return nil
}
func (m *Case) GetProjectId() string {
if m != nil {
return m.ProjectId
}
return ""
}
func (m *Case) GetIssues() []*CustomerIssue {
if m != nil {
return m.Issues
}
return nil
}
func (m *Case) GetPriority() Case_Priority {
if m != nil {
return m.Priority
}
return Case_PRIORITY_UNSPECIFIED
}
func (m *Case) GetState() Case_State {
if m != nil {
return m.State
}
return Case_STATE_UNSPECIFIED
}
func (m *Case) GetCreateTime() *google_protobuf1.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *Case) GetUpdateTime() *google_protobuf1.Timestamp {
if m != nil {
return m.UpdateTime
}
return nil
}
func (m *Case) GetCreatorEmail() string {
if m != nil {
return m.CreatorEmail
}
return ""
}
func (m *Case) GetCategory() string {
if m != nil {
return m.Category
}
return ""
}
// Reference to a Google internal ticket used for investigating a support case.
// Not every support case will have an internal ticket associated with it.
// A support case can have multiple tickets linked to it.
type CustomerIssue struct {
// Unique identifier for the internal issue.
// Output only.
IssueId string `protobuf:"bytes,1,opt,name=issue_id,json=issueId" json:"issue_id,omitempty"`
// Represents current status of the internal ticket.
// Output only.
State CustomerIssue_IssueState `protobuf:"varint,2,opt,name=state,enum=google.cloud.support.common.CustomerIssue_IssueState" json:"state,omitempty"`
// Time when the internal issue was created.
// Output only.
CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
// Time when the internal issue was marked as resolved.
// Output only.
ResolveTime *google_protobuf1.Timestamp `protobuf:"bytes,4,opt,name=resolve_time,json=resolveTime" json:"resolve_time,omitempty"`
// Time when the internal issue was last updated.
// Output only.
UpdateTime *google_protobuf1.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime" json:"update_time,omitempty"`
}
func (m *CustomerIssue) Reset() { *m = CustomerIssue{} }
func (m *CustomerIssue) String() string { return proto.CompactTextString(m) }
func (*CustomerIssue) ProtoMessage() {}
func (*CustomerIssue) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *CustomerIssue) GetIssueId() string {
if m != nil {
return m.IssueId
}
return ""
}
func (m *CustomerIssue) GetState() CustomerIssue_IssueState {
if m != nil {
return m.State
}
return CustomerIssue_ISSUE_STATE_UNSPECIFIED
}
func (m *CustomerIssue) GetCreateTime() *google_protobuf1.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *CustomerIssue) GetResolveTime() *google_protobuf1.Timestamp {
if m != nil {
return m.ResolveTime
}
return nil
}
func (m *CustomerIssue) GetUpdateTime() *google_protobuf1.Timestamp {
if m != nil {
return m.UpdateTime
}
return nil
}
// A message that contains mapping of a user and their role under a support
// account.
type SupportRole struct {
// Email address of user being added through this Role.
Email string `protobuf:"bytes,1,opt,name=email" json:"email,omitempty"`
// The type of role assigned to user.
Role SupportRole_Role `protobuf:"varint,2,opt,name=role,enum=google.cloud.support.common.SupportRole_Role" json:"role,omitempty"`
}
func (m *SupportRole) Reset() { *m = SupportRole{} }
func (m *SupportRole) String() string { return proto.CompactTextString(m) }
func (*SupportRole) ProtoMessage() {}
func (*SupportRole) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *SupportRole) GetEmail() string {
if m != nil {
return m.Email
}
return ""
}
func (m *SupportRole) GetRole() SupportRole_Role {
if m != nil {
return m.Role
}
return SupportRole_ROLE_UNSPECIFIED
}
// The comment text associated with a `Case`.
type Comment struct {
// Text containing a maximum of 3000 characters.
Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
// Time when this update was created.
// Output only.
CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
// The email address/name of user who created this comment.
// Output only.
Author string `protobuf:"bytes,3,opt,name=author" json:"author,omitempty"`
// The resource name for this comment in format
// `supportAccounts/{account_id}/cases/{case_id}/{comment_id}`.
// Output only.
Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
}
func (m *Comment) Reset() { *m = Comment{} }
func (m *Comment) String() string { return proto.CompactTextString(m) }
func (*Comment) ProtoMessage() {}
func (*Comment) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *Comment) GetText() string {
if m != nil {
return m.Text
}
return ""
}
func (m *Comment) GetCreateTime() *google_protobuf1.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *Comment) GetAuthor() string {
if m != nil {
return m.Author
}
return ""
}
func (m *Comment) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Represents the product component taxonomy that is to be used while creating
// or updating a `Case`. A client should obtain the list of issue categories,
// component/subcomponent from this object and specify it in `Case.category`,
// `Case.component` and `Case.subcomponent` fields respectively.
type IssueTaxonomy struct {
// Map of available categories.
Categories map[string]*IssueTaxonomy_Category `protobuf:"bytes,1,rep,name=categories" json:"categories,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *IssueTaxonomy) Reset() { *m = IssueTaxonomy{} }
func (m *IssueTaxonomy) String() string { return proto.CompactTextString(m) }
func (*IssueTaxonomy) ProtoMessage() {}
func (*IssueTaxonomy) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *IssueTaxonomy) GetCategories() map[string]*IssueTaxonomy_Category {
if m != nil {
return m.Categories
}
return nil
}
// The representation of a product component. It is composed of a canonical
// name for the product (e.g., Google App Engine), languages in which a
// support ticket can be created under this component, a template that
// provides hints on important details to be filled out before submitting a
// case. It also contains an embedded list of product subcomponents that have
// similar attributes as top-level components.
// (e.g., Google App Engine > Memcache).
type IssueTaxonomy_Component struct {
// User friendly name of this component.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// List of languages in which a support case can be created under this
// component. Represented by language codes in ISO_639-1 standard.
Languages []string `protobuf:"bytes,2,rep,name=languages" json:"languages,omitempty"`
// Template to be used while filling the description of a support case.
Template string `protobuf:"bytes,3,opt,name=template" json:"template,omitempty"`
// List of subcomponents under this component.
Subcomponents []*IssueTaxonomy_Component `protobuf:"bytes,4,rep,name=subcomponents" json:"subcomponents,omitempty"`
}
func (m *IssueTaxonomy_Component) Reset() { *m = IssueTaxonomy_Component{} }
func (m *IssueTaxonomy_Component) String() string { return proto.CompactTextString(m) }
func (*IssueTaxonomy_Component) ProtoMessage() {}
func (*IssueTaxonomy_Component) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 0} }
func (m *IssueTaxonomy_Component) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
func (m *IssueTaxonomy_Component) GetLanguages() []string {
if m != nil {
return m.Languages
}
return nil
}
func (m *IssueTaxonomy_Component) GetTemplate() string {
if m != nil {
return m.Template
}
return ""
}
func (m *IssueTaxonomy_Component) GetSubcomponents() []*IssueTaxonomy_Component {
if m != nil {
return m.Subcomponents
}
return nil
}
// Represents the category of issue (Technical or Non-Technical)
// reported through a support case.
type IssueTaxonomy_Category struct {
// User friendly name of this category.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// Map of product components under this category.
Components map[string]*IssueTaxonomy_Component `protobuf:"bytes,2,rep,name=components" json:"components,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *IssueTaxonomy_Category) Reset() { *m = IssueTaxonomy_Category{} }
func (m *IssueTaxonomy_Category) String() string { return proto.CompactTextString(m) }
func (*IssueTaxonomy_Category) ProtoMessage() {}
func (*IssueTaxonomy_Category) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5, 1} }
func (m *IssueTaxonomy_Category) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
func (m *IssueTaxonomy_Category) GetComponents() map[string]*IssueTaxonomy_Component {
if m != nil {
return m.Components
}
return nil
}
func init() {
proto.RegisterType((*SupportAccount)(nil), "google.cloud.support.common.SupportAccount")
proto.RegisterType((*Case)(nil), "google.cloud.support.common.Case")
proto.RegisterType((*CustomerIssue)(nil), "google.cloud.support.common.CustomerIssue")
proto.RegisterType((*SupportRole)(nil), "google.cloud.support.common.SupportRole")
proto.RegisterType((*Comment)(nil), "google.cloud.support.common.Comment")
proto.RegisterType((*IssueTaxonomy)(nil), "google.cloud.support.common.IssueTaxonomy")
proto.RegisterType((*IssueTaxonomy_Component)(nil), "google.cloud.support.common.IssueTaxonomy.Component")
proto.RegisterType((*IssueTaxonomy_Category)(nil), "google.cloud.support.common.IssueTaxonomy.Category")
proto.RegisterEnum("google.cloud.support.common.SupportAccount_State", SupportAccount_State_name, SupportAccount_State_value)
proto.RegisterEnum("google.cloud.support.common.SupportAccount_PricingModel", SupportAccount_PricingModel_name, SupportAccount_PricingModel_value)
proto.RegisterEnum("google.cloud.support.common.Case_Priority", Case_Priority_name, Case_Priority_value)
proto.RegisterEnum("google.cloud.support.common.Case_State", Case_State_name, Case_State_value)
proto.RegisterEnum("google.cloud.support.common.CustomerIssue_IssueState", CustomerIssue_IssueState_name, CustomerIssue_IssueState_value)
proto.RegisterEnum("google.cloud.support.common.SupportRole_Role", SupportRole_Role_name, SupportRole_Role_value)
}
func init() { proto.RegisterFile("google/cloud/support/common.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 1336 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0x61, 0x6e, 0xdb, 0xc6,
0x12, 0x0e, 0x29, 0xc9, 0x92, 0x46, 0x96, 0xbd, 0x59, 0x38, 0x79, 0x8c, 0x92, 0xbc, 0x38, 0x7a,
0x78, 0x88, 0x51, 0xa0, 0x72, 0xe2, 0xa4, 0x40, 0x90, 0x20, 0x3f, 0x64, 0x6a, 0x2d, 0xb0, 0x91,
0x49, 0x82, 0xa4, 0xe3, 0x24, 0x45, 0x41, 0xd0, 0xd4, 0x46, 0x65, 0x43, 0x72, 0x09, 0x92, 0x4a,
0xa3, 0x1e, 0xa0, 0x3d, 0x45, 0xef, 0xd0, 0x5f, 0xbd, 0x40, 0x7b, 0x83, 0xde, 0xa1, 0xe7, 0x28,
0x76, 0x49, 0xc9, 0xb2, 0x63, 0xd8, 0x51, 0xfe, 0x68, 0x39, 0xb3, 0x33, 0xb3, 0x33, 0xb3, 0xdf,
0xb7, 0x63, 0xc3, 0xfd, 0x09, 0x63, 0x93, 0x90, 0xee, 0xfa, 0x21, 0x9b, 0x8e, 0x77, 0xb3, 0x69,
0x92, 0xb0, 0x34, 0xdf, 0xf5, 0x59, 0x14, 0xb1, 0xb8, 0x97, 0xa4, 0x2c, 0x67, 0xf8, 0x76, 0x61,
0xd2, 0x13, 0x26, 0xbd, 0xd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x6a, 0x1f, 0xbc, 0x70, 0x3a, 0x47, 0xd4, 0x97, 0x75,
0xa3, 0x08, 0xf1, 0x4c, 0x7e, 0x2a, 0x75, 0x52, 0xd8, 0x3c, 0x77, 0xdf, 0x17, 0x1c, 0xaa, 0x9d,
0x3d, 0xf4, 0xf1, 0x17, 0x54, 0xbe, 0x74, 0xe6, 0xfe, 0x4f, 0x70, 0xcf, 0x67, 0xd1, 0x65, 0x41,
0xf6, 0xaf, 0xab, 0x5c, 0x5b, 0x12, 0xdb, 0xe4, 0x6c, 0x79, 0xdb, 0x2f, 0xed, 0x27, 0x8c, 0xe3,
0xa7, 0xc7, 0xd2, 0xc9, 0xee, 0x84, 0xc6, 0x82, 0x49, 0xbb, 0xc5, 0x96, 0x97, 0x04, 0xd9, 0x85,
0xff, 0x97, 0x3c, 0x2f, 0x96, 0x93, 0x35, 0x61, 0xfd, 0xf8, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff,
0x0c, 0xd0, 0x7b, 0x46, 0xc4, 0x0c, 0x00, 0x00,
}

View File

@@ -0,0 +1,807 @@
// Code generated by protoc-gen-go.
// source: google/cloud/support/v1alpha1/cloud_support.proto
// DO NOT EDIT!
/*
Package support is a generated protocol buffer package.
It is generated from these files:
google/cloud/support/v1alpha1/cloud_support.proto
It has these top-level messages:
GetSupportAccountRequest
ListSupportAccountsRequest
ListSupportAccountsResponse
GetCaseRequest
ListCasesRequest
ListCasesResponse
ListCommentsRequest
ListCommentsResponse
CreateCaseRequest
UpdateCaseRequest
CreateCommentRequest
GetIssueTaxonomyRequest
*/
package support
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_cloud_support_common "google.golang.org/genproto/googleapis/cloud/support/common"
import _ "github.com/golang/protobuf/ptypes/empty"
import google_protobuf3 "google.golang.org/genproto/protobuf/field_mask"
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
// 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
// The request message for `GetSupportAccount`.
type GetSupportAccountRequest struct {
// The resource name of the support accounts. For example:
// `supportAccounts/accountA`.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (m *GetSupportAccountRequest) Reset() { *m = GetSupportAccountRequest{} }
func (m *GetSupportAccountRequest) String() string { return proto.CompactTextString(m) }
func (*GetSupportAccountRequest) ProtoMessage() {}
func (*GetSupportAccountRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *GetSupportAccountRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// The request message for `ListSupportAccount`.
type ListSupportAccountsRequest struct {
// The filter applied to search results. It only supports filtering a support
// account list by a cloud_resource. For example, to filter results by support
// accounts associated with an Organization, its value should be:
// "cloud_resource:organizations/<organization_id>"
Filter string `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"`
// Maximum number of accounts fetched with each request.
PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
// A token identifying the page of results to return. If unspecified, the
// first page is retrieved.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
}
func (m *ListSupportAccountsRequest) Reset() { *m = ListSupportAccountsRequest{} }
func (m *ListSupportAccountsRequest) String() string { return proto.CompactTextString(m) }
func (*ListSupportAccountsRequest) ProtoMessage() {}
func (*ListSupportAccountsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *ListSupportAccountsRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListSupportAccountsRequest) GetPageSize() int64 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListSupportAccountsRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
// The response message for `ListSupportAccount`.
type ListSupportAccountsResponse struct {
// A list of support accounts.
Accounts []*google_cloud_support_common.SupportAccount `protobuf:"bytes,1,rep,name=accounts" json:"accounts,omitempty"`
// A token to retrieve the next page of results. This should be passed on in
// `page_token` field of `ListSupportAccountRequest` for next request. If
// unspecified, there are no more results to retrieve.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
}
func (m *ListSupportAccountsResponse) Reset() { *m = ListSupportAccountsResponse{} }
func (m *ListSupportAccountsResponse) String() string { return proto.CompactTextString(m) }
func (*ListSupportAccountsResponse) ProtoMessage() {}
func (*ListSupportAccountsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *ListSupportAccountsResponse) GetAccounts() []*google_cloud_support_common.SupportAccount {
if m != nil {
return m.Accounts
}
return nil
}
func (m *ListSupportAccountsResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// The request message for `GetCase` method.
type GetCaseRequest struct {
// Name of case resource requested.
// For example: "supportAccounts/accountA/cases/123"
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (m *GetCaseRequest) Reset() { *m = GetCaseRequest{} }
func (m *GetCaseRequest) String() string { return proto.CompactTextString(m) }
func (*GetCaseRequest) ProtoMessage() {}
func (*GetCaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *GetCaseRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// The request message for `ListCase` method.
type ListCasesRequest struct {
// Name of the account resource for which cases are requested. For example:
// "supportAccounts/accountA"
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The filter applied to the search results. Currently it only accepts "OPEN"
// or "CLOSED" strings, filtering out cases that are open or resolved.
Filter string `protobuf:"bytes,2,opt,name=filter" json:"filter,omitempty"`
// Maximum number of cases fetched with each request.
PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
// A token identifying the page of results to return. If unspecified, the
// first page is retrieved.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
}
func (m *ListCasesRequest) Reset() { *m = ListCasesRequest{} }
func (m *ListCasesRequest) String() string { return proto.CompactTextString(m) }
func (*ListCasesRequest) ProtoMessage() {}
func (*ListCasesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *ListCasesRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ListCasesRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
func (m *ListCasesRequest) GetPageSize() int64 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListCasesRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
// The response message for `ListCase` method.
type ListCasesResponse struct {
// A list of cases.
Cases []*google_cloud_support_common.Case `protobuf:"bytes,1,rep,name=cases" json:"cases,omitempty"`
// A token to retrieve the next page of results. This should be passed on in
// `page_token` field of `ListCaseRequest` for next request. If unspecified,
// there are no more results to retrieve.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
}
func (m *ListCasesResponse) Reset() { *m = ListCasesResponse{} }
func (m *ListCasesResponse) String() string { return proto.CompactTextString(m) }
func (*ListCasesResponse) ProtoMessage() {}
func (*ListCasesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *ListCasesResponse) GetCases() []*google_cloud_support_common.Case {
if m != nil {
return m.Cases
}
return nil
}
func (m *ListCasesResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// The request message for `ListComments` method.
type ListCommentsRequest struct {
// The resource name of case for which comments should be listed.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (m *ListCommentsRequest) Reset() { *m = ListCommentsRequest{} }
func (m *ListCommentsRequest) String() string { return proto.CompactTextString(m) }
func (*ListCommentsRequest) ProtoMessage() {}
func (*ListCommentsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
func (m *ListCommentsRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// The response message for `ListComments` method.
type ListCommentsResponse struct {
// A list of comments.
Comments []*google_cloud_support_common.Comment `protobuf:"bytes,1,rep,name=comments" json:"comments,omitempty"`
}
func (m *ListCommentsResponse) Reset() { *m = ListCommentsResponse{} }
func (m *ListCommentsResponse) String() string { return proto.CompactTextString(m) }
func (*ListCommentsResponse) ProtoMessage() {}
func (*ListCommentsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
func (m *ListCommentsResponse) GetComments() []*google_cloud_support_common.Comment {
if m != nil {
return m.Comments
}
return nil
}
// The request message for `CreateCase` method.
type CreateCaseRequest struct {
// The resource name for `SupportAccount` under which this case is created.
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
// The case resource to create.
Case *google_cloud_support_common.Case `protobuf:"bytes,2,opt,name=case" json:"case,omitempty"`
}
func (m *CreateCaseRequest) Reset() { *m = CreateCaseRequest{} }
func (m *CreateCaseRequest) String() string { return proto.CompactTextString(m) }
func (*CreateCaseRequest) ProtoMessage() {}
func (*CreateCaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
func (m *CreateCaseRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateCaseRequest) GetCase() *google_cloud_support_common.Case {
if m != nil {
return m.Case
}
return nil
}
// The request message for `UpdateCase` method.
type UpdateCaseRequest struct {
// The case resource to update.
Case *google_cloud_support_common.Case `protobuf:"bytes,1,opt,name=case" json:"case,omitempty"`
// A field that represents attributes of a Case object that should be updated
// as part of this request.
UpdateMask *google_protobuf3.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
}
func (m *UpdateCaseRequest) Reset() { *m = UpdateCaseRequest{} }
func (m *UpdateCaseRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateCaseRequest) ProtoMessage() {}
func (*UpdateCaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
func (m *UpdateCaseRequest) GetCase() *google_cloud_support_common.Case {
if m != nil {
return m.Case
}
return nil
}
func (m *UpdateCaseRequest) GetUpdateMask() *google_protobuf3.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// The request message for `CreateComment` method.
type CreateCommentRequest struct {
// The resource name of case to which this comment should be added.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The `Comment` to be added to this case.
Comment *google_cloud_support_common.Comment `protobuf:"bytes,2,opt,name=comment" json:"comment,omitempty"`
}
func (m *CreateCommentRequest) Reset() { *m = CreateCommentRequest{} }
func (m *CreateCommentRequest) String() string { return proto.CompactTextString(m) }
func (*CreateCommentRequest) ProtoMessage() {}
func (*CreateCommentRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
func (m *CreateCommentRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CreateCommentRequest) GetComment() *google_cloud_support_common.Comment {
if m != nil {
return m.Comment
}
return nil
}
// The request message for `GetIssueTaxonomy` method.
type GetIssueTaxonomyRequest struct {
}
func (m *GetIssueTaxonomyRequest) Reset() { *m = GetIssueTaxonomyRequest{} }
func (m *GetIssueTaxonomyRequest) String() string { return proto.CompactTextString(m) }
func (*GetIssueTaxonomyRequest) ProtoMessage() {}
func (*GetIssueTaxonomyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
func init() {
proto.RegisterType((*GetSupportAccountRequest)(nil), "google.cloud.support.v1alpha1.GetSupportAccountRequest")
proto.RegisterType((*ListSupportAccountsRequest)(nil), "google.cloud.support.v1alpha1.ListSupportAccountsRequest")
proto.RegisterType((*ListSupportAccountsResponse)(nil), "google.cloud.support.v1alpha1.ListSupportAccountsResponse")
proto.RegisterType((*GetCaseRequest)(nil), "google.cloud.support.v1alpha1.GetCaseRequest")
proto.RegisterType((*ListCasesRequest)(nil), "google.cloud.support.v1alpha1.ListCasesRequest")
proto.RegisterType((*ListCasesResponse)(nil), "google.cloud.support.v1alpha1.ListCasesResponse")
proto.RegisterType((*ListCommentsRequest)(nil), "google.cloud.support.v1alpha1.ListCommentsRequest")
proto.RegisterType((*ListCommentsResponse)(nil), "google.cloud.support.v1alpha1.ListCommentsResponse")
proto.RegisterType((*CreateCaseRequest)(nil), "google.cloud.support.v1alpha1.CreateCaseRequest")
proto.RegisterType((*UpdateCaseRequest)(nil), "google.cloud.support.v1alpha1.UpdateCaseRequest")
proto.RegisterType((*CreateCommentRequest)(nil), "google.cloud.support.v1alpha1.CreateCommentRequest")
proto.RegisterType((*GetIssueTaxonomyRequest)(nil), "google.cloud.support.v1alpha1.GetIssueTaxonomyRequest")
}
// 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 CloudSupport service
type CloudSupportClient interface {
// Retrieves the support account details given an account identifier.
// The authenticated user calling this method must be the account owner.
GetSupportAccount(ctx context.Context, in *GetSupportAccountRequest, opts ...grpc.CallOption) (*google_cloud_support_common.SupportAccount, error)
// Retrieves the list of accounts the current authenticated user has access
// to.
ListSupportAccounts(ctx context.Context, in *ListSupportAccountsRequest, opts ...grpc.CallOption) (*ListSupportAccountsResponse, error)
// Retrieves the details for a support case. The current authenticated user
// calling this method must have permissions to view this case.
GetCase(ctx context.Context, in *GetCaseRequest, opts ...grpc.CallOption) (*google_cloud_support_common.Case, error)
// Retrieves the list of support cases associated with an account. The current
// authenticated user must have the permission to list and view these cases.
ListCases(ctx context.Context, in *ListCasesRequest, opts ...grpc.CallOption) (*ListCasesResponse, error)
// Lists all comments from a case.
ListComments(ctx context.Context, in *ListCommentsRequest, opts ...grpc.CallOption) (*ListCommentsResponse, error)
// Creates a case and associates it with a
// [SupportAccount][google.cloud.support.v1alpha2.SupportAcccount]. The
// authenticated user attempting this action must have permissions to create a
// `Case` under that [SupportAccount].
CreateCase(ctx context.Context, in *CreateCaseRequest, opts ...grpc.CallOption) (*google_cloud_support_common.Case, error)
// Updates a support case. Only a small set of details (priority, subject and
// cc_address) can be update after a case is created.
UpdateCase(ctx context.Context, in *UpdateCaseRequest, opts ...grpc.CallOption) (*google_cloud_support_common.Case, error)
// Adds a new comment to a case.
CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...grpc.CallOption) (*google_cloud_support_common.Comment, error)
// Retrieves the taxonomy of product categories and components to be used
// while creating a support case.
GetIssueTaxonomy(ctx context.Context, in *GetIssueTaxonomyRequest, opts ...grpc.CallOption) (*google_cloud_support_common.IssueTaxonomy, error)
}
type cloudSupportClient struct {
cc *grpc.ClientConn
}
func NewCloudSupportClient(cc *grpc.ClientConn) CloudSupportClient {
return &cloudSupportClient{cc}
}
func (c *cloudSupportClient) GetSupportAccount(ctx context.Context, in *GetSupportAccountRequest, opts ...grpc.CallOption) (*google_cloud_support_common.SupportAccount, error) {
out := new(google_cloud_support_common.SupportAccount)
err := grpc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/GetSupportAccount", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *cloudSupportClient) ListSupportAccounts(ctx context.Context, in *ListSupportAccountsRequest, opts ...grpc.CallOption) (*ListSupportAccountsResponse, error) {
out := new(ListSupportAccountsResponse)
err := grpc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/ListSupportAccounts", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *cloudSupportClient) GetCase(ctx context.Context, in *GetCaseRequest, opts ...grpc.CallOption) (*google_cloud_support_common.Case, error) {
out := new(google_cloud_support_common.Case)
err := grpc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/GetCase", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *cloudSupportClient) ListCases(ctx context.Context, in *ListCasesRequest, opts ...grpc.CallOption) (*ListCasesResponse, error) {
out := new(ListCasesResponse)
err := grpc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/ListCases", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *cloudSupportClient) ListComments(ctx context.Context, in *ListCommentsRequest, opts ...grpc.CallOption) (*ListCommentsResponse, error) {
out := new(ListCommentsResponse)
err := grpc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/ListComments", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *cloudSupportClient) CreateCase(ctx context.Context, in *CreateCaseRequest, opts ...grpc.CallOption) (*google_cloud_support_common.Case, error) {
out := new(google_cloud_support_common.Case)
err := grpc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/CreateCase", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *cloudSupportClient) UpdateCase(ctx context.Context, in *UpdateCaseRequest, opts ...grpc.CallOption) (*google_cloud_support_common.Case, error) {
out := new(google_cloud_support_common.Case)
err := grpc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/UpdateCase", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *cloudSupportClient) CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...grpc.CallOption) (*google_cloud_support_common.Comment, error) {
out := new(google_cloud_support_common.Comment)
err := grpc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/CreateComment", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *cloudSupportClient) GetIssueTaxonomy(ctx context.Context, in *GetIssueTaxonomyRequest, opts ...grpc.CallOption) (*google_cloud_support_common.IssueTaxonomy, error) {
out := new(google_cloud_support_common.IssueTaxonomy)
err := grpc.Invoke(ctx, "/google.cloud.support.v1alpha1.CloudSupport/GetIssueTaxonomy", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for CloudSupport service
type CloudSupportServer interface {
// Retrieves the support account details given an account identifier.
// The authenticated user calling this method must be the account owner.
GetSupportAccount(context.Context, *GetSupportAccountRequest) (*google_cloud_support_common.SupportAccount, error)
// Retrieves the list of accounts the current authenticated user has access
// to.
ListSupportAccounts(context.Context, *ListSupportAccountsRequest) (*ListSupportAccountsResponse, error)
// Retrieves the details for a support case. The current authenticated user
// calling this method must have permissions to view this case.
GetCase(context.Context, *GetCaseRequest) (*google_cloud_support_common.Case, error)
// Retrieves the list of support cases associated with an account. The current
// authenticated user must have the permission to list and view these cases.
ListCases(context.Context, *ListCasesRequest) (*ListCasesResponse, error)
// Lists all comments from a case.
ListComments(context.Context, *ListCommentsRequest) (*ListCommentsResponse, error)
// Creates a case and associates it with a
// [SupportAccount][google.cloud.support.v1alpha2.SupportAcccount]. The
// authenticated user attempting this action must have permissions to create a
// `Case` under that [SupportAccount].
CreateCase(context.Context, *CreateCaseRequest) (*google_cloud_support_common.Case, error)
// Updates a support case. Only a small set of details (priority, subject and
// cc_address) can be update after a case is created.
UpdateCase(context.Context, *UpdateCaseRequest) (*google_cloud_support_common.Case, error)
// Adds a new comment to a case.
CreateComment(context.Context, *CreateCommentRequest) (*google_cloud_support_common.Comment, error)
// Retrieves the taxonomy of product categories and components to be used
// while creating a support case.
GetIssueTaxonomy(context.Context, *GetIssueTaxonomyRequest) (*google_cloud_support_common.IssueTaxonomy, error)
}
func RegisterCloudSupportServer(s *grpc.Server, srv CloudSupportServer) {
s.RegisterService(&_CloudSupport_serviceDesc, srv)
}
func _CloudSupport_GetSupportAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetSupportAccountRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CloudSupportServer).GetSupportAccount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/GetSupportAccount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CloudSupportServer).GetSupportAccount(ctx, req.(*GetSupportAccountRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CloudSupport_ListSupportAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListSupportAccountsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CloudSupportServer).ListSupportAccounts(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/ListSupportAccounts",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CloudSupportServer).ListSupportAccounts(ctx, req.(*ListSupportAccountsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CloudSupport_GetCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetCaseRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CloudSupportServer).GetCase(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/GetCase",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CloudSupportServer).GetCase(ctx, req.(*GetCaseRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CloudSupport_ListCases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListCasesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CloudSupportServer).ListCases(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/ListCases",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CloudSupportServer).ListCases(ctx, req.(*ListCasesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CloudSupport_ListComments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListCommentsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CloudSupportServer).ListComments(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/ListComments",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CloudSupportServer).ListComments(ctx, req.(*ListCommentsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CloudSupport_CreateCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateCaseRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CloudSupportServer).CreateCase(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/CreateCase",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CloudSupportServer).CreateCase(ctx, req.(*CreateCaseRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CloudSupport_UpdateCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateCaseRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CloudSupportServer).UpdateCase(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/UpdateCase",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CloudSupportServer).UpdateCase(ctx, req.(*UpdateCaseRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CloudSupport_CreateComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateCommentRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CloudSupportServer).CreateComment(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/CreateComment",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CloudSupportServer).CreateComment(ctx, req.(*CreateCommentRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CloudSupport_GetIssueTaxonomy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetIssueTaxonomyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CloudSupportServer).GetIssueTaxonomy(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.support.v1alpha1.CloudSupport/GetIssueTaxonomy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CloudSupportServer).GetIssueTaxonomy(ctx, req.(*GetIssueTaxonomyRequest))
}
return interceptor(ctx, in, info, handler)
}
var _CloudSupport_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.support.v1alpha1.CloudSupport",
HandlerType: (*CloudSupportServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetSupportAccount",
Handler: _CloudSupport_GetSupportAccount_Handler,
},
{
MethodName: "ListSupportAccounts",
Handler: _CloudSupport_ListSupportAccounts_Handler,
},
{
MethodName: "GetCase",
Handler: _CloudSupport_GetCase_Handler,
},
{
MethodName: "ListCases",
Handler: _CloudSupport_ListCases_Handler,
},
{
MethodName: "ListComments",
Handler: _CloudSupport_ListComments_Handler,
},
{
MethodName: "CreateCase",
Handler: _CloudSupport_CreateCase_Handler,
},
{
MethodName: "UpdateCase",
Handler: _CloudSupport_UpdateCase_Handler,
},
{
MethodName: "CreateComment",
Handler: _CloudSupport_CreateComment_Handler,
},
{
MethodName: "GetIssueTaxonomy",
Handler: _CloudSupport_GetIssueTaxonomy_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/support/v1alpha1/cloud_support.proto",
}
func init() { proto.RegisterFile("google/cloud/support/v1alpha1/cloud_support.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 863 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x41, 0x4f, 0x33, 0x45,
0x18, 0xce, 0xb4, 0xc8, 0x07, 0x2f, 0xdf, 0xa7, 0x5f, 0x47, 0x82, 0x65, 0x0b, 0x49, 0x3b, 0x21,
0xa6, 0x56, 0xdd, 0x85, 0x36, 0x88, 0x96, 0x40, 0x14, 0x88, 0x8d, 0x89, 0x26, 0xa4, 0x60, 0x62,
0xbc, 0x34, 0x43, 0x19, 0xd6, 0x95, 0xee, 0xce, 0xda, 0x99, 0x1a, 0x40, 0xbd, 0x78, 0xf1, 0xa6,
0x07, 0x6f, 0x7a, 0xe1, 0xe2, 0x59, 0x0f, 0xfe, 0x13, 0xff, 0x82, 0xfe, 0x0f, 0xb3, 0xb3, 0xb3,
0xed, 0x76, 0x69, 0x77, 0x17, 0x6e, 0xdd, 0x77, 0xde, 0xe7, 0x7d, 0x9f, 0x79, 0xe6, 0x9d, 0x67,
0x0a, 0x3b, 0x36, 0xe7, 0xf6, 0x80, 0x59, 0xfd, 0x01, 0x1f, 0x5d, 0x5a, 0x62, 0xe4, 0xfb, 0x7c,
0x28, 0xad, 0x6f, 0x77, 0xe8, 0xc0, 0xff, 0x8a, 0xee, 0x84, 0xe1, 0x9e, 0x0e, 0x9b, 0xfe, 0x90,
0x4b, 0x8e, 0x37, 0x43, 0x88, 0xa9, 0xd6, 0xcc, 0x68, 0x2d, 0x82, 0x18, 0x1b, 0xba, 0x22, 0xf5,
0x1d, 0x8b, 0x7a, 0x1e, 0x97, 0x54, 0x3a, 0xdc, 0x13, 0x21, 0xd8, 0xa8, 0xcd, 0xec, 0xd7, 0xe7,
0xae, 0xcb, 0x3d, 0x9d, 0x52, 0xd1, 0x29, 0xea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, 0x4c, 0x5c, 0x30, 0x93, 0xdd, 0x03, 0xc3, 0xcc, 0xc3, 0xee, 0x40, 0xb1, 0xdb, 0x6b, 0x5a,
0x31, 0x76, 0x41, 0x73, 0x33, 0x43, 0x43, 0x4d, 0xf1, 0x2f, 0x04, 0x2f, 0xa6, 0xfc, 0x11, 0xb7,
0xf2, 0x69, 0x38, 0xe5, 0xa6, 0x46, 0x2e, 0xa3, 0x24, 0x27, 0x8a, 0xeb, 0x21, 0x79, 0xca, 0x51,
0xb7, 0x23, 0x97, 0xc5, 0xbf, 0x21, 0x78, 0x99, 0xb4, 0x59, 0xfc, 0x5e, 0xf6, 0x45, 0x9f, 0xe5,
0xcb, 0x46, 0x23, 0x95, 0xf8, 0x14, 0x84, 0x10, 0x45, 0x7f, 0x03, 0x1b, 0x63, 0xfa, 0x6d, 0x3b,
0x51, 0xf6, 0xe8, 0x7b, 0xa8, 0xf5, 0xb9, 0x9b, 0x4e, 0xe6, 0xa8, 0x14, 0x7f, 0x09, 0x4e, 0x83,
0xf7, 0xeb, 0xcb, 0x13, 0x8d, 0xb0, 0xf9, 0x80, 0x7a, 0xb6, 0xc9, 0x87, 0xb6, 0x65, 0x33, 0x4f,
0xbd, 0x6d, 0x56, 0xb8, 0x44, 0x7d, 0x47, 0xcc, 0xf9, 0x57, 0xbd, 0xaf, 0x03, 0x17, 0x8b, 0x0a,
0xd0, 0xfa, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xad, 0xe1, 0xf2, 0x57, 0x85, 0x0b, 0x00, 0x00,
}

View File

@@ -0,0 +1,990 @@
// Code generated by protoc-gen-go.
// source: google/cloud/videointelligence/v1beta1/video_intelligence.proto
// DO NOT EDIT!
/*
Package videointelligence is a generated protocol buffer package.
It is generated from these files:
google/cloud/videointelligence/v1beta1/video_intelligence.proto
It has these top-level messages:
AnnotateVideoRequest
VideoContext
VideoSegment
LabelLocation
LabelAnnotation
SafeSearchAnnotation
BoundingBox
FaceLocation
FaceAnnotation
VideoAnnotationResults
AnnotateVideoResponse
VideoAnnotationProgress
AnnotateVideoProgress
*/
package videointelligence
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
import google_protobuf3 "github.com/golang/protobuf/ptypes/timestamp"
import google_rpc "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
// 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
// Video annotation feature.
type Feature int32
const (
// Unspecified.
Feature_FEATURE_UNSPECIFIED Feature = 0
// Label detection. Detect objects, such as dog or flower.
Feature_LABEL_DETECTION Feature = 1
// Human face detection and tracking.
Feature_FACE_DETECTION Feature = 2
// Shot change detection.
Feature_SHOT_CHANGE_DETECTION Feature = 3
// Safe search detection.
Feature_SAFE_SEARCH_DETECTION Feature = 4
)
var Feature_name = map[int32]string{
0: "FEATURE_UNSPECIFIED",
1: "LABEL_DETECTION",
2: "FACE_DETECTION",
3: "SHOT_CHANGE_DETECTION",
4: "SAFE_SEARCH_DETECTION",
}
var Feature_value = map[string]int32{
"FEATURE_UNSPECIFIED": 0,
"LABEL_DETECTION": 1,
"FACE_DETECTION": 2,
"SHOT_CHANGE_DETECTION": 3,
"SAFE_SEARCH_DETECTION": 4,
}
func (x Feature) String() string {
return proto.EnumName(Feature_name, int32(x))
}
func (Feature) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
// Label level (scope).
type LabelLevel int32
const (
// Unspecified.
LabelLevel_LABEL_LEVEL_UNSPECIFIED LabelLevel = 0
// Video-level. Corresponds to the whole video.
LabelLevel_VIDEO_LEVEL LabelLevel = 1
// Segment-level. Corresponds to one of `AnnotateSpec.segments`.
LabelLevel_SEGMENT_LEVEL LabelLevel = 2
// Shot-level. Corresponds to a single shot (i.e. a series of frames
// without a major camera position or background change).
LabelLevel_SHOT_LEVEL LabelLevel = 3
// Frame-level. Corresponds to a single video frame.
LabelLevel_FRAME_LEVEL LabelLevel = 4
)
var LabelLevel_name = map[int32]string{
0: "LABEL_LEVEL_UNSPECIFIED",
1: "VIDEO_LEVEL",
2: "SEGMENT_LEVEL",
3: "SHOT_LEVEL",
4: "FRAME_LEVEL",
}
var LabelLevel_value = map[string]int32{
"LABEL_LEVEL_UNSPECIFIED": 0,
"VIDEO_LEVEL": 1,
"SEGMENT_LEVEL": 2,
"SHOT_LEVEL": 3,
"FRAME_LEVEL": 4,
}
func (x LabelLevel) String() string {
return proto.EnumName(LabelLevel_name, int32(x))
}
func (LabelLevel) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
// Label detection mode.
type LabelDetectionMode int32
const (
// Unspecified.
LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED LabelDetectionMode = 0
// Detect shot-level labels.
LabelDetectionMode_SHOT_MODE LabelDetectionMode = 1
// Detect frame-level labels.
LabelDetectionMode_FRAME_MODE LabelDetectionMode = 2
// Detect both shot-level and frame-level labels.
LabelDetectionMode_SHOT_AND_FRAME_MODE LabelDetectionMode = 3
)
var LabelDetectionMode_name = map[int32]string{
0: "LABEL_DETECTION_MODE_UNSPECIFIED",
1: "SHOT_MODE",
2: "FRAME_MODE",
3: "SHOT_AND_FRAME_MODE",
}
var LabelDetectionMode_value = map[string]int32{
"LABEL_DETECTION_MODE_UNSPECIFIED": 0,
"SHOT_MODE": 1,
"FRAME_MODE": 2,
"SHOT_AND_FRAME_MODE": 3,
}
func (x LabelDetectionMode) String() string {
return proto.EnumName(LabelDetectionMode_name, int32(x))
}
func (LabelDetectionMode) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
// Bucketized representation of likelihood.
type Likelihood int32
const (
// Unknown likelihood.
Likelihood_UNKNOWN Likelihood = 0
// Very unlikely.
Likelihood_VERY_UNLIKELY Likelihood = 1
// Unlikely.
Likelihood_UNLIKELY Likelihood = 2
// Possible.
Likelihood_POSSIBLE Likelihood = 3
// Likely.
Likelihood_LIKELY Likelihood = 4
// Very likely.
Likelihood_VERY_LIKELY Likelihood = 5
)
var Likelihood_name = map[int32]string{
0: "UNKNOWN",
1: "VERY_UNLIKELY",
2: "UNLIKELY",
3: "POSSIBLE",
4: "LIKELY",
5: "VERY_LIKELY",
}
var Likelihood_value = map[string]int32{
"UNKNOWN": 0,
"VERY_UNLIKELY": 1,
"UNLIKELY": 2,
"POSSIBLE": 3,
"LIKELY": 4,
"VERY_LIKELY": 5,
}
func (x Likelihood) String() string {
return proto.EnumName(Likelihood_name, int32(x))
}
func (Likelihood) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
// Video annotation request.
type AnnotateVideoRequest struct {
// Input video location. Currently, only
// [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
// supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
// [Request URIs](/storage/docs/reference-uris).
// A video URI may include wildcards in `object-id`, and thus identify
// multiple videos. Supported wildcards: '*' to match 0 or more characters;
// '?' to match 1 character. If unset, the input video should be embedded
// in the request as `input_content`. If set, `input_content` should be unset.
InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri" json:"input_uri,omitempty"`
// The video data bytes. Encoding: base64. If unset, the input video(s)
// should be specified via `input_uri`. If set, `input_uri` should be unset.
InputContent string `protobuf:"bytes,6,opt,name=input_content,json=inputContent" json:"input_content,omitempty"`
// Requested video annotation features.
Features []Feature `protobuf:"varint,2,rep,packed,name=features,enum=google.cloud.videointelligence.v1beta1.Feature" json:"features,omitempty"`
// Additional video context and/or feature-specific parameters.
VideoContext *VideoContext `protobuf:"bytes,3,opt,name=video_context,json=videoContext" json:"video_context,omitempty"`
// Optional location where the output (in JSON format) should be stored.
// Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
// URIs are supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
// [Request URIs](/storage/docs/reference-uris).
OutputUri string `protobuf:"bytes,4,opt,name=output_uri,json=outputUri" json:"output_uri,omitempty"`
// Optional cloud region where annotation should take place. Supported cloud
// regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
// is specified, a region will be determined based on video file location.
LocationId string `protobuf:"bytes,5,opt,name=location_id,json=locationId" json:"location_id,omitempty"`
}
func (m *AnnotateVideoRequest) Reset() { *m = AnnotateVideoRequest{} }
func (m *AnnotateVideoRequest) String() string { return proto.CompactTextString(m) }
func (*AnnotateVideoRequest) ProtoMessage() {}
func (*AnnotateVideoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *AnnotateVideoRequest) GetInputUri() string {
if m != nil {
return m.InputUri
}
return ""
}
func (m *AnnotateVideoRequest) GetInputContent() string {
if m != nil {
return m.InputContent
}
return ""
}
func (m *AnnotateVideoRequest) GetFeatures() []Feature {
if m != nil {
return m.Features
}
return nil
}
func (m *AnnotateVideoRequest) GetVideoContext() *VideoContext {
if m != nil {
return m.VideoContext
}
return nil
}
func (m *AnnotateVideoRequest) GetOutputUri() string {
if m != nil {
return m.OutputUri
}
return ""
}
func (m *AnnotateVideoRequest) GetLocationId() string {
if m != nil {
return m.LocationId
}
return ""
}
// Video context and/or feature-specific parameters.
type VideoContext struct {
// Video segments to annotate. The segments may overlap and are not required
// to be contiguous or span the whole video. If unspecified, each video
// is treated as a single segment.
Segments []*VideoSegment `protobuf:"bytes,1,rep,name=segments" json:"segments,omitempty"`
// If label detection has been requested, what labels should be detected
// in addition to video-level labels or segment-level labels. If unspecified,
// defaults to `SHOT_MODE`.
LabelDetectionMode LabelDetectionMode `protobuf:"varint,2,opt,name=label_detection_mode,json=labelDetectionMode,enum=google.cloud.videointelligence.v1beta1.LabelDetectionMode" json:"label_detection_mode,omitempty"`
// Whether the video has been shot from a stationary (i.e. non-moving) camera.
// When set to true, might improve detection accuracy for moving objects.
StationaryCamera bool `protobuf:"varint,3,opt,name=stationary_camera,json=stationaryCamera" json:"stationary_camera,omitempty"`
// Model to use for label detection.
// Supported values: "latest" and "stable" (the default).
LabelDetectionModel string `protobuf:"bytes,4,opt,name=label_detection_model,json=labelDetectionModel" json:"label_detection_model,omitempty"`
// Model to use for face detection.
// Supported values: "latest" and "stable" (the default).
FaceDetectionModel string `protobuf:"bytes,5,opt,name=face_detection_model,json=faceDetectionModel" json:"face_detection_model,omitempty"`
// Model to use for shot change detection.
// Supported values: "latest" and "stable" (the default).
ShotChangeDetectionModel string `protobuf:"bytes,6,opt,name=shot_change_detection_model,json=shotChangeDetectionModel" json:"shot_change_detection_model,omitempty"`
// Model to use for safe search detection.
// Supported values: "latest" and "stable" (the default).
SafeSearchDetectionModel string `protobuf:"bytes,7,opt,name=safe_search_detection_model,json=safeSearchDetectionModel" json:"safe_search_detection_model,omitempty"`
}
func (m *VideoContext) Reset() { *m = VideoContext{} }
func (m *VideoContext) String() string { return proto.CompactTextString(m) }
func (*VideoContext) ProtoMessage() {}
func (*VideoContext) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *VideoContext) GetSegments() []*VideoSegment {
if m != nil {
return m.Segments
}
return nil
}
func (m *VideoContext) GetLabelDetectionMode() LabelDetectionMode {
if m != nil {
return m.LabelDetectionMode
}
return LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED
}
func (m *VideoContext) GetStationaryCamera() bool {
if m != nil {
return m.StationaryCamera
}
return false
}
func (m *VideoContext) GetLabelDetectionModel() string {
if m != nil {
return m.LabelDetectionModel
}
return ""
}
func (m *VideoContext) GetFaceDetectionModel() string {
if m != nil {
return m.FaceDetectionModel
}
return ""
}
func (m *VideoContext) GetShotChangeDetectionModel() string {
if m != nil {
return m.ShotChangeDetectionModel
}
return ""
}
func (m *VideoContext) GetSafeSearchDetectionModel() string {
if m != nil {
return m.SafeSearchDetectionModel
}
return ""
}
// Video segment.
type VideoSegment struct {
// Start offset in microseconds (inclusive). Unset means 0.
StartTimeOffset int64 `protobuf:"varint,1,opt,name=start_time_offset,json=startTimeOffset" json:"start_time_offset,omitempty"`
// End offset in microseconds (inclusive). Unset means 0.
EndTimeOffset int64 `protobuf:"varint,2,opt,name=end_time_offset,json=endTimeOffset" json:"end_time_offset,omitempty"`
}
func (m *VideoSegment) Reset() { *m = VideoSegment{} }
func (m *VideoSegment) String() string { return proto.CompactTextString(m) }
func (*VideoSegment) ProtoMessage() {}
func (*VideoSegment) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *VideoSegment) GetStartTimeOffset() int64 {
if m != nil {
return m.StartTimeOffset
}
return 0
}
func (m *VideoSegment) GetEndTimeOffset() int64 {
if m != nil {
return m.EndTimeOffset
}
return 0
}
// Label location.
type LabelLocation struct {
// Video segment. Set to [-1, -1] for video-level labels.
// Set to [timestamp, timestamp] for frame-level labels.
// Otherwise, corresponds to one of `AnnotateSpec.segments`
// (if specified) or to shot boundaries (if requested).
Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment" json:"segment,omitempty"`
// Confidence that the label is accurate. Range: [0, 1].
Confidence float32 `protobuf:"fixed32,2,opt,name=confidence" json:"confidence,omitempty"`
// Label level.
Level LabelLevel `protobuf:"varint,3,opt,name=level,enum=google.cloud.videointelligence.v1beta1.LabelLevel" json:"level,omitempty"`
}
func (m *LabelLocation) Reset() { *m = LabelLocation{} }
func (m *LabelLocation) String() string { return proto.CompactTextString(m) }
func (*LabelLocation) ProtoMessage() {}
func (*LabelLocation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *LabelLocation) GetSegment() *VideoSegment {
if m != nil {
return m.Segment
}
return nil
}
func (m *LabelLocation) GetConfidence() float32 {
if m != nil {
return m.Confidence
}
return 0
}
func (m *LabelLocation) GetLevel() LabelLevel {
if m != nil {
return m.Level
}
return LabelLevel_LABEL_LEVEL_UNSPECIFIED
}
// Label annotation.
type LabelAnnotation struct {
// Textual description, e.g. `Fixed-gear bicycle`.
Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
// Language code for `description` in BCP-47 format.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode" json:"language_code,omitempty"`
// Where the label was detected and with what confidence.
Locations []*LabelLocation `protobuf:"bytes,3,rep,name=locations" json:"locations,omitempty"`
}
func (m *LabelAnnotation) Reset() { *m = LabelAnnotation{} }
func (m *LabelAnnotation) String() string { return proto.CompactTextString(m) }
func (*LabelAnnotation) ProtoMessage() {}
func (*LabelAnnotation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *LabelAnnotation) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *LabelAnnotation) GetLanguageCode() string {
if m != nil {
return m.LanguageCode
}
return ""
}
func (m *LabelAnnotation) GetLocations() []*LabelLocation {
if m != nil {
return m.Locations
}
return nil
}
// Safe search annotation (based on per-frame visual signals only).
// If no unsafe content has been detected in a frame, no annotations
// are present for that frame. If only some types of unsafe content
// have been detected in a frame, the likelihood is set to `UNKNOWN`
// for all other types of unsafe content.
type SafeSearchAnnotation struct {
// Likelihood of adult content.
Adult Likelihood `protobuf:"varint,1,opt,name=adult,enum=google.cloud.videointelligence.v1beta1.Likelihood" json:"adult,omitempty"`
// Likelihood that an obvious modification was made to the original
// version to make it appear funny or offensive.
Spoof Likelihood `protobuf:"varint,2,opt,name=spoof,enum=google.cloud.videointelligence.v1beta1.Likelihood" json:"spoof,omitempty"`
// Likelihood of medical content.
Medical Likelihood `protobuf:"varint,3,opt,name=medical,enum=google.cloud.videointelligence.v1beta1.Likelihood" json:"medical,omitempty"`
// Likelihood of violent content.
Violent Likelihood `protobuf:"varint,4,opt,name=violent,enum=google.cloud.videointelligence.v1beta1.Likelihood" json:"violent,omitempty"`
// Likelihood of racy content.
Racy Likelihood `protobuf:"varint,5,opt,name=racy,enum=google.cloud.videointelligence.v1beta1.Likelihood" json:"racy,omitempty"`
// Video time offset in microseconds.
TimeOffset int64 `protobuf:"varint,6,opt,name=time_offset,json=timeOffset" json:"time_offset,omitempty"`
}
func (m *SafeSearchAnnotation) Reset() { *m = SafeSearchAnnotation{} }
func (m *SafeSearchAnnotation) String() string { return proto.CompactTextString(m) }
func (*SafeSearchAnnotation) ProtoMessage() {}
func (*SafeSearchAnnotation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *SafeSearchAnnotation) GetAdult() Likelihood {
if m != nil {
return m.Adult
}
return Likelihood_UNKNOWN
}
func (m *SafeSearchAnnotation) GetSpoof() Likelihood {
if m != nil {
return m.Spoof
}
return Likelihood_UNKNOWN
}
func (m *SafeSearchAnnotation) GetMedical() Likelihood {
if m != nil {
return m.Medical
}
return Likelihood_UNKNOWN
}
func (m *SafeSearchAnnotation) GetViolent() Likelihood {
if m != nil {
return m.Violent
}
return Likelihood_UNKNOWN
}
func (m *SafeSearchAnnotation) GetRacy() Likelihood {
if m != nil {
return m.Racy
}
return Likelihood_UNKNOWN
}
func (m *SafeSearchAnnotation) GetTimeOffset() int64 {
if m != nil {
return m.TimeOffset
}
return 0
}
// Bounding box.
type BoundingBox struct {
// Left X coordinate.
Left int32 `protobuf:"varint,1,opt,name=left" json:"left,omitempty"`
// Right X coordinate.
Right int32 `protobuf:"varint,2,opt,name=right" json:"right,omitempty"`
// Bottom Y coordinate.
Bottom int32 `protobuf:"varint,3,opt,name=bottom" json:"bottom,omitempty"`
// Top Y coordinate.
Top int32 `protobuf:"varint,4,opt,name=top" json:"top,omitempty"`
}
func (m *BoundingBox) Reset() { *m = BoundingBox{} }
func (m *BoundingBox) String() string { return proto.CompactTextString(m) }
func (*BoundingBox) ProtoMessage() {}
func (*BoundingBox) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
func (m *BoundingBox) GetLeft() int32 {
if m != nil {
return m.Left
}
return 0
}
func (m *BoundingBox) GetRight() int32 {
if m != nil {
return m.Right
}
return 0
}
func (m *BoundingBox) GetBottom() int32 {
if m != nil {
return m.Bottom
}
return 0
}
func (m *BoundingBox) GetTop() int32 {
if m != nil {
return m.Top
}
return 0
}
// Face location.
type FaceLocation struct {
// Bounding box in a frame.
BoundingBox *BoundingBox `protobuf:"bytes,1,opt,name=bounding_box,json=boundingBox" json:"bounding_box,omitempty"`
// Video time offset in microseconds.
TimeOffset int64 `protobuf:"varint,2,opt,name=time_offset,json=timeOffset" json:"time_offset,omitempty"`
}
func (m *FaceLocation) Reset() { *m = FaceLocation{} }
func (m *FaceLocation) String() string { return proto.CompactTextString(m) }
func (*FaceLocation) ProtoMessage() {}
func (*FaceLocation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
func (m *FaceLocation) GetBoundingBox() *BoundingBox {
if m != nil {
return m.BoundingBox
}
return nil
}
func (m *FaceLocation) GetTimeOffset() int64 {
if m != nil {
return m.TimeOffset
}
return 0
}
// Face annotation.
type FaceAnnotation struct {
// Thumbnail of a representative face view (in JPEG format). Encoding: base64.
Thumbnail string `protobuf:"bytes,1,opt,name=thumbnail" json:"thumbnail,omitempty"`
// All locations where a face was detected.
// Faces are detected and tracked on a per-video basis
// (as opposed to across multiple videos).
Segments []*VideoSegment `protobuf:"bytes,2,rep,name=segments" json:"segments,omitempty"`
// Face locations at one frame per second.
Locations []*FaceLocation `protobuf:"bytes,3,rep,name=locations" json:"locations,omitempty"`
}
func (m *FaceAnnotation) Reset() { *m = FaceAnnotation{} }
func (m *FaceAnnotation) String() string { return proto.CompactTextString(m) }
func (*FaceAnnotation) ProtoMessage() {}
func (*FaceAnnotation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
func (m *FaceAnnotation) GetThumbnail() string {
if m != nil {
return m.Thumbnail
}
return ""
}
func (m *FaceAnnotation) GetSegments() []*VideoSegment {
if m != nil {
return m.Segments
}
return nil
}
func (m *FaceAnnotation) GetLocations() []*FaceLocation {
if m != nil {
return m.Locations
}
return nil
}
// Annotation results for a single video.
type VideoAnnotationResults struct {
// Video file location in
// [Google Cloud Storage](https://cloud.google.com/storage/).
InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri" json:"input_uri,omitempty"`
// Label annotations. There is exactly one element for each unique label.
LabelAnnotations []*LabelAnnotation `protobuf:"bytes,2,rep,name=label_annotations,json=labelAnnotations" json:"label_annotations,omitempty"`
// Face annotations. There is exactly one element for each unique face.
FaceAnnotations []*FaceAnnotation `protobuf:"bytes,3,rep,name=face_annotations,json=faceAnnotations" json:"face_annotations,omitempty"`
// Shot annotations. Each shot is represented as a video segment.
ShotAnnotations []*VideoSegment `protobuf:"bytes,4,rep,name=shot_annotations,json=shotAnnotations" json:"shot_annotations,omitempty"`
// Safe search annotations.
SafeSearchAnnotations []*SafeSearchAnnotation `protobuf:"bytes,6,rep,name=safe_search_annotations,json=safeSearchAnnotations" json:"safe_search_annotations,omitempty"`
// If set, indicates an error. Note that for a single `AnnotateVideoRequest`
// some videos may succeed and some may fail.
Error *google_rpc.Status `protobuf:"bytes,5,opt,name=error" json:"error,omitempty"`
}
func (m *VideoAnnotationResults) Reset() { *m = VideoAnnotationResults{} }
func (m *VideoAnnotationResults) String() string { return proto.CompactTextString(m) }
func (*VideoAnnotationResults) ProtoMessage() {}
func (*VideoAnnotationResults) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
func (m *VideoAnnotationResults) GetInputUri() string {
if m != nil {
return m.InputUri
}
return ""
}
func (m *VideoAnnotationResults) GetLabelAnnotations() []*LabelAnnotation {
if m != nil {
return m.LabelAnnotations
}
return nil
}
func (m *VideoAnnotationResults) GetFaceAnnotations() []*FaceAnnotation {
if m != nil {
return m.FaceAnnotations
}
return nil
}
func (m *VideoAnnotationResults) GetShotAnnotations() []*VideoSegment {
if m != nil {
return m.ShotAnnotations
}
return nil
}
func (m *VideoAnnotationResults) GetSafeSearchAnnotations() []*SafeSearchAnnotation {
if m != nil {
return m.SafeSearchAnnotations
}
return nil
}
func (m *VideoAnnotationResults) GetError() *google_rpc.Status {
if m != nil {
return m.Error
}
return nil
}
// Video annotation response. Included in the `response`
// field of the `Operation` returned by the `GetOperation`
// call of the `google::longrunning::Operations` service.
type AnnotateVideoResponse struct {
// Annotation results for all videos specified in `AnnotateVideoRequest`.
AnnotationResults []*VideoAnnotationResults `protobuf:"bytes,1,rep,name=annotation_results,json=annotationResults" json:"annotation_results,omitempty"`
}
func (m *AnnotateVideoResponse) Reset() { *m = AnnotateVideoResponse{} }
func (m *AnnotateVideoResponse) String() string { return proto.CompactTextString(m) }
func (*AnnotateVideoResponse) ProtoMessage() {}
func (*AnnotateVideoResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
func (m *AnnotateVideoResponse) GetAnnotationResults() []*VideoAnnotationResults {
if m != nil {
return m.AnnotationResults
}
return nil
}
// Annotation progress for a single video.
type VideoAnnotationProgress struct {
// Video file location in
// [Google Cloud Storage](https://cloud.google.com/storage/).
InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri" json:"input_uri,omitempty"`
// Approximate percentage processed thus far.
// Guaranteed to be 100 when fully processed.
ProgressPercent int32 `protobuf:"varint,2,opt,name=progress_percent,json=progressPercent" json:"progress_percent,omitempty"`
// Time when the request was received.
StartTime *google_protobuf3.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
// Time of the most recent update.
UpdateTime *google_protobuf3.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime" json:"update_time,omitempty"`
}
func (m *VideoAnnotationProgress) Reset() { *m = VideoAnnotationProgress{} }
func (m *VideoAnnotationProgress) String() string { return proto.CompactTextString(m) }
func (*VideoAnnotationProgress) ProtoMessage() {}
func (*VideoAnnotationProgress) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
func (m *VideoAnnotationProgress) GetInputUri() string {
if m != nil {
return m.InputUri
}
return ""
}
func (m *VideoAnnotationProgress) GetProgressPercent() int32 {
if m != nil {
return m.ProgressPercent
}
return 0
}
func (m *VideoAnnotationProgress) GetStartTime() *google_protobuf3.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
func (m *VideoAnnotationProgress) GetUpdateTime() *google_protobuf3.Timestamp {
if m != nil {
return m.UpdateTime
}
return nil
}
// Video annotation progress. Included in the `metadata`
// field of the `Operation` returned by the `GetOperation`
// call of the `google::longrunning::Operations` service.
type AnnotateVideoProgress struct {
// Progress metadata for all videos specified in `AnnotateVideoRequest`.
AnnotationProgress []*VideoAnnotationProgress `protobuf:"bytes,1,rep,name=annotation_progress,json=annotationProgress" json:"annotation_progress,omitempty"`
}
func (m *AnnotateVideoProgress) Reset() { *m = AnnotateVideoProgress{} }
func (m *AnnotateVideoProgress) String() string { return proto.CompactTextString(m) }
func (*AnnotateVideoProgress) ProtoMessage() {}
func (*AnnotateVideoProgress) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
func (m *AnnotateVideoProgress) GetAnnotationProgress() []*VideoAnnotationProgress {
if m != nil {
return m.AnnotationProgress
}
return nil
}
func init() {
proto.RegisterType((*AnnotateVideoRequest)(nil), "google.cloud.videointelligence.v1beta1.AnnotateVideoRequest")
proto.RegisterType((*VideoContext)(nil), "google.cloud.videointelligence.v1beta1.VideoContext")
proto.RegisterType((*VideoSegment)(nil), "google.cloud.videointelligence.v1beta1.VideoSegment")
proto.RegisterType((*LabelLocation)(nil), "google.cloud.videointelligence.v1beta1.LabelLocation")
proto.RegisterType((*LabelAnnotation)(nil), "google.cloud.videointelligence.v1beta1.LabelAnnotation")
proto.RegisterType((*SafeSearchAnnotation)(nil), "google.cloud.videointelligence.v1beta1.SafeSearchAnnotation")
proto.RegisterType((*BoundingBox)(nil), "google.cloud.videointelligence.v1beta1.BoundingBox")
proto.RegisterType((*FaceLocation)(nil), "google.cloud.videointelligence.v1beta1.FaceLocation")
proto.RegisterType((*FaceAnnotation)(nil), "google.cloud.videointelligence.v1beta1.FaceAnnotation")
proto.RegisterType((*VideoAnnotationResults)(nil), "google.cloud.videointelligence.v1beta1.VideoAnnotationResults")
proto.RegisterType((*AnnotateVideoResponse)(nil), "google.cloud.videointelligence.v1beta1.AnnotateVideoResponse")
proto.RegisterType((*VideoAnnotationProgress)(nil), "google.cloud.videointelligence.v1beta1.VideoAnnotationProgress")
proto.RegisterType((*AnnotateVideoProgress)(nil), "google.cloud.videointelligence.v1beta1.AnnotateVideoProgress")
proto.RegisterEnum("google.cloud.videointelligence.v1beta1.Feature", Feature_name, Feature_value)
proto.RegisterEnum("google.cloud.videointelligence.v1beta1.LabelLevel", LabelLevel_name, LabelLevel_value)
proto.RegisterEnum("google.cloud.videointelligence.v1beta1.LabelDetectionMode", LabelDetectionMode_name, LabelDetectionMode_value)
proto.RegisterEnum("google.cloud.videointelligence.v1beta1.Likelihood", Likelihood_name, Likelihood_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 VideoIntelligenceService service
type VideoIntelligenceServiceClient interface {
// Performs asynchronous video annotation. Progress and results can be
// retrieved through the `google.longrunning.Operations` interface.
// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
// `Operation.response` contains `AnnotateVideoResponse` (results).
AnnotateVideo(ctx context.Context, in *AnnotateVideoRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
}
type videoIntelligenceServiceClient struct {
cc *grpc.ClientConn
}
func NewVideoIntelligenceServiceClient(cc *grpc.ClientConn) VideoIntelligenceServiceClient {
return &videoIntelligenceServiceClient{cc}
}
func (c *videoIntelligenceServiceClient) AnnotateVideo(ctx context.Context, in *AnnotateVideoRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
out := new(google_longrunning.Operation)
err := grpc.Invoke(ctx, "/google.cloud.videointelligence.v1beta1.VideoIntelligenceService/AnnotateVideo", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for VideoIntelligenceService service
type VideoIntelligenceServiceServer interface {
// Performs asynchronous video annotation. Progress and results can be
// retrieved through the `google.longrunning.Operations` interface.
// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
// `Operation.response` contains `AnnotateVideoResponse` (results).
AnnotateVideo(context.Context, *AnnotateVideoRequest) (*google_longrunning.Operation, error)
}
func RegisterVideoIntelligenceServiceServer(s *grpc.Server, srv VideoIntelligenceServiceServer) {
s.RegisterService(&_VideoIntelligenceService_serviceDesc, srv)
}
func _VideoIntelligenceService_AnnotateVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AnnotateVideoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(VideoIntelligenceServiceServer).AnnotateVideo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.cloud.videointelligence.v1beta1.VideoIntelligenceService/AnnotateVideo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(VideoIntelligenceServiceServer).AnnotateVideo(ctx, req.(*AnnotateVideoRequest))
}
return interceptor(ctx, in, info, handler)
}
var _VideoIntelligenceService_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.videointelligence.v1beta1.VideoIntelligenceService",
HandlerType: (*VideoIntelligenceServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "AnnotateVideo",
Handler: _VideoIntelligenceService_AnnotateVideo_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/videointelligence/v1beta1/video_intelligence.proto",
}
func init() {
proto.RegisterFile("google/cloud/videointelligence/v1beta1/video_intelligence.proto", fileDescriptor0)
}
var fileDescriptor0 = []byte{
// 1503 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x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 0x99, 0xda,
0x03, 0x1c, 0x50, 0x63, 0xe0, 0x49, 0x81, 0x2d, 0x29, 0xe0, 0x7b, 0x66, 0x39, 0xa0, 0x06, 0x0d,
0xa5, 0x66, 0xf1, 0xa7, 0x04, 0x6c, 0x54, 0x85, 0x51, 0x7c, 0xce, 0x5c, 0xd4, 0xf0, 0x67, 0x21,
0x0e, 0x28, 0xba, 0x05, 0x19, 0xdb, 0xf5, 0x42, 0xaa, 0x87, 0xbe, 0x5d, 0x50, 0x76, 0x95, 0xbd,
0x8c, 0xb6, 0xc4, 0x09, 0x67, 0xbe, 0x8d, 0xee, 0xc2, 0x8a, 0x60, 0x9a, 0xc4, 0xa5, 0xd8, 0xa5,
0x85, 0x05, 0x2e, 0xb0, 0xcc, 0x89, 0x35, 0x41, 0x43, 0x4f, 0x61, 0xa9, 0x87, 0x0d, 0x1a, 0xfa,
0x38, 0x28, 0x24, 0x76, 0x93, 0x7b, 0xab, 0x95, 0x72, 0x69, 0xb6, 0x94, 0x94, 0xea, 0x42, 0x4f,
0x1b, 0x02, 0xa0, 0xe7, 0xb0, 0x22, 0x12, 0xcd, 0x2d, 0xbe, 0xa0, 0x85, 0xe4, 0xae, 0xb2, 0x97,
0xad, 0xbc, 0x33, 0x2b, 0x22, 0x8f, 0xad, 0x26, 0x74, 0xb5, 0xe5, 0xcb, 0xd8, 0x09, 0xed, 0x00,
0x90, 0x90, 0x46, 0xa1, 0xa6, 0x78, 0x24, 0x19, 0x41, 0x61, 0xb1, 0xde, 0x81, 0xac, 0x43, 0x4c,
0x9e, 0x6e, 0xdd, 0xb6, 0x0a, 0x69, 0xce, 0x87, 0x88, 0xd4, 0xb0, 0x8a, 0x7f, 0x24, 0x61, 0x39,
0x0e, 0x8f, 0x4e, 0x60, 0x29, 0xc0, 0xfd, 0x01, 0x76, 0x69, 0x50, 0x50, 0x76, 0x93, 0x73, 0xbb,
0xd9, 0x11, 0xca, 0xda, 0x10, 0x05, 0x39, 0xb0, 0xe1, 0x18,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, 0x6a, 0x77, 0x81, 0x1b, 0x7b,
0xf0, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1d, 0xe8, 0xc8, 0xa8, 0xae, 0x10, 0x00, 0x00,
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,873 @@
// Code generated by protoc-gen-go.
// source: google/devtools/build/v1/build_events.proto
// DO NOT EDIT!
/*
Package build is a generated protocol buffer package.
It is generated from these files:
google/devtools/build/v1/build_events.proto
google/devtools/build/v1/build_status.proto
google/devtools/build/v1/publish_build_event.proto
It has these top-level messages:
BuildEvent
StreamId
BuildStatus
PublishLifecycleEventRequest
PublishBuildToolEventStreamResponse
OrderedBuildEvent
*/
package build
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/any"
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
import google_protobuf3 "github.com/golang/protobuf/ptypes/wrappers"
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
// 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
// The type of console output stream.
type ConsoleOutputStream int32
const (
// Unspecified or unknown.
ConsoleOutputStream_UNKNOWN ConsoleOutputStream = 0
// Normal output stream.
ConsoleOutputStream_STDOUT ConsoleOutputStream = 1
// Error output stream.
ConsoleOutputStream_STDERR ConsoleOutputStream = 2
)
var ConsoleOutputStream_name = map[int32]string{
0: "UNKNOWN",
1: "STDOUT",
2: "STDERR",
}
var ConsoleOutputStream_value = map[string]int32{
"UNKNOWN": 0,
"STDOUT": 1,
"STDERR": 2,
}
func (x ConsoleOutputStream) String() string {
return proto.EnumName(ConsoleOutputStream_name, int32(x))
}
func (ConsoleOutputStream) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
// How did the event stream finish.
type BuildEvent_BuildComponentStreamFinished_FinishType int32
const (
// Unknown or unspecified; callers should never set this value.
BuildEvent_BuildComponentStreamFinished_FINISH_TYPE_UNSPECIFIED BuildEvent_BuildComponentStreamFinished_FinishType = 0
// Set by the event publisher to indicate a build event stream is
// finished.
BuildEvent_BuildComponentStreamFinished_FINISHED BuildEvent_BuildComponentStreamFinished_FinishType = 1
// Set by the WatchBuild RPC server when the publisher of a build event
// stream stops publishing events without publishing a
// BuildComponentStreamFinished event whose type equals FINISHED.
BuildEvent_BuildComponentStreamFinished_EXPIRED BuildEvent_BuildComponentStreamFinished_FinishType = 2
)
var BuildEvent_BuildComponentStreamFinished_FinishType_name = map[int32]string{
0: "FINISH_TYPE_UNSPECIFIED",
1: "FINISHED",
2: "EXPIRED",
}
var BuildEvent_BuildComponentStreamFinished_FinishType_value = map[string]int32{
"FINISH_TYPE_UNSPECIFIED": 0,
"FINISHED": 1,
"EXPIRED": 2,
}
func (x BuildEvent_BuildComponentStreamFinished_FinishType) String() string {
return proto.EnumName(BuildEvent_BuildComponentStreamFinished_FinishType_name, int32(x))
}
func (BuildEvent_BuildComponentStreamFinished_FinishType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor0, []int{0, 5, 0}
}
// Which build component generates this event stream. Each build component
// may generate one event stream.
type StreamId_BuildComponent int32
const (
// Unknown or unspecified; callers should never set this value.
StreamId_UNKNOWN_COMPONENT StreamId_BuildComponent = 0
// A component that coordinates builds.
StreamId_CONTROLLER StreamId_BuildComponent = 1
// A component that runs executables needed to complete a build.
StreamId_WORKER StreamId_BuildComponent = 2
// A component that builds something.
StreamId_TOOL StreamId_BuildComponent = 3
StreamId_DEPRECATED StreamId_BuildComponent = 4
)
var StreamId_BuildComponent_name = map[int32]string{
0: "UNKNOWN_COMPONENT",
1: "CONTROLLER",
2: "WORKER",
3: "TOOL",
4: "DEPRECATED",
}
var StreamId_BuildComponent_value = map[string]int32{
"UNKNOWN_COMPONENT": 0,
"CONTROLLER": 1,
"WORKER": 2,
"TOOL": 3,
"DEPRECATED": 4,
}
func (x StreamId_BuildComponent) String() string {
return proto.EnumName(StreamId_BuildComponent_name, int32(x))
}
func (StreamId_BuildComponent) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
// An event representing some state change that occured in the build. This
// message does not include field for uniquely identifying an event.
type BuildEvent struct {
// The timestamp of this event.
EventTime *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime" json:"event_time,omitempty"`
// //////////////////////////////////////////////////////////////////////////
// Events that indicate a state change of a build request in the build
// queue.
//
// Types that are valid to be assigned to Event:
// *BuildEvent_InvocationAttemptStarted_
// *BuildEvent_InvocationAttemptFinished_
// *BuildEvent_BuildEnqueued_
// *BuildEvent_BuildFinished_
// *BuildEvent_ConsoleOutput_
// *BuildEvent_ComponentStreamFinished
// *BuildEvent_BazelEvent
// *BuildEvent_BuildExecutionEvent
// *BuildEvent_SourceFetchEvent
Event isBuildEvent_Event `protobuf_oneof:"event"`
}
func (m *BuildEvent) Reset() { *m = BuildEvent{} }
func (m *BuildEvent) String() string { return proto.CompactTextString(m) }
func (*BuildEvent) ProtoMessage() {}
func (*BuildEvent) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
type isBuildEvent_Event interface {
isBuildEvent_Event()
}
type BuildEvent_InvocationAttemptStarted_ struct {
InvocationAttemptStarted *BuildEvent_InvocationAttemptStarted `protobuf:"bytes,51,opt,name=invocation_attempt_started,json=invocationAttemptStarted,oneof"`
}
type BuildEvent_InvocationAttemptFinished_ struct {
InvocationAttemptFinished *BuildEvent_InvocationAttemptFinished `protobuf:"bytes,52,opt,name=invocation_attempt_finished,json=invocationAttemptFinished,oneof"`
}
type BuildEvent_BuildEnqueued_ struct {
BuildEnqueued *BuildEvent_BuildEnqueued `protobuf:"bytes,53,opt,name=build_enqueued,json=buildEnqueued,oneof"`
}
type BuildEvent_BuildFinished_ struct {
BuildFinished *BuildEvent_BuildFinished `protobuf:"bytes,55,opt,name=build_finished,json=buildFinished,oneof"`
}
type BuildEvent_ConsoleOutput_ struct {
ConsoleOutput *BuildEvent_ConsoleOutput `protobuf:"bytes,56,opt,name=console_output,json=consoleOutput,oneof"`
}
type BuildEvent_ComponentStreamFinished struct {
ComponentStreamFinished *BuildEvent_BuildComponentStreamFinished `protobuf:"bytes,59,opt,name=component_stream_finished,json=componentStreamFinished,oneof"`
}
type BuildEvent_BazelEvent struct {
BazelEvent *google_protobuf1.Any `protobuf:"bytes,60,opt,name=bazel_event,json=bazelEvent,oneof"`
}
type BuildEvent_BuildExecutionEvent struct {
BuildExecutionEvent *google_protobuf1.Any `protobuf:"bytes,61,opt,name=build_execution_event,json=buildExecutionEvent,oneof"`
}
type BuildEvent_SourceFetchEvent struct {
SourceFetchEvent *google_protobuf1.Any `protobuf:"bytes,62,opt,name=source_fetch_event,json=sourceFetchEvent,oneof"`
}
func (*BuildEvent_InvocationAttemptStarted_) isBuildEvent_Event() {}
func (*BuildEvent_InvocationAttemptFinished_) isBuildEvent_Event() {}
func (*BuildEvent_BuildEnqueued_) isBuildEvent_Event() {}
func (*BuildEvent_BuildFinished_) isBuildEvent_Event() {}
func (*BuildEvent_ConsoleOutput_) isBuildEvent_Event() {}
func (*BuildEvent_ComponentStreamFinished) isBuildEvent_Event() {}
func (*BuildEvent_BazelEvent) isBuildEvent_Event() {}
func (*BuildEvent_BuildExecutionEvent) isBuildEvent_Event() {}
func (*BuildEvent_SourceFetchEvent) isBuildEvent_Event() {}
func (m *BuildEvent) GetEvent() isBuildEvent_Event {
if m != nil {
return m.Event
}
return nil
}
func (m *BuildEvent) GetEventTime() *google_protobuf2.Timestamp {
if m != nil {
return m.EventTime
}
return nil
}
func (m *BuildEvent) GetInvocationAttemptStarted() *BuildEvent_InvocationAttemptStarted {
if x, ok := m.GetEvent().(*BuildEvent_InvocationAttemptStarted_); ok {
return x.InvocationAttemptStarted
}
return nil
}
func (m *BuildEvent) GetInvocationAttemptFinished() *BuildEvent_InvocationAttemptFinished {
if x, ok := m.GetEvent().(*BuildEvent_InvocationAttemptFinished_); ok {
return x.InvocationAttemptFinished
}
return nil
}
func (m *BuildEvent) GetBuildEnqueued() *BuildEvent_BuildEnqueued {
if x, ok := m.GetEvent().(*BuildEvent_BuildEnqueued_); ok {
return x.BuildEnqueued
}
return nil
}
func (m *BuildEvent) GetBuildFinished() *BuildEvent_BuildFinished {
if x, ok := m.GetEvent().(*BuildEvent_BuildFinished_); ok {
return x.BuildFinished
}
return nil
}
func (m *BuildEvent) GetConsoleOutput() *BuildEvent_ConsoleOutput {
if x, ok := m.GetEvent().(*BuildEvent_ConsoleOutput_); ok {
return x.ConsoleOutput
}
return nil
}
func (m *BuildEvent) GetComponentStreamFinished() *BuildEvent_BuildComponentStreamFinished {
if x, ok := m.GetEvent().(*BuildEvent_ComponentStreamFinished); ok {
return x.ComponentStreamFinished
}
return nil
}
func (m *BuildEvent) GetBazelEvent() *google_protobuf1.Any {
if x, ok := m.GetEvent().(*BuildEvent_BazelEvent); ok {
return x.BazelEvent
}
return nil
}
func (m *BuildEvent) GetBuildExecutionEvent() *google_protobuf1.Any {
if x, ok := m.GetEvent().(*BuildEvent_BuildExecutionEvent); ok {
return x.BuildExecutionEvent
}
return nil
}
func (m *BuildEvent) GetSourceFetchEvent() *google_protobuf1.Any {
if x, ok := m.GetEvent().(*BuildEvent_SourceFetchEvent); ok {
return x.SourceFetchEvent
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*BuildEvent) 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 _BuildEvent_OneofMarshaler, _BuildEvent_OneofUnmarshaler, _BuildEvent_OneofSizer, []interface{}{
(*BuildEvent_InvocationAttemptStarted_)(nil),
(*BuildEvent_InvocationAttemptFinished_)(nil),
(*BuildEvent_BuildEnqueued_)(nil),
(*BuildEvent_BuildFinished_)(nil),
(*BuildEvent_ConsoleOutput_)(nil),
(*BuildEvent_ComponentStreamFinished)(nil),
(*BuildEvent_BazelEvent)(nil),
(*BuildEvent_BuildExecutionEvent)(nil),
(*BuildEvent_SourceFetchEvent)(nil),
}
}
func _BuildEvent_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*BuildEvent)
// event
switch x := m.Event.(type) {
case *BuildEvent_InvocationAttemptStarted_:
b.EncodeVarint(51<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.InvocationAttemptStarted); err != nil {
return err
}
case *BuildEvent_InvocationAttemptFinished_:
b.EncodeVarint(52<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.InvocationAttemptFinished); err != nil {
return err
}
case *BuildEvent_BuildEnqueued_:
b.EncodeVarint(53<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BuildEnqueued); err != nil {
return err
}
case *BuildEvent_BuildFinished_:
b.EncodeVarint(55<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BuildFinished); err != nil {
return err
}
case *BuildEvent_ConsoleOutput_:
b.EncodeVarint(56<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ConsoleOutput); err != nil {
return err
}
case *BuildEvent_ComponentStreamFinished:
b.EncodeVarint(59<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.ComponentStreamFinished); err != nil {
return err
}
case *BuildEvent_BazelEvent:
b.EncodeVarint(60<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BazelEvent); err != nil {
return err
}
case *BuildEvent_BuildExecutionEvent:
b.EncodeVarint(61<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BuildExecutionEvent); err != nil {
return err
}
case *BuildEvent_SourceFetchEvent:
b.EncodeVarint(62<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SourceFetchEvent); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("BuildEvent.Event has unexpected type %T", x)
}
return nil
}
func _BuildEvent_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*BuildEvent)
switch tag {
case 51: // event.invocation_attempt_started
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BuildEvent_InvocationAttemptStarted)
err := b.DecodeMessage(msg)
m.Event = &BuildEvent_InvocationAttemptStarted_{msg}
return true, err
case 52: // event.invocation_attempt_finished
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BuildEvent_InvocationAttemptFinished)
err := b.DecodeMessage(msg)
m.Event = &BuildEvent_InvocationAttemptFinished_{msg}
return true, err
case 53: // event.build_enqueued
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BuildEvent_BuildEnqueued)
err := b.DecodeMessage(msg)
m.Event = &BuildEvent_BuildEnqueued_{msg}
return true, err
case 55: // event.build_finished
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BuildEvent_BuildFinished)
err := b.DecodeMessage(msg)
m.Event = &BuildEvent_BuildFinished_{msg}
return true, err
case 56: // event.console_output
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BuildEvent_ConsoleOutput)
err := b.DecodeMessage(msg)
m.Event = &BuildEvent_ConsoleOutput_{msg}
return true, err
case 59: // event.component_stream_finished
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(BuildEvent_BuildComponentStreamFinished)
err := b.DecodeMessage(msg)
m.Event = &BuildEvent_ComponentStreamFinished{msg}
return true, err
case 60: // event.bazel_event
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(google_protobuf1.Any)
err := b.DecodeMessage(msg)
m.Event = &BuildEvent_BazelEvent{msg}
return true, err
case 61: // event.build_execution_event
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(google_protobuf1.Any)
err := b.DecodeMessage(msg)
m.Event = &BuildEvent_BuildExecutionEvent{msg}
return true, err
case 62: // event.source_fetch_event
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(google_protobuf1.Any)
err := b.DecodeMessage(msg)
m.Event = &BuildEvent_SourceFetchEvent{msg}
return true, err
default:
return false, nil
}
}
func _BuildEvent_OneofSizer(msg proto.Message) (n int) {
m := msg.(*BuildEvent)
// event
switch x := m.Event.(type) {
case *BuildEvent_InvocationAttemptStarted_:
s := proto.Size(x.InvocationAttemptStarted)
n += proto.SizeVarint(51<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *BuildEvent_InvocationAttemptFinished_:
s := proto.Size(x.InvocationAttemptFinished)
n += proto.SizeVarint(52<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *BuildEvent_BuildEnqueued_:
s := proto.Size(x.BuildEnqueued)
n += proto.SizeVarint(53<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *BuildEvent_BuildFinished_:
s := proto.Size(x.BuildFinished)
n += proto.SizeVarint(55<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *BuildEvent_ConsoleOutput_:
s := proto.Size(x.ConsoleOutput)
n += proto.SizeVarint(56<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *BuildEvent_ComponentStreamFinished:
s := proto.Size(x.ComponentStreamFinished)
n += proto.SizeVarint(59<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *BuildEvent_BazelEvent:
s := proto.Size(x.BazelEvent)
n += proto.SizeVarint(60<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *BuildEvent_BuildExecutionEvent:
s := proto.Size(x.BuildExecutionEvent)
n += proto.SizeVarint(61<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *BuildEvent_SourceFetchEvent:
s := proto.Size(x.SourceFetchEvent)
n += proto.SizeVarint(62<<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
}
// Notification that the build system has attempted to run the build tool.
type BuildEvent_InvocationAttemptStarted struct {
// The number of the invocation attempt, starting at 1 and increasing by 1
// for each new attempt. Can be used to determine if there is a later
// invocation attempt replacing the current one a client is processing.
AttemptNumber int64 `protobuf:"varint,1,opt,name=attempt_number,json=attemptNumber" json:"attempt_number,omitempty"`
}
func (m *BuildEvent_InvocationAttemptStarted) Reset() { *m = BuildEvent_InvocationAttemptStarted{} }
func (m *BuildEvent_InvocationAttemptStarted) String() string { return proto.CompactTextString(m) }
func (*BuildEvent_InvocationAttemptStarted) ProtoMessage() {}
func (*BuildEvent_InvocationAttemptStarted) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{0, 0}
}
func (m *BuildEvent_InvocationAttemptStarted) GetAttemptNumber() int64 {
if m != nil {
return m.AttemptNumber
}
return 0
}
// Notification that an invocation attempt has finished.
type BuildEvent_InvocationAttemptFinished struct {
// The status of the build request.
// If OK, the build request was run, though this does not mean the
// requested build tool succeeded. "exit_code" will be set to the
// exit code of the build tool.
// If not OK, the build request was not successfully executed.
// "exit_code" will not be set.
Status *google_rpc.Status `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
// The exit code of the build tool.
ExitCode *google_protobuf3.Int32Value `protobuf:"bytes,2,opt,name=exit_code,json=exitCode" json:"exit_code,omitempty"`
// Final status of the invocation.
InvocationStatus *BuildStatus `protobuf:"bytes,3,opt,name=invocation_status,json=invocationStatus" json:"invocation_status,omitempty"`
}
func (m *BuildEvent_InvocationAttemptFinished) Reset() { *m = BuildEvent_InvocationAttemptFinished{} }
func (m *BuildEvent_InvocationAttemptFinished) String() string { return proto.CompactTextString(m) }
func (*BuildEvent_InvocationAttemptFinished) ProtoMessage() {}
func (*BuildEvent_InvocationAttemptFinished) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{0, 1}
}
func (m *BuildEvent_InvocationAttemptFinished) GetStatus() *google_rpc.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *BuildEvent_InvocationAttemptFinished) GetExitCode() *google_protobuf3.Int32Value {
if m != nil {
return m.ExitCode
}
return nil
}
func (m *BuildEvent_InvocationAttemptFinished) GetInvocationStatus() *BuildStatus {
if m != nil {
return m.InvocationStatus
}
return nil
}
// Notification that the build request is enqueued. It could happen when
// a new build request is inserted into the build queue, or when a
// build request is put back into the build queue due to a previous build
// failure.
type BuildEvent_BuildEnqueued struct {
}
func (m *BuildEvent_BuildEnqueued) Reset() { *m = BuildEvent_BuildEnqueued{} }
func (m *BuildEvent_BuildEnqueued) String() string { return proto.CompactTextString(m) }
func (*BuildEvent_BuildEnqueued) ProtoMessage() {}
func (*BuildEvent_BuildEnqueued) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 2} }
// Notification that the build request has finished, and no further
// invocations will occur. Note that this applies to the entire Build.
// Individual invocations trigger InvocationFinished when they finish.
type BuildEvent_BuildFinished struct {
// Final status of the build.
Status *BuildStatus `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
}
func (m *BuildEvent_BuildFinished) Reset() { *m = BuildEvent_BuildFinished{} }
func (m *BuildEvent_BuildFinished) String() string { return proto.CompactTextString(m) }
func (*BuildEvent_BuildFinished) ProtoMessage() {}
func (*BuildEvent_BuildFinished) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 3} }
func (m *BuildEvent_BuildFinished) GetStatus() *BuildStatus {
if m != nil {
return m.Status
}
return nil
}
// Textual output written to standard output or standard error.
type BuildEvent_ConsoleOutput struct {
// The output stream type.
Type ConsoleOutputStream `protobuf:"varint,1,opt,name=type,enum=google.devtools.build.v1.ConsoleOutputStream" json:"type,omitempty"`
// The output stream content.
//
// Types that are valid to be assigned to Output:
// *BuildEvent_ConsoleOutput_TextOutput
// *BuildEvent_ConsoleOutput_BinaryOutput
Output isBuildEvent_ConsoleOutput_Output `protobuf_oneof:"output"`
}
func (m *BuildEvent_ConsoleOutput) Reset() { *m = BuildEvent_ConsoleOutput{} }
func (m *BuildEvent_ConsoleOutput) String() string { return proto.CompactTextString(m) }
func (*BuildEvent_ConsoleOutput) ProtoMessage() {}
func (*BuildEvent_ConsoleOutput) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 4} }
type isBuildEvent_ConsoleOutput_Output interface {
isBuildEvent_ConsoleOutput_Output()
}
type BuildEvent_ConsoleOutput_TextOutput struct {
TextOutput string `protobuf:"bytes,2,opt,name=text_output,json=textOutput,oneof"`
}
type BuildEvent_ConsoleOutput_BinaryOutput struct {
BinaryOutput []byte `protobuf:"bytes,3,opt,name=binary_output,json=binaryOutput,proto3,oneof"`
}
func (*BuildEvent_ConsoleOutput_TextOutput) isBuildEvent_ConsoleOutput_Output() {}
func (*BuildEvent_ConsoleOutput_BinaryOutput) isBuildEvent_ConsoleOutput_Output() {}
func (m *BuildEvent_ConsoleOutput) GetOutput() isBuildEvent_ConsoleOutput_Output {
if m != nil {
return m.Output
}
return nil
}
func (m *BuildEvent_ConsoleOutput) GetType() ConsoleOutputStream {
if m != nil {
return m.Type
}
return ConsoleOutputStream_UNKNOWN
}
func (m *BuildEvent_ConsoleOutput) GetTextOutput() string {
if x, ok := m.GetOutput().(*BuildEvent_ConsoleOutput_TextOutput); ok {
return x.TextOutput
}
return ""
}
func (m *BuildEvent_ConsoleOutput) GetBinaryOutput() []byte {
if x, ok := m.GetOutput().(*BuildEvent_ConsoleOutput_BinaryOutput); ok {
return x.BinaryOutput
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*BuildEvent_ConsoleOutput) 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 _BuildEvent_ConsoleOutput_OneofMarshaler, _BuildEvent_ConsoleOutput_OneofUnmarshaler, _BuildEvent_ConsoleOutput_OneofSizer, []interface{}{
(*BuildEvent_ConsoleOutput_TextOutput)(nil),
(*BuildEvent_ConsoleOutput_BinaryOutput)(nil),
}
}
func _BuildEvent_ConsoleOutput_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*BuildEvent_ConsoleOutput)
// output
switch x := m.Output.(type) {
case *BuildEvent_ConsoleOutput_TextOutput:
b.EncodeVarint(2<<3 | proto.WireBytes)
b.EncodeStringBytes(x.TextOutput)
case *BuildEvent_ConsoleOutput_BinaryOutput:
b.EncodeVarint(3<<3 | proto.WireBytes)
b.EncodeRawBytes(x.BinaryOutput)
case nil:
default:
return fmt.Errorf("BuildEvent_ConsoleOutput.Output has unexpected type %T", x)
}
return nil
}
func _BuildEvent_ConsoleOutput_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*BuildEvent_ConsoleOutput)
switch tag {
case 2: // output.text_output
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeStringBytes()
m.Output = &BuildEvent_ConsoleOutput_TextOutput{x}
return true, err
case 3: // output.binary_output
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeRawBytes(true)
m.Output = &BuildEvent_ConsoleOutput_BinaryOutput{x}
return true, err
default:
return false, nil
}
}
func _BuildEvent_ConsoleOutput_OneofSizer(msg proto.Message) (n int) {
m := msg.(*BuildEvent_ConsoleOutput)
// output
switch x := m.Output.(type) {
case *BuildEvent_ConsoleOutput_TextOutput:
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(len(x.TextOutput)))
n += len(x.TextOutput)
case *BuildEvent_ConsoleOutput_BinaryOutput:
n += proto.SizeVarint(3<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(len(x.BinaryOutput)))
n += len(x.BinaryOutput)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// Notification of the end of a build event stream published by a build
// component other than CONTROLLER (See StreamId.BuildComponents).
type BuildEvent_BuildComponentStreamFinished struct {
// How the event stream finished.
Type BuildEvent_BuildComponentStreamFinished_FinishType `protobuf:"varint,1,opt,name=type,enum=google.devtools.build.v1.BuildEvent_BuildComponentStreamFinished_FinishType" json:"type,omitempty"`
}
func (m *BuildEvent_BuildComponentStreamFinished) Reset() {
*m = BuildEvent_BuildComponentStreamFinished{}
}
func (m *BuildEvent_BuildComponentStreamFinished) String() string { return proto.CompactTextString(m) }
func (*BuildEvent_BuildComponentStreamFinished) ProtoMessage() {}
func (*BuildEvent_BuildComponentStreamFinished) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{0, 5}
}
func (m *BuildEvent_BuildComponentStreamFinished) GetType() BuildEvent_BuildComponentStreamFinished_FinishType {
if m != nil {
return m.Type
}
return BuildEvent_BuildComponentStreamFinished_FINISH_TYPE_UNSPECIFIED
}
// Unique identifier for a build event stream.
type StreamId struct {
ProjectNumber int64 `protobuf:"varint,5,opt,name=project_number,json=projectNumber" json:"project_number,omitempty"`
// The id of a Build message.
BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
// The unique invocation ID within this build.
// It should be the same as {invocation} (below) during the migration.
InvocationId string `protobuf:"bytes,6,opt,name=invocation_id,json=invocationId" json:"invocation_id,omitempty"`
// The component that emitted this event.
Component StreamId_BuildComponent `protobuf:"varint,3,opt,name=component,enum=google.devtools.build.v1.StreamId_BuildComponent" json:"component,omitempty"`
// The unique invocation ID within this build.
// It should be the same as {invocation_id} below during the migration.
Invocation string `protobuf:"bytes,4,opt,name=invocation" json:"invocation,omitempty"`
}
func (m *StreamId) Reset() { *m = StreamId{} }
func (m *StreamId) String() string { return proto.CompactTextString(m) }
func (*StreamId) ProtoMessage() {}
func (*StreamId) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *StreamId) GetProjectNumber() int64 {
if m != nil {
return m.ProjectNumber
}
return 0
}
func (m *StreamId) GetBuildId() string {
if m != nil {
return m.BuildId
}
return ""
}
func (m *StreamId) GetInvocationId() string {
if m != nil {
return m.InvocationId
}
return ""
}
func (m *StreamId) GetComponent() StreamId_BuildComponent {
if m != nil {
return m.Component
}
return StreamId_UNKNOWN_COMPONENT
}
func (m *StreamId) GetInvocation() string {
if m != nil {
return m.Invocation
}
return ""
}
func init() {
proto.RegisterType((*BuildEvent)(nil), "google.devtools.build.v1.BuildEvent")
proto.RegisterType((*BuildEvent_InvocationAttemptStarted)(nil), "google.devtools.build.v1.BuildEvent.InvocationAttemptStarted")
proto.RegisterType((*BuildEvent_InvocationAttemptFinished)(nil), "google.devtools.build.v1.BuildEvent.InvocationAttemptFinished")
proto.RegisterType((*BuildEvent_BuildEnqueued)(nil), "google.devtools.build.v1.BuildEvent.BuildEnqueued")
proto.RegisterType((*BuildEvent_BuildFinished)(nil), "google.devtools.build.v1.BuildEvent.BuildFinished")
proto.RegisterType((*BuildEvent_ConsoleOutput)(nil), "google.devtools.build.v1.BuildEvent.ConsoleOutput")
proto.RegisterType((*BuildEvent_BuildComponentStreamFinished)(nil), "google.devtools.build.v1.BuildEvent.BuildComponentStreamFinished")
proto.RegisterType((*StreamId)(nil), "google.devtools.build.v1.StreamId")
proto.RegisterEnum("google.devtools.build.v1.ConsoleOutputStream", ConsoleOutputStream_name, ConsoleOutputStream_value)
proto.RegisterEnum("google.devtools.build.v1.BuildEvent_BuildComponentStreamFinished_FinishType", BuildEvent_BuildComponentStreamFinished_FinishType_name, BuildEvent_BuildComponentStreamFinished_FinishType_value)
proto.RegisterEnum("google.devtools.build.v1.StreamId_BuildComponent", StreamId_BuildComponent_name, StreamId_BuildComponent_value)
}
func init() { proto.RegisterFile("google/devtools/build/v1/build_events.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 979 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x6d, 0x6f, 0xdb, 0x54,
0x14, 0x8e, 0xbb, 0xae, 0x4d, 0x4f, 0x9b, 0xcc, 0xbb, 0x63, 0xaa, 0xeb, 0x56, 0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x42, 0x4d, 0xa4, 0xbc, 0x38, 0x4c, 0xaf, 0xfe, 0x33, 0x7a, 0xc6, 0x1f, 0xfe, 0x51,
0x94, 0xde, 0x0a, 0x07, 0x1f, 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x78, 0xf8, 0x09, 0x8d, 0xaa,
0x09, 0x00, 0x00,
}

View File

@@ -0,0 +1,121 @@
// Code generated by protoc-gen-go.
// source: google/devtools/build/v1/build_status.proto
// DO NOT EDIT!
package build
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import _ "github.com/golang/protobuf/ptypes/any"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// The end result of the Build.
type BuildStatus_Result int32
const (
// Unspecified or unknown.
BuildStatus_UNKNOWN_STATUS BuildStatus_Result = 0
// Build was successful and tests (if requested) all pass.
BuildStatus_COMMAND_SUCCEEDED BuildStatus_Result = 1
// Build error and/or test failure.
BuildStatus_COMMAND_FAILED BuildStatus_Result = 2
// Unable to obtain a result due to input provided by the user.
BuildStatus_USER_ERROR BuildStatus_Result = 3
// Unable to obtain a result due to a failure within the build system.
BuildStatus_SYSTEM_ERROR BuildStatus_Result = 4
// Build required too many resources, such as build tool RAM.
BuildStatus_RESOURCE_EXHAUSTED BuildStatus_Result = 5
// An invocation attempt time exceeded its deadline.
BuildStatus_INVOCATION_DEADLINE_EXCEEDED BuildStatus_Result = 6
// Build request time exceeded the request_deadline
BuildStatus_REQUEST_DEADLINE_EXCEEDED BuildStatus_Result = 8
// The build was cancelled by a call to CancelBuild.
BuildStatus_CANCELLED BuildStatus_Result = 7
)
var BuildStatus_Result_name = map[int32]string{
0: "UNKNOWN_STATUS",
1: "COMMAND_SUCCEEDED",
2: "COMMAND_FAILED",
3: "USER_ERROR",
4: "SYSTEM_ERROR",
5: "RESOURCE_EXHAUSTED",
6: "INVOCATION_DEADLINE_EXCEEDED",
8: "REQUEST_DEADLINE_EXCEEDED",
7: "CANCELLED",
}
var BuildStatus_Result_value = map[string]int32{
"UNKNOWN_STATUS": 0,
"COMMAND_SUCCEEDED": 1,
"COMMAND_FAILED": 2,
"USER_ERROR": 3,
"SYSTEM_ERROR": 4,
"RESOURCE_EXHAUSTED": 5,
"INVOCATION_DEADLINE_EXCEEDED": 6,
"REQUEST_DEADLINE_EXCEEDED": 8,
"CANCELLED": 7,
}
func (x BuildStatus_Result) String() string {
return proto.EnumName(BuildStatus_Result_name, int32(x))
}
func (BuildStatus_Result) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 0} }
// Status used for both invocation attempt and overall build completion.
type BuildStatus struct {
// The end result.
Result BuildStatus_Result `protobuf:"varint,1,opt,name=result,enum=google.devtools.build.v1.BuildStatus_Result" json:"result,omitempty"`
}
func (m *BuildStatus) Reset() { *m = BuildStatus{} }
func (m *BuildStatus) String() string { return proto.CompactTextString(m) }
func (*BuildStatus) ProtoMessage() {}
func (*BuildStatus) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *BuildStatus) GetResult() BuildStatus_Result {
if m != nil {
return m.Result
}
return BuildStatus_UNKNOWN_STATUS
}
func init() {
proto.RegisterType((*BuildStatus)(nil), "google.devtools.build.v1.BuildStatus")
proto.RegisterEnum("google.devtools.build.v1.BuildStatus_Result", BuildStatus_Result_name, BuildStatus_Result_value)
}
func init() { proto.RegisterFile("google/devtools/build/v1/build_status.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 370 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x5f, 0x4b, 0xe3, 0x40,
0x14, 0xc5, 0x37, 0xdd, 0xdd, 0xec, 0xee, 0xec, 0x6e, 0xc9, 0x0e, 0xac, 0xb4, 0xa5, 0x42, 0xe9,
0x93, 0xa0, 0x4c, 0xa8, 0x3e, 0x8a, 0x0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x33, 0x01,
0x6a, 0xb4, 0x70, 0x1b, 0x21, 0x5f, 0x00, 0x0f, 0x80, 0x73, 0x97, 0x1b, 0x5f, 0xb1, 0x81, 0xfe,
0x88, 0x3b, 0xe1, 0xc1, 0xb4, 0xd9, 0x7c, 0xc3, 0x7b, 0x08, 0x73, 0x10, 0xae, 0xcf, 0x6d, 0x08,
0xe0, 0xf6, 0xc2, 0xf2, 0x85, 0x07, 0xd4, 0xf8, 0x8e, 0x07, 0xa8, 0xef, 0xb0, 0x6b, 0xd7, 0xb6,
0x3c, 0xc7, 0x65, 0x01, 0x05, 0x8b, 0x4e, 0x1c, 0x56, 0x22, 0x4d, 0x9e, 0x8e, 0xf7, 0x51, 0x97,
0xc3, 0x95, 0x0f, 0xc2, 0xfb, 0x44, 0xfe, 0x89, 0xff, 0xa2, 0x5f, 0xb6, 0xc5, 0x6c, 0x98, 0x94,
0x7f, 0xf2, 0x63, 0xac, 0x50, 0xff, 0x41, 0x3e, 0xed, 0xac, 0x63, 0x6c, 0x6c, 0xf5, 0x31, 0x2b,
0xbb, 0x9d, 0x69, 0xf7, 0x67, 0x0d, 0x1d, 0xcb, 0x34, 0xcc, 0x62, 0x22, 0x57, 0xb1, 0x19, 0x47,
0x59, 0xd5, 0xbc, 0x59, 0x4b, 0xe1, 0x32, 0xc9, 0x3f, 0x3e, 0xfe, 0x69, 0x35, 0xbc, 0x69, 0xda,
0x5c, 0xaf, 0xe0, 0x93, 0xf7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xde, 0x3c, 0xd5, 0xd5, 0x28, 0x02,
0x00, 0x00,
}

View File

@@ -0,0 +1,403 @@
// Code generated by protoc-gen-go.
// source: google/devtools/build/v1/publish_build_event.proto
// DO NOT EDIT!
package build
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/serviceconfig"
import _ "github.com/golang/protobuf/ptypes/any"
import google_protobuf4 "github.com/golang/protobuf/ptypes/duration"
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
// The service level of the build request. Backends only uses this value when
// the BuildEnqueued event is published to determine what level of service
// this build should receive.
type PublishLifecycleEventRequest_ServiceLevel int32
const (
// Non-interactive builds can tolerate longer event latencies. This is the
// default ServiceLevel if callers do not specify one.
PublishLifecycleEventRequest_NONINTERACTIVE PublishLifecycleEventRequest_ServiceLevel = 0
// The events of an interactive build should be delivered with low latency.
PublishLifecycleEventRequest_INTERACTIVE PublishLifecycleEventRequest_ServiceLevel = 1
)
var PublishLifecycleEventRequest_ServiceLevel_name = map[int32]string{
0: "NONINTERACTIVE",
1: "INTERACTIVE",
}
var PublishLifecycleEventRequest_ServiceLevel_value = map[string]int32{
"NONINTERACTIVE": 0,
"INTERACTIVE": 1,
}
func (x PublishLifecycleEventRequest_ServiceLevel) String() string {
return proto.EnumName(PublishLifecycleEventRequest_ServiceLevel_name, int32(x))
}
func (PublishLifecycleEventRequest_ServiceLevel) EnumDescriptor() ([]byte, []int) {
return fileDescriptor2, []int{0, 0}
}
// Publishes 'lifecycle events' that update the high-level state of a build:
// - BuildEnqueued: When a build is scheduled.
// - InvocationAttemptStarted: When work for a build starts; there can be
// multiple invocations for a build (e.g. retries).
// - InvocationAttemptCompleted: When work for a build finishes.
// - BuildFinished: When a build is finished.
type PublishLifecycleEventRequest struct {
// The interactivity of this build.
ServiceLevel PublishLifecycleEventRequest_ServiceLevel `protobuf:"varint,1,opt,name=service_level,json=serviceLevel,enum=google.devtools.build.v1.PublishLifecycleEventRequest_ServiceLevel" json:"service_level,omitempty"`
// The lifecycle build event. If this is a build tool event, the RPC will fail
// with INVALID_REQUEST.
BuildEvent *OrderedBuildEvent `protobuf:"bytes,2,opt,name=build_event,json=buildEvent" json:"build_event,omitempty"`
// If the next event for this build or invocation (depending on the event
// type) hasn't been published after this duration from when {build_event}
// is written to BES, consider this stream expired. If this field is not set,
// BES backend will use its own default value.
StreamTimeout *google_protobuf4.Duration `protobuf:"bytes,3,opt,name=stream_timeout,json=streamTimeout" json:"stream_timeout,omitempty"`
// Additional information about a build request. These are define by the event
// publishers, and the Build Event Service does not validate or interpret
// them. They are used while notifying internal systems of new builds and
// invocations if the OrderedBuildEvent.event type is
// BuildEnqueued/InvocationAttemptStarted.
NotificationKeywords []string `protobuf:"bytes,4,rep,name=notification_keywords,json=notificationKeywords" json:"notification_keywords,omitempty"`
// This field identifies which project (if any) the build is associated with.
ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
}
func (m *PublishLifecycleEventRequest) Reset() { *m = PublishLifecycleEventRequest{} }
func (m *PublishLifecycleEventRequest) String() string { return proto.CompactTextString(m) }
func (*PublishLifecycleEventRequest) ProtoMessage() {}
func (*PublishLifecycleEventRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (m *PublishLifecycleEventRequest) GetServiceLevel() PublishLifecycleEventRequest_ServiceLevel {
if m != nil {
return m.ServiceLevel
}
return PublishLifecycleEventRequest_NONINTERACTIVE
}
func (m *PublishLifecycleEventRequest) GetBuildEvent() *OrderedBuildEvent {
if m != nil {
return m.BuildEvent
}
return nil
}
func (m *PublishLifecycleEventRequest) GetStreamTimeout() *google_protobuf4.Duration {
if m != nil {
return m.StreamTimeout
}
return nil
}
func (m *PublishLifecycleEventRequest) GetNotificationKeywords() []string {
if m != nil {
return m.NotificationKeywords
}
return nil
}
func (m *PublishLifecycleEventRequest) GetProjectId() string {
if m != nil {
return m.ProjectId
}
return ""
}
// States which event has been committed. Any failure to commit will cause
// RPC errors, hence not recorded by this proto.
type PublishBuildToolEventStreamResponse struct {
// The stream that contains this event.
StreamId *StreamId `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
// The sequence number of this event that has been committed.
SequenceNumber int64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber" json:"sequence_number,omitempty"`
}
func (m *PublishBuildToolEventStreamResponse) Reset() { *m = PublishBuildToolEventStreamResponse{} }
func (m *PublishBuildToolEventStreamResponse) String() string { return proto.CompactTextString(m) }
func (*PublishBuildToolEventStreamResponse) ProtoMessage() {}
func (*PublishBuildToolEventStreamResponse) Descriptor() ([]byte, []int) {
return fileDescriptor2, []int{1}
}
func (m *PublishBuildToolEventStreamResponse) GetStreamId() *StreamId {
if m != nil {
return m.StreamId
}
return nil
}
func (m *PublishBuildToolEventStreamResponse) GetSequenceNumber() int64 {
if m != nil {
return m.SequenceNumber
}
return 0
}
// Build event with contextual information about the stream it belongs to and
// its position in that stream.
type OrderedBuildEvent struct {
// Which build event stream this event belongs to.
StreamId *StreamId `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
// The position of this event in the stream. The sequence numbers for a build
// event stream should be a sequence of consecutive natural numbers starting
// from one. (1, 2, 3, ...)
SequenceNumber int64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber" json:"sequence_number,omitempty"`
// The actual event.
Event *BuildEvent `protobuf:"bytes,3,opt,name=event" json:"event,omitempty"`
}
func (m *OrderedBuildEvent) Reset() { *m = OrderedBuildEvent{} }
func (m *OrderedBuildEvent) String() string { return proto.CompactTextString(m) }
func (*OrderedBuildEvent) ProtoMessage() {}
func (*OrderedBuildEvent) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
func (m *OrderedBuildEvent) GetStreamId() *StreamId {
if m != nil {
return m.StreamId
}
return nil
}
func (m *OrderedBuildEvent) GetSequenceNumber() int64 {
if m != nil {
return m.SequenceNumber
}
return 0
}
func (m *OrderedBuildEvent) GetEvent() *BuildEvent {
if m != nil {
return m.Event
}
return nil
}
func init() {
proto.RegisterType((*PublishLifecycleEventRequest)(nil), "google.devtools.build.v1.PublishLifecycleEventRequest")
proto.RegisterType((*PublishBuildToolEventStreamResponse)(nil), "google.devtools.build.v1.PublishBuildToolEventStreamResponse")
proto.RegisterType((*OrderedBuildEvent)(nil), "google.devtools.build.v1.OrderedBuildEvent")
proto.RegisterEnum("google.devtools.build.v1.PublishLifecycleEventRequest_ServiceLevel", PublishLifecycleEventRequest_ServiceLevel_name, PublishLifecycleEventRequest_ServiceLevel_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 PublishBuildEvent service
type PublishBuildEventClient interface {
// Publish a build event stating the new state of a build (typically from the
// build queue). If the event is a BuildEnqueued event, also register the new
// build request ID and its build type to BES.
//
// The backend will persist the event and deliver it to registered frontend
// jobs immediately without batching.
//
// The commit status of the request is reported by the RPC's util_status()
// function. The error code is the canoncial error code defined in
// //util/task/codes.proto.
PublishLifecycleEvent(ctx context.Context, in *PublishLifecycleEventRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error)
// Publish build tool events belonging to the same stream to a backend job
// using bidirectional streaming.
PublishBuildToolEventStream(ctx context.Context, opts ...grpc.CallOption) (PublishBuildEvent_PublishBuildToolEventStreamClient, error)
}
type publishBuildEventClient struct {
cc *grpc.ClientConn
}
func NewPublishBuildEventClient(cc *grpc.ClientConn) PublishBuildEventClient {
return &publishBuildEventClient{cc}
}
func (c *publishBuildEventClient) PublishLifecycleEvent(ctx context.Context, in *PublishLifecycleEventRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error) {
out := new(google_protobuf5.Empty)
err := grpc.Invoke(ctx, "/google.devtools.build.v1.PublishBuildEvent/PublishLifecycleEvent", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *publishBuildEventClient) PublishBuildToolEventStream(ctx context.Context, opts ...grpc.CallOption) (PublishBuildEvent_PublishBuildToolEventStreamClient, error) {
stream, err := grpc.NewClientStream(ctx, &_PublishBuildEvent_serviceDesc.Streams[0], c.cc, "/google.devtools.build.v1.PublishBuildEvent/PublishBuildToolEventStream", opts...)
if err != nil {
return nil, err
}
x := &publishBuildEventPublishBuildToolEventStreamClient{stream}
return x, nil
}
type PublishBuildEvent_PublishBuildToolEventStreamClient interface {
Send(*OrderedBuildEvent) error
Recv() (*PublishBuildToolEventStreamResponse, error)
grpc.ClientStream
}
type publishBuildEventPublishBuildToolEventStreamClient struct {
grpc.ClientStream
}
func (x *publishBuildEventPublishBuildToolEventStreamClient) Send(m *OrderedBuildEvent) error {
return x.ClientStream.SendMsg(m)
}
func (x *publishBuildEventPublishBuildToolEventStreamClient) Recv() (*PublishBuildToolEventStreamResponse, error) {
m := new(PublishBuildToolEventStreamResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for PublishBuildEvent service
type PublishBuildEventServer interface {
// Publish a build event stating the new state of a build (typically from the
// build queue). If the event is a BuildEnqueued event, also register the new
// build request ID and its build type to BES.
//
// The backend will persist the event and deliver it to registered frontend
// jobs immediately without batching.
//
// The commit status of the request is reported by the RPC's util_status()
// function. The error code is the canoncial error code defined in
// //util/task/codes.proto.
PublishLifecycleEvent(context.Context, *PublishLifecycleEventRequest) (*google_protobuf5.Empty, error)
// Publish build tool events belonging to the same stream to a backend job
// using bidirectional streaming.
PublishBuildToolEventStream(PublishBuildEvent_PublishBuildToolEventStreamServer) error
}
func RegisterPublishBuildEventServer(s *grpc.Server, srv PublishBuildEventServer) {
s.RegisterService(&_PublishBuildEvent_serviceDesc, srv)
}
func _PublishBuildEvent_PublishLifecycleEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(PublishLifecycleEventRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(PublishBuildEventServer).PublishLifecycleEvent(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.build.v1.PublishBuildEvent/PublishLifecycleEvent",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(PublishBuildEventServer).PublishLifecycleEvent(ctx, req.(*PublishLifecycleEventRequest))
}
return interceptor(ctx, in, info, handler)
}
func _PublishBuildEvent_PublishBuildToolEventStream_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(PublishBuildEventServer).PublishBuildToolEventStream(&publishBuildEventPublishBuildToolEventStreamServer{stream})
}
type PublishBuildEvent_PublishBuildToolEventStreamServer interface {
Send(*PublishBuildToolEventStreamResponse) error
Recv() (*OrderedBuildEvent, error)
grpc.ServerStream
}
type publishBuildEventPublishBuildToolEventStreamServer struct {
grpc.ServerStream
}
func (x *publishBuildEventPublishBuildToolEventStreamServer) Send(m *PublishBuildToolEventStreamResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *publishBuildEventPublishBuildToolEventStreamServer) Recv() (*OrderedBuildEvent, error) {
m := new(OrderedBuildEvent)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
var _PublishBuildEvent_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.devtools.build.v1.PublishBuildEvent",
HandlerType: (*PublishBuildEventServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "PublishLifecycleEvent",
Handler: _PublishBuildEvent_PublishLifecycleEvent_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "PublishBuildToolEventStream",
Handler: _PublishBuildEvent_PublishBuildToolEventStream_Handler,
ServerStreams: true,
ClientStreams: true,
},
},
Metadata: "google/devtools/build/v1/publish_build_event.proto",
}
func init() { proto.RegisterFile("google/devtools/build/v1/publish_build_event.proto", fileDescriptor2) }
var fileDescriptor2 = []byte{
// 619 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0xc1, 0x6e, 0xd3, 0x40,
0x10, 0x65, 0x1b, 0xa8, 0xc8, 0xa6, 0x4d, 0xe9, 0x8a,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23, 0x9f, 0x8d, 0x6d, 0x9e, 0x8c, 0x9d, 0x31, 0x30, 0xa5, 0x95, 0xa3, 0x21, 0x3f, 0xa6,
0xe2, 0xf2, 0xe7, 0xf8, 0x44, 0x1d, 0xbe, 0x23, 0x34, 0x9a, 0x57, 0xce, 0xdb, 0x3f, 0x02, 0x00,
0x00, 0xff, 0xff, 0xb1, 0xfc, 0x73, 0x01, 0xcb, 0x05, 0x00, 0x00,
}

View File

@@ -893,53 +893,54 @@ func init() {
func init() { proto.RegisterFile("google/devtools/source/v1/source_context.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 758 bytes of a gzipped FileDescriptorProto
// 780 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcb, 0x4e, 0xdb, 0x4c,
0x14, 0x8e, 0xe3, 0x90, 0xe0, 0x13, 0x02, 0xd1, 0xfc, 0x17, 0x05, 0x28, 0x02, 0x2c, 0x55, 0x45,
0xa2, 0x72, 0x44, 0x2a, 0x55, 0x2d, 0xad, 0x44, 0x09, 0x4d, 0x9b, 0x08, 0x1a, 0xd0, 0x94, 0x5e,
0x37, 0x91, 0xb1, 0x47, 0xc6, 0xc5, 0x78, 0xac, 0xb1, 0x13, 0xe0, 0x25, 0xba, 0xee, 0xc3, 0xf5,
0x11, 0xba, 0xac, 0xd4, 0x6d, 0x35, 0x17, 0x43, 0x12, 0x82, 0x41, 0x6a, 0x57, 0x9e, 0x39, 0xfe,
0xbe, 0xef, 0x9c, 0x39, 0x97, 0x19, 0xb0, 0x3c, 0x4a, 0xbd, 0x80, 0xd4, 0x5d, 0x32, 0x48, 0x28,
0x0d, 0xe2, 0x7a, 0x4c, 0xfb, 0xcc, 0x21, 0xf5, 0xc1, 0x86, 0x5a, 0xf5, 0x1c, 0x1a, 0x26, 0xe4,
0x3c, 0xb1, 0x22, 0x46, 0x13, 0x8a, 0xe6, 0x25, 0xde, 0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, 0xe6, 0x41, 0xe3, 0x51, 0x0d, 0x4c, 0xef, 0x24, 0x33, 0xb0, 0x3c, 0xeb,
0x47, 0x50, 0x1e, 0xed, 0xa3, 0xbf, 0x1a, 0xc3, 0x31, 0xb7, 0x44, 0xe3, 0x52, 0x81, 0x05, 0x8b,
0x9e, 0xde, 0x2e, 0xd2, 0x40, 0x43, 0xc5, 0xd8, 0x67, 0x0f, 0xe2, 0xbe, 0xf2, 0x65, 0x5d, 0x12,
0x1c, 0xea, 0x99, 0xbe, 0x63, 0xd0, 0xd0, 0xa9, 0x3a, 0xc4, 0xe7, 0xcf, 0x65, 0x55, 0xfc, 0x32,
0x03, 0x37, 0x1a, 0xf3, 0x34, 0xbf, 0x12, 0xab, 0xef, 0xd9, 0xc5, 0x6d, 0xa1, 0xc0, 0x8f, 0x68,
0x6c, 0x91, 0xfe, 0x01, 0x77, 0x2c, 0xbc, 0x19, 0x87, 0xb5, 0xa3, 0x3c, 0x57, 0x7b, 0xf6, 0x27,
0x00, 0x00, 0xff, 0xff, 0x9e, 0xd0, 0x5c, 0x10, 0xe7, 0x07, 0x00, 0x00,
}

View File

@@ -0,0 +1,635 @@
// Code generated by protoc-gen-go.
// source: google/devtools/sourcerepo/v1/sourcerepo.proto
// DO NOT EDIT!
/*
Package sourcerepo is a generated protocol buffer package.
It is generated from these files:
google/devtools/sourcerepo/v1/sourcerepo.proto
It has these top-level messages:
Repo
MirrorConfig
GetRepoRequest
ListReposRequest
ListReposResponse
CreateRepoRequest
DeleteRepoRequest
*/
package sourcerepo
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/serviceconfig"
import google_iam_v11 "google.golang.org/genproto/googleapis/iam/v1"
import google_iam_v1 "google.golang.org/genproto/googleapis/iam/v1"
import google_protobuf1 "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
// 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 repository (or repo) is a Git repository storing versioned source content.
type Repo struct {
// Resource name of the repository, of the form
// `projects/<project>/repos/<repo>`.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// The disk usage of the repo, in bytes.
// Only returned by GetRepo.
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
// URL to clone the repository from Google Cloud Source Repositories.
Url string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
// How this repository mirrors a repository managed by another service.
MirrorConfig *MirrorConfig `protobuf:"bytes,4,opt,name=mirror_config,json=mirrorConfig" json:"mirror_config,omitempty"`
}
func (m *Repo) Reset() { *m = Repo{} }
func (m *Repo) String() string { return proto.CompactTextString(m) }
func (*Repo) ProtoMessage() {}
func (*Repo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *Repo) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Repo) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *Repo) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *Repo) GetMirrorConfig() *MirrorConfig {
if m != nil {
return m.MirrorConfig
}
return nil
}
// Configuration to automatically mirror a repository from another
// hosting service, for example GitHub or BitBucket.
type MirrorConfig struct {
// URL of the main repository at the other hosting service.
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
// ID of the webhook listening to updates to trigger mirroring.
// Removing this webook from the other hosting service will stop
// Google Cloud Source Repositories from receiving notifications,
// and thereby disabling mirroring.
WebhookId string `protobuf:"bytes,2,opt,name=webhook_id,json=webhookId" json:"webhook_id,omitempty"`
// ID of the SSH deploy key at the other hosting service.
// Removing this key from the other service would deauthorize
// Google Cloud Source Repositories from mirroring.
DeployKeyId string `protobuf:"bytes,3,opt,name=deploy_key_id,json=deployKeyId" json:"deploy_key_id,omitempty"`
}
func (m *MirrorConfig) Reset() { *m = MirrorConfig{} }
func (m *MirrorConfig) String() string { return proto.CompactTextString(m) }
func (*MirrorConfig) ProtoMessage() {}
func (*MirrorConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *MirrorConfig) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *MirrorConfig) GetWebhookId() string {
if m != nil {
return m.WebhookId
}
return ""
}
func (m *MirrorConfig) GetDeployKeyId() string {
if m != nil {
return m.DeployKeyId
}
return ""
}
// Request for GetRepo.
type GetRepoRequest struct {
// The name of the requested repository. Values are of the form
// `projects/<project>/repos/<repo>`.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (m *GetRepoRequest) Reset() { *m = GetRepoRequest{} }
func (m *GetRepoRequest) String() string { return proto.CompactTextString(m) }
func (*GetRepoRequest) ProtoMessage() {}
func (*GetRepoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *GetRepoRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Request for ListRepos.
type ListReposRequest struct {
// The project ID whose repos should be listed. Values are of the form
// `projects/<project>`.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Maximum number of repositories to return; between 1 and 500.
// If not set or zero, defaults to 100 at the server.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
// Resume listing repositories where a prior ListReposResponse
// left off. This is an opaque token that must be obtained from
// a recent, prior ListReposResponse's next_page_token field.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
}
func (m *ListReposRequest) Reset() { *m = ListReposRequest{} }
func (m *ListReposRequest) String() string { return proto.CompactTextString(m) }
func (*ListReposRequest) ProtoMessage() {}
func (*ListReposRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *ListReposRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ListReposRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListReposRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
// Response for ListRepos. The size is not set in the returned repositories.
type ListReposResponse struct {
// The listed repos.
Repos []*Repo `protobuf:"bytes,1,rep,name=repos" json:"repos,omitempty"`
// If non-empty, additional repositories exist within the project. These
// can be retrieved by including this value in the next ListReposRequest's
// page_token field.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
}
func (m *ListReposResponse) Reset() { *m = ListReposResponse{} }
func (m *ListReposResponse) String() string { return proto.CompactTextString(m) }
func (*ListReposResponse) ProtoMessage() {}
func (*ListReposResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *ListReposResponse) GetRepos() []*Repo {
if m != nil {
return m.Repos
}
return nil
}
func (m *ListReposResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// Request for CreateRepo
type CreateRepoRequest struct {
// The project in which to create the repo. Values are of the form
// `projects/<project>`.
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
// The repo to create. Only name should be set; setting other fields
// is an error. The project in the name should match the parent field.
Repo *Repo `protobuf:"bytes,2,opt,name=repo" json:"repo,omitempty"`
}
func (m *CreateRepoRequest) Reset() { *m = CreateRepoRequest{} }
func (m *CreateRepoRequest) String() string { return proto.CompactTextString(m) }
func (*CreateRepoRequest) ProtoMessage() {}
func (*CreateRepoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *CreateRepoRequest) GetParent() string {
if m != nil {
return m.Parent
}
return ""
}
func (m *CreateRepoRequest) GetRepo() *Repo {
if m != nil {
return m.Repo
}
return nil
}
// Request for DeleteRepo.
type DeleteRepoRequest struct {
// The name of the repo to delete. Values are of the form
// `projects/<project>/repos/<repo>`.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (m *DeleteRepoRequest) Reset() { *m = DeleteRepoRequest{} }
func (m *DeleteRepoRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteRepoRequest) ProtoMessage() {}
func (*DeleteRepoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
func (m *DeleteRepoRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func init() {
proto.RegisterType((*Repo)(nil), "google.devtools.sourcerepo.v1.Repo")
proto.RegisterType((*MirrorConfig)(nil), "google.devtools.sourcerepo.v1.MirrorConfig")
proto.RegisterType((*GetRepoRequest)(nil), "google.devtools.sourcerepo.v1.GetRepoRequest")
proto.RegisterType((*ListReposRequest)(nil), "google.devtools.sourcerepo.v1.ListReposRequest")
proto.RegisterType((*ListReposResponse)(nil), "google.devtools.sourcerepo.v1.ListReposResponse")
proto.RegisterType((*CreateRepoRequest)(nil), "google.devtools.sourcerepo.v1.CreateRepoRequest")
proto.RegisterType((*DeleteRepoRequest)(nil), "google.devtools.sourcerepo.v1.DeleteRepoRequest")
}
// 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 SourceRepo service
type SourceRepoClient interface {
// Returns all repos belonging to a project. The sizes of the repos are
// not set by ListRepos. To get the size of a repo, use GetRepo.
ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*ListReposResponse, error)
// Returns information about a repo.
GetRepo(ctx context.Context, in *GetRepoRequest, opts ...grpc.CallOption) (*Repo, error)
// Creates a repo in the given project with the given name.
//
// If the named repository already exists, `CreateRepo` returns
// `ALREADY_EXISTS`.
CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error)
// Deletes a repo.
DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
// Sets the access control policy on the specified resource. Replaces any
// existing policy.
SetIamPolicy(ctx context.Context, in *google_iam_v11.SetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error)
// Gets the access control policy for a resource.
// Returns an empty policy if the resource exists and does not have a policy
// set.
GetIamPolicy(ctx context.Context, in *google_iam_v11.GetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error)
// Returns permissions that a caller has on the specified resource.
// If the resource does not exist, this will return an empty set of
// permissions, not a NOT_FOUND error.
TestIamPermissions(ctx context.Context, in *google_iam_v11.TestIamPermissionsRequest, opts ...grpc.CallOption) (*google_iam_v11.TestIamPermissionsResponse, error)
}
type sourceRepoClient struct {
cc *grpc.ClientConn
}
func NewSourceRepoClient(cc *grpc.ClientConn) SourceRepoClient {
return &sourceRepoClient{cc}
}
func (c *sourceRepoClient) ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*ListReposResponse, error) {
out := new(ListReposResponse)
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/ListRepos", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *sourceRepoClient) GetRepo(ctx context.Context, in *GetRepoRequest, opts ...grpc.CallOption) (*Repo, error) {
out := new(Repo)
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/GetRepo", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *sourceRepoClient) CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error) {
out := new(Repo)
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/CreateRepo", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *sourceRepoClient) DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
out := new(google_protobuf1.Empty)
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/DeleteRepo", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *sourceRepoClient) SetIamPolicy(ctx context.Context, in *google_iam_v11.SetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) {
out := new(google_iam_v1.Policy)
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/SetIamPolicy", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *sourceRepoClient) GetIamPolicy(ctx context.Context, in *google_iam_v11.GetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) {
out := new(google_iam_v1.Policy)
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/GetIamPolicy", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *sourceRepoClient) TestIamPermissions(ctx context.Context, in *google_iam_v11.TestIamPermissionsRequest, opts ...grpc.CallOption) (*google_iam_v11.TestIamPermissionsResponse, error) {
out := new(google_iam_v11.TestIamPermissionsResponse)
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/TestIamPermissions", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for SourceRepo service
type SourceRepoServer interface {
// Returns all repos belonging to a project. The sizes of the repos are
// not set by ListRepos. To get the size of a repo, use GetRepo.
ListRepos(context.Context, *ListReposRequest) (*ListReposResponse, error)
// Returns information about a repo.
GetRepo(context.Context, *GetRepoRequest) (*Repo, error)
// Creates a repo in the given project with the given name.
//
// If the named repository already exists, `CreateRepo` returns
// `ALREADY_EXISTS`.
CreateRepo(context.Context, *CreateRepoRequest) (*Repo, error)
// Deletes a repo.
DeleteRepo(context.Context, *DeleteRepoRequest) (*google_protobuf1.Empty, error)
// Sets the access control policy on the specified resource. Replaces any
// existing policy.
SetIamPolicy(context.Context, *google_iam_v11.SetIamPolicyRequest) (*google_iam_v1.Policy, error)
// Gets the access control policy for a resource.
// Returns an empty policy if the resource exists and does not have a policy
// set.
GetIamPolicy(context.Context, *google_iam_v11.GetIamPolicyRequest) (*google_iam_v1.Policy, error)
// Returns permissions that a caller has on the specified resource.
// If the resource does not exist, this will return an empty set of
// permissions, not a NOT_FOUND error.
TestIamPermissions(context.Context, *google_iam_v11.TestIamPermissionsRequest) (*google_iam_v11.TestIamPermissionsResponse, error)
}
func RegisterSourceRepoServer(s *grpc.Server, srv SourceRepoServer) {
s.RegisterService(&_SourceRepo_serviceDesc, srv)
}
func _SourceRepo_ListRepos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListReposRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SourceRepoServer).ListRepos(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/ListRepos",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SourceRepoServer).ListRepos(ctx, req.(*ListReposRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SourceRepo_GetRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetRepoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SourceRepoServer).GetRepo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/GetRepo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SourceRepoServer).GetRepo(ctx, req.(*GetRepoRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SourceRepo_CreateRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateRepoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SourceRepoServer).CreateRepo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/CreateRepo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SourceRepoServer).CreateRepo(ctx, req.(*CreateRepoRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SourceRepo_DeleteRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteRepoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SourceRepoServer).DeleteRepo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/DeleteRepo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SourceRepoServer).DeleteRepo(ctx, req.(*DeleteRepoRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SourceRepo_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(google_iam_v11.SetIamPolicyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SourceRepoServer).SetIamPolicy(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/SetIamPolicy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SourceRepoServer).SetIamPolicy(ctx, req.(*google_iam_v11.SetIamPolicyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SourceRepo_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(google_iam_v11.GetIamPolicyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SourceRepoServer).GetIamPolicy(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/GetIamPolicy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SourceRepoServer).GetIamPolicy(ctx, req.(*google_iam_v11.GetIamPolicyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _SourceRepo_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(google_iam_v11.TestIamPermissionsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(SourceRepoServer).TestIamPermissions(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/TestIamPermissions",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SourceRepoServer).TestIamPermissions(ctx, req.(*google_iam_v11.TestIamPermissionsRequest))
}
return interceptor(ctx, in, info, handler)
}
var _SourceRepo_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.devtools.sourcerepo.v1.SourceRepo",
HandlerType: (*SourceRepoServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListRepos",
Handler: _SourceRepo_ListRepos_Handler,
},
{
MethodName: "GetRepo",
Handler: _SourceRepo_GetRepo_Handler,
},
{
MethodName: "CreateRepo",
Handler: _SourceRepo_CreateRepo_Handler,
},
{
MethodName: "DeleteRepo",
Handler: _SourceRepo_DeleteRepo_Handler,
},
{
MethodName: "SetIamPolicy",
Handler: _SourceRepo_SetIamPolicy_Handler,
},
{
MethodName: "GetIamPolicy",
Handler: _SourceRepo_GetIamPolicy_Handler,
},
{
MethodName: "TestIamPermissions",
Handler: _SourceRepo_TestIamPermissions_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/devtools/sourcerepo/v1/sourcerepo.proto",
}
func init() { proto.RegisterFile("google/devtools/sourcerepo/v1/sourcerepo.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 748 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b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0x30, 0x80, 0x85, 0x9e, 0xec, 0x07, 0x00, 0x00,
}

View File

@@ -18,6 +18,7 @@ It has these top-level messages:
DeleteLogRequest
WriteLogEntriesRequest
WriteLogEntriesResponse
WriteLogEntriesPartialErrors
ListLogEntriesRequest
ListLogEntriesResponse
ListMonitoredResourceDescriptorsRequest
@@ -102,6 +103,8 @@ type LogEntry struct {
// 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"`
// Output only. The time the log entry was received by Stackdriver Logging.
ReceiveTimestamp *google_protobuf4.Timestamp `protobuf:"bytes,24,opt,name=receive_timestamp,json=receiveTimestamp" json:"receive_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"`
@@ -203,6 +206,13 @@ func (m *LogEntry) GetTimestamp() *google_protobuf4.Timestamp {
return nil
}
func (m *LogEntry) GetReceiveTimestamp() *google_protobuf4.Timestamp {
if m != nil {
return m.ReceiveTimestamp
}
return nil
}
func (m *LogEntry) GetSeverity() google_logging_type1.LogSeverity {
if m != nil {
return m.Severity
@@ -443,48 +453,49 @@ func init() {
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, 0x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, 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,
// 699 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x5f, 0x6f, 0xdb, 0x36,
0x10, 0x8f, 0xec, 0xcc, 0x91, 0x69, 0xe7, 0x1f, 0x91, 0x25, 0x8a, 0x97, 0x61, 0x5e, 0x32, 0x6c,
0xde, 0x8b, 0x0c, 0x78, 0x2f, 0xc9, 0x12, 0xa0, 0xa8, 0x83, 0x22, 0x29, 0xe0, 0xb6, 0x01, 0x53,
0xf4, 0xa1, 0x28, 0x60, 0x30, 0x12, 0xad, 0xb0, 0x95, 0x49, 0x95, 0xa2, 0x8c, 0xfa, 0xa9, 0xdf,
0xa7, 0x9f, 0xa8, 0x1f, 0xa5, 0x8f, 0x05, 0x8f, 0x94, 0xed, 0xda, 0x41, 0xfa, 0x76, 0x27, 0xfe,
0xfe, 0xdc, 0x1d, 0x8f, 0x42, 0x7f, 0x26, 0x52, 0x26, 0x29, 0xeb, 0xa6, 0x32, 0x49, 0xb8, 0x48,
0xba, 0x93, 0x9e, 0x09, 0x87, 0x4c, 0x68, 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8f, 0x68,
0xc6, 0xf3, 0x85, 0xff, 0xf1, 0xb9, 0x0b, 0xbf, 0x79, 0xde, 0x97, 0xca, 0xc1, 0x95, 0x65, 0x5f,
0xa6, 0xb2, 0x88, 0xcd, 0x5d, 0x81, 0xcf, 0x9b, 0xde, 0x5d, 0x0d, 0x14, 0xfe, 0xfb, 0x1e, 0x00,
0x00, 0xff, 0xff, 0xa9, 0x61, 0x44, 0xa8, 0xd0, 0x05, 0x00, 0x00,
}

View File

@@ -12,7 +12,7 @@ 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 google_rpc "google.golang.org/genproto/googleapis/rpc/status"
import (
context "golang.org/x/net/context"
@@ -157,6 +157,29 @@ func (m *WriteLogEntriesResponse) String() string { return proto.Comp
func (*WriteLogEntriesResponse) ProtoMessage() {}
func (*WriteLogEntriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
// Error details for WriteLogEntries with partial success.
type WriteLogEntriesPartialErrors struct {
// When `WriteLogEntriesRequest.partial_success` is true, records the error
// status for entries that were not written due to a permanent error, keyed
// by the entry's zero-based index in `WriteLogEntriesRequest.entries`.
//
// Failed requests for which no entries are written will not include
// per-entry errors.
LogEntryErrors map[int32]*google_rpc.Status `protobuf:"bytes,1,rep,name=log_entry_errors,json=logEntryErrors" json:"log_entry_errors,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *WriteLogEntriesPartialErrors) Reset() { *m = WriteLogEntriesPartialErrors{} }
func (m *WriteLogEntriesPartialErrors) String() string { return proto.CompactTextString(m) }
func (*WriteLogEntriesPartialErrors) ProtoMessage() {}
func (*WriteLogEntriesPartialErrors) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
func (m *WriteLogEntriesPartialErrors) GetLogEntryErrors() map[int32]*google_rpc.Status {
if m != nil {
return m.LogEntryErrors
}
return nil
}
// The parameters to `ListLogEntries`.
type ListLogEntriesRequest struct {
// Deprecated. Use `resource_names` instead. One or more project identifiers
@@ -204,7 +227,7 @@ type ListLogEntriesRequest struct {
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 (*ListLogEntriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
func (m *ListLogEntriesRequest) GetProjectIds() []string {
if m != nil {
@@ -268,7 +291,7 @@ type ListLogEntriesResponse struct {
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 (*ListLogEntriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }
func (m *ListLogEntriesResponse) GetEntries() []*LogEntry {
if m != nil {
@@ -303,7 +326,7 @@ func (m *ListMonitoredResourceDescriptorsRequest) Reset() {
func (m *ListMonitoredResourceDescriptorsRequest) String() string { return proto.CompactTextString(m) }
func (*ListMonitoredResourceDescriptorsRequest) ProtoMessage() {}
func (*ListMonitoredResourceDescriptorsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor1, []int{5}
return fileDescriptor1, []int{6}
}
func (m *ListMonitoredResourceDescriptorsRequest) GetPageSize() int32 {
@@ -336,7 +359,7 @@ func (m *ListMonitoredResourceDescriptorsResponse) Reset() {
func (m *ListMonitoredResourceDescriptorsResponse) String() string { return proto.CompactTextString(m) }
func (*ListMonitoredResourceDescriptorsResponse) ProtoMessage() {}
func (*ListMonitoredResourceDescriptorsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor1, []int{6}
return fileDescriptor1, []int{7}
}
func (m *ListMonitoredResourceDescriptorsResponse) GetResourceDescriptors() []*google_api3.MonitoredResourceDescriptor {
@@ -376,7 +399,7 @@ type ListLogsRequest struct {
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 (*ListLogsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} }
func (m *ListLogsRequest) GetParent() string {
if m != nil {
@@ -414,7 +437,7 @@ type ListLogsResponse struct {
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 (*ListLogsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{9} }
func (m *ListLogsResponse) GetLogNames() []string {
if m != nil {
@@ -434,6 +457,7 @@ 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((*WriteLogEntriesPartialErrors)(nil), "google.logging.v2.WriteLogEntriesPartialErrors")
proto.RegisterType((*ListLogEntriesRequest)(nil), "google.logging.v2.ListLogEntriesRequest")
proto.RegisterType((*ListLogEntriesResponse)(nil), "google.logging.v2.ListLogEntriesResponse")
proto.RegisterType((*ListMonitoredResourceDescriptorsRequest)(nil), "google.logging.v2.ListMonitoredResourceDescriptorsRequest")
@@ -673,62 +697,66 @@ var _LoggingServiceV2_serviceDesc = grpc.ServiceDesc{
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,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x7c, 0xe8, 0x3f, 0x09, 0x00, 0x00,
// 975 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcd, 0x6e, 0xdb, 0x46,
0x10, 0x06, 0xa5, 0xd8, 0x91, 0x46, 0x8d, 0xad, 0x6c, 0x62, 0x59, 0x91, 0x9c, 0x58, 0xa5, 0x9b,
0x5a, 0x11, 0x10, 0x12, 0x55, 0x11, 0x20, 0x71, 0xd0, 0x8b, 0x13, 0xa3, 0x28, 0xe0, 0x14, 0x06,
0xdd, 0x26, 0x40, 0x2e, 0x02, 0x25, 0x4d, 0x88, 0x6d, 0x28, 0x2e, 0xbb, 0xbb, 0x92, 0xab, 0x04,
0xe9, 0x21, 0x87, 0xbe, 0x40, 0xdf, 0xa2, 0x87, 0xbe, 0x45, 0xaf, 0xbd, 0xf4, 0xd2, 0x43, 0x8f,
0x79, 0x88, 0x1e, 0x0b, 0xee, 0x2e, 0x65, 0xea, 0x27, 0xb2, 0xdc, 0x9b, 0x76, 0xe6, 0xdb, 0x99,
0xf9, 0x86, 0xdf, 0xcc, 0x0a, 0x76, 0x03, 0xc6, 0x82, 0x10, 0xdd, 0x90, 0x05, 0x01, 0x8d, 0x02,
0x77, 0xd4, 0x4e, 0x7f, 0x3a, 0x31, 0x67, 0x92, 0x91, 0xeb, 0x1a, 0xe0, 0xa4, 0xd6, 0x51, 0xbb,
0xb6, 0x63, 0xee, 0xf8, 0x31, 0x75, 0xfd, 0x28, 0x62, 0xd2, 0x97, 0x94, 0x45, 0x42, 0x5f, 0xa8,
0xed, 0x65, 0xbc, 0x03, 0x16, 0x51, 0xc9, 0x38, 0xf6, 0x3b, 0x1c, 0x05, 0x1b, 0xf2, 0x1e, 0x1a,
0xd0, 0xa7, 0x0b, 0xd3, 0x76, 0x30, 0x92, 0x7c, 0x6c, 0x20, 0x77, 0x0c, 0x44, 0x9d, 0xba, 0xc3,
0x57, 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0xa1, 0x81, 0x04, 0x2c, 0xf4, 0xa3, 0xc0, 0x61, 0x3c, 0x70, 0x03, 0x8c, 0x94, 0x9a, 0x5d,
0xed, 0xf2, 0x63, 0x2a, 0x32, 0x7f, 0xb7, 0x1e, 0x9b, 0x9f, 0xff, 0x5a, 0xd6, 0x6f, 0xb9, 0xed,
0xaf, 0xf5, 0xed, 0x27, 0x21, 0x1b, 0xf6, 0x1d, 0x13, 0xda, 0x79, 0xde, 0xee, 0xae, 0xab, 0x08,
0x5f, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0xe2, 0xc4, 0xaa, 0x91, 0x26, 0x0a, 0x00, 0x00,
}

View File

@@ -103,6 +103,20 @@ type LogSink struct {
// 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. This field applies only to sinks owned by organizations and
// folders. If the field is false, the default, only the logs owned by the
// sink's parent resource are available for export. If the field is true, then
// logs from all the projects, folders, and billing accounts contained in the
// sink's parent resource are also available for export. Whether a particular
// log entry from the children is exported depends on the sink's filter
// expression. For example, if this field is true, then the filter
// `resource.type=gce_instance` would export all Compute Engine VM instance
// log entries from all projects in the sink's parent. To only export entries
// from certain child projects, filter on the project part of the log name:
//
// logName:("projects/test-project1/" OR "projects/test-project2/") AND
// resource.type=gce_instance
IncludeChildren bool `protobuf:"varint,9,opt,name=include_children,json=includeChildren" json:"include_children,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
@@ -156,6 +170,13 @@ func (m *LogSink) GetWriterIdentity() string {
return ""
}
func (m *LogSink) GetIncludeChildren() bool {
if m != nil {
return m.IncludeChildren
}
return false
}
func (m *LogSink) GetStartTime() *google_protobuf4.Timestamp {
if m != nil {
return m.StartTime
@@ -658,55 +679,57 @@ var _ConfigServiceV2_serviceDesc = grpc.ServiceDesc{
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, 0x9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 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,
// 818 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xff, 0x6e, 0xdb, 0x54,
0x14, 0xc6, 0xe9, 0xaf, 0xe4, 0x54, 0x6b, 0x93, 0x0b, 0x2b, 0x56, 0xca, 0x58, 0x30, 0xdb, 0x08,
0x41, 0xd8, 0x25, 0x80, 0xc4, 0x0f, 0x21, 0xc4, 0xb2, 0x76, 0xaa, 0x54, 0xba, 0xca, 0xe9, 0x82,
0x84, 0x90, 0x2c, 0x2f, 0x3e, 0x31, 0x97, 0xd9, 0xf7, 0x7a, 0xf6, 0x75, 0x60, 0x9b, 0x2a, 0x01,
0x6f, 0x80, 0x90, 0x78, 0x08, 0x9e, 0x81, 0xb7, 0xe0, 0x15, 0x78, 0x0e, 0x84, 0xee, 0x8f, 0xac,
0x69, 0x1d, 0x42, 0xff, 0xe2, 0xaf, 0xdc, 0xfb, 0x9d, 0x73, 0xee, 0xf7, 0x9d, 0x73, 0x3e, 0x39,
0x70, 0x27, 0xe6, 0x3c, 0x4e, 0xd0, 0x4b, 0x78, 0x1c, 0x53, 0x16, 0x7b, 0xd3, 0xfe, 0xec, 0x18,
0x8c, 0x39, 0x9b, 0xd0, 0xd8, 0xcd, 0x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
0xf2, 0x1c, 0xe0, 0xdc, 0x66, 0x64, 0x51, 0x43, 0x15, 0x17, 0x2e, 0xe5, 0x7e, 0x47, 0x71, 0xdf,
0x76, 0x96, 0x37, 0xfb, 0x89, 0xde, 0xf6, 0x8f, 0x16, 0xc0, 0xb9, 0xa1, 0x16, 0xb2, 0x57, 0xfc,
0xb6, 0x94, 0x7d, 0x4f, 0xb1, 0xf7, 0xda, 0x57, 0xe8, 0xdc, 0x48, 0x98, 0x02, 0x9c, 0x5b, 0x67,
0xa1, 0x82, 0x8a, 0xb3, 0xda, 0x3b, 0x95, 0xef, 0xe0, 0xbe, 0xfc, 0x7f, 0x9a, 0xcd, 0xbd, 0x77,
0x05, 0xf6, 0xbb, 0x3f, 0x59, 0x70, 0x7d, 0xcc, 0xd3, 0x2a, 0xdf, 0x5d, 0x72, 0xa4, 0xcf, 0xda,
0x9e, 0x27, 0x92, 0xe2, 0xc4, 0xfa, 0xfa, 0x23, 0x93, 0x18, 0xf3, 0x24, 0x64, 0xb1, 0xcb, 0xf3,
0xd8, 0x8b, 0x91, 0x29, 0x01, 0x9e, 0x0e, 0x85, 0x19, 0x2d, 0xe6, 0xfe, 0x8a, 0x3f, 0x35, 0xc7,
0xdf, 0x6b, 0xaf, 0xde, 0xd7, 0xa5, 0x83, 0x84, 0x97, 0x91, 0x6b, 0x5e, 0x77, 0x47, 0xfd, 0x47,
0xeb, 0xaa, 0xfc, 0xfd, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xda, 0xa4, 0xe3, 0x1e, 0xc8, 0x07,
0x00, 0x00,
}

View File

@@ -22,6 +22,7 @@ It has these top-level messages:
InspectContentRequest
InspectContentResponse
CreateInspectOperationRequest
OutputStorageConfig
InfoTypeStatistics
InspectOperationMetadata
InspectOperationResult
@@ -41,6 +42,7 @@ It has these top-level messages:
Projection
DatastoreOptions
CloudStorageOptions
CloudStoragePath
StorageConfig
CloudStorageKey
DatastoreKey
@@ -651,6 +653,19 @@ type CreateInspectOperationRequest struct {
InspectConfig *InspectConfig `protobuf:"bytes,1,opt,name=inspect_config,json=inspectConfig" json:"inspect_config,omitempty"`
// Specification of the data set to process.
StorageConfig *StorageConfig `protobuf:"bytes,2,opt,name=storage_config,json=storageConfig" json:"storage_config,omitempty"`
// Optional location to store findings. The bucket must already exist and
// the Google APIs service account for DLP must have write permission to
// write to the given bucket.
// Results will be split over multiple csv files with each file name matching
// the pattern "[operation_id] + [count].csv".
// The operation_id will match the identifier for the Operation,
// and the [count] is a counter used for tracking the number of files written.
// The CSV file(s) contain the following columns regardless of storage type
// scanned: id, info_type, likelihood, byte size of finding, quote, time_stamp
// For cloud storage the next two columns are: file_path, start_offset
// For datastore the next two columns are: project_id, namespace_id, path,
// column_name, offset.
OutputConfig *OutputStorageConfig `protobuf:"bytes,3,opt,name=output_config,json=outputConfig" json:"output_config,omitempty"`
}
func (m *CreateInspectOperationRequest) Reset() { *m = CreateInspectOperationRequest{} }
@@ -672,6 +687,104 @@ func (m *CreateInspectOperationRequest) GetStorageConfig() *StorageConfig {
return nil
}
func (m *CreateInspectOperationRequest) GetOutputConfig() *OutputStorageConfig {
if m != nil {
return m.OutputConfig
}
return nil
}
// Cloud repository for storing output.
type OutputStorageConfig struct {
// Types that are valid to be assigned to Type:
// *OutputStorageConfig_StoragePath
Type isOutputStorageConfig_Type `protobuf_oneof:"type"`
}
func (m *OutputStorageConfig) Reset() { *m = OutputStorageConfig{} }
func (m *OutputStorageConfig) String() string { return proto.CompactTextString(m) }
func (*OutputStorageConfig) ProtoMessage() {}
func (*OutputStorageConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
type isOutputStorageConfig_Type interface {
isOutputStorageConfig_Type()
}
type OutputStorageConfig_StoragePath struct {
StoragePath *CloudStoragePath `protobuf:"bytes,2,opt,name=storage_path,json=storagePath,oneof"`
}
func (*OutputStorageConfig_StoragePath) isOutputStorageConfig_Type() {}
func (m *OutputStorageConfig) GetType() isOutputStorageConfig_Type {
if m != nil {
return m.Type
}
return nil
}
func (m *OutputStorageConfig) GetStoragePath() *CloudStoragePath {
if x, ok := m.GetType().(*OutputStorageConfig_StoragePath); ok {
return x.StoragePath
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*OutputStorageConfig) 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 _OutputStorageConfig_OneofMarshaler, _OutputStorageConfig_OneofUnmarshaler, _OutputStorageConfig_OneofSizer, []interface{}{
(*OutputStorageConfig_StoragePath)(nil),
}
}
func _OutputStorageConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*OutputStorageConfig)
// type
switch x := m.Type.(type) {
case *OutputStorageConfig_StoragePath:
b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.StoragePath); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("OutputStorageConfig.Type has unexpected type %T", x)
}
return nil
}
func _OutputStorageConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*OutputStorageConfig)
switch tag {
case 2: // type.storage_path
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CloudStoragePath)
err := b.DecodeMessage(msg)
m.Type = &OutputStorageConfig_StoragePath{msg}
return true, err
default:
return false, nil
}
}
func _OutputStorageConfig_OneofSizer(msg proto.Message) (n int) {
m := msg.(*OutputStorageConfig)
// type
switch x := m.Type.(type) {
case *OutputStorageConfig_StoragePath:
s := proto.Size(x.StoragePath)
n += proto.SizeVarint(2<<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
}
// Stats regarding a specific InfoType.
type InfoTypeStatistics struct {
// The type of finding this stat is for.
@@ -683,7 +796,7 @@ type InfoTypeStatistics struct {
func (m *InfoTypeStatistics) Reset() { *m = InfoTypeStatistics{} }
func (m *InfoTypeStatistics) String() string { return proto.CompactTextString(m) }
func (*InfoTypeStatistics) ProtoMessage() {}
func (*InfoTypeStatistics) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
func (*InfoTypeStatistics) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
func (m *InfoTypeStatistics) GetInfoType() *InfoType {
if m != nil {
@@ -708,12 +821,18 @@ type InspectOperationMetadata struct {
InfoTypeStats []*InfoTypeStatistics `protobuf:"bytes,2,rep,name=info_type_stats,json=infoTypeStats" json:"info_type_stats,omitempty"`
// The time which this request was started.
CreateTime *google_protobuf3.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
// The inspect config used to create the Operation.
RequestInspectConfig *InspectConfig `protobuf:"bytes,5,opt,name=request_inspect_config,json=requestInspectConfig" json:"request_inspect_config,omitempty"`
// The storage config used to create the Operation.
RequestStorageConfig *StorageConfig `protobuf:"bytes,6,opt,name=request_storage_config,json=requestStorageConfig" json:"request_storage_config,omitempty"`
// Optional location to store findings.
RequestOutputConfig *OutputStorageConfig `protobuf:"bytes,7,opt,name=request_output_config,json=requestOutputConfig" json:"request_output_config,omitempty"`
}
func (m *InspectOperationMetadata) Reset() { *m = InspectOperationMetadata{} }
func (m *InspectOperationMetadata) String() string { return proto.CompactTextString(m) }
func (*InspectOperationMetadata) ProtoMessage() {}
func (*InspectOperationMetadata) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
func (*InspectOperationMetadata) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
func (m *InspectOperationMetadata) GetProcessedBytes() int64 {
if m != nil {
@@ -743,6 +862,27 @@ func (m *InspectOperationMetadata) GetCreateTime() *google_protobuf3.Timestamp {
return nil
}
func (m *InspectOperationMetadata) GetRequestInspectConfig() *InspectConfig {
if m != nil {
return m.RequestInspectConfig
}
return nil
}
func (m *InspectOperationMetadata) GetRequestStorageConfig() *StorageConfig {
if m != nil {
return m.RequestStorageConfig
}
return nil
}
func (m *InspectOperationMetadata) GetRequestOutputConfig() *OutputStorageConfig {
if m != nil {
return m.RequestOutputConfig
}
return nil
}
// The operational data.
type InspectOperationResult struct {
// The server-assigned name, which is only unique within the same service that
@@ -754,7 +894,7 @@ type InspectOperationResult struct {
func (m *InspectOperationResult) Reset() { *m = InspectOperationResult{} }
func (m *InspectOperationResult) String() string { return proto.CompactTextString(m) }
func (*InspectOperationResult) ProtoMessage() {}
func (*InspectOperationResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
func (*InspectOperationResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
func (m *InspectOperationResult) GetName() string {
if m != nil {
@@ -781,7 +921,7 @@ type ListInspectFindingsRequest struct {
func (m *ListInspectFindingsRequest) Reset() { *m = ListInspectFindingsRequest{} }
func (m *ListInspectFindingsRequest) String() string { return proto.CompactTextString(m) }
func (*ListInspectFindingsRequest) ProtoMessage() {}
func (*ListInspectFindingsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
func (*ListInspectFindingsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
func (m *ListInspectFindingsRequest) GetName() string {
if m != nil {
@@ -816,7 +956,7 @@ type ListInspectFindingsResponse struct {
func (m *ListInspectFindingsResponse) Reset() { *m = ListInspectFindingsResponse{} }
func (m *ListInspectFindingsResponse) String() string { return proto.CompactTextString(m) }
func (*ListInspectFindingsResponse) ProtoMessage() {}
func (*ListInspectFindingsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
func (*ListInspectFindingsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
func (m *ListInspectFindingsResponse) GetResult() *InspectResult {
if m != nil {
@@ -845,7 +985,7 @@ type InfoTypeDescription struct {
func (m *InfoTypeDescription) Reset() { *m = InfoTypeDescription{} }
func (m *InfoTypeDescription) String() string { return proto.CompactTextString(m) }
func (*InfoTypeDescription) ProtoMessage() {}
func (*InfoTypeDescription) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
func (*InfoTypeDescription) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
func (m *InfoTypeDescription) GetName() string {
if m != nil {
@@ -882,7 +1022,7 @@ type ListInfoTypesRequest struct {
func (m *ListInfoTypesRequest) Reset() { *m = ListInfoTypesRequest{} }
func (m *ListInfoTypesRequest) String() string { return proto.CompactTextString(m) }
func (*ListInfoTypesRequest) ProtoMessage() {}
func (*ListInfoTypesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
func (*ListInfoTypesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
func (m *ListInfoTypesRequest) GetCategory() string {
if m != nil {
@@ -907,7 +1047,7 @@ type ListInfoTypesResponse struct {
func (m *ListInfoTypesResponse) Reset() { *m = ListInfoTypesResponse{} }
func (m *ListInfoTypesResponse) String() string { return proto.CompactTextString(m) }
func (*ListInfoTypesResponse) ProtoMessage() {}
func (*ListInfoTypesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
func (*ListInfoTypesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
func (m *ListInfoTypesResponse) GetInfoTypes() []*InfoTypeDescription {
if m != nil {
@@ -927,7 +1067,7 @@ type CategoryDescription struct {
func (m *CategoryDescription) Reset() { *m = CategoryDescription{} }
func (m *CategoryDescription) String() string { return proto.CompactTextString(m) }
func (*CategoryDescription) ProtoMessage() {}
func (*CategoryDescription) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
func (*CategoryDescription) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
func (m *CategoryDescription) GetName() string {
if m != nil {
@@ -955,7 +1095,7 @@ type ListRootCategoriesRequest struct {
func (m *ListRootCategoriesRequest) Reset() { *m = ListRootCategoriesRequest{} }
func (m *ListRootCategoriesRequest) String() string { return proto.CompactTextString(m) }
func (*ListRootCategoriesRequest) ProtoMessage() {}
func (*ListRootCategoriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
func (*ListRootCategoriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
func (m *ListRootCategoriesRequest) GetLanguageCode() string {
if m != nil {
@@ -973,7 +1113,7 @@ type ListRootCategoriesResponse struct {
func (m *ListRootCategoriesResponse) Reset() { *m = ListRootCategoriesResponse{} }
func (m *ListRootCategoriesResponse) String() string { return proto.CompactTextString(m) }
func (*ListRootCategoriesResponse) ProtoMessage() {}
func (*ListRootCategoriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
func (*ListRootCategoriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
func (m *ListRootCategoriesResponse) GetCategories() []*CategoryDescription {
if m != nil {
@@ -996,6 +1136,7 @@ func init() {
proto.RegisterType((*InspectContentRequest)(nil), "google.privacy.dlp.v2beta1.InspectContentRequest")
proto.RegisterType((*InspectContentResponse)(nil), "google.privacy.dlp.v2beta1.InspectContentResponse")
proto.RegisterType((*CreateInspectOperationRequest)(nil), "google.privacy.dlp.v2beta1.CreateInspectOperationRequest")
proto.RegisterType((*OutputStorageConfig)(nil), "google.privacy.dlp.v2beta1.OutputStorageConfig")
proto.RegisterType((*InfoTypeStatistics)(nil), "google.privacy.dlp.v2beta1.InfoTypeStatistics")
proto.RegisterType((*InspectOperationMetadata)(nil), "google.privacy.dlp.v2beta1.InspectOperationMetadata")
proto.RegisterType((*InspectOperationResult)(nil), "google.privacy.dlp.v2beta1.InspectOperationResult")
@@ -1266,109 +1407,115 @@ var _DlpService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("google/privacy/dlp/v2beta1/dlp.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 1651 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x5f, 0x6f, 0x23, 0x57,
0x15, 0xdf, 0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0x97, 0x35, 0xd3, 0x48, 0x35, 0x13, 0x5b, 0x55, 0x3a, 0xb4, 0x3d, 0x62, 0x9d, 0xb0, 0x73, 0x22,
0x3a, 0x42, 0x54, 0xce, 0x77, 0x72, 0xd3, 0x24, 0xc4, 0xd3, 0x08, 0x81, 0xd4, 0xde, 0x15, 0xca,
0x68, 0x0f, 0x20, 0x22, 0x0e, 0x8b, 0x5c, 0xeb, 0x19, 0x19, 0xeb, 0x38, 0x7f, 0x3b, 0x17, 0x92,
0x94, 0xfe, 0x88, 0x8c, 0x71, 0x25, 0x4a, 0x96, 0xe8, 0x03, 0x51, 0xc8, 0xc4, 0x77, 0x2d, 0xea,
0x36, 0x4b, 0xd2, 0xc6, 0x05, 0x85, 0x4c, 0x7c, 0xb7, 0xef, 0xe2, 0x95, 0x53, 0xb5, 0x30, 0x3b,
0x50, 0x52, 0xae, 0xad, 0x43, 0x29, 0xe6, 0x76, 0xc4, 0x65, 0x8c, 0x8b, 0x58, 0x6d, 0xd0, 0x75,
0x28, 0x92, 0x40, 0xd5, 0x75, 0x11, 0x8b, 0xa5, 0xe9, 0x40, 0x7d, 0xca, 0x27, 0x21, 0xc2, 0x59,
0x28, 0xd5, 0x4a, 0x58, 0x2c, 0x45, 0xf3, 0xfa, 0xe4, 0x94, 0x4b, 0xad, 0x12, 0x96, 0x6b, 0x61,
0xfe, 0x4b, 0xea, 0xf2, 0x33, 0xcd, 0x22, 0x6a, 0x83, 0x36, 0x61, 0xf9, 0x8c, 0x50, 0xef, 0x8c,
0x4b, 0xff, 0x4b, 0x58, 0xef, 0xcc, 0x5f, 0x16, 0x61, 0x1d, 0x13, 0xd7, 0x96, 0xfc, 0x28, 0x48,
0x01, 0x93, 0x2f, 0x46, 0x24, 0xe6, 0x68, 0x00, 0x0d, 0xaa, 0x1a, 0xd9, 0x72, 0x24, 0x73, 0xea,
0x92, 0xc8, 0xcf, 0x41, 0x96, 0x6a, 0x71, 0x9d, 0x4e, 0x31, 0xef, 0x03, 0x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x45, 0xd5, 0x34, 0xfa, 0xb7, 0x24, 0xfa, 0x37, 0xd0, 0xeb, 0xaf, 0x40, 0xbf, 0xfb,
0x0c, 0xbe, 0xe5, 0xb0, 0x61, 0x8e, 0xf5, 0xdd, 0xf2, 0x9e, 0x1f, 0x0e, 0xc4, 0x88, 0x35, 0x30,
0x7e, 0xf2, 0x40, 0xcb, 0x79, 0x4c, 0x50, 0x64, 0x9b, 0x45, 0x5e, 0xc7, 0x23, 0x81, 0x1c, 0xc0,
0x3a, 0xea, 0xca, 0x0e, 0x69, 0x3c, 0xef, 0x77, 0xe6, 0xfb, 0xae, 0x1f, 0x9e, 0x2c, 0x4b, 0xc9,
0xef, 0xfd, 0x27, 0x00, 0x00, 0xff, 0xff, 0x5c, 0x0a, 0xe5, 0x73, 0x7c, 0x15, 0x00, 0x00,
}

View File

@@ -212,6 +212,24 @@ func (m *CloudStorageOptions_FileSet) GetUrl() string {
return ""
}
// A location in Cloud Storage.
type CloudStoragePath struct {
// The url, in the format of gs://bucket/<path>.
Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
}
func (m *CloudStoragePath) Reset() { *m = CloudStoragePath{} }
func (m *CloudStoragePath) String() string { return proto.CompactTextString(m) }
func (*CloudStoragePath) ProtoMessage() {}
func (*CloudStoragePath) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} }
func (m *CloudStoragePath) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
// Shared message indicating Cloud storage type.
type StorageConfig struct {
// Types that are valid to be assigned to Type:
@@ -223,7 +241,7 @@ type StorageConfig struct {
func (m *StorageConfig) Reset() { *m = StorageConfig{} }
func (m *StorageConfig) String() string { return proto.CompactTextString(m) }
func (*StorageConfig) ProtoMessage() {}
func (*StorageConfig) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} }
func (*StorageConfig) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{9} }
type isStorageConfig_Type interface {
isStorageConfig_Type()
@@ -345,7 +363,7 @@ type CloudStorageKey struct {
func (m *CloudStorageKey) Reset() { *m = CloudStorageKey{} }
func (m *CloudStorageKey) String() string { return proto.CompactTextString(m) }
func (*CloudStorageKey) ProtoMessage() {}
func (*CloudStorageKey) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{9} }
func (*CloudStorageKey) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{10} }
func (m *CloudStorageKey) GetFilePath() string {
if m != nil {
@@ -370,7 +388,7 @@ type DatastoreKey struct {
func (m *DatastoreKey) Reset() { *m = DatastoreKey{} }
func (m *DatastoreKey) String() string { return proto.CompactTextString(m) }
func (*DatastoreKey) ProtoMessage() {}
func (*DatastoreKey) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{10} }
func (*DatastoreKey) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{11} }
func (m *DatastoreKey) GetEntityKey() *Key {
if m != nil {
@@ -403,7 +421,7 @@ type Key struct {
func (m *Key) Reset() { *m = Key{} }
func (m *Key) String() string { return proto.CompactTextString(m) }
func (*Key) ProtoMessage() {}
func (*Key) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{11} }
func (*Key) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{12} }
func (m *Key) GetPartitionId() *PartitionId {
if m != nil {
@@ -440,7 +458,7 @@ type Key_PathElement struct {
func (m *Key_PathElement) Reset() { *m = Key_PathElement{} }
func (m *Key_PathElement) String() string { return proto.CompactTextString(m) }
func (*Key_PathElement) ProtoMessage() {}
func (*Key_PathElement) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{11, 0} }
func (*Key_PathElement) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{12, 0} }
type isKey_PathElement_IdType interface {
isKey_PathElement_IdType()
@@ -560,7 +578,7 @@ type RecordKey struct {
func (m *RecordKey) Reset() { *m = RecordKey{} }
func (m *RecordKey) String() string { return proto.CompactTextString(m) }
func (*RecordKey) ProtoMessage() {}
func (*RecordKey) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{12} }
func (*RecordKey) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{13} }
type isRecordKey_Type interface {
isRecordKey_Type()
@@ -681,6 +699,7 @@ func init() {
proto.RegisterType((*DatastoreOptions)(nil), "google.privacy.dlp.v2beta1.DatastoreOptions")
proto.RegisterType((*CloudStorageOptions)(nil), "google.privacy.dlp.v2beta1.CloudStorageOptions")
proto.RegisterType((*CloudStorageOptions_FileSet)(nil), "google.privacy.dlp.v2beta1.CloudStorageOptions.FileSet")
proto.RegisterType((*CloudStoragePath)(nil), "google.privacy.dlp.v2beta1.CloudStoragePath")
proto.RegisterType((*StorageConfig)(nil), "google.privacy.dlp.v2beta1.StorageConfig")
proto.RegisterType((*CloudStorageKey)(nil), "google.privacy.dlp.v2beta1.CloudStorageKey")
proto.RegisterType((*DatastoreKey)(nil), "google.privacy.dlp.v2beta1.DatastoreKey")
@@ -692,51 +711,52 @@ func init() {
func init() { proto.RegisterFile("google/privacy/dlp/v2beta1/storage.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 729 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5d, 0x6f, 0xf3, 0x34,
0x14, 0x6e, 0xda, 0xea, 0xdd, 0x7a, 0xd2, 0xb1, 0x2e, 0x03, 0x69, 0xea, 0x60, 0x1b, 0x11, 0x62,
0xd5, 0x06, 0x89, 0x28, 0x17, 0x5c, 0x20, 0x86, 0xd4, 0x7d, 0xa8, 0xa5, 0xd2, 0x5a, 0xbc, 0x49,
0x08, 0xb8, 0x88, 0xbc, 0xd8, 0xcd, 0xcc, 0x52, 0xdb, 0x4a, 0xbc, 0x89, 0xfc, 0x01, 0xfe, 0x16,
0x3f, 0x84, 0x7b, 0xc4, 0xcf, 0x40, 0x76, 0xdc, 0x8f, 0x7d, 0xd0, 0x0d, 0xe9, 0xbd, 0x73, 0x4f,
0x9f, 0xf3, 0x1c, 0x9f, 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 0x18, 0xd2,
0xa2, 0x5f, 0x41, 0x9b, 0xf1, 0x93, 0x19, 0x8f, 0x60, 0x63, 0x61, 0x61, 0x4d, 0x5b, 0xda, 0xb7,
0xf3, 0x26, 0xfb, 0x96, 0x9c, 0x4d, 0xb2, 0xf4, 0x7b, 0xe6, 0xa7, 0xde, 0x14, 0xf6, 0x62, 0x31,
0x5d, 0x41, 0xd3, 0x83, 0xb3, 0x54, 0xda, 0x9b, 0x8c, 0x9d, 0x5f, 0xbe, 0xb3, 0xc8, 0x44, 0xa4,
0x98, 0x27, 0x81, 0xc8, 0x92, 0x30, 0xa1, 0xdc, 0x7c, 0x30, 0xc2, 0xf2, 0x2f, 0x2c, 0x59, 0xfe,
0xd2, 0x77, 0xe9, 0x5b, 0x92, 0xca, 0x9b, 0x77, 0x06, 0xf9, 0xf5, 0xbf, 0x01, 0x00, 0x00, 0xff,
0xff, 0xc5, 0x05, 0xbf, 0x79, 0xc0, 0x06, 0x00, 0x00,
// 740 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xdd, 0x6e, 0xf3, 0x44,
0x10, 0x8d, 0x93, 0xa8, 0x6d, 0xc6, 0x29, 0x4d, 0x5d, 0x90, 0xaa, 0x14, 0xfa, 0x63, 0xa1, 0x36,
0x6a, 0xc1, 0x16, 0xe1, 0x82, 0x0b, 0x44, 0x91, 0xd2, 0x1f, 0x25, 0x44, 0x6a, 0x82, 0x5b, 0x09,
0x01, 0x17, 0xd6, 0xd6, 0xbb, 0x71, 0x97, 0x3a, 0xbb, 0x2b, 0x7b, 0x5b, 0xe1, 0x17, 0xe0, 0xb5,
0x78, 0x10, 0xee, 0x11, 0x8f, 0x81, 0x76, 0xbd, 0x49, 0xdc, 0x1f, 0xd2, 0x22, 0x7d, 0x77, 0x9b,
0xc9, 0x99, 0x33, 0x3b, 0x73, 0xce, 0xac, 0xa1, 0x13, 0x73, 0x1e, 0x27, 0xc4, 0x17, 0x29, 0x7d,
0x44, 0x51, 0xee, 0xe3, 0x44, 0xf8, 0x8f, 0xdd, 0x5b, 0x22, 0xd1, 0x57, 0x7e, 0x26, 0x79, 0x8a,
0x62, 0xe2, 0x89, 0x94, 0x4b, 0xee, 0xb4, 0x0b, 0xa4, 0x67, 0x90, 0x1e, 0x4e, 0x84, 0x67, 0x90,
0xed, 0x4f, 0x0d, 0x0b, 0x12, 0xd4, 0x47, 0x8c, 0x71, 0x89, 0x24, 0xe5, 0x2c, 0x2b, 0x32, 0xdd,
0x5d, 0x58, 0x1b, 0xb0, 0x09, 0xbf, 0xc9, 0x05, 0x71, 0x1c, 0xa8, 0x33, 0x34, 0x25, 0xdb, 0xd6,
0xbe, 0xd5, 0x69, 0x04, 0xfa, 0xec, 0x1e, 0xc3, 0xea, 0x25, 0x25, 0x09, 0x1e, 0x60, 0x67, 0x0f,
0xec, 0x88, 0x27, 0x0f, 0x53, 0x16, 0x96, 0x50, 0x50, 0x84, 0xae, 0x14, 0x76, 0x04, 0xf6, 0x18,
0xa5, 0x92, 0x2a, 0xfe, 0x01, 0x76, 0x3e, 0x03, 0x10, 0x29, 0xff, 0x8d, 0x44, 0x32, 0xa4, 0x78,
0xbb, 0xaa, 0xe1, 0x0d, 0x13, 0x19, 0x60, 0xe7, 0x00, 0x9a, 0x8a, 0x27, 0x13, 0x28, 0x22, 0x0a,
0x50, 0xd7, 0x00, 0x7b, 0x1e, 0x1b, 0x60, 0xf7, 0x73, 0xf8, 0x68, 0x48, 0x19, 0xbe, 0xf8, 0x5d,
0xa4, 0x24, 0xcb, 0x28, 0x67, 0xaf, 0x5e, 0xf1, 0x08, 0x36, 0xc7, 0x29, 0x17, 0x24, 0x95, 0x79,
0x40, 0x26, 0x24, 0x25, 0x2c, 0x5a, 0xf4, 0x52, 0x2d, 0x01, 0x7f, 0x02, 0x18, 0x17, 0xe5, 0x15,
0xd5, 0x00, 0xd6, 0x84, 0x49, 0xd3, 0x74,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f2, 0x5e, 0x1b, 0x0c, 0x49, 0xde, 0xaf, 0x04, 0x1b,
0xd1, 0x33, 0x8d, 0x47, 0xb0, 0xbe, 0xb0, 0xb0, 0xa2, 0x2d, 0xec, 0xdb, 0x79, 0x97, 0x7d, 0x0b,
0xce, 0x26, 0x2e, 0xfd, 0x9e, 0xf9, 0xa9, 0x37, 0x85, 0xdd, 0x88, 0x4f, 0x97, 0xd0, 0xf4, 0xe0,
0x3c, 0x11, 0xb3, 0x9d, 0xb3, 0x7e, 0xf9, 0xce, 0x20, 0x63, 0x9e, 0x20, 0x16, 0x7b, 0x3c, 0x8d,
0xfd, 0x98, 0x30, 0xfd, 0x61, 0xf1, 0x8b, 0xbf, 0x90, 0xa0, 0xd9, 0x6b, 0xdf, 0xaf, 0x6f, 0x71,
0x22, 0x6e, 0x57, 0x34, 0xf2, 0xeb, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x60, 0x71, 0xcc,
0xe8, 0x06, 0x00, 0x00,
}

View File

@@ -994,7 +994,7 @@ type Snapshot struct {
// old. If a snapshot is created from this subscription, the snapshot -- which
// will always capture this 3-day-old backlog as long as the snapshot
// exists -- will expire in 4 days.
ExpirationTime *google_protobuf4.Timestamp `protobuf:"bytes,3,opt,name=expiration_time,json=expirationTime" json:"expiration_time,omitempty"`
ExpireTime *google_protobuf4.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime" json:"expire_time,omitempty"`
}
func (m *Snapshot) Reset() { *m = Snapshot{} }
@@ -1016,9 +1016,9 @@ func (m *Snapshot) GetTopic() string {
return ""
}
func (m *Snapshot) GetExpirationTime() *google_protobuf4.Timestamp {
func (m *Snapshot) GetExpireTime() *google_protobuf4.Timestamp {
if m != nil {
return m.ExpirationTime
return m.ExpireTime
}
return nil
}
@@ -2209,122 +2209,122 @@ var _Publisher_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("google/pubsub/v1/pubsub.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 1868 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0xcb, 0x73, 0x23, 0x47,
0x19, 0xcf, 0x48, 0x7e, 0xc8, 0x9f, 0x64, 0x7b, 0xb7, 0xb1, 0x77, 0xb5, 0xb3, 0x2f, 0x7b, 0x76,
0xb1, 0x15, 0x65, 0x57, 0xf2, 0x2a, 0x95, 0x90, 0x78, 0x71, 0x52, 0x7e, 0x2c, 0x1b, 0x53, 0x59,
0x62, 0xc6, 0x0b, 0x54, 0x71, 0x40, 0x35, 0xd2, 0xb4, 0xe5, 0x89, 0x34, 0x8f, 0x4c, 0xcf, 0x18,
0x2b, 0x90, 0x2a, 0x48, 0x28, 0xaa, 0x28, 0x38, 0x10, 0x38, 0x92, 0x03, 0x55, 0xdc, 0x38, 0x72,
0xe0, 0xc8, 0x3f, 0xc1, 0xbf, 0xc0, 0x81, 0x3f, 0x81, 0x23, 0xd5, 0x8f, 0x91, 0x66, 0x34, 0x3d,
0x7a, 0x78, 0x6b, 0x6f, 0xa3, 0xee, 0xaf, 0xfb, 0xf7, 0xfb, 0xde, 0x9f, 0xdb, 0x70, 0xb7, 0xe3,
0xba, 0x9d, 0x1e, 0xae, 0x7b, 0x61, 0x8b, 0x84, 0xad, 0xfa, 0xc5, 0x13, 0xf1, 0x55, 0xf3, 0x7c,
0x37, 0x70, 0xd1, 0x35, 0xbe, 0x5d, 0x13, 0x8b, 0x17, 0x4f, 0xd4, 0x3b, 0xe2, 0x80, 0xe1, 0x59,
0x75, 0xc3, 0x71, 0xdc, 0xc0, 0x08, 0x2c, 0xd7, 0x21, 0x5c, 0x5e, 0xbd, 0x17, 0x5d, 0x47, 0x7f,
0xb5, 0xc2, 0xb3, 0xba, 0x19, 0xfa, 0x4c, 0x40, 0xec, 0xdf, 0x1e, 0xdd, 0xc7, 0xb6, 0x17, 0xf4,
0xc5, 0xe6, 0xc6, 0xe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9, 0xe9, 0xbb, 0x42, 0xa0, 0xeb, 0xf5, 0x4d, 0xb7, 0x5b,
0xf7, 0x82, 0x6e, 0xa3, 0x8b, 0x5d, 0x06, 0xda, 0xe0, 0x5b, 0xa6, 0x6f, 0x93, 0xd1, 0x3f, 0xa9,
0x9e, 0xf0, 0xaf, 0xff, 0x29, 0xca, 0xdf, 0x0b, 0x57, 0x9f, 0xf3, 0xb3, 0xfb, 0x7d, 0x2f, 0xb2,
0x68, 0x4c, 0x1f, 0x47, 0xed, 0xfa, 0x8f, 0x1f, 0xb5, 0x97, 0xd8, 0xf1, 0xb7, 0xff, 0x1f, 0x00,
0x00, 0xff, 0xff, 0x93, 0x6b, 0x90, 0xee, 0xe2, 0x1a, 0x00, 0x00,
}

View File

@@ -0,0 +1,376 @@
// Code generated by protoc-gen-go.
// source: google/watcher/v1/watch.proto
// DO NOT EDIT!
/*
Package watcher is a generated protocol buffer package.
It is generated from these files:
google/watcher/v1/watch.proto
It has these top-level messages:
Request
ChangeBatch
Change
*/
package watcher
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/any"
import _ "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
// 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 reported value can be in one of the following states:
type Change_State int32
const (
// The element exists and its full value is included in data.
Change_EXISTS Change_State = 0
// The element does not exist.
Change_DOES_NOT_EXIST Change_State = 1
// Element may or may not exist. Used only for initial state delivery when
// the client is not interested in fetching the initial state. See the
// "Initial State" section above.
Change_INITIAL_STATE_SKIPPED Change_State = 2
// The element may exist, but some error has occurred. More information is
// available in the data field - the value is a serialized Status
// proto (from [google.rpc.Status][])
Change_ERROR Change_State = 3
)
var Change_State_name = map[int32]string{
0: "EXISTS",
1: "DOES_NOT_EXIST",
2: "INITIAL_STATE_SKIPPED",
3: "ERROR",
}
var Change_State_value = map[string]int32{
"EXISTS": 0,
"DOES_NOT_EXIST": 1,
"INITIAL_STATE_SKIPPED": 2,
"ERROR": 3,
}
func (x Change_State) String() string {
return proto.EnumName(Change_State_name, int32(x))
}
func (Change_State) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
// The message used by the client to register interest in an entity.
type Request struct {
// The `target` value **must** be a valid URL path pointing to an entity
// to watch. Note that the service name **must** be
// removed from the target field (e.g., the target field must say
// "/foo/bar", not "myservice.googleapis.com/foo/bar"). A client is
// also allowed to pass system-specific parameters in the URL that
// are only obeyed by some implementations. Some parameters will be
// implementation-specific. However, some have predefined meaning
// and are listed here:
//
// * recursive = true|false [default=false]
// If set to true, indicates that the client wants to watch all elements
// of entities in the subtree rooted at the entity's name in `target`. For
// descendants that are not the immediate children of the target, the
// `Change.element` will contain slashes.
//
// Note that some namespaces and entities will not support recursive
// watching. When watching such an entity, a client must not set recursive
// to true. Otherwise, it will receive an `UNIMPLEMENTED` error.
//
// Normal URL encoding must be used inside `target`. For example, if a query
// parameter name or value, or the non-query parameter portion of `target`
// contains a special character, it must be %-encoded. We recommend that
// clients and servers use their runtime's URL library to produce and consume
// target values.
Target string `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
// The `resume_marker` specifies how much of the existing underlying state is
// delivered to the client when the watch request is received by the
// system. The client can set this marker in one of the following ways to get
// different semantics:
//
// * Parameter is not specified or has the value "".
// Semantics: Fetch initial state.
// The client wants the entity's initial state to be delivered. See the
// description in "Initial State".
//
// * Parameter is set to the string "now" (UTF-8 encoding).
// Semantics: Fetch new changes only.
// The client just wants to get the changes received by the system after
// the watch point. The system may deliver changes from before the watch
// point as well.
//
// * Parameter is set to a value received in an earlier
// `Change.resume_marker` field while watching the same entity.
// Semantics: Resume from a specific point.
// The client wants to receive the changes from a specific point; this
// value must correspond to a value received in the `Change.resume_marker`
// field. The system may deliver changes from before the `resume_marker`
// as well. If the system cannot resume the stream from this point (e.g.,
// if it is too far behind in the stream), it can raise the
// `FAILED_PRECONDITION` error.
//
// An implementation MUST support an unspecified parameter and the
// empty string "" marker (initial state fetching) and the "now" marker.
// It need not support resuming from a specific point.
ResumeMarker []byte `protobuf:"bytes,2,opt,name=resume_marker,json=resumeMarker,proto3" json:"resume_marker,omitempty"`
}
func (m *Request) Reset() { *m = Request{} }
func (m *Request) String() string { return proto.CompactTextString(m) }
func (*Request) ProtoMessage() {}
func (*Request) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *Request) GetTarget() string {
if m != nil {
return m.Target
}
return ""
}
func (m *Request) GetResumeMarker() []byte {
if m != nil {
return m.ResumeMarker
}
return nil
}
// A batch of Change messages.
type ChangeBatch struct {
// A list of Change messages.
Changes []*Change `protobuf:"bytes,1,rep,name=changes" json:"changes,omitempty"`
}
func (m *ChangeBatch) Reset() { *m = ChangeBatch{} }
func (m *ChangeBatch) String() string { return proto.CompactTextString(m) }
func (*ChangeBatch) ProtoMessage() {}
func (*ChangeBatch) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *ChangeBatch) GetChanges() []*Change {
if m != nil {
return m.Changes
}
return nil
}
// A Change indicates the most recent state of an element.
type Change struct {
// Name of the element, interpreted relative to the entity's actual
// name. "" refers to the entity itself. The element name is a valid
// UTF-8 string.
Element string `protobuf:"bytes,1,opt,name=element" json:"element,omitempty"`
// The state of the `element`.
State Change_State `protobuf:"varint,2,opt,name=state,enum=google.watcher.v1.Change_State" json:"state,omitempty"`
// The actual change data. This field is present only when `state() == EXISTS`
// or `state() == ERROR`. Please see [google.protobuf.Any][google.protobuf.Any] about how to use
// the Any type.
Data *google_protobuf1.Any `protobuf:"bytes,6,opt,name=data" json:"data,omitempty"`
// If present, provides a compact representation of all the messages that have
// been received by the caller for the given entity, e.g., it could be a
// sequence number or a multi-part timestamp/version vector. This marker can
// be provided in the Request message, allowing the caller to resume the stream
// watching at a specific point without fetching the initial state.
ResumeMarker []byte `protobuf:"bytes,4,opt,name=resume_marker,json=resumeMarker,proto3" json:"resume_marker,omitempty"`
// If true, this Change is followed by more Changes that are in the same group
// as this Change.
Continued bool `protobuf:"varint,5,opt,name=continued" json:"continued,omitempty"`
}
func (m *Change) Reset() { *m = Change{} }
func (m *Change) String() string { return proto.CompactTextString(m) }
func (*Change) ProtoMessage() {}
func (*Change) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *Change) GetElement() string {
if m != nil {
return m.Element
}
return ""
}
func (m *Change) GetState() Change_State {
if m != nil {
return m.State
}
return Change_EXISTS
}
func (m *Change) GetData() *google_protobuf1.Any {
if m != nil {
return m.Data
}
return nil
}
func (m *Change) GetResumeMarker() []byte {
if m != nil {
return m.ResumeMarker
}
return nil
}
func (m *Change) GetContinued() bool {
if m != nil {
return m.Continued
}
return false
}
func init() {
proto.RegisterType((*Request)(nil), "google.watcher.v1.Request")
proto.RegisterType((*ChangeBatch)(nil), "google.watcher.v1.ChangeBatch")
proto.RegisterType((*Change)(nil), "google.watcher.v1.Change")
proto.RegisterEnum("google.watcher.v1.Change_State", Change_State_name, Change_State_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 Watcher service
type WatcherClient interface {
// Start a streaming RPC to get watch information from the server.
Watch(ctx context.Context, in *Request, opts ...grpc.CallOption) (Watcher_WatchClient, error)
}
type watcherClient struct {
cc *grpc.ClientConn
}
func NewWatcherClient(cc *grpc.ClientConn) WatcherClient {
return &watcherClient{cc}
}
func (c *watcherClient) Watch(ctx context.Context, in *Request, opts ...grpc.CallOption) (Watcher_WatchClient, error) {
stream, err := grpc.NewClientStream(ctx, &_Watcher_serviceDesc.Streams[0], c.cc, "/google.watcher.v1.Watcher/Watch", opts...)
if err != nil {
return nil, err
}
x := &watcherWatchClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type Watcher_WatchClient interface {
Recv() (*ChangeBatch, error)
grpc.ClientStream
}
type watcherWatchClient struct {
grpc.ClientStream
}
func (x *watcherWatchClient) Recv() (*ChangeBatch, error) {
m := new(ChangeBatch)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for Watcher service
type WatcherServer interface {
// Start a streaming RPC to get watch information from the server.
Watch(*Request, Watcher_WatchServer) error
}
func RegisterWatcherServer(s *grpc.Server, srv WatcherServer) {
s.RegisterService(&_Watcher_serviceDesc, srv)
}
func _Watcher_Watch_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(Request)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(WatcherServer).Watch(m, &watcherWatchServer{stream})
}
type Watcher_WatchServer interface {
Send(*ChangeBatch) error
grpc.ServerStream
}
type watcherWatchServer struct {
grpc.ServerStream
}
func (x *watcherWatchServer) Send(m *ChangeBatch) error {
return x.ServerStream.SendMsg(m)
}
var _Watcher_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.watcher.v1.Watcher",
HandlerType: (*WatcherServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "Watch",
Handler: _Watcher_Watch_Handler,
ServerStreams: true,
},
},
Metadata: "google/watcher/v1/watch.proto",
}
func init() { proto.RegisterFile("google/watcher/v1/watch.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 445 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0x51, 0x6f, 0xd3, 0x30,
0x10, 0xc6, 0xdd, 0x92,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